Make WordPress Themes

Changeset 221847 for blocksy


Ignore:
Timestamp:
03/21/2024 06:42:31 PM (20 months ago)
Author:
themedropbox
Message:

New version of Blocksy - 2.0.33

Location:
blocksy/2.0.33
Files:
9 added
15 edited
1 copied

Legend:

Unmodified
Added
Removed
  • blocksy/2.0.33/admin/init.php

    r214522 r221847  
    165165                ),
    166166                'nonce' => wp_create_nonce('ct-ajax-nonce'),
     167                'dashboard_actions_nonce' => wp_create_nonce('ct-dashboard'),
    167168                'public_url' => get_template_directory_uri() . '/static/bundle/',
    168169                'static_public_url' => get_template_directory_uri() . '/static/',
  • blocksy/2.0.33/changelog.txt

    r221126 r221847  
     12.0.33: 2024-03-21
     2- Improvement: Better integration with Cartflows plugin and checkout page
     3- Fix: Advanced Posts block doesn't order posts correctly by modified date
     4
    152.0.32: 2024-03-15
    26- Improvement: General fixes and improvements
  • blocksy/2.0.33/inc/components/woocommerce/common/checkout.php

    r220089 r221847  
    111111            'woocommerce_before_template_part',
    112112            function ($template_name, $template_path, $located, $args) {
    113                 if (! class_exists('Woocommerce_German_Market')) {
    114                     return;
    115                 }
    116 
    117113                if ($template_name !== 'checkout/form-checkout.php') {
    118114                    return;
     
    128124            'woocommerce_after_template_part',
    129125            function ($template_name, $template_path, $located, $args) {
    130                 if (! class_exists('Woocommerce_German_Market')) {
    131                     return;
    132                 }
    133 
    134126                if ($template_name !== 'checkout/form-checkout.php') {
    135127                    return;
     
    138130                $result = ob_get_clean();
    139131
    140                 $search = '/' . preg_quote('<h3 id="order_review_heading">', '/') . '/';
    141 
    142                 echo preg_replace(
    143                     $search,
    144                     '<div class="ct-order-review"><h3 id="order_review_heading">',
    145                     $result,
    146                     1
    147                 );
     132                global $ct_skip_checkout;
     133
     134                if ($this->has_custom_checkout() && ! $ct_skip_checkout) {
     135                    $form_reader = new \WP_HTML_Tag_Processor($result);
     136
     137                    if (
     138                        $form_reader->next_tag([
     139                            'tag_name' => 'form',
     140                            'class_name' => 'woocommerce-checkout',
     141                        ])
     142                    ) {
     143                        $form_reader->add_class('ct-woocommerce-checkout');
     144                        $result = $form_reader->get_updated_html();
     145                    }
     146                }
     147
     148                if (class_exists('Woocommerce_German_Market')) {
     149                    $search = '/' . preg_quote('<h3 id="order_review_heading">', '/') . '/';
     150
     151                    $result = preg_replace(
     152                        $search,
     153                        '<div class="ct-order-review"><h3 id="order_review_heading">',
     154                        $result,
     155                        1
     156                    );
     157                }
     158
     159                echo $result;
    148160            },
    149161            1,
  • blocksy/2.0.33/inc/customizer/init.php

    r220089 r221847  
    309309                    []
    310310                ),
    311 
     311                'dashboard_actions_nonce' => wp_create_nonce('ct-dashboard'),
    312312                'conditions_override' => blocksy_manager()->get_conditions_overrides(),
    313313            ]
  • blocksy/2.0.33/inc/options/woocommerce/general-main.php

    r216992 r221847  
    11<?php
    2 
    3 $pages = get_pages(
    4     [
    5         'post_type' => 'page',
    6         'post_status' => 'publish,private,draft',
    7         'number' => 0,
    8         'child_of' => 0,
    9         'parent' => -1,
    10         'exclude' => [
    11             wc_get_page_id('cart'),
    12             wc_get_page_id('checkout'),
    13             wc_get_page_id('myaccount'),
    14         ],
    15         'sort_order' => 'asc',
    16         'sort_column' => 'post_title'
    17     ]
    18 );
    19 
    20 $page_choices_result = [];
    21 
    22 $page_choices = array(
    23     '' => __('No page set', 'blocksy')
    24 ) + array_combine(
    25     array_map(
    26         'strval',
    27         wp_list_pluck($pages, 'ID')
    28     ),
    29     wp_list_pluck($pages, 'post_title')
    30 );
    31 
    32 foreach ($page_choices as $page_id => $page_label) {
    33     $page_choices_result[strval($page_id)] = $page_label;
    34 }
    352
    363$options = [
     
    396        'setting' => [ 'transport' => 'postMessage' ],
    407        'inner-options' => [
     8
     9            blocksy_get_options('woocommerce/general/messages'),
     10
     11            blocksy_get_options('woocommerce/general/star-rating'),
     12
     13            blocksy_get_options('woocommerce/general/quantity-input'),
     14
     15            blocksy_get_options('woocommerce/general/product-badges'),
     16
    4117            [
    4218                blocksy_rand_md5() => [
    43                     'label' => __('Messages', 'blocksy'),
    44                     'type' => 'ct-panel',
    45                     'setting' => ['transport' => 'postMessage'],
    46                     'inner-options' => [
     19                    'type' => 'ct-divider',
     20                ], 
     21            ],
    4722
    48                         blocksy_rand_md5() => [
    49                             'type' => 'ct-title',
    50                             'label' => __( 'Info Messages', 'blocksy' ),
    51                         ],
     23            blocksy_get_options('woocommerce/general/cart-page'),
    5224
    53                         'info_message_text_color' => [
    54                             'label' => __( 'Text Color', 'blocksy' ),
    55                             'type'  => 'ct-color-picker',
    56                             'design' => 'inline',
    57                             'setting' => [ 'transport' => 'postMessage' ],
     25            blocksy_get_options('woocommerce/general/checkout-page'),
    5826
    59                             'value' => [
    60                                 'default' => [
    61                                     'color' => 'var(--theme-text-color)',
    62                                 ],
    63 
    64                                 'hover' => [
    65                                     'color' => 'var(--theme-link-hover-color)',
    66                                 ],
    67                             ],
    68 
    69                             'pickers' => [
    70                                 [
    71                                     'title' => __( 'Initial', 'blocksy' ),
    72                                     'id' => 'default',
    73                                 ],
    74 
    75                                 [
    76                                     'title' => __( 'Hover', 'blocksy' ),
    77                                     'id' => 'hover',
    78                                 ],
    79                             ],
    80                         ],
    81 
    82                         'info_message_background_color' => [
    83                             'label' => __( 'Background Color', 'blocksy' ),
    84                             'type'  => 'ct-color-picker',
    85                             'design' => 'inline',
    86                             'setting' => [ 'transport' => 'postMessage' ],
    87 
    88                             'value' => [
    89                                 'default' => [
    90                                     'color' => '#F0F1F3',
    91                                 ],
    92                             ],
    93 
    94                             'pickers' => [
    95                                 [
    96                                     'title' => __( 'Initial', 'blocksy' ),
    97                                     'id' => 'default',
    98                                 ],
    99                             ],
    100                         ],
    101 
    102                         'info_message_button_text_color' => [
    103                             'label' => __( 'Button Font Color', 'blocksy' ),
    104                             'type'  => 'ct-color-picker',
    105                             'design' => 'inline',
    106                             'sync' => 'live',
    107                             'value' => [
    108                                 'default' => [
    109                                     'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    110                                 ],
    111 
    112                                 'hover' => [
    113                                     'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    114                                 ],
    115                             ],
    116 
    117                             'pickers' => [
    118                                 [
    119                                     'title' => __( 'Initial', 'blocksy' ),
    120                                     'id' => 'default',
    121                                     'inherit' => 'var(--theme-button-text-initial-color)',
    122                                 ],
    123 
    124                                 [
    125                                     'title' => __( 'Hover', 'blocksy' ),
    126                                     'id' => 'hover',
    127                                     'inherit' => 'var(--theme-button-text-hover-color)',
    128                                 ],
    129                             ],
    130                         ],
    131 
    132                         'info_message_button_background' => [
    133                             'label' => __( 'Button Background Color', 'blocksy' ),
    134                             'type'  => 'ct-color-picker',
    135                             'design' => 'inline',
    136                             'sync' => 'live',
    137                             'value' => [
    138                                 'default' => [
    139                                     'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    140                                 ],
    141 
    142                                 'hover' => [
    143                                     'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    144                                 ],
    145                             ],
    146 
    147                             'pickers' => [
    148                                 [
    149                                     'title' => __( 'Initial', 'blocksy' ),
    150                                     'id' => 'default',
    151                                     'inherit' => 'var(--theme-button-background-initial-color)'
    152                                 ],
    153 
    154                                 [
    155                                     'title' => __( 'Hover', 'blocksy' ),
    156                                     'id' => 'hover',
    157                                     'inherit' => 'var(--theme-button-background-hover-color)'
    158                                 ],
    159                             ],
    160                         ],
    161 
    162                         blocksy_rand_md5() => [
    163                             'type' => 'ct-title',
    164                             'label' => __( 'Success Messages', 'blocksy' ),
    165                         ],
    166 
    167                         'success_message_text_color' => [
    168                             'label' => __( 'Text Color', 'blocksy' ),
    169                             'type'  => 'ct-color-picker',
    170                             'design' => 'inline',
    171                             'setting' => [ 'transport' => 'postMessage' ],
    172 
    173                             'value' => [
    174                                 'default' => [
    175                                     'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    176                                 ],
    177 
    178                                 'hover' => [
    179                                     'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    180                                 ],
    181                             ],
    182 
    183                             'pickers' => [
    184                                 [
    185                                     'title' => __( 'Initial', 'blocksy' ),
    186                                     'id' => 'default',
    187                                     'inherit' => 'var(--theme-text-color)'
    188                                 ],
    189 
    190                                 [
    191                                     'title' => __( 'Hover', 'blocksy' ),
    192                                     'id' => 'hover',
    193                                     'inherit' => 'var(--theme-link-hover-color)'
    194                                 ],
    195                             ],
    196                         ],
    197 
    198                         'success_message_background_color' => [
    199                             'label' => __( 'Background Color', 'blocksy' ),
    200                             'type'  => 'ct-color-picker',
    201                             'design' => 'inline',
    202                             'setting' => [ 'transport' => 'postMessage' ],
    203 
    204                             'value' => [
    205                                 'default' => [
    206                                     'color' => '#F0F1F3',
    207                                 ],
    208                             ],
    209 
    210                             'pickers' => [
    211                                 [
    212                                     'title' => __( 'Initial', 'blocksy' ),
    213                                     'id' => 'default',
    214                                 ],
    215                             ],
    216                         ],
    217 
    218                         'success_message_button_text_color' => [
    219                             'label' => __( 'Button Font Color', 'blocksy' ),
    220                             'type'  => 'ct-color-picker',
    221                             'design' => 'inline',
    222                             'sync' => 'live',
    223                             'value' => [
    224                                 'default' => [
    225                                     'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    226                                 ],
    227 
    228                                 'hover' => [
    229                                     'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    230                                 ],
    231                             ],
    232 
    233                             'pickers' => [
    234                                 [
    235                                     'title' => __( 'Initial', 'blocksy' ),
    236                                     'id' => 'default',
    237                                     'inherit' => 'var(--theme-button-text-initial-color)',
    238                                 ],
    239 
    240                                 [
    241                                     'title' => __( 'Hover', 'blocksy' ),
    242                                     'id' => 'hover',
    243                                     'inherit' => 'var(--theme-button-text-hover-color)',
    244                                 ],
    245                             ],
    246                         ],
    247 
    248                         'success_message_button_background' => [
    249                             'label' => __( 'Button Background Color', 'blocksy' ),
    250                             'type'  => 'ct-color-picker',
    251                             'design' => 'inline',
    252                             'sync' => 'live',
    253                             'value' => [
    254                                 'default' => [
    255                                     'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    256                                 ],
    257 
    258                                 'hover' => [
    259                                     'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    260                                 ],
    261                             ],
    262 
    263                             'pickers' => [
    264                                 [
    265                                     'title' => __( 'Initial', 'blocksy' ),
    266                                     'id' => 'default',
    267                                     'inherit' => 'var(--theme-button-background-initial-color)'
    268                                 ],
    269 
    270                                 [
    271                                     'title' => __( 'Hover', 'blocksy' ),
    272                                     'id' => 'hover',
    273                                     'inherit' => 'var(--theme-button-background-hover-color)'
    274                                 ],
    275                             ],
    276                         ],
    277 
    278                         blocksy_rand_md5() => [
    279                             'type' => 'ct-title',
    280                             'label' => __( 'Error Messages', 'blocksy' ),
    281                         ],
    282 
    283                         'error_message_text_color' => [
    284                             'label' => __( 'Text Color', 'blocksy' ),
    285                             'type'  => 'ct-color-picker',
    286                             'design' => 'inline',
    287                             'setting' => [ 'transport' => 'postMessage' ],
    288 
    289                             'value' => [
    290                                 'default' => [
    291                                     'color' => '#ffffff',
    292                                 ],
    293 
    294                                 'hover' => [
    295                                     'color' => '#ffffff',
    296                                 ],
    297                             ],
    298 
    299                             'pickers' => [
    300                                 [
    301                                     'title' => __( 'Initial', 'blocksy' ),
    302                                     'id' => 'default',
    303                                 ],
    304 
    305                                 [
    306                                     'title' => __( 'Hover', 'blocksy' ),
    307                                     'id' => 'hover',
    308                                 ],
    309                             ],
    310                         ],
    311 
    312                         'error_message_background_color' => [
    313                             'label' => __( 'Background Color', 'blocksy' ),
    314                             'type'  => 'ct-color-picker',
    315                             'design' => 'inline',
    316                             'setting' => [ 'transport' => 'postMessage' ],
    317 
    318                             'value' => [
    319                                 'default' => [
    320                                     'color' => 'rgba(218, 0, 28, 0.7)',
    321                                 ],
    322                             ],
    323 
    324                             'pickers' => [
    325                                 [
    326                                     'title' => __( 'Initial', 'blocksy' ),
    327                                     'id' => 'default',
    328                                 ],
    329                             ],
    330                         ],
    331 
    332                         'error_message_button_text_color' => [
    333                             'label' => __( 'Button Font Color', 'blocksy' ),
    334                             'type'  => 'ct-color-picker',
    335                             'design' => 'inline',
    336                             'sync' => 'live',
    337                             'value' => [
    338                                 'default' => [
    339                                     'color' => '#ffffff',
    340                                 ],
    341 
    342                                 'hover' => [
    343                                     'color' => '#ffffff',
    344                                 ],
    345                             ],
    346 
    347                             'pickers' => [
    348                                 [
    349                                     'title' => __( 'Initial', 'blocksy' ),
    350                                     'id' => 'default',
    351                                 ],
    352 
    353                                 [
    354                                     'title' => __( 'Hover', 'blocksy' ),
    355                                     'id' => 'hover',
    356                                 ],
    357                             ],
    358                         ],
    359 
    360                         'error_message_button_background' => [
    361                             'label' => __( 'Button Background Color', 'blocksy' ),
    362                             'type'  => 'ct-color-picker',
    363                             'design' => 'inline',
    364                             'sync' => 'live',
    365                             'value' => [
    366                                 'default' => [
    367                                     'color' => '#b92c3e',
    368                                 ],
    369 
    370                                 'hover' => [
    371                                     'color' => '#9c2131',
    372                                 ],
    373                             ],
    374 
    375                             'pickers' => [
    376                                 [
    377                                     'title' => __( 'Initial', 'blocksy' ),
    378                                     'id' => 'default',
    379                                 ],
    380 
    381                                 [
    382                                     'title' => __( 'Hover', 'blocksy' ),
    383                                     'id' => 'hover',
    384                                 ],
    385                             ],
    386                         ],
    387 
    388                     ],
    389                 ],
    390 
    391                 blocksy_rand_md5() => [
    392                     'label' => __('Star Rating', 'blocksy'),
    393                     'type' => 'ct-panel',
    394                     'setting' => ['transport' => 'postMessage'],
    395                     'inner-options' => [
    396 
    397                         'starRatingColor' => [
    398                             'label' => __( 'Star Rating Color', 'blocksy' ),
    399                             'type'  => 'ct-color-picker',
    400                             'design' => 'inline',
    401                             'setting' => [ 'transport' => 'postMessage' ],
    402 
    403                             'value' => [
    404                                 'default' => [
    405                                     'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    406                                 ],
    407 
    408                                 'inactive' => [
    409                                     'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    410                                 ],
    411                             ],
    412 
    413                             'pickers' => [
    414                                 [
    415                                     'title' => __( 'Active', 'blocksy' ),
    416                                     'id' => 'default',
    417                                     'inherit' => '#FDA256'
    418                                 ],
    419 
    420                                 [
    421                                     'title' => __( 'Inactive', 'blocksy' ),
    422                                     'id' => 'inactive',
    423                                     'inherit' => '#F9DFCC'
    424                                 ],
    425                             ],
    426                         ],
    427 
    428                     ],
    429                 ],
    430 
    431                 blocksy_rand_md5() => [
    432                     'label' => __('Quantity Input', 'blocksy'),
    433                     'type' => 'ct-panel',
    434                     'setting' => ['transport' => 'postMessage'],
    435                     'inner-options' => [
    436 
    437                         blocksy_rand_md5() => [
    438                             'title' => __( 'General', 'blocksy' ),
    439                             'type' => 'tab',
    440                             'options' => [
    441 
    442                                 'has_custom_quantity' => [
    443                                     'label' => __( 'Custom Quantity Input', 'blocksy' ),
    444                                     'type' => 'ct-switch',
    445                                     'value' => 'yes',
    446                                     'sync' => blocksy_sync_whole_page([
    447                                         'prefix' => 'product',
    448                                         'loader_selector' => '.quantity'
    449                                     ]),
    450                                 ],
    451 
    452                                 blocksy_rand_md5() => [
    453                                     'type' => 'ct-condition',
    454                                     'condition' => [ 'has_custom_quantity' => 'yes' ],
    455                                     'options' => [
    456 
    457                                         'quantity_type' => [
    458                                             // 'label' => __( 'Quantity Input Type', 'blocksy' ),
    459                                             'label' => false,
    460                                             'type' => 'ct-radio',
    461                                             'value' => 'type-2',
    462                                             'view' => 'text',
    463                                             'design' => 'block',
    464                                             // 'divider' => 'top',
    465                                             'disableRevertButton' => true,
    466                                             'setting' => [ 'transport' => 'postMessage' ],
    467                                             'choices' => [
    468                                                 'type-1' => __( 'Type 1', 'blocksy' ),
    469                                                 'type-2' => __( 'Type 2', 'blocksy' ),
    470                                             ],
    471                                         ],
    472 
    473                                     ],
    474                                 ],
    475 
    476                             ],
    477                         ],
    478 
    479                         blocksy_rand_md5() => [
    480                             'title' => __( 'Design', 'blocksy' ),
    481                             'type' => 'tab',
    482                             'options' => [
    483 
    484                                 'global_quantity_color' => [
    485                                     'label' => __( 'Quantity Main Color', 'blocksy' ),
    486                                     'type'  => 'ct-color-picker',
    487                                     'design' => 'inline',
    488                                     'sync' => 'live',
    489                                     'value' => [
    490                                         'default' => [
    491                                             'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    492                                         ],
    493 
    494                                         'hover' => [
    495                                             'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    496                                         ],
    497                                     ],
    498 
    499                                     'pickers' => [
    500                                         [
    501                                             'title' => __( 'Initial', 'blocksy' ),
    502                                             'id' => 'default',
    503                                             'inherit' => 'var(--theme-button-background-initial-color)',
    504 
    505                                         ],
    506 
    507                                         [
    508                                             'title' => __( 'Hover', 'blocksy' ),
    509                                             'id' => 'hover',
    510                                             'inherit' => 'var(--theme-button-background-hover-color)'
    511                                         ],
    512                                     ],
    513                                 ],
    514 
    515                                 'global_quantity_arrows' => [
    516                                     'label' => __( 'Quantity Arrows Color', 'blocksy' ),
    517                                     'type'  => 'ct-color-picker',
    518                                     'design' => 'inline',
    519                                     'sync' => 'live',
    520                                     'value' => [
    521                                         'default' => [
    522                                             'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    523                                         ],
    524 
    525                                         'default_type_2' => [
    526                                             'color' => 'var(--theme-text-color)',
    527                                         ],
    528 
    529                                         'hover' => [
    530                                             'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    531                                         ],
    532                                     ],
    533 
    534                                     'pickers' => [
    535                                         [
    536                                             'title' => __( 'Initial', 'blocksy' ),
    537                                             'id' => 'default',
    538                                             'inherit' => '#ffffff',
    539                                             'condition' => [ 'quantity_type' => 'type-1' ]
    540                                         ],
    541 
    542                                         [
    543                                             'title' => __( 'Initial', 'blocksy' ),
    544                                             'id' => 'default_type_2',
    545                                             'condition' => [ 'quantity_type' => 'type-2' ]
    546                                         ],
    547 
    548                                         [
    549                                             'title' => __( 'Hover', 'blocksy' ),
    550                                             'id' => 'hover',
    551                                             'inherit' => '#ffffff'
    552                                         ],
    553                                     ],
    554                                 ],
    555 
    556                             ],
    557                         ],
    558 
    559                     ],
    560                 ],
    561 
    562                 blocksy_rand_md5() => [
    563                     'label' => __('Product Badges', 'blocksy'),
    564                     'type' => 'ct-panel',
    565                     'setting' => ['transport' => 'postMessage'],
    566                     'inner-options' => [
    567 
    568                         blocksy_rand_md5() => [
    569                             'title' => __( 'General', 'blocksy' ),
    570                             'type' => 'tab',
    571                             'options' => [
    572 
    573                                 [
    574                                     'sale_badge_shape' => [
    575                                         'label' => __( 'Badge Shape', 'blocksy' ),
    576                                         'type' => 'ct-image-picker',
    577                                         'value' => 'type-2',
    578                                         'attr' => [
    579                                             'data-type' => 'background',
    580                                             'data-columns' => '3',
    581                                         ],
    582                                         'setting' => [ 'transport' => 'postMessage' ],
    583                                         'choices' => [
    584 
    585                                             'type-1' => [
    586                                                 'src'   => blocksy_image_picker_file( 'badge-1' ),
    587                                                 'title' => __( 'Type 1', 'blocksy' ),
    588                                             ],
    589 
    590                                             'type-2' => [
    591                                                 'src'   => blocksy_image_picker_file( 'badge-2' ),
    592                                                 'title' => __( 'Type 2', 'blocksy' ),
    593                                             ],
    594 
    595                                             'type-3' => [
    596                                                 'src'   => blocksy_image_picker_file( 'badge-3' ),
    597                                                 'title' => __( 'Type 3', 'blocksy' ),
    598                                             ],
    599                                         ],
    600                                     ],
    601 
    602                                     'has_sale_badge' => [
    603                                         'label' => __( 'Show Sale Badge', 'blocksy' ),
    604                                         'type' => 'ct-checkboxes',
    605                                         'design' => 'block',
    606                                         'view' => 'text',
    607                                         'allow_empty' => true,
    608                                         'value' => [
    609                                             'archive' => true,
    610                                             'single' => true,
    611                                         ],
    612                                         'divider' => 'top:full',
    613                                         'choices' => blocksy_ordered_keys([
    614                                             'archive' => __( 'Archive', 'blocksy' ),
    615                                             'single' => __( 'Single', 'blocksy' ),
    616                                         ]),
    617                                         'sync' => blocksy_sync_whole_page([
    618                                             // 'prefix' => 'product',
    619                                             'loader_selector' => '[data-products] > li, .woocommerce-product-gallery'
    620                                         ])
    621                                     ],
    622 
    623                                     blocksy_rand_md5() => [
    624                                         'type' => 'ct-condition',
    625                                         'condition' => [
    626                                             'any' => [
    627                                                 'has_sale_badge/archive' => true,
    628                                                 'has_sale_badge/single' => true,
    629                                             ]
    630                                         ],
    631                                         'options' => [
    632                                             'sale_badge_value' => [
    633                                                 'type' => 'ct-radio',
    634                                                 'label' => __( 'Sale Badge Value', 'blocksy' ),
    635                                                 'value' => 'default',
    636                                                 'view' => 'text',
    637                                                 'design' => 'block',
    638                                                 'setting' => [ 'transport' => 'postMessage' ],
    639                                                 'choices' => [
    640                                                     'default' => __( 'Default', 'blocksy' ),
    641                                                     'custom' => __( 'Custom', 'blocksy' ),
    642                                                 ],
    643                                                 'sync' => blocksy_sync_whole_page([
    644                                                     'prefix' => 'woo_categories',
    645                                                     'loader_selector' => '.onsale'
    646                                                 ]),
    647                                             ],
    648 
    649                                             blocksy_rand_md5() => [
    650                                                 'type' => 'ct-condition',
    651                                                 'condition' => [ 'sale_badge_value' => 'default' ],
    652                                                 'options' => [
    653                                                     'sale_badge_default_value' => [
    654                                                         'label' => __( 'Badge Label', 'blocksy' ),
    655                                                         'type' => 'text',
    656                                                         'design' => 'block',
    657                                                         'value' => 'SALE',
    658                                                         'setting' => [ 'transport' => 'postMessage' ],
    659                                                     ],
    660                                                 ],
    661                                             ],
    662 
    663                                             blocksy_rand_md5() => [
    664                                                 'type' => 'ct-condition',
    665                                                 'condition' => [ 'sale_badge_value' => 'custom' ],
    666                                                 'options' => [
    667                                                     'sale_badge_custom_value' => [
    668                                                         'label' => __( 'Badge Label', 'blocksy' ),
    669                                                         'type' => 'text',
    670                                                         'design' => 'block',
    671                                                         'value' => '-{value}%',
    672                                                         'sync' => blocksy_sync_whole_page([
    673                                                             'prefix' => 'woo_categories',
    674                                                             'loader_selector' => '.onsale'
    675                                                         ]),
    676                                                     ],
    677                                                 ],
    678                                             ],
    679                                         ],
    680                                     ],
    681 
    682                                     'has_stock_badge' => [
    683                                         'label' => __( 'Show Stock Badge', 'blocksy' ),
    684                                         'type' => 'ct-checkboxes',
    685                                         'design' => 'block',
    686                                         'view' => 'text',
    687                                         'allow_empty' => true,
    688                                         'value' => [
    689                                             'archive' => true,
    690                                             'single' => true,
    691                                         ],
    692                                         'divider' => 'top:full',
    693                                         'choices' => blocksy_ordered_keys([
    694                                             'archive' => __( 'Archive', 'blocksy' ),
    695                                             'single' => __( 'Single', 'blocksy' ),
    696                                         ]),
    697                                         'sync' => blocksy_sync_whole_page([
    698                                             'prefix' => 'woo_categories',
    699                                             'loader_selector' => '.out-of-stock-badge'
    700                                         ])
    701                                     ],
    702 
    703                                     blocksy_rand_md5() => [
    704                                         'type' => 'ct-condition',
    705                                         'condition' => [
    706                                             'any' => [
    707                                                 'has_stock_badge/archive' => true,
    708                                                 'has_stock_badge/single' => true,
    709                                             ]
    710                                         ],
    711                                         'options' => [
    712                                             'stock_badge_value' => [
    713                                                 'label' => __( 'Badge Label', 'blocksy' ),
    714                                                 'type' => 'text',
    715                                                 'design' => 'block',
    716                                                 'value' => __('SOLD OUT', 'blocksy'),
    717                                                 'setting' => [ 'transport' => 'postMessage' ],
    718                                             ]
    719                                         ],
    720                                     ],
    721                                 ],
    722 
    723                                 apply_filters(
    724                                     'blocksy_customizer_options:woocommerce:general:badges:options',
    725                                     []
    726                                 )
    727 
    728                             ],
    729                         ],
    730 
    731                         blocksy_rand_md5() => [
    732                             'title' => __( 'Design', 'blocksy' ),
    733                             'type' => 'tab',
    734                             'options' => [
    735 
    736                                 [
    737                                     'saleBadgeColor' => [
    738                                         'label' => __( 'Sale Badge', 'blocksy' ),
    739                                         'type'  => 'ct-color-picker',
    740                                         'design' => 'inline',
    741                                         'setting' => [ 'transport' => 'postMessage' ],
    742 
    743                                         'value' => [
    744                                             'text' => [
    745                                                 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    746                                             ],
    747 
    748                                             'background' => [
    749                                                 'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    750                                             ],
    751                                         ],
    752 
    753                                         'pickers' => [
    754                                             [
    755                                                 'title' => __( 'Text', 'blocksy' ),
    756                                                 'id' => 'text',
    757                                                 'inherit' => '#ffffff'
    758                                             ],
    759 
    760                                             [
    761                                                 'title' => __( 'Background', 'blocksy' ),
    762                                                 'id' => 'background',
    763                                                 'inherit' => 'var(--theme-palette-color-1)'
    764                                             ],
    765                                         ],
    766                                     ],
    767 
    768                                     'outOfStockBadgeColor' => [
    769                                         'label' => __( 'Out of Stock Badge', 'blocksy' ),
    770                                         'type'  => 'ct-color-picker',
    771                                         'design' => 'inline',
    772                                         'setting' => [ 'transport' => 'postMessage' ],
    773 
    774                                         'value' => [
    775                                             'text' => [
    776                                                 'color' => '#ffffff',
    777                                             ],
    778 
    779                                             'background' => [
    780                                                 'color' => '#24292E',
    781                                             ],
    782                                         ],
    783 
    784                                         'pickers' => [
    785                                             [
    786                                                 'title' => __( 'Text', 'blocksy' ),
    787                                                 'id' => 'text',
    788                                             ],
    789 
    790                                             [
    791                                                 'title' => __( 'Background', 'blocksy' ),
    792                                                 'id' => 'background',
    793                                             ],
    794                                         ],
    795                                     ],
    796                                 ],
    797 
    798                                 apply_filters(
    799                                     'blocksy_customizer_options:woocommerce:general:badges:design:options',
    800                                     []
    801                                 )
    802                             ],
    803                         ],
    804 
    805                     ],
    806                 ],
    807 
    808                 blocksy_rand_md5() => [
    809                     'type' => 'ct-divider',
    810                 ],
    811 
    812                 blocksy_rand_md5() => [
    813                     'label' => __('Account Page', 'blocksy'),
    814                     'type' => 'ct-panel',
    815                     'setting' => ['transport' => 'postMessage'],
    816                     'inner-options' => [
    817 
    818                         blocksy_rand_md5() => [
    819                             'title' => __( 'General', 'blocksy' ),
    820                             'type' => 'tab',
    821                             'options' => [
    822 
    823                                 'has_account_page_avatar' => [
    824                                     'label' => __( 'User Avatar', 'blocksy' ),
    825                                     'type' => 'ct-switch',
    826                                     'value' => 'no',
    827                                     'sync' => blocksy_sync_whole_page([
    828                                         'prefix' => 'single_page',
    829                                         'loader_selector' => '.ct-woo-account'
    830                                     ]),
    831                                 ],
    832 
    833                                 blocksy_rand_md5() => [
    834                                     'type' => 'ct-condition',
    835                                     'condition' => [ 'has_account_page_avatar' => 'yes' ],
    836                                     'options' => [
    837 
    838                                         'account_page_avatar_size' => [
    839                                             'label' => __( 'Avatar Size', 'blocksy' ),
    840                                             'type' => 'ct-number',
    841                                             'design' => 'inline',
    842                                             'value' => 35,
    843                                             'min' => 20,
    844                                             'max' => 100,
    845                                             'divider' => 'bottom',
    846                                             'setting' => [ 'transport' => 'postMessage' ],
    847                                         ],
    848                                     ],
    849                                 ],
    850 
    851                                 'has_account_page_name' => [
    852                                     'label' => __( 'User Name', 'blocksy' ),
    853                                     'type' => 'ct-switch',
    854                                     'value' => 'no',
    855                                     'sync' => blocksy_sync_whole_page([
    856                                         'prefix' => 'single_page',
    857                                         'loader_selector' => '.ct-woo-account'
    858                                     ]),
    859                                 ],
    860 
    861                                 'has_account_page_quick_actions' => [
    862                                     'label' => __( 'Navigation Quick Links', 'blocksy' ),
    863                                     'type' => 'ct-switch',
    864                                     'value' => 'no',
    865                                     'sync' => blocksy_sync_whole_page([
    866                                         'prefix' => 'single_page',
    867                                         'loader_selector' => '.ct-woo-account'
    868                                     ]),
    869                                 ],
    870                             ],
    871                         ],
    872 
    873                         blocksy_rand_md5() => [
    874                             'title' => __( 'Design', 'blocksy' ),
    875                             'type' => 'tab',
    876                             'options' => [
    877 
    878                                 'account_nav_text_color' => [
    879                                     'label' => __( 'Navigation Text Color', 'blocksy' ),
    880                                     'type'  => 'ct-color-picker',
    881                                     'design' => 'inline',
    882                                     'setting' => [ 'transport' => 'postMessage' ],
    883                                     'value' => [
    884                                         'default' => [
    885                                             'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    886                                         ],
    887 
    888                                         'active' => [
    889                                             'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    890                                         ],
    891                                     ],
    892 
    893                                     'pickers' => [
    894                                         [
    895                                             'title' => __( 'Initial', 'blocksy' ),
    896                                             'id' => 'default',
    897                                             'inherit' => 'var(--theme-palette-color-3)'
    898                                         ],
    899 
    900                                         [
    901                                             'title' => __( 'Active', 'blocksy' ),
    902                                             'id' => 'active',
    903                                             'inherit' => '#ffffff'
    904                                         ],
    905                                     ],
    906                                 ],
    907 
    908                                 'account_nav_background_color' => [
    909                                     'label' => __( 'Navigation Background Color', 'blocksy' ),
    910                                     'type'  => 'ct-color-picker',
    911                                     'design' => 'inline',
    912                                     'setting' => [ 'transport' => 'postMessage' ],
    913                                     'value' => [
    914                                         'default' => [
    915                                             'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    916                                         ],
    917 
    918                                         'active' => [
    919                                             'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    920                                         ],
    921                                     ],
    922 
    923                                     'pickers' => [
    924                                         [
    925                                             'title' => __( 'Initial', 'blocksy' ),
    926                                             'id' => 'default',
    927                                             'inherit' => '#ffffff'
    928                                         ],
    929 
    930                                         [
    931                                             'title' => __( 'Active', 'blocksy' ),
    932                                             'id' => 'active',
    933                                             'inherit' => 'var(--theme-palette-color-1)'
    934                                         ],
    935                                     ],
    936                                 ],
    937 
    938                                 'account_nav_divider_color' => [
    939                                     'label' => __( 'Navigation Divider Color', 'blocksy' ),
    940                                     'type'  => 'ct-color-picker',
    941                                     'design' => 'inline',
    942                                     'setting' => [ 'transport' => 'postMessage' ],
    943                                     'value' => [
    944                                         'default' => [
    945                                             'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
    946                                         ],
    947                                     ],
    948 
    949                                     'pickers' => [
    950                                         [
    951                                             'title' => __( 'Initial', 'blocksy' ),
    952                                             'id' => 'default',
    953                                             'inherit' => 'rgba(0, 0, 0, 0.05)'
    954                                         ],
    955                                     ],
    956                                 ],
    957 
    958                                 'account_nav_shadow' => [
    959                                     'label' => __( 'Navigation Shadow', 'blocksy' ),
    960                                     'type' => 'ct-box-shadow',
    961                                     'design' => 'inline',
    962                                     'sync' => 'live',
    963                                     // 'responsive' => true,
    964                                     'divider' => 'top',
    965                                     'value' => blocksy_box_shadow_value([
    966                                         'enable' => false,
    967                                         'h_offset' => 0,
    968                                         'v_offset' => 10,
    969                                         'blur' => 20,
    970                                         'spread' => 0,
    971                                         'inset' => false,
    972                                         'color' => [
    973                                             'color' => 'rgba(0, 0, 0, 0.03)',
    974                                         ],
    975                                     ])
    976                                 ],
    977 
    978                             ],
    979                         ],
    980 
    981                     ],
    982                 ],
    983 
    984                 blocksy_rand_md5() => [
    985                     'label' => __('Checkout Page', 'blocksy'),
    986                     'type' => 'ct-panel',
    987                     'setting' => ['transport' => 'postMessage'],
    988                     'inner-options' => [
    989 
    990                         [
    991                             'blocksy_has_checkout_coupon' => [
    992                                 'label' => __( 'Coupon Form', 'blocksy' ),
    993                                 'type' => 'ct-switch',
    994                                 'value' => false,
    995                                 'divider' => 'bottom:full',
    996                                 'behavior' => 'bool',
    997                                 'setting' => [
    998                                 ],
    999                             ]
    1000                         ],
    1001 
    1002                         apply_filters(
    1003                             'blocksy_customizer_options:woocommerce:general:coupon:after',
    1004                             []
    1005                         ),
    1006 
    1007                         'woocommerce_checkout_highlight_required_fields' => [
    1008                             'label' => __('Highlight Required Fields', 'blocksy'),
    1009                             'type' => 'ct-switch',
    1010                             'value' => 'yes',
    1011                             'behavior' => 'bool',
    1012                             'divider' => 'bottom',
    1013                             'setting' => [
    1014                                 'type' => 'option'
    1015                             ],
    1016                         ],
    1017 
    1018                         'woocommerce_checkout_company_field' => [
    1019                             'label' => __( 'Company Name Field', 'blocksy' ),
    1020                             'type' => 'ct-select',
    1021                             'value' => 'optional',
    1022                             'view' => 'text',
    1023                             'design' => 'block',
    1024                             'choices' => blocksy_ordered_keys(
    1025                                 [
    1026                                     'hidden' => __( 'Hidden', 'blocksy' ),
    1027                                     'optional' => __( 'Optional', 'blocksy' ),
    1028                                     'required' => __( 'Required', 'blocksy' ),
    1029                                 ]
    1030                             ),
    1031                             'setting' => [
    1032                                 'type' => 'option'
    1033                             ],
    1034                         ],
    1035 
    1036                         'woocommerce_checkout_address_2_field' => [
    1037                             'label' => __( 'Address Line 2 Field', 'blocksy' ),
    1038                             'type' => 'ct-select',
    1039                             'value' => 'optional',
    1040                             'view' => 'text',
    1041                             'design' => 'block',
    1042                             'choices' => blocksy_ordered_keys(
    1043                                 [
    1044                                     'hidden' => __( 'Hidden', 'blocksy' ),
    1045                                     'optional' => __( 'Optional', 'blocksy' ),
    1046                                     'required' => __( 'Required', 'blocksy' ),
    1047                                 ]
    1048                             ),
    1049                             'setting' => [
    1050                                 'type' => 'option'
    1051                             ],
    1052                         ],
    1053 
    1054                         'woocommerce_checkout_phone_field' => [
    1055                             'label' => __( 'Phone Field', 'blocksy' ),
    1056                             'type' => 'ct-select',
    1057                             'value' => 'required',
    1058                             'view' => 'text',
    1059                             'design' => 'block',
    1060                             'choices' => blocksy_ordered_keys(
    1061                                 [
    1062                                     'hidden' => __( 'Hidden', 'blocksy' ),
    1063                                     'optional' => __( 'Optional', 'blocksy' ),
    1064                                     'required' => __( 'Required', 'blocksy' ),
    1065                                 ]
    1066                             ),
    1067                             'setting' => [
    1068                                 'type' => 'option'
    1069                             ],
    1070                         ],
    1071 
    1072                         'wp_page_for_privacy_policy' => [
    1073                             'label' => __('Privacy Policy Page', 'blocksy'),
    1074                             'type' => 'ct-select',
    1075                             'value' => '',
    1076                             'view' => 'text',
    1077                             'design' => 'block',
    1078                             'divider' => 'top:full',
    1079                             'choices' => blocksy_ordered_keys($page_choices_result),
    1080                             'setting' => [
    1081                                 'type' => 'option'
    1082                             ],
    1083                         ],
    1084 
    1085                         'woocommerce_terms_page_id' => [
    1086                             'label' => __( 'Terms And Conditions Page', 'blocksy' ),
    1087                             'type' => 'ct-select',
    1088                             'value' => '',
    1089                             'view' => 'text',
    1090                             'design' => 'block',
    1091                             'choices' => blocksy_ordered_keys($page_choices_result),
    1092                             'setting' => [
    1093                                 'type' => 'option'
    1094                             ],
    1095                         ],
    1096 
    1097                         'woocommerce_checkout_privacy_policy_text' => [
    1098                             'label' => __( 'Privacy policy', 'blocksy' ),
    1099                             'desc' => __( 'Optionally add some text about your store privacy policy to show during checkout.', 'blocksy' ),
    1100                             'type' => 'wp-editor',
    1101                             'value' => __('Your personal data will be used to process your order, support your experience throughout this website, and for other purposes described in our [privacy_policy].', 'blocksy'),
    1102                             'disableRevertButton' => true,
    1103                             'quicktags' => false,
    1104                             'mediaButtons' => false,
    1105                             'tinymce' => [
    1106                                 'toolbar1' => 'bold,italic,link,alignleft,aligncenter,alignright,undo,redo',
    1107                             ],
    1108                             'setting' => [
    1109                                 'type' => 'option'
    1110                             ],
    1111                         ],
    1112 
    1113                         'woocommerce_checkout_terms_and_conditions_checkbox_text' => [
    1114                             'label' => __( 'Terms and conditions', 'blocksy' ),
    1115                             'desc' => __( 'Optionally add some text for the terms checkbox that customers must accept.', 'blocksy' ),
    1116                             'type' => 'text',
    1117                             'value' => blocksy_safe_sprintf(
    1118                                 __(
    1119                                     'I have read and agree to the website %s',
    1120                                     'blocksy'
    1121                                 ),
    1122                                 '[terms]'
    1123                             ),
    1124                             'disableRevertButton' => true,
    1125                             'setting' => [
    1126                                 'type' => 'option'
    1127                             ],
    1128                         ],
    1129                     ],
    1130                 ],
    1131 
    1132             ],
     27            blocksy_get_options('woocommerce/general/account-page'),
    113328
    113429            apply_filters(
     
    113732            ),
    113833
    1139             blocksy_rand_md5() => [
    1140                 'type' => 'ct-divider',
     34            [
     35                blocksy_rand_md5() => [
     36                    'type' => 'ct-divider',
     37                ], 
    114138            ],
    114239
    1143             'woocommerce_demo_store' => [
    1144                 'label' => __('Store Notice', 'blocksy'),
    1145                 'type' => 'ct-panel',
    1146                 'switch' => true,
    1147                 'value' => 'no',
    1148                 'switchBehavior' => 'boolean',
    1149                 'setting' => [
    1150                     'type' => 'option',
    1151                 ],
    1152                 'inner-options' => [
    1153 
    1154                     blocksy_rand_md5() => [
    1155                         'title' => __( 'General', 'blocksy' ),
    1156                         'type' => 'tab',
    1157                         'options' => [
    1158 
    1159                             'woocommerce_demo_store_notice' => [
    1160                                 'label' => false,
    1161                                 'type' => 'textarea',
    1162                                 'value' => __( 'This is a demo store for testing purposes &mdash; no orders shall be fulfilled.', 'blocksy' ),
    1163                                 'setting' => [
    1164                                     'type' => 'option',
    1165                                     'transport' => 'postMessage'
    1166                                 ],
    1167                                 'disableRevertButton' => true,
    1168                             ],
    1169 
    1170                             'store_notice_position' => [
    1171                                 'type' => 'ct-radio',
    1172                                 'label' => __( 'Notice Position', 'blocksy' ),
    1173                                 'value' => 'bottom',
    1174                                 'view' => 'text',
    1175                                 // 'disableRevertButton' => true,
    1176                                 'setting' => [ 'transport' => 'postMessage' ],
    1177                                 'choices' => [
    1178                                     'top' => __('Top', 'blocksy'),
    1179                                     'bottom' => __('Bottom', 'blocksy'),
    1180                                 ],
    1181                             ],
    1182 
    1183                         ],
    1184                     ],
    1185 
    1186                     blocksy_rand_md5() => [
    1187                         'title' => __( 'Design', 'blocksy' ),
    1188                         'type' => 'tab',
    1189                         'options' => [
    1190 
    1191                             'wooNoticeContent' => [
    1192                                 'label' => __( 'Notice Font Color', 'blocksy' ),
    1193                                 'type'  => 'ct-color-picker',
    1194                                 'design' => 'inline',
    1195                                 'divider' => 'top',
    1196                                 'skipEditPalette' => true,
    1197                                 'setting' => [ 'transport' => 'postMessage' ],
    1198 
    1199                                 'value' => [
    1200                                     'default' => [
    1201                                         'color' => '#ffffff',
    1202                                     ],
    1203                                 ],
    1204 
    1205                                 'pickers' => [
    1206                                     [
    1207                                         'title' => __( 'Initial', 'blocksy' ),
    1208                                         'id' => 'default',
    1209                                     ],
    1210                                 ],
    1211                             ],
    1212 
    1213                             'wooNoticeBackground' => [
    1214                                 'label' => __( 'Notice Background Color', 'blocksy' ),
    1215                                 'type'  => 'ct-color-picker',
    1216                                 'design' => 'inline',
    1217                                 'skipEditPalette' => true,
    1218                                 'setting' => [ 'transport' => 'postMessage' ],
    1219 
    1220                                 'value' => [
    1221                                     'default' => [
    1222                                         'color' => 'var(--theme-palette-color-1)',
    1223                                     ],
    1224                                 ],
    1225 
    1226                                 'pickers' => [
    1227                                     [
    1228                                         'title' => __( 'Initial', 'blocksy' ),
    1229                                         'id' => 'default',
    1230                                     ],
    1231                                 ],
    1232                             ],
    1233 
    1234                         ],
    1235                     ],
    1236 
    1237                 ],
    1238             ],
     40            blocksy_get_options('woocommerce/general/store-notice'),
    123941
    124042        ],
  • blocksy/2.0.33/languages/blocksy.pot

    r221126 r221847  
    88"Content-Type: text/plain; charset=UTF-8\n"
    99"Content-Transfer-Encoding: 8bit\n"
    10 "POT-Creation-Date: 2024-03-15 15:13+0000\n"
     10"POT-Creation-Date: 2024-03-21 18:39+0000\n"
    1111"Project-Id-Version: undefined\n"
    1212"X-Poedit-Basepath: ..\n"
     
    391391#: inc/options/single-elements/related-posts.php:145,
    392392#: inc/options/woocommerce/card-product-elements.php:417,
    393 #: inc/options/woocommerce/general-main.php:640,
    394393#: inc/options/woocommerce/single-product-layers.php:61,
    395394#: inc/options/woocommerce/single-product-layers.php:106,
     
    404403#: inc/components/blocks/contact-info/options.php:397,
    405404#: inc/components/blocks/contact-info/options.php:458,
     405#: inc/options/woocommerce/general/product-badges.php:90,
    406406#: inc/panel-builder/footer/middle-row/options.php:435,
    407407#: inc/panel-builder/footer/middle-row/options.php:628,
     
    631631#: inc/options/woocommerce/archive-main.php:48,
    632632#: inc/options/woocommerce/card-product-elements.php:159,
    633 #: inc/options/woocommerce/general-main.php:438,
    634 #: inc/options/woocommerce/general-main.php:569,
    635 #: inc/options/woocommerce/general-main.php:819,
    636 #: inc/options/woocommerce/general-main.php:1155,
    637633#: inc/options/woocommerce/single-main.php:49,
    638634#: inc/options/woocommerce/single-product-elements.php:14,
     
    641637#: inc/options/integrations/the-events-calendar/archive.php:25,
    642638#: inc/options/integrations/the-events-calendar/single.php:27,
     639#: inc/options/woocommerce/general/account-page.php:19,
     640#: inc/options/woocommerce/general/product-badges.php:19,
     641#: inc/options/woocommerce/general/quantity-input.php:19,
     642#: inc/options/woocommerce/general/store-notice.php:24,
    643643#: inc/panel-builder/footer/copyright/options.php:5,
    644644#: inc/panel-builder/footer/menu/options.php:33,
     
    998998#: inc/options/meta/post.php:110,
    999999#: inc/options/single-elements/post-share-box.php:100,
    1000 #: inc/options/woocommerce/general-main.php:641,
    10011000#: inc/options/woocommerce/single-product-layers.php:41,
    10021001#: inc/options/woocommerce/single-product-layers.php:62,
     
    10151014#: inc/components/blocks/share-box/options.php:129,
    10161015#: inc/components/blocks/socials/options.php:100,
     1016#: inc/options/woocommerce/general/product-badges.php:91,
    10171017#: inc/panel-builder/footer/socials/options.php:96,
    10181018#: inc/panel-builder/header/socials/options.php:95
     
    10491049#: inc/options/single-elements/post-share-box.php:75,
    10501050#: inc/options/woocommerce/archive-main.php:65,
    1051 #: inc/options/woocommerce/general-main.php:468,
    1052 #: inc/options/woocommerce/general-main.php:587,
    10531051#: inc/options/woocommerce/single-product-tabs.php:29,
     1052#: inc/options/woocommerce/general/product-badges.php:37,
     1053#: inc/options/woocommerce/general/quantity-input.php:49,
    10541054#: inc/panel-builder/header/cart/options.php:32,
    10551055#: inc/panel-builder/header/menu/options.php:50,
     
    10661066#: inc/options/single-elements/post-share-box.php:80,
    10671067#: inc/options/woocommerce/archive-main.php:70,
    1068 #: inc/options/woocommerce/general-main.php:469,
    1069 #: inc/options/woocommerce/general-main.php:592,
    10701068#: inc/options/woocommerce/single-product-tabs.php:34,
     1069#: inc/options/woocommerce/general/product-badges.php:42,
     1070#: inc/options/woocommerce/general/quantity-input.php:50,
    10711071#: inc/panel-builder/header/cart/options.php:37,
    10721072#: inc/panel-builder/header/menu/options.php:55,
     
    10801080#: inc/options/general/content-elements.php:49,
    10811081#: inc/options/general/sidebar.php:40,
    1082 #: inc/options/woocommerce/general-main.php:597,
    10831082#: inc/options/woocommerce/single-product-tabs.php:39,
     1083#: inc/options/woocommerce/general/product-badges.php:47,
    10841084#: inc/panel-builder/header/cart/options.php:42,
    10851085#: inc/panel-builder/header/menu/options.php:60,
     
    13121312#: inc/options/woocommerce/archive-main.php:165,
    13131313#: inc/options/woocommerce/card-product-elements.php:582,
    1314 #: inc/options/woocommerce/general-main.php:480,
    1315 #: inc/options/woocommerce/general-main.php:732,
    1316 #: inc/options/woocommerce/general-main.php:874,
    1317 #: inc/options/woocommerce/general-main.php:1187,
    13181314#: inc/options/woocommerce/single-main.php:61,
    13191315#: inc/options/woocommerce/single-product-elements.php:123,
     
    13221318#: inc/options/integrations/the-events-calendar/archive.php:36,
    13231319#: inc/options/integrations/the-events-calendar/single.php:38,
     1320#: inc/options/woocommerce/general/account-page.php:74,
     1321#: inc/options/woocommerce/general/product-badges.php:182,
     1322#: inc/options/woocommerce/general/quantity-input.php:61,
     1323#: inc/options/woocommerce/general/store-notice.php:56,
    13241324#: inc/panel-builder/footer/copyright/options.php:89,
    13251325#: inc/panel-builder/footer/menu/options.php:147,
     
    14321432#: inc/options/woocommerce/card-product-elements.php:1023,
    14331433#: inc/options/woocommerce/card-product-elements.php:1057,
    1434 #: inc/options/woocommerce/general-main.php:71,
    1435 #: inc/options/woocommerce/general-main.php:96,
    1436 #: inc/options/woocommerce/general-main.php:119,
    1437 #: inc/options/woocommerce/general-main.php:149,
    1438 #: inc/options/woocommerce/general-main.php:185,
    1439 #: inc/options/woocommerce/general-main.php:212,
    1440 #: inc/options/woocommerce/general-main.php:235,
    1441 #: inc/options/woocommerce/general-main.php:265,
    1442 #: inc/options/woocommerce/general-main.php:301,
    1443 #: inc/options/woocommerce/general-main.php:326,
    1444 #: inc/options/woocommerce/general-main.php:349,
    1445 #: inc/options/woocommerce/general-main.php:377,
    1446 #: inc/options/woocommerce/general-main.php:501,
    1447 #: inc/options/woocommerce/general-main.php:536,
    1448 #: inc/options/woocommerce/general-main.php:543,
    1449 #: inc/options/woocommerce/general-main.php:895,
    1450 #: inc/options/woocommerce/general-main.php:925,
    1451 #: inc/options/woocommerce/general-main.php:951,
    1452 #: inc/options/woocommerce/general-main.php:1207,
    1453 #: inc/options/woocommerce/general-main.php:1228,
    14541434#: inc/options/woocommerce/single-product-elements.php:156,
    14551435#: inc/options/woocommerce/single-product-elements.php:197,
     
    14681448#: inc/options/woocommerce/single-product-tabs.php:219,
    14691449#: inc/options/woocommerce/single-product-tabs.php:256,
     1450#: inc/options/woocommerce/general/account-page.php:95,
     1451#: inc/options/woocommerce/general/account-page.php:125,
     1452#: inc/options/woocommerce/general/account-page.php:151,
     1453#: inc/options/woocommerce/general/messages.php:41,
     1454#: inc/options/woocommerce/general/messages.php:66,
     1455#: inc/options/woocommerce/general/messages.php:89,
     1456#: inc/options/woocommerce/general/messages.php:119,
     1457#: inc/options/woocommerce/general/messages.php:155,
     1458#: inc/options/woocommerce/general/messages.php:182,
     1459#: inc/options/woocommerce/general/messages.php:205,
     1460#: inc/options/woocommerce/general/messages.php:235,
     1461#: inc/options/woocommerce/general/messages.php:271,
     1462#: inc/options/woocommerce/general/messages.php:296,
     1463#: inc/options/woocommerce/general/messages.php:319,
     1464#: inc/options/woocommerce/general/messages.php:347,
     1465#: inc/options/woocommerce/general/quantity-input.php:82,
     1466#: inc/options/woocommerce/general/quantity-input.php:117,
     1467#: inc/options/woocommerce/general/quantity-input.php:124,
     1468#: inc/options/woocommerce/general/store-notice.php:76,
     1469#: inc/options/woocommerce/general/store-notice.php:97,
    14701470#: inc/panel-builder/footer/copyright/options.php:127,
    14711471#: inc/panel-builder/footer/menu/options.php:185,
     
    16031603#: inc/options/woocommerce/card-product-elements.php:985,
    16041604#: inc/options/woocommerce/card-product-elements.php:1028,
    1605 #: inc/options/woocommerce/general-main.php:76,
    1606 #: inc/options/woocommerce/general-main.php:125,
    1607 #: inc/options/woocommerce/general-main.php:155,
    1608 #: inc/options/woocommerce/general-main.php:191,
    1609 #: inc/options/woocommerce/general-main.php:241,
    1610 #: inc/options/woocommerce/general-main.php:271,
    1611 #: inc/options/woocommerce/general-main.php:306,
    1612 #: inc/options/woocommerce/general-main.php:354,
    1613 #: inc/options/woocommerce/general-main.php:382,
    1614 #: inc/options/woocommerce/general-main.php:508,
    1615 #: inc/options/woocommerce/general-main.php:549,
    16161605#: inc/options/woocommerce/single-product-elements.php:237,
    16171606#: inc/options/woocommerce/single-product-elements.php:281,
     
    16251614#: inc/options/woocommerce/single-product-gallery.php:351,
    16261615#: inc/options/woocommerce/single-product-tabs.php:224,
     1616#: inc/options/woocommerce/general/messages.php:46,
     1617#: inc/options/woocommerce/general/messages.php:95,
     1618#: inc/options/woocommerce/general/messages.php:125,
     1619#: inc/options/woocommerce/general/messages.php:161,
     1620#: inc/options/woocommerce/general/messages.php:211,
     1621#: inc/options/woocommerce/general/messages.php:241,
     1622#: inc/options/woocommerce/general/messages.php:276,
     1623#: inc/options/woocommerce/general/messages.php:324,
     1624#: inc/options/woocommerce/general/messages.php:352,
     1625#: inc/options/woocommerce/general/quantity-input.php:89,
     1626#: inc/options/woocommerce/general/quantity-input.php:130,
    16271627#: inc/panel-builder/footer/menu/options.php:190,
    16281628#: inc/panel-builder/footer/socials/options.php:281,
     
    17651765#: inc/options/general/posts-listing.php:469,
    17661766#: inc/options/single-elements/author-box.php:305,
    1767 #: inc/options/woocommerce/general-main.php:755,
    1768 #: inc/options/woocommerce/general-main.php:786,
    17691767#: inc/components/blocks/contact-info/options.php:19,
     1768#: inc/options/woocommerce/general/product-badges.php:205,
     1769#: inc/options/woocommerce/general/product-badges.php:236,
    17701770#: inc/panel-builder/header/cart/options.php:476,
    17711771#: inc/panel-builder/header/cart/options.php:507,
     
    19171917#: inc/options/single-elements/post-share-box.php:625,
    19181918#: inc/options/woocommerce/card-product-elements.php:100,
    1919 #: inc/options/woocommerce/general-main.php:83,
    1920 #: inc/options/woocommerce/general-main.php:199,
    1921 #: inc/options/woocommerce/general-main.php:313,
     1919#: inc/options/woocommerce/general/messages.php:53,
     1920#: inc/options/woocommerce/general/messages.php:169,
     1921#: inc/options/woocommerce/general/messages.php:283,
    19221922#: inc/panel-builder/header/cart/options.php:773,
    19231923#: inc/panel-builder/header/cart/options.php:1029,
     
    20002000#: inc/options/general/colors.php:586,
    20012001#: inc/options/general/posts-listing.php:459,
    2002 #: inc/options/woocommerce/general-main.php:761,
    2003 #: inc/options/woocommerce/general-main.php:791,
    20042002#: inc/options/woocommerce/single-product-tabs.php:317,
     2003#: inc/options/woocommerce/general/product-badges.php:211,
     2004#: inc/options/woocommerce/general/product-badges.php:241,
    20052005#: inc/panel-builder/header/cart/options.php:470,
    20062006#: inc/panel-builder/header/cart/options.php:502,
     
    22042204
    22052205#: inc/options/general/custom-post-types.php:81,
    2206 #: inc/options/woocommerce/general-main.php:614,
    2207 #: inc/options/woocommerce/general-main.php:694
     2206#: inc/options/woocommerce/general/product-badges.php:64,
     2207#: inc/options/woocommerce/general/product-badges.php:144
    22082208msgid "Archive"
    22092209msgstr ""
    22102210
    22112211#: inc/options/general/custom-post-types.php:90,
    2212 #: inc/options/woocommerce/general-main.php:615,
    2213 #: inc/options/woocommerce/general-main.php:695
     2212#: inc/options/woocommerce/general/product-badges.php:65,
     2213#: inc/options/woocommerce/general/product-badges.php:145
    22142214msgid "Single"
    22152215msgstr ""
     
    22872287#: inc/options/general/form-elements.php:268,
    22882288#: inc/options/general/form-elements.php:298,
    2289 #: inc/options/woocommerce/general-main.php:415,
    2290 #: inc/options/woocommerce/general-main.php:901,
    2291 #: inc/options/woocommerce/general-main.php:931,
    22922289#: inc/options/woocommerce/single-product-tabs.php:230,
    22932290#: inc/options/woocommerce/single-product-tabs.php:285,
     2291#: inc/options/woocommerce/general/account-page.php:101,
     2292#: inc/options/woocommerce/general/account-page.php:131,
     2293#: inc/options/woocommerce/general/star-rating.php:36,
    22942294#: inc/panel-builder/footer/menu/options.php:196,
    22952295#: inc/panel-builder/header/menu/options.php:262,
     
    24152415
    24162416#: inc/options/general/meta.php:215, inc/options/general/page-title.php:401,
    2417 #: inc/options/woocommerce/general-main.php:839
     2417#: inc/options/woocommerce/general/account-page.php:39
    24182418msgid "Avatar Size"
    24192419msgstr ""
     
    27032703#: inc/options/woocommerce/single-product-gallery.php:129,
    27042704#: inc/components/blocks/about-me/options.php:81,
     2705#: inc/options/woocommerce/general/cart-page.php:35,
    27052706#: inc/panel-builder/header/cart/options.php:690
    27062707msgid "Image Size"
     
    29732974#: inc/options/woocommerce/card-product-elements.php:243,
    29742975#: inc/options/woocommerce/single-product-gallery.php:114,
     2976#: inc/options/woocommerce/general/cart-page.php:24,
    29752977#: inc/panel-builder/header/cart/options.php:682
    29762978msgid "Image Ratio"
     
    30633065#: inc/options/general/posts-listing.php:1039,
    30643066#: inc/options/general/posts-listing.php:1085,
    3065 #: inc/options/woocommerce/general-main.php:103,
    3066 #: inc/options/woocommerce/general-main.php:219,
    3067 #: inc/options/woocommerce/general-main.php:333,
    30683067#: inc/options/woocommerce/single-product-elements.php:295,
    3069 #: inc/options/woocommerce/single-product-elements.php:368
     3068#: inc/options/woocommerce/single-product-elements.php:368,
     3069#: inc/options/woocommerce/general/messages.php:73,
     3070#: inc/options/woocommerce/general/messages.php:189,
     3071#: inc/options/woocommerce/general/messages.php:303
    30703072msgid "Button Font Color"
    30713073msgstr ""
     
    32823284#: inc/options/general/sidebar.php:258,
    32833285#: inc/options/single-elements/post-share-box.php:122,
    3284 #: inc/options/woocommerce/general-main.php:1178,
     3286#: inc/options/woocommerce/general/store-notice.php:47,
    32853287#: inc/panel-builder/header/logo/options.php:286
    32863288#: static/js/options/options/ct-spacing/input.js:109
     
    32903292#: inc/options/general/sidebar.php:259,
    32913293#: inc/options/single-elements/post-share-box.php:123,
    3292 #: inc/options/woocommerce/general-main.php:1179,
     3294#: inc/options/woocommerce/general/store-notice.php:48,
    32933295#: inc/panel-builder/header/cart/options.php:125,
    32943296#: inc/panel-builder/header/search/options.php:100,
     
    33883390
    33893391#: inc/options/integrations/tutorlms-single.php:162,
    3390 #: inc/options/woocommerce/general-main.php:398
     3392#: inc/options/woocommerce/general/star-rating.php:19
    33913393msgid "Star Rating Color"
    33923394msgstr ""
     
    40984100
    40994101#: inc/options/woocommerce/card-product-elements.php:389,
    4100 #: inc/options/woocommerce/general-main.php:392,
    4101 #: inc/options/woocommerce/single-product-layers.php:150
     4102#: inc/options/woocommerce/single-product-layers.php:150,
     4103#: inc/options/woocommerce/general/star-rating.php:13
    41024104msgid "Star Rating"
    41034105msgstr ""
     
    41574159
    41584160#: inc/options/woocommerce/card-product-elements.php:962,
    4159 #: inc/options/woocommerce/general-main.php:133,
    4160 #: inc/options/woocommerce/general-main.php:249,
    4161 #: inc/options/woocommerce/general-main.php:361,
    41624161#: inc/options/woocommerce/single-product-elements.php:326,
    4163 #: inc/options/woocommerce/single-product-elements.php:399
     4162#: inc/options/woocommerce/single-product-elements.php:399,
     4163#: inc/options/woocommerce/general/messages.php:103,
     4164#: inc/options/woocommerce/general/messages.php:219,
     4165#: inc/options/woocommerce/general/messages.php:331
    41644166#: static/js/editor/blocks/search/Edit.js:311
    41654167msgid "Button Background Color"
     
    41684170#: inc/options/woocommerce/card-product-elements.php:1096
    41694171msgid "Card Border Radius"
    4170 msgstr ""
    4171 
    4172 #: inc/options/woocommerce/general-main.php:23
    4173 msgid "No page set"
    4174 msgstr ""
    4175 
    4176 #: inc/options/woocommerce/general-main.php:43
    4177 msgid "Messages"
    4178 msgstr ""
    4179 
    4180 #: inc/options/woocommerce/general-main.php:50
    4181 msgid "Info Messages"
    4182 msgstr ""
    4183 
    4184 #: inc/options/woocommerce/general-main.php:54,
    4185 #: inc/options/woocommerce/general-main.php:168,
    4186 #: inc/options/woocommerce/general-main.php:284
    4187 #: static/js/editor/blocks/about-me/Edit.js:89
    4188 #: static/js/editor/blocks/breadcrumbs/Edit.js:43
    4189 #: static/js/editor/blocks/contact-info/Edit.js:96
    4190 msgid "Text Color"
    4191 msgstr ""
    4192 
    4193 #: inc/options/woocommerce/general-main.php:164
    4194 msgid "Success Messages"
    4195 msgstr ""
    4196 
    4197 #: inc/options/woocommerce/general-main.php:280
    4198 msgid "Error Messages"
    4199 msgstr ""
    4200 
    4201 #: inc/options/woocommerce/general-main.php:421
    4202 msgid "Inactive"
    4203 msgstr ""
    4204 
    4205 #: inc/options/woocommerce/general-main.php:432,
    4206 #: inc/panel-builder/header/cart/options.php:671
    4207 msgid "Quantity Input"
    4208 msgstr ""
    4209 
    4210 #: inc/options/woocommerce/general-main.php:443
    4211 msgid "Custom Quantity Input"
    4212 msgstr ""
    4213 
    4214 #: inc/options/woocommerce/general-main.php:485
    4215 msgid "Quantity Main Color"
    4216 msgstr ""
    4217 
    4218 #: inc/options/woocommerce/general-main.php:516,
    4219 #: inc/options/woocommerce/single-product-elements.php:245
    4220 msgid "Quantity Arrows Color"
    4221 msgstr ""
    4222 
    4223 #: inc/options/woocommerce/general-main.php:563
    4224 msgid "Product Badges"
    4225 msgstr ""
    4226 
    4227 #: inc/options/woocommerce/general-main.php:575
    4228 msgid "Badge Shape"
    4229 msgstr ""
    4230 
    4231 #: inc/options/woocommerce/general-main.php:603
    4232 msgid "Show Sale Badge"
    4233 msgstr ""
    4234 
    4235 #: inc/options/woocommerce/general-main.php:634
    4236 msgid "Sale Badge Value"
    4237 msgstr ""
    4238 
    4239 #: inc/options/woocommerce/general-main.php:654,
    4240 #: inc/options/woocommerce/general-main.php:668,
    4241 #: inc/options/woocommerce/general-main.php:713
    4242 msgid "Badge Label"
    4243 msgstr ""
    4244 
    4245 #: inc/options/woocommerce/general-main.php:683
    4246 msgid "Show Stock Badge"
    4247 msgstr ""
    4248 
    4249 #: inc/options/woocommerce/general-main.php:716,
    4250 #: inc/components/woocommerce/common/stock-badge.php:34
    4251 msgid "SOLD OUT"
    4252 msgstr ""
    4253 
    4254 #: inc/options/woocommerce/general-main.php:738
    4255 msgid "Sale Badge"
    4256 msgstr ""
    4257 
    4258 #: inc/options/woocommerce/general-main.php:769
    4259 msgid "Out of Stock Badge"
    4260 msgstr ""
    4261 
    4262 #: inc/options/woocommerce/general-main.php:813
    4263 msgid "Account Page"
    4264 msgstr ""
    4265 
    4266 #: inc/options/woocommerce/general-main.php:824
    4267 msgid "User Avatar"
    4268 msgstr ""
    4269 
    4270 #: inc/options/woocommerce/general-main.php:852
    4271 msgid "User Name"
    4272 msgstr ""
    4273 
    4274 #: inc/options/woocommerce/general-main.php:862
    4275 msgid "Navigation Quick Links"
    4276 msgstr ""
    4277 
    4278 #: inc/options/woocommerce/general-main.php:879
    4279 msgid "Navigation Text Color"
    4280 msgstr ""
    4281 
    4282 #: inc/options/woocommerce/general-main.php:909
    4283 msgid "Navigation Background Color"
    4284 msgstr ""
    4285 
    4286 #: inc/options/woocommerce/general-main.php:939
    4287 msgid "Navigation Divider Color"
    4288 msgstr ""
    4289 
    4290 #: inc/options/woocommerce/general-main.php:959
    4291 msgid "Navigation Shadow"
    4292 msgstr ""
    4293 
    4294 #: inc/options/woocommerce/general-main.php:985
    4295 msgid "Checkout Page"
    4296 msgstr ""
    4297 
    4298 #: inc/options/woocommerce/general-main.php:992
    4299 msgid "Coupon Form"
    4300 msgstr ""
    4301 
    4302 #: inc/options/woocommerce/general-main.php:1008
    4303 msgid "Highlight Required Fields"
    4304 msgstr ""
    4305 
    4306 #: inc/options/woocommerce/general-main.php:1019
    4307 msgid "Company Name Field"
    4308 msgstr ""
    4309 
    4310 #: inc/options/woocommerce/general-main.php:1026,
    4311 #: inc/options/woocommerce/general-main.php:1044,
    4312 #: inc/options/woocommerce/general-main.php:1062
    4313 msgid "Hidden"
    4314 msgstr ""
    4315 
    4316 #: inc/options/woocommerce/general-main.php:1027,
    4317 #: inc/options/woocommerce/general-main.php:1045,
    4318 #: inc/options/woocommerce/general-main.php:1063
    4319 msgid "Optional"
    4320 msgstr ""
    4321 
    4322 #: inc/options/woocommerce/general-main.php:1028,
    4323 #: inc/options/woocommerce/general-main.php:1046,
    4324 #: inc/options/woocommerce/general-main.php:1064
    4325 msgid "Required"
    4326 msgstr ""
    4327 
    4328 #: inc/options/woocommerce/general-main.php:1037
    4329 msgid "Address Line 2 Field"
    4330 msgstr ""
    4331 
    4332 #: inc/options/woocommerce/general-main.php:1055
    4333 msgid "Phone Field"
    4334 msgstr ""
    4335 
    4336 #: inc/options/woocommerce/general-main.php:1073
    4337 msgid "Privacy Policy Page"
    4338 msgstr ""
    4339 
    4340 #: inc/options/woocommerce/general-main.php:1086
    4341 msgid "Terms And Conditions Page"
    4342 msgstr ""
    4343 
    4344 #: inc/options/woocommerce/general-main.php:1098
    4345 msgid "Privacy policy"
    4346 msgstr ""
    4347 
    4348 #: inc/options/woocommerce/general-main.php:1099
    4349 msgid ""
    4350 "Optionally add some text about your store privacy policy to show during "
    4351 "checkout."
    4352 msgstr ""
    4353 
    4354 #: inc/options/woocommerce/general-main.php:1101
    4355 msgid ""
    4356 "Your personal data will be used to process your order, support your "
    4357 "experience throughout this website, and for other purposes described in our "
    4358 "[privacy_policy]."
    4359 msgstr ""
    4360 
    4361 #: inc/options/woocommerce/general-main.php:1114
    4362 msgid "Terms and conditions"
    4363 msgstr ""
    4364 
    4365 #: inc/options/woocommerce/general-main.php:1115
    4366 msgid ""
    4367 "Optionally add some text for the terms checkbox that customers must accept."
    4368 msgstr ""
    4369 
    4370 #: inc/options/woocommerce/general-main.php:1118
    4371 msgid "I have read and agree to the website %s"
    4372 msgstr ""
    4373 
    4374 #: inc/options/woocommerce/general-main.php:1144
    4375 msgid "Store Notice"
    4376 msgstr ""
    4377 
    4378 #: inc/options/woocommerce/general-main.php:1162
    4379 msgid ""
    4380 "This is a demo store for testing purposes &mdash; no orders shall be "
    4381 "fulfilled."
    4382 msgstr ""
    4383 
    4384 #: inc/options/woocommerce/general-main.php:1172
    4385 msgid "Notice Position"
    4386 msgstr ""
    4387 
    4388 #: inc/options/woocommerce/general-main.php:1192
    4389 msgid "Notice Font Color"
    4390 msgstr ""
    4391 
    4392 #: inc/options/woocommerce/general-main.php:1214
    4393 msgid "Notice Background Color"
    43944172msgstr ""
    43954173
     
    44424220#: inc/options/woocommerce/single-product-elements.php:214
    44434221msgid "Quantity Color"
     4222msgstr ""
     4223
     4224#: inc/options/woocommerce/single-product-elements.php:245,
     4225#: inc/options/woocommerce/general/quantity-input.php:97
     4226msgid "Quantity Arrows Color"
    44444227msgstr ""
    44454228
     
    50884871msgstr ""
    50894872
     4873#: inc/components/woocommerce/common/stock-badge.php:34,
     4874#: inc/options/woocommerce/general/product-badges.php:166
     4875msgid "SOLD OUT"
     4876msgstr ""
     4877
    50904878#: inc/components/woocommerce/single/additional-actions-layer.php:49
    50914879msgid "Buttons Type"
     
    51114899#: inc/options/integrations/the-events-calendar/single.php:23
    51124900msgid "Events Calendar Single Structure"
     4901msgstr ""
     4902
     4903#: inc/options/woocommerce/general/account-page.php:13
     4904msgid "Account Page"
     4905msgstr ""
     4906
     4907#: inc/options/woocommerce/general/account-page.php:24
     4908msgid "User Avatar"
     4909msgstr ""
     4910
     4911#: inc/options/woocommerce/general/account-page.php:52
     4912msgid "User Name"
     4913msgstr ""
     4914
     4915#: inc/options/woocommerce/general/account-page.php:62
     4916msgid "Navigation Quick Links"
     4917msgstr ""
     4918
     4919#: inc/options/woocommerce/general/account-page.php:79
     4920msgid "Navigation Text Color"
     4921msgstr ""
     4922
     4923#: inc/options/woocommerce/general/account-page.php:109
     4924msgid "Navigation Background Color"
     4925msgstr ""
     4926
     4927#: inc/options/woocommerce/general/account-page.php:139
     4928msgid "Navigation Divider Color"
     4929msgstr ""
     4930
     4931#: inc/options/woocommerce/general/account-page.php:159
     4932msgid "Navigation Shadow"
     4933msgstr ""
     4934
     4935#: inc/options/woocommerce/general/cart-page.php:13
     4936msgid "Cart Page"
     4937msgstr ""
     4938
     4939#: inc/options/woocommerce/general/checkout-page.php:30
     4940msgid "No page set"
     4941msgstr ""
     4942
     4943#: inc/options/woocommerce/general/checkout-page.php:46
     4944msgid "Checkout Page"
     4945msgstr ""
     4946
     4947#: inc/options/woocommerce/general/checkout-page.php:53
     4948msgid "Coupon Form"
     4949msgstr ""
     4950
     4951#: inc/options/woocommerce/general/checkout-page.php:69
     4952msgid "Highlight Required Fields"
     4953msgstr ""
     4954
     4955#: inc/options/woocommerce/general/checkout-page.php:80
     4956msgid "Company Name Field"
     4957msgstr ""
     4958
     4959#: inc/options/woocommerce/general/checkout-page.php:87,
     4960#: inc/options/woocommerce/general/checkout-page.php:105,
     4961#: inc/options/woocommerce/general/checkout-page.php:123
     4962msgid "Hidden"
     4963msgstr ""
     4964
     4965#: inc/options/woocommerce/general/checkout-page.php:88,
     4966#: inc/options/woocommerce/general/checkout-page.php:106,
     4967#: inc/options/woocommerce/general/checkout-page.php:124
     4968msgid "Optional"
     4969msgstr ""
     4970
     4971#: inc/options/woocommerce/general/checkout-page.php:89,
     4972#: inc/options/woocommerce/general/checkout-page.php:107,
     4973#: inc/options/woocommerce/general/checkout-page.php:125
     4974msgid "Required"
     4975msgstr ""
     4976
     4977#: inc/options/woocommerce/general/checkout-page.php:98
     4978msgid "Address Line 2 Field"
     4979msgstr ""
     4980
     4981#: inc/options/woocommerce/general/checkout-page.php:116
     4982msgid "Phone Field"
     4983msgstr ""
     4984
     4985#: inc/options/woocommerce/general/checkout-page.php:134
     4986msgid "Privacy Policy Page"
     4987msgstr ""
     4988
     4989#: inc/options/woocommerce/general/checkout-page.php:147
     4990msgid "Terms And Conditions Page"
     4991msgstr ""
     4992
     4993#: inc/options/woocommerce/general/checkout-page.php:159
     4994msgid "Privacy policy"
     4995msgstr ""
     4996
     4997#: inc/options/woocommerce/general/checkout-page.php:160
     4998msgid ""
     4999"Optionally add some text about your store privacy policy to show during "
     5000"checkout."
     5001msgstr ""
     5002
     5003#: inc/options/woocommerce/general/checkout-page.php:162
     5004msgid ""
     5005"Your personal data will be used to process your order, support your "
     5006"experience throughout this website, and for other purposes described in our "
     5007"[privacy_policy]."
     5008msgstr ""
     5009
     5010#: inc/options/woocommerce/general/checkout-page.php:175
     5011msgid "Terms and conditions"
     5012msgstr ""
     5013
     5014#: inc/options/woocommerce/general/checkout-page.php:176
     5015msgid ""
     5016"Optionally add some text for the terms checkbox that customers must accept."
     5017msgstr ""
     5018
     5019#: inc/options/woocommerce/general/checkout-page.php:179
     5020msgid "I have read and agree to the website %s"
     5021msgstr ""
     5022
     5023#: inc/options/woocommerce/general/messages.php:13
     5024msgid "Messages"
     5025msgstr ""
     5026
     5027#: inc/options/woocommerce/general/messages.php:20
     5028msgid "Info Messages"
     5029msgstr ""
     5030
     5031#: inc/options/woocommerce/general/messages.php:24,
     5032#: inc/options/woocommerce/general/messages.php:138,
     5033#: inc/options/woocommerce/general/messages.php:254
     5034#: static/js/editor/blocks/about-me/Edit.js:89
     5035#: static/js/editor/blocks/breadcrumbs/Edit.js:43
     5036#: static/js/editor/blocks/contact-info/Edit.js:96
     5037msgid "Text Color"
     5038msgstr ""
     5039
     5040#: inc/options/woocommerce/general/messages.php:134
     5041msgid "Success Messages"
     5042msgstr ""
     5043
     5044#: inc/options/woocommerce/general/messages.php:250
     5045msgid "Error Messages"
     5046msgstr ""
     5047
     5048#: inc/options/woocommerce/general/product-badges.php:13
     5049msgid "Product Badges"
     5050msgstr ""
     5051
     5052#: inc/options/woocommerce/general/product-badges.php:25
     5053msgid "Badge Shape"
     5054msgstr ""
     5055
     5056#: inc/options/woocommerce/general/product-badges.php:53
     5057msgid "Show Sale Badge"
     5058msgstr ""
     5059
     5060#: inc/options/woocommerce/general/product-badges.php:84
     5061msgid "Sale Badge Value"
     5062msgstr ""
     5063
     5064#: inc/options/woocommerce/general/product-badges.php:104,
     5065#: inc/options/woocommerce/general/product-badges.php:118,
     5066#: inc/options/woocommerce/general/product-badges.php:163
     5067msgid "Badge Label"
     5068msgstr ""
     5069
     5070#: inc/options/woocommerce/general/product-badges.php:133
     5071msgid "Show Stock Badge"
     5072msgstr ""
     5073
     5074#: inc/options/woocommerce/general/product-badges.php:188
     5075msgid "Sale Badge"
     5076msgstr ""
     5077
     5078#: inc/options/woocommerce/general/product-badges.php:219
     5079msgid "Out of Stock Badge"
     5080msgstr ""
     5081
     5082#: inc/options/woocommerce/general/quantity-input.php:13,
     5083#: inc/panel-builder/header/cart/options.php:671
     5084msgid "Quantity Input"
     5085msgstr ""
     5086
     5087#: inc/options/woocommerce/general/quantity-input.php:24
     5088msgid "Custom Quantity Input"
     5089msgstr ""
     5090
     5091#: inc/options/woocommerce/general/quantity-input.php:66
     5092msgid "Quantity Main Color"
     5093msgstr ""
     5094
     5095#: inc/options/woocommerce/general/star-rating.php:42
     5096msgid "Inactive"
     5097msgstr ""
     5098
     5099#: inc/options/woocommerce/general/store-notice.php:13
     5100msgid "Store Notice"
     5101msgstr ""
     5102
     5103#: inc/options/woocommerce/general/store-notice.php:31
     5104msgid ""
     5105"This is a demo store for testing purposes &mdash; no orders shall be "
     5106"fulfilled."
     5107msgstr ""
     5108
     5109#: inc/options/woocommerce/general/store-notice.php:41
     5110msgid "Notice Position"
     5111msgstr ""
     5112
     5113#: inc/options/woocommerce/general/store-notice.php:61
     5114msgid "Notice Font Color"
     5115msgstr ""
     5116
     5117#: inc/options/woocommerce/general/store-notice.php:83
     5118msgid "Notice Background Color"
    51135119msgstr ""
    51145120
  • blocksy/2.0.33/package.json

    r221126 r221847  
    11{
    22    "name": "small-ct",
    3     "version": "2.0.32",
     3    "version": "2.0.33",
    44    "title": "Blocksy",
    55    "browserslist": "> 1%, not opera > 0, not op_mini all",
  • blocksy/2.0.33/static/bundle/blocks/blocks.js

    r221001 r221847  
    4747 * This source code is licensed under the MIT license found in the
    4848 * LICENSE file in the root directory of this source tree.
    49  */if("function"==typeof Symbol&&Symbol.for){var y=Symbol.for;n=y("react.element"),r=y("react.portal"),o=y("react.fragment"),i=y("react.strict_mode"),a=y("react.profiler"),l=y("react.provider"),c=y("react.context"),s=y("react.forward_ref"),u=y("react.suspense"),p=y("react.suspense_list"),d=y("react.memo"),f=y("react.lazy"),m=y("react.block"),g=y("react.server.block"),h=y("react.fundamental"),b=y("react.debug_trace_mode"),v=y("react.legacy_hidden")}function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case u:case p:return e;default:switch(e=e&&e.$$typeof){case c:case s:case f:case d:case l:return e;default:return t}}case r:return t}}}t.isContextConsumer=function(e){return w(e)===c}},2973:function(e,t,n){"use strict";e.exports=n(8359)},4823:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var o=r(n(3366)),i=r(n(7462)),a=r(n(7363)),l=r(n(1533));let c,s,u,p,d,f=[],m=e=>"undefined"!=typeof window&&window.requestAnimationFrame(e),g=e=>"undefined"!=typeof window&&window.cancelAnimationFrame(e),h=()=>Date.now();const b=(e,t)=>s={fn:e,transform:t},v=e=>f=e,y=e=>c=e,w=e=>u=e,O=e=>p=e,_=e=>d=e;var E=Object.freeze({get bugfixes(){return c},get applyAnimatedValues(){return s},get colorNames(){return f},get requestFrame(){return m},get cancelFrame(){return g},get interpolation(){return u},get now(){return h},get defaultElement(){return p},get createAnimatedStyle(){return d},injectApplyAnimatedValues:b,injectColorNames:v,injectBugfixes:y,injectInterpolation:w,injectFrame:(e,t)=>{var n=[e,t];return m=n[0],g=n[1],n},injectNow:e=>h=e,injectDefaultElement:O,injectCreateAnimatedStyle:_});class P{attach(){}detach(){}getValue(){}getAnimatedValue(){return this.getValue()}addChild(e){}removeChild(e){}getChildren(){return[]}}const C=e=>Object.keys(e).map((t=>e[t]));class k extends P{constructor(){var e;super(...arguments),e=this,this.children=[],this.getChildren=()=>this.children,this.getPayload=function(t){return void 0===t&&(t=void 0),void 0!==t&&e.payload?e.payload[t]:e.payload||e}}addChild(e){0===this.children.length&&this.attach(),this.children.push(e)}removeChild(e){const t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()}}class j extends k{constructor(){super(...arguments),this.payload=[],this.getAnimatedValue=()=>this.getValue(),this.attach=()=>this.payload.forEach((e=>e instanceof P&&e.addChild(this))),this.detach=()=>this.payload.forEach((e=>e instanceof P&&e.removeChild(this)))}}class S extends k{constructor(){super(...arguments),this.payload={},this.getAnimatedValue=()=>this.getValue(!0),this.attach=()=>C(this.payload).forEach((e=>e instanceof P&&e.addChild(this))),this.detach=()=>C(this.payload).forEach((e=>e instanceof P&&e.removeChild(this)))}getValue(e){void 0===e&&(e=!1);const t={};for(const n in this.payload){const r=this.payload[n];(!e||r instanceof P)&&(t[n]=r instanceof P?r[e?"getAnimatedValue":"getValue"]():r)}return t}}class x extends S{constructor(e){super(),!(e=e||{}).transform||e.transform instanceof P||(e=s.transform(e)),this.payload=e}}const I={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199};class D{static create(e,t,n){if("function"==typeof e)return e;if(u&&e.output&&"string"==typeof e.output[0])return u(e);if(Array.isArray(e))return D.create({range:e,output:t,extrapolate:n||"extend"});let r=e.output,o=e.range||[0,1],i=e.easing||(e=>e),a="extend",l=e.map;void 0!==e.extrapolateLeft?a=e.extrapolateLeft:void 0!==e.extrapolate&&(a=e.extrapolate);let c="extend";return void 0!==e.extrapolateRight?c=e.extrapolateRight:void 0!==e.extrapolate&&(c=e.extrapolate),e=>{let t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,o,i,a,l,c){let s=c?c(e):e;if(s<t){if("identity"===a)return s;"clamp"===a&&(s=t)}if(s>n){if("identity"===l)return s;"clamp"===l&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=i(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,o[t],o[t+1],r[t],r[t+1],i,a,c,l)}}}const N="[-+]?\\d*\\.?\\d+",T=N+"%";function A(){return"\\(\\s*("+Array.prototype.slice.call(arguments).join(")\\s*,\\s*(")+")\\s*\\)"}const R=new RegExp("rgb"+A(N,N,N)),M=new RegExp("rgba"+A(N,N,N,N)),B=new RegExp("hsl"+A(N,T,T)),F=new RegExp("hsla"+A(N,T,T,N)),L=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,z=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,H=/^#([0-9a-fA-F]{6})$/,V=/^#([0-9a-fA-F]{8})$/;function U(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function $(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=U(o,r,e+1/3),a=U(o,r,e),l=U(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*l)<<8}function G(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function W(e){return(parseFloat(e)%360+360)%360/360}function q(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Z(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function K(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=H.exec(e))?parseInt(t[1]+"ff",16)>>>0:I.hasOwnProperty(e)?I[e]:(t=R.exec(e))?(G(t[1])<<24|G(t[2])<<16|G(t[3])<<8|255)>>>0:(t=M.exec(e))?(G(t[1])<<24|G(t[2])<<16|G(t[3])<<8|q(t[4]))>>>0:(t=L.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=V.exec(e))?parseInt(t[1],16)>>>0:(t=z.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=B.exec(e))?(255|$(W(t[1]),Z(t[2]),Z(t[3])))>>>0:(t=F.exec(e))?($(W(t[1]),Z(t[2]),Z(t[3]))|q(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const Y=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,X=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,J=new RegExp(`(${Object.keys(I).join("|")})`,"g");class Q extends j{constructor(e,t,n){super(),this.getValue=()=>this.calc(...this.payload.map((e=>e.getValue()))),this.updateConfig=(e,t)=>this.calc=D.create(e,t),this.interpolate=(e,t)=>new Q(this,e,t),this.payload=e instanceof j&&!e.updateConfig?e.payload:Array.isArray(e)?e:[e],this.calc=D.create(t,n)}}function ee(e,t){"function"==typeof e.update?t.add(e):e.getChildren().forEach((e=>ee(e,t)))}class te extends k{constructor(e){var t;super(),t=this,this.setValue=function(e,n){void 0===n&&(n=!0),t.value=e,n&&t.flush()},this.getValue=()=>this.value,this.updateStyles=()=>ee(this,this.animatedStyles),this.updateValue=e=>this.flush(this.value=e),this.interpolate=(e,t)=>new Q(this,e,t),this.value=e,this.animatedStyles=new Set,this.done=!1,this.startPosition=e,this.lastPosition=e,this.lastVelocity=void 0,this.lastTime=void 0,this.controller=void 0}flush(){0===this.animatedStyles.size&&this.updateStyles(),this.animatedStyles.forEach((e=>e.update()))}prepare(e){void 0===this.controller&&(this.controller=e),this.controller===e&&(this.startPosition=this.value,this.lastPosition=this.value,this.lastVelocity=e.isActive?this.lastVelocity:void 0,this.lastTime=e.isActive?this.lastTime:void 0,this.done=!1,this.animatedStyles.clear())}}class ne extends j{constructor(e){var t;super(),t=this,this.setValue=function(e,n){void 0===n&&(n=!0),Array.isArray(e)?e.length===t.payload.length&&e.forEach(((e,r)=>t.payload[r].setValue(e,n))):t.payload.forEach(((r,o)=>t.payload[o].setValue(e,n)))},this.getValue=()=>this.payload.map((e=>e.getValue())),this.interpolate=(e,t)=>new Q(this,e,t),this.payload=e.map((e=>new te(e)))}}function re(e,t){return null==e?t:e}function oe(e){return void 0!==e?Array.isArray(e)?e:[e]:[]}function ie(e,t){if(typeof e!=typeof t)return!1;if("string"==typeof e||"number"==typeof e)return e===t;let n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return void 0!==n||e===t}function ae(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e(...n):e}function le(e){return Object.keys(e).map((t=>e[t]))}function ce(e){const t=function(e){return e.to,e.from,e.config,e.native,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.impl,e.inject,e.delay,e.attach,e.destroyed,e.interpolateTo,e.autoStart,e.ref,o(e,["to","from","config","native","onStart","onRest","onFrame","children","reset","reverse","force","immediate","impl","inject","delay","attach","destroyed","interpolateTo","autoStart","ref"])}(e),n=Object.keys(e).reduce(((n,r)=>void 0!==t[r]?n:i({},n,{[r]:e[r]})),{});return i({to:t},n)}function se(e,t){let n=t[0],r=t[1];return i({},e,{[n]:new(Array.isArray(r)?ne:te)(r)})}function ue(e){const t=e.from,n=e.to,r=e.native,o=Object.entries(i({},t,n));return r?o.reduce(se,{}):i({},t,n)}function pe(e,t){return t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e}const de=e=>"auto"===e;let fe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const me=["Webkit","Ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}fe=Object.keys(fe).reduce(((e,t)=>(me.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),fe);const he={};_((e=>new x(e))),O("div"),w((function(e){const t=e.output.map((e=>e.replace(X,K))).map((e=>e.replace(J,K))),n=t[0].match(Y).map((()=>[]));t.forEach((e=>{e.match(Y).forEach(((e,t)=>n[t].push(+e)))}));const r=t[0].match(Y).map(((t,r)=>D.create(i({},e,{output:n[r]}))));return e=>{let n=0;return t[0].replace(Y,(()=>r[n++](e))).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,((e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`))}})),v(I),y((function(e,t){const n=e.from,r=e.to,o=e.children;if(!le(r).some(de)&&!le(n).some(de))return;let c=o(ue(e));if(!c)return;Array.isArray(c)&&(c={type:"div",props:{children:c}});const s=c.props.style;return a.createElement(c.type,i({key:c.key?c.key:void 0},c.props,{style:i({},s,{position:"absolute",visibility:"hidden"}),ref:o=>{if(o){let a,c,s=l.findDOMNode(o),u=getComputedStyle(s);if("border-box"===u.boxSizing)a=s.offsetWidth,c=s.offsetHeight;else{const e=parseFloat(u.paddingLeft||0)+parseFloat(u.paddingRight||0),t=parseFloat(u.paddingTop||0)+parseFloat(u.paddingBottom||0),n=parseFloat(u.borderLeftWidth||0)+parseFloat(u.borderRightWidth||0),r=parseFloat(u.borderTopWidth||0)+parseFloat(u.borderBottomWidth||0);a=s.offsetWidth-e-n,c=s.offsetHeight-t-r}const p=((e,t)=>(n,r)=>{let o=r[0],a=r[1];return i({},n,{[o]:"auto"===a?~o.indexOf("height")?t:e:a})})(a,c);t(i({},e,{from:Object.entries(n).reduce(p,n),to:Object.entries(r).reduce(p,r)}))}}}))})),b(((e,t)=>{if(!e.nodeType||void 0===e.setAttribute)return!1;{const i=t.style,a=t.children,l=t.scrollTop,c=t.scrollLeft,s=o(t,["style","children","scrollTop","scrollLeft"]);void 0!==l&&(e.scrollTop=l),void 0!==c&&(e.scrollLeft=c),void 0!==a&&(e.textContent=a);for(let t in i)if(i.hasOwnProperty(t)){var n=0===t.indexOf("--"),r=ge(t,i[t],n);"float"===t&&(t="cssFloat"),n?e.style.setProperty(t,r):e.style[t]=r}for(let t in s){const n=he[t]||(he[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())));void 0!==e.getAttribute(n)&&e.setAttribute(n,s[t])}}}),(e=>e));let be=!1;const ve=new Set,ye=()=>{let e=h();for(let t of ve){let n=!0,r=!0;for(let o=0;o<t.configs.length;o++){let i,a,l=t.configs[o];for(let o=0;o<l.animatedValues.length;o++){let c=l.animatedValues[o];if(c.done)continue;let s=l.fromValues[o],u=l.toValues[o],p=c.lastPosition,d=u instanceof P,f=Array.isArray(l.initialVelocity)?l.initialVelocity[o]:l.initialVelocity;if(d&&(u=u.getValue()),l.immediate||!d&&!l.decay&&s===u)c.updateValue(u),c.done=!0;else if(l.delay&&e-t.startTime<l.delay)n=!1;else if(r=!1,"string"!=typeof s&&"string"!=typeof u){if(void 0!==l.duration)p=s+l.easing((e-t.startTime-l.delay)/l.duration)*(u-s),i=e>=t.startTime+l.delay+l.duration;else if(l.decay)p=s+f/(1-.998)*(1-Math.exp(-(1-.998)*(e-t.startTime))),i=Math.abs(c.lastPosition-p)<.1,i&&(u=p);else{a=void 0!==c.lastTime?c.lastTime:e,f=void 0!==c.lastVelocity?c.lastVelocity:l.initialVelocity,e>a+64&&(a=e);let t=Math.floor(e-a);for(let e=0;e<t;++e){f+=1*((-l.tension*(p-u)+-l.friction*f)/l.mass)/1e3,p+=1*f/1e3}let n=!(!l.clamp||0===l.tension)&&(s<u?p>u:p<u),r=Math.abs(f)<=l.precision,o=0===l.tension||Math.abs(u-p)<=l.precision;i=n||r&&o,c.lastVelocity=f,c.lastTime=e}d&&!l.toValues[o].done&&(i=!1),i?(c.value!==u&&(p=u),c.done=!0):n=!1,c.updateValue(p),c.lastPosition=p}else c.updateValue(u),c.done=!0}!t.props.onFrame&&t.props.native||(t.animatedProps[l.name]=l.interpolation.getValue())}!t.props.onFrame&&t.props.native||(!t.props.native&&t.onUpdate&&t.onUpdate(),t.props.onFrame&&t.props.onFrame(t.animatedProps)),n&&(ve.delete(t),t.debouncedOnEnd({finished:!0,noChange:r}))}ve.size?m(ye):be=!1},we=e=>{ve.has(e)&&ve.delete(e)};class Oe{constructor(e,t){void 0===t&&(t={native:!0,interpolateTo:!0,autoStart:!0}),this.getValues=()=>this.props.native?this.interpolations:this.animatedProps,this.dependents=new Set,this.isActive=!1,this.hasChanged=!1,this.props={},this.merged={},this.animations={},this.interpolations={},this.animatedProps={},this.configs=[],this.frame=void 0,this.startTime=void 0,this.lastTime=void 0,this.update(i({},e,t))}update(e){this.props=i({},this.props,e);let t=this.props.interpolateTo?ce(this.props):this.props,n=t.from,r=void 0===n?{}:n,o=t.to,a=void 0===o?{}:o,l=t.config,c=void 0===l?{}:l,s=t.delay,u=void 0===s?0:s,p=t.reverse,d=t.attach,m=t.reset,g=t.immediate,h=t.autoStart,b=t.ref;if(p){var v=[a,r];r=v[0],a=v[1]}this.hasChanged=!1;let y=d&&d(this),w=m?{}:this.merged;if(this.merged=i({},r,w,a),this.animations=Object.entries(this.merged).reduce(((e,t,n)=>{let o=t[0],a=t[1],l=!m&&e[o]||{};const s="number"==typeof a,p="string"==typeof a&&!a.startsWith("#")&&!/\d/.test(a)&&!f[a],d=!s&&!p&&Array.isArray(a);let h=void 0!==r[o]?r[o]:a,b=s||d||p?a:1,v=ae(c,o);if(y&&(b=y.animations[o].parent),void 0===v.decay&&ie(l.changes,a))return e;{let t,n;if(this.hasChanged=!0,s||p)t=n=l.parent||new te(h);else if(d)t=n=l.parent||new ne(h);else{const e=l.interpolation&&l.interpolation.calc(l.parent.value);l.parent?(t=l.parent,t.setValue(0,!1)):t=new te(0);const r={output:[void 0!==e?e:h,a]};l.interpolation?(n=l.interpolation,l.interpolation.updateConfig(r)):n=t.interpolate(r)}ae(g,o)&&t.setValue(a,!1);const r=oe(t.getPayload());return r.forEach((e=>e.prepare(this))),i({},e,{[o]:i({},l,{name:o,parent:t,interpolation:n,animatedValues:r,changes:a,fromValues:oe(t.getValue()),toValues:oe(y?b.getPayload():b),immediate:ae(g,o),delay:re(v.delay,u||0),initialVelocity:re(v.velocity,0),clamp:re(v.clamp,!1),precision:re(v.precision,.01),tension:re(v.tension,170),friction:re(v.friction,26),mass:re(v.mass,1),duration:v.duration,easing:re(v.easing,(e=>e)),decay:v.decay})})}}),this.animations),this.hasChanged){this.configs=le(this.animations),this.animatedProps={},this.interpolations={};for(let e in this.animations)this.interpolations[e]=this.animations[e].interpolation,this.animatedProps[e]=this.animations[e].interpolation.getValue()}for(var O=arguments.length,_=new Array(O>1?O-1:0),E=1;E<O;E++)_[E-1]=arguments[E];b||!h&&!_.length||this.start(..._);const P=_[0],C=_[1];return this.onEnd="function"==typeof P&&P,this.onUpdate=C,this.getValues()}start(e,t){var n;return this.startTime=h(),this.isActive&&this.stop(),this.isActive=!0,this.onEnd="function"==typeof e&&e,this.onUpdate=t,this.props.onStart&&this.props.onStart(),n=this,ve.has(n)||(ve.add(n),be||m(ye),be=!0),new Promise((e=>this.resolve=e))}stop(e){void 0===e&&(e=!1),e&&le(this.animations).forEach((e=>e.changes=void 0)),this.debouncedOnEnd({finished:e})}destroy(){we(this),this.props={},this.merged={},this.animations={},this.interpolations={},this.animatedProps={},this.configs=[]}debouncedOnEnd(e){we(this),this.isActive=!1;const t=this.onEnd;this.onEnd=null,t&&t(e),this.resolve&&this.resolve(),this.resolve=null}}class _e extends S{constructor(e,t){super(),e.style&&(e=i({},e,{style:d(e.style)})),this.payload=e,this.update=t,this.attach()}}function Ee(e){class t extends a.Component{constructor(e){super(),this.callback=()=>{if(this.node){!1===s.fn(this.node,this.propsAnimated.getAnimatedValue(),this)&&this.forceUpdate()}},this.attachProps(e)}componentWillUnmount(){this.propsAnimated&&this.propsAnimated.detach()}setNativeProps(e){!1===s.fn(this.node,e,this)&&this.forceUpdate()}attachProps(e){e.forwardRef;let t=o(e,["forwardRef"]);const n=this.propsAnimated;this.propsAnimated=new _e(t,this.callback),n&&n.detach()}shouldComponentUpdate(e){const t=e.style,n=o(e,["style"]),r=this.props,i=r.style;return(!ie(o(r,["style"]),n)||!ie(i,t))&&(this.attachProps(e),!0)}render(){const t=this.propsAnimated.getValue(),n=(t.scrollTop,t.scrollLeft,o(t,["scrollTop","scrollLeft"]));return a.createElement(e,i({},n,{ref:e=>this.node=pe(e,this.props.forwardRef)}))}}return a.forwardRef(((e,n)=>a.createElement(t,i({},e,{forwardRef:n}))))}const Pe={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}};class Ce extends a.Component{constructor(){super(...arguments),this.state={lastProps:{from:{},to:{}},propsChanged:!1,internal:!1},this.controller=new Oe(null,null),this.didUpdate=!1,this.didInject=!1,this.finished=!0,this.start=()=>{this.finished=!1;let e=this.mounted;this.controller.start((t=>this.finish(i({},t,{wasMounted:e}))),this.update)},this.stop=()=>this.controller.stop(!0),this.update=()=>this.mounted&&this.setState({internal:!0}),this.finish=e=>{let t=e.finished,n=e.noChange,r=e.wasMounted;this.finished=!0,this.mounted&&t&&(!this.props.onRest||!r&&n||this.props.onRest(this.controller.merged),this.mounted&&this.didInject&&(this.afterInject=ue(this.props),this.setState({internal:!0})),this.mounted&&(this.didInject||this.props.after)&&this.setState({internal:!0}),this.didInject=!1)}}componentDidMount(){this.componentDidUpdate(),this.mounted=!0}componentWillUnmount(){this.mounted=!1,this.stop()}static getDerivedStateFromProps(e,t){let n=t.internal,r=t.lastProps;const o=e.from,i=e.to,a=e.reset,l=e.force;return{propsChanged:!ie(i,r.to)||!ie(o,r.from)||a&&!n||l&&!n,lastProps:e,internal:!1}}render(){const e=this.props.children,t=this.state.propsChanged;if(this.props.inject&&t&&!this.injectProps){const e=this.props.inject(this.props,(e=>{this.injectProps=e,this.setState({internal:!0})}));if(e)return e}(this.injectProps||t)&&(this.didInject=!1,this.injectProps?(this.controller.update(this.injectProps),this.didInject=!0):t&&this.controller.update(this.props),this.didUpdate=!0,this.afterInject=void 0,this.injectProps=void 0);let n=i({},this.controller.getValues(),this.afterInject);return this.finished&&(n=i({},n,this.props.after)),Object.keys(n).length?e(n):null}componentDidUpdate(){this.didUpdate&&this.start(),this.didUpdate=!1}}Ce.defaultProps={from:{},to:{},config:Pe.default,native:!1,immediate:!1,reset:!1,force:!1,inject:c};class ke extends a.PureComponent{constructor(){super(...arguments),this.first=!0,this.instances=new Set,this.hook=(e,t,n,r)=>(this.instances.add(e),(r?t===n-1:0===t)?void 0:Array.from(this.instances)[r?t+1:t-1])}render(){const e=this.props,t=e.items,n=e.children,r=e.from,l=void 0===r?{}:r,c=e.initial,s=e.reverse,u=e.keys,p=e.delay,d=e.onRest,f=o(e,["items","children","from","initial","reverse","keys","delay","onRest"]),m=oe(t);return oe(m).map(((e,t)=>a.createElement(Ce,i({onRest:0===t?d:null,key:"function"==typeof u?u(e):oe(u)[t],from:this.first&&void 0!==c?c||{}:l},f,{delay:0===t&&p||void 0,attach:e=>this.hook(e,t,m.length,s),children:r=>{const o=n(e,t);return o?o(r):null}}))))}componentDidUpdate(e){this.first=!1,e.items!==this.props.items&&this.instances.clear()}}ke.defaultProps={keys:e=>e};const je="__default";class Se extends a.PureComponent{constructor(){var e;super(...arguments),e=this,this.guid=0,this.state={props:{},resolve:()=>null,last:!0,index:0},this.next=function(t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=0),e.running=!0,new Promise((o=>{e.mounted&&e.setState((e=>({props:t,resolve:o,last:n,index:r})),(()=>e.running=!1))}))}}componentDidMount(){this.mounted=!0,this.componentDidUpdate({})}componentWillUnmount(){this.mounted=!1}componentDidUpdate(e){var t=this;const n=this.props,r=n.states,o=n.filter,i=n.state;if((e.state!==this.props.state||this.props.reset&&!this.running||!ie(r[i],e.states[e.state]))&&r&&i&&r[i]){const e=++this.guid,n=r[i];if(n)if(Array.isArray(n)){let t=Promise.resolve();for(let r=0;r<n.length;r++){let i=r,a=n[i],l=i===n.length-1;t=t.then((()=>e===this.guid&&this.next(o(a),l,i)))}}else if("function"==typeof n){let r=0;n((function(n,i){return void 0===i&&(i=!1),e===t.guid&&t.next(o(n),i,r++)}),(()=>m((()=>this.instance&&this.instance.stop()))),this.props)}else this.next(o(r[i]))}}render(){const e=this.state,t=e.props,n=e.resolve,r=e.last,l=e.index;if(!t||0===Object.keys(t).length)return null;let c=this.props,s=(c.state,c.filter,c.states,c.config),u=c.primitive,p=c.onRest,d=c.forwardRef,f=o(c,["state","filter","states","config","primitive","onRest","forwardRef"]);return Array.isArray(s)&&(s=s[l]),a.createElement(u,i({ref:e=>this.instance=pe(e,d),config:s},f,t,{onRest:e=>{n(e),p&&r&&p(e)}}))}}Se.defaultProps={state:je};const xe=a.forwardRef(((e,t)=>a.createElement(Se,i({},e,{forwardRef:t}))));xe.create=e=>function(t,n){return void 0===n&&(n=e=>e),("function"==typeof t||Array.isArray(t))&&(t={[je]:t}),r=>a.createElement(Se,i({primitive:e,states:t,filter:n},r))},xe.Spring=e=>xe.create(Ce)(e,ce),xe.Trail=e=>xe.create(ke)(e,ce);let Ie=0,De=e=>{let t=e.items,n=e.keys,r=o(e,["items","keys"]);return t=oe(void 0!==t?t:null),n="function"==typeof n?t.map(n):oe(n),i({items:t,keys:n.map((e=>String(e)))},r)};class Ne extends a.PureComponent{componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}constructor(e){super(e),this.destroyItem=(e,t,n)=>r=>{const o=this.props,i=o.onRest,a=o.onDestroyed;this.mounted&&(a&&a(e),this.setState((e=>({deleted:e.deleted.filter((e=>e.key!==t))}))),i&&i(e,n,r))},this.state={first:!0,transitions:[],current:{},deleted:[],prevProps:e}}static getDerivedStateFromProps(e,t){let n=t.first,r=t.prevProps,a=o(t,["first","prevProps"]),l=De(e),c=l.items,s=l.keys,u=l.initial,p=l.from,d=l.enter,f=l.leave,m=l.update,g=l.trail,h=void 0===g?0:g,b=l.unique,v=l.config,y=De(r),w=y.keys,O=y.items,_=i({},a.current),E=[...a.deleted],P=Object.keys(_),C=new Set(P),k=new Set(s),j=s.filter((e=>!C.has(e))),S=a.transitions.filter((e=>!e.destroyed&&!k.has(e.originalKey))).map((e=>e.originalKey)),x=s.filter((e=>C.has(e))),I=0;j.forEach((e=>{b&&E.find((t=>t.originalKey===e))&&(E=E.filter((t=>t.originalKey!==e)));const t=s.indexOf(e),r=c[t],o="enter";_[e]={state:o,originalKey:e,key:b?String(e):Ie++,item:r,trail:I+=h,config:ae(v,r,o),from:ae(n&&void 0!==u?u||{}:p,r),to:ae(d,r)}})),S.forEach((e=>{const t=w.indexOf(e),n=O[t],r="leave";E.push(i({},_[e],{state:r,destroyed:!0,left:w[Math.max(0,t-1)],right:w[Math.min(w.length,t+1)],trail:I+=h,config:ae(v,n,r),to:ae(f,n)})),delete _[e]})),x.forEach((e=>{const t=s.indexOf(e),n=c[t],r="update";_[e]=i({},_[e],{item:n,state:r,trail:I+=h,config:ae(v,n,r),to:ae(m,n)})}));let D=s.map((e=>_[e]));return E.forEach((e=>{let t,n=e.left,r=e.right,i=o(e,["left","right"]);-1!==(t=D.findIndex((e=>e.originalKey===n)))&&(t+=1),-1===t&&(t=D.findIndex((e=>e.originalKey===r))),-1===t&&(t=E.findIndex((e=>e.originalKey===n))),-1===t&&(t=E.findIndex((e=>e.originalKey===r))),t=Math.max(0,t),D=[...D.slice(0,t),i,...D.slice(t)]})),{first:n&&0===j.length,transitions:D,current:_,deleted:E,prevProps:e}}render(){const e=this.props,t=(e.initial,e.from,e.enter,e.leave,e.update,e.onDestroyed,e.keys,e.items,e.onFrame),n=e.onRest,r=e.onStart,l=(e.trail,e.config,e.children),c=(e.unique,e.reset),s=o(e,["initial","from","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","trail","config","children","unique","reset"]);return this.state.transitions.map(((e,o)=>{let u=e.state,p=e.key,d=e.item,f=e.from,m=e.to,g=e.trail,h=e.config,b=e.destroyed;return a.createElement(xe,i({reset:c&&"enter"===u,primitive:Ce,state:u,filter:ce,states:{[u]:m},key:p,onRest:b?this.destroyItem(d,p,u):n&&(e=>n(d,u,e)),onStart:r&&(()=>r(d,u)),onFrame:t&&(e=>t(d,u,e)),delay:g,config:h},s,{from:f,children:e=>{const t=l(d,u,o);return t?t(e):null}}))}))}}Ne.defaultProps={keys:e=>e,unique:!1,reset:!1};const Te=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].reduce(((e,t)=>(e[t]=Ee(t),e)),Ee);t.uT=Ne},3697:function(e,t,n){"use strict";var r=n(5972).functionsHaveConfigurableNames(),o=Object,i=TypeError;e.exports=function(){if(null!=this&&this!==o(this))throw new i("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e},r&&Object.defineProperty&&Object.defineProperty(e.exports,"name",{value:"get flags"})},2847:function(e,t,n){"use strict";var r=n(4289),o=n(5559),i=n(3697),a=n(1721),l=n(2753),c=o(a());r(c,{getPolyfill:a,implementation:i,shim:l}),e.exports=c},1721:function(e,t,n){"use strict";var r=n(3697),o=n(4289).supportsDescriptors,i=Object.getOwnPropertyDescriptor;e.exports=function(){if(o&&"gim"===/a/gim.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var t="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(n,"sticky",{get:function(){t+="y"}}),"dy"===t)return e.get}}return r}},2753:function(e,t,n){"use strict";var r=n(4289).supportsDescriptors,o=n(1721),i=Object.getOwnPropertyDescriptor,a=Object.defineProperty,l=TypeError,c=Object.getPrototypeOf,s=/a/;e.exports=function(){if(!r||!c)throw new l("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),t=c(s),n=i(t,"flags");return n&&n.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},6826:function(e){var t={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Ấ":"A","Ắ":"A","Ẳ":"A","Ẵ":"A","Ặ":"A","Æ":"AE","Ầ":"A","Ằ":"A","Ȃ":"A","Ả":"A","Ạ":"A","Ẩ":"A","Ẫ":"A","Ậ":"A","Ç":"C","Ḉ":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ế":"E","Ḗ":"E","Ề":"E","Ḕ":"E","Ḝ":"E","Ȇ":"E","Ẻ":"E","Ẽ":"E","Ẹ":"E","Ể":"E","Ễ":"E","Ệ":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ḯ":"I","Ȋ":"I","Ỉ":"I","Ị":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ố":"O","Ṍ":"O","Ṓ":"O","Ȏ":"O","Ỏ":"O","Ọ":"O","Ổ":"O","Ỗ":"O","Ộ":"O","Ờ":"O","Ở":"O","Ỡ":"O","Ớ":"O","Ợ":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ủ":"U","Ụ":"U","Ử":"U","Ữ":"U","Ự":"U","Ý":"Y","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","ấ":"a","ắ":"a","ẳ":"a","ẵ":"a","ặ":"a","æ":"ae","ầ":"a","ằ":"a","ȃ":"a","ả":"a","ạ":"a","ẩ":"a","ẫ":"a","ậ":"a","ç":"c","ḉ":"c","è":"e","é":"e","ê":"e","ë":"e","ế":"e","ḗ":"e","ề":"e","ḕ":"e","ḝ":"e","ȇ":"e","ẻ":"e","ẽ":"e","ẹ":"e","ể":"e","ễ":"e","ệ":"e","ì":"i","í":"i","î":"i","ï":"i","ḯ":"i","ȋ":"i","ỉ":"i","ị":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ố":"o","ṍ":"o","ṓ":"o","ȏ":"o","ỏ":"o","ọ":"o","ổ":"o","ỗ":"o","ộ":"o","ờ":"o","ở":"o","ỡ":"o","ớ":"o","ợ":"o","ù":"u","ú":"u","û":"u","ü":"u","ủ":"u","ụ":"u","ử":"u","ữ":"u","ự":"u","ý":"y","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Ĉ":"C","ĉ":"c","Ċ":"C","ċ":"c","Č":"C","č":"c","C̆":"C","c̆":"c","Ď":"D","ď":"d","Đ":"D","đ":"d","Ē":"E","ē":"e","Ĕ":"E","ĕ":"e","Ė":"E","ė":"e","Ę":"E","ę":"e","Ě":"E","ě":"e","Ĝ":"G","Ǵ":"G","ĝ":"g","ǵ":"g","Ğ":"G","ğ":"g","Ġ":"G","ġ":"g","Ģ":"G","ģ":"g","Ĥ":"H","ĥ":"h","Ħ":"H","ħ":"h","Ḫ":"H","ḫ":"h","Ĩ":"I","ĩ":"i","Ī":"I","ī":"i","Ĭ":"I","ĭ":"i","Į":"I","į":"i","İ":"I","ı":"i","IJ":"IJ","ij":"ij","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","Ḱ":"K","ḱ":"k","K̆":"K","k̆":"k","Ĺ":"L","ĺ":"l","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ŀ":"L","ŀ":"l","Ł":"l","ł":"l","Ḿ":"M","ḿ":"m","M̆":"M","m̆":"m","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","ʼn":"n","N̆":"N","n̆":"n","Ō":"O","ō":"o","Ŏ":"O","ŏ":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","P̆":"P","p̆":"p","Ŕ":"R","ŕ":"r","Ŗ":"R","ŗ":"r","Ř":"R","ř":"r","R̆":"R","r̆":"r","Ȓ":"R","ȓ":"r","Ś":"S","ś":"s","Ŝ":"S","ŝ":"s","Ş":"S","Ș":"S","ș":"s","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","ț":"t","Ț":"T","Ť":"T","ť":"t","Ŧ":"T","ŧ":"t","T̆":"T","t̆":"t","Ũ":"U","ũ":"u","Ū":"U","ū":"u","Ŭ":"U","ŭ":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ȗ":"U","ȗ":"u","V̆":"V","v̆":"v","Ŵ":"W","ŵ":"w","Ẃ":"W","ẃ":"w","X̆":"X","x̆":"x","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Y̆":"Y","y̆":"y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ſ":"s","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Ǎ":"A","ǎ":"a","Ǐ":"I","ǐ":"i","Ǒ":"O","ǒ":"o","Ǔ":"U","ǔ":"u","Ǖ":"U","ǖ":"u","Ǘ":"U","ǘ":"u","Ǚ":"U","ǚ":"u","Ǜ":"U","ǜ":"u","Ứ":"U","ứ":"u","Ṹ":"U","ṹ":"u","Ǻ":"A","ǻ":"a","Ǽ":"AE","ǽ":"ae","Ǿ":"O","ǿ":"o","Þ":"TH","þ":"th","Ṕ":"P","ṕ":"p","Ṥ":"S","ṥ":"s","X́":"X","x́":"x","Ѓ":"Г","ѓ":"г","Ќ":"К","ќ":"к","A̋":"A","a̋":"a","E̋":"E","e̋":"e","I̋":"I","i̋":"i","Ǹ":"N","ǹ":"n","Ồ":"O","ồ":"o","Ṑ":"O","ṑ":"o","Ừ":"U","ừ":"u","Ẁ":"W","ẁ":"w","Ỳ":"Y","ỳ":"y","Ȁ":"A","ȁ":"a","Ȅ":"E","ȅ":"e","Ȉ":"I","ȉ":"i","Ȍ":"O","ȍ":"o","Ȑ":"R","ȑ":"r","Ȕ":"U","ȕ":"u","B̌":"B","b̌":"b","Č̣":"C","č̣":"c","Ê̌":"E","ê̌":"e","F̌":"F","f̌":"f","Ǧ":"G","ǧ":"g","Ȟ":"H","ȟ":"h","J̌":"J","ǰ":"j","Ǩ":"K","ǩ":"k","M̌":"M","m̌":"m","P̌":"P","p̌":"p","Q̌":"Q","q̌":"q","Ř̩":"R","ř̩":"r","Ṧ":"S","ṧ":"s","V̌":"V","v̌":"v","W̌":"W","w̌":"w","X̌":"X","x̌":"x","Y̌":"Y","y̌":"y","A̧":"A","a̧":"a","B̧":"B","b̧":"b","Ḑ":"D","ḑ":"d","Ȩ":"E","ȩ":"e","Ɛ̧":"E","ɛ̧":"e","Ḩ":"H","ḩ":"h","I̧":"I","i̧":"i","Ɨ̧":"I","ɨ̧":"i","M̧":"M","m̧":"m","O̧":"O","o̧":"o","Q̧":"Q","q̧":"q","U̧":"U","u̧":"u","X̧":"X","x̧":"x","Z̧":"Z","z̧":"z","й":"и","Й":"И","ё":"е","Ё":"Е"},n=Object.keys(t).join("|"),r=new RegExp(n,"g"),o=new RegExp(n,"");function i(e){return t[e]}var a=function(e){return e.replace(r,i)};e.exports=a,e.exports.has=function(e){return!!e.match(o)},e.exports.remove=a},6399:function(e){e.exports=function(e,t,n){return function(r){if(e[0]===e[1]||t[0]===t[1])return t[0];var o=(t[1]-t[0])/(e[1]-e[0]),i=t[0]+o*(r-e[0]);return n?Math.min(t[1],Math.max(t[0],i)):i}}},8975:function(e,t,n){var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(e){return function(e,t){var n,r,a,l,c,s,u,p,d,f=1,m=e.length,g="";for(r=0;r<m;r++)if("string"==typeof e[r])g+=e[r];else if("object"==typeof e[r]){if((l=e[r]).keys)for(n=t[f],a=0;a<l.keys.length;a++){if(null==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',l.keys[a],l.keys[a-1]));n=n[l.keys[a]]}else n=l.param_no?t[l.param_no]:t[f++];if(o.not_type.test(l.type)&&o.not_primitive.test(l.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(l.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(o.number.test(l.type)&&(p=n>=0),l.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,l.width?parseInt(l.width):0);break;case"e":n=l.precision?parseFloat(n).toExponential(l.precision):parseFloat(n).toExponential();break;case"f":n=l.precision?parseFloat(n).toFixed(l.precision):parseFloat(n);break;case"g":n=l.precision?String(Number(n.toPrecision(l.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=l.precision?n.substring(0,l.precision):n;break;case"t":n=String(!!n),n=l.precision?n.substring(0,l.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=l.precision?n.substring(0,l.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=l.precision?n.substring(0,l.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(l.type)?g+=n:(!o.number.test(l.type)||p&&!l.sign?d="":(d=p?"+":"-",n=n.toString().replace(o.sign,"")),s=l.pad_char?"0"===l.pad_char?"0":l.pad_char.charAt(1):" ",u=l.width-(d+n).length,c=l.width&&u>0?s.repeat(u):"",g+=l.align?d+n+c:"0"===s?d+c+n:c+d+n)}return g}(function(e){if(l[e])return l[e];var t,n=e,r=[],i=0;for(;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var a=[],c=t[2],s=[];if(null===(s=o.key.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(s[1]);""!==(c=c.substring(s[0].length));)if(null!==(s=o.key_access.exec(c)))a.push(s[1]);else{if(null===(s=o.index_access.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(s[1])}t[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return l[e]=r}(e),arguments)}function a(e,t){return i.apply(null,[e].concat(t||[]))}var l=Object.create(null);i,a,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=a,void 0===(r=function(){return{sprintf:i,vsprintf:a}}.call(t,n,t,e))||(e.exports=r))}()},4760:function(e){var t=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],n=t.join(","),r="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function o(e,t){t=t||{};var o,a,l,u=[],d=[],f=new p(e.ownerDocument||e),m=e.querySelectorAll(n);for(t.includeContainer&&r.call(e,n)&&(m=Array.prototype.slice.apply(m)).unshift(e),o=0;o<m.length;o++)i(a=m[o],f)&&(0===(l=c(a))?u.push(a):d.push({documentOrder:o,tabIndex:l,node:a}));return d.sort(s).map((function(e){return e.node})).concat(u)}function i(e,t){return!(!a(e,t)||function(e){return function(e){return u(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t=e.ownerDocument.querySelectorAll('input[type="radio"][name="'+e.name+'"]'),n=function(e){for(var t=0;t<e.length;t++)if(e[t].checked)return e[t]}(t);return!n||n===e}(e)}(e)||c(e)<0)}function a(e,t){return t=t||new p(e.ownerDocument||e),!(e.disabled||function(e){return u(e)&&"hidden"===e.type}(e)||t.isUntouchable(e))}o.isTabbable=function(e,t){if(!e)throw new Error("No node provided");return!1!==r.call(e,n)&&i(e,t)},o.isFocusable=function(e,t){if(!e)throw new Error("No node provided");return!1!==r.call(e,l)&&a(e,t)};var l=t.concat("iframe").join(",");function c(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function s(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function u(e){return"INPUT"===e.tagName}function p(e){this.doc=e,this.cache=[]}p.prototype.hasDisplayNone=function(e,t){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var n=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t(e[n]))return e[n]}(this.cache,(function(t){return t===e}));if(n)return n[1];var r=!1;return"none"===(t=t||this.doc.defaultView.getComputedStyle(e)).display?r=!0:e.parentNode&&(r=this.hasDisplayNone(e.parentNode)),this.cache.push([e,r]),r},p.prototype.isUntouchable=function(e){if(e===this.doc.documentElement)return!1;var t=this.doc.defaultView.getComputedStyle(e);return!!this.hasDisplayNone(e,t)||"hidden"===t.visibility},e.exports=o},1742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},5933:function(e,t,n){var r;!function(){function o(e,t,n){return e.call.apply(e.bind,arguments)}function i(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function a(e,t,n){return(a=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?o:i).apply(null,arguments)}var l=Date.now||function(){return+new Date};function c(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var s=!!window.FontFace;function u(e,t,n,r){if(t=e.c.createElement(t),n)for(var o in n)n.hasOwnProperty(o)&&("style"==o?t.style.cssText=n[o]:t.setAttribute(o,n[o]));return r&&t.appendChild(e.c.createTextNode(r)),t}function p(e,t,n){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(n,e.lastChild)}function d(e){e.parentNode&&e.parentNode.removeChild(e)}function f(e,t,n){t=t||[],n=n||[];for(var r=e.className.split(/\s+/),o=0;o<t.length;o+=1){for(var i=!1,a=0;a<r.length;a+=1)if(t[o]===r[a]){i=!0;break}i||r.push(t[o])}for(t=[],o=0;o<r.length;o+=1){for(i=!1,a=0;a<n.length;a+=1)if(r[o]===n[a]){i=!0;break}i||t.push(r[o])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function m(e,t){for(var n=e.className.split(/\s+/),r=0,o=n.length;r<o;r++)if(n[r]==t)return!0;return!1}function g(e,t,n){function r(){l&&o&&i&&(l(a),l=null)}t=u(e,"link",{rel:"stylesheet",href:t,media:"all"});var o=!1,i=!0,a=null,l=n||null;s?(t.onload=function(){o=!0,r()},t.onerror=function(){o=!0,a=Error("Stylesheet failed to load"),r()}):setTimeout((function(){o=!0,r()}),0),p(e,"head",t)}function h(e,t,n,r){var o=e.c.getElementsByTagName("head")[0];if(o){var i=u(e,"script",{src:t}),a=!1;return i.onload=i.onreadystatechange=function(){a||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(a=!0,n&&n(null),i.onload=i.onreadystatechange=null,"HEAD"==i.parentNode.tagName&&o.removeChild(i))},o.appendChild(i),setTimeout((function(){a||(a=!0,n&&n(Error("Script load timeout")))}),r||5e3),i}return null}function b(){this.a=0,this.c=null}function v(e){return e.a++,function(){e.a--,w(e)}}function y(e,t){e.c=t,w(e)}function w(e){0==e.a&&e.c&&(e.c(),e.c=null)}function O(e){this.a=e||"-"}function _(e,t){this.c=e,this.f=4,this.a="n";var n=(t||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function E(e){var t=[];e=e.split(/,\s*/);for(var n=0;n<e.length;n++){var r=e[n].replace(/['"]/g,"");-1!=r.indexOf(" ")||/^\d/.test(r)?t.push("'"+r+"'"):t.push(r)}return t.join(",")}function P(e){return e.a+e.f}function C(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function k(e){var t=4,n="n",r=null;return e&&((r=e.match(/(normal|oblique|italic)/i))&&r[1]&&(n=r[1].substr(0,1).toLowerCase()),(r=e.match(/([1-9]00|normal|bold)/i))&&r[1]&&(/bold/i.test(r[1])?t=7:/[1-9]00/.test(r[1])&&(t=parseInt(r[1].substr(0,1),10)))),n+t}function j(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new O("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function S(e){if(e.g){var t=m(e.f,e.a.c("wf","active")),n=[],r=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),f(e.f,n,r)}x(e,"inactive")}function x(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,P(n)):e.h[t]())}function I(){this.c={}}function D(e,t){this.c=e,this.f=t,this.a=u(this.c,"span",{"aria-hidden":"true"},this.f)}function N(e){p(e.c,"body",e.a)}function T(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+E(e.c)+";font-style:"+C(e)+";font-weight:"+e.f+"00;"}function A(e,t,n,r,o,i){this.g=e,this.j=t,this.a=r,this.c=n,this.f=o||3e3,this.h=i||void 0}function R(e,t,n,r,o,i,a){this.v=e,this.B=t,this.c=n,this.a=r,this.s=a||"BESbswy",this.f={},this.w=o||3e3,this.u=i||null,this.m=this.j=this.h=this.g=null,this.g=new D(this.c,this.s),this.h=new D(this.c,this.s),this.j=new D(this.c,this.s),this.m=new D(this.c,this.s),e=T(e=new _(this.a.c+",serif",P(this.a))),this.g.a.style.cssText=e,e=T(e=new _(this.a.c+",sans-serif",P(this.a))),this.h.a.style.cssText=e,e=T(e=new _("serif",P(this.a))),this.j.a.style.cssText=e,e=T(e=new _("sans-serif",P(this.a))),this.m.a.style.cssText=e,N(this.g),N(this.h),N(this.j),N(this.m)}O.prototype.c=function(e){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},A.prototype.start=function(){var e=this.c.o.document,t=this,n=l(),r=new Promise((function(r,o){!function i(){l()-n>=t.f?o():e.fonts.load(function(e){return C(e)+" "+e.f+"00 300px "+E(e.c)}(t.a),t.h).then((function(e){1<=e.length?r():setTimeout(i,25)}),(function(){o()}))}()})),o=null,i=new Promise((function(e,n){o=setTimeout(n,t.f)}));Promise.race([i,r]).then((function(){o&&(clearTimeout(o),o=null),t.g(t.a)}),(function(){t.j(t.a)}))};var M={D:"serif",C:"sans-serif"},B=null;function F(){if(null===B){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);B=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return B}function L(e,t,n){for(var r in M)if(M.hasOwnProperty(r)&&t===e.f[M[r]]&&n===e.f[M[r]])return!0;return!1}function z(e){var t,n=e.g.a.offsetWidth,r=e.h.a.offsetWidth;(t=n===e.f.serif&&r===e.f["sans-serif"])||(t=F()&&L(e,n,r)),t?l()-e.A>=e.w?F()&&L(e,n,r)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?H(e,e.v):H(e,e.B):function(e){setTimeout(a((function(){z(this)}),e),50)}(e):H(e,e.v)}function H(e,t){setTimeout(a((function(){d(this.g.a),d(this.h.a),d(this.j.a),d(this.m.a),t(this.a)}),e),0)}function V(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}R.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=l(),z(this)};var U=null;function $(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&f(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),x(e,"active")):S(e.a))}function G(e){this.j=e,this.a=new I,this.h=0,this.f=this.g=!0}function W(e,t,n,r,o){var i=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=o||null,l=r||{};if(0===n.length&&i)S(t.a);else{t.f+=n.length,i&&(t.j=i);var c,s=[];for(c=0;c<n.length;c++){var u=n[c],p=l[u.c],d=t.a,m=u;if(d.g&&f(d.f,[d.a.c("wf",m.c,P(m).toString(),"loading")]),x(d,"fontloading",m),d=null,null===U)if(window.FontFace){m=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var g=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);U=m?42<parseInt(m[1],10):!g}else U=!1;d=U?new A(a(t.g,t),a(t.h,t),t.c,u,t.s,p):new R(a(t.g,t),a(t.h,t),t.c,u,t.s,e,p),s.push(d)}for(c=0;c<s.length;c++)s[c].start()}}),0)}function q(e,t){this.c=e,this.a=t}function Z(e,t){this.c=e,this.a=t}function K(e,t){this.c=e||Y,this.a=[],this.f=[],this.g=t||""}V.prototype.g=function(e){var t=this.a;t.g&&f(t.f,[t.a.c("wf",e.c,P(e).toString(),"active")],[t.a.c("wf",e.c,P(e).toString(),"loading"),t.a.c("wf",e.c,P(e).toString(),"inactive")]),x(t,"fontactive",e),this.m=!0,$(this)},V.prototype.h=function(e){var t=this.a;if(t.g){var n=m(t.f,t.a.c("wf",e.c,P(e).toString(),"active")),r=[],o=[t.a.c("wf",e.c,P(e).toString(),"loading")];n||r.push(t.a.c("wf",e.c,P(e).toString(),"inactive")),f(t.f,r,o)}x(t,"fontinactive",e),$(this)},G.prototype.load=function(e){this.c=new c(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,n){var r=[],o=n.timeout;!function(e){e.g&&f(e.f,[e.a.c("wf","loading")]),x(e,"loading")}(t);r=function(e,t,n){var r,o=[];for(r in t)if(t.hasOwnProperty(r)){var i=e.c[r];i&&o.push(i(t[r],n))}return o}(e.a,n,e.c);var i=new V(e.c,t,o);for(e.h=r.length,t=0,n=r.length;t<n;t++)r[t].load((function(t,n,r){W(e,i,t,n,r)}))}(this,new j(this.c,e),e)},q.prototype.load=function(e){function t(){if(i["__mti_fntLst"+r]){var n,o=i["__mti_fntLst"+r](),a=[];if(o)for(var l=0;l<o.length;l++){var c=o[l].fontfamily;null!=o[l].fontStyle&&null!=o[l].fontWeight?(n=o[l].fontStyle+o[l].fontWeight,a.push(new _(c,n))):a.push(new _(c))}e(a)}else setTimeout((function(){t()}),50)}var n=this,r=n.a.projectId,o=n.a.version;if(r){var i=n.c.o;h(this.c,(n.a.api||"https://fast.fonts.net/jsapi")+"/"+r+".js"+(o?"?v="+o:""),(function(o){o?e([]):(i["__MonotypeConfiguration__"+r]=function(){return n.a},t())})).id="__MonotypeAPIScript__"+r}else e([])},Z.prototype.load=function(e){var t,n,r=this.a.urls||[],o=this.a.families||[],i=this.a.testStrings||{},a=new b;for(t=0,n=r.length;t<n;t++)g(this.c,r[t],v(a));var l=[];for(t=0,n=o.length;t<n;t++)if((r=o[t].split(":"))[1])for(var c=r[1].split(","),s=0;s<c.length;s+=1)l.push(new _(r[0],c[s]));else l.push(new _(r[0]));y(a,(function(){e(l,i)}))};var Y="https://fonts.googleapis.com/css";function X(e){this.f=e,this.a=[],this.c={}}var J={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},Q={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},ee={i:"i",italic:"i",n:"n",normal:"n"},te=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function ne(e,t){this.c=e,this.a=t}var re={Arimo:!0,Cousine:!0,Tinos:!0};function oe(e,t){this.c=e,this.a=t}function ie(e,t){this.c=e,this.f=t,this.a=[]}ne.prototype.load=function(e){var t=new b,n=this.c,r=new K(this.a.api,this.a.text),o=this.a.families;!function(e,t){for(var n=t.length,r=0;r<n;r++){var o=t[r].split(":");3==o.length&&e.f.push(o.pop());var i="";2==o.length&&""!=o[1]&&(i=":"),e.a.push(o.join(i))}}(r,o);var i=new X(o);!function(e){for(var t=e.f.length,n=0;n<t;n++){var r=e.f[n].split(":"),o=r[0].replace(/\+/g," "),i=["n4"];if(2<=r.length){var a;if(a=[],l=r[1])for(var l,c=(l=l.split(",")).length,s=0;s<c;s++){var u;if((u=l[s]).match(/^[\w-]+$/))if(null==(p=te.exec(u.toLowerCase())))u="";else{if(u=null==(u=p[2])||""==u?"n":ee[u],null==(p=p[1])||""==p)p="4";else var p=Q[p]||(isNaN(p)?"4":p.substr(0,1));u=[u,p].join("")}else u="";u&&a.push(u)}0<a.length&&(i=a),3==r.length&&(a=[],0<(r=(r=r[2])?r.split(","):a).length&&(r=J[r[0]])&&(e.c[o]=r))}for(e.c[o]||(r=J[o])&&(e.c[o]=r),r=0;r<i.length;r+=1)e.a.push(new _(o,i[r]))}}(i),g(n,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,n=[],r=0;r<t;r++)n.push(e.a[r].replace(/ /g,"+"));return t=e.c+"?family="+n.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(r),v(t)),y(t,(function(){e(i.a,i.c,re)}))},oe.prototype.load=function(e){var t=this.a.id,n=this.c.o;t?h(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",(function(t){if(t)e([]);else if(n.Typekit&&n.Typekit.config&&n.Typekit.config.fn){t=n.Typekit.config.fn;for(var r=[],o=0;o<t.length;o+=2)for(var i=t[o],a=t[o+1],l=0;l<a.length;l++)r.push(new _(i,a[l]));try{n.Typekit.load({events:!1,classes:!1,async:!0})}catch(e){}e(r)}}),2e3):e([])},ie.prototype.load=function(e){var t=this.f.id,n=this.c.o,r=this;t?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[t]=function(t,n){for(var o=0,i=n.fonts.length;o<i;++o){var a=n.fonts[o];r.a.push(new _(a.name,k("font-weight:"+a.weight+";font-style:"+a.style)))}e(r.a)},h(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",(function(t){t&&e([])}))):e([])};var ae=new G(window);ae.a.c.custom=function(e,t){return new Z(t,e)},ae.a.c.fontdeck=function(e,t){return new ie(t,e)},ae.a.c.monotype=function(e,t){return new q(t,e)},ae.a.c.typekit=function(e,t){return new oe(t,e)},ae.a.c.google=function(e,t){return new ne(t,e)};var le={load:a(ae.load,ae)};void 0===(r=function(){return le}.call(t,n,t,e))||(e.exports=r)}()},7529:function(e){e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var o in r)t.call(r,o)&&(e[o]=r[o])}return e};var t=Object.prototype.hasOwnProperty},1764:function(e,t,n){var r={"./ct-addable-box.js":9231,"./ct-background.js":8219,"./ct-border.js":9847,"./ct-box-shadow.js":2076,"./ct-button.js":4056,"./ct-checkboxes.js":3817,"./ct-color-palettes-mirror.js":6701,"./ct-color-palettes-picker.js":9727,"./ct-color-picker.js":4910,"./ct-customize-section-title-actions.js":7910,"./ct-customizer-reset-options.js":7941,"./ct-divider.js":5457,"./ct-footer-builder.js":5186,"./ct-header-builder.js":1829,"./ct-image-picker.js":1650,"./ct-image-uploader.js":7402,"./ct-layers-combined.js":532,"./ct-layers-mirror.js":7525,"./ct-layers.js":543,"./ct-multi-image-uploader.js":7454,"./ct-notification.js":3570,"./ct-number.js":8153,"./ct-panel.js":9999,"./ct-radio.js":3781,"./ct-ratio.js":7812,"./ct-select.js":2425,"./ct-slider.js":254,"./ct-spacer.js":3480,"./ct-spacing.js":5954,"./ct-switch.js":7809,"./ct-title.js":9697,"./ct-typography.js":4034,"./ct-visibility.js":9109,"./ct-woocommerce-columns-and-rows.js":7475,"./ct-woocommerce-ratio.js":7762,"./date-time-picker.js":2159,"./hidden.js":2242,"./html.js":2616,"./jsx.js":5200,"./react-outside-click-handler.js":1511,"./text.js":4658,"./textarea.js":8670,"./wp-editor.js":227};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=1764},7363:function(e){"use strict";e.exports=React},1533:function(e){"use strict";e.exports=ReactDOM},2243:function(e){"use strict";e.exports=ctEvents},6715:function(e){"use strict";e.exports=window._},8441:function(e){"use strict";e.exports=window.wp.components},2476:function(e){"use strict";e.exports=window.wp.date},1381:function(e){"use strict";e.exports=window.wp.element},5224:function(e){"use strict";e.exports=window.wp.hooks},5652:function(e){"use strict";e.exports=window.wp.i18n},7326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9142);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},7462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.r(t),n.d(t,{default:function(){return r}})},4578:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9611);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},3366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.r(t),n.d(t,{default:function(){return r}})},9611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},9142:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1002);function o(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},1002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},2329:function(e,t,n){"use strict";n.d(t,{uT:function(){return wn},q:function(){return Ln}});var r=n(7363),o=Object.defineProperty,i={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(i,{assign:()=>F,colors:()=>R,createStringInterpolator:()=>D,skipAnimation:()=>M,to:()=>N,willAdvance:()=>B});var a=_(),l=e=>v(e,a),c=_();l.write=e=>v(e,c);var s=_();l.onStart=e=>v(e,s);var u=_();l.onFrame=e=>v(e,u);var p=_();l.onFinish=e=>v(e,p);var d=[];l.setTimeout=(e,t)=>{const n=l.now()+t,r=()=>{const e=d.findIndex((e=>e.cancel==r));~e&&d.splice(e,1),h-=~e?1:0},o={time:n,handler:e,cancel:r};return d.splice(f(n),0,o),h+=1,y(),o};var f=e=>~(~d.findIndex((t=>t.time>e))||~d.length);l.cancel=e=>{s.delete(e),u.delete(e),p.delete(e),a.delete(e),c.delete(e)},l.sync=e=>{b=!0,l.batchedUpdates(e),b=!1},l.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,l.onStart(n)}return r.handler=e,r.cancel=()=>{s.delete(n),t=null},r};var m="undefined"!=typeof window?window.requestAnimationFrame:()=>{};l.use=e=>m=e,l.now="undefined"!=typeof performance?()=>performance.now():Date.now,l.batchedUpdates=e=>e(),l.catch=console.error,l.frameLoop="always",l.advance=()=>{"demand"!==l.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):O()};var g=-1,h=0,b=!1;function v(e,t){b?(t.delete(e),e(0)):(t.add(e),y())}function y(){g<0&&(g=0,"demand"!==l.frameLoop&&m(w))}function w(){~g&&(m(w),l.batchedUpdates(O))}function O(){const e=g;g=l.now();const t=f(g);t&&(E(d.splice(0,t),(e=>e.handler())),h-=t),h?(s.flush(),a.flush(e?Math.min(64,g-e):16.667),u.flush(),c.flush(),p.flush()):g=-1}function _(){let e=new Set,t=e;return{add(n){h+=t!=e||e.has(n)?0:1,e.add(n)},delete(n){return h-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,h-=t.size,E(t,(t=>t(n)&&e.add(t))),h+=e.size,t=e)}}}function E(e,t){e.forEach((e=>{try{t(e)}catch(e){l.catch(e)}}))}function P(){}var C={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function k(e,t){if(C.arr(e)){if(!C.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var j=(e,t)=>e.forEach(t);function S(e,t,n){if(C.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var x=e=>C.und(e)?[]:C.arr(e)?e:[e];function I(e,t){if(e.size){const n=Array.from(e);e.clear(),j(n,t)}}var D,N,T=(e,...t)=>I(e,(e=>e(...t))),A=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),R=null,M=!1,B=P,F=e=>{e.to&&(N=e.to),e.now&&(l.now=e.now),void 0!==e.colors&&(R=e.colors),null!=e.skipAnimation&&(M=e.skipAnimation),e.createStringInterpolator&&(D=e.createStringInterpolator),e.requestAnimationFrame&&l.use(e.requestAnimationFrame),e.batchedUpdates&&(l.batchedUpdates=e.batchedUpdates),e.willAdvance&&(B=e.willAdvance),e.frameLoop&&(l.frameLoop=e.frameLoop)},L=new Set,z=[],H=[],V=0,U={get idle(){return!L.size&&!z.length},start(e){V>e.priority?(L.add(e),l.onStart($)):(G(e),l(q))},advance:q,sort(e){if(V)l.onFrame((()=>U.sort(e)));else{const t=z.indexOf(e);~t&&(z.splice(t,1),W(e))}},clear(){z=[],L.clear()}};function $(){L.forEach(G),L.clear(),l(q)}function G(e){z.includes(e)||W(e)}function W(e){z.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(z,(t=>t.priority>e.priority)),0,e)}function q(e){const t=H;for(let n=0;n<z.length;n++){const r=z[n];V=r.priority,r.idle||(B(r),r.advance(e),r.idle||t.push(r))}return V=0,(H=z).length=0,(z=t).length>0}var Z="[-+]?\\d*\\.?\\d+",K=Z+"%";function Y(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var X=new RegExp("rgb"+Y(Z,Z,Z)),J=new RegExp("rgba"+Y(Z,Z,Z,Z)),Q=new RegExp("hsl"+Y(Z,K,K)),ee=new RegExp("hsla"+Y(Z,K,K,Z)),te=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ne=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,re=/^#([0-9a-fA-F]{6})$/,oe=/^#([0-9a-fA-F]{8})$/;function ie(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ae(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=ie(o,r,e+1/3),a=ie(o,r,e),l=ie(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*l)<<8}function le(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function ce(e){return(parseFloat(e)%360+360)%360/360}function se(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ue(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function pe(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=re.exec(e))?parseInt(t[1]+"ff",16)>>>0:R&&void 0!==R[e]?R[e]:(t=X.exec(e))?(le(t[1])<<24|le(t[2])<<16|le(t[3])<<8|255)>>>0:(t=J.exec(e))?(le(t[1])<<24|le(t[2])<<16|le(t[3])<<8|se(t[4]))>>>0:(t=te.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=oe.exec(e))?parseInt(t[1],16)>>>0:(t=ne.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Q.exec(e))?(255|ae(ce(t[1]),ue(t[2]),ue(t[3])))>>>0:(t=ee.exec(e))?(ae(ce(t[1]),ue(t[2]),ue(t[3]))|se(t[4]))>>>0:null}(e);if(null===t)return e;t=t||0;return`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`}var de=(e,t,n)=>{if(C.fun(e))return e;if(C.arr(e))return de({range:e,output:t,extrapolate:n});if(C.str(e.output[0]))return D(e);const r=e,o=r.output,i=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",l=r.extrapolateRight||r.extrapolate||"extend",c=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,a,l,c){let s=c?c(e):e;if(s<t){if("identity"===a)return s;"clamp"===a&&(s=t)}if(s>n){if("identity"===l)return s;"clamp"===l&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=i(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,i[t],i[t+1],o[t],o[t+1],c,a,l,r.map)}};var fe=1.70158,me=1.525*fe,ge=fe+1,he=2*Math.PI/3,be=2*Math.PI/4.5,ve=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},ye={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>ge*e*e*e-fe*e*e,easeOutBack:e=>1+ge*Math.pow(e-1,3)+fe*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-me)/2:(Math.pow(2*e-2,2)*((me+1)*(2*e-2)+me)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*he),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*he)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*be)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*be)/2+1,easeInBounce:e=>1-ve(1-e),easeOutBounce:ve,easeInOutBounce:e=>e<.5?(1-ve(1-2*e))/2:(1+ve(2*e-1))/2,steps:(e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e,o="end"===t?Math.floor(r):Math.ceil(r);return i=0,a=1,l=o/e,Math.min(Math.max(l,i),a);var i,a,l}},we=Symbol.for("FluidValue.get"),Oe=Symbol.for("FluidValue.observers"),_e=e=>Boolean(e&&e[we]),Ee=e=>e&&e[we]?e[we]():e,Pe=e=>e[Oe]||null;function Ce(e,t){const n=e[Oe];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var ke=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");je(this,e)}},je=(e,t)=>De(e,we,t);function Se(e,t){if(e[we]){let n=e[Oe];n||De(e,Oe,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function xe(e,t){const n=e[Oe];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Oe]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var Ie,De=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Ne=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Te=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Ae=new RegExp(`(${Ne.source})(%|[a-z]+)`,"i"),Re=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Me=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Be=e=>{const[t,n]=Fe(e);if(!t||A())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&Me.test(n)?Be(n):n||e},Fe=e=>{const t=Me.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},Le=(e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`,ze=e=>{Ie||(Ie=R?new RegExp(`(${Object.keys(R).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>Ee(e).replace(Me,Be).replace(Te,pe).replace(Ie,pe))),n=t.map((e=>e.match(Ne).map(Number))),r=n[0].map(((e,t)=>n.map((e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})))).map((t=>de({...e,output:t})));return e=>{const n=!Ae.test(t[0])&&t.find((e=>Ae.test(e)))?.replace(Ne,"");let o=0;return t[0].replace(Ne,(()=>`${r[o++](e)}${n||""}`)).replace(Re,Le)}},He="react-spring: ",Ve=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${He}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},Ue=Ve(console.warn);var $e=Ve(console.warn);function Ge(e){return C.str(e)&&("#"==e[0]||/\d/.test(e)||!A()&&Me.test(e)||e in(R||{}))}var We=A()?r.useEffect:r.useLayoutEffect,qe=()=>{const e=(0,r.useRef)(!1);return We((()=>(e.current=!0,()=>{e.current=!1})),[]),e};function Ze(){const e=(0,r.useState)()[1],t=qe();return()=>{t.current&&e(Math.random())}}var Ke=e=>(0,r.useEffect)(e,Ye),Ye=[];var Xe=Symbol.for("Animated:node"),Je=e=>e&&e[Xe],Qe=(e,t)=>((e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}))(e,Xe,t),et=e=>e&&e[Xe]&&e[Xe].getPayload(),tt=class{constructor(){Qe(this,this)}getPayload(){return this.payload||[]}},nt=class extends tt{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,C.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new nt(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return C.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,C.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},rt=class extends nt{constructor(e){super(0),this._string=null,this._toString=de({output:[e,e]})}static create(e){return new rt(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(C.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=de({output:[this.getValue(),e]})),this._value=0,super.reset()}},ot={dependencies:null},it=class extends tt{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return S(this.source,((n,r)=>{(e=>!!e&&e[Xe]===e)(n)?t[r]=n.getValue(e):_e(n)?t[r]=Ee(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&j(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return S(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){ot.dependencies&&_e(e)&&ot.dependencies.add(e);const t=et(e);t&&j(t,(e=>this.add(e)))}},at=class extends it{constructor(e){super(e)}static create(e){return new at(e)}getValue(){return this.source.map((e=>e.getValue()))}setValue(e){const t=this.getPayload();return e.length==t.length?t.map(((t,n)=>t.setValue(e[n]))).some(Boolean):(super.setValue(e.map(lt)),!0)}};function lt(e){return(Ge(e)?rt:nt).create(e)}function ct(e){const t=Je(e);return t?t.constructor:C.arr(e)?at:Ge(e)?rt:nt}var st=(e,t)=>{const n=!C.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,r.forwardRef)(((o,i)=>{const a=(0,r.useRef)(null),c=n&&(0,r.useCallback)((e=>{a.current=function(e,t){e&&(C.fun(e)?e(t):e.current=t);return t}(i,e)}),[i]),[s,u]=function(e,t){const n=new Set;ot.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new it(e),ot.dependencies=null,[e,n]}(o,t),p=Ze(),d=()=>{const e=a.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&p()},f=new ut(d,u),m=(0,r.useRef)();We((()=>(m.current=f,j(u,(e=>Se(e,f))),()=>{m.current&&(j(m.current.deps,(e=>xe(e,m.current))),l.cancel(m.current.update))}))),(0,r.useEffect)(d,[]),Ke((()=>()=>{const e=m.current;j(e.deps,(t=>xe(t,e)))}));const g=t.getComponentProps(s.getValue());return r.createElement(e,{...g,ref:c})}))},ut=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&l.write(this.update)}};var pt=Symbol.for("AnimatedComponent"),dt=e=>C.str(e)?e:e&&C.str(e.displayName)?e.displayName:C.fun(e)&&e.name||null;function ft(e,...t){return C.fun(e)?e(...t):e}var mt=(e,t)=>!0===e||!!(t&&e&&(C.fun(e)?e(t):x(e).includes(t))),gt=(e,t)=>C.obj(e)?t&&e[t]:e,ht=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,bt=e=>e,vt=(e,t=bt)=>{let n=yt;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const o of n){const n=t(e[o],o);C.und(n)||(r[o]=n)}return r},yt=["config","onProps","onStart","onChange","onPause","onResume","onRest"],wt={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Ot(e){const t=function(e){const t={};let n=0;if(S(e,((e,r)=>{wt[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return S(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function _t(e){return e=Ee(e),C.arr(e)?e.map(_t):Ge(e)?i.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Et(e){for(const t in e)return!0;return!1}function Pt(e){return C.fun(e)||C.arr(e)&&C.obj(e[0])}function Ct(e,t){e.ref?.delete(e),t?.delete(e)}function kt(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var jt={tension:170,friction:26,mass:1,damping:1,easing:ye.linear,clamp:!1};function St(e,t){if(C.und(t.decay)){const n=!C.und(t.tension)||!C.und(t.friction);!n&&C.und(t.frequency)&&C.und(t.damping)&&C.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var xt=[];function It(e,{key:t,props:n,defaultProps:r,state:o,actions:a}){return new Promise(((c,s)=>{let u,p,d=mt(n.cancel??r?.cancel,t);if(d)g();else{C.und(n.pause)||(o.paused=mt(n.pause,t));let e=r?.pause;!0!==e&&(e=o.paused||mt(e,t)),u=ft(n.delay||0,t),e?(o.resumeQueue.add(m),a.pause()):(a.resume(),m())}function f(){o.resumeQueue.add(m),o.timeouts.delete(p),p.cancel(),u=p.time-l.now()}function m(){u>0&&!i.skipAnimation?(o.delayed=!0,p=l.setTimeout(g,u),o.pauseQueue.add(f),o.timeouts.add(p)):g()}function g(){o.delayed&&(o.delayed=!1),o.pauseQueue.delete(f),o.timeouts.delete(p),e<=(o.cancelId||0)&&(d=!0);try{a.start({...n,callId:e,cancel:d},c)}catch(e){s(e)}}}))}var Dt=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?At(e.get()):t.every((e=>e.noop))?Nt(e.get()):Tt(e.get(),t.every((e=>e.finished))),Nt=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Tt=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),At=e=>({value:e,cancelled:!0,finished:!1});function Rt(e,t,n,r){const{callId:o,parentId:a,onRest:c}=t,{asyncTo:s,promise:u}=n;return a||e!==s||t.reset?n.promise=(async()=>{n.asyncId=o,n.asyncTo=e;const p=vt(t,((e,t)=>"onRest"===t?void 0:e));let d,f;const m=new Promise(((e,t)=>(d=e,f=t))),g=e=>{const t=o<=(n.cancelId||0)&&At(r)||o!==n.asyncId&&Tt(r,!1);if(t)throw e.result=t,f(e),e},h=(e,t)=>{const a=new Bt,l=new Ft;return(async()=>{if(i.skipAnimation)throw Mt(n),l.result=Tt(r,!1),f(l),l;g(a);const c=C.obj(e)?{...e}:{...t,to:e};c.parentId=o,S(p,((e,t)=>{C.und(c[t])&&(c[t]=e)}));const s=await r.start(c);return g(a),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),s})()};let b;if(i.skipAnimation)return Mt(n),Tt(r,!1);try{let t;t=C.arr(e)?(async e=>{for(const t of e)await h(t)})(e):Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([t.then(d),m]),b=Tt(r.get(),!0,!1)}catch(e){if(e instanceof Bt)b=e.result;else{if(!(e instanceof Ft))throw e;b=e.result}}finally{o==n.asyncId&&(n.asyncId=a,n.asyncTo=a?s:void 0,n.promise=a?u:void 0)}return C.fun(c)&&l.batchedUpdates((()=>{c(b,r,r.item)})),b})():u}function Mt(e,t){I(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Bt=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},Ft=class extends Error{constructor(){super("SkipAnimationSignal")}},Lt=e=>e instanceof Ht,zt=1,Ht=class extends ke{constructor(){super(...arguments),this.id=zt++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Je(this);return e&&e.getValue()}to(...e){return i.to(this,e)}interpolate(...e){return Ue(`${He}The "interpolate" function is deprecated in v9 (use "to" instead)`),i.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Ce(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||U.sort(this),Ce(this,{type:"priority",parent:this,priority:e})}},Vt=Symbol.for("SpringPhase"),Ut=e=>(1&e[Vt])>0,$t=e=>(2&e[Vt])>0,Gt=e=>(4&e[Vt])>0,Wt=(e,t)=>t?e[Vt]|=3:e[Vt]&=-3,qt=(e,t)=>t?e[Vt]|=4:e[Vt]&=-5,Zt=class extends Ht{constructor(e,t){if(super(),this.animation=new class{constructor(){this.changed=!1,this.values=xt,this.toValues=null,this.fromValues=xt,this.config=new class{constructor(){this.velocity=0,Object.assign(this,jt)}},this.immediate=!1}},this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!C.und(e)||!C.und(t)){const n=C.obj(e)?{...e}:{...t,from:e};C.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!($t(this)||this._state.asyncTo)||Gt(this)}get goal(){return Ee(this.animation.to)}get velocity(){const e=Je(this);return e instanceof nt?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return Ut(this)}get isAnimating(){return $t(this)}get isPaused(){return Gt(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:o}=r;const{config:i}=r,a=et(r.to);!a&&_e(r.to)&&(o=x(Ee(r.to))),r.values.forEach(((l,c)=>{if(l.done)return;const s=l.constructor==rt?1:a?a[c].lastPosition:o[c];let u=r.immediate,p=s;if(!u){if(p=l.lastPosition,i.tension<=0)return void(l.done=!0);let t=l.elapsedTime+=e;const n=r.fromValues[c],o=null!=l.v0?l.v0:l.v0=C.arr(i.velocity)?i.velocity[c]:i.velocity;let a;const d=i.precision||(n==s?.005:Math.min(1,.001*Math.abs(s-n)));if(C.und(i.duration))if(i.decay){const e=!0===i.decay?.998:i.decay,r=Math.exp(-(1-e)*t);p=n+o/(1-e)*(1-r),u=Math.abs(l.lastPosition-p)<=d,a=o*r}else{a=null==l.lastVelocity?o:l.lastVelocity;const t=i.restVelocity||d/10,r=i.clamp?0:i.bounce,c=!C.und(r),f=n==s?l.v0>0:n<s;let m,g=!1;const h=1,b=Math.ceil(e/h);for(let e=0;e<b&&(m=Math.abs(a)>t,m||(u=Math.abs(s-p)<=d,!u));++e){c&&(g=p==s||p>s==f,g&&(a=-a*r,p=s));a+=(1e-6*-i.tension*(p-s)+.001*-i.friction*a)/i.mass*h,p+=a*h}}else{let r=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,l.durationProgress>0&&(l.elapsedTime=i.duration*l.durationProgress,t=l.elapsedTime+=e)),r=(i.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,l.durationProgress=r),p=n+i.easing(r)*(s-n),a=(p-l.lastPosition)/e,u=1==r}l.lastVelocity=a,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),u=!0)}a&&!a[c].done&&(u=!1),u?l.done=!0:t=!1,l.setValue(p,i.round)&&(n=!0)}));const l=Je(this),c=l.getValue();if(t){const e=Ee(r.to);c===e&&!n||i.decay?n&&i.decay&&this._onChange(c):(l.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(c)}set(e){return l.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if($t(this)){const{to:e,config:t}=this.animation;l.batchedUpdates((()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()}))}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return C.und(e)?(n=this.queue||[],this.queue=[]):n=[C.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>Dt(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Mt(this._state,e&&this._lastCallId),l.batchedUpdates((()=>this._stop(t,e))),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=C.obj(n)?n[t]:n,(null==n||Pt(n))&&(n=void 0),r=C.obj(r)?r[t]:r,null==r&&(r=void 0);const o={to:n,from:r};return Ut(this)||(e.reverse&&([n,r]=[r,n]),r=Ee(r),C.und(r)?Je(this)||this._set(n):this._set(r)),o}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,vt(e,((e,t)=>/^on/.test(t)?gt(e,n):e))),en(this,e,"onProps"),tn(this,"onProps",e,this);const o=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const i=this._state;return It(++this._lastCallId,{key:n,props:e,defaultProps:r,state:i,actions:{pause:()=>{Gt(this)||(qt(this,!0),T(i.pauseQueue),tn(this,"onPause",Tt(this,Kt(this,this.animation.to)),this))},resume:()=>{Gt(this)&&(qt(this,!1),$t(this)&&this._resume(),T(i.resumeQueue),tn(this,"onResume",Tt(this,Kt(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=Yt(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(At(this));const r=!C.und(e.to),o=!C.und(e.from);if(r||o){if(!(t.callId>this._lastToId))return n(At(this));this._lastToId=t.callId}const{key:i,defaultProps:a,animation:c}=this,{to:s,from:u}=c;let{to:p=s,from:d=u}=e;!o||r||t.default&&!C.und(p)||(p=d),t.reverse&&([p,d]=[d,p]);const f=!k(d,u);f&&(c.from=d),d=Ee(d);const m=!k(p,s);m&&this._focus(p);const g=Pt(t.to),{config:h}=c,{decay:b,velocity:v}=h;(r||o)&&(h.velocity=0),t.config&&!g&&function(e,t,n){n&&(St(n={...n},t),t={...n,...t}),St(e,t),Object.assign(e,t);for(const t in jt)null==e[t]&&(e[t]=jt[t]);let{frequency:r,damping:o}=e;const{mass:i}=e;C.und(r)||(r<.01&&(r=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/r,2)*i,e.friction=4*Math.PI*o*i/r)}(h,ft(t.config,i),t.config!==a.config?ft(a.config,i):void 0);let y=Je(this);if(!y||C.und(p))return n(Tt(this,!0));const w=C.und(t.reset)?o&&!t.default:!C.und(d)&&mt(t.reset,i),O=w?d:this.get(),_=_t(p),E=C.num(_)||C.arr(_)||Ge(_),P=!g&&(!E||mt(a.immediate||t.immediate,i));if(m){const e=ct(p);if(e!==y.constructor){if(!P)throw Error(`Cannot animate between ${y.constructor.name} and ${e.name}, as the "to" prop suggests`);y=this._set(_)}}const S=y.constructor;let I=_e(p),D=!1;if(!I){const e=w||!Ut(this)&&f;(m||e)&&(D=k(_t(O),_),I=!D),(k(c.immediate,P)||P)&&k(h.decay,b)&&k(h.velocity,v)||(I=!0)}if(D&&$t(this)&&(c.changed&&!w?I=!0:I||this._stop(s)),!g&&((I||_e(s))&&(c.values=y.getPayload(),c.toValues=_e(p)?null:S==rt?[1]:x(_)),c.immediate!=P&&(c.immediate=P,P||w||this._set(s)),I)){const{onRest:e}=c;j(Qt,(e=>en(this,t,e)));const r=Tt(this,Kt(this,s));T(this._pendingCalls,r),this._pendingCalls.add(n),c.changed&&l.batchedUpdates((()=>{c.changed=!w,e?.(r,this),w?ft(a.onRest,r):c.onStart?.(r,this)}))}w&&this._set(O),g?n(Rt(t.to,t,this._state,this)):I?this._start():$t(this)&&!m?this._pendingCalls.add(n):n(Nt(O))}_focus(e){const t=this.animation;e!==t.to&&(Pe(this)&&this._detach(),t.to=e,Pe(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;_e(t)&&(Se(t,this),Lt(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;_e(e)&&xe(e,this)}_set(e,t=!0){const n=Ee(e);if(!C.und(n)){const e=Je(this);if(!e||!k(n,e.getValue())){const r=ct(n);e&&e.constructor==r?e.setValue(n):Qe(this,r.create(n)),e&&l.batchedUpdates((()=>{this._onChange(n,t)}))}}return Je(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,tn(this,"onStart",Tt(this,Kt(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),ft(this.animation.onChange,e,this)),ft(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Je(this).reset(Ee(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),$t(this)||(Wt(this,!0),Gt(this)||this._resume())}_resume(){i.skipAnimation?this.finish():U.start(this)}_stop(e,t){if($t(this)){Wt(this,!1);const n=this.animation;j(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Ce(this,{type:"idle",parent:this});const r=t?At(this.get()):Tt(this.get(),Kt(this,e??n.to));T(this._pendingCalls,r),n.changed&&(n.changed=!1,tn(this,"onRest",r,this))}}};function Kt(e,t){const n=_t(t);return k(_t(e.get()),n)}function Yt(e,t=e.loop,n=e.to){const r=ft(t);if(r){const o=!0!==r&&Ot(r),i=(o||e).reverse,a=!o||o.reset;return Xt({...e,loop:t,default:!1,pause:void 0,to:!i||Pt(n)?n:void 0,from:a?e.from:void 0,reset:a,...o})}}function Xt(e){const{to:t,from:n}=e=Ot(e),r=new Set;return C.obj(t)&&Jt(t,r),C.obj(n)&&Jt(n,r),e.keys=r.size?Array.from(r):null,e}function Jt(e,t){S(e,((e,n)=>null!=e&&t.add(n)))}var Qt=["onStart","onRest","onChange","onPause","onResume"];function en(e,t,n){e.animation[n]=t[n]!==ht(t,n)?gt(t[n],e.key):void 0}function tn(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var nn=["onStart","onChange","onRest"],rn=1,on=class{constructor(e,t){this.id=rn++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each(((t,n)=>e[n]=t.get())),e}set(e){for(const t in e){const n=e[t];C.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Xt(e)),this}start(e){let{queue:t}=this;return e?t=x(e).map(Xt):this.queue=[],this._flush?this._flush(this,t):(dn(this,t),an(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;j(x(t),(t=>n[t].stop(!!e)))}else Mt(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(C.und(e))this.start({pause:!0});else{const t=this.springs;j(x(e),(e=>t[e].pause()))}return this}resume(e){if(C.und(e))this.start({pause:!1});else{const t=this.springs;j(x(e),(e=>t[e].resume()))}return this}each(e){S(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,o=this._changed.size>0;(r&&!this._started||o&&!this._started)&&(this._started=!0,I(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const i=!r&&this._started,a=o||i&&n.size?this.get():null;o&&t.size&&I(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),i&&(this._started=!1,I(n,(([e,t])=>{t.value=a,e(t,this,this._item)})))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}l.onFrame(this._onFrame)}};function an(e,t){return Promise.all(t.map((t=>ln(e,t)))).then((t=>Dt(e,t)))}async function ln(e,t,n){const{keys:r,to:o,from:i,loop:a,onRest:c,onResolve:s}=t,u=C.obj(t.default)&&t.default;a&&(t.loop=!1),!1===o&&(t.to=null),!1===i&&(t.from=null);const p=C.arr(o)||C.fun(o)?o:void 0;p?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):j(nn,(n=>{const r=t[n];if(C.fun(r)){const o=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=o.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):o.set(r,{value:null,finished:e||!1,cancelled:t||!1})},u&&(u[n]=t[n])}}));const d=e._state;t.pause===!d.paused?(d.paused=t.pause,T(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const f=(r||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),m=!0===t.cancel||!0===ht(t,"cancel");(p||m&&d.asyncId)&&f.push(It(++e._lastAsyncId,{props:t,state:d,actions:{pause:P,resume:P,start(t,n){m?(Mt(d,e._lastAsyncId),n(At(e))):(t.onRest=c,n(Rt(p,t,d,e)))}}})),d.paused&&await new Promise((e=>{d.resumeQueue.add(e)}));const g=Dt(e,await Promise.all(f));if(a&&g.finished&&(!n||!g.noop)){const n=Yt(t,a,o);if(n)return dn(e,[n]),ln(e,n,!0)}return s&&l.batchedUpdates((()=>s(g,e,e.item))),g}function cn(e,t){const n={...e.springs};return t&&j(x(t),(e=>{C.und(e.keys)&&(e=Xt(e)),C.obj(e.to)||(e={...e,to:void 0}),pn(n,e,(e=>un(e)))})),sn(e,n),n}function sn(e,t){S(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,Se(t,e))}))}function un(e,t){const n=new Zt;return n.key=e,t&&Se(n,t),n}function pn(e,t,n){t.keys&&j(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function dn(e,t){j(t,(t=>{pn(e.springs,t,(t=>un(t,e)))}))}var fn,mn,gn=({children:e,...t})=>{const n=(0,r.useContext)(hn),o=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=function(e,t){const[n]=(0,r.useState)((()=>({inputs:t,result:e()}))),o=(0,r.useRef)(),i=o.current;let a=i;a?Boolean(t&&a.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,a.inputs))||(a={inputs:t,result:e()}):a=n;return(0,r.useEffect)((()=>{o.current=a,i==n&&(n.inputs=n.result=void 0)}),[a]),a.result}((()=>({pause:o,immediate:i})),[o,i]);const{Provider:a}=hn;return r.createElement(a,{value:t},e)},hn=(fn=gn,mn={},Object.assign(fn,r.createContext(mn)),fn.Provider._context=fn,fn.Consumer._context=fn,fn);gn.Provider=hn.Provider,gn.Consumer=hn.Consumer;var bn=()=>{const e=[],t=function(t){$e(`${He}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return j(e,((e,o)=>{if(C.und(t))r.push(e.start());else{const i=n(t,e,o);i&&r.push(e.start(i))}})),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return j(e,(e=>e.pause(...arguments))),this},t.resume=function(){return j(e,(e=>e.resume(...arguments))),this},t.set=function(t){j(e,((e,n)=>{const r=C.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return j(e,((e,r)=>{if(C.und(t))n.push(e.start());else{const o=this._getProps(t,e,r);o&&n.push(e.start(o))}})),n},t.stop=function(){return j(e,(e=>e.stop(...arguments))),this},t.update=function(t){return j(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return C.fun(e)?e(n,t):e};return t._getProps=n,t};function vn(e,t,n){const o=C.fun(t)&&t,{reset:i,sort:a,trail:l=0,expires:c=!0,exitBeforeEnter:s=!1,onDestroyed:u,ref:p,config:d}=o?o():t,f=(0,r.useMemo)((()=>o||3==arguments.length?bn():void 0),[]),m=x(e),g=[],h=(0,r.useRef)(null),b=i?null:h.current;We((()=>{h.current=g})),Ke((()=>(j(g,(e=>{f?.add(e.ctrl),e.ctrl.ref=f})),()=>{j(h.current,(e=>{e.expired&&clearTimeout(e.expirationId),Ct(e.ctrl,f),e.ctrl.stop(!0)}))})));const v=function(e,{key:t,keys:n=t},r){if(null===n){const t=new Set;return e.map((e=>{const n=r&&r.find((n=>n.item===e&&"leave"!==n.phase&&!t.has(n)));return n?(t.add(n),n.key):yn++}))}return C.und(n)?e:C.fun(n)?e.map(n):x(n)}(m,o?o():t,b),y=i&&h.current||[];We((()=>j(y,(({ctrl:e,item:t,key:n})=>{Ct(e,f),ft(u,t,n)}))));const w=[];if(b&&j(b,((e,t)=>{e.expired?(clearTimeout(e.expirationId),y.push(e)):~(t=w[t]=v.indexOf(e.key))&&(g[t]=e)})),j(m,((e,t)=>{g[t]||(g[t]={key:v[t],item:e,phase:"mount",ctrl:new on},g[t].ctrl.item=e)})),w.length){let e=-1;const{leave:n}=o?o():t;j(w,((t,r)=>{const o=b[r];~t?(e=g.indexOf(o),g[e]={...o,item:m[t]}):n&&g.splice(++e,0,o)}))}C.fun(a)&&g.sort(((e,t)=>a(e.item,t.item)));let O=-l;const _=Ze(),E=vt(t),P=new Map,k=(0,r.useRef)(new Map),S=(0,r.useRef)(!1);j(g,((e,n)=>{const r=e.key,i=e.phase,a=o?o():t;let u,f;const m=ft(a.delay||0,r);if("mount"==i)u=a.enter,f="enter";else{const e=v.indexOf(r)<0;if("leave"!=i)if(e)u=a.leave,f="leave";else{if(!(u=a.update))return;f="update"}else{if(e)return;u=a.enter,f="enter"}}if(u=ft(u,e.item,n),u=C.obj(u)?Ot(u):{to:u},!u.config){const t=d||E.config;u.config=ft(t,e.item,n,f)}O+=l;const g={...E,delay:m+O,ref:p,immediate:a.immediate,reset:!1,...u};if("enter"==f&&C.und(g.from)){const r=o?o():t,i=C.und(r.initial)||b?r.from:r.initial;g.from=ft(i,e.item,n)}const{onResolve:y}=g;g.onResolve=e=>{ft(y,e);const t=h.current,n=t.find((e=>e.key===r));if(n&&(!e.cancelled||"update"==n.phase)&&n.ctrl.idle){const e=t.every((e=>e.ctrl.idle));if("leave"==n.phase){const t=ft(c,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(_,r)))}}e&&t.some((e=>e.expired))&&(k.current.delete(n),s&&(S.current=!0),_())}};const w=cn(e.ctrl,g);"leave"===f&&s?k.current.set(e,{phase:f,springs:w,payload:g}):P.set(e,{phase:f,springs:w,payload:g})}));const I=(0,r.useContext)(gn),D=function(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e})),t.current}(I),N=I!==D&&Et(I);We((()=>{N&&j(g,(e=>{e.ctrl.start({default:I})}))}),[I]),j(P,((e,t)=>{if(k.current.size){const e=g.findIndex((e=>e.key===t.key));g.splice(e,1)}})),We((()=>{j(k.current.size?k.current:P,(({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,f?.add(r),N&&"enter"==e&&r.start({default:I}),t&&(kt(r,t.ref),!r.ref&&!f||S.current?(r.start(t),S.current&&(S.current=!1)):r.update(t))}))}),i?void 0:n);const T=e=>r.createElement(r.Fragment,null,g.map(((t,n)=>{const{springs:o}=P.get(t)||t.ctrl,i=e({...o},t.item,t,n);return i&&i.type?r.createElement(i.type,{...i.props,key:C.str(t.key)||C.num(t.key)?t.key:t.ctrl.id,ref:i.ref}):i})));return f?[T,f]:T}var yn=1;function wn({items:e,children:t,...n}){return vn(e,n)(t)}var On=class extends Ht{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=de(...t);const n=this._get(),r=ct(n);Qe(this,r.create(n))}advance(e){const t=this._get();k(t,this.get())||(Je(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&En(this._active)&&Pn(this)}_get(){const e=C.arr(this.source)?this.source.map(Ee):x(Ee(this.source));return this.calc(...e)}_start(){this.idle&&!En(this._active)&&(this.idle=!1,j(et(this),(e=>{e.done=!1})),i.skipAnimation?(l.batchedUpdates((()=>this.advance())),Pn(this)):U.start(this))}_attach(){let e=1;j(x(this.source),(t=>{_e(t)&&Se(t,this),Lt(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){j(x(this.source),(e=>{_e(e)&&xe(e,this)})),this._active.clear(),Pn(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=x(this.source).reduce(((e,t)=>Math.max(e,(Lt(t)?t.priority:0)+1)),0))}};function _n(e){return!1!==e.idle}function En(e){return!e.size||Array.from(e).every(_n)}function Pn(e){e.idle||(e.idle=!0,j(et(e),(e=>{e.done=!0})),Ce(e,{type:"idle",parent:e}))}i.assign({createStringInterpolator:ze,to:(e,t)=>new On(e,t)});U.advance;var Cn=n(1533),kn=/^--/;function jn(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||kn.test(e)||xn.hasOwnProperty(e)&&xn[e]?(""+t).trim():t+"px"}var Sn={};var xn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},In=["Webkit","Ms","Moz","O"];xn=Object.keys(xn).reduce(((e,t)=>(In.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),xn);var Dn=/^(matrix|translate|scale|rotate|skew)/,Nn=/^(translate)/,Tn=/^(rotate|skew)/,An=(e,t)=>C.num(e)&&0!==e?e+t:e,Rn=(e,t)=>C.arr(e)?e.every((e=>Rn(e,t))):C.num(e)?e===t:parseFloat(e)===t,Mn=class extends it{constructor({x:e,y:t,z:n,...r}){const o=[],i=[];(e||t||n)&&(o.push([e||0,t||0,n||0]),i.push((e=>[`translate3d(${e.map((e=>An(e,"px"))).join(",")})`,Rn(e,0)]))),S(r,((e,t)=>{if("transform"===t)o.push([e||""]),i.push((e=>[e,""===e]));else if(Dn.test(t)){if(delete r[t],C.und(e))return;const n=Nn.test(t)?"px":Tn.test(t)?"deg":"";o.push(x(e)),i.push("rotate3d"===t?([e,t,r,o])=>[`rotate3d(${e},${t},${r},${An(o,n)})`,Rn(o,0)]:e=>[`${t}(${e.map((e=>An(e,n))).join(",")})`,Rn(e,t.startsWith("scale")?1:0)])}})),o.length&&(r.transform=new Bn(o,i)),super(r)}},Bn=class extends ke{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return j(this.inputs,((n,r)=>{const o=Ee(n[0]),[i,a]=this.transforms[r](C.arr(o)?o:n.map(Ee));e+=" "+i,t=t&&a})),t?"none":e}observerAdded(e){1==e&&j(this.inputs,(e=>j(e,(e=>_e(e)&&Se(e,this)))))}observerRemoved(e){0==e&&j(this.inputs,(e=>j(e,(e=>_e(e)&&xe(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),Ce(this,e)}};i.assign({batchedUpdates:Cn.unstable_batchedUpdates,createStringInterpolator:ze,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var Fn=((e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new it(e)),getComponentProps:r=(e=>e)}={})=>{const o={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},i=e=>{const t=dt(e)||"Anonymous";return(e=C.str(e)?i[e]||(i[e]=st(e,o)):e[pt]||(e[pt]=st(e,o))).displayName=`Animated(${t})`,e};return S(e,((t,n)=>{C.arr(e)&&(n=dt(t)),i[n]=i(t)})),{animated:i}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{style:r,children:o,scrollTop:i,scrollLeft:a,viewBox:l,...c}=t,s=Object.values(c),u=Object.keys(c).map((t=>n||e.hasAttribute(t)?t:Sn[t]||(Sn[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==o&&(e.textContent=o);for(const t in r)if(r.hasOwnProperty(t)){const n=jn(t,r[t]);kn.test(t)?e.style.setProperty(t,n):e.style[t]=n}u.forEach(((t,n)=>{e.setAttribute(t,s[n])})),void 0!==i&&(e.scrollTop=i),void 0!==a&&(e.scrollLeft=a),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new Mn(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),Ln=Fn.animated}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e=n(1381),t=n(5652),r=window.wp.blocks,o=window.wp.blockEditor,i=window.wp.data;const{breadcrumb_home_item:a,breadcrumb_home_text:l,breadcrumb_separator:c,breadcrumb_page_title:s}=window.blc_blocks_data;var u=function(){const n=(0,e.useMemo)((function(){return"text"===a?l:(0,e.createElement)("svg",{class:"ct-home-icon",width:"15",viewBox:"0 0 24 20"},(0,e.createElement)("path",{d:"M12,0L0.4,10.5h3.2V20h6.3v-6.3h4.2V20h6.3v-9.5h3.2L12,0z"}))}),[]),r=(0,e.useMemo)((function(){return"type-2"===c?(0,e.createElement)("svg",{class:"separator",width:"8",height:"8",viewBox:"0 0 8 8"},(0,e.createElement)("polygon",{points:"2.5,0 6.9,4 2.5,8 "})):"type-3"===c?(0,e.createElement)("span",{className:"separator"},"/"):(0,e.createElement)("svg",{class:"separator",width:"8",height:"8",viewBox:"0 0 8 8"},(0,e.createElement)("path",{d:"M2,6.9L4.8,4L2,1.1L2.6,0l4,4l-4,4L2,6.9z"}))}),[]),o=(0,i.withSelect)((function(e){var t;return{title:(null===(t=e("core/editor"))||void 0===t?void 0:t.getEditedPostAttribute("title"))||""}}))((function(n){return(0,e.createElement)("span",null,(null==n?void 0:n.title)||(0,t.__)("Page","blocksy"))}));return(0,e.createElement)(React.Fragment,null,(0,e.createElement)("span",null,(0,e.createElement)("span",null,n),r),(0,e.createElement)("span",null,(0,e.createElement)("span",null,(0,t.__)("Subpage","blocksy")),s&&r),s&&(0,e.createElement)(o,null))},p=n(8441);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}var f=function(t){let{label:n,resetAll:r,panelId:i,settings:a}=t;const l=(0,o.__experimentalUseMultipleOriginColorsAndGradients)();return(0,e.createElement)(p.__experimentalToolsPanel,{label:n,resetAll:r,panelId:i,hasInnerWrapper:!0,className:"color-block-support-panel",__experimentalFirstVisibleItemClass:"first",__experimentalLastVisibleItemClass:"last"},(0,e.createElement)("div",{className:"color-block-support-panel__inner-wrapper"},(0,e.createElement)(o.__experimentalColorGradientSettingsDropdown,d({__experimentalIsRenderedInSidebar:!0,__experimentalHasMultipleOrigins:!0,__experimentalGroup:"bg",settings:a,panelId:i},l,{gradients:[],disableCustomGradients:!0}))))};var m=(0,o.withColors)({textColor:"color"},{linkColor:"color"},{linkHoverColor:"color"})((function(n){let{clientId:r,textColor:i,setTextColor:a,linkColor:l,setLinkColor:c,linkHoverColor:s,setLinkHoverColor:p,className:d}=n;const m=(0,e.useRef)(),g=(0,o.useBlockProps)({ref:m,className:{"ct-breadcrumbs":!0,className:d},style:{color:null==i?void 0:i.color,"--theme-link-initial-color":null==l?void 0:l.color,"--theme-link-hover-color":null==s?void 0:s.color}});return(0,e.createElement)(React.Fragment,null,(0,e.createElement)("div",g,(0,e.createElement)(u,null),(0,e.createElement)(o.InspectorControls,{group:"styles"},(0,e.createElement)(f,{label:(0,t.__)("Text Color","blocksy"),resetAll:function(){a(""),c(""),p("")},panelId:r,settings:[{colorValue:i.color,enableAlpha:!0,label:(0,t.__)("Text","blocksy"),onColorChange:a},{colorValue:l.color,enableAlpha:!0,label:(0,t.__)("Link Initial","blocksy"),onColorChange:c},{colorValue:s.color,enableAlpha:!0,label:(0,t.__)("Link Hover","blocksy"),onColorChange:p}]}))))})),g=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"blocksy/breadcrumbs","category":"blocksy-blocks","attributes":{"textColor":{"type":"string"},"customTextColor":{"type":"string"},"linkColor":{"type":"string"},"customLinkColor":{"type":"string"},"linkHoverColor":{"type":"string"},"customLinkHoverColor":{"type":"string"}},"supports":{"className":false,"spacing":{"margin":true,"__experimentalDefaultControls":{"margin":true}}},"providesContext":{"textColor":"textColor","linkColor":"linkColor","linkHoverColor":"linkHoverColor"}}');function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(0,r.registerBlockType)("blocksy/breadcrumbs",b(b({},g),{},{title:(0,t.__)("Breadcrumbs","blocksy"),description:(0,t.__)("Insert the breadcrumbs navigation anywhere you might want.","blocksy"),icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)("path",{d:"M4,10.5h6v3H4V10.5z M12,13.5h3v-3h-3V13.5z M17,10.5v3h3v-3H17z"}))},edit:function(t){return(0,e.createElement)(m,t)},save:function(){return null}}));var y=n(2568),w=n.n(y);function O(e){if(Array.isArray(e))return`[${e.map((function(e){return O(e)})).join(",")}]`;if("object"==typeof e&&null!==e){let t="";const n=Object.keys(e).sort();t+=`{${JSON.stringify(n)}`;for(let r=0;r<n.length;r++)t+=`${O(e[n[r]])},`;return`${t}}`}return`${JSON.stringify(e)}`}const _={},E=function(t){let{attributes:n,previewedPostId:r}=t;const[o,i]=(0,e.useState)(null);let[{controller:a},l]=(0,e.useState)({controller:null});return(0,e.useEffect)((function(){const e={attributes:n,previewedPostId:r},t=w()(O(e));if(_[t])i(_[t]);else{a&&a.abort(),"AbortController"in window&&(a=new AbortController,l({controller:a}));let e=function(e){e||(e=location.search);var t=e.substr(1),n={};return t.split("&").forEach((function(e){var t=e.split("=");n[t[0]]=decodeURIComponent(t[1])})),n}(location.search);fetch(`${wp.ajax.settings.url}?action=blocksy_get_posts_block_data${e.lang?"&lang="+e.lang:""}`,{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",signal:a.signal,body:JSON.stringify({attributes:n,previewedPostId:r})}).then((function(e){return e.json()})).then((function(e){let{success:n,data:r}=e;n&&(_[t]=r,l({controller:null}),i(r))}))}}),[n,r]),{blockData:o}};var P=function(t){let{attributes:n,postId:r,uniqueId:o}=t;const{blockData:i}=E({attributes:n,previewedPostId:r});return i&&i.block?(0,e.createElement)(React.Fragment,null,(0,e.createElement)(e.RawHTML,null,i.block),i&&i.dynamic_styles&&(0,e.createElement)("style",null,i.dynamic_styles)):(0,e.createElement)(p.Spinner,null)},C=n(5697);const k=function(e){return e.split("-")[0]};function j(e){let t=!1;const n=function(e){const t=document.querySelectorAll(".edit-site-visual-editor__editor-canvas");let n=document;for(let r=0;r<t.length;r++)if(null!==t[r].contentDocument.getElementById("block-"+e.clientId)){n=t[r].contentDocument;break}return n}(e);return n.querySelectorAll(`[data-id="${e.attributes.uniqueId}"]`).length>1&&(t=!0),t}var S=function(n){let{clientId:a,setAttributes:l,setIsPatternSelectionModalOpen:c}=n;const{replaceInnerBlocks:s}=(0,i.useDispatch)(o.store);return(0,e.createElement)("div",{className:"components-placeholder is-large"},(0,e.createElement)("div",{className:"components-placeholder__label"},(0,e.createElement)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24","aria-hidden":"true",focusable:"false"},(0,e.createElement)("path",{d:"M5.5 18v-1c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v1c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zm.5 2c-1.1 0-2-.9-2-2v-1c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v1c0 1.1-.9 2-2 2H6zm-.5-9V6c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zm.5 2c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2H6zm8.5 0v5c0 .3.2.5.5.5h3c.3 0 .5-.2.5-.5v-5c0-.3-.2-.5-.5-.5h-3c-.3 0-.5.2-.5.5zM13 18c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-5c0-1.1-.9-2-2-2h-3c-1.1 0-2 .9-2 2v5zm1.5-11V6c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v1c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5zm.5 2c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v1c0 1.1-.9 2-2 2h-3z","fill-rule":"evenodd"})),(0,t.__)("Advanced Posts","blocksy")),(0,e.createElement)("fieldset",{className:"components-placeholder__fieldset"},(0,e.createElement)("legend",{className:"components-placeholder__instructions"},(0,t.__)("Inherit the Customizer layout, start with a pattern or create a custom layout","blocksy")),(0,e.createElement)("button",{className:"components-button is-primary",onClick:function(e){e.preventDefault(),l({design:"default"})}},(0,t.__)("Inherit From Customizer","blocksy")),(0,e.createElement)("button",{className:"components-button is-primary",onClick:function(e){e.preventDefault(),c(!0)}},(0,t.__)("Choose Pattern","blocksy")),(0,e.createElement)("button",{className:"components-button is-primary",onClick:function(e){e.preventDefault(),s(a,(0,r.createBlocksFromInnerBlocksTemplate)([["blocksy/post-template",{},[["blocksy/dynamic-data",{tagName:"h2",field:"wp:title",has_title_link:"yes"}],["blocksy/dynamic-data",{field:"wp:date"}],["blocksy/dynamic-data",{field:"wp:excerpt"}]]]]),!1)}},(0,t.__)("Create Custom Layout","blocksy"))))},x=n(4184),I=n.n(x),D=window.wp.primitives;var N=(0,e.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(D.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));var T=(0,e.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(D.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));var A=(0,e.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(D.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),R=window.wp.a11y;var M=function(n){let{items:r,selectedItems:o,onItemClick:i,label:a,resetAll:l}=n;const c=o.length>0;return(0,e.createElement)(p.__experimentalHStack,null,(0,e.createElement)(p.__experimentalHeading,{style:{margin:0},level:2},a),(0,e.createElement)(p.DropdownMenu,{icon:0===o.length?N:T,label:(0,t.__)("Parameters options","blocksy"),toggleProps:{isSmall:!0,describedBy:0===o.length?(0,t.__)("All options are currently hidden","blocksy"):void 0}},(function(){return(0,e.createElement)(React.Fragment,null,r.map((function(t,n){return(0,e.createElement)(p.MenuGroup,{key:n,label:t.label},t.items.map((function(t,n){const r=o.includes(t.label);return(0,e.createElement)(p.MenuItem,{key:n,icon:r?A:null,isSelected:r,onClick:function(){return i(t.label)}},t.label)})))})),(0,e.createElement)(p.MenuGroup,null,(0,e.createElement)(p.MenuItem,{"aria-disabled":!c,variant:"tertiary",onClick:function(){c&&(l(),(0,R.speak)((0,t.__)("All options reset","blocksy"),"assertive"))}},(0,t.__)("Reset all","blocksy"))))})))};var B=function(t){let{className:n,attributes:r,setAttributes:o,resetAll:i,items:a,label:l}=t;const c=a.reduce((function(e,t){return[...e,...t.items.filter((function(e){return e.hasValue()})).map((function(e){return e.label}))]}),[]),[s,u]=(0,e.useState)([]),p=[...new Set([...s,...c])];return(0,e.createElement)("div",{className:I()("ct-tools-panel",n)},(0,e.createElement)(M,{label:l,resetAll:function(){u([]),i()},items:a,selectedItems:p,attributes:r,setAttributes:o,onItemClick:function(e){if(!p.includes(e))return void u([...s,e]);const t=a.reduce((function(e,t){return[...e,...t.items]}),[]).find((function(t){return t.label===e}));u(s.filter((function(t){return t!==e}))),t.reset()}}),(0,e.createElement)("div",{className:"ct-tools-panel-items"},a.reduce((function(e,t){return[...e,...t.items]}),[]).filter((function(e){return p.includes(e.label)})).map((function(e){return e.render()}))))},F=window.wp.coreData;function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function H(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const V=function(e){return(0,i.useSelect)((function(t){const{getTaxonomies:n}=t(F.store);return n({type:e,per_page:-1,context:"view"})}),[e])};var U=window.wp.compose;function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach((function(t){W(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function W(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const q=[],Z={order:"asc",_fields:"id,name,slug",context:"view"},K=function(e,t){var n,r;const o=(null==t?void 0:t.slug)||(null==e||null===(n=e.find((function(e){return e.name===t})))||void 0===n?void 0:n.slug);if(o)return o;const i=t.toLocaleLowerCase();return null==e||null===(r=e.find((function(e){return e.name.toLocaleLowerCase()===i})))||void 0===r?void 0:r.slug};function Y(n){let{taxonomy:r,termIds:o,onChange:a,label:l=!1}=n;const[c,s]=(0,e.useState)(""),[u,d]=(0,e.useState)(q),[f,m]=(0,e.useState)(q),g=(0,U.useDebounce)(s,250),{searchResults:h,searchHasResolved:b}=(0,i.useSelect)((function(e){if(!c)return{searchResults:q,searchHasResolved:!0};const{getEntityRecords:t,hasFinishedResolution:n}=e(F.store),o=["taxonomy",r.slug,G(G({},Z),{},{search:c,orderby:"name",per_page:20})];return{searchResults:t(...o),searchHasResolved:n("getEntityRecords",o)}}),[c,o]),v=(0,i.useSelect)((function(e){if(null==o||!o.length)return q;const{getEntityRecords:t}=e(F.store);return t("taxonomy",r.slug,G(G({},Z),{},{slug:o,per_page:o.length}))}),[o]);(0,e.useEffect)((function(){if(null!=o&&o.length||d(q),null==v||!v.length)return;const e=o.reduce((function(e,t){const n=v.find((function(e){return e.slug===t}));return n&&e.push({id:t,slug:t,value:n.name}),e}),[]);d(e)}),[o,v]),(0,e.useEffect)((function(){b&&m(h.map((function(e){return e.name})))}),[h,b]);return(0,e.createElement)(p.FormTokenField,{label:l,value:u,onInputChange:g,suggestions:f,onChange:function(e){const t=new Set;for(const n of e){const e=K(h,n);e&&t.add(e)}m(q),a(Array.from(t))},__experimentalShowHowTo:!1,__nextHasNoMarginBottom:!0,placeholder:(0,t.__)("Search for a term","blocksy")})}function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){Q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Q(e,t,n){return(t=te(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ee(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function te(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}const ne=function(n){let{attributes:r,attributes:{post_type:o},previewedPostMatchesType:i,setAttributes:a}=n;const l=V(o);let c=[];return l&&l.length>0&&(c=[...l.map((function(n){return function(n){let{taxonomy:r,attributes:o,setAttributes:i,previewedPostMatchesType:a}=n;return{label:(0,t.sprintf)((0,t.__)("Include %s","blocksy"),r.name),hasValue:function(){return o.include_term_ids[r.slug]},reset:function(){const e=o.include_term_ids||{},t=r.slug,{[t]:n}=e,a=ee(e,[t].map(te));i({include_term_ids:a})},render:function(){const n=o.include_term_ids[r.slug]||{strategy:"all",terms:[]};return(0,e.createElement)("div",null,(0,e.createElement)(p.__experimentalToggleGroupControl,{label:(0,t.sprintf)((0,t.__)("Include %s","blocksy"),r.name),value:n.strategy,isBlock:!0,onChange:function(e){i({include_term_ids:J(J({},o.include_term_ids),{},{[r.slug]:J(J({},n),{},{strategy:e})})})}},(0,e.createElement)(p.__experimentalToggleGroupControlOption,{value:"all",label:(0,t.__)("All","blocksy")}),(0,e.createElement)(p.__experimentalToggleGroupControlOption,{value:"specific",label:(0,t.__)("Specific","blocksy")}),a&&(0,e.createElement)(p.__experimentalToggleGroupControlOption,{value:"related",label:(0,t.__)("Related","blocksy")})),"specific"===n.strategy&&(0,e.createElement)(Y,{taxonomy:r,termIds:n.terms,onChange:function(e){i({include_term_ids:J(J({},o.include_term_ids),{},{[r.slug]:J(J({},n),{},{terms:e})})})}}))}}}({taxonomy:n,attributes:r,setAttributes:a,previewedPostMatchesType:i})})),...l.map((function(n){return function(n){let{taxonomy:r,attributes:o,setAttributes:i}=n;return{label:(0,t.sprintf)((0,t.__)("Exclude %s","blocksy"),r.name),hasValue:function(){return o.exclude_term_ids[r.slug]},reset:function(){const e=o.exclude_term_ids||{},t=r.slug,{[t]:n}=e,a=ee(e,[t].map(te));i({exclude_term_ids:a})},render:function(){const n=o.exclude_term_ids[r.slug]||{strategy:"specific",terms:[]};return(0,e.createElement)(Y,{label:(0,t.sprintf)((0,t.__)("Exclude %s","blocksy"),r.name),taxonomy:r,termIds:n.terms,onChange:function(e){i({exclude_term_ids:J(J({},o.exclude_term_ids),{},{[r.slug]:J(J({},n),{},{terms:e})})})}})}}}({taxonomy:n,attributes:r,setAttributes:a})}))]),{taxonomiesGroup:c.length>0?{label:(0,t.__)("Taxonomies","blocksy"),items:c}:null}};var re=function(n){let{context:r,attributes:i,attributes:{post_type:a},setAttributes:l}=n;const{taxonomiesGroup:c}=ne({attributes:i,setAttributes:l,previewedPostMatchesType:i.post_type===r.postType});return(0,e.createElement)(o.InspectorControls,null,(0,e.createElement)(B,{className:"ct-query-parameters-component",attributes:i,setAttributes:l,resetAll:function(){l({offset:0,sticky_posts:"include",orderby:"post_date",order:"desc",include_term_ids:{},exclude_term_ids:{}})},items:[{label:(0,t.__)("General","blocksy"),items:[{label:(0,t.__)("Offset","blocksy"),hasValue:function(){return 0!==i.offset},reset:function(){l({offset:0})},render:function(){return(0,e.createElement)(C.Z,{purpose:"gutenberg",onChange:function(e,t){l({[e]:t})},options:{offset:{type:"ct-number",label:(0,t.__)("Offset","blocksy"),value:"",min:0,max:500}},value:i,hasRevertButton:!1})}},{label:(0,t.__)("Order by","blocksy"),hasValue:function(){return"post_date"!==i.orderby},reset:function(){l({orderby:"post_date"})},render:function(){return(0,e.createElement)(C.Z,{purpose:"gutenberg",onChange:function(e,t){l({[e]:t})},options:{orderby:{type:"ct-select",label:(0,t.__)("Order by","blocksy"),value:"",choices:[{key:"title",value:(0,t.__)("Title","blocksy")},{key:"post_date",value:(0,t.__)("Publish Date","blocksy")},{key:"modified_date",value:(0,t.__)("Modified Date","blocksy")},{key:"comment_count",value:(0,t.__)("Most commented","blocksy")},{key:"author",value:(0,t.__)("Author","blocksy")},{key:"rand",value:(0,t.__)("Random","blocksy")},{key:"menu_order",value:(0,t.__)("Menu Order","blocksy")}]}},value:i,hasRevertButton:!1})}},{label:(0,t.__)("Order","blocksy"),hasValue:function(){return"desc"!==i.order},reset:function(){l({order:"desc"})},render:function(){return(0,e.createElement)(C.Z,{purpose:"gutenberg",onChange:function(e,t){l({[e]:t})},options:{order:{type:"ct-select",label:(0,t.__)("Order","blocksy"),value:"",choices:[{key:"DESC",value:(0,t.__)("Descending","blocksy")},{key:"ASC",value:(0,t.__)("Ascending","blocksy")}]}},value:i,hasRevertButton:!1})}},{label:(0,t.__)("Sticky Posts","blocksy"),hasValue:function(){return"include"!==i.sticky_posts},reset:function(){l({sticky_posts:"include"})},render:function(){return(0,e.createElement)(C.Z,{purpose:"gutenberg",onChange:function(e,t){l({[e]:t})},options:{sticky_posts:{type:"ct-select",label:(0,t.__)("Sticky Posts","blocksy"),value:"include",choices:[{key:"include",value:(0,t.__)("Include","blocksy")},{key:"exclude",value:(0,t.__)("Exclude","blocksy")},{key:"only",value:(0,t.__)("Only","blocksy")}]}},value:i,hasRevertButton:!1})}}]},...c?[c]:[]],label:(0,t.__)("Parameters","blocksy")}))};function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ae(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let le=null,ce=new AbortController;var se=n(6826),ue=n.n(se);function pe(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=ue()(e),e=e.trim().toLowerCase(),e}function de(e,t){const n=pe(t),r=pe(e.title);let o=0;if(n===r)o+=30;else if(r.startsWith(n))o+=20;else{n.split(" ").every((function(e){return r.includes(e)}))&&(o+=10)}return o}var fe=function(n){let{clientId:a,attributes:l,setIsPatternSelectionModalOpen:c,postType:s}=n;const[u,d]=(0,e.useState)(""),{replaceBlock:f,selectBlock:m}=(0,i.useDispatch)(o.store),[g,h]=(0,e.useState)([]);(0,e.useEffect)((function(){new Promise((function(e){le?e(le):fetch(`${wp.ajax.settings.url}?action=blocksy_get_posts_block_patterns`,{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",body:JSON.stringify({}),signal:ce.signal}).then((function(e){return e.json()})).then((function(t){let{success:n,data:o}=t;n&&(le=o.patterns.map((function(e){return ie(ie({},e),{},{blocks:(0,r.parse)(e.content,{__unstableSkipMigrationLogs:!0})})})),e(le))}))})).then((function(e){h(e)}))}),[]);const b=(0,e.useMemo)((function(){return{previewPostType:s}}),[s]),v=(0,e.useMemo)((function(){return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!t)return e;const n=e.map((function(e){return[e,de(e,t)]})).filter((function(e){let[,t]=e;return t>0}));return n.sort((function(e,t){let[,n]=e,[,r]=t;return r-n})),n.map((function(e){let[t]=e;return t}))}(g,u)}),[g,u]),y=(0,U.useAsyncList)(v);return(0,e.createElement)(p.Modal,{overlayClassName:"block-library-query-pattern__selection-modal",title:(0,t.__)("Choose a pattern","blocksy"),onRequestClose:function(){return c(!1)},isFullScreen:!0},(0,e.createElement)("div",{className:"block-library-query-pattern__selection-content"},(0,e.createElement)("div",{className:"block-library-query-pattern__selection-search"},(0,e.createElement)(p.SearchControl,{__nextHasNoMarginBottom:!0,onChange:d,value:u,label:(0,t.__)("Search for patterns","blocksy"),placeholder:(0,t.__)("Search","blocksy")})),(0,e.createElement)(o.BlockContextProvider,{value:b},(0,e.createElement)(o.__experimentalBlockPatternsList,{blockPatterns:v,shownPatterns:y,onClickPattern:function(e,t){const{newBlocks:n,queryClientIds:o}=function(e,t){const n=e.map((function(e){return(0,r.cloneBlock)(e)})),o=[],i=[...n];for(;i.length>0;){var a;const e=i.shift();"blocksy/query"===e.name&&(e.attributes.uniqueId="",o.push(e.clientId)),null===(a=e.innerBlocks)||void 0===a||a.forEach((function(e){i.push(e)}))}return{newBlocks:n,queryClientIds:o}}(t);f(a,n),o[0]&&m(o[0])}}))))};function me(){return me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},me.apply(this,arguments)}function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function he(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){be(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function be(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ve=function(n){let{clientId:r,className:a,attributes:l,setAttributes:c,context:s}=n;const u=(0,o.useInnerBlocksProps)({},{}),d=(0,i.useSelect)((function(e){return!!e(o.store).getBlocks(r).length}),[r]),f=!d&&"default"!==l.design,{postTypesSelectOptions:m}=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{hasPages:n=!1}=t;const r=(0,i.useSelect)((function(e){var t;const{getPostTypes:r}=e(F.store),o=["attachment","product",...n?[]:["page"]];return null===(t=r({per_page:-1}))||void 0===t?void 0:t.filter((function(e){let{viewable:t,slug:n}=e;return t&&!o.includes(n)&&!n.includes("ct_")&&!n.includes("blc-")}))}),[n]);return{postTypesTaxonomiesMap:(0,e.useMemo)((function(){if(null!=r&&r.length)return r.reduce((function(e,t){return e[t.slug]=t.taxonomies,e}),{})}),[r]),postTypesSelectOptions:(0,e.useMemo)((function(){return(r||[]).reduce((function(e,t){return z(z({},e),{},{[t.slug]:t.labels.singular_name})}),{})}),[r])}}({hasPages:d}),{uniqueId:g,props:h}=function(t){let{attributes:n,clientId:r,setAttributes:o}=t;(0,e.useEffect)((function(){n.uniqueId&&!j({attributes:n,clientId:r})||o({uniqueId:k(r)})}),[r]);let i=n.uniqueId||k(r);return{uniqueId:i,props:{"data-id":i}}}({attributes:l,setAttributes:c,clientId:r}),{postId:b,postType:v}=s,y=(0,e.useRef)(),w=(0,o.__experimentalUseBorderProps)(l),O=(0,o.useBlockProps)({ref:y,className:a,style:he({},w.style)}),[_,E]=(0,e.useState)(!1);return(0,e.createElement)(React.Fragment,null,_&&(0,e.createElement)(fe,{clientId:r,attributes:l,setIsPatternSelectionModalOpen:E,postType:l.post_type}),f?(0,e.createElement)("div",me({},O,h),(0,e.createElement)(S,{setIsPatternSelectionModalOpen:E,attributes:l,setAttributes:c,clientId:r})):(0,e.createElement)("div",me({},O,h),"default"===l.design&&(0,e.createElement)(P,{uniqueId:g,attributes:l,postId:b}),d&&(0,e.createElement)("div",u)),(0,e.createElement)(o.BlockControls,null,(0,e.createElement)(p.ToolbarGroup,null,(0,e.createElement)(p.ToolbarButton,{className:"components-toolbar__control",icon:"layout",label:(0,t.__)("Reset layout","blocksy"),disabled:f,onClick:function(){d?(0,i.dispatch)("core/block-editor").replaceInnerBlocks(r,[],!1):(0,i.dispatch)("core/block-editor").updateBlockAttributes(r,{design:""})}}))),!f&&(0,e.createElement)(React.Fragment,null,(0,e.createElement)(o.InspectorControls,null,(0,e.createElement)(p.PanelBody,null,(0,e.createElement)(C.Z,{purpose:"gutenberg",onChange:function(e,t){c(he({[e]:t},"post_type"===e?{include_term_ids:{},exclude_term_ids:{},include_post_ids:{ids:[],current_post:!1},exclude_post_ids:{ids:[],current_post:!1}}:{}))},options:{post_type:{type:"ct-select",label:(0,t.__)("Post Type","blocksy"),value:"",defaultToFirstItem:!1,choices:m,purpose:"default"},limit:{type:"ct-number",label:(0,t.__)("Limit","blocksy"),value:"",min:1,max:30},has_pagination:{type:"ct-switch",label:(0,t.__)("Pagination","blocksy"),value:""}},value:l,hasRevertButton:!1}))),(0,e.createElement)(re,{attributes:l,setAttributes:c,context:s})),(0,e.createElement)(o.InspectorControls,{group:"advanced"},(0,e.createElement)(p.TextControl,{__nextHasNoMarginBottom:!0,autoComplete:"off",label:(0,t.__)("Block ID","blocksy"),value:g,onChange:function(e){},onFocus:function(e){e.target.select()},help:(0,t.__)("Please look at the documentation for more information on why this is useful.","blocksy")})))};var ye=function(t){const n=o.useBlockProps.save(),r=o.useInnerBlocksProps.save(n);return(0,e.createElement)("div",r)},we=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"blocksy/query","category":"blocksy-blocks","attributes":{"uniqueId":{"type":"string","default":""},"type":{"type":"string","default":"post"},"post_type":{"type":"string","default":"post"},"limit":{"type":"number","default":5},"include_term_ids":{"type":"object","default":{}},"exclude_term_ids":{"type":"object","default":{}},"include_post_ids":{"type":"object","default":{"ids":[],"current_post":false}},"exclude_post_ids":{"type":"object","default":{"ids":[],"current_post":false}},"order":{"type":"string","default":"desc"},"orderby":{"type":"string","default":"post_date"},"orderby_custom":{"type":"string","default":""},"offset":{"type":"number","default":0},"design":{"type":"string","default":""},"has_pagination":{"type":"string","default":"no"},"textColor":{"type":"string"},"customTextColor":{"type":"string"},"linkColor":{"type":"string"},"customLinkColor":{"type":"string"},"linkHoverColor":{"type":"string"},"customLinkHoverColor":{"type":"string"},"sticky_posts":{"type":"string","default":"include"}},"supports":{"align":["wide","full"],"html":false,"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"__experimentalBorder":{"color":true,"radius":true,"width":true,"__experimentalDefaultControls":{"color":true,"radius":true,"width":true},"__experimentalSelector":"img, .block-editor-media-placeholder, .wp-block-post-featured-image__overlay","__experimentalSkipSerialization":true},"color":{"gradients":true,"link":false,"__experimentalDefaultControls":{"text":false,"background":true,"link":false}}},"usesContext":["postId","postType"],"providesContext":{"uniqueId":"uniqueId","post_type":"post_type","limit":"limit","order":"order","orderby":"orderby","sticky_posts":"sticky_posts","orderby_custom":"orderby_custom","offset":"offset","has_pagination":"has_pagination","include_term_ids":"include_term_ids","exclude_term_ids":"exclude_term_ids"}}');function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){Ee(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ee(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(0,r.registerBlockType)("blocksy/query",_e(_e({},we),{},{title:(0,t.__)("Advanced Posts","blocksy"),description:(0,t.__)("Advanced Posts","blocksy"),icon:{src:(0,e.createElement)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",context:"list-view","aria-hidden":"true",focusable:"false"},(0,e.createElement)("path",{d:"M5.5 18v-1c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v1c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zm.5 2c-1.1 0-2-.9-2-2v-1c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v1c0 1.1-.9 2-2 2H6zm-.5-9V6c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zm.5 2c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2H6zm8.5 0v5c0 .3.2.5.5.5h3c.3 0 .5-.2.5-.5v-5c0-.3-.2-.5-.5-.5h-3c-.3 0-.5.2-.5.5zM13 18c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-5c0-1.1-.9-2-2-2h-3c-1.1 0-2 .9-2 2v5zm1.5-11V6c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v1c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5zm.5 2c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v1c0 1.1-.9 2-2 2h-3z","fill-rule":"evenodd"}))},edit:function(t){return(0,e.createElement)(ve,t)},save:function(){return(0,e.createElement)(ye,null)}}));var Pe=(0,e.createElement)(D.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)(D.Path,{d:"M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"}));var Ce=(0,e.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(D.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7.8 16.5H5c-.3 0-.5-.2-.5-.5v-6.2h6.8v6.7zm0-8.3H4.5V5c0-.3.2-.5.5-.5h6.2v6.7zm8.3 7.8c0 .3-.2.5-.5.5h-6.2v-6.8h6.8V19zm0-7.8h-6.8V4.5H19c.3 0 .5.2.5.5v6.2z",fillRule:"evenodd",clipRule:"evenodd"}));function ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(Object(n),!0).forEach((function(t){Se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Se(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xe.apply(this,arguments)}const Ie=[];function De(){const t=(0,o.useInnerBlocksProps)({className:"wp-block-post"},{template:Ie,__unstableDisableLayoutClassNames:!0});return(0,e.createElement)("article",t)}const Ne=(0,e.memo)((function(t){let{blocks:n,blockContextId:r,isHidden:i,setActiveBlockContextId:a}=t;const l=(0,o.__experimentalUseBlockPreview)({blocks:n,props:{className:"wp-block-post"}}),c=function(){a(r)},s={display:i?"none":void 0};return(0,e.createElement)("article",xe({},l,{tabIndex:0,role:"button",onClick:c,onKeyPress:c,style:s}))}));var Te=function(n){let{clientId:r,className:a,attributes:l,attributes:{layout:c},setAttributes:s,context:u,__unstableLayoutClassNames:d}=n;const{postId:f,postType:m}=u,[g,h]=(0,e.useState)(),{type:b,columnCount:v=3}=c||{},y=(0,o.useBlockProps)({className:I()(d,{[`columns-${v}`]:"grid"===b&&v})}),{blockData:w}=((0,o.useInnerBlocksProps)({},{}),E({attributes:u,previewedPostId:f})),{blocks:O}=(0,i.useSelect)((function(e){const{getBlocks:t}=e(o.store);return{blocks:t(r)}}),[r]);if(!w)return(0,e.createElement)("p",y,(0,e.createElement)(p.Spinner,null));let _=w.all_posts.map((function(e){return{postId:e.ID,postType:e.post_type}}));const P=function(e){return s({layout:je(je({},c),e)})},C=[{icon:Pe,title:(0,t.__)("List view"),onClick:function(){return P({type:"default"})},isActive:"default"===b||"constrained"===b},{icon:Ce,title:(0,t.__)("Grid view"),onClick:function(){return P({type:"grid",columnCount:v})},isActive:"grid"===b}];return(0,e.createElement)(React.Fragment,null,(0,e.createElement)(o.BlockControls,null,(0,e.createElement)(p.ToolbarGroup,{controls:C})),(0,e.createElement)("div",y,_.map((function(t){var n,r;return(0,e.createElement)(o.BlockContextProvider,{key:t.postId,value:t},t.postId===(g||(null===(n=_[0])||void 0===n?void 0:n.postId))?(0,e.createElement)(De,null):null,(0,e.createElement)(Ne,{blocks:O,blockContextId:t.postId,setActiveBlockContextId:h,isHidden:t.postId===(g||(null===(r=_[0])||void 0===r?void 0:r.postId))}))}))),w&&"yes"===u.has_pagination&&(0,e.createElement)(e.RawHTML,null,w.pagination_output))};var Ae=function(){return(0,e.createElement)(o.InnerBlocks.Content,null)},Re=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"blocksy/post-template","parent":"blocksy/query","title":"Post Template","category":"theme","description":"Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.","textdomain":"default","supports":{"reusable":false,"html":false,"layout":true,"spacing":{"blockGap":{"__experimentalDefault":"1.25em"},"__experimentalDefaultControls":{"blockGap":true}}},"usesContext":["uniqueId","post_type","limit","order","orderby","orderby_custom","offset","postId","postType","has_pagination","include_term_ids","exclude_term_ids","sticky_posts"]}');function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(n),!0).forEach((function(t){Fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(0,r.registerBlockType)("blocksy/post-template",Be(Be({},Re),{},{title:(0,t.__)("Post Template","blocksy"),description:(0,t.__)("Post Template","blocksy"),icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",context:"list-view","aria-hidden":"true",focusable:"false"},(0,e.createElement)("path",{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}))},edit:function(t){return(0,e.createElement)(Te,t)},save:Ae}));var Le=n(7686);const ze=function(e){return Object.entries((0,Le.JS)(e)).reduce((function(e,t){const n=t[1].type;let r="string";return"ct-number"===n&&(r="number"),"ct-image-uploader"===n&&(r="object"),"ct-checkboxes"===n&&(r="object"),"ct-layers"===n&&(r="array"),e[t[0]]={type:r,default:t[1].value},e}),{})},He=function(e){var t,n;return(null===(t=window.ct_localizations||window.ct_customizer_localizations)||void 0===t||null===(n=t.gutenberg_blocks_data)||void 0===n?void 0:n[e])||[]},Ve={};var Ue=function(t,n,r){const[o,i]=(0,e.useState)([]),[a,l]=(0,e.useState)([]),c=(0,e.useCallback)((async function(){const e=new FormData,a=JSON.stringify(n);var c;(e.append("action","blocksy_get_dynamic_block_view"),e.append("block",t),e.append("attributes",a),Ve[a])?(i(r(Ve[a])),l(!1)):(o||l(!0),fetch((null===(c=window.ct_localizations||ct_customizer_localizations)||void 0===c?void 0:c.ajax_url)||wp.ajax.settings.url,{method:"POST",body:e}).then((function(e){return e.json()})).then((function(e){let{data:{content:t}}=e;i(r(t)),l(!1),Ve[a]=t})))}),[n,o]);return(0,e.useEffect)((function(){c()}),[n]),{isLoading:a,preview:o}};const $e=function(e){return Object.keys(e).reduce((function(t,n){return t[n]={type:"string",default:e[n]},t}),{})},Ge={textColor:"",customTextColor:"",textHoverColor:"",customTextHoverColor:"",iconsColor:"",customIconsColor:"",iconsHoverColor:"",customIconsHoverColor:"",borderColor:"rgba(218, 222, 228, 0.5)",customBorderColor:"rgba(218, 222, 228, 0.5)",borderHoverColor:"rgba(218, 222, 228, 0.7)",customBorderHoverColor:"rgba(218, 222, 228, 0.7)",backgroundColor:"rgba(218, 222, 228, 0.5)",customBackgroundColor:"rgba(218, 222, 228, 0.5)",backgroundHoverColor:"rgba(218, 222, 228, 0.7)",customBackgroundHoverColor:"rgba(218, 222, 228, 0.7)"},We=$e(Ge);function qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qe(Object(n),!0).forEach((function(t){Ke(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ke(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ye=Ze({about_alignment:"center",avatar_shape:"round",about_avatar_size:"small",post_widget_thumb_size:"default",about_social_type:"rounded",about_social_icons_fill:"outline",about_social_icons_color:"official",about_text:"Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua tincidunt tortor aliquam.",about_name:"John Doe",about_items_spacing:"",about_social_icons_size:""},Ge);var Xe=function(t){let{attributes:n,setAttributes:r}=t;const i=(0,e.useRef)({image:"",socials:""}),{about_name:a,about_text:l,about_source:c,about_alignment:s,avatar_shape:u,about_avatar_size:d,about_social_type:f,about_social_icons_fill:m,about_items_spacing:g,about_social_icons_size:h,about_social_icons_color:b}=n,v=(0,e.useCallback)((function(e){const t=document.createElement("div");t.innerHTML=e;const n=t.querySelector(".ct-about-me-block");if(n){n.querySelector("div").dataset.alignment=s;const e=n.querySelector(".ct-media-container");e&&(e.dataset.shape=u,e.dataset.size=d);const t=n.querySelector(".ct-social-box");var r;if(t&&(t.dataset.iconsType="simple"===f?f:`${f}:${m}`,t.dataset.color=b),"custom"===c)i.current={image:(null===(r=n.querySelector(".ct-media-container"))||void 0===r?void 0:r.outerHTML)||"",socials:(null==t?void 0:t.outerHTML)||""}}return n.innerHTML}),[s,u,c,d,f,m,h,g,b]),{isLoading:y,preview:w}=Ue("about-me",Ze(Ze({},n),Ye),v);return y?(0,e.createElement)(p.Spinner,null):"from_wp"===c?(0,e.createElement)(e.RawHTML,null,w):(0,e.createElement)("div",{"data-alignment":s},(0,e.createElement)(e.RawHTML,null,i.current.image),(0,e.createElement)("div",{className:"ct-about-me-name"},(0,e.createElement)(o.RichText,{tagName:"span",value:a,placeholder:"User Name",onChange:function(e){return r({about_name:e})}})),(0,e.createElement)(o.RichText,{tagName:"div",className:"ct-about-me-text",value:l,placeholder:"User Description",onChange:function(e){return r({about_text:e})}}),(0,e.createElement)(e.RawHTML,null,i.current.socials))},Je=window.blocksyOptions;var Qe=function(t){let{attributes:n,setAttributes:r,options:i}=t;return(0,e.createElement)(o.InspectorControls,null,(0,e.createElement)(p.PanelBody,null,(0,e.createElement)(Je.OptionsPanel,{purpose:"gutenberg",onChange:function(e,t){r({[e]:t})},options:i,value:n,hasRevertButton:!1})))};function et(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?et(Object(n),!0).forEach((function(t){nt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rt=(0,o.withColors)({textColor:"color"},{textHoverColor:"color"},{iconsColor:"color"},{iconsHoverColor:"color"},{backgroundColor:"color"},{backgroundHoverColor:"color"},{borderColor:"color"},{borderHoverColor:"color"})((function(n){let{attributes:r,setAttributes:i,clientId:a,className:l,textColor:c,setTextColor:s,textHoverColor:u,setTextHoverColor:p,iconsColor:d,setIconsColor:m,iconsHoverColor:g,setIconsHoverColor:h,backgroundColor:b,setBackgroundColor:v,backgroundHoverColor:y,setBackgroundHoverColor:w,borderColor:O,setBorderColor:_,borderHoverColor:E,setBorderHoverColor:P}=n;const{about_alignment:C="center",about_items_spacing:k="",about_social_icons_size:j="",about_social_type:S="simple",about_social_icons_fill:x="outline",about_social_icons_color:I="default"}=r,D=(0,e.useRef)(),N=(0,o.useBlockProps)({ref:D,className:{"ct-about-me-block":!0,className:l},"data-alignment":C,style:tt(tt({"--theme-block-text-color":null==c?void 0:c.color,"--theme-link-hover-color":null==c?void 0:c.color,"--theme-icon-color":null==d?void 0:d.color,"--theme-icon-hover-color":null==g?void 0:g.color,"--background-color":"solid"===x?null==b?void 0:b.color:null==O?void 0:O.color,"--background-hover-color":"solid"===x?null==y?void 0:y.color:null==E?void 0:E.color},j?{"--theme-icon-size":`${j}px`}:{}),k?{"--items-spacing":`${k}px`}:{})});return(0,e.createElement)("div",N,(0,e.createElement)(Xe,{attributes:r,setAttributes:i}),(0,e.createElement)(Qe,{attributes:r,setAttributes:i,options:lt}),(0,e.createElement)(o.InspectorControls,{group:"styles"},(0,e.createElement)(f,{label:(0,t.__)("Text Color","blocksy"),resetAll:function(){s(Ge.textColor),p(Ge.textHoverColor)},panelId:a,settings:[{colorValue:c.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return s(e||Ge.textColor)}},{colorValue:u.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return p(e||Ge.textHoverColor)}}]}),"default"===I?(0,e.createElement)(f,{label:(0,t.__)("Icons Color","blocksy"),resetAll:function(){m(Ge.iconsColor),h(Ge.iconsHoverColor)},panelId:a,settings:[{colorValue:d.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return m(e||Ge.iconsColor)}},{colorValue:g.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return h(e||Ge.iconsHoverColor)}}]}):null,"simple"!==S&&"default"===I&&("solid"===x?(0,e.createElement)(f,{label:(0,t.__)("Icons Background Color","blocksy"),resetAll:function(){v(Ge.backgroundColor),w(Ge.backgroundHoverColor)},panelId:a,settings:[{colorValue:b.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return v(e||Ge.backgroundColor)}},{colorValue:y.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return w(e||Ge.backgroundHoverColor)}}]}):(0,e.createElement)(f,{label:(0,t.__)("Icons Border Color","blocksy"),resetAll:function(){_(Ge.borderColor),P(Ge.borderHoverColor)},panelId:a,settings:[{colorValue:O.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return _(e||Ge.borderColor)}},{colorValue:E.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return P(e||Ge.borderHoverColor)}}]}))))}));function ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function it(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(n),!0).forEach((function(t){at(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function at(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const lt=He("about_me"),ct=ze(lt);(0,r.registerBlockType)("blocksy/about-me",{apiVersion:3,title:(0,t.__)("About Me Controls","blocksy"),icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{d:"M5.8 13H4.2v-1c0-1.5 1.2-2.8 2.8-2.8h4c1.5 0 2.8 1.2 2.8 2.8v1h-1.5v-1c0-.7-.6-1.2-1.2-1.2H7c-.7 0-1.2.6-1.2 1.2v1zM4 21h9v-1.5H4V21zm0-5.5V17h16v-1.5H4zm2.5-10C6.5 4.1 7.6 3 9 3s2.5 1.1 2.5 2.5S10.4 8 9 8 6.5 6.9 6.5 5.5zm1.5 0c0 .6.4 1 1 1s1-.4 1-1-.4-1-1-1-1 .4-1 1z"}))},supports:{html:!1,multiple:!1,inserter:!1,lock:!1},parent:["blocksy/widgets-wrapper"],attributes:it(it({},ct),We),edit:function(t){return(0,e.createElement)(rt,t)},save:function(){return(0,e.createElement)("div",null,"Blocksy: About Me")}}),wp.blocks.registerBlockVariation("blocksy/widgets-wrapper",{name:"blocksy-about-me",title:(0,t.__)("About Me","blocksy"),attributes:{heading:(0,t.__)("About Me","blocksy"),block:"blocksy/about-me"},isDefault:!0,isActive:function(e){return"blocksy/about-me"===e.block},icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{d:"M5.8 13H4.2v-1c0-1.5 1.2-2.8 2.8-2.8h4c1.5 0 2.8 1.2 2.8 2.8v1h-1.5v-1c0-.7-.6-1.2-1.2-1.2H7c-.7 0-1.2.6-1.2 1.2v1zM4 21h9v-1.5H4V21zm0-5.5V17h16v-1.5H4zm2.5-10C6.5 4.1 7.6 3 9 3s2.5 1.1 2.5 2.5S10.4 8 9 8 6.5 6.9 6.5 5.5zm1.5 0c0 .6.4 1 1 1s1-.4 1-1-.4-1-1-1-1 .4-1 1z"}))}});const st={textColor:"",customTextColor:"",textInitialColor:"",customTextInitialColor:"",textHoverColor:"",customTextHoverColor:"",iconsColor:"",customIconsColor:"",iconsHoverColor:"",customIconsHoverColor:"",borderColor:"rgba(218, 222, 228, 0.5)",customBorderColor:"rgba(218, 222, 228, 0.5)",borderHoverColor:"rgba(218, 222, 228, 0.7)",customBorderHoverColor:"rgba(218, 222, 228, 0.7)",backgroundColor:"rgba(218, 222, 228, 0.5)",customBackgroundColor:"rgba(218, 222, 228, 0.5)",backgroundHoverColor:"rgba(218, 222, 228, 0.7)",customBackgroundHoverColor:"rgba(218, 222, 228, 0.7)"},ut=$e(st);function pt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function dt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pt(Object(n),!0).forEach((function(t){ft(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ft(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const mt=dt({contacts_icons_size:20,contacts_items_spacing:"",contacts_icon_shape:"rounded",contacts_icon_fill_type:"outline",contact_link_target:"no",contact_text:"",contacts_items_direction:"column",link_icons:"no"},st);var gt=function(t){let{attributes:n}=t;const{contacts_icons_size:r=20,contacts_items_spacing:o="",contacts_icon_shape:i="rounded",contacts_icon_fill_type:a="outline",contact_link_target:l="no",contacts_items_direction:c="column"}=n,s=(0,e.useCallback)((function(e){const t=document.createElement("div");t.innerHTML=e;const n=t.querySelector(".ct-contact-info-block ul"),r=t.querySelectorAll("a");return r&&r.forEach((function(e){e.target="yes"===l?"_blank":"_self"})),n.innerHTML}),[r,i,a,l,c,o]),{isLoading:u,preview:d}=Ue("contact-info",dt(dt({},n),mt),s);return u?(0,e.createElement)(p.Spinner,null):(0,e.createElement)("ul",{"data-icons-type":"simple"===i?i:`${i}:${a}`,dangerouslySetInnerHTML:{__html:d}})};function ht(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ht(Object(n),!0).forEach((function(t){vt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ht(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yt,wt=(0,o.withColors)({textColor:"color"},{textInitialColor:"color"},{textHoverColor:"color"},{iconsColor:"color"},{iconsHoverColor:"color"},{backgroundColor:"color"},{backgroundHoverColor:"color"},{borderColor:"color"},{borderHoverColor:"color"})((function(n){let{attributes:r,setAttributes:i,clientId:a,className:l,textColor:c,setTextColor:s,textInitialColor:u,setTextInitialColor:p,textHoverColor:d,setTextHoverColor:m,iconsColor:g,setIconsColor:h,iconsHoverColor:b,setIconsHoverColor:v,backgroundColor:y,setBackgroundColor:w,backgroundHoverColor:O,setBackgroundHoverColor:_,borderColor:E,setBorderColor:P,borderHoverColor:C,setBorderHoverColor:k}=n;const{contacts_items_direction:j="column",contacts_icons_size:S=20,contacts_items_spacing:x="",contacts_icon_shape:I="rounded",contacts_icon_fill_type:D="outline"}=r,N=(0,e.useRef)(),T=(0,o.useBlockProps)({ref:N,className:{"ct-contact-info-block":!0,className:l},style:bt(bt(bt({"--theme-block-text-color":null==c?void 0:c.color,"--theme-link-initial-color":null==u?void 0:u.color,"--theme-link-hover-color":null==d?void 0:d.color,"--theme-icon-color":null==g?void 0:g.color,"--theme-icon-hover-color":null==b?void 0:b.color,"--background-color":"solid"===D?null==y?void 0:y.color:null==E?void 0:E.color,"--background-hover-color":"solid"===D?null==O?void 0:O.color:null==C?void 0:C.color},S?{"--theme-icon-size":`${S}px`}:{}),x?{"--items-spacing":`${x}px`}:{}),"column"===j?{"--items-direction":j}:{})});return(0,e.createElement)("div",T,(0,e.createElement)(gt,{attributes:r,setAttributes:i}),(0,e.createElement)(Qe,{attributes:r,setAttributes:i,options:Pt}),(0,e.createElement)(o.InspectorControls,{group:"styles"},(0,e.createElement)(f,{label:(0,t.__)("Text Color","blocksy"),resetAll:function(){s(st.textColor),p(st.textInitialColor),m(st.textHoverColor)},panelId:a,settings:[{colorValue:c.color,enableAlpha:!0,label:(0,t.__)("Text","blocksy"),onColorChange:function(e){return s(e||st.textColor)}},{colorValue:u.color,enableAlpha:!0,label:(0,t.__)("Link Initial","blocksy"),onColorChange:function(e){return p(e||st.textInitialColor)}},{colorValue:d.color,enableAlpha:!0,label:(0,t.__)("Link Hover","blocksy"),onColorChange:function(e){return m(e||st.textHoverColor)}}]}),(0,e.createElement)(f,{label:(0,t.__)("Icons Color","blocksy"),resetAll:function(){h(st.iconsColor),v(st.iconsHoverColor)},panelId:a,settings:[{colorValue:g.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return h(e||st.iconsColor)}},{colorValue:b.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return v(e||st.iconsHoverColor)}}]}),"simple"!==I&&("solid"===D?(0,e.createElement)(f,{label:(0,t.__)("Icons Background Color","blocksy"),resetAll:function(){w(st.backgroundColor),_(st.backgroundHoverColor)},panelId:a,settings:[{colorValue:y.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return w(e||st.backgroundColor)}},{colorValue:O.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return _(e||st.backgroundHoverColor)}}]}):(0,e.createElement)(f,{label:(0,t.__)("Icons Border Color","blocksy"),resetAll:function(){P(st.borderColor),k(st.borderHoverColor)},panelId:a,settings:[{colorValue:E.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return P(e||st.borderColor)}},{colorValue:C.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return k(e||st.borderHoverColor)}}]}))))}));function Ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _t(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ot(Object(n),!0).forEach((function(t){Et(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Et(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Pt=He("contact_info"),Ct=ze(Pt);(0,r.registerBlockType)("blocksy/contact-info",{apiVersion:3,title:(0,t.__)("Contact Info Controls","blocksy"),icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{"fill-rule":"evenodd",d:"M7.25 16.437a6.5 6.5 0 1 1 9.5 0V16A2.75 2.75 0 0 0 14 13.25h-4A2.75 2.75 0 0 0 7.25 16v.437Zm1.5 1.193a6.47 6.47 0 0 0 3.25.87 6.47 6.47 0 0 0 3.25-.87V16c0-.69-.56-1.25-1.25-1.25h-4c-.69 0-1.25.56-1.25 1.25v1.63ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm10-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z","clip-rule":"evenodd"}))},supports:{html:!1,multiple:!1,inserter:!1,lock:!1,typography:{fontSize:!0}},parent:["blocksy/widgets-wrapper"],attributes:_t(_t({},Ct),ut),edit:function(t){return(0,e.createElement)(wt,t)},save:function(){return(0,e.createElement)("div",null,"Blocksy: Contact Info")}}),wp.blocks.registerBlockVariation("blocksy/widgets-wrapper",{name:"blocksy-contact-info",title:(0,t.__)("Contact Info","blocksy"),attributes:{heading:(0,t.__)("Contact Info","blocksy"),block:"blocksy/contact-info",hasDescription:!0,description:(null==Ct||null===(yt=Ct.contact_text)||void 0===yt?void 0:yt.default)||""},isActive:function(e){return"blocksy/contact-info"===e.block},icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{"fill-rule":"evenodd",d:"M7.25 16.437a6.5 6.5 0 1 1 9.5 0V16A2.75 2.75 0 0 0 14 13.25h-4A2.75 2.75 0 0 0 7.25 16v.437Zm1.5 1.193a6.47 6.47 0 0 0 3.25.87 6.47 6.47 0 0 0 3.25-.87V16c0-.69-.56-1.25-1.25-1.25h-4c-.69 0-1.25.56-1.25 1.25v1.63ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm10-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z","clip-rule":"evenodd"}))}});const kt={initialColor:"",customInitialColor:"",hoverColor:"",customHoverColor:"",borderColor:"rgba(218, 222, 228, 0.5)",customBorderColor:"rgba(218, 222, 228, 0.5)",borderHoverColor:"rgba(218, 222, 228, 0.7)",customBorderHoverColor:"rgba(218, 222, 228, 0.7)",backgroundColor:"rgba(218, 222, 228, 0.5)",customBackgroundColor:"rgba(218, 222, 228, 0.5)",backgroundHoverColor:"rgba(218, 222, 228, 0.7)",customBackgroundHoverColor:"rgba(218, 222, 228, 0.7)"},jt=$e(kt);function St(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?St(Object(n),!0).forEach((function(t){It(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function It(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Dt=xt({link_nofollow:"no",link_target:"no",social_icons_color:"official",social_icons_fill:"outline",social_icons_size:"",items_spacing:"",social_type:"simple"},kt);var Nt=function(t){let{attributes:n}=t;const{social_icons_color:r,social_icons_size:o,social_type:i,social_icons_fill:a,items_spacing:l}=n,c=(0,e.useCallback)((function(e){const t=document.createElement("div");return t.innerHTML=e,t.querySelector(".ct-social-box").innerHTML}),[r,o,i,a,l]),{isLoading:s,preview:u}=Ue("socials",xt(xt({},n),Dt),c);return s?(0,e.createElement)(p.Spinner,null):(0,e.createElement)(e.RawHTML,{className:"ct-social-box","data-icons-type":"simple"===i?i:`${i}:${a}`,"data-color":r},u)};function Tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function At(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(n),!0).forEach((function(t){Rt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Mt=He("socials");var Bt=(0,o.withColors)({initialColor:"color"},{hoverColor:"color"},{backgroundColor:"color"},{backgroundHoverColor:"color"},{borderColor:"color"},{borderHoverColor:"color"})((function(n){let{attributes:r,setAttributes:i,clientId:a,className:l,initialColor:c,setInitialColor:s,hoverColor:u,setHoverColor:p,backgroundColor:d,setBackgroundColor:m,backgroundHoverColor:g,setBackgroundHoverColor:h,borderColor:b,setBorderColor:v,borderHoverColor:y,setBorderHoverColor:w}=n;const{items_spacing:O="",social_icons_size:_="",social_type:E="simple",social_icons_fill:P="outline",social_icons_color:C="default"}=r,k=(0,e.useRef)(),j=(0,o.useBlockProps)({ref:k,className:{"ct-socials-block":!0,className:l},style:At(At({"--theme-icon-color":null==c?void 0:c.color,"--theme-icon-hover-color":null==u?void 0:u.color,"--background-color":"solid"===P?null==d?void 0:d.color:null==b?void 0:b.color,"--background-hover-color":"solid"===P?null==g?void 0:g.color:null==y?void 0:y.color},_?{"--theme-icon-size":`${_}px`}:{}),O?{"--items-spacing":`${O}px`}:{})});return(0,e.createElement)("div",j,(0,e.createElement)(Nt,{attributes:r,setAttributes:i}),(0,e.createElement)(Qe,{attributes:r,setAttributes:i,options:Mt}),"default"===C?(0,e.createElement)(o.InspectorControls,{group:"styles"},(0,e.createElement)(f,{label:(0,t.__)("Icon Color","blocksy"),resetAll:function(){s(kt.initialColor),p(kt.hoverColor)},panelId:a,settings:[{colorValue:c.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return s(e||kt.initialColor)}},{colorValue:u.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return p(e||kt.hoverColor)}}]}),"simple"!==E&&("solid"===P?(0,e.createElement)(f,{label:(0,t.__)("Icons Background Colors","blocksy"),resetAll:function(){m(kt.backgroundColor),h(kt.backgroundHoverColor)},panelId:a,settings:[{colorValue:d.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return m(e||kt.backgroundColor)}},{colorValue:g.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return h(e||kt.backgroundHoverColor)}}]}):(0,e.createElement)(f,{label:(0,t.__)("Icons Border Colors","blocksy"),resetAll:function(){v(kt.borderColor),w(kt.borderHoverColor)},panelId:a,settings:[{colorValue:b.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return v(e||kt.borderColor)}},{colorValue:y.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return w(e||kt.borderHoverColor)}}]}))):null)}));function Ft(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(n),!0).forEach((function(t){zt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ft(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ht=He("socials"),Vt=ze(Ht);(0,r.registerBlockType)("blocksy/socials",{apiVersion:3,title:(0,t.__)("Socials Controls","blocksy"),icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{d:"M16.4 14.2c-.8 0-1.5.3-2.1.9l-3.9-2.3c.1-.3.1-.5.1-.8 0-.3-.1-.5-.1-.8L14.3 9c.5.5 1.3.9 2.1.9 1.6 0 2.9-1.3 2.9-2.9S18 4 16.4 4s-2.9 1.3-2.9 2.9c0 .3.1.5.1.8L9.7 10c-.5-.6-1.3-.9-2.1-.9-1.6 0-2.9 1.3-2.9 2.9 0 1.6 1.3 2.9 2.9 2.9.8 0 1.5-.3 2.1-.9l3.9 2.3c-.1.3-.1.5-.1.8 0 1.6 1.3 2.9 2.9 2.9s2.9-1.3 2.9-2.9c0-1.6-1.3-2.9-2.9-2.9zm0-8.7c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5.7-1.5 1.5-1.5zm-8.8 8c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zm8.8 5c-.8 0-1.5-.7-1.5-1.5 0-.3.1-.5.2-.7.3-.4.7-.7 1.2-.7.8 0 1.5.7 1.5 1.5s-.6 1.4-1.4 1.4z"}))},supports:{html:!1,multiple:!1,inserter:!1,lock:!1},parent:["blocksy/widgets-wrapper"],attributes:Lt(Lt({},Vt),jt),edit:function(t){return(0,e.createElement)(Bt,t)},save:function(){return(0,e.createElement)("div",null,"Blocksy: Socials")}}),wp.blocks.registerBlockVariation("blocksy/widgets-wrapper",{name:"blocksy-socials",title:(0,t.__)("Socials","blocksy"),attributes:{heading:(0,t.__)("Socials","blocksy"),block:"blocksy/socials"},isActive:function(e){return"blocksy/socials"===e.block},icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{d:"M16.4 14.2c-.8 0-1.5.3-2.1.9l-3.9-2.3c.1-.3.1-.5.1-.8 0-.3-.1-.5-.1-.8L14.3 9c.5.5 1.3.9 2.1.9 1.6 0 2.9-1.3 2.9-2.9S18 4 16.4 4s-2.9 1.3-2.9 2.9c0 .3.1.5.1.8L9.7 10c-.5-.6-1.3-.9-2.1-.9-1.6 0-2.9 1.3-2.9 2.9 0 1.6 1.3 2.9 2.9 2.9.8 0 1.5-.3 2.1-.9l3.9 2.3c-.1.3-.1.5-.1.8 0 1.6 1.3 2.9 2.9 2.9s2.9-1.3 2.9-2.9c0-1.6-1.3-2.9-2.9-2.9zm0-8.7c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5.7-1.5 1.5-1.5zm-8.8 8c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zm8.8 5c-.8 0-1.5-.7-1.5-1.5 0-.3.1-.5.2-.7.3-.4.7-.7 1.2-.7.8 0 1.5.7 1.5 1.5s-.6 1.4-1.4 1.4z"}))}});const Ut={initialColor:"",customInitialColor:"",hoverColor:"",customHoverColor:"",borderColor:"rgba(218, 222, 228, 0.5)",customBorderColor:"rgba(218, 222, 228, 0.5)",borderHoverColor:"rgba(218, 222, 228, 0.7)",customBorderHoverColor:"rgba(218, 222, 228, 0.7)",backgroundColor:"rgba(218, 222, 228, 0.5)",customBackgroundColor:"rgba(218, 222, 228, 0.5)",backgroundHoverColor:"rgba(218, 222, 228, 0.7)",customBackgroundHoverColor:"rgba(218, 222, 228, 0.7)"},$t=$e(Ut);function Gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gt(Object(n),!0).forEach((function(t){qt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Zt=Wt({link_nofollow:"no",share_icons_size:"",items_spacing:""},Ut);var Kt=function(t){let{attributes:n}=t;const{share_icons_color:r,share_icons_size:o,share_type:i,share_icons_fill:a,items_spacing:l}=n,c=(0,e.useCallback)((function(e){const t=document.createElement("div");return t.innerHTML=e,t.querySelector(".ct-share-box").innerHTML}),[r,o,i,a,l]),{isLoading:s,preview:u}=Ue("share-box",Wt(Wt({},n),Zt),c);return s?(0,e.createElement)(p.Spinner,null):(0,e.createElement)(e.RawHTML,{className:"ct-share-box","data-type":"type-3"},u)};function Yt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yt(Object(n),!0).forEach((function(t){Jt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Jt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Qt=He("share_box");var en=(0,o.withColors)({initialColor:"color"},{hoverColor:"color"},{backgroundColor:"color"},{backgroundHoverColor:"color"},{borderColor:"color"},{borderHoverColor:"color"})((function(n){let{attributes:r,setAttributes:i,clientId:a,className:l,initialColor:c,setInitialColor:s,hoverColor:u,setHoverColor:p,backgroundColor:d,setBackgroundColor:m,backgroundHoverColor:g,setBackgroundHoverColor:h,borderColor:b,setBorderColor:v,borderHoverColor:y,setBorderHoverColor:w}=n;const{items_spacing:O="",share_icons_size:_="",share_type:E="simple",share_icons_fill:P="outline",share_icons_color:C="default"}=r,k=(0,e.useRef)(),j=(0,o.useBlockProps)({ref:k,className:{"ct-shares-block":!0,className:l},style:Xt(Xt({"--theme-icon-color":null==c?void 0:c.color,"--theme-icon-hover-color":null==u?void 0:u.color,"--background-color":"solid"===P?null==d?void 0:d.color:null==b?void 0:b.color,"--background-hover-color":"solid"===P?null==g?void 0:g.color:null==y?void 0:y.color},_?{"--theme-icon-size":`${_}px`}:{}),O?{"--items-spacing":`${O}px`}:{})});return(0,e.createElement)("div",j,(0,e.createElement)(Kt,{attributes:r,setAttributes:i}),(0,e.createElement)(Qe,{attributes:r,setAttributes:i,options:Qt}),"default"===C?(0,e.createElement)(o.InspectorControls,{group:"styles"},(0,e.createElement)(f,{label:(0,t.__)("Icon Color","blocksy"),resetAll:function(){s(Ut.initialColor),p(Ut.hoverColor)},panelId:a,settings:[{colorValue:c.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return s(e||Ut.initialColor)}},{colorValue:u.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return p(e||Ut.hoverColor)}}]}),"simple"!==E&&("solid"===P?(0,e.createElement)(f,{label:(0,t.__)("Icons Background Colors","blocksy"),resetAll:function(){m(Ut.backgroundColor),h(Ut.backgroundHoverColor)},panelId:a,settings:[{colorValue:d.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return m(e||Ut.backgroundColor)}},{colorValue:g.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return h(e||Ut.backgroundHoverColor)}}]}):(0,e.createElement)(f,{label:(0,t.__)("Icons Border Colors","blocksy"),resetAll:function(){v(Ut.borderColor),w(Ut.borderHoverColor)},panelId:a,settings:[{colorValue:b.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return v(e||Ut.borderColor)}},{colorValue:y.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return w(e||Ut.borderHoverColor)}}]}))):null)}));function tn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tn(Object(n),!0).forEach((function(t){rn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const on=He("share_box"),an=ze(on);(0,r.registerBlockType)("blocksy/share-box",{apiVersion:3,title:(0,t.__)("Share Box Controls","blocksy"),icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{d:"M20 14.6c-.2-.3-.5-.6-.9-.8.1-1.2-.1-2.4-.6-3.5s-1.3-2.1-2.3-2.9c-.4-.3-.8-.5-1.3-.8 0-.6-.2-1.2-.5-1.6-.3-.5-.8-.9-1.4-1.1-1-.4-2.4-.1-3.2.8-.5.5-.8 1.2-.8 2-1 .4-1.8 1-2.5 1.8-.8 1-1.4 2.1-1.6 3.3-.1.6-.1 1.3-.1 2-.7.4-1.2 1-1.4 1.7-.3 1.2.1 2.4 1 3.2s2.3.8 3.3.2c.9.6 1.9 1.1 3 1.2.4.1.8.1 1.2.1.9 0 1.9-.2 2.7-.5.5-.2.9-.5 1.4-.8.2.1.4.2.7.3 1.1.3 2.4-.1 3.1-1 .1-.1.2-.3.3-.4v-.1c.7-.9.6-2.2-.1-3.1zm-9.6-8.1c0-.1 0-.2.1-.3 0 0 0-.1.1-.2 0-.1.1-.2.2-.3l.1-.1s.1-.1.1-.2h.1s.1 0 .1-.1c0 0 .1 0 .1-.1h.1c.1 0 .2-.1.3-.1h.7c.1 0 .1 0 .2.1.1 0 .1.1.2.1 0 0 .1 0 .1.1 0 0 .1 0 .1.1l.1.1.2.2v.1l.1.1s0 .1.1.1V7c0 .1 0 .2-.1.3 0 0 0 .1-.1.1 0 0 0 .1-.1.1 0 0-.1.1-.1.2l-.1.1-.1.1h-.1c-.1 0-.1.1-.2.1h-.2c-.1 0-.2.1-.3.1h-1l.1-.1s-.1 0-.1-.1l-.1-.1-.1-.1-.1-.1v-.1l-.1-.1s0-.1-.1-.1v-.1c0-.1-.1-.2-.1-.3V6.6c-.1 0-.1 0-.1-.1zM8 16.6c0 .1-.1.3-.1.4 0 .1-.1.1-.1.2s-.1.1-.1.1l-.1.1-.3.3-.1.1H7v.1c-.1 0-.2.1-.3.1h-.8c-.1 0-.2 0-.3-.1 0 0-.1 0-.1-.1 0 0-.1 0-.1-.1l-.1-.1h-.1l-.1-.1-.1-.1v-.1c.1-.1 0-.2-.1-.3v-.2c0-.1 0-.2-.1-.2V16.3c0-.1 0-.2.1-.2 0 0 0-.1.1-.2 0-.1.1-.2.1-.2l.1-.1.2-.2.1-.1c.1 0 .1-.1.2-.1h.2c.1 0 .2-.1.3-.1h.6c.1 0 .1 0 .2.1l.3-.2s.1 0 .1.1l.2.2c0 .1.1.1.1.1 0 .1.1.1.1.2v.1c.1.2.2.3.2.5v.4c0-.1 0 0 0 0zm7.1 1.4c-.3.2-.5.3-.8.4h-.1l-.2.1c-.1 0-.3.1-.4.1-.3.1-.5.1-.8.2H11.1l-.2-.1c-.1 0-.3-.1-.4-.1-.3-.1-.5-.2-.8-.3-.1-.1-.2-.1-.3-.2-.1-.1-.3-.1-.4-.2 0 .2 0 .1-.1.1.5-.8.6-1.9.3-2.7-.3-.6-.7-1.1-1.2-1.4-.5-.3-1.1-.5-1.7-.4v-1c0-.3.1-.5.2-.8 0-.1.1-.3.1-.4l.1-.3c.1-.2.2-.5.4-.7.1-.1.1-.2.2-.3l.1-.1.1-.1c.1-.4.3-.6.5-.8l.3-.3.1-.1.1-.1c.2-.1.5-.3.7-.4 0 0 .1 0 .1-.1 0 0 0 .1.1.1.3.5.7.9 1.3 1.2.6.3 1.2.4 1.9.3.9-.1 1.7-.8 2.2-1.6.2.1.4.3.7.5l.2.1c.1.1.2.2.3.2.2.2.4.4.5.6l.1.1s0 .1.1.1c.1.1.2.2.2.3.1.2.3.4.4.7 0 .1.1.1.1.2v.1c0 .1.1.2.1.4.1.3.1.5.2.8v1.3c-.4 0-.8 0-1.1.1-1.2.4-2.1 1.6-2 2.9 0 .6.2 1.1.5 1.6zm1.7-3.3zm2.4 1.8v.2c0 .1 0 .2-.1.3v.1c0 .1 0 .1-.1.1 0 0-.1.1-.1.2l-.2.2-.1.1c-.1.1-.2.1-.3.2h-.1c-.1 0-.2.1-.3.1h-.7c-.1 0-.2-.1-.3-.2h-.1l-.1-.1-.1-.1c-.1-.1-.1-.2-.2-.3v-.2c0-.1-.1-.2-.1-.4v-.4c0-.1 0-.2.1-.3l.1-.2v-.1c0-.1.1-.2.2-.3l.1-.1.1-.1c.1-.1.2-.1.3-.2h.2c.1 0 .2-.1.3-.1H18.7c.1 0 .2.1.3.2l.1.1.2.2c.1.1.1.2.2.3v.2c0 .1.1.2.1.3v.1c-.4 0-.4.1-.4.2z"}))},supports:{html:!1,multiple:!1,inserter:!1,lock:!1},parent:["blocksy/widgets-wrapper"],attributes:nn(nn({},an),$t),edit:function(t){return(0,e.createElement)(en,t)},save:function(){return(0,e.createElement)("div",null,"Blocksy: Share Box")}}),wp.blocks.registerBlockVariation("blocksy/widgets-wrapper",{name:"blocksy-share-box",title:(0,t.__)("Share Box","blocksy"),attributes:{heading:(0,t.__)("Share Box","blocksy"),block:"blocksy/share-box"},isActive:function(e){return"blocksy/share-box"===e.block},icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{d:"M20 14.6c-.2-.3-.5-.6-.9-.8.1-1.2-.1-2.4-.6-3.5s-1.3-2.1-2.3-2.9c-.4-.3-.8-.5-1.3-.8 0-.6-.2-1.2-.5-1.6-.3-.5-.8-.9-1.4-1.1-1-.4-2.4-.1-3.2.8-.5.5-.8 1.2-.8 2-1 .4-1.8 1-2.5 1.8-.8 1-1.4 2.1-1.6 3.3-.1.6-.1 1.3-.1 2-.7.4-1.2 1-1.4 1.7-.3 1.2.1 2.4 1 3.2s2.3.8 3.3.2c.9.6 1.9 1.1 3 1.2.4.1.8.1 1.2.1.9 0 1.9-.2 2.7-.5.5-.2.9-.5 1.4-.8.2.1.4.2.7.3 1.1.3 2.4-.1 3.1-1 .1-.1.2-.3.3-.4v-.1c.7-.9.6-2.2-.1-3.1zm-9.6-8.1c0-.1 0-.2.1-.3 0 0 0-.1.1-.2 0-.1.1-.2.2-.3l.1-.1s.1-.1.1-.2h.1s.1 0 .1-.1c0 0 .1 0 .1-.1h.1c.1 0 .2-.1.3-.1h.7c.1 0 .1 0 .2.1.1 0 .1.1.2.1 0 0 .1 0 .1.1 0 0 .1 0 .1.1l.1.1.2.2v.1l.1.1s0 .1.1.1V7c0 .1 0 .2-.1.3 0 0 0 .1-.1.1 0 0 0 .1-.1.1 0 0-.1.1-.1.2l-.1.1-.1.1h-.1c-.1 0-.1.1-.2.1h-.2c-.1 0-.2.1-.3.1h-1l.1-.1s-.1 0-.1-.1l-.1-.1-.1-.1-.1-.1v-.1l-.1-.1s0-.1-.1-.1v-.1c0-.1-.1-.2-.1-.3V6.6c-.1 0-.1 0-.1-.1zM8 16.6c0 .1-.1.3-.1.4 0 .1-.1.1-.1.2s-.1.1-.1.1l-.1.1-.3.3-.1.1H7v.1c-.1 0-.2.1-.3.1h-.8c-.1 0-.2 0-.3-.1 0 0-.1 0-.1-.1 0 0-.1 0-.1-.1l-.1-.1h-.1l-.1-.1-.1-.1v-.1c.1-.1 0-.2-.1-.3v-.2c0-.1 0-.2-.1-.2V16.3c0-.1 0-.2.1-.2 0 0 0-.1.1-.2 0-.1.1-.2.1-.2l.1-.1.2-.2.1-.1c.1 0 .1-.1.2-.1h.2c.1 0 .2-.1.3-.1h.6c.1 0 .1 0 .2.1l.3-.2s.1 0 .1.1l.2.2c0 .1.1.1.1.1 0 .1.1.1.1.2v.1c.1.2.2.3.2.5v.4c0-.1 0 0 0 0zm7.1 1.4c-.3.2-.5.3-.8.4h-.1l-.2.1c-.1 0-.3.1-.4.1-.3.1-.5.1-.8.2H11.1l-.2-.1c-.1 0-.3-.1-.4-.1-.3-.1-.5-.2-.8-.3-.1-.1-.2-.1-.3-.2-.1-.1-.3-.1-.4-.2 0 .2 0 .1-.1.1.5-.8.6-1.9.3-2.7-.3-.6-.7-1.1-1.2-1.4-.5-.3-1.1-.5-1.7-.4v-1c0-.3.1-.5.2-.8 0-.1.1-.3.1-.4l.1-.3c.1-.2.2-.5.4-.7.1-.1.1-.2.2-.3l.1-.1.1-.1c.1-.4.3-.6.5-.8l.3-.3.1-.1.1-.1c.2-.1.5-.3.7-.4 0 0 .1 0 .1-.1 0 0 0 .1.1.1.3.5.7.9 1.3 1.2.6.3 1.2.4 1.9.3.9-.1 1.7-.8 2.2-1.6.2.1.4.3.7.5l.2.1c.1.1.2.2.3.2.2.2.4.4.5.6l.1.1s0 .1.1.1c.1.1.2.2.2.3.1.2.3.4.4.7 0 .1.1.1.1.2v.1c0 .1.1.2.1.4.1.3.1.5.2.8v1.3c-.4 0-.8 0-1.1.1-1.2.4-2.1 1.6-2 2.9 0 .6.2 1.1.5 1.6zm1.7-3.3zm2.4 1.8v.2c0 .1 0 .2-.1.3v.1c0 .1 0 .1-.1.1 0 0-.1.1-.1.2l-.2.2-.1.1c-.1.1-.2.1-.3.2h-.1c-.1 0-.2.1-.3.1h-.7c-.1 0-.2-.1-.3-.2h-.1l-.1-.1-.1-.1c-.1-.1-.1-.2-.2-.3v-.2c0-.1-.1-.2-.1-.4v-.4c0-.1 0-.2.1-.3l.1-.2v-.1c0-.1.1-.2.2-.3l.1-.1.1-.1c.1-.1.2-.1.3-.2h.2c.1 0 .2-.1.3-.1H18.7c.1 0 .2.1.3.2l.1.1.2.2c.1.1.1.2.2.3v.2c0 .1.1.2.1.3v.1c-.4 0-.4.1-.4.2z"}))}});var ln=function(t){let{attributes:{has_field_link:n},postId:r,postType:o}=t;const[i="",a,l]=(0,F.useEntityProp)("postType",o,"title",r);return i?"yes"===n?(0,e.createElement)("a",{href:"#",rel:"noopener noreferrer"},i):i:null};const cn=function(e){if(!e)return"";const t=(new window.DOMParser).parseFromString(e,"text/html");return t.body.textContent||t.body.innerText||""};var sn=function(t){let{attributes:{excerpt_length:n},postId:r,postType:o,fallback:i}=t;const[a,l,{rendered:c,protected:s}={}]=(0,F.useEntityProp)("postType",o,"excerpt",r),[u,p,{rendered:d}={}]=(0,F.useEntityProp)("postType",o,"content",r),f=(a||cn(c)||cn(d)).trim();let m=f.split(" ",n).join(" ");const g=m!==f?"...":"";return m?(0,e.createElement)(e.RawHTML,null,m,g):i},un=n(2476);var pn=function(t){let{postId:n,postType:r,attributes:{date_type:o,default_format:i,date_format:a,custom_date_format:l,has_field_link:c}}=t;const[s]=(0,F.useEntityProp)("postType",r,"published"===o?"date":"modified",n),u="yes"===i?(0,un.getSettings)().formats.date:"custom"!==a?a:l;let p=(0,e.createElement)("span",null,(0,un.format)(u,s));return c&&(p=(0,e.createElement)("a",{href:"#"},p)),p},dn=window.wp.apiFetch,fn=n.n(dn),mn=window.wp.url;const gn={};var hn=function(t){let{postId:n}=t;const[r,o]=(0,e.useState)(null);return(0,e.useEffect)((function(){gn[n]&&o(gn[n]),gn[n]||fn()({path:(0,mn.addQueryArgs)("/wp/v2/comments",{post:n,_fields:"id"}),method:"HEAD",parse:!1}).then((function(e){const t={total:parseInt(e.headers.get("X-WP-Total"))};o(t),gn[n]=t}))}),[n]),{commentsData:r}};var bn=function(t){let{postId:n,postType:r,attributes:{has_field_link:o,zero_text:i,single_text:a,multiple_text:l}}=t;const{commentsData:c}=hn({postId:n}),s=c&&c.total?c.total:0,u=0===s?i:1===s?a:l;return"yes"===o?(0,e.createElement)("a",{href:"#",rel:"noopener noreferrer"},u.replace("%",s)):u.replace("%",s)};const vn=function(e,t){switch(t){case"email":return(null==e?void 0:e.email)||"";case"nicename":case"display_name":return(null==e?void 0:e.nickname)||"";case"first_name":return(null==e?void 0:e.first_name)||"";case"last_name":return(null==e?void 0:e.last_name)||"";case"description":return(null==e?void 0:e.description)||""}};var yn=function(t){let{postId:n,postType:r,attributes:{has_field_link:o,author_field:a},fallback:l}=t;const{authorId:c,authorDetails:s}=(0,i.useSelect)((function(e){var t;const{getEditedEntityRecord:o,getUser:i,getUsers:a}=e(F.store),l=null===(t=o("postType",r,n))||void 0===t?void 0:t.author;return{authorId:l,authorDetails:l?i(l):null}}),[r,n]);return s?"yes"===o?(0,e.createElement)("a",{href:"#",rel:"noopener noreferrer"},vn(s,a)||l):vn(s,a)||l:null};function wn(){return wn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wn.apply(this,arguments)}var On=function(t){let{postId:n,postType:r,fallback:o,attributes:a,attributes:{has_field_link:l,taxonomy:c,separator:s}}=t;const u=V(r),{terms:p}=(0,i.useSelect)((function(e){return{terms:e("core").getEntityRecords("taxonomy",c||(u&&u.length>0?u[0].slug:""),{per_page:-1,post:n})||[]}}));if(0===p.length)return o;let d="span",f={};return"yes"===l&&(d="a",f.href="#",f.rel="noopener noreferrer"),p.map((function(t,n){return(0,e.createElement)(React.Fragment,null,(0,e.createElement)(d,wn({},f,{className:I()({[`ct-term-${t.id}`]:"yes"===a.termAccentColor},a.termClass),dangerouslySetInnerHTML:{__html:t.name}})),n!==p.length-1?s.replace(/ /g," "):"")}))};function _n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function En(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_n(Object(n),!0).forEach((function(t){Pn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_n(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Cn=function(){return(0,e.createElement)("span",{class:"ct-video-indicator"},(0,e.createElement)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"#fff"},(0,e.createElement)("path",{class:"ct-play-path",d:"M20,0C8.9,0,0,8.9,0,20s8.9,20,20,20s20-9,20-20S31,0,20,0z M16,29V11l12,9L16,29z"})))};var kn=function(t){let{postType:n,postId:r,attributes:a,attributes:{aspectRatio:l,width:c,height:s,imageAlign:u,has_field_link:p,sizeSlug:d,image_hover_effect:f,videoThumbnail:m}}=t;const[g,h]=(0,e.useState)(!1),b=(0,o.__experimentalUseBorderProps)(a),v=(0,o.useBlockProps)(En({className:I()("ct-dynamic-media wp-block-image",{[`align${u}`]:u},b.className),style:En(En({},b.style),{},{aspectRatio:l,width:c,height:s})},"none"!==f?{"data-hover":f}:{})),[y,w]=(0,F.useEntityProp)("postType",n,"featured_media",r),{media:O}=(0,i.useSelect)((function(e){const{getMedia:t}=e(F.store);return{media:y&&t(y,{context:"view"})}}),[y]),_=function(e,t){var n,r,o;return(null==e||null===(n=e.media_details)||void 0===n||null===(r=n.sizes)||void 0===r||null===(o=r[t])||void 0===o?void 0:o.source_url)||(null==e?void 0:e.source_url)}(O,d),E={height:l?"100%":s,width:!!l&&"100%",objectFit:!(!s&&!l)&&"cover"};if(!_)return(0,e.createElement)("figure",v,(0,e.createElement)("div",{className:"ct-dynamic-data-placeholder",style:En({},E)},(0,e.createElement)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60",preserveAspectRatio:"none",class:"components-placeholder__illustration","aria-hidden":"true",focusable:"false",style:{"min-height":"200px",height:!!l&&"100%",width:!!l&&"100%"}},(0,e.createElement)("path",{"vector-effect":"non-scaling-stroke",d:"M60 60 0 0"}))));let P=(0,e.createElement)("img",{style:En({},E),src:_,onLoad:function(){return h(!0)},loading:"lazy"});return!p||O.has_video||"yes"===m||g||(P=(0,e.createElement)("a",{href:"#"},P)),(0,e.createElement)("figure",v,P,O.has_video&&"yes"===m?(0,e.createElement)(Cn,null):null)},jn=n(1649),Sn=n.n(jn);n(8975),Sn()(console.error);var xn,In,Dn,Nn,Tn=n(4942);xn={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},In=["(","?"],Dn={")":["("],":":["?","?:"]},Nn=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var An={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function Rn(e){var t=function(e){for(var t,n,r,o,i=[],a=[];t=e.match(Nn);){for(n=t[0],(r=e.substr(0,t.index).trim())&&i.push(r);o=a.pop();){if(Dn[n]){if(Dn[n][0]===o){n=Dn[n][1]||n;break}}else if(In.indexOf(o)>=0||xn[o]<xn[n]){a.push(o);break}i.push(o)}Dn[n]||a.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&i.push(e),i.concat(a.reverse())}(e);return function(e){return function(e,t){var n,r,o,i,a,l,c=[];for(n=0;n<e.length;n++){if(a=e[n],i=An[a]){for(r=i.length,o=Array(r);r--;)o[r]=c.pop();try{l=i.apply(null,o)}catch(e){return e}}else l=t.hasOwnProperty(a)?t[a]:+a;c.push(l)}return c[0]}(t,e)}}var Mn={contextDelimiter:"",onMissingKey:null};function Bn(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},Mn)this.options[n]=void 0!==t&&n in t?t[n]:Mn[n]}function Fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ln(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fn(Object(n),!0).forEach((function(t){(0,Tn.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Bn.prototype.getPluralForm=function(e,t){var n,r,o,i=this.pluralForms[e];return i||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),o=function(e){var t=Rn(e);return function(e){return+t({n:e})}}(r)),i=this.pluralForms[e]=o),i(t)},Bn.prototype.dcnpgettext=function(e,t,n,r,o){var i,a,l;return i=void 0===o?0:this.getPluralForm(e,o),a=n,t&&(a=t+this.options.contextDelimiter+n),(l=this.data[e][a])&&l[i]?l[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)};var zn={"":{plural_forms:function(e){return 1===e?0:1}}},Hn=/^i18n\.(n?gettext|has_translation)(_|$)/,Vn=function(e,t,n){var r=new Bn({}),o=new Set,i=function(){o.forEach((function(e){return e()}))},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";r.data[t]=Ln(Ln(Ln({},zn),r.data[t]),e),r.data[t][""]=Ln(Ln({},zn[""]),r.data[t][""])},l=function(e,t){a(e,t),i()},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return r.data[e]||a(void 0,e),r.dcnpgettext(e,t,n,o,i)},s=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default"},u=function(e,t,r){var o=c(r,t,e);return n?(o=n.applyFilters("i18n.gettext_with_context",o,e,t,r),n.applyFilters("i18n.gettext_with_context_"+s(r),o,e,t,r)):o};if(e&&l(e,t),n){var p=function(e){Hn.test(e)&&i()};n.addAction("hookAdded","core/i18n",p),n.addAction("hookRemoved","core/i18n",p)}return{getLocaleData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return r.data[e]},setLocaleData:l,resetLocaleData:function(e,t){r.data={},r.pluralForms={},l(e,t)},subscribe:function(e){return o.add(e),function(){return o.delete(e)}},__:function(e,t){var r=c(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+s(t),r,e,t)):r},_x:u,_n:function(e,t,r,o){var i=c(o,void 0,e,t,r);return n?(i=n.applyFilters("i18n.ngettext",i,e,t,r,o),n.applyFilters("i18n.ngettext_"+s(o),i,e,t,r,o)):i},_nx:function(e,t,r,o,i){var a=c(i,o,e,t,r);return n?(a=n.applyFilters("i18n.ngettext_with_context",a,e,t,r,o,i),n.applyFilters("i18n.ngettext_with_context_"+s(i),a,e,t,r,o,i)):a},isRTL:function(){return"rtl"===u("ltr","text direction")},hasTranslation:function(e,t,o){var i,a,l=t?t+""+e:e,c=!(null===(i=r.data)||void 0===i||null===(a=i[null!=o?o:"default"])||void 0===a||!a[l]);return n&&(c=n.applyFilters("i18n.has_translation",c,e,t,o),c=n.applyFilters("i18n.has_translation_"+s(o),c,e,t,o)),c}}}(void 0,void 0,n(5224).defaultHooks);Vn.getLocaleData.bind(Vn),Vn.setLocaleData.bind(Vn),Vn.resetLocaleData.bind(Vn),Vn.subscribe.bind(Vn),Vn.__.bind(Vn),Vn._x.bind(Vn),Vn._n.bind(Vn),Vn._nx.bind(Vn),Vn.isRTL.bind(Vn),Vn.hasTranslation.bind(Vn);function Un(e){let{postId:t,postType:n}=e;const{authorDetails:r}=(0,i.useSelect)((function(e){var r;const{getEditedEntityRecord:o,getUser:i}=e(F.store),a=null===(r=o("postType",n,t))||void 0===r?void 0:r.author;return{authorDetails:a?i(a):null}}),[n,t]),a=null!=r&&r.avatar_urls?Object.values(r.avatar_urls):null,l=(null!=r&&r.avatar_urls&&Object.keys(r.avatar_urls),function(){const{avatarURL:e}=(0,i.useSelect)((function(e){const{getSettings:t}=e(o.store),{__experimentalDiscussionSettings:n}=t();return n}));return e}());return{src:a?a[a.length-1]:l}}function $n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$n(Object(n),!0).forEach((function(t){Wn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$n(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qn=function(t){let{postId:n,postType:r,attributes:i,attributes:{avatar_size:a,imageAlign:l,has_field_link:c}}=t;const s=(0,o.useBlockProps)({className:I()("ct-dynamic-media wp-block-image",{[`align${l}`]:l}),style:{}}),u=(0,o.__experimentalUseBorderProps)(i),p=Un({postId:n,postType:r});const d=(0,mn.addQueryArgs)((0,mn.removeQueryArgs)(p.src,["s"]),{s:2*a}),f=Gn({},u.style);let m=(0,e.createElement)("img",{style:Gn(Gn({},f),{},{width:`${a}px`,height:`${a}px`}),src:d,className:I()("avatar","avatar-"+a,"photo",u.className)});return c&&(m=(0,e.createElement)("a",{href:"#"},m)),(0,e.createElement)("figure",s,m)};function Zn(){return Zn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zn.apply(this,arguments)}function Kn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kn(Object(n),!0).forEach((function(t){Xn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Jn=function(n){let{fieldDescriptor:r,fieldsDescriptor:i,attributes:a,attributes:{align:l,tagName:c,before:s,after:u,fallback:p},postId:d,postType:f}=n;const m=(0,o.useBlockProps)({className:I()("ct-dynamic-data",{[`has-text-align-${l}`]:l})}),g=(0,o.__experimentalUseBorderProps)(a);let h=null;return"archive_title"===r.id&&(h=function(){return(0,t.__)("Archive Title","blocksy")}),"archive_description"===r.id&&(h=function(){return(0,t.__)("Archive Description","blocksy")}),"title"===r.id&&(h=ln),"excerpt"===r.id&&(h=sn),"date"===r.id&&(h=pn),"comments"===r.id&&(h=bn),"terms"===r.id&&(h=On),"author"===r.id&&(h=yn),h?(0,e.createElement)(c,Zn({},m,g,{style:Yn(Yn({},m.style||{}),g.style||{}),className:I()(m.className,g.className)}),i&&i.dynamic_styles&&(0,e.createElement)("style",null,i.dynamic_styles),s,(0,e.createElement)(h,{attributes:a,postId:d,postType:f,fallback:p}),u):null};var Qn=function(t){const{fieldDescriptor:n}=t;return"featured_image"===n.id?(0,e.createElement)(kn,t):"author_avatar"===n.id?(0,e.createElement)(qn,t):(0,e.createElement)(Jn,t)};function er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?er(Object(n),!0).forEach((function(t){nr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):er(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const rr={};var or=function(t){let{postId:n,fieldDescriptor:r}=t;const[o,i]=(0,e.useState)(rr),a=(0,e.useMemo)((function(){return`${n}-${r.provider}-${r.id}`}),[n,r.provider,r.id]);return(0,e.useEffect)((function(){rr[a]||fetch(`${wp.ajax.settings.url}?action=blocksy_dynamic_data_block_custom_field_data`,{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",body:JSON.stringify({post_id:n,field_provider:r.provider,field_id:r.id})}).then((function(e){return e.json()})).then((function(e){let{success:t,data:n}=e;t&&(rr[a]={value:n.field_data},i(tr(tr({},o),{},{[a]:{value:n.field_data}})))}))}),[n,r.provider,r.id,a,o]),{fieldData:o[a]?o[a]:null}};function ir(){return ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ir.apply(this,arguments)}function ar(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ar(Object(n),!0).forEach((function(t){cr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ar(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sr=function(t){let{fieldDescriptor:n,attributes:r,attributes:{align:i,tagName:a,before:l,after:c,fallback:s},fieldData:u}=t;const p=(0,o.useBlockProps)({className:I()("ct-dynamic-data",{[`has-text-align-${i}`]:i})}),d=(0,o.__experimentalUseBorderProps)(r);let f=!1,m=u.value||"";return m||(f=!0,m=s||""),!f&&m&&"string"==typeof m&&(m=l+m+c),(0,e.createElement)(a,ir({},p,d,{style:lr(lr({},p.style||{}),d.style||{}),className:I()(p.className,d.className),dangerouslySetInnerHTML:{__html:m}}))};function ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ur(Object(n),!0).forEach((function(t){dr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fr=function(t){let{fieldDescriptor:n,fieldData:r,attributes:i,attributes:{aspectRatio:a,width:l,height:c,imageAlign:s,has_field_link:u,image_hover_effect:p,sizeSlug:d}}=t;const f=(0,o.useBlockProps)(pr({className:I()("ct-dynamic-media wp-block-image",{[`align${s}`]:s}),style:{aspectRatio:a,width:l,height:c}},"none"!==p?{"data-hover":p}:{})),m=(0,o.__experimentalUseBorderProps)(i);let g=r.value.value.url;r.value.value.sizes[d]&&(g=r.value.value.sizes[d].url);const h=pr(pr({},m.style),{},{height:a?"100%":c,width:!!a&&"100%",objectFit:!(!c&&!a)&&"cover"});if(!g)return(0,e.createElement)("figure",f,(0,e.createElement)("div",{className:"ct-dynamic-data-placeholder",style:pr({},h)},(0,e.createElement)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60",preserveAspectRatio:"none",class:"components-placeholder__illustration","aria-hidden":"true",focusable:"false",style:{"min-height":"200px",height:!!a&&"100%",width:!!a&&"100%"}},(0,e.createElement)("path",{"vector-effect":"non-scaling-stroke",d:"M60 60 0 0"}))));let b=(0,e.createElement)("img",{style:pr({},h),src:g,className:m.className});return(0,e.createElement)("figure",f,b)};var mr=function(t){let{fieldDescriptor:n,postId:r,postType:o,attributes:i}=t;const{fieldData:a}=or({postId:r,fieldDescriptor:n});return a?"image"===n.type?(0,e.createElement)(fr,{fieldData:a,fieldDescriptor:n,attributes:i}):(0,e.createElement)(sr,{fieldData:a,fieldDescriptor:n,attributes:i}):null};var gr=function(t){let{product:n}=t;return(0,e.createElement)(e.RawHTML,null,null==n?void 0:n.price_html)};var hr=function(e){let{product:n}=e;return null!=n&&n.is_in_stock?(0,t.__)("In Stock","blocksy-companion"):(0,t.__)("Out of Stock","blocksy-companion")};var br=function(n){let{product:r}=n;const o=parseFloat(null==r?void 0:r.average_rating)/5*100+"%";return(0,e.createElement)("div",{className:"star-rating",role:"img","aria-label":"Rated 2.15 out of 5"},(0,e.createElement)("span",{style:{width:o}},(0,t.sprintf)((0,t.__)("Rated %s out of 5","blocksy-companion"),null==r?void 0:r.average_rating)))};var vr=function(e){let{product:t}=e;return(null==t?void 0:t.sku)||""};const yr=["product","isLoading"];function wr(){return wr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wr.apply(this,arguments)}function Or(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Or(Object(n),!0).forEach((function(t){Er(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Or(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Er(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pr(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}const Cr=function(t){let{fieldDescriptor:n,attributes:r,attributes:{align:i,tagName:a,before:l,after:c,fallback:s},postId:u,postType:d}=t;const f=wc.wcBlocksSharedContext.useProductDataContext(),{product:m,isLoading:g}=f,h=(Pr(f,yr),(0,o.useBlockProps)({className:I()("ct-dynamic-data",{[`has-text-align-${i}`]:i})})),b=(0,o.__experimentalUseBorderProps)(r);if(g)return(0,e.createElement)(p.Spinner,null);let v=null;return"price"===n.id&&(v=gr),"stock_status"===n.id&&(v=hr),"rating"===n.id&&(v=br),"sku"===n.id&&(v=vr),v?(0,e.createElement)(a,wr({},h,b,{style:_r(_r({},h.style||{}),b.style||{}),className:I()(h.className,b.className)}),l,(0,e.createElement)(v,{attributes:r,postId:u,postType:d,fallback:s,product:m}),c):null};var kr=function(e){const{fieldDescriptor:t,postId:n}=e,{withProductDataContext:r}=wc.wcBlocksSharedHocs;return r(Cr)(_r(_r({},e),{},{productId:n}))};var jr=function(t){let{fieldDescriptor:n,fieldsDescriptor:r,postId:o,postType:i,attributes:a,attributes:{tagName:l,align:c,field:s,before:u,after:p,fallback:d}}=t;return"woo"===n.provider?(0,e.createElement)(kr,{fieldDescriptor:n,attributes:a,postId:o,postType:i}):"wp"===n.provider?(0,e.createElement)(Qn,{fieldsDescriptor:r,fieldDescriptor:n,attributes:a,postId:o,postType:i}):(0,e.createElement)(mr,{fieldDescriptor:n,attributes:a,postId:o,postType:i})};function Sr(t){let{level:n,isPressed:r=!1}=t;const o={h1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",h2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",h3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",h4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",h5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",h6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z",p:"M6.2 15V5h3.2c1.2 0 2 .1 2.4.2.6.2 1 .5 1.4 1 .4.5.6 1.1.6 1.9 0 .6-.1 1.1-.3 1.6-.2.4-.5.8-.9 1-.3.2-.7.4-1 .5-.5.1-1.2.1-2.1.1H8.2V15h-2zm2-8.3v2.8h1.1c.8 0 1.3 0 1.6-.2.3-.1.5-.3.6-.5.2-.2.2-.5.2-.8 0-.4-.1-.7-.3-.9-.2-.2-.5-.4-.8-.4-.2 0-.7-.1-1.5-.1.1.1-.9.1-.9.1z",span:"M8.2 12c.2 1 .9 1.4 2 1.4s1.6-.4 1.6-1.2c0-.8-.5-1.1-2.1-1.5-2.7-.6-3.3-1.5-3.3-2.9C6.4 6.2 7.6 5 9.9 5c2.6 0 3.6 1.4 3.7 2.8h-2.1c-.1-.6-.4-1.2-1.7-1.2-.9 0-1.4.4-1.4 1 0 .7.4.9 2 1.3 2.9.7 3.6 1.7 3.6 3.1 0 1.8-1.3 3-3.9 3-2.5 0-3.8-1.2-4-3h2.1z",div:"M5.8 5h3.7c.8 0 1.5.1 1.9.2.6.2 1.1.5 1.5.9.4.4.7 1 1 1.6.2.6.3 1.4.3 2.4 0 .8-.1 1.5-.3 2.1-.3.7-.6 1.3-1.1 1.8-.3.3-.8.6-1.4.8-.4.1-1 .2-1.8.2H5.8V5zm2 1.7v6.6h1.5c.6 0 1 0 1.2-.1.3-.1.6-.2.8-.4.2-.2.4-.5.5-1 .1-.4.2-1.1.2-1.8 0-.8-.1-1.4-.2-1.8-.1-.4-.3-.7-.6-1-.2-.2-.6-.4-.9-.5-.3-.1-.8-.1-1.6-.1l-.9.1z"};return o.hasOwnProperty(n)?(0,e.createElement)(p.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:r},(0,e.createElement)(p.Path,{d:o[n]})):null}function xr(n){let{tagName:r,onChange:o}=n;return(0,e.createElement)(p.ToolbarDropdownMenu,{popoverProps:{className:"block-library-heading-level-dropdown"},icon:(0,e.createElement)(Sr,{level:r}),label:(0,t.__)("Change heading level","blocksy"),controls:["h1","h2","h3","h4","h5","h6","p","span","div"].map((function(n){{const i=n===r;return{icon:(0,e.createElement)(Sr,{level:n,isPressed:i}),label:n,title:{h1:(0,t.__)("Heading 1","blocksy"),h2:(0,t.__)("Heading 2","blocksy"),h3:(0,t.__)("Heading 3","blocksy"),h4:(0,t.__)("Heading 4","blocksy"),h5:(0,t.__)("Heading 5","blocksy"),h6:(0,t.__)("Heading 6","blocksy"),p:(0,t.__)("Paragraph","blocksy"),span:(0,t.__)("Span","blocksy"),div:(0,t.__)("Div","blocksy")}[n],isActive:i,onClick(){o(n)},role:"menuitemradio"}}}))})}const Ir=function(e){return"wp"===e.provider?"featured_image"===e.id||"author_avatar"===e.id:"image"===e.type};function Dr(){return Dr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dr.apply(this,arguments)}var Nr=function(t){let{fieldDescriptor:n,attributes:r,attributes:{align:i,imageAlign:a},setAttributes:l}=t;return(0,e.createElement)(o.BlockControls,{group:"block"},Ir(n)?(0,e.createElement)(o.BlockAlignmentControl,Dr({},"wp"===n.provider&&"author_avatar"===n.id?{controls:["none","left","center","right"]}:{},{value:a,onChange:function(e){return l({imageAlign:e})}})):(0,e.createElement)(React.Fragment,null,(0,e.createElement)(o.AlignmentControl,{value:i,onChange:function(e){return l({align:e})}}),(0,e.createElement)(xr,{tagName:r.tagName,onChange:function(e){return l({tagName:e})}})))};function Tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ar(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tr(Object(n),!0).forEach((function(t){Rr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Mr=(0,Je.getOptionsForBlock)("dynamic-data"),Br=function(){const e=document.body.classList.contains("post-type-ct_content_block");return{provider:"wp",fields:[{id:"title",label:(0,t.__)("Title","blocksy")},{id:"excerpt",label:(0,t.__)("Excerpt","blocksy")},{id:"date",label:(0,t.__)("Post Date","blocksy")},{id:"comments",label:(0,t.__)("Comments","blocksy")},{id:"terms",label:(0,t.__)("Terms","blocksy")},{id:"author",label:(0,t.__)("Author","blocksy")},{id:"featured_image",label:(0,t.__)("Featured Image","blocksy")},{id:"author_avatar",label:(0,t.__)("Author Avatar","blocksy")},...e?[{id:"archive_title",label:(0,t.__)("Archive Title","blocksy")},{id:"archive_description",label:(0,t.__)("Archive Description","blocksy")}]:[]]}},Fr=function(){return void 0!==window.wc?[{provider:"woo",fields:[{id:"price",label:(0,t.__)("Price","blocksy")},{id:"rating",label:(0,t.__)("Rating","blocksy")},{id:"stock_status",label:(0,t.__)("Stock Status","blocksy")},{id:"sku",label:(0,t.__)("SKU","blocksy")}]}]:[]};let Lr={};const zr={};var Hr=function(n){let{postId:r,postType:o}=n;const[i,a]=(0,e.useState)({fields:[Br(),..."product"===o?Fr():[]]});(0,e.useEffect)((function(){!function(e,t,n){if(!zr[e])return Lr[e]?void Lr[e].push(n):(Lr[e]=[n],void fetch(`${wp.ajax.settings.url}?action=blocksy_blocks_retrieve_dynamic_data_descriptor`,{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",body:JSON.stringify({post_id:e})}).then((function(e){return e.json()})).then((function(n){let{success:r,data:o}=n;const i=Ar(Ar({},o),{},{fields:[Br(),..."product"===t?Fr():[],...o.fields]});zr[e]=i,Lr[e].map((function(e){return e(i)}))})));n(zr[e])}(r,o,(function(e){a(e)}))}),[r,o]);const l=V(o);return{fieldsDescriptor:i,options:Mr,fieldsChoices:i.fields.reduce((function(e,n){return[...e,...n.fields.filter((function(e){return"wp"!==n.provider||"terms"!==e.id||l&&l.length>0})).map((function(e){return{group:(r=n.provider,{wp:"WordPress",woo:"WooCommerce",acf:"ACF",metabox:"MetaBox",custom:(0,t.__)("Custom","blocksy"),toolset:"Toolset",jetengine:"Jet Engine",pods:"Pods"}[r]||(0,t.__)("Unknown","blocksy")),key:`${n.provider}:${e.id}`,value:e.label};var r}))]}),[])}};var Vr=function(n){let{clientId:r,attributes:{aspectRatio:a,width:l,height:c,sizeSlug:s},setAttributes:u}=n;const d=(0,i.useSelect)((function(e){return e(o.store).getSettings().imageSizes}),[]).map((function(e){let{name:t,slug:n}=e;return{value:n,label:t}})),f=(0,p.__experimentalUseCustomUnits)({availableUnits:(0,o.useSetting)("spacing.units")||["px","%","vw","em","rem"]}),m=function(e,t){const n=parseFloat(t);isNaN(n)&&t||u({[e]:n<0?"0":t})};return(0,e.createElement)(p.__experimentalToolsPanel,{label:(0,t.__)("Image Settings","blocksy"),resetAll:function(){u({aspectRatio:"auto",width:void 0,height:void 0,sizeSlug:void 0})}},(0,e.createElement)(p.__experimentalToolsPanelItem,{hasValue:function(){return!!a},label:(0,t.__)("Aspect Ratio","blocksy"),onDeselect:function(){return u({aspectRatio:void 0})},resetAllFilter:function(){return{aspectRatio:"auto"}},isShownByDefault:!0,key:r},(0,e.createElement)(p.SelectControl,{__nextHasNoMarginBottom:!0,label:(0,t.__)("Aspect Ratio","blocksy"),value:a,options:[{label:(0,t.__)("Original","blocksy"),value:"auto"},{label:(0,t.__)("Square","blocksy"),value:"1"},{label:(0,t.__)("16:9","blocksy"),value:"16/9"},{label:(0,t.__)("4:3","blocksy"),value:"4/3"},{label:(0,t.__)("3:2","blocksy"),value:"3/2"},{label:(0,t.__)("9:16","blocksy"),value:"9/16"},{label:(0,t.__)("3:4","blocksy"),value:"3/4"},{label:(0,t.__)("2:3","blocksy"),value:"2/3"}],onChange:function(e){return u({aspectRatio:e})}})),(0,e.createElement)(p.__experimentalToolsPanelItem,{style:{"grid-column":"span 1 / auto"},hasValue:function(){return!!l},label:(0,t.__)("Width","blocksy"),onDeselect:function(){return u({width:void 0})},resetAllFilter:function(){return{width:void 0}},isShownByDefault:!0,key:r},(0,e.createElement)(p.__experimentalUnitControl,{label:(0,t.__)("Width","blocksy"),labelPosition:"top",value:l||"",min:0,onChange:function(e){return m("width",e)},units:f})),(0,e.createElement)(p.__experimentalToolsPanelItem,{style:{"grid-column":"span 1 / auto"},hasValue:function(){return!!c},label:(0,t.__)("Height","blocksy"),onDeselect:function(){return u({height:void 0})},resetAllFilter:function(){return{height:void 0}},isShownByDefault:!0,key:r},(0,e.createElement)(p.__experimentalUnitControl,{label:(0,t.__)("Height","blocksy"),labelPosition:"top",value:c||"",min:0,onChange:function(e){return m("height",e)},units:f})),!!d.length&&(0,e.createElement)(p.__experimentalToolsPanelItem,{hasValue:function(){return!!s},label:(0,t.__)("Resolution","blocksy"),onDeselect:function(){return u({sizeSlug:void 0})},resetAllFilter:function(){return{sizeSlug:void 0}},isShownByDefault:!1,key:r},(0,e.createElement)(p.SelectControl,{__nextHasNoMarginBottom:!0,label:(0,t.__)("Resolution","blocksy"),value:s||"full",options:d,onChange:function(e){return u({sizeSlug:e})},help:(0,t.__)("Select the size of the source image.","blocksy")})))};function Ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ur(Object(n),!0).forEach((function(t){Gr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wr=function(n){let{fieldDescriptor:r,fieldsDescriptor:i,attributes:a,setAttributes:l,options:c,fieldsChoices:s,clientId:u,taxonomies:d}=n;return(0,e.createElement)(React.Fragment,null,(0,e.createElement)(o.InspectorControls,null,(0,e.createElement)(p.PanelBody,null,(0,e.createElement)(Je.OptionsPanel,{purpose:"gutenberg",onChange:function(e,t){l({[e]:t})},options:$r($r({field:{type:"ct-select",label:(0,t.__)("Content Source","blocksy"),value:"",defaultToFirstItem:!1,choices:s,purpose:"default"}},"wp:terms"===a.field&&d&&d.length>0?{taxonomy:{type:"ct-select",label:(0,t.__)("Taxonomy","blocksy"),value:"",design:"inline",purpose:"default",choices:d.map((function(e){let{name:t,slug:n}=e;return{key:n,value:t}}))}}:{}),c),value:$r($r({},a),i&&i.has_taxonomies_customization?{has_taxonomies_customization:"yes"}:{}),hasRevertButton:!1}),Ir(r)&&"wp:author_avatar"!==a.field&&(0,e.createElement)(Je.OptionsPanel,{purpose:"gutenberg",onChange:function(e,t){l({[e]:t})},options:$r($r({lightbox:{type:"ct-switch",label:(0,t.__)("Expand on click","blocksy"),value:"no"}},"wp:featured_image"===a.field?{videoThumbnail:{type:"ct-switch",label:(0,t.__)("Video Thumbnail","blocksy"),value:"no"}}:{}),{},{image_hover_effect:{label:(0,t.__)("Hover Effect","blocksy"),type:"ct-select",value:"none",view:"text",design:"inline",choices:{none:(0,t.__)("None","blocksy"),"zoom-in":(0,t.__)("Zoom In","blocksy"),"zoom-out":(0,t.__)("Zoom Out","blocksy")}}}),value:a,hasRevertButton:!1})),Ir(r)&&"wp:author_avatar"!==a.field&&(0,e.createElement)(React.Fragment,null,(0,e.createElement)(Vr,{clientId:u,attributes:a,setAttributes:l}),(0,e.createElement)(p.PanelBody,null,(0,e.createElement)(p.TextareaControl,{label:(0,t.__)("Alternative Text","blocksy"),value:a.alt_text||"",onChange:function(e){l({alt_text:e})},help:(0,e.createElement)(React.Fragment,null,(0,e.createElement)(p.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,t.__)("Describe the purpose of the image.","blocksy")),(0,e.createElement)("br",null),(0,t.__)("Leave empty if decorative.","blocksy")),__nextHasNoMarginBottom:!0}))),"wp:author_avatar"===a.field&&(0,e.createElement)(p.PanelBody,null,(0,e.createElement)(p.RangeControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:(0,t.__)("Image size","blocksy"),onChange:function(e){return l({avatar_size:e})},min:5,max:500,initialPosition:null==a?void 0:a.avatar_size,value:null==a?void 0:a.avatar_size})),!Ir(r)&&(0,e.createElement)(p.PanelBody,null,(0,e.createElement)(Je.OptionsPanel,{purpose:"gutenberg",onChange:function(e,t){l({[e]:t})},options:$r({before:{type:"text",label:(0,t.__)("Before","blocksy"),value:""},after:{type:"text",label:(0,t.__)("After","blocksy"),value:""}},"wp"!==r.provider||"wp"===r.provider&&("excerpt"===r.id||"terms"===r.id||"author"===r.id)?{fallback:{type:"text",label:(0,t.__)("Fallback","blocksy"),value:(0,t.__)("Custom field fallback","blocksy")}}:{}),value:a,hasRevertButton:!1}))),"wp:terms"===a.field&&(0,e.createElement)(o.InspectorControls,{group:"advanced"},(0,e.createElement)(p.TextControl,{__nextHasNoMarginBottom:!0,autoComplete:"off",label:(0,t.__)("Term additional class","blocksy"),value:a.termClass,onChange:function(e){l({termClass:e})},help:(0,t.__)("Additional class for term items. Useful for styling.","blocksy")})))};function qr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qr(Object(n),!0).forEach((function(t){Kr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Yr=function(t){let{clientId:n,attributes:r,setAttributes:o,context:i}=t;const{postId:a,postType:l}=i,{fieldsDescriptor:c,options:s,fieldsChoices:u}=Hr({postId:a,postType:l}),p=V(l),d=(0,e.useMemo)((function(){if(!r.field||!c)return null;const[e,t]=r.field.split(":"),n=c.fields.find((function(t){let{provider:n}=t;return n===e}));if(!n)return null;const o=n.fields.find((function(e){let{id:n}=e;return n===t}));return o?Zr(Zr({},o),{},{provider:n.provider}):null}),[r.field,c]);return(0,e.useEffect)((function(){"wp:terms"===r.field&&p&&0===p.length&&o({field:"wp:title"})}),[p,r.field]),d?(0,e.createElement)(React.Fragment,null,(0,e.createElement)(Nr,{fieldDescriptor:d,attributes:r,setAttributes:o}),(0,e.createElement)(jr,{attributes:r,postId:a,postType:l,fieldsDescriptor:c,fieldDescriptor:d}),(0,e.createElement)(Wr,{options:s,fieldDescriptor:d,attributes:r,setAttributes:o,fieldsChoices:u,clientId:n,fieldsDescriptor:c,taxonomies:p})):null},Xr=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"blocksy/dynamic-data","category":"blocksy-blocks","attributes":{"tagName":{"type":"string","default":"div"},"field":{"type":"string","default":"wp:title"},"before":{"type":"string","default":""},"after":{"type":"string","default":""},"fallback":{"type":"string","default":""},"align":{"type":"string"},"imageAlign":{"type":"string"},"aspectRatio":{"type":"string","default":"auto"},"width":{"type":"string"},"height":{"type":"string"},"sizeSlug":{"type":"string"},"alt_text":{"type":"string","default":""},"avatar_size":{"type":"number","default":96},"avatarIsLink":{"type":"boolean","default":false},"avatarLinkTarget":{"type":"string","default":"_self"},"featuredIsLink":{"type":"boolean","default":false},"featuredLinkTarget":{"type":"string","default":"_self"},"taxonomy":{"type":"string","default":""},"lightbox":{"type":"string","default":"no"},"videoThumbnail":{"type":"string","default":"no"},"image_hover_effect":{"type":"string","default":"none"},"termClass":{"type":"string","default":""},"termAccentColor":{"type":"string","default":"yes"}},"supports":{"className":false,"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"__experimentalBorder":{"color":true,"radius":true,"width":true,"__experimentalDefaultControls":{"color":true,"radius":true,"width":true},"__experimentalSelector":"img, .block-editor-media-placeholder, .wp-block-post-featured-image__overlay","__experimentalSkipSerialization":true},"color":{"gradients":true,"link":true,"__experimentalDefaultControls":{"text":true,"background":true,"link":true}},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalDefaultControls":{"fontSize":true}}},"usesContext":["postId","postType","queryId"]}');function Jr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jr(Object(n),!0).forEach((function(t){eo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function eo(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const to=(0,Je.getOptionsForBlock)("dynamic-data"),no=(0,Je.getAttributesFromOptions)(to);(0,r.registerBlockType)("blocksy/dynamic-data",Qr(Qr({},Xr),{},{title:(0,t.__)("Dynamic Data","blocksy"),description:(0,t.__)("Insert dynamic data anywhere you might want.","blocksy"),attributes:Qr(Qr({},Xr.attributes),no),icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)("path",{d:"M17.9 10.5c-.1-.3-.4-.4-.7-.4h-3.7V4.6c0-.4-.2-.7-.6-.8h-.2c-.3 0-.5.1-.7.4l-5.7 8.6c-.2.3-.2.6 0 .8 0 .2.3.4.6.4h3.7v5.5c0 .4.2.7.6.8h.2c.3 0 .5-.1.7-.4l5.7-8.6c.2-.2.2-.6.1-.8zm-5.9 7v-4.4c0-.3-.3-.6-.6-.6H7.9l4.1-6v4.4c0 .3.3.6.6.6h3.5l-4.1 6z"}))},edit:function(t){return(0,e.createElement)(Yr,t)},save:function(){return null},__experimentalLabel:function(e){return"wp:title"===e.field?(0,t.__)("Dynamic Title","blocksy"):"wp:excerpt"===e.field?(0,t.__)("Dynamic Excerpt","blocksy"):"wp:date"===e.field?(0,t.__)("Dynamic Post Date","blocksy"):"wp:comments"===e.field?(0,t.__)("Dynamic Comments","blocksy"):"wp:terms"===e.field?(0,t.__)("Dynamic Terms","blocksy"):"wp:author"===e.field?(0,t.__)("Dynamic Author","blocksy"):"wp:featured_image"===e.field?(0,t.__)("Dynamic Featured Image","blocksy"):"wp:author_avatar"===e.field?(0,t.__)("Dynamic Author Avatar","blocksy"):"woo:price"===e.field?(0,t.__)("Dynamic Price","blocksy"):"woo:stock_status"===e.field?(0,t.__)("Dynamic Stock Status","blocksy"):"woo:sku"===e.field?(0,t.__)("Dynamic SKU","blocksy"):"woo:rating"===e.field?(0,t.__)("Dynamic Rating","blocksy"):(0,t.__)("Dynamic Data","blocksy")}}));const ro={inputFontColor:"",customInputFontColor:"",inputFontColorFocus:"",customInputFontColorFocus:"",inputIconColor:"",customInputIconColor:"",inputIconColorFocus:"",customInputIconColorFocus:"",inputBorderColor:"",customInputBorderColor:"",inputBorderColorFocus:"",customInputBorderColorFocus:"",inputBackgroundColor:"",customInputBackgroundColor:"",inputBackgroundColorFocus:"",customInputBackgroundColorFocus:"",buttonBackgroundColor:"",customButtonBackgroundColor:"",buttonBackgroundColorHover:"",customButtonBackgroundColorHover:"",dropdownTextInitialColor:"",customDropdownTextInitialColor:"",dropdownTextHoverColor:"",customDropdownTextHoverColor:"",dropdownBackgroundColor:"",customDropdownBackgroundColor:"",shadowColor:"",customShadowColor:""},oo=$e(ro);function io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ao(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?io(Object(n),!0).forEach((function(t){lo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):io(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lo(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const co=ao({enable_live_results:"no",live_results_images:"yes",searchBoxHeight:"",searchProductPrice:"no",searchProductStatus:"no",search_box_placeholder:(0,t.__)("Search","blocksy"),taxonomy_filter_label:(0,t.__)("Select category","blocksy"),search_through:{post:!0,page:!0,product:!0,custom:!0},taxonomy_filter_visibility:{desktop:!0,tablet:!0,mobile:!1}},ro);var so=function(t){let{attributes:n,setAttributes:r,buttonStyles:i}=t;const[a,l]=(0,e.useState)(!1),{search_box_button_text:c,search_box_placeholder:s,taxonomy_filter_label:u,buttonPosition:d,has_taxonomy_filter:f,buttonUseText:m}=n,g=(0,e.useRef)({taxonomy:"",icon:""}),h=(0,e.useCallback)((function(e){const t=document.createElement("div");t.innerHTML=e;const n=t.querySelector('[type="search"]');n&&n.setAttribute("placeholder",s);return t.querySelector(".ct-search-box").style="",t.querySelector(".ct-select-taxonomy")&&(g.current=ao(ao({},g.current),{},{taxonomy:t.querySelector(".ct-select-taxonomy").outerHTML})),t.querySelector(".ct-icon")&&(g.current=ao(ao({},g.current),{},{icon:t.querySelector(".ct-icon").outerHTML})),t.innerHTML}),[s,d,i]),{isLoading:b}=Ue("search",ao(ao({},n),co),h);return(0,e.useEffect)((function(){l(!0),setTimeout((function(){l(!1)}),100)}),[n]),b?(0,e.createElement)(p.Spinner,null):(0,e.createElement)("form",{role:"search",method:"get",className:"ct-search-form","data-form-controls":d,"data-taxonomy-filter":"yes"===f?"true":"false","data-submit-button":"yes"===m?"text":"icon","data-updating":a?"yes":"no"},(0,e.createElement)("input",{type:"search",value:s,onChange:function(e){r({search_box_placeholder:e.target.value})},placeholder:"Search",name:"s",autocomplete:"off",title:"Search for...","aria-label":"Search for..."}),(0,e.createElement)("div",{className:"ct-search-form-controls"},"yes"===f?(0,e.createElement)("span",{className:"ct-fake-select-container"},(0,e.createElement)("select",{className:"ct-select-taxonomy"}),(0,e.createElement)(o.RichText,{tagName:"span",className:"ct-fake-select",value:u,placeholder:"Select Category",allowedFormats:[],onChange:function(e){return r({taxonomy_filter_label:e})}})):null,(0,e.createElement)("div",{className:"wp-element-button","data-button":`${d}:${"yes"===m?"text":"icon"}`,"aria-label":"Search button",style:i},"yes"===m?(0,e.createElement)(o.RichText,{tagName:"span",value:c,placeholder:"Search",allowedFormats:[],onChange:function(e){return r({search_box_button_text:e})}}):(0,e.createElement)(e.RawHTML,null,g.current.icon),(0,e.createElement)("span",{className:"ct-ajax-loader"},(0,e.createElement)("svg",{viewBox:"0 0 24 24"},(0,e.createElement)("circle",{cx:"12",cy:"12",r:"10",opacity:"0.2",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"2"}),(0,e.createElement)("path",{d:"m12,2c5.52,0,10,4.48,10,10",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"2"},(0,e.createElement)("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"0.6s",from:"0 12 12",to:"360 12 12",repeatCount:"indefinite"})))))))};const uo=(0,e.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(p.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"9.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,e.createElement)(p.Rect,{x:"16",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),po=(0,e.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(p.Rect,{x:"4.75",y:"7.75",width:"14.5",height:"8.5",rx:"1.25",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),(0,e.createElement)(p.Rect,{x:"8",y:"11",width:"8",height:"2",fill:"currentColor"}));function fo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fo(Object(n),!0).forEach((function(t){go(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function go(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ho=(0,o.withColors)({textColor:"color"},{inputFontColor:"color"},{inputFontColorFocus:"color"},{inputIconColor:"color"},{inputIconColorFocus:"color"},{inputBorderColor:"color"},{inputBorderColorFocus:"color"},{inputBackgroundColor:"color"},{inputBackgroundColorFocus:"color"},{buttonBackgroundColor:"color"},{buttonBackgroundColorHover:"color"},{dropdownTextInitialColor:"color"},{dropdownTextHoverColor:"color"},{dropdownBackgroundColor:"color"},{shadowColor:"color"})((function(n){var r,i;let{attributes:a,setAttributes:l,clientId:c,className:s,inputFontColor:u,setInputFontColor:d,inputFontColorFocus:m,setInputFontColorFocus:g,inputIconColor:h,setInputIconColor:b,inputIconColorFocus:v,setInputIconColorFocus:y,inputBorderColor:w,setInputBorderColor:O,inputBorderColorFocus:_,setInputBorderColorFocus:E,inputBackgroundColor:P,setInputBackgroundColor:C,inputBackgroundColorFocus:k,setInputBackgroundColorFocus:j,buttonBackgroundColor:S,setButtonBackgroundColor:x,buttonBackgroundColorHover:I,setButtonBackgroundColorHover:D,dropdownTextInitialColor:N,setDropdownTextInitialColor:T,dropdownTextHoverColor:A,setDropdownTextHoverColor:R,dropdownBackgroundColor:M,setDropdownBackgroundColor:B,shadowColor:F,setShadowColor:L}=n;const{buttonUseText:z="no",buttonPosition:H,enable_live_results:V}=a,U=null==a||null===(r=a.style)||void 0===r||null===(i=r.border)||void 0===i?void 0:i.radius,$=(0,e.useRef)(),G=(0,o.useBlockProps)({ref:$,className:{"ct-search-box":!0,className:s},style:mo(mo(mo({"--theme-form-text-initial-color":null==u?void 0:u.color,"--theme-form-text-focus-color":null==m?void 0:m.color,"--theme-form-field-border-initial-color":null==w?void 0:w.color,"--theme-form-field-border-focus-color":null==_?void 0:_.color,"--theme-form-field-background-initial-color":null==P?void 0:P.color,"--theme-form-field-background-focus-color":null==k?void 0:k.color},U?{"--theme-form-field-border-radius":`${"string"==typeof U?U:`${U.topLeft} ${U.topRight} ${U.bottomLeft} ${U.bottomRight}`}`}:{}),null!=a&&a.searchBoxHeight?{"--theme-form-field-height":`${a.searchBoxHeight}px`}:{}),"yes"===V?{"--theme-link-initial-color":null==N?void 0:N.color,"--theme-link-hover-color":null==A?void 0:A.color,"--search-dropdown-background":null==M?void 0:M.color,"--search-dropdown-box-shadow-color":null==F?void 0:F.color}:{})});return(0,e.createElement)("div",G,(0,e.createElement)(so,{blockProps:G,attributes:a,setAttributes:l,buttonStyles:mo(mo(mo({},null!=h&&h.color?{"--theme-button-text-initial-color":h.color}:{}),null!=v&&v.color?{"--theme-button-text-hover-color":v.color}:{}),"outside"===H?mo(mo({},null!=S&&S.color?{"--theme-button-background-initial-color":S.color}:{}),null!=I&&I.color?{"--theme-button-background-hover-color":I.color}:{}):{})}),(0,e.createElement)(Qe,{attributes:a,setAttributes:l,options:wo}),(0,e.createElement)(o.BlockControls,null,(0,e.createElement)(p.ToolbarGroup,null,(0,e.createElement)(p.ToolbarButton,{title:(0,t.__)("Button Outside"),icon:uo,onClick:function(){l({buttonPosition:"outside"===H?"inside":"outside"})},className:"outside"===H?"is-pressed":void 0}),(0,e.createElement)(p.ToolbarButton,{title:(0,t.__)("Use button with text"),icon:po,onClick:function(){l({buttonUseText:"no"===z?"yes":"no"})},className:"yes"===z?"is-pressed":void 0}))),(0,e.createElement)(o.InspectorControls,{group:"styles"},(0,e.createElement)(f,{label:(0,t.__)("Input Font Color","blocksy"),resetAll:function(){d(ro.inputFontColor),g(ro.inputFontColorFocus)},panelId:c,settings:[{colorValue:u.color,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return d(e||ro.inputFontColor)}},{colorValue:m.color,label:(0,t.__)("Focus","blocksy"),onColorChange:function(e){return g(e||ro.inputFontColorFocus)}}]}),(0,e.createElement)(f,{label:(0,t.__)("Input Border Color","blocksy"),resetAll:function(){O(ro.inputBorderColor),E(ro.inputBorderColorFocus)},panelId:c,settings:[{colorValue:w.color,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return O(e||ro.inputBorderColor)}},{colorValue:_.color,label:(0,t.__)("Focus","blocksy"),onColorChange:function(e){return E(e||ro.inputBorderColorFocus)}}]}),(0,e.createElement)(f,{label:(0,t.__)("Input Background Color","blocksy"),resetAll:function(){C(ro.inputBackgroundColor),j(ro.inputBackgroundColorFocus)},panelId:c,settings:[{colorValue:P.color,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return C(e||ro.inputBackgroundColor)}},{colorValue:k.color,label:(0,t.__)("Focus","blocksy"),onColorChange:function(e){return j(e||ro.inputBackgroundColorFocus)}}]}),(0,e.createElement)(f,{label:"yes"===z?(0,t.__)("Button Text Color","blocksy"):(0,t.__)("Button Icon Color","blocksy"),resetAll:function(){b(ro.inputIconColor),y(ro.inputIconColorFocus)},panelId:c,settings:[{colorValue:h.color,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return b(e||ro.inputIconColor)}},{colorValue:v.color,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return y(e||ro.inputIconColorFocus)}}]}),"outside"===H?(0,e.createElement)(f,{label:(0,t.__)("Button Background Color","blocksy"),resetAll:function(){x(ro.buttonBackgroundColor),D(ro.buttonBackgroundColorHover)},panelId:c,settings:[{colorValue:S.color,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return x(e||ro.buttonBackgroundColor)}},{colorValue:I.color,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return D(e||ro.buttonBackgroundColorHover)}}]}):null,"yes"===V?(0,e.createElement)(React.Fragment,null,(0,e.createElement)(f,{label:(0,t.__)("Dropdown Text Color","blocksy"),resetAll:function(){T(ro.dropdownTextInitialColor),R(ro.dropdownTextHoverColor)},panelId:c,settings:[{colorValue:N.color,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return T(e||ro.dropdownTextInitialColor)}},{colorValue:A.color,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return R(e||ro.dropdownTextHoverColor)}}]}),(0,e.createElement)(f,{label:(0,t.__)("Dropdown Background Color","blocksy"),resetAll:function(){B(ro.dropdownBackgroundColor)},panelId:c,settings:[{colorValue:M.color,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return B(e||ro.dropdownBackgroundColor)}}]}),(0,e.createElement)(f,{label:(0,t.__)("Dropdown Shadow Color","blocksy"),resetAll:function(){L(ro.shadowColor)},panelId:c,settings:[{colorValue:F.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return L(e||ro.shadowColor)}}]})):null))}));function bo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bo(Object(n),!0).forEach((function(t){yo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yo(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const wo=He("search"),Oo=ze(wo);(0,r.registerBlockType)("blocksy/search",{apiVersion:3,title:(0,t.__)("Advanced Search","blocksy"),description:(0,t.__)("Insert a search block anywhere on the site.","blocksy"),icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{d:"m19.7 18.5-3-2.9c1-1.3 1.6-2.8 1.6-4.5 0-3.9-3.2-7.2-7.2-7.2S4 7.2 4 11.2s3.2 7.2 7.2 7.2c1.7 0 3.3-.6 4.5-1.6l3 3c.1.1.3.2.5.2s.4-.1.5-.2c.3-.4.3-1 0-1.3zM5.6 11.2c0-3.1 2.5-5.5 5.5-5.5s5.6 2.4 5.6 5.5-2.5 5.5-5.5 5.5-5.6-2.5-5.6-5.5z"}))},category:"blocksy-blocks",attributes:vo(vo({},Oo),oo),supports:{spacing:{margin:!0,__experimentalDefaultControls:{margin:!0}},__experimentalBorder:{color:!1,radius:!0,width:!1,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!1,radius:!0,width:!1}}},edit:function(t){return(0,e.createElement)(ho,t)},save:function(){return(0,e.createElement)("div",null,"Blocksy: Search Block")}})}()}();
     49 */if("function"==typeof Symbol&&Symbol.for){var y=Symbol.for;n=y("react.element"),r=y("react.portal"),o=y("react.fragment"),i=y("react.strict_mode"),a=y("react.profiler"),l=y("react.provider"),c=y("react.context"),s=y("react.forward_ref"),u=y("react.suspense"),p=y("react.suspense_list"),d=y("react.memo"),f=y("react.lazy"),m=y("react.block"),g=y("react.server.block"),h=y("react.fundamental"),b=y("react.debug_trace_mode"),v=y("react.legacy_hidden")}function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case a:case i:case u:case p:return e;default:switch(e=e&&e.$$typeof){case c:case s:case f:case d:case l:return e;default:return t}}case r:return t}}}t.isContextConsumer=function(e){return w(e)===c}},2973:function(e,t,n){"use strict";e.exports=n(8359)},4823:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var o=r(n(3366)),i=r(n(7462)),a=r(n(7363)),l=r(n(1533));let c,s,u,p,d,f=[],m=e=>"undefined"!=typeof window&&window.requestAnimationFrame(e),g=e=>"undefined"!=typeof window&&window.cancelAnimationFrame(e),h=()=>Date.now();const b=(e,t)=>s={fn:e,transform:t},v=e=>f=e,y=e=>c=e,w=e=>u=e,O=e=>p=e,_=e=>d=e;var E=Object.freeze({get bugfixes(){return c},get applyAnimatedValues(){return s},get colorNames(){return f},get requestFrame(){return m},get cancelFrame(){return g},get interpolation(){return u},get now(){return h},get defaultElement(){return p},get createAnimatedStyle(){return d},injectApplyAnimatedValues:b,injectColorNames:v,injectBugfixes:y,injectInterpolation:w,injectFrame:(e,t)=>{var n=[e,t];return m=n[0],g=n[1],n},injectNow:e=>h=e,injectDefaultElement:O,injectCreateAnimatedStyle:_});class P{attach(){}detach(){}getValue(){}getAnimatedValue(){return this.getValue()}addChild(e){}removeChild(e){}getChildren(){return[]}}const C=e=>Object.keys(e).map((t=>e[t]));class k extends P{constructor(){var e;super(...arguments),e=this,this.children=[],this.getChildren=()=>this.children,this.getPayload=function(t){return void 0===t&&(t=void 0),void 0!==t&&e.payload?e.payload[t]:e.payload||e}}addChild(e){0===this.children.length&&this.attach(),this.children.push(e)}removeChild(e){const t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()}}class j extends k{constructor(){super(...arguments),this.payload=[],this.getAnimatedValue=()=>this.getValue(),this.attach=()=>this.payload.forEach((e=>e instanceof P&&e.addChild(this))),this.detach=()=>this.payload.forEach((e=>e instanceof P&&e.removeChild(this)))}}class S extends k{constructor(){super(...arguments),this.payload={},this.getAnimatedValue=()=>this.getValue(!0),this.attach=()=>C(this.payload).forEach((e=>e instanceof P&&e.addChild(this))),this.detach=()=>C(this.payload).forEach((e=>e instanceof P&&e.removeChild(this)))}getValue(e){void 0===e&&(e=!1);const t={};for(const n in this.payload){const r=this.payload[n];(!e||r instanceof P)&&(t[n]=r instanceof P?r[e?"getAnimatedValue":"getValue"]():r)}return t}}class x extends S{constructor(e){super(),!(e=e||{}).transform||e.transform instanceof P||(e=s.transform(e)),this.payload=e}}const I={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199};class D{static create(e,t,n){if("function"==typeof e)return e;if(u&&e.output&&"string"==typeof e.output[0])return u(e);if(Array.isArray(e))return D.create({range:e,output:t,extrapolate:n||"extend"});let r=e.output,o=e.range||[0,1],i=e.easing||(e=>e),a="extend",l=e.map;void 0!==e.extrapolateLeft?a=e.extrapolateLeft:void 0!==e.extrapolate&&(a=e.extrapolate);let c="extend";return void 0!==e.extrapolateRight?c=e.extrapolateRight:void 0!==e.extrapolate&&(c=e.extrapolate),e=>{let t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,o);return function(e,t,n,r,o,i,a,l,c){let s=c?c(e):e;if(s<t){if("identity"===a)return s;"clamp"===a&&(s=t)}if(s>n){if("identity"===l)return s;"clamp"===l&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=i(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,o[t],o[t+1],r[t],r[t+1],i,a,c,l)}}}const N="[-+]?\\d*\\.?\\d+",T=N+"%";function A(){return"\\(\\s*("+Array.prototype.slice.call(arguments).join(")\\s*,\\s*(")+")\\s*\\)"}const R=new RegExp("rgb"+A(N,N,N)),M=new RegExp("rgba"+A(N,N,N,N)),B=new RegExp("hsl"+A(N,T,T)),F=new RegExp("hsla"+A(N,T,T,N)),L=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,z=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,H=/^#([0-9a-fA-F]{6})$/,V=/^#([0-9a-fA-F]{8})$/;function U(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function $(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=U(o,r,e+1/3),a=U(o,r,e),l=U(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*l)<<8}function G(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function W(e){return(parseFloat(e)%360+360)%360/360}function q(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Z(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function K(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=H.exec(e))?parseInt(t[1]+"ff",16)>>>0:I.hasOwnProperty(e)?I[e]:(t=R.exec(e))?(G(t[1])<<24|G(t[2])<<16|G(t[3])<<8|255)>>>0:(t=M.exec(e))?(G(t[1])<<24|G(t[2])<<16|G(t[3])<<8|q(t[4]))>>>0:(t=L.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=V.exec(e))?parseInt(t[1],16)>>>0:(t=z.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=B.exec(e))?(255|$(W(t[1]),Z(t[2]),Z(t[3])))>>>0:(t=F.exec(e))?($(W(t[1]),Z(t[2]),Z(t[3]))|q(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const Y=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,X=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,J=new RegExp(`(${Object.keys(I).join("|")})`,"g");class Q extends j{constructor(e,t,n){super(),this.getValue=()=>this.calc(...this.payload.map((e=>e.getValue()))),this.updateConfig=(e,t)=>this.calc=D.create(e,t),this.interpolate=(e,t)=>new Q(this,e,t),this.payload=e instanceof j&&!e.updateConfig?e.payload:Array.isArray(e)?e:[e],this.calc=D.create(t,n)}}function ee(e,t){"function"==typeof e.update?t.add(e):e.getChildren().forEach((e=>ee(e,t)))}class te extends k{constructor(e){var t;super(),t=this,this.setValue=function(e,n){void 0===n&&(n=!0),t.value=e,n&&t.flush()},this.getValue=()=>this.value,this.updateStyles=()=>ee(this,this.animatedStyles),this.updateValue=e=>this.flush(this.value=e),this.interpolate=(e,t)=>new Q(this,e,t),this.value=e,this.animatedStyles=new Set,this.done=!1,this.startPosition=e,this.lastPosition=e,this.lastVelocity=void 0,this.lastTime=void 0,this.controller=void 0}flush(){0===this.animatedStyles.size&&this.updateStyles(),this.animatedStyles.forEach((e=>e.update()))}prepare(e){void 0===this.controller&&(this.controller=e),this.controller===e&&(this.startPosition=this.value,this.lastPosition=this.value,this.lastVelocity=e.isActive?this.lastVelocity:void 0,this.lastTime=e.isActive?this.lastTime:void 0,this.done=!1,this.animatedStyles.clear())}}class ne extends j{constructor(e){var t;super(),t=this,this.setValue=function(e,n){void 0===n&&(n=!0),Array.isArray(e)?e.length===t.payload.length&&e.forEach(((e,r)=>t.payload[r].setValue(e,n))):t.payload.forEach(((r,o)=>t.payload[o].setValue(e,n)))},this.getValue=()=>this.payload.map((e=>e.getValue())),this.interpolate=(e,t)=>new Q(this,e,t),this.payload=e.map((e=>new te(e)))}}function re(e,t){return null==e?t:e}function oe(e){return void 0!==e?Array.isArray(e)?e:[e]:[]}function ie(e,t){if(typeof e!=typeof t)return!1;if("string"==typeof e||"number"==typeof e)return e===t;let n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return void 0!==n||e===t}function ae(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e(...n):e}function le(e){return Object.keys(e).map((t=>e[t]))}function ce(e){const t=function(e){return e.to,e.from,e.config,e.native,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.impl,e.inject,e.delay,e.attach,e.destroyed,e.interpolateTo,e.autoStart,e.ref,o(e,["to","from","config","native","onStart","onRest","onFrame","children","reset","reverse","force","immediate","impl","inject","delay","attach","destroyed","interpolateTo","autoStart","ref"])}(e),n=Object.keys(e).reduce(((n,r)=>void 0!==t[r]?n:i({},n,{[r]:e[r]})),{});return i({to:t},n)}function se(e,t){let n=t[0],r=t[1];return i({},e,{[n]:new(Array.isArray(r)?ne:te)(r)})}function ue(e){const t=e.from,n=e.to,r=e.native,o=Object.entries(i({},t,n));return r?o.reduce(se,{}):i({},t,n)}function pe(e,t){return t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e}const de=e=>"auto"===e;let fe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const me=["Webkit","Ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}fe=Object.keys(fe).reduce(((e,t)=>(me.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),fe);const he={};_((e=>new x(e))),O("div"),w((function(e){const t=e.output.map((e=>e.replace(X,K))).map((e=>e.replace(J,K))),n=t[0].match(Y).map((()=>[]));t.forEach((e=>{e.match(Y).forEach(((e,t)=>n[t].push(+e)))}));const r=t[0].match(Y).map(((t,r)=>D.create(i({},e,{output:n[r]}))));return e=>{let n=0;return t[0].replace(Y,(()=>r[n++](e))).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,((e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`))}})),v(I),y((function(e,t){const n=e.from,r=e.to,o=e.children;if(!le(r).some(de)&&!le(n).some(de))return;let c=o(ue(e));if(!c)return;Array.isArray(c)&&(c={type:"div",props:{children:c}});const s=c.props.style;return a.createElement(c.type,i({key:c.key?c.key:void 0},c.props,{style:i({},s,{position:"absolute",visibility:"hidden"}),ref:o=>{if(o){let a,c,s=l.findDOMNode(o),u=getComputedStyle(s);if("border-box"===u.boxSizing)a=s.offsetWidth,c=s.offsetHeight;else{const e=parseFloat(u.paddingLeft||0)+parseFloat(u.paddingRight||0),t=parseFloat(u.paddingTop||0)+parseFloat(u.paddingBottom||0),n=parseFloat(u.borderLeftWidth||0)+parseFloat(u.borderRightWidth||0),r=parseFloat(u.borderTopWidth||0)+parseFloat(u.borderBottomWidth||0);a=s.offsetWidth-e-n,c=s.offsetHeight-t-r}const p=((e,t)=>(n,r)=>{let o=r[0],a=r[1];return i({},n,{[o]:"auto"===a?~o.indexOf("height")?t:e:a})})(a,c);t(i({},e,{from:Object.entries(n).reduce(p,n),to:Object.entries(r).reduce(p,r)}))}}}))})),b(((e,t)=>{if(!e.nodeType||void 0===e.setAttribute)return!1;{const i=t.style,a=t.children,l=t.scrollTop,c=t.scrollLeft,s=o(t,["style","children","scrollTop","scrollLeft"]);void 0!==l&&(e.scrollTop=l),void 0!==c&&(e.scrollLeft=c),void 0!==a&&(e.textContent=a);for(let t in i)if(i.hasOwnProperty(t)){var n=0===t.indexOf("--"),r=ge(t,i[t],n);"float"===t&&(t="cssFloat"),n?e.style.setProperty(t,r):e.style[t]=r}for(let t in s){const n=he[t]||(he[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())));void 0!==e.getAttribute(n)&&e.setAttribute(n,s[t])}}}),(e=>e));let be=!1;const ve=new Set,ye=()=>{let e=h();for(let t of ve){let n=!0,r=!0;for(let o=0;o<t.configs.length;o++){let i,a,l=t.configs[o];for(let o=0;o<l.animatedValues.length;o++){let c=l.animatedValues[o];if(c.done)continue;let s=l.fromValues[o],u=l.toValues[o],p=c.lastPosition,d=u instanceof P,f=Array.isArray(l.initialVelocity)?l.initialVelocity[o]:l.initialVelocity;if(d&&(u=u.getValue()),l.immediate||!d&&!l.decay&&s===u)c.updateValue(u),c.done=!0;else if(l.delay&&e-t.startTime<l.delay)n=!1;else if(r=!1,"string"!=typeof s&&"string"!=typeof u){if(void 0!==l.duration)p=s+l.easing((e-t.startTime-l.delay)/l.duration)*(u-s),i=e>=t.startTime+l.delay+l.duration;else if(l.decay)p=s+f/(1-.998)*(1-Math.exp(-(1-.998)*(e-t.startTime))),i=Math.abs(c.lastPosition-p)<.1,i&&(u=p);else{a=void 0!==c.lastTime?c.lastTime:e,f=void 0!==c.lastVelocity?c.lastVelocity:l.initialVelocity,e>a+64&&(a=e);let t=Math.floor(e-a);for(let e=0;e<t;++e){f+=1*((-l.tension*(p-u)+-l.friction*f)/l.mass)/1e3,p+=1*f/1e3}let n=!(!l.clamp||0===l.tension)&&(s<u?p>u:p<u),r=Math.abs(f)<=l.precision,o=0===l.tension||Math.abs(u-p)<=l.precision;i=n||r&&o,c.lastVelocity=f,c.lastTime=e}d&&!l.toValues[o].done&&(i=!1),i?(c.value!==u&&(p=u),c.done=!0):n=!1,c.updateValue(p),c.lastPosition=p}else c.updateValue(u),c.done=!0}!t.props.onFrame&&t.props.native||(t.animatedProps[l.name]=l.interpolation.getValue())}!t.props.onFrame&&t.props.native||(!t.props.native&&t.onUpdate&&t.onUpdate(),t.props.onFrame&&t.props.onFrame(t.animatedProps)),n&&(ve.delete(t),t.debouncedOnEnd({finished:!0,noChange:r}))}ve.size?m(ye):be=!1},we=e=>{ve.has(e)&&ve.delete(e)};class Oe{constructor(e,t){void 0===t&&(t={native:!0,interpolateTo:!0,autoStart:!0}),this.getValues=()=>this.props.native?this.interpolations:this.animatedProps,this.dependents=new Set,this.isActive=!1,this.hasChanged=!1,this.props={},this.merged={},this.animations={},this.interpolations={},this.animatedProps={},this.configs=[],this.frame=void 0,this.startTime=void 0,this.lastTime=void 0,this.update(i({},e,t))}update(e){this.props=i({},this.props,e);let t=this.props.interpolateTo?ce(this.props):this.props,n=t.from,r=void 0===n?{}:n,o=t.to,a=void 0===o?{}:o,l=t.config,c=void 0===l?{}:l,s=t.delay,u=void 0===s?0:s,p=t.reverse,d=t.attach,m=t.reset,g=t.immediate,h=t.autoStart,b=t.ref;if(p){var v=[a,r];r=v[0],a=v[1]}this.hasChanged=!1;let y=d&&d(this),w=m?{}:this.merged;if(this.merged=i({},r,w,a),this.animations=Object.entries(this.merged).reduce(((e,t,n)=>{let o=t[0],a=t[1],l=!m&&e[o]||{};const s="number"==typeof a,p="string"==typeof a&&!a.startsWith("#")&&!/\d/.test(a)&&!f[a],d=!s&&!p&&Array.isArray(a);let h=void 0!==r[o]?r[o]:a,b=s||d||p?a:1,v=ae(c,o);if(y&&(b=y.animations[o].parent),void 0===v.decay&&ie(l.changes,a))return e;{let t,n;if(this.hasChanged=!0,s||p)t=n=l.parent||new te(h);else if(d)t=n=l.parent||new ne(h);else{const e=l.interpolation&&l.interpolation.calc(l.parent.value);l.parent?(t=l.parent,t.setValue(0,!1)):t=new te(0);const r={output:[void 0!==e?e:h,a]};l.interpolation?(n=l.interpolation,l.interpolation.updateConfig(r)):n=t.interpolate(r)}ae(g,o)&&t.setValue(a,!1);const r=oe(t.getPayload());return r.forEach((e=>e.prepare(this))),i({},e,{[o]:i({},l,{name:o,parent:t,interpolation:n,animatedValues:r,changes:a,fromValues:oe(t.getValue()),toValues:oe(y?b.getPayload():b),immediate:ae(g,o),delay:re(v.delay,u||0),initialVelocity:re(v.velocity,0),clamp:re(v.clamp,!1),precision:re(v.precision,.01),tension:re(v.tension,170),friction:re(v.friction,26),mass:re(v.mass,1),duration:v.duration,easing:re(v.easing,(e=>e)),decay:v.decay})})}}),this.animations),this.hasChanged){this.configs=le(this.animations),this.animatedProps={},this.interpolations={};for(let e in this.animations)this.interpolations[e]=this.animations[e].interpolation,this.animatedProps[e]=this.animations[e].interpolation.getValue()}for(var O=arguments.length,_=new Array(O>1?O-1:0),E=1;E<O;E++)_[E-1]=arguments[E];b||!h&&!_.length||this.start(..._);const P=_[0],C=_[1];return this.onEnd="function"==typeof P&&P,this.onUpdate=C,this.getValues()}start(e,t){var n;return this.startTime=h(),this.isActive&&this.stop(),this.isActive=!0,this.onEnd="function"==typeof e&&e,this.onUpdate=t,this.props.onStart&&this.props.onStart(),n=this,ve.has(n)||(ve.add(n),be||m(ye),be=!0),new Promise((e=>this.resolve=e))}stop(e){void 0===e&&(e=!1),e&&le(this.animations).forEach((e=>e.changes=void 0)),this.debouncedOnEnd({finished:e})}destroy(){we(this),this.props={},this.merged={},this.animations={},this.interpolations={},this.animatedProps={},this.configs=[]}debouncedOnEnd(e){we(this),this.isActive=!1;const t=this.onEnd;this.onEnd=null,t&&t(e),this.resolve&&this.resolve(),this.resolve=null}}class _e extends S{constructor(e,t){super(),e.style&&(e=i({},e,{style:d(e.style)})),this.payload=e,this.update=t,this.attach()}}function Ee(e){class t extends a.Component{constructor(e){super(),this.callback=()=>{if(this.node){!1===s.fn(this.node,this.propsAnimated.getAnimatedValue(),this)&&this.forceUpdate()}},this.attachProps(e)}componentWillUnmount(){this.propsAnimated&&this.propsAnimated.detach()}setNativeProps(e){!1===s.fn(this.node,e,this)&&this.forceUpdate()}attachProps(e){e.forwardRef;let t=o(e,["forwardRef"]);const n=this.propsAnimated;this.propsAnimated=new _e(t,this.callback),n&&n.detach()}shouldComponentUpdate(e){const t=e.style,n=o(e,["style"]),r=this.props,i=r.style;return(!ie(o(r,["style"]),n)||!ie(i,t))&&(this.attachProps(e),!0)}render(){const t=this.propsAnimated.getValue(),n=(t.scrollTop,t.scrollLeft,o(t,["scrollTop","scrollLeft"]));return a.createElement(e,i({},n,{ref:e=>this.node=pe(e,this.props.forwardRef)}))}}return a.forwardRef(((e,n)=>a.createElement(t,i({},e,{forwardRef:n}))))}const Pe={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}};class Ce extends a.Component{constructor(){super(...arguments),this.state={lastProps:{from:{},to:{}},propsChanged:!1,internal:!1},this.controller=new Oe(null,null),this.didUpdate=!1,this.didInject=!1,this.finished=!0,this.start=()=>{this.finished=!1;let e=this.mounted;this.controller.start((t=>this.finish(i({},t,{wasMounted:e}))),this.update)},this.stop=()=>this.controller.stop(!0),this.update=()=>this.mounted&&this.setState({internal:!0}),this.finish=e=>{let t=e.finished,n=e.noChange,r=e.wasMounted;this.finished=!0,this.mounted&&t&&(!this.props.onRest||!r&&n||this.props.onRest(this.controller.merged),this.mounted&&this.didInject&&(this.afterInject=ue(this.props),this.setState({internal:!0})),this.mounted&&(this.didInject||this.props.after)&&this.setState({internal:!0}),this.didInject=!1)}}componentDidMount(){this.componentDidUpdate(),this.mounted=!0}componentWillUnmount(){this.mounted=!1,this.stop()}static getDerivedStateFromProps(e,t){let n=t.internal,r=t.lastProps;const o=e.from,i=e.to,a=e.reset,l=e.force;return{propsChanged:!ie(i,r.to)||!ie(o,r.from)||a&&!n||l&&!n,lastProps:e,internal:!1}}render(){const e=this.props.children,t=this.state.propsChanged;if(this.props.inject&&t&&!this.injectProps){const e=this.props.inject(this.props,(e=>{this.injectProps=e,this.setState({internal:!0})}));if(e)return e}(this.injectProps||t)&&(this.didInject=!1,this.injectProps?(this.controller.update(this.injectProps),this.didInject=!0):t&&this.controller.update(this.props),this.didUpdate=!0,this.afterInject=void 0,this.injectProps=void 0);let n=i({},this.controller.getValues(),this.afterInject);return this.finished&&(n=i({},n,this.props.after)),Object.keys(n).length?e(n):null}componentDidUpdate(){this.didUpdate&&this.start(),this.didUpdate=!1}}Ce.defaultProps={from:{},to:{},config:Pe.default,native:!1,immediate:!1,reset:!1,force:!1,inject:c};class ke extends a.PureComponent{constructor(){super(...arguments),this.first=!0,this.instances=new Set,this.hook=(e,t,n,r)=>(this.instances.add(e),(r?t===n-1:0===t)?void 0:Array.from(this.instances)[r?t+1:t-1])}render(){const e=this.props,t=e.items,n=e.children,r=e.from,l=void 0===r?{}:r,c=e.initial,s=e.reverse,u=e.keys,p=e.delay,d=e.onRest,f=o(e,["items","children","from","initial","reverse","keys","delay","onRest"]),m=oe(t);return oe(m).map(((e,t)=>a.createElement(Ce,i({onRest:0===t?d:null,key:"function"==typeof u?u(e):oe(u)[t],from:this.first&&void 0!==c?c||{}:l},f,{delay:0===t&&p||void 0,attach:e=>this.hook(e,t,m.length,s),children:r=>{const o=n(e,t);return o?o(r):null}}))))}componentDidUpdate(e){this.first=!1,e.items!==this.props.items&&this.instances.clear()}}ke.defaultProps={keys:e=>e};const je="__default";class Se extends a.PureComponent{constructor(){var e;super(...arguments),e=this,this.guid=0,this.state={props:{},resolve:()=>null,last:!0,index:0},this.next=function(t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=0),e.running=!0,new Promise((o=>{e.mounted&&e.setState((e=>({props:t,resolve:o,last:n,index:r})),(()=>e.running=!1))}))}}componentDidMount(){this.mounted=!0,this.componentDidUpdate({})}componentWillUnmount(){this.mounted=!1}componentDidUpdate(e){var t=this;const n=this.props,r=n.states,o=n.filter,i=n.state;if((e.state!==this.props.state||this.props.reset&&!this.running||!ie(r[i],e.states[e.state]))&&r&&i&&r[i]){const e=++this.guid,n=r[i];if(n)if(Array.isArray(n)){let t=Promise.resolve();for(let r=0;r<n.length;r++){let i=r,a=n[i],l=i===n.length-1;t=t.then((()=>e===this.guid&&this.next(o(a),l,i)))}}else if("function"==typeof n){let r=0;n((function(n,i){return void 0===i&&(i=!1),e===t.guid&&t.next(o(n),i,r++)}),(()=>m((()=>this.instance&&this.instance.stop()))),this.props)}else this.next(o(r[i]))}}render(){const e=this.state,t=e.props,n=e.resolve,r=e.last,l=e.index;if(!t||0===Object.keys(t).length)return null;let c=this.props,s=(c.state,c.filter,c.states,c.config),u=c.primitive,p=c.onRest,d=c.forwardRef,f=o(c,["state","filter","states","config","primitive","onRest","forwardRef"]);return Array.isArray(s)&&(s=s[l]),a.createElement(u,i({ref:e=>this.instance=pe(e,d),config:s},f,t,{onRest:e=>{n(e),p&&r&&p(e)}}))}}Se.defaultProps={state:je};const xe=a.forwardRef(((e,t)=>a.createElement(Se,i({},e,{forwardRef:t}))));xe.create=e=>function(t,n){return void 0===n&&(n=e=>e),("function"==typeof t||Array.isArray(t))&&(t={[je]:t}),r=>a.createElement(Se,i({primitive:e,states:t,filter:n},r))},xe.Spring=e=>xe.create(Ce)(e,ce),xe.Trail=e=>xe.create(ke)(e,ce);let Ie=0,De=e=>{let t=e.items,n=e.keys,r=o(e,["items","keys"]);return t=oe(void 0!==t?t:null),n="function"==typeof n?t.map(n):oe(n),i({items:t,keys:n.map((e=>String(e)))},r)};class Ne extends a.PureComponent{componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}constructor(e){super(e),this.destroyItem=(e,t,n)=>r=>{const o=this.props,i=o.onRest,a=o.onDestroyed;this.mounted&&(a&&a(e),this.setState((e=>({deleted:e.deleted.filter((e=>e.key!==t))}))),i&&i(e,n,r))},this.state={first:!0,transitions:[],current:{},deleted:[],prevProps:e}}static getDerivedStateFromProps(e,t){let n=t.first,r=t.prevProps,a=o(t,["first","prevProps"]),l=De(e),c=l.items,s=l.keys,u=l.initial,p=l.from,d=l.enter,f=l.leave,m=l.update,g=l.trail,h=void 0===g?0:g,b=l.unique,v=l.config,y=De(r),w=y.keys,O=y.items,_=i({},a.current),E=[...a.deleted],P=Object.keys(_),C=new Set(P),k=new Set(s),j=s.filter((e=>!C.has(e))),S=a.transitions.filter((e=>!e.destroyed&&!k.has(e.originalKey))).map((e=>e.originalKey)),x=s.filter((e=>C.has(e))),I=0;j.forEach((e=>{b&&E.find((t=>t.originalKey===e))&&(E=E.filter((t=>t.originalKey!==e)));const t=s.indexOf(e),r=c[t],o="enter";_[e]={state:o,originalKey:e,key:b?String(e):Ie++,item:r,trail:I+=h,config:ae(v,r,o),from:ae(n&&void 0!==u?u||{}:p,r),to:ae(d,r)}})),S.forEach((e=>{const t=w.indexOf(e),n=O[t],r="leave";E.push(i({},_[e],{state:r,destroyed:!0,left:w[Math.max(0,t-1)],right:w[Math.min(w.length,t+1)],trail:I+=h,config:ae(v,n,r),to:ae(f,n)})),delete _[e]})),x.forEach((e=>{const t=s.indexOf(e),n=c[t],r="update";_[e]=i({},_[e],{item:n,state:r,trail:I+=h,config:ae(v,n,r),to:ae(m,n)})}));let D=s.map((e=>_[e]));return E.forEach((e=>{let t,n=e.left,r=e.right,i=o(e,["left","right"]);-1!==(t=D.findIndex((e=>e.originalKey===n)))&&(t+=1),-1===t&&(t=D.findIndex((e=>e.originalKey===r))),-1===t&&(t=E.findIndex((e=>e.originalKey===n))),-1===t&&(t=E.findIndex((e=>e.originalKey===r))),t=Math.max(0,t),D=[...D.slice(0,t),i,...D.slice(t)]})),{first:n&&0===j.length,transitions:D,current:_,deleted:E,prevProps:e}}render(){const e=this.props,t=(e.initial,e.from,e.enter,e.leave,e.update,e.onDestroyed,e.keys,e.items,e.onFrame),n=e.onRest,r=e.onStart,l=(e.trail,e.config,e.children),c=(e.unique,e.reset),s=o(e,["initial","from","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","trail","config","children","unique","reset"]);return this.state.transitions.map(((e,o)=>{let u=e.state,p=e.key,d=e.item,f=e.from,m=e.to,g=e.trail,h=e.config,b=e.destroyed;return a.createElement(xe,i({reset:c&&"enter"===u,primitive:Ce,state:u,filter:ce,states:{[u]:m},key:p,onRest:b?this.destroyItem(d,p,u):n&&(e=>n(d,u,e)),onStart:r&&(()=>r(d,u)),onFrame:t&&(e=>t(d,u,e)),delay:g,config:h},s,{from:f,children:e=>{const t=l(d,u,o);return t?t(e):null}}))}))}}Ne.defaultProps={keys:e=>e,unique:!1,reset:!1};const Te=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].reduce(((e,t)=>(e[t]=Ee(t),e)),Ee);t.uT=Ne},3697:function(e,t,n){"use strict";var r=n(5972).functionsHaveConfigurableNames(),o=Object,i=TypeError;e.exports=function(){if(null!=this&&this!==o(this))throw new i("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e},r&&Object.defineProperty&&Object.defineProperty(e.exports,"name",{value:"get flags"})},2847:function(e,t,n){"use strict";var r=n(4289),o=n(5559),i=n(3697),a=n(1721),l=n(2753),c=o(a());r(c,{getPolyfill:a,implementation:i,shim:l}),e.exports=c},1721:function(e,t,n){"use strict";var r=n(3697),o=n(4289).supportsDescriptors,i=Object.getOwnPropertyDescriptor;e.exports=function(){if(o&&"gim"===/a/gim.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var t="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(n,"sticky",{get:function(){t+="y"}}),"dy"===t)return e.get}}return r}},2753:function(e,t,n){"use strict";var r=n(4289).supportsDescriptors,o=n(1721),i=Object.getOwnPropertyDescriptor,a=Object.defineProperty,l=TypeError,c=Object.getPrototypeOf,s=/a/;e.exports=function(){if(!r||!c)throw new l("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),t=c(s),n=i(t,"flags");return n&&n.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},6826:function(e){var t={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Ấ":"A","Ắ":"A","Ẳ":"A","Ẵ":"A","Ặ":"A","Æ":"AE","Ầ":"A","Ằ":"A","Ȃ":"A","Ả":"A","Ạ":"A","Ẩ":"A","Ẫ":"A","Ậ":"A","Ç":"C","Ḉ":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ế":"E","Ḗ":"E","Ề":"E","Ḕ":"E","Ḝ":"E","Ȇ":"E","Ẻ":"E","Ẽ":"E","Ẹ":"E","Ể":"E","Ễ":"E","Ệ":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ḯ":"I","Ȋ":"I","Ỉ":"I","Ị":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ố":"O","Ṍ":"O","Ṓ":"O","Ȏ":"O","Ỏ":"O","Ọ":"O","Ổ":"O","Ỗ":"O","Ộ":"O","Ờ":"O","Ở":"O","Ỡ":"O","Ớ":"O","Ợ":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ủ":"U","Ụ":"U","Ử":"U","Ữ":"U","Ự":"U","Ý":"Y","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","ấ":"a","ắ":"a","ẳ":"a","ẵ":"a","ặ":"a","æ":"ae","ầ":"a","ằ":"a","ȃ":"a","ả":"a","ạ":"a","ẩ":"a","ẫ":"a","ậ":"a","ç":"c","ḉ":"c","è":"e","é":"e","ê":"e","ë":"e","ế":"e","ḗ":"e","ề":"e","ḕ":"e","ḝ":"e","ȇ":"e","ẻ":"e","ẽ":"e","ẹ":"e","ể":"e","ễ":"e","ệ":"e","ì":"i","í":"i","î":"i","ï":"i","ḯ":"i","ȋ":"i","ỉ":"i","ị":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ố":"o","ṍ":"o","ṓ":"o","ȏ":"o","ỏ":"o","ọ":"o","ổ":"o","ỗ":"o","ộ":"o","ờ":"o","ở":"o","ỡ":"o","ớ":"o","ợ":"o","ù":"u","ú":"u","û":"u","ü":"u","ủ":"u","ụ":"u","ử":"u","ữ":"u","ự":"u","ý":"y","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Ĉ":"C","ĉ":"c","Ċ":"C","ċ":"c","Č":"C","č":"c","C̆":"C","c̆":"c","Ď":"D","ď":"d","Đ":"D","đ":"d","Ē":"E","ē":"e","Ĕ":"E","ĕ":"e","Ė":"E","ė":"e","Ę":"E","ę":"e","Ě":"E","ě":"e","Ĝ":"G","Ǵ":"G","ĝ":"g","ǵ":"g","Ğ":"G","ğ":"g","Ġ":"G","ġ":"g","Ģ":"G","ģ":"g","Ĥ":"H","ĥ":"h","Ħ":"H","ħ":"h","Ḫ":"H","ḫ":"h","Ĩ":"I","ĩ":"i","Ī":"I","ī":"i","Ĭ":"I","ĭ":"i","Į":"I","į":"i","İ":"I","ı":"i","IJ":"IJ","ij":"ij","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","Ḱ":"K","ḱ":"k","K̆":"K","k̆":"k","Ĺ":"L","ĺ":"l","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ŀ":"L","ŀ":"l","Ł":"l","ł":"l","Ḿ":"M","ḿ":"m","M̆":"M","m̆":"m","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","ʼn":"n","N̆":"N","n̆":"n","Ō":"O","ō":"o","Ŏ":"O","ŏ":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","P̆":"P","p̆":"p","Ŕ":"R","ŕ":"r","Ŗ":"R","ŗ":"r","Ř":"R","ř":"r","R̆":"R","r̆":"r","Ȓ":"R","ȓ":"r","Ś":"S","ś":"s","Ŝ":"S","ŝ":"s","Ş":"S","Ș":"S","ș":"s","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","ț":"t","Ț":"T","Ť":"T","ť":"t","Ŧ":"T","ŧ":"t","T̆":"T","t̆":"t","Ũ":"U","ũ":"u","Ū":"U","ū":"u","Ŭ":"U","ŭ":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ȗ":"U","ȗ":"u","V̆":"V","v̆":"v","Ŵ":"W","ŵ":"w","Ẃ":"W","ẃ":"w","X̆":"X","x̆":"x","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Y̆":"Y","y̆":"y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ſ":"s","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Ǎ":"A","ǎ":"a","Ǐ":"I","ǐ":"i","Ǒ":"O","ǒ":"o","Ǔ":"U","ǔ":"u","Ǖ":"U","ǖ":"u","Ǘ":"U","ǘ":"u","Ǚ":"U","ǚ":"u","Ǜ":"U","ǜ":"u","Ứ":"U","ứ":"u","Ṹ":"U","ṹ":"u","Ǻ":"A","ǻ":"a","Ǽ":"AE","ǽ":"ae","Ǿ":"O","ǿ":"o","Þ":"TH","þ":"th","Ṕ":"P","ṕ":"p","Ṥ":"S","ṥ":"s","X́":"X","x́":"x","Ѓ":"Г","ѓ":"г","Ќ":"К","ќ":"к","A̋":"A","a̋":"a","E̋":"E","e̋":"e","I̋":"I","i̋":"i","Ǹ":"N","ǹ":"n","Ồ":"O","ồ":"o","Ṑ":"O","ṑ":"o","Ừ":"U","ừ":"u","Ẁ":"W","ẁ":"w","Ỳ":"Y","ỳ":"y","Ȁ":"A","ȁ":"a","Ȅ":"E","ȅ":"e","Ȉ":"I","ȉ":"i","Ȍ":"O","ȍ":"o","Ȑ":"R","ȑ":"r","Ȕ":"U","ȕ":"u","B̌":"B","b̌":"b","Č̣":"C","č̣":"c","Ê̌":"E","ê̌":"e","F̌":"F","f̌":"f","Ǧ":"G","ǧ":"g","Ȟ":"H","ȟ":"h","J̌":"J","ǰ":"j","Ǩ":"K","ǩ":"k","M̌":"M","m̌":"m","P̌":"P","p̌":"p","Q̌":"Q","q̌":"q","Ř̩":"R","ř̩":"r","Ṧ":"S","ṧ":"s","V̌":"V","v̌":"v","W̌":"W","w̌":"w","X̌":"X","x̌":"x","Y̌":"Y","y̌":"y","A̧":"A","a̧":"a","B̧":"B","b̧":"b","Ḑ":"D","ḑ":"d","Ȩ":"E","ȩ":"e","Ɛ̧":"E","ɛ̧":"e","Ḩ":"H","ḩ":"h","I̧":"I","i̧":"i","Ɨ̧":"I","ɨ̧":"i","M̧":"M","m̧":"m","O̧":"O","o̧":"o","Q̧":"Q","q̧":"q","U̧":"U","u̧":"u","X̧":"X","x̧":"x","Z̧":"Z","z̧":"z","й":"и","Й":"И","ё":"е","Ё":"Е"},n=Object.keys(t).join("|"),r=new RegExp(n,"g"),o=new RegExp(n,"");function i(e){return t[e]}var a=function(e){return e.replace(r,i)};e.exports=a,e.exports.has=function(e){return!!e.match(o)},e.exports.remove=a},6399:function(e){e.exports=function(e,t,n){return function(r){if(e[0]===e[1]||t[0]===t[1])return t[0];var o=(t[1]-t[0])/(e[1]-e[0]),i=t[0]+o*(r-e[0]);return n?Math.min(t[1],Math.max(t[0],i)):i}}},8975:function(e,t,n){var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function i(e){return function(e,t){var n,r,a,l,c,s,u,p,d,f=1,m=e.length,g="";for(r=0;r<m;r++)if("string"==typeof e[r])g+=e[r];else if("object"==typeof e[r]){if((l=e[r]).keys)for(n=t[f],a=0;a<l.keys.length;a++){if(null==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',l.keys[a],l.keys[a-1]));n=n[l.keys[a]]}else n=l.param_no?t[l.param_no]:t[f++];if(o.not_type.test(l.type)&&o.not_primitive.test(l.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(l.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(o.number.test(l.type)&&(p=n>=0),l.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,l.width?parseInt(l.width):0);break;case"e":n=l.precision?parseFloat(n).toExponential(l.precision):parseFloat(n).toExponential();break;case"f":n=l.precision?parseFloat(n).toFixed(l.precision):parseFloat(n);break;case"g":n=l.precision?String(Number(n.toPrecision(l.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=l.precision?n.substring(0,l.precision):n;break;case"t":n=String(!!n),n=l.precision?n.substring(0,l.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=l.precision?n.substring(0,l.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=l.precision?n.substring(0,l.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(l.type)?g+=n:(!o.number.test(l.type)||p&&!l.sign?d="":(d=p?"+":"-",n=n.toString().replace(o.sign,"")),s=l.pad_char?"0"===l.pad_char?"0":l.pad_char.charAt(1):" ",u=l.width-(d+n).length,c=l.width&&u>0?s.repeat(u):"",g+=l.align?d+n+c:"0"===s?d+c+n:c+d+n)}return g}(function(e){if(l[e])return l[e];var t,n=e,r=[],i=0;for(;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var a=[],c=t[2],s=[];if(null===(s=o.key.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(s[1]);""!==(c=c.substring(s[0].length));)if(null!==(s=o.key_access.exec(c)))a.push(s[1]);else{if(null===(s=o.index_access.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(s[1])}t[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return l[e]=r}(e),arguments)}function a(e,t){return i.apply(null,[e].concat(t||[]))}var l=Object.create(null);i,a,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=a,void 0===(r=function(){return{sprintf:i,vsprintf:a}}.call(t,n,t,e))||(e.exports=r))}()},4760:function(e){var t=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],n=t.join(","),r="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function o(e,t){t=t||{};var o,a,l,u=[],d=[],f=new p(e.ownerDocument||e),m=e.querySelectorAll(n);for(t.includeContainer&&r.call(e,n)&&(m=Array.prototype.slice.apply(m)).unshift(e),o=0;o<m.length;o++)i(a=m[o],f)&&(0===(l=c(a))?u.push(a):d.push({documentOrder:o,tabIndex:l,node:a}));return d.sort(s).map((function(e){return e.node})).concat(u)}function i(e,t){return!(!a(e,t)||function(e){return function(e){return u(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t=e.ownerDocument.querySelectorAll('input[type="radio"][name="'+e.name+'"]'),n=function(e){for(var t=0;t<e.length;t++)if(e[t].checked)return e[t]}(t);return!n||n===e}(e)}(e)||c(e)<0)}function a(e,t){return t=t||new p(e.ownerDocument||e),!(e.disabled||function(e){return u(e)&&"hidden"===e.type}(e)||t.isUntouchable(e))}o.isTabbable=function(e,t){if(!e)throw new Error("No node provided");return!1!==r.call(e,n)&&i(e,t)},o.isFocusable=function(e,t){if(!e)throw new Error("No node provided");return!1!==r.call(e,l)&&a(e,t)};var l=t.concat("iframe").join(",");function c(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function s(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function u(e){return"INPUT"===e.tagName}function p(e){this.doc=e,this.cache=[]}p.prototype.hasDisplayNone=function(e,t){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var n=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t(e[n]))return e[n]}(this.cache,(function(t){return t===e}));if(n)return n[1];var r=!1;return"none"===(t=t||this.doc.defaultView.getComputedStyle(e)).display?r=!0:e.parentNode&&(r=this.hasDisplayNone(e.parentNode)),this.cache.push([e,r]),r},p.prototype.isUntouchable=function(e){if(e===this.doc.documentElement)return!1;var t=this.doc.defaultView.getComputedStyle(e);return!!this.hasDisplayNone(e,t)||"hidden"===t.visibility},e.exports=o},1742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},5933:function(e,t,n){var r;!function(){function o(e,t,n){return e.call.apply(e.bind,arguments)}function i(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function a(e,t,n){return(a=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?o:i).apply(null,arguments)}var l=Date.now||function(){return+new Date};function c(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var s=!!window.FontFace;function u(e,t,n,r){if(t=e.c.createElement(t),n)for(var o in n)n.hasOwnProperty(o)&&("style"==o?t.style.cssText=n[o]:t.setAttribute(o,n[o]));return r&&t.appendChild(e.c.createTextNode(r)),t}function p(e,t,n){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(n,e.lastChild)}function d(e){e.parentNode&&e.parentNode.removeChild(e)}function f(e,t,n){t=t||[],n=n||[];for(var r=e.className.split(/\s+/),o=0;o<t.length;o+=1){for(var i=!1,a=0;a<r.length;a+=1)if(t[o]===r[a]){i=!0;break}i||r.push(t[o])}for(t=[],o=0;o<r.length;o+=1){for(i=!1,a=0;a<n.length;a+=1)if(r[o]===n[a]){i=!0;break}i||t.push(r[o])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function m(e,t){for(var n=e.className.split(/\s+/),r=0,o=n.length;r<o;r++)if(n[r]==t)return!0;return!1}function g(e,t,n){function r(){l&&o&&i&&(l(a),l=null)}t=u(e,"link",{rel:"stylesheet",href:t,media:"all"});var o=!1,i=!0,a=null,l=n||null;s?(t.onload=function(){o=!0,r()},t.onerror=function(){o=!0,a=Error("Stylesheet failed to load"),r()}):setTimeout((function(){o=!0,r()}),0),p(e,"head",t)}function h(e,t,n,r){var o=e.c.getElementsByTagName("head")[0];if(o){var i=u(e,"script",{src:t}),a=!1;return i.onload=i.onreadystatechange=function(){a||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(a=!0,n&&n(null),i.onload=i.onreadystatechange=null,"HEAD"==i.parentNode.tagName&&o.removeChild(i))},o.appendChild(i),setTimeout((function(){a||(a=!0,n&&n(Error("Script load timeout")))}),r||5e3),i}return null}function b(){this.a=0,this.c=null}function v(e){return e.a++,function(){e.a--,w(e)}}function y(e,t){e.c=t,w(e)}function w(e){0==e.a&&e.c&&(e.c(),e.c=null)}function O(e){this.a=e||"-"}function _(e,t){this.c=e,this.f=4,this.a="n";var n=(t||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function E(e){var t=[];e=e.split(/,\s*/);for(var n=0;n<e.length;n++){var r=e[n].replace(/['"]/g,"");-1!=r.indexOf(" ")||/^\d/.test(r)?t.push("'"+r+"'"):t.push(r)}return t.join(",")}function P(e){return e.a+e.f}function C(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function k(e){var t=4,n="n",r=null;return e&&((r=e.match(/(normal|oblique|italic)/i))&&r[1]&&(n=r[1].substr(0,1).toLowerCase()),(r=e.match(/([1-9]00|normal|bold)/i))&&r[1]&&(/bold/i.test(r[1])?t=7:/[1-9]00/.test(r[1])&&(t=parseInt(r[1].substr(0,1),10)))),n+t}function j(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new O("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function S(e){if(e.g){var t=m(e.f,e.a.c("wf","active")),n=[],r=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),f(e.f,n,r)}x(e,"inactive")}function x(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,P(n)):e.h[t]())}function I(){this.c={}}function D(e,t){this.c=e,this.f=t,this.a=u(this.c,"span",{"aria-hidden":"true"},this.f)}function N(e){p(e.c,"body",e.a)}function T(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+E(e.c)+";font-style:"+C(e)+";font-weight:"+e.f+"00;"}function A(e,t,n,r,o,i){this.g=e,this.j=t,this.a=r,this.c=n,this.f=o||3e3,this.h=i||void 0}function R(e,t,n,r,o,i,a){this.v=e,this.B=t,this.c=n,this.a=r,this.s=a||"BESbswy",this.f={},this.w=o||3e3,this.u=i||null,this.m=this.j=this.h=this.g=null,this.g=new D(this.c,this.s),this.h=new D(this.c,this.s),this.j=new D(this.c,this.s),this.m=new D(this.c,this.s),e=T(e=new _(this.a.c+",serif",P(this.a))),this.g.a.style.cssText=e,e=T(e=new _(this.a.c+",sans-serif",P(this.a))),this.h.a.style.cssText=e,e=T(e=new _("serif",P(this.a))),this.j.a.style.cssText=e,e=T(e=new _("sans-serif",P(this.a))),this.m.a.style.cssText=e,N(this.g),N(this.h),N(this.j),N(this.m)}O.prototype.c=function(e){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},A.prototype.start=function(){var e=this.c.o.document,t=this,n=l(),r=new Promise((function(r,o){!function i(){l()-n>=t.f?o():e.fonts.load(function(e){return C(e)+" "+e.f+"00 300px "+E(e.c)}(t.a),t.h).then((function(e){1<=e.length?r():setTimeout(i,25)}),(function(){o()}))}()})),o=null,i=new Promise((function(e,n){o=setTimeout(n,t.f)}));Promise.race([i,r]).then((function(){o&&(clearTimeout(o),o=null),t.g(t.a)}),(function(){t.j(t.a)}))};var M={D:"serif",C:"sans-serif"},B=null;function F(){if(null===B){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);B=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return B}function L(e,t,n){for(var r in M)if(M.hasOwnProperty(r)&&t===e.f[M[r]]&&n===e.f[M[r]])return!0;return!1}function z(e){var t,n=e.g.a.offsetWidth,r=e.h.a.offsetWidth;(t=n===e.f.serif&&r===e.f["sans-serif"])||(t=F()&&L(e,n,r)),t?l()-e.A>=e.w?F()&&L(e,n,r)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?H(e,e.v):H(e,e.B):function(e){setTimeout(a((function(){z(this)}),e),50)}(e):H(e,e.v)}function H(e,t){setTimeout(a((function(){d(this.g.a),d(this.h.a),d(this.j.a),d(this.m.a),t(this.a)}),e),0)}function V(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}R.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=l(),z(this)};var U=null;function $(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&f(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),x(e,"active")):S(e.a))}function G(e){this.j=e,this.a=new I,this.h=0,this.f=this.g=!0}function W(e,t,n,r,o){var i=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=o||null,l=r||{};if(0===n.length&&i)S(t.a);else{t.f+=n.length,i&&(t.j=i);var c,s=[];for(c=0;c<n.length;c++){var u=n[c],p=l[u.c],d=t.a,m=u;if(d.g&&f(d.f,[d.a.c("wf",m.c,P(m).toString(),"loading")]),x(d,"fontloading",m),d=null,null===U)if(window.FontFace){m=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var g=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);U=m?42<parseInt(m[1],10):!g}else U=!1;d=U?new A(a(t.g,t),a(t.h,t),t.c,u,t.s,p):new R(a(t.g,t),a(t.h,t),t.c,u,t.s,e,p),s.push(d)}for(c=0;c<s.length;c++)s[c].start()}}),0)}function q(e,t){this.c=e,this.a=t}function Z(e,t){this.c=e,this.a=t}function K(e,t){this.c=e||Y,this.a=[],this.f=[],this.g=t||""}V.prototype.g=function(e){var t=this.a;t.g&&f(t.f,[t.a.c("wf",e.c,P(e).toString(),"active")],[t.a.c("wf",e.c,P(e).toString(),"loading"),t.a.c("wf",e.c,P(e).toString(),"inactive")]),x(t,"fontactive",e),this.m=!0,$(this)},V.prototype.h=function(e){var t=this.a;if(t.g){var n=m(t.f,t.a.c("wf",e.c,P(e).toString(),"active")),r=[],o=[t.a.c("wf",e.c,P(e).toString(),"loading")];n||r.push(t.a.c("wf",e.c,P(e).toString(),"inactive")),f(t.f,r,o)}x(t,"fontinactive",e),$(this)},G.prototype.load=function(e){this.c=new c(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,n){var r=[],o=n.timeout;!function(e){e.g&&f(e.f,[e.a.c("wf","loading")]),x(e,"loading")}(t);r=function(e,t,n){var r,o=[];for(r in t)if(t.hasOwnProperty(r)){var i=e.c[r];i&&o.push(i(t[r],n))}return o}(e.a,n,e.c);var i=new V(e.c,t,o);for(e.h=r.length,t=0,n=r.length;t<n;t++)r[t].load((function(t,n,r){W(e,i,t,n,r)}))}(this,new j(this.c,e),e)},q.prototype.load=function(e){function t(){if(i["__mti_fntLst"+r]){var n,o=i["__mti_fntLst"+r](),a=[];if(o)for(var l=0;l<o.length;l++){var c=o[l].fontfamily;null!=o[l].fontStyle&&null!=o[l].fontWeight?(n=o[l].fontStyle+o[l].fontWeight,a.push(new _(c,n))):a.push(new _(c))}e(a)}else setTimeout((function(){t()}),50)}var n=this,r=n.a.projectId,o=n.a.version;if(r){var i=n.c.o;h(this.c,(n.a.api||"https://fast.fonts.net/jsapi")+"/"+r+".js"+(o?"?v="+o:""),(function(o){o?e([]):(i["__MonotypeConfiguration__"+r]=function(){return n.a},t())})).id="__MonotypeAPIScript__"+r}else e([])},Z.prototype.load=function(e){var t,n,r=this.a.urls||[],o=this.a.families||[],i=this.a.testStrings||{},a=new b;for(t=0,n=r.length;t<n;t++)g(this.c,r[t],v(a));var l=[];for(t=0,n=o.length;t<n;t++)if((r=o[t].split(":"))[1])for(var c=r[1].split(","),s=0;s<c.length;s+=1)l.push(new _(r[0],c[s]));else l.push(new _(r[0]));y(a,(function(){e(l,i)}))};var Y="https://fonts.googleapis.com/css";function X(e){this.f=e,this.a=[],this.c={}}var J={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},Q={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},ee={i:"i",italic:"i",n:"n",normal:"n"},te=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function ne(e,t){this.c=e,this.a=t}var re={Arimo:!0,Cousine:!0,Tinos:!0};function oe(e,t){this.c=e,this.a=t}function ie(e,t){this.c=e,this.f=t,this.a=[]}ne.prototype.load=function(e){var t=new b,n=this.c,r=new K(this.a.api,this.a.text),o=this.a.families;!function(e,t){for(var n=t.length,r=0;r<n;r++){var o=t[r].split(":");3==o.length&&e.f.push(o.pop());var i="";2==o.length&&""!=o[1]&&(i=":"),e.a.push(o.join(i))}}(r,o);var i=new X(o);!function(e){for(var t=e.f.length,n=0;n<t;n++){var r=e.f[n].split(":"),o=r[0].replace(/\+/g," "),i=["n4"];if(2<=r.length){var a;if(a=[],l=r[1])for(var l,c=(l=l.split(",")).length,s=0;s<c;s++){var u;if((u=l[s]).match(/^[\w-]+$/))if(null==(p=te.exec(u.toLowerCase())))u="";else{if(u=null==(u=p[2])||""==u?"n":ee[u],null==(p=p[1])||""==p)p="4";else var p=Q[p]||(isNaN(p)?"4":p.substr(0,1));u=[u,p].join("")}else u="";u&&a.push(u)}0<a.length&&(i=a),3==r.length&&(a=[],0<(r=(r=r[2])?r.split(","):a).length&&(r=J[r[0]])&&(e.c[o]=r))}for(e.c[o]||(r=J[o])&&(e.c[o]=r),r=0;r<i.length;r+=1)e.a.push(new _(o,i[r]))}}(i),g(n,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,n=[],r=0;r<t;r++)n.push(e.a[r].replace(/ /g,"+"));return t=e.c+"?family="+n.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(r),v(t)),y(t,(function(){e(i.a,i.c,re)}))},oe.prototype.load=function(e){var t=this.a.id,n=this.c.o;t?h(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",(function(t){if(t)e([]);else if(n.Typekit&&n.Typekit.config&&n.Typekit.config.fn){t=n.Typekit.config.fn;for(var r=[],o=0;o<t.length;o+=2)for(var i=t[o],a=t[o+1],l=0;l<a.length;l++)r.push(new _(i,a[l]));try{n.Typekit.load({events:!1,classes:!1,async:!0})}catch(e){}e(r)}}),2e3):e([])},ie.prototype.load=function(e){var t=this.f.id,n=this.c.o,r=this;t?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[t]=function(t,n){for(var o=0,i=n.fonts.length;o<i;++o){var a=n.fonts[o];r.a.push(new _(a.name,k("font-weight:"+a.weight+";font-style:"+a.style)))}e(r.a)},h(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",(function(t){t&&e([])}))):e([])};var ae=new G(window);ae.a.c.custom=function(e,t){return new Z(t,e)},ae.a.c.fontdeck=function(e,t){return new ie(t,e)},ae.a.c.monotype=function(e,t){return new q(t,e)},ae.a.c.typekit=function(e,t){return new oe(t,e)},ae.a.c.google=function(e,t){return new ne(t,e)};var le={load:a(ae.load,ae)};void 0===(r=function(){return le}.call(t,n,t,e))||(e.exports=r)}()},7529:function(e){e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var o in r)t.call(r,o)&&(e[o]=r[o])}return e};var t=Object.prototype.hasOwnProperty},1764:function(e,t,n){var r={"./ct-addable-box.js":9231,"./ct-background.js":8219,"./ct-border.js":9847,"./ct-box-shadow.js":2076,"./ct-button.js":4056,"./ct-checkboxes.js":3817,"./ct-color-palettes-mirror.js":6701,"./ct-color-palettes-picker.js":9727,"./ct-color-picker.js":4910,"./ct-customize-section-title-actions.js":7910,"./ct-customizer-reset-options.js":7941,"./ct-divider.js":5457,"./ct-footer-builder.js":5186,"./ct-header-builder.js":1829,"./ct-image-picker.js":1650,"./ct-image-uploader.js":7402,"./ct-layers-combined.js":532,"./ct-layers-mirror.js":7525,"./ct-layers.js":543,"./ct-multi-image-uploader.js":7454,"./ct-notification.js":3570,"./ct-number.js":8153,"./ct-panel.js":9999,"./ct-radio.js":3781,"./ct-ratio.js":7812,"./ct-select.js":2425,"./ct-slider.js":254,"./ct-spacer.js":3480,"./ct-spacing.js":5954,"./ct-switch.js":7809,"./ct-title.js":9697,"./ct-typography.js":4034,"./ct-visibility.js":9109,"./ct-woocommerce-columns-and-rows.js":7475,"./ct-woocommerce-ratio.js":7762,"./date-time-picker.js":2159,"./hidden.js":2242,"./html.js":2616,"./jsx.js":5200,"./react-outside-click-handler.js":1511,"./text.js":4658,"./textarea.js":8670,"./wp-editor.js":227};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=1764},7363:function(e){"use strict";e.exports=React},1533:function(e){"use strict";e.exports=ReactDOM},2243:function(e){"use strict";e.exports=ctEvents},6715:function(e){"use strict";e.exports=window._},8441:function(e){"use strict";e.exports=window.wp.components},2476:function(e){"use strict";e.exports=window.wp.date},1381:function(e){"use strict";e.exports=window.wp.element},5224:function(e){"use strict";e.exports=window.wp.hooks},5652:function(e){"use strict";e.exports=window.wp.i18n},7326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},4942:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9142);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},7462:function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.r(t),n.d(t,{default:function(){return r}})},4578:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9611);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},3366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.r(t),n.d(t,{default:function(){return r}})},9611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},9142:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1002);function o(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},1002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},2329:function(e,t,n){"use strict";n.d(t,{uT:function(){return wn},q:function(){return Ln}});var r=n(7363),o=Object.defineProperty,i={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(i,{assign:()=>F,colors:()=>R,createStringInterpolator:()=>D,skipAnimation:()=>M,to:()=>N,willAdvance:()=>B});var a=_(),l=e=>v(e,a),c=_();l.write=e=>v(e,c);var s=_();l.onStart=e=>v(e,s);var u=_();l.onFrame=e=>v(e,u);var p=_();l.onFinish=e=>v(e,p);var d=[];l.setTimeout=(e,t)=>{const n=l.now()+t,r=()=>{const e=d.findIndex((e=>e.cancel==r));~e&&d.splice(e,1),h-=~e?1:0},o={time:n,handler:e,cancel:r};return d.splice(f(n),0,o),h+=1,y(),o};var f=e=>~(~d.findIndex((t=>t.time>e))||~d.length);l.cancel=e=>{s.delete(e),u.delete(e),p.delete(e),a.delete(e),c.delete(e)},l.sync=e=>{b=!0,l.batchedUpdates(e),b=!1},l.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,l.onStart(n)}return r.handler=e,r.cancel=()=>{s.delete(n),t=null},r};var m="undefined"!=typeof window?window.requestAnimationFrame:()=>{};l.use=e=>m=e,l.now="undefined"!=typeof performance?()=>performance.now():Date.now,l.batchedUpdates=e=>e(),l.catch=console.error,l.frameLoop="always",l.advance=()=>{"demand"!==l.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):O()};var g=-1,h=0,b=!1;function v(e,t){b?(t.delete(e),e(0)):(t.add(e),y())}function y(){g<0&&(g=0,"demand"!==l.frameLoop&&m(w))}function w(){~g&&(m(w),l.batchedUpdates(O))}function O(){const e=g;g=l.now();const t=f(g);t&&(E(d.splice(0,t),(e=>e.handler())),h-=t),h?(s.flush(),a.flush(e?Math.min(64,g-e):16.667),u.flush(),c.flush(),p.flush()):g=-1}function _(){let e=new Set,t=e;return{add(n){h+=t!=e||e.has(n)?0:1,e.add(n)},delete(n){return h-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,h-=t.size,E(t,(t=>t(n)&&e.add(t))),h+=e.size,t=e)}}}function E(e,t){e.forEach((e=>{try{t(e)}catch(e){l.catch(e)}}))}function P(){}var C={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function k(e,t){if(C.arr(e)){if(!C.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var j=(e,t)=>e.forEach(t);function S(e,t,n){if(C.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var x=e=>C.und(e)?[]:C.arr(e)?e:[e];function I(e,t){if(e.size){const n=Array.from(e);e.clear(),j(n,t)}}var D,N,T=(e,...t)=>I(e,(e=>e(...t))),A=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),R=null,M=!1,B=P,F=e=>{e.to&&(N=e.to),e.now&&(l.now=e.now),void 0!==e.colors&&(R=e.colors),null!=e.skipAnimation&&(M=e.skipAnimation),e.createStringInterpolator&&(D=e.createStringInterpolator),e.requestAnimationFrame&&l.use(e.requestAnimationFrame),e.batchedUpdates&&(l.batchedUpdates=e.batchedUpdates),e.willAdvance&&(B=e.willAdvance),e.frameLoop&&(l.frameLoop=e.frameLoop)},L=new Set,z=[],H=[],V=0,U={get idle(){return!L.size&&!z.length},start(e){V>e.priority?(L.add(e),l.onStart($)):(G(e),l(q))},advance:q,sort(e){if(V)l.onFrame((()=>U.sort(e)));else{const t=z.indexOf(e);~t&&(z.splice(t,1),W(e))}},clear(){z=[],L.clear()}};function $(){L.forEach(G),L.clear(),l(q)}function G(e){z.includes(e)||W(e)}function W(e){z.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(z,(t=>t.priority>e.priority)),0,e)}function q(e){const t=H;for(let n=0;n<z.length;n++){const r=z[n];V=r.priority,r.idle||(B(r),r.advance(e),r.idle||t.push(r))}return V=0,(H=z).length=0,(z=t).length>0}var Z="[-+]?\\d*\\.?\\d+",K=Z+"%";function Y(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var X=new RegExp("rgb"+Y(Z,Z,Z)),J=new RegExp("rgba"+Y(Z,Z,Z,Z)),Q=new RegExp("hsl"+Y(Z,K,K)),ee=new RegExp("hsla"+Y(Z,K,K,Z)),te=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ne=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,re=/^#([0-9a-fA-F]{6})$/,oe=/^#([0-9a-fA-F]{8})$/;function ie(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ae(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=ie(o,r,e+1/3),a=ie(o,r,e),l=ie(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*l)<<8}function le(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function ce(e){return(parseFloat(e)%360+360)%360/360}function se(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ue(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function pe(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=re.exec(e))?parseInt(t[1]+"ff",16)>>>0:R&&void 0!==R[e]?R[e]:(t=X.exec(e))?(le(t[1])<<24|le(t[2])<<16|le(t[3])<<8|255)>>>0:(t=J.exec(e))?(le(t[1])<<24|le(t[2])<<16|le(t[3])<<8|se(t[4]))>>>0:(t=te.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=oe.exec(e))?parseInt(t[1],16)>>>0:(t=ne.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Q.exec(e))?(255|ae(ce(t[1]),ue(t[2]),ue(t[3])))>>>0:(t=ee.exec(e))?(ae(ce(t[1]),ue(t[2]),ue(t[3]))|se(t[4]))>>>0:null}(e);if(null===t)return e;t=t||0;return`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`}var de=(e,t,n)=>{if(C.fun(e))return e;if(C.arr(e))return de({range:e,output:t,extrapolate:n});if(C.str(e.output[0]))return D(e);const r=e,o=r.output,i=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",l=r.extrapolateRight||r.extrapolate||"extend",c=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,a,l,c){let s=c?c(e):e;if(s<t){if("identity"===a)return s;"clamp"===a&&(s=t)}if(s>n){if("identity"===l)return s;"clamp"===l&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=i(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,i[t],i[t+1],o[t],o[t+1],c,a,l,r.map)}};var fe=1.70158,me=1.525*fe,ge=fe+1,he=2*Math.PI/3,be=2*Math.PI/4.5,ve=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},ye={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>ge*e*e*e-fe*e*e,easeOutBack:e=>1+ge*Math.pow(e-1,3)+fe*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-me)/2:(Math.pow(2*e-2,2)*((me+1)*(2*e-2)+me)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*he),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*he)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*be)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*be)/2+1,easeInBounce:e=>1-ve(1-e),easeOutBounce:ve,easeInOutBounce:e=>e<.5?(1-ve(1-2*e))/2:(1+ve(2*e-1))/2,steps:(e,t="end")=>n=>{const r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e,o="end"===t?Math.floor(r):Math.ceil(r);return i=0,a=1,l=o/e,Math.min(Math.max(l,i),a);var i,a,l}},we=Symbol.for("FluidValue.get"),Oe=Symbol.for("FluidValue.observers"),_e=e=>Boolean(e&&e[we]),Ee=e=>e&&e[we]?e[we]():e,Pe=e=>e[Oe]||null;function Ce(e,t){const n=e[Oe];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}var ke=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");je(this,e)}},je=(e,t)=>De(e,we,t);function Se(e,t){if(e[we]){let n=e[Oe];n||De(e,Oe,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function xe(e,t){const n=e[Oe];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Oe]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var Ie,De=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Ne=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Te=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Ae=new RegExp(`(${Ne.source})(%|[a-z]+)`,"i"),Re=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Me=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Be=e=>{const[t,n]=Fe(e);if(!t||A())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&Me.test(n)?Be(n):n||e},Fe=e=>{const t=Me.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},Le=(e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`,ze=e=>{Ie||(Ie=R?new RegExp(`(${Object.keys(R).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>Ee(e).replace(Me,Be).replace(Te,pe).replace(Ie,pe))),n=t.map((e=>e.match(Ne).map(Number))),r=n[0].map(((e,t)=>n.map((e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})))).map((t=>de({...e,output:t})));return e=>{const n=!Ae.test(t[0])&&t.find((e=>Ae.test(e)))?.replace(Ne,"");let o=0;return t[0].replace(Ne,(()=>`${r[o++](e)}${n||""}`)).replace(Re,Le)}},He="react-spring: ",Ve=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${He}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},Ue=Ve(console.warn);var $e=Ve(console.warn);function Ge(e){return C.str(e)&&("#"==e[0]||/\d/.test(e)||!A()&&Me.test(e)||e in(R||{}))}var We=A()?r.useEffect:r.useLayoutEffect,qe=()=>{const e=(0,r.useRef)(!1);return We((()=>(e.current=!0,()=>{e.current=!1})),[]),e};function Ze(){const e=(0,r.useState)()[1],t=qe();return()=>{t.current&&e(Math.random())}}var Ke=e=>(0,r.useEffect)(e,Ye),Ye=[];var Xe=Symbol.for("Animated:node"),Je=e=>e&&e[Xe],Qe=(e,t)=>((e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}))(e,Xe,t),et=e=>e&&e[Xe]&&e[Xe].getPayload(),tt=class{constructor(){Qe(this,this)}getPayload(){return this.payload||[]}},nt=class extends tt{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,C.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new nt(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return C.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,C.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},rt=class extends nt{constructor(e){super(0),this._string=null,this._toString=de({output:[e,e]})}static create(e){return new rt(e)}getValue(){const e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(C.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=de({output:[this.getValue(),e]})),this._value=0,super.reset()}},ot={dependencies:null},it=class extends tt{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return S(this.source,((n,r)=>{(e=>!!e&&e[Xe]===e)(n)?t[r]=n.getValue(e):_e(n)?t[r]=Ee(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&j(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return S(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){ot.dependencies&&_e(e)&&ot.dependencies.add(e);const t=et(e);t&&j(t,(e=>this.add(e)))}},at=class extends it{constructor(e){super(e)}static create(e){return new at(e)}getValue(){return this.source.map((e=>e.getValue()))}setValue(e){const t=this.getPayload();return e.length==t.length?t.map(((t,n)=>t.setValue(e[n]))).some(Boolean):(super.setValue(e.map(lt)),!0)}};function lt(e){return(Ge(e)?rt:nt).create(e)}function ct(e){const t=Je(e);return t?t.constructor:C.arr(e)?at:Ge(e)?rt:nt}var st=(e,t)=>{const n=!C.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,r.forwardRef)(((o,i)=>{const a=(0,r.useRef)(null),c=n&&(0,r.useCallback)((e=>{a.current=function(e,t){e&&(C.fun(e)?e(t):e.current=t);return t}(i,e)}),[i]),[s,u]=function(e,t){const n=new Set;ot.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)});return e=new it(e),ot.dependencies=null,[e,n]}(o,t),p=Ze(),d=()=>{const e=a.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,s.getValue(!0)))&&p()},f=new ut(d,u),m=(0,r.useRef)();We((()=>(m.current=f,j(u,(e=>Se(e,f))),()=>{m.current&&(j(m.current.deps,(e=>xe(e,m.current))),l.cancel(m.current.update))}))),(0,r.useEffect)(d,[]),Ke((()=>()=>{const e=m.current;j(e.deps,(t=>xe(t,e)))}));const g=t.getComponentProps(s.getValue());return r.createElement(e,{...g,ref:c})}))},ut=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&l.write(this.update)}};var pt=Symbol.for("AnimatedComponent"),dt=e=>C.str(e)?e:e&&C.str(e.displayName)?e.displayName:C.fun(e)&&e.name||null;function ft(e,...t){return C.fun(e)?e(...t):e}var mt=(e,t)=>!0===e||!!(t&&e&&(C.fun(e)?e(t):x(e).includes(t))),gt=(e,t)=>C.obj(e)?t&&e[t]:e,ht=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,bt=e=>e,vt=(e,t=bt)=>{let n=yt;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const o of n){const n=t(e[o],o);C.und(n)||(r[o]=n)}return r},yt=["config","onProps","onStart","onChange","onPause","onResume","onRest"],wt={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Ot(e){const t=function(e){const t={};let n=0;if(S(e,((e,r)=>{wt[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return S(e,((e,r)=>r in t||(n[r]=e))),n}return{...e}}function _t(e){return e=Ee(e),C.arr(e)?e.map(_t):Ge(e)?i.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Et(e){for(const t in e)return!0;return!1}function Pt(e){return C.fun(e)||C.arr(e)&&C.obj(e[0])}function Ct(e,t){e.ref?.delete(e),t?.delete(e)}function kt(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}var jt={tension:170,friction:26,mass:1,damping:1,easing:ye.linear,clamp:!1};function St(e,t){if(C.und(t.decay)){const n=!C.und(t.tension)||!C.und(t.friction);!n&&C.und(t.frequency)&&C.und(t.damping)&&C.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var xt=[];function It(e,{key:t,props:n,defaultProps:r,state:o,actions:a}){return new Promise(((c,s)=>{let u,p,d=mt(n.cancel??r?.cancel,t);if(d)g();else{C.und(n.pause)||(o.paused=mt(n.pause,t));let e=r?.pause;!0!==e&&(e=o.paused||mt(e,t)),u=ft(n.delay||0,t),e?(o.resumeQueue.add(m),a.pause()):(a.resume(),m())}function f(){o.resumeQueue.add(m),o.timeouts.delete(p),p.cancel(),u=p.time-l.now()}function m(){u>0&&!i.skipAnimation?(o.delayed=!0,p=l.setTimeout(g,u),o.pauseQueue.add(f),o.timeouts.add(p)):g()}function g(){o.delayed&&(o.delayed=!1),o.pauseQueue.delete(f),o.timeouts.delete(p),e<=(o.cancelId||0)&&(d=!0);try{a.start({...n,callId:e,cancel:d},c)}catch(e){s(e)}}}))}var Dt=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?At(e.get()):t.every((e=>e.noop))?Nt(e.get()):Tt(e.get(),t.every((e=>e.finished))),Nt=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Tt=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),At=e=>({value:e,cancelled:!0,finished:!1});function Rt(e,t,n,r){const{callId:o,parentId:a,onRest:c}=t,{asyncTo:s,promise:u}=n;return a||e!==s||t.reset?n.promise=(async()=>{n.asyncId=o,n.asyncTo=e;const p=vt(t,((e,t)=>"onRest"===t?void 0:e));let d,f;const m=new Promise(((e,t)=>(d=e,f=t))),g=e=>{const t=o<=(n.cancelId||0)&&At(r)||o!==n.asyncId&&Tt(r,!1);if(t)throw e.result=t,f(e),e},h=(e,t)=>{const a=new Bt,l=new Ft;return(async()=>{if(i.skipAnimation)throw Mt(n),l.result=Tt(r,!1),f(l),l;g(a);const c=C.obj(e)?{...e}:{...t,to:e};c.parentId=o,S(p,((e,t)=>{C.und(c[t])&&(c[t]=e)}));const s=await r.start(c);return g(a),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),s})()};let b;if(i.skipAnimation)return Mt(n),Tt(r,!1);try{let t;t=C.arr(e)?(async e=>{for(const t of e)await h(t)})(e):Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([t.then(d),m]),b=Tt(r.get(),!0,!1)}catch(e){if(e instanceof Bt)b=e.result;else{if(!(e instanceof Ft))throw e;b=e.result}}finally{o==n.asyncId&&(n.asyncId=a,n.asyncTo=a?s:void 0,n.promise=a?u:void 0)}return C.fun(c)&&l.batchedUpdates((()=>{c(b,r,r.item)})),b})():u}function Mt(e,t){I(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Bt=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},Ft=class extends Error{constructor(){super("SkipAnimationSignal")}},Lt=e=>e instanceof Ht,zt=1,Ht=class extends ke{constructor(){super(...arguments),this.id=zt++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Je(this);return e&&e.getValue()}to(...e){return i.to(this,e)}interpolate(...e){return Ue(`${He}The "interpolate" function is deprecated in v9 (use "to" instead)`),i.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Ce(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||U.sort(this),Ce(this,{type:"priority",parent:this,priority:e})}},Vt=Symbol.for("SpringPhase"),Ut=e=>(1&e[Vt])>0,$t=e=>(2&e[Vt])>0,Gt=e=>(4&e[Vt])>0,Wt=(e,t)=>t?e[Vt]|=3:e[Vt]&=-3,qt=(e,t)=>t?e[Vt]|=4:e[Vt]&=-5,Zt=class extends Ht{constructor(e,t){if(super(),this.animation=new class{constructor(){this.changed=!1,this.values=xt,this.toValues=null,this.fromValues=xt,this.config=new class{constructor(){this.velocity=0,Object.assign(this,jt)}},this.immediate=!1}},this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!C.und(e)||!C.und(t)){const n=C.obj(e)?{...e}:{...t,from:e};C.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!($t(this)||this._state.asyncTo)||Gt(this)}get goal(){return Ee(this.animation.to)}get velocity(){const e=Je(this);return e instanceof nt?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return Ut(this)}get isAnimating(){return $t(this)}get isPaused(){return Gt(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:o}=r;const{config:i}=r,a=et(r.to);!a&&_e(r.to)&&(o=x(Ee(r.to))),r.values.forEach(((l,c)=>{if(l.done)return;const s=l.constructor==rt?1:a?a[c].lastPosition:o[c];let u=r.immediate,p=s;if(!u){if(p=l.lastPosition,i.tension<=0)return void(l.done=!0);let t=l.elapsedTime+=e;const n=r.fromValues[c],o=null!=l.v0?l.v0:l.v0=C.arr(i.velocity)?i.velocity[c]:i.velocity;let a;const d=i.precision||(n==s?.005:Math.min(1,.001*Math.abs(s-n)));if(C.und(i.duration))if(i.decay){const e=!0===i.decay?.998:i.decay,r=Math.exp(-(1-e)*t);p=n+o/(1-e)*(1-r),u=Math.abs(l.lastPosition-p)<=d,a=o*r}else{a=null==l.lastVelocity?o:l.lastVelocity;const t=i.restVelocity||d/10,r=i.clamp?0:i.bounce,c=!C.und(r),f=n==s?l.v0>0:n<s;let m,g=!1;const h=1,b=Math.ceil(e/h);for(let e=0;e<b&&(m=Math.abs(a)>t,m||(u=Math.abs(s-p)<=d,!u));++e){c&&(g=p==s||p>s==f,g&&(a=-a*r,p=s));a+=(1e-6*-i.tension*(p-s)+.001*-i.friction*a)/i.mass*h,p+=a*h}}else{let r=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,l.durationProgress>0&&(l.elapsedTime=i.duration*l.durationProgress,t=l.elapsedTime+=e)),r=(i.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,l.durationProgress=r),p=n+i.easing(r)*(s-n),a=(p-l.lastPosition)/e,u=1==r}l.lastVelocity=a,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),u=!0)}a&&!a[c].done&&(u=!1),u?l.done=!0:t=!1,l.setValue(p,i.round)&&(n=!0)}));const l=Je(this),c=l.getValue();if(t){const e=Ee(r.to);c===e&&!n||i.decay?n&&i.decay&&this._onChange(c):(l.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(c)}set(e){return l.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if($t(this)){const{to:e,config:t}=this.animation;l.batchedUpdates((()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()}))}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return C.und(e)?(n=this.queue||[],this.queue=[]):n=[C.obj(e)?e:{...t,to:e}],Promise.all(n.map((e=>this._update(e)))).then((e=>Dt(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Mt(this._state,e&&this._lastCallId),l.batchedUpdates((()=>this._stop(t,e))),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=C.obj(n)?n[t]:n,(null==n||Pt(n))&&(n=void 0),r=C.obj(r)?r[t]:r,null==r&&(r=void 0);const o={to:n,from:r};return Ut(this)||(e.reverse&&([n,r]=[r,n]),r=Ee(r),C.und(r)?Je(this)||this._set(n):this._set(r)),o}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,vt(e,((e,t)=>/^on/.test(t)?gt(e,n):e))),en(this,e,"onProps"),tn(this,"onProps",e,this);const o=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const i=this._state;return It(++this._lastCallId,{key:n,props:e,defaultProps:r,state:i,actions:{pause:()=>{Gt(this)||(qt(this,!0),T(i.pauseQueue),tn(this,"onPause",Tt(this,Kt(this,this.animation.to)),this))},resume:()=>{Gt(this)&&(qt(this,!1),$t(this)&&this._resume(),T(i.resumeQueue),tn(this,"onResume",Tt(this,Kt(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then((n=>{if(e.loop&&n.finished&&(!t||!n.noop)){const t=Yt(e);if(t)return this._update(t,!0)}return n}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(At(this));const r=!C.und(e.to),o=!C.und(e.from);if(r||o){if(!(t.callId>this._lastToId))return n(At(this));this._lastToId=t.callId}const{key:i,defaultProps:a,animation:c}=this,{to:s,from:u}=c;let{to:p=s,from:d=u}=e;!o||r||t.default&&!C.und(p)||(p=d),t.reverse&&([p,d]=[d,p]);const f=!k(d,u);f&&(c.from=d),d=Ee(d);const m=!k(p,s);m&&this._focus(p);const g=Pt(t.to),{config:h}=c,{decay:b,velocity:v}=h;(r||o)&&(h.velocity=0),t.config&&!g&&function(e,t,n){n&&(St(n={...n},t),t={...n,...t}),St(e,t),Object.assign(e,t);for(const t in jt)null==e[t]&&(e[t]=jt[t]);let{frequency:r,damping:o}=e;const{mass:i}=e;C.und(r)||(r<.01&&(r=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/r,2)*i,e.friction=4*Math.PI*o*i/r)}(h,ft(t.config,i),t.config!==a.config?ft(a.config,i):void 0);let y=Je(this);if(!y||C.und(p))return n(Tt(this,!0));const w=C.und(t.reset)?o&&!t.default:!C.und(d)&&mt(t.reset,i),O=w?d:this.get(),_=_t(p),E=C.num(_)||C.arr(_)||Ge(_),P=!g&&(!E||mt(a.immediate||t.immediate,i));if(m){const e=ct(p);if(e!==y.constructor){if(!P)throw Error(`Cannot animate between ${y.constructor.name} and ${e.name}, as the "to" prop suggests`);y=this._set(_)}}const S=y.constructor;let I=_e(p),D=!1;if(!I){const e=w||!Ut(this)&&f;(m||e)&&(D=k(_t(O),_),I=!D),(k(c.immediate,P)||P)&&k(h.decay,b)&&k(h.velocity,v)||(I=!0)}if(D&&$t(this)&&(c.changed&&!w?I=!0:I||this._stop(s)),!g&&((I||_e(s))&&(c.values=y.getPayload(),c.toValues=_e(p)?null:S==rt?[1]:x(_)),c.immediate!=P&&(c.immediate=P,P||w||this._set(s)),I)){const{onRest:e}=c;j(Qt,(e=>en(this,t,e)));const r=Tt(this,Kt(this,s));T(this._pendingCalls,r),this._pendingCalls.add(n),c.changed&&l.batchedUpdates((()=>{c.changed=!w,e?.(r,this),w?ft(a.onRest,r):c.onStart?.(r,this)}))}w&&this._set(O),g?n(Rt(t.to,t,this._state,this)):I?this._start():$t(this)&&!m?this._pendingCalls.add(n):n(Nt(O))}_focus(e){const t=this.animation;e!==t.to&&(Pe(this)&&this._detach(),t.to=e,Pe(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;_e(t)&&(Se(t,this),Lt(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;_e(e)&&xe(e,this)}_set(e,t=!0){const n=Ee(e);if(!C.und(n)){const e=Je(this);if(!e||!k(n,e.getValue())){const r=ct(n);e&&e.constructor==r?e.setValue(n):Qe(this,r.create(n)),e&&l.batchedUpdates((()=>{this._onChange(n,t)}))}}return Je(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,tn(this,"onStart",Tt(this,Kt(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),ft(this.animation.onChange,e,this)),ft(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Je(this).reset(Ee(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),$t(this)||(Wt(this,!0),Gt(this)||this._resume())}_resume(){i.skipAnimation?this.finish():U.start(this)}_stop(e,t){if($t(this)){Wt(this,!1);const n=this.animation;j(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Ce(this,{type:"idle",parent:this});const r=t?At(this.get()):Tt(this.get(),Kt(this,e??n.to));T(this._pendingCalls,r),n.changed&&(n.changed=!1,tn(this,"onRest",r,this))}}};function Kt(e,t){const n=_t(t);return k(_t(e.get()),n)}function Yt(e,t=e.loop,n=e.to){const r=ft(t);if(r){const o=!0!==r&&Ot(r),i=(o||e).reverse,a=!o||o.reset;return Xt({...e,loop:t,default:!1,pause:void 0,to:!i||Pt(n)?n:void 0,from:a?e.from:void 0,reset:a,...o})}}function Xt(e){const{to:t,from:n}=e=Ot(e),r=new Set;return C.obj(t)&&Jt(t,r),C.obj(n)&&Jt(n,r),e.keys=r.size?Array.from(r):null,e}function Jt(e,t){S(e,((e,n)=>null!=e&&t.add(n)))}var Qt=["onStart","onRest","onChange","onPause","onResume"];function en(e,t,n){e.animation[n]=t[n]!==ht(t,n)?gt(t[n],e.key):void 0}function tn(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var nn=["onStart","onChange","onRest"],rn=1,on=class{constructor(e,t){this.id=rn++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each(((t,n)=>e[n]=t.get())),e}set(e){for(const t in e){const n=e[t];C.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Xt(e)),this}start(e){let{queue:t}=this;return e?t=x(e).map(Xt):this.queue=[],this._flush?this._flush(this,t):(dn(this,t),an(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;j(x(t),(t=>n[t].stop(!!e)))}else Mt(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(C.und(e))this.start({pause:!0});else{const t=this.springs;j(x(e),(e=>t[e].pause()))}return this}resume(e){if(C.und(e))this.start({pause:!1});else{const t=this.springs;j(x(e),(e=>t[e].resume()))}return this}each(e){S(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,o=this._changed.size>0;(r&&!this._started||o&&!this._started)&&(this._started=!0,I(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const i=!r&&this._started,a=o||i&&n.size?this.get():null;o&&t.size&&I(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),i&&(this._started=!1,I(n,(([e,t])=>{t.value=a,e(t,this,this._item)})))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}l.onFrame(this._onFrame)}};function an(e,t){return Promise.all(t.map((t=>ln(e,t)))).then((t=>Dt(e,t)))}async function ln(e,t,n){const{keys:r,to:o,from:i,loop:a,onRest:c,onResolve:s}=t,u=C.obj(t.default)&&t.default;a&&(t.loop=!1),!1===o&&(t.to=null),!1===i&&(t.from=null);const p=C.arr(o)||C.fun(o)?o:void 0;p?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):j(nn,(n=>{const r=t[n];if(C.fun(r)){const o=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=o.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):o.set(r,{value:null,finished:e||!1,cancelled:t||!1})},u&&(u[n]=t[n])}}));const d=e._state;t.pause===!d.paused?(d.paused=t.pause,T(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const f=(r||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),m=!0===t.cancel||!0===ht(t,"cancel");(p||m&&d.asyncId)&&f.push(It(++e._lastAsyncId,{props:t,state:d,actions:{pause:P,resume:P,start(t,n){m?(Mt(d,e._lastAsyncId),n(At(e))):(t.onRest=c,n(Rt(p,t,d,e)))}}})),d.paused&&await new Promise((e=>{d.resumeQueue.add(e)}));const g=Dt(e,await Promise.all(f));if(a&&g.finished&&(!n||!g.noop)){const n=Yt(t,a,o);if(n)return dn(e,[n]),ln(e,n,!0)}return s&&l.batchedUpdates((()=>s(g,e,e.item))),g}function cn(e,t){const n={...e.springs};return t&&j(x(t),(e=>{C.und(e.keys)&&(e=Xt(e)),C.obj(e.to)||(e={...e,to:void 0}),pn(n,e,(e=>un(e)))})),sn(e,n),n}function sn(e,t){S(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,Se(t,e))}))}function un(e,t){const n=new Zt;return n.key=e,t&&Se(n,t),n}function pn(e,t,n){t.keys&&j(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function dn(e,t){j(t,(t=>{pn(e.springs,t,(t=>un(t,e)))}))}var fn,mn,gn=({children:e,...t})=>{const n=(0,r.useContext)(hn),o=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=function(e,t){const[n]=(0,r.useState)((()=>({inputs:t,result:e()}))),o=(0,r.useRef)(),i=o.current;let a=i;a?Boolean(t&&a.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,a.inputs))||(a={inputs:t,result:e()}):a=n;return(0,r.useEffect)((()=>{o.current=a,i==n&&(n.inputs=n.result=void 0)}),[a]),a.result}((()=>({pause:o,immediate:i})),[o,i]);const{Provider:a}=hn;return r.createElement(a,{value:t},e)},hn=(fn=gn,mn={},Object.assign(fn,r.createContext(mn)),fn.Provider._context=fn,fn.Consumer._context=fn,fn);gn.Provider=hn.Provider,gn.Consumer=hn.Consumer;var bn=()=>{const e=[],t=function(t){$e(`${He}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return j(e,((e,o)=>{if(C.und(t))r.push(e.start());else{const i=n(t,e,o);i&&r.push(e.start(i))}})),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return j(e,(e=>e.pause(...arguments))),this},t.resume=function(){return j(e,(e=>e.resume(...arguments))),this},t.set=function(t){j(e,((e,n)=>{const r=C.fun(t)?t(n,e):t;r&&e.set(r)}))},t.start=function(t){const n=[];return j(e,((e,r)=>{if(C.und(t))n.push(e.start());else{const o=this._getProps(t,e,r);o&&n.push(e.start(o))}})),n},t.stop=function(){return j(e,(e=>e.stop(...arguments))),this},t.update=function(t){return j(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return C.fun(e)?e(n,t):e};return t._getProps=n,t};function vn(e,t,n){const o=C.fun(t)&&t,{reset:i,sort:a,trail:l=0,expires:c=!0,exitBeforeEnter:s=!1,onDestroyed:u,ref:p,config:d}=o?o():t,f=(0,r.useMemo)((()=>o||3==arguments.length?bn():void 0),[]),m=x(e),g=[],h=(0,r.useRef)(null),b=i?null:h.current;We((()=>{h.current=g})),Ke((()=>(j(g,(e=>{f?.add(e.ctrl),e.ctrl.ref=f})),()=>{j(h.current,(e=>{e.expired&&clearTimeout(e.expirationId),Ct(e.ctrl,f),e.ctrl.stop(!0)}))})));const v=function(e,{key:t,keys:n=t},r){if(null===n){const t=new Set;return e.map((e=>{const n=r&&r.find((n=>n.item===e&&"leave"!==n.phase&&!t.has(n)));return n?(t.add(n),n.key):yn++}))}return C.und(n)?e:C.fun(n)?e.map(n):x(n)}(m,o?o():t,b),y=i&&h.current||[];We((()=>j(y,(({ctrl:e,item:t,key:n})=>{Ct(e,f),ft(u,t,n)}))));const w=[];if(b&&j(b,((e,t)=>{e.expired?(clearTimeout(e.expirationId),y.push(e)):~(t=w[t]=v.indexOf(e.key))&&(g[t]=e)})),j(m,((e,t)=>{g[t]||(g[t]={key:v[t],item:e,phase:"mount",ctrl:new on},g[t].ctrl.item=e)})),w.length){let e=-1;const{leave:n}=o?o():t;j(w,((t,r)=>{const o=b[r];~t?(e=g.indexOf(o),g[e]={...o,item:m[t]}):n&&g.splice(++e,0,o)}))}C.fun(a)&&g.sort(((e,t)=>a(e.item,t.item)));let O=-l;const _=Ze(),E=vt(t),P=new Map,k=(0,r.useRef)(new Map),S=(0,r.useRef)(!1);j(g,((e,n)=>{const r=e.key,i=e.phase,a=o?o():t;let u,f;const m=ft(a.delay||0,r);if("mount"==i)u=a.enter,f="enter";else{const e=v.indexOf(r)<0;if("leave"!=i)if(e)u=a.leave,f="leave";else{if(!(u=a.update))return;f="update"}else{if(e)return;u=a.enter,f="enter"}}if(u=ft(u,e.item,n),u=C.obj(u)?Ot(u):{to:u},!u.config){const t=d||E.config;u.config=ft(t,e.item,n,f)}O+=l;const g={...E,delay:m+O,ref:p,immediate:a.immediate,reset:!1,...u};if("enter"==f&&C.und(g.from)){const r=o?o():t,i=C.und(r.initial)||b?r.from:r.initial;g.from=ft(i,e.item,n)}const{onResolve:y}=g;g.onResolve=e=>{ft(y,e);const t=h.current,n=t.find((e=>e.key===r));if(n&&(!e.cancelled||"update"==n.phase)&&n.ctrl.idle){const e=t.every((e=>e.ctrl.idle));if("leave"==n.phase){const t=ft(c,n.item);if(!1!==t){const r=!0===t?0:t;if(n.expired=!0,!e&&r>0)return void(r<=2147483647&&(n.expirationId=setTimeout(_,r)))}}e&&t.some((e=>e.expired))&&(k.current.delete(n),s&&(S.current=!0),_())}};const w=cn(e.ctrl,g);"leave"===f&&s?k.current.set(e,{phase:f,springs:w,payload:g}):P.set(e,{phase:f,springs:w,payload:g})}));const I=(0,r.useContext)(gn),D=function(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e})),t.current}(I),N=I!==D&&Et(I);We((()=>{N&&j(g,(e=>{e.ctrl.start({default:I})}))}),[I]),j(P,((e,t)=>{if(k.current.size){const e=g.findIndex((e=>e.key===t.key));g.splice(e,1)}})),We((()=>{j(k.current.size?k.current:P,(({phase:e,payload:t},n)=>{const{ctrl:r}=n;n.phase=e,f?.add(r),N&&"enter"==e&&r.start({default:I}),t&&(kt(r,t.ref),!r.ref&&!f||S.current?(r.start(t),S.current&&(S.current=!1)):r.update(t))}))}),i?void 0:n);const T=e=>r.createElement(r.Fragment,null,g.map(((t,n)=>{const{springs:o}=P.get(t)||t.ctrl,i=e({...o},t.item,t,n);return i&&i.type?r.createElement(i.type,{...i.props,key:C.str(t.key)||C.num(t.key)?t.key:t.ctrl.id,ref:i.ref}):i})));return f?[T,f]:T}var yn=1;function wn({items:e,children:t,...n}){return vn(e,n)(t)}var On=class extends Ht{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=de(...t);const n=this._get(),r=ct(n);Qe(this,r.create(n))}advance(e){const t=this._get();k(t,this.get())||(Je(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&En(this._active)&&Pn(this)}_get(){const e=C.arr(this.source)?this.source.map(Ee):x(Ee(this.source));return this.calc(...e)}_start(){this.idle&&!En(this._active)&&(this.idle=!1,j(et(this),(e=>{e.done=!1})),i.skipAnimation?(l.batchedUpdates((()=>this.advance())),Pn(this)):U.start(this))}_attach(){let e=1;j(x(this.source),(t=>{_e(t)&&Se(t,this),Lt(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){j(x(this.source),(e=>{_e(e)&&xe(e,this)})),this._active.clear(),Pn(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=x(this.source).reduce(((e,t)=>Math.max(e,(Lt(t)?t.priority:0)+1)),0))}};function _n(e){return!1!==e.idle}function En(e){return!e.size||Array.from(e).every(_n)}function Pn(e){e.idle||(e.idle=!0,j(et(e),(e=>{e.done=!0})),Ce(e,{type:"idle",parent:e}))}i.assign({createStringInterpolator:ze,to:(e,t)=>new On(e,t)});U.advance;var Cn=n(1533),kn=/^--/;function jn(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||kn.test(e)||xn.hasOwnProperty(e)&&xn[e]?(""+t).trim():t+"px"}var Sn={};var xn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},In=["Webkit","Ms","Moz","O"];xn=Object.keys(xn).reduce(((e,t)=>(In.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),xn);var Dn=/^(matrix|translate|scale|rotate|skew)/,Nn=/^(translate)/,Tn=/^(rotate|skew)/,An=(e,t)=>C.num(e)&&0!==e?e+t:e,Rn=(e,t)=>C.arr(e)?e.every((e=>Rn(e,t))):C.num(e)?e===t:parseFloat(e)===t,Mn=class extends it{constructor({x:e,y:t,z:n,...r}){const o=[],i=[];(e||t||n)&&(o.push([e||0,t||0,n||0]),i.push((e=>[`translate3d(${e.map((e=>An(e,"px"))).join(",")})`,Rn(e,0)]))),S(r,((e,t)=>{if("transform"===t)o.push([e||""]),i.push((e=>[e,""===e]));else if(Dn.test(t)){if(delete r[t],C.und(e))return;const n=Nn.test(t)?"px":Tn.test(t)?"deg":"";o.push(x(e)),i.push("rotate3d"===t?([e,t,r,o])=>[`rotate3d(${e},${t},${r},${An(o,n)})`,Rn(o,0)]:e=>[`${t}(${e.map((e=>An(e,n))).join(",")})`,Rn(e,t.startsWith("scale")?1:0)])}})),o.length&&(r.transform=new Bn(o,i)),super(r)}},Bn=class extends ke{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return j(this.inputs,((n,r)=>{const o=Ee(n[0]),[i,a]=this.transforms[r](C.arr(o)?o:n.map(Ee));e+=" "+i,t=t&&a})),t?"none":e}observerAdded(e){1==e&&j(this.inputs,(e=>j(e,(e=>_e(e)&&Se(e,this)))))}observerRemoved(e){0==e&&j(this.inputs,(e=>j(e,(e=>_e(e)&&xe(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),Ce(this,e)}};i.assign({batchedUpdates:Cn.unstable_batchedUpdates,createStringInterpolator:ze,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var Fn=((e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new it(e)),getComponentProps:r=(e=>e)}={})=>{const o={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},i=e=>{const t=dt(e)||"Anonymous";return(e=C.str(e)?i[e]||(i[e]=st(e,o)):e[pt]||(e[pt]=st(e,o))).displayName=`Animated(${t})`,e};return S(e,((t,n)=>{C.arr(e)&&(n=dt(t)),i[n]=i(t)})),{animated:i}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{style:r,children:o,scrollTop:i,scrollLeft:a,viewBox:l,...c}=t,s=Object.values(c),u=Object.keys(c).map((t=>n||e.hasAttribute(t)?t:Sn[t]||(Sn[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==o&&(e.textContent=o);for(const t in r)if(r.hasOwnProperty(t)){const n=jn(t,r[t]);kn.test(t)?e.style.setProperty(t,n):e.style[t]=n}u.forEach(((t,n)=>{e.setAttribute(t,s[n])})),void 0!==i&&(e.scrollTop=i),void 0!==a&&(e.scrollLeft=a),void 0!==l&&e.setAttribute("viewBox",l)},createAnimatedStyle:e=>new Mn(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),Ln=Fn.animated}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e=n(1381),t=n(5652),r=window.wp.blocks,o=window.wp.blockEditor,i=window.wp.data;const{breadcrumb_home_item:a,breadcrumb_home_text:l,breadcrumb_separator:c,breadcrumb_page_title:s}=window.blc_blocks_data;var u=function(){const n=(0,e.useMemo)((function(){return"text"===a?l:(0,e.createElement)("svg",{class:"ct-home-icon",width:"15",viewBox:"0 0 24 20"},(0,e.createElement)("path",{d:"M12,0L0.4,10.5h3.2V20h6.3v-6.3h4.2V20h6.3v-9.5h3.2L12,0z"}))}),[]),r=(0,e.useMemo)((function(){return"type-2"===c?(0,e.createElement)("svg",{class:"separator",width:"8",height:"8",viewBox:"0 0 8 8"},(0,e.createElement)("polygon",{points:"2.5,0 6.9,4 2.5,8 "})):"type-3"===c?(0,e.createElement)("span",{className:"separator"},"/"):(0,e.createElement)("svg",{class:"separator",width:"8",height:"8",viewBox:"0 0 8 8"},(0,e.createElement)("path",{d:"M2,6.9L4.8,4L2,1.1L2.6,0l4,4l-4,4L2,6.9z"}))}),[]),o=(0,i.withSelect)((function(e){var t;return{title:(null===(t=e("core/editor"))||void 0===t?void 0:t.getEditedPostAttribute("title"))||""}}))((function(n){return(0,e.createElement)("span",null,(null==n?void 0:n.title)||(0,t.__)("Page","blocksy"))}));return(0,e.createElement)(React.Fragment,null,(0,e.createElement)("span",null,(0,e.createElement)("span",null,n),r),(0,e.createElement)("span",null,(0,e.createElement)("span",null,(0,t.__)("Subpage","blocksy")),s&&r),s&&(0,e.createElement)(o,null))},p=n(8441);function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}var f=function(t){let{label:n,resetAll:r,panelId:i,settings:a}=t;const l=(0,o.__experimentalUseMultipleOriginColorsAndGradients)();return(0,e.createElement)(p.__experimentalToolsPanel,{label:n,resetAll:r,panelId:i,hasInnerWrapper:!0,className:"color-block-support-panel",__experimentalFirstVisibleItemClass:"first",__experimentalLastVisibleItemClass:"last"},(0,e.createElement)("div",{className:"color-block-support-panel__inner-wrapper"},(0,e.createElement)(o.__experimentalColorGradientSettingsDropdown,d({__experimentalIsRenderedInSidebar:!0,__experimentalHasMultipleOrigins:!0,__experimentalGroup:"bg",settings:a,panelId:i},l,{gradients:[],disableCustomGradients:!0}))))};var m=(0,o.withColors)({textColor:"color"},{linkColor:"color"},{linkHoverColor:"color"})((function(n){let{clientId:r,textColor:i,setTextColor:a,linkColor:l,setLinkColor:c,linkHoverColor:s,setLinkHoverColor:p,className:d}=n;const m=(0,e.useRef)(),g=(0,o.useBlockProps)({ref:m,className:{"ct-breadcrumbs":!0,className:d},style:{color:null==i?void 0:i.color,"--theme-link-initial-color":null==l?void 0:l.color,"--theme-link-hover-color":null==s?void 0:s.color}});return(0,e.createElement)(React.Fragment,null,(0,e.createElement)("div",g,(0,e.createElement)(u,null),(0,e.createElement)(o.InspectorControls,{group:"styles"},(0,e.createElement)(f,{label:(0,t.__)("Text Color","blocksy"),resetAll:function(){a(""),c(""),p("")},panelId:r,settings:[{colorValue:i.color,enableAlpha:!0,label:(0,t.__)("Text","blocksy"),onColorChange:a},{colorValue:l.color,enableAlpha:!0,label:(0,t.__)("Link Initial","blocksy"),onColorChange:c},{colorValue:s.color,enableAlpha:!0,label:(0,t.__)("Link Hover","blocksy"),onColorChange:p}]}))))})),g=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"blocksy/breadcrumbs","category":"blocksy-blocks","attributes":{"textColor":{"type":"string"},"customTextColor":{"type":"string"},"linkColor":{"type":"string"},"customLinkColor":{"type":"string"},"linkHoverColor":{"type":"string"},"customLinkHoverColor":{"type":"string"}},"supports":{"className":false,"spacing":{"margin":true,"__experimentalDefaultControls":{"margin":true}}},"providesContext":{"textColor":"textColor","linkColor":"linkColor","linkHoverColor":"linkHoverColor"}}');function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(0,r.registerBlockType)("blocksy/breadcrumbs",b(b({},g),{},{title:(0,t.__)("Breadcrumbs","blocksy"),description:(0,t.__)("Insert the breadcrumbs navigation anywhere you might want.","blocksy"),icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)("path",{d:"M4,10.5h6v3H4V10.5z M12,13.5h3v-3h-3V13.5z M17,10.5v3h3v-3H17z"}))},edit:function(t){return(0,e.createElement)(m,t)},save:function(){return null}}));var y=n(2568),w=n.n(y);function O(e){if(Array.isArray(e))return`[${e.map((function(e){return O(e)})).join(",")}]`;if("object"==typeof e&&null!==e){let t="";const n=Object.keys(e).sort();t+=`{${JSON.stringify(n)}`;for(let r=0;r<n.length;r++)t+=`${O(e[n[r]])},`;return`${t}}`}return`${JSON.stringify(e)}`}const _={},E=function(t){let{attributes:n,previewedPostId:r}=t;const[o,i]=(0,e.useState)(null);let[{controller:a},l]=(0,e.useState)({controller:null});return(0,e.useEffect)((function(){const e={attributes:n,previewedPostId:r},t=w()(O(e));if(_[t])i(_[t]);else{a&&a.abort(),"AbortController"in window&&(a=new AbortController,l({controller:a}));let e=function(e){e||(e=location.search);var t=e.substr(1),n={};return t.split("&").forEach((function(e){var t=e.split("=");n[t[0]]=decodeURIComponent(t[1])})),n}(location.search);fetch(`${wp.ajax.settings.url}?action=blocksy_get_posts_block_data${e.lang?"&lang="+e.lang:""}`,{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",signal:a.signal,body:JSON.stringify({attributes:n,previewedPostId:r})}).then((function(e){return e.json()})).then((function(e){let{success:n,data:r}=e;n&&(_[t]=r,l({controller:null}),i(r))}))}}),[n,r]),{blockData:o}};var P=function(t){let{attributes:n,postId:r,uniqueId:o}=t;const{blockData:i}=E({attributes:n,previewedPostId:r});return i&&i.block?(0,e.createElement)(React.Fragment,null,(0,e.createElement)(e.RawHTML,null,i.block),i&&i.dynamic_styles&&(0,e.createElement)("style",null,i.dynamic_styles)):(0,e.createElement)(p.Spinner,null)},C=n(5697);const k=function(e){return e.split("-")[0]};function j(e){let t=!1;const n=function(e){const t=document.querySelectorAll(".edit-site-visual-editor__editor-canvas");let n=document;for(let r=0;r<t.length;r++)if(null!==t[r].contentDocument.getElementById("block-"+e.clientId)){n=t[r].contentDocument;break}return n}(e);return n.querySelectorAll(`[data-id="${e.attributes.uniqueId}"]`).length>1&&(t=!0),t}var S=function(n){let{clientId:a,setAttributes:l,setIsPatternSelectionModalOpen:c}=n;const{replaceInnerBlocks:s}=(0,i.useDispatch)(o.store);return(0,e.createElement)("div",{className:"components-placeholder is-large"},(0,e.createElement)("div",{className:"components-placeholder__label"},(0,e.createElement)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24","aria-hidden":"true",focusable:"false"},(0,e.createElement)("path",{d:"M5.5 18v-1c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v1c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zm.5 2c-1.1 0-2-.9-2-2v-1c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v1c0 1.1-.9 2-2 2H6zm-.5-9V6c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zm.5 2c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2H6zm8.5 0v5c0 .3.2.5.5.5h3c.3 0 .5-.2.5-.5v-5c0-.3-.2-.5-.5-.5h-3c-.3 0-.5.2-.5.5zM13 18c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-5c0-1.1-.9-2-2-2h-3c-1.1 0-2 .9-2 2v5zm1.5-11V6c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v1c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5zm.5 2c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v1c0 1.1-.9 2-2 2h-3z","fill-rule":"evenodd"})),(0,t.__)("Advanced Posts","blocksy")),(0,e.createElement)("fieldset",{className:"components-placeholder__fieldset"},(0,e.createElement)("legend",{className:"components-placeholder__instructions"},(0,t.__)("Inherit the Customizer layout, start with a pattern or create a custom layout","blocksy")),(0,e.createElement)("button",{className:"components-button is-primary",onClick:function(e){e.preventDefault(),l({design:"default"})}},(0,t.__)("Inherit From Customizer","blocksy")),(0,e.createElement)("button",{className:"components-button is-primary",onClick:function(e){e.preventDefault(),c(!0)}},(0,t.__)("Choose Pattern","blocksy")),(0,e.createElement)("button",{className:"components-button is-primary",onClick:function(e){e.preventDefault(),s(a,(0,r.createBlocksFromInnerBlocksTemplate)([["blocksy/post-template",{},[["blocksy/dynamic-data",{tagName:"h2",field:"wp:title",has_title_link:"yes"}],["blocksy/dynamic-data",{field:"wp:date"}],["blocksy/dynamic-data",{field:"wp:excerpt"}]]]]),!1)}},(0,t.__)("Create Custom Layout","blocksy"))))},x=n(4184),I=n.n(x),D=window.wp.primitives;var N=(0,e.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(D.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));var T=(0,e.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(D.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));var A=(0,e.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(D.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),R=window.wp.a11y;var M=function(n){let{items:r,selectedItems:o,onItemClick:i,label:a,resetAll:l}=n;const c=o.length>0;return(0,e.createElement)(p.__experimentalHStack,null,(0,e.createElement)(p.__experimentalHeading,{style:{margin:0},level:2},a),(0,e.createElement)(p.DropdownMenu,{icon:0===o.length?N:T,label:(0,t.__)("Parameters options","blocksy"),toggleProps:{isSmall:!0,describedBy:0===o.length?(0,t.__)("All options are currently hidden","blocksy"):void 0}},(function(){return(0,e.createElement)(React.Fragment,null,r.map((function(t,n){return(0,e.createElement)(p.MenuGroup,{key:n,label:t.label},t.items.map((function(t,n){const r=o.includes(t.label);return(0,e.createElement)(p.MenuItem,{key:n,icon:r?A:null,isSelected:r,onClick:function(){return i(t.label)}},t.label)})))})),(0,e.createElement)(p.MenuGroup,null,(0,e.createElement)(p.MenuItem,{"aria-disabled":!c,variant:"tertiary",onClick:function(){c&&(l(),(0,R.speak)((0,t.__)("All options reset","blocksy"),"assertive"))}},(0,t.__)("Reset all","blocksy"))))})))};var B=function(t){let{className:n,attributes:r,setAttributes:o,resetAll:i,items:a,label:l}=t;const c=a.reduce((function(e,t){return[...e,...t.items.filter((function(e){return e.hasValue()})).map((function(e){return e.label}))]}),[]),[s,u]=(0,e.useState)([]),p=[...new Set([...s,...c])];return(0,e.createElement)("div",{className:I()("ct-tools-panel",n)},(0,e.createElement)(M,{label:l,resetAll:function(){u([]),i()},items:a,selectedItems:p,attributes:r,setAttributes:o,onItemClick:function(e){if(!p.includes(e))return void u([...s,e]);const t=a.reduce((function(e,t){return[...e,...t.items]}),[]).find((function(t){return t.label===e}));u(s.filter((function(t){return t!==e}))),t.reset()}}),(0,e.createElement)("div",{className:"ct-tools-panel-items"},a.reduce((function(e,t){return[...e,...t.items]}),[]).filter((function(e){return p.includes(e.label)})).map((function(e){return e.render()}))))},F=window.wp.coreData;function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){H(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function H(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const V=function(e){return(0,i.useSelect)((function(t){const{getTaxonomies:n}=t(F.store);return n({type:e,per_page:-1,context:"view"})}),[e])};var U=window.wp.compose;function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach((function(t){W(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function W(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const q=[],Z={order:"asc",_fields:"id,name,slug",context:"view"},K=function(e,t){var n,r;const o=(null==t?void 0:t.slug)||(null==e||null===(n=e.find((function(e){return e.name===t})))||void 0===n?void 0:n.slug);if(o)return o;const i=t.toLocaleLowerCase();return null==e||null===(r=e.find((function(e){return e.name.toLocaleLowerCase()===i})))||void 0===r?void 0:r.slug};function Y(n){let{taxonomy:r,termIds:o,onChange:a,label:l=!1}=n;const[c,s]=(0,e.useState)(""),[u,d]=(0,e.useState)(q),[f,m]=(0,e.useState)(q),g=(0,U.useDebounce)(s,250),{searchResults:h,searchHasResolved:b}=(0,i.useSelect)((function(e){if(!c)return{searchResults:q,searchHasResolved:!0};const{getEntityRecords:t,hasFinishedResolution:n}=e(F.store),o=["taxonomy",r.slug,G(G({},Z),{},{search:c,orderby:"name",per_page:20})];return{searchResults:t(...o),searchHasResolved:n("getEntityRecords",o)}}),[c,o]),v=(0,i.useSelect)((function(e){if(null==o||!o.length)return q;const{getEntityRecords:t}=e(F.store);return t("taxonomy",r.slug,G(G({},Z),{},{slug:o,per_page:o.length}))}),[o]);(0,e.useEffect)((function(){if(null!=o&&o.length||d(q),null==v||!v.length)return;const e=o.reduce((function(e,t){const n=v.find((function(e){return e.slug===t}));return n&&e.push({id:t,slug:t,value:n.name}),e}),[]);d(e)}),[o,v]),(0,e.useEffect)((function(){b&&m(h.map((function(e){return e.name})))}),[h,b]);return(0,e.createElement)(p.FormTokenField,{label:l,value:u,onInputChange:g,suggestions:f,onChange:function(e){const t=new Set;for(const n of e){const e=K(h,n);e&&t.add(e)}m(q),a(Array.from(t))},__experimentalShowHowTo:!1,__nextHasNoMarginBottom:!0,placeholder:(0,t.__)("Search for a term","blocksy")})}function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){Q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Q(e,t,n){return(t=te(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ee(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function te(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}const ne=function(n){let{attributes:r,attributes:{post_type:o},previewedPostMatchesType:i,setAttributes:a}=n;const l=V(o);let c=[];return l&&l.length>0&&(c=[...l.map((function(n){return function(n){let{taxonomy:r,attributes:o,setAttributes:i,previewedPostMatchesType:a}=n;return{label:(0,t.sprintf)((0,t.__)("Include %s","blocksy"),r.name),hasValue:function(){return o.include_term_ids[r.slug]},reset:function(){const e=o.include_term_ids||{},t=r.slug,{[t]:n}=e,a=ee(e,[t].map(te));i({include_term_ids:a})},render:function(){const n=o.include_term_ids[r.slug]||{strategy:"all",terms:[]};return(0,e.createElement)("div",null,(0,e.createElement)(p.__experimentalToggleGroupControl,{label:(0,t.sprintf)((0,t.__)("Include %s","blocksy"),r.name),value:n.strategy,isBlock:!0,onChange:function(e){i({include_term_ids:J(J({},o.include_term_ids),{},{[r.slug]:J(J({},n),{},{strategy:e})})})}},(0,e.createElement)(p.__experimentalToggleGroupControlOption,{value:"all",label:(0,t.__)("All","blocksy")}),(0,e.createElement)(p.__experimentalToggleGroupControlOption,{value:"specific",label:(0,t.__)("Specific","blocksy")}),a&&(0,e.createElement)(p.__experimentalToggleGroupControlOption,{value:"related",label:(0,t.__)("Related","blocksy")})),"specific"===n.strategy&&(0,e.createElement)(Y,{taxonomy:r,termIds:n.terms,onChange:function(e){i({include_term_ids:J(J({},o.include_term_ids),{},{[r.slug]:J(J({},n),{},{terms:e})})})}}))}}}({taxonomy:n,attributes:r,setAttributes:a,previewedPostMatchesType:i})})),...l.map((function(n){return function(n){let{taxonomy:r,attributes:o,setAttributes:i}=n;return{label:(0,t.sprintf)((0,t.__)("Exclude %s","blocksy"),r.name),hasValue:function(){return o.exclude_term_ids[r.slug]},reset:function(){const e=o.exclude_term_ids||{},t=r.slug,{[t]:n}=e,a=ee(e,[t].map(te));i({exclude_term_ids:a})},render:function(){const n=o.exclude_term_ids[r.slug]||{strategy:"specific",terms:[]};return(0,e.createElement)(Y,{label:(0,t.sprintf)((0,t.__)("Exclude %s","blocksy"),r.name),taxonomy:r,termIds:n.terms,onChange:function(e){i({exclude_term_ids:J(J({},o.exclude_term_ids),{},{[r.slug]:J(J({},n),{},{terms:e})})})}})}}}({taxonomy:n,attributes:r,setAttributes:a})}))]),{taxonomiesGroup:c.length>0?{label:(0,t.__)("Taxonomies","blocksy"),items:c}:null}};var re=function(n){let{context:r,attributes:i,attributes:{post_type:a},setAttributes:l}=n;const{taxonomiesGroup:c}=ne({attributes:i,setAttributes:l,previewedPostMatchesType:i.post_type===r.postType});return(0,e.createElement)(o.InspectorControls,null,(0,e.createElement)(B,{className:"ct-query-parameters-component",attributes:i,setAttributes:l,resetAll:function(){l({offset:0,sticky_posts:"include",orderby:"post_date",order:"desc",include_term_ids:{},exclude_term_ids:{}})},items:[{label:(0,t.__)("General","blocksy"),items:[{label:(0,t.__)("Offset","blocksy"),hasValue:function(){return 0!==i.offset},reset:function(){l({offset:0})},render:function(){return(0,e.createElement)(C.Z,{purpose:"gutenberg",onChange:function(e,t){l({[e]:t})},options:{offset:{type:"ct-number",label:(0,t.__)("Offset","blocksy"),value:"",min:0,max:500}},value:i,hasRevertButton:!1})}},{label:(0,t.__)("Order by","blocksy"),hasValue:function(){return"post_date"!==i.orderby},reset:function(){l({orderby:"post_date"})},render:function(){return(0,e.createElement)(C.Z,{purpose:"gutenberg",onChange:function(e,t){l({[e]:t})},options:{orderby:{type:"ct-select",label:(0,t.__)("Order by","blocksy"),value:"",choices:[{key:"title",value:(0,t.__)("Title","blocksy")},{key:"post_date",value:(0,t.__)("Publish Date","blocksy")},{key:"modified",value:(0,t.__)("Modified Date","blocksy")},{key:"comment_count",value:(0,t.__)("Most commented","blocksy")},{key:"author",value:(0,t.__)("Author","blocksy")},{key:"rand",value:(0,t.__)("Random","blocksy")},{key:"menu_order",value:(0,t.__)("Menu Order","blocksy")}]}},value:i,hasRevertButton:!1})}},{label:(0,t.__)("Order","blocksy"),hasValue:function(){return"desc"!==i.order},reset:function(){l({order:"desc"})},render:function(){return(0,e.createElement)(C.Z,{purpose:"gutenberg",onChange:function(e,t){l({[e]:t})},options:{order:{type:"ct-select",label:(0,t.__)("Order","blocksy"),value:"",choices:[{key:"DESC",value:(0,t.__)("Descending","blocksy")},{key:"ASC",value:(0,t.__)("Ascending","blocksy")}]}},value:i,hasRevertButton:!1})}},{label:(0,t.__)("Sticky Posts","blocksy"),hasValue:function(){return"include"!==i.sticky_posts},reset:function(){l({sticky_posts:"include"})},render:function(){return(0,e.createElement)(C.Z,{purpose:"gutenberg",onChange:function(e,t){l({[e]:t})},options:{sticky_posts:{type:"ct-select",label:(0,t.__)("Sticky Posts","blocksy"),value:"include",choices:[{key:"include",value:(0,t.__)("Include","blocksy")},{key:"exclude",value:(0,t.__)("Exclude","blocksy")},{key:"only",value:(0,t.__)("Only","blocksy")}]}},value:i,hasRevertButton:!1})}}]},...c?[c]:[]],label:(0,t.__)("Parameters","blocksy")}))};function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ae(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let le=null,ce=new AbortController;var se=n(6826),ue=n.n(se);function pe(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=ue()(e),e=e.trim().toLowerCase(),e}function de(e,t){const n=pe(t),r=pe(e.title);let o=0;if(n===r)o+=30;else if(r.startsWith(n))o+=20;else{n.split(" ").every((function(e){return r.includes(e)}))&&(o+=10)}return o}var fe=function(n){let{clientId:a,attributes:l,setIsPatternSelectionModalOpen:c,postType:s}=n;const[u,d]=(0,e.useState)(""),{replaceBlock:f,selectBlock:m}=(0,i.useDispatch)(o.store),[g,h]=(0,e.useState)([]);(0,e.useEffect)((function(){new Promise((function(e){le?e(le):fetch(`${wp.ajax.settings.url}?action=blocksy_get_posts_block_patterns`,{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",body:JSON.stringify({}),signal:ce.signal}).then((function(e){return e.json()})).then((function(t){let{success:n,data:o}=t;n&&(le=o.patterns.map((function(e){return ie(ie({},e),{},{blocks:(0,r.parse)(e.content,{__unstableSkipMigrationLogs:!0})})})),e(le))}))})).then((function(e){h(e)}))}),[]);const b=(0,e.useMemo)((function(){return{previewPostType:s}}),[s]),v=(0,e.useMemo)((function(){return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!t)return e;const n=e.map((function(e){return[e,de(e,t)]})).filter((function(e){let[,t]=e;return t>0}));return n.sort((function(e,t){let[,n]=e,[,r]=t;return r-n})),n.map((function(e){let[t]=e;return t}))}(g,u)}),[g,u]),y=(0,U.useAsyncList)(v);return(0,e.createElement)(p.Modal,{overlayClassName:"block-library-query-pattern__selection-modal",title:(0,t.__)("Choose a pattern","blocksy"),onRequestClose:function(){return c(!1)},isFullScreen:!0},(0,e.createElement)("div",{className:"block-library-query-pattern__selection-content"},(0,e.createElement)("div",{className:"block-library-query-pattern__selection-search"},(0,e.createElement)(p.SearchControl,{__nextHasNoMarginBottom:!0,onChange:d,value:u,label:(0,t.__)("Search for patterns","blocksy"),placeholder:(0,t.__)("Search","blocksy")})),(0,e.createElement)(o.BlockContextProvider,{value:b},(0,e.createElement)(o.__experimentalBlockPatternsList,{blockPatterns:v,shownPatterns:y,onClickPattern:function(e,t){const{newBlocks:n,queryClientIds:o}=function(e,t){const n=e.map((function(e){return(0,r.cloneBlock)(e)})),o=[],i=[...n];for(;i.length>0;){var a;const e=i.shift();"blocksy/query"===e.name&&(e.attributes.uniqueId="",o.push(e.clientId)),null===(a=e.innerBlocks)||void 0===a||a.forEach((function(e){i.push(e)}))}return{newBlocks:n,queryClientIds:o}}(t);f(a,n),o[0]&&m(o[0])}}))))};function me(){return me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},me.apply(this,arguments)}function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function he(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){be(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function be(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ve=function(n){let{clientId:r,className:a,attributes:l,setAttributes:c,context:s}=n;const u=(0,o.useInnerBlocksProps)({},{}),d=(0,i.useSelect)((function(e){return!!e(o.store).getBlocks(r).length}),[r]),f=!d&&"default"!==l.design,{postTypesSelectOptions:m}=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{hasPages:n=!1}=t;const r=(0,i.useSelect)((function(e){var t;const{getPostTypes:r}=e(F.store),o=["attachment","product",...n?[]:["page"]];return null===(t=r({per_page:-1}))||void 0===t?void 0:t.filter((function(e){let{viewable:t,slug:n}=e;return t&&!o.includes(n)&&!n.includes("ct_")&&!n.includes("blc-")}))}),[n]);return{postTypesTaxonomiesMap:(0,e.useMemo)((function(){if(null!=r&&r.length)return r.reduce((function(e,t){return e[t.slug]=t.taxonomies,e}),{})}),[r]),postTypesSelectOptions:(0,e.useMemo)((function(){return(r||[]).reduce((function(e,t){return z(z({},e),{},{[t.slug]:t.labels.singular_name})}),{})}),[r])}}({hasPages:d}),{uniqueId:g,props:h}=function(t){let{attributes:n,clientId:r,setAttributes:o}=t;(0,e.useEffect)((function(){n.uniqueId&&!j({attributes:n,clientId:r})||o({uniqueId:k(r)})}),[r]);let i=n.uniqueId||k(r);return{uniqueId:i,props:{"data-id":i}}}({attributes:l,setAttributes:c,clientId:r}),{postId:b,postType:v}=s,y=(0,e.useRef)(),w=(0,o.__experimentalUseBorderProps)(l),O=(0,o.useBlockProps)({ref:y,className:a,style:he({},w.style)}),[_,E]=(0,e.useState)(!1);return(0,e.createElement)(React.Fragment,null,_&&(0,e.createElement)(fe,{clientId:r,attributes:l,setIsPatternSelectionModalOpen:E,postType:l.post_type}),f?(0,e.createElement)("div",me({},O,h),(0,e.createElement)(S,{setIsPatternSelectionModalOpen:E,attributes:l,setAttributes:c,clientId:r})):(0,e.createElement)("div",me({},O,h),"default"===l.design&&(0,e.createElement)(P,{uniqueId:g,attributes:l,postId:b}),d&&(0,e.createElement)("div",u)),(0,e.createElement)(o.BlockControls,null,(0,e.createElement)(p.ToolbarGroup,null,(0,e.createElement)(p.ToolbarButton,{className:"components-toolbar__control",icon:"layout",label:(0,t.__)("Reset layout","blocksy"),disabled:f,onClick:function(){d?(0,i.dispatch)("core/block-editor").replaceInnerBlocks(r,[],!1):(0,i.dispatch)("core/block-editor").updateBlockAttributes(r,{design:""})}}))),!f&&(0,e.createElement)(React.Fragment,null,(0,e.createElement)(o.InspectorControls,null,(0,e.createElement)(p.PanelBody,null,(0,e.createElement)(C.Z,{purpose:"gutenberg",onChange:function(e,t){c(he({[e]:t},"post_type"===e?{include_term_ids:{},exclude_term_ids:{},include_post_ids:{ids:[],current_post:!1},exclude_post_ids:{ids:[],current_post:!1}}:{}))},options:{post_type:{type:"ct-select",label:(0,t.__)("Post Type","blocksy"),value:"",defaultToFirstItem:!1,choices:m,purpose:"default"},limit:{type:"ct-number",label:(0,t.__)("Limit","blocksy"),value:"",min:1,max:30},has_pagination:{type:"ct-switch",label:(0,t.__)("Pagination","blocksy"),value:""}},value:l,hasRevertButton:!1}))),(0,e.createElement)(re,{attributes:l,setAttributes:c,context:s})),(0,e.createElement)(o.InspectorControls,{group:"advanced"},(0,e.createElement)(p.TextControl,{__nextHasNoMarginBottom:!0,autoComplete:"off",label:(0,t.__)("Block ID","blocksy"),value:g,onChange:function(e){},onFocus:function(e){e.target.select()},help:(0,t.__)("Please look at the documentation for more information on why this is useful.","blocksy")})))};var ye=function(t){const n=o.useBlockProps.save(),r=o.useInnerBlocksProps.save(n);return(0,e.createElement)("div",r)},we=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"blocksy/query","category":"blocksy-blocks","attributes":{"uniqueId":{"type":"string","default":""},"type":{"type":"string","default":"post"},"post_type":{"type":"string","default":"post"},"limit":{"type":"number","default":5},"include_term_ids":{"type":"object","default":{}},"exclude_term_ids":{"type":"object","default":{}},"include_post_ids":{"type":"object","default":{"ids":[],"current_post":false}},"exclude_post_ids":{"type":"object","default":{"ids":[],"current_post":false}},"order":{"type":"string","default":"desc"},"orderby":{"type":"string","default":"post_date"},"orderby_custom":{"type":"string","default":""},"offset":{"type":"number","default":0},"design":{"type":"string","default":""},"has_pagination":{"type":"string","default":"no"},"textColor":{"type":"string"},"customTextColor":{"type":"string"},"linkColor":{"type":"string"},"customLinkColor":{"type":"string"},"linkHoverColor":{"type":"string"},"customLinkHoverColor":{"type":"string"},"sticky_posts":{"type":"string","default":"include"}},"supports":{"align":["wide","full"],"html":false,"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"__experimentalBorder":{"color":true,"radius":true,"width":true,"__experimentalDefaultControls":{"color":true,"radius":true,"width":true},"__experimentalSelector":"img, .block-editor-media-placeholder, .wp-block-post-featured-image__overlay","__experimentalSkipSerialization":true},"color":{"gradients":true,"link":false,"__experimentalDefaultControls":{"text":false,"background":true,"link":false}}},"usesContext":["postId","postType"],"providesContext":{"uniqueId":"uniqueId","post_type":"post_type","limit":"limit","order":"order","orderby":"orderby","sticky_posts":"sticky_posts","orderby_custom":"orderby_custom","offset":"offset","has_pagination":"has_pagination","include_term_ids":"include_term_ids","exclude_term_ids":"exclude_term_ids"}}');function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){Ee(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ee(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(0,r.registerBlockType)("blocksy/query",_e(_e({},we),{},{title:(0,t.__)("Advanced Posts","blocksy"),description:(0,t.__)("Advanced Posts","blocksy"),icon:{src:(0,e.createElement)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",context:"list-view","aria-hidden":"true",focusable:"false"},(0,e.createElement)("path",{d:"M5.5 18v-1c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v1c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zm.5 2c-1.1 0-2-.9-2-2v-1c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v1c0 1.1-.9 2-2 2H6zm-.5-9V6c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5zm.5 2c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2H6zm8.5 0v5c0 .3.2.5.5.5h3c.3 0 .5-.2.5-.5v-5c0-.3-.2-.5-.5-.5h-3c-.3 0-.5.2-.5.5zM13 18c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-5c0-1.1-.9-2-2-2h-3c-1.1 0-2 .9-2 2v5zm1.5-11V6c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v1c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5zm.5 2c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v1c0 1.1-.9 2-2 2h-3z","fill-rule":"evenodd"}))},edit:function(t){return(0,e.createElement)(ve,t)},save:function(){return(0,e.createElement)(ye,null)}}));var Pe=(0,e.createElement)(D.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)(D.Path,{d:"M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"}));var Ce=(0,e.createElement)(D.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(D.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7.8 16.5H5c-.3 0-.5-.2-.5-.5v-6.2h6.8v6.7zm0-8.3H4.5V5c0-.3.2-.5.5-.5h6.2v6.7zm8.3 7.8c0 .3-.2.5-.5.5h-6.2v-6.8h6.8V19zm0-7.8h-6.8V4.5H19c.3 0 .5.2.5.5v6.2z",fillRule:"evenodd",clipRule:"evenodd"}));function ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(Object(n),!0).forEach((function(t){Se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Se(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xe.apply(this,arguments)}const Ie=[];function De(){const t=(0,o.useInnerBlocksProps)({className:"wp-block-post"},{template:Ie,__unstableDisableLayoutClassNames:!0});return(0,e.createElement)("article",t)}const Ne=(0,e.memo)((function(t){let{blocks:n,blockContextId:r,isHidden:i,setActiveBlockContextId:a}=t;const l=(0,o.__experimentalUseBlockPreview)({blocks:n,props:{className:"wp-block-post"}}),c=function(){a(r)},s={display:i?"none":void 0};return(0,e.createElement)("article",xe({},l,{tabIndex:0,role:"button",onClick:c,onKeyPress:c,style:s}))}));var Te=function(n){let{clientId:r,className:a,attributes:l,attributes:{layout:c},setAttributes:s,context:u,__unstableLayoutClassNames:d}=n;const{postId:f,postType:m}=u,[g,h]=(0,e.useState)(),{type:b,columnCount:v=3}=c||{},y=(0,o.useBlockProps)({className:I()(d,{[`columns-${v}`]:"grid"===b&&v})}),{blockData:w}=((0,o.useInnerBlocksProps)({},{}),E({attributes:u,previewedPostId:f})),{blocks:O}=(0,i.useSelect)((function(e){const{getBlocks:t}=e(o.store);return{blocks:t(r)}}),[r]);if(!w)return(0,e.createElement)("p",y,(0,e.createElement)(p.Spinner,null));let _=w.all_posts.map((function(e){return{postId:e.ID,postType:e.post_type}}));const P=function(e){return s({layout:je(je({},c),e)})},C=[{icon:Pe,title:(0,t.__)("List view"),onClick:function(){return P({type:"default"})},isActive:"default"===b||"constrained"===b},{icon:Ce,title:(0,t.__)("Grid view"),onClick:function(){return P({type:"grid",columnCount:v})},isActive:"grid"===b}];return(0,e.createElement)(React.Fragment,null,(0,e.createElement)(o.BlockControls,null,(0,e.createElement)(p.ToolbarGroup,{controls:C})),(0,e.createElement)("div",y,_.map((function(t){var n,r;return(0,e.createElement)(o.BlockContextProvider,{key:t.postId,value:t},t.postId===(g||(null===(n=_[0])||void 0===n?void 0:n.postId))?(0,e.createElement)(De,null):null,(0,e.createElement)(Ne,{blocks:O,blockContextId:t.postId,setActiveBlockContextId:h,isHidden:t.postId===(g||(null===(r=_[0])||void 0===r?void 0:r.postId))}))}))),w&&"yes"===u.has_pagination&&(0,e.createElement)(e.RawHTML,null,w.pagination_output))};var Ae=function(){return(0,e.createElement)(o.InnerBlocks.Content,null)},Re=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"blocksy/post-template","parent":"blocksy/query","title":"Post Template","category":"theme","description":"Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.","textdomain":"default","supports":{"reusable":false,"html":false,"layout":true,"spacing":{"blockGap":{"__experimentalDefault":"1.25em"},"__experimentalDefaultControls":{"blockGap":true}}},"usesContext":["uniqueId","post_type","limit","order","orderby","orderby_custom","offset","postId","postType","has_pagination","include_term_ids","exclude_term_ids","sticky_posts"]}');function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(n),!0).forEach((function(t){Fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(0,r.registerBlockType)("blocksy/post-template",Be(Be({},Re),{},{title:(0,t.__)("Post Template","blocksy"),description:(0,t.__)("Post Template","blocksy"),icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",context:"list-view","aria-hidden":"true",focusable:"false"},(0,e.createElement)("path",{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"}))},edit:function(t){return(0,e.createElement)(Te,t)},save:Ae}));var Le=n(7686);const ze=function(e){return Object.entries((0,Le.JS)(e)).reduce((function(e,t){const n=t[1].type;let r="string";return"ct-number"===n&&(r="number"),"ct-image-uploader"===n&&(r="object"),"ct-checkboxes"===n&&(r="object"),"ct-layers"===n&&(r="array"),e[t[0]]={type:r,default:t[1].value},e}),{})},He=function(e){var t,n;return(null===(t=window.ct_localizations||window.ct_customizer_localizations)||void 0===t||null===(n=t.gutenberg_blocks_data)||void 0===n?void 0:n[e])||[]},Ve={};var Ue=function(t,n,r){const[o,i]=(0,e.useState)([]),[a,l]=(0,e.useState)([]),c=(0,e.useCallback)((async function(){const e=new FormData,a=JSON.stringify(n);var c;(e.append("action","blocksy_get_dynamic_block_view"),e.append("block",t),e.append("attributes",a),Ve[a])?(i(r(Ve[a])),l(!1)):(o||l(!0),fetch((null===(c=window.ct_localizations||ct_customizer_localizations)||void 0===c?void 0:c.ajax_url)||wp.ajax.settings.url,{method:"POST",body:e}).then((function(e){return e.json()})).then((function(e){let{data:{content:t}}=e;i(r(t)),l(!1),Ve[a]=t})))}),[n,o]);return(0,e.useEffect)((function(){c()}),[n]),{isLoading:a,preview:o}};const $e=function(e){return Object.keys(e).reduce((function(t,n){return t[n]={type:"string",default:e[n]},t}),{})},Ge={textColor:"",customTextColor:"",textHoverColor:"",customTextHoverColor:"",iconsColor:"",customIconsColor:"",iconsHoverColor:"",customIconsHoverColor:"",borderColor:"rgba(218, 222, 228, 0.5)",customBorderColor:"rgba(218, 222, 228, 0.5)",borderHoverColor:"rgba(218, 222, 228, 0.7)",customBorderHoverColor:"rgba(218, 222, 228, 0.7)",backgroundColor:"rgba(218, 222, 228, 0.5)",customBackgroundColor:"rgba(218, 222, 228, 0.5)",backgroundHoverColor:"rgba(218, 222, 228, 0.7)",customBackgroundHoverColor:"rgba(218, 222, 228, 0.7)"},We=$e(Ge);function qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qe(Object(n),!0).forEach((function(t){Ke(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ke(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ye=Ze({about_alignment:"center",avatar_shape:"round",about_avatar_size:"small",post_widget_thumb_size:"default",about_social_type:"rounded",about_social_icons_fill:"outline",about_social_icons_color:"official",about_text:"Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua tincidunt tortor aliquam.",about_name:"John Doe",about_items_spacing:"",about_social_icons_size:""},Ge);var Xe=function(t){let{attributes:n,setAttributes:r}=t;const i=(0,e.useRef)({image:"",socials:""}),{about_name:a,about_text:l,about_source:c,about_alignment:s,avatar_shape:u,about_avatar_size:d,about_social_type:f,about_social_icons_fill:m,about_items_spacing:g,about_social_icons_size:h,about_social_icons_color:b}=n,v=(0,e.useCallback)((function(e){const t=document.createElement("div");t.innerHTML=e;const n=t.querySelector(".ct-about-me-block");if(n){n.querySelector("div").dataset.alignment=s;const e=n.querySelector(".ct-media-container");e&&(e.dataset.shape=u,e.dataset.size=d);const t=n.querySelector(".ct-social-box");var r;if(t&&(t.dataset.iconsType="simple"===f?f:`${f}:${m}`,t.dataset.color=b),"custom"===c)i.current={image:(null===(r=n.querySelector(".ct-media-container"))||void 0===r?void 0:r.outerHTML)||"",socials:(null==t?void 0:t.outerHTML)||""}}return n.innerHTML}),[s,u,c,d,f,m,h,g,b]),{isLoading:y,preview:w}=Ue("about-me",Ze(Ze({},n),Ye),v);return y?(0,e.createElement)(p.Spinner,null):"from_wp"===c?(0,e.createElement)(e.RawHTML,null,w):(0,e.createElement)("div",{"data-alignment":s},(0,e.createElement)(e.RawHTML,null,i.current.image),(0,e.createElement)("div",{className:"ct-about-me-name"},(0,e.createElement)(o.RichText,{tagName:"span",value:a,placeholder:"User Name",onChange:function(e){return r({about_name:e})}})),(0,e.createElement)(o.RichText,{tagName:"div",className:"ct-about-me-text",value:l,placeholder:"User Description",onChange:function(e){return r({about_text:e})}}),(0,e.createElement)(e.RawHTML,null,i.current.socials))},Je=window.blocksyOptions;var Qe=function(t){let{attributes:n,setAttributes:r,options:i}=t;return(0,e.createElement)(o.InspectorControls,null,(0,e.createElement)(p.PanelBody,null,(0,e.createElement)(Je.OptionsPanel,{purpose:"gutenberg",onChange:function(e,t){r({[e]:t})},options:i,value:n,hasRevertButton:!1})))};function et(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?et(Object(n),!0).forEach((function(t){nt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rt=(0,o.withColors)({textColor:"color"},{textHoverColor:"color"},{iconsColor:"color"},{iconsHoverColor:"color"},{backgroundColor:"color"},{backgroundHoverColor:"color"},{borderColor:"color"},{borderHoverColor:"color"})((function(n){let{attributes:r,setAttributes:i,clientId:a,className:l,textColor:c,setTextColor:s,textHoverColor:u,setTextHoverColor:p,iconsColor:d,setIconsColor:m,iconsHoverColor:g,setIconsHoverColor:h,backgroundColor:b,setBackgroundColor:v,backgroundHoverColor:y,setBackgroundHoverColor:w,borderColor:O,setBorderColor:_,borderHoverColor:E,setBorderHoverColor:P}=n;const{about_alignment:C="center",about_items_spacing:k="",about_social_icons_size:j="",about_social_type:S="simple",about_social_icons_fill:x="outline",about_social_icons_color:I="default"}=r,D=(0,e.useRef)(),N=(0,o.useBlockProps)({ref:D,className:{"ct-about-me-block":!0,className:l},"data-alignment":C,style:tt(tt({"--theme-block-text-color":null==c?void 0:c.color,"--theme-link-hover-color":null==c?void 0:c.color,"--theme-icon-color":null==d?void 0:d.color,"--theme-icon-hover-color":null==g?void 0:g.color,"--background-color":"solid"===x?null==b?void 0:b.color:null==O?void 0:O.color,"--background-hover-color":"solid"===x?null==y?void 0:y.color:null==E?void 0:E.color},j?{"--theme-icon-size":`${j}px`}:{}),k?{"--items-spacing":`${k}px`}:{})});return(0,e.createElement)("div",N,(0,e.createElement)(Xe,{attributes:r,setAttributes:i}),(0,e.createElement)(Qe,{attributes:r,setAttributes:i,options:lt}),(0,e.createElement)(o.InspectorControls,{group:"styles"},(0,e.createElement)(f,{label:(0,t.__)("Text Color","blocksy"),resetAll:function(){s(Ge.textColor),p(Ge.textHoverColor)},panelId:a,settings:[{colorValue:c.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return s(e||Ge.textColor)}},{colorValue:u.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return p(e||Ge.textHoverColor)}}]}),"default"===I?(0,e.createElement)(f,{label:(0,t.__)("Icons Color","blocksy"),resetAll:function(){m(Ge.iconsColor),h(Ge.iconsHoverColor)},panelId:a,settings:[{colorValue:d.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return m(e||Ge.iconsColor)}},{colorValue:g.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return h(e||Ge.iconsHoverColor)}}]}):null,"simple"!==S&&"default"===I&&("solid"===x?(0,e.createElement)(f,{label:(0,t.__)("Icons Background Color","blocksy"),resetAll:function(){v(Ge.backgroundColor),w(Ge.backgroundHoverColor)},panelId:a,settings:[{colorValue:b.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return v(e||Ge.backgroundColor)}},{colorValue:y.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return w(e||Ge.backgroundHoverColor)}}]}):(0,e.createElement)(f,{label:(0,t.__)("Icons Border Color","blocksy"),resetAll:function(){_(Ge.borderColor),P(Ge.borderHoverColor)},panelId:a,settings:[{colorValue:O.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return _(e||Ge.borderColor)}},{colorValue:E.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return P(e||Ge.borderHoverColor)}}]}))))}));function ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function it(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(n),!0).forEach((function(t){at(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function at(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const lt=He("about_me"),ct=ze(lt);(0,r.registerBlockType)("blocksy/about-me",{apiVersion:3,title:(0,t.__)("About Me Controls","blocksy"),icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{d:"M5.8 13H4.2v-1c0-1.5 1.2-2.8 2.8-2.8h4c1.5 0 2.8 1.2 2.8 2.8v1h-1.5v-1c0-.7-.6-1.2-1.2-1.2H7c-.7 0-1.2.6-1.2 1.2v1zM4 21h9v-1.5H4V21zm0-5.5V17h16v-1.5H4zm2.5-10C6.5 4.1 7.6 3 9 3s2.5 1.1 2.5 2.5S10.4 8 9 8 6.5 6.9 6.5 5.5zm1.5 0c0 .6.4 1 1 1s1-.4 1-1-.4-1-1-1-1 .4-1 1z"}))},supports:{html:!1,multiple:!1,inserter:!1,lock:!1},parent:["blocksy/widgets-wrapper"],attributes:it(it({},ct),We),edit:function(t){return(0,e.createElement)(rt,t)},save:function(){return(0,e.createElement)("div",null,"Blocksy: About Me")}}),wp.blocks.registerBlockVariation("blocksy/widgets-wrapper",{name:"blocksy-about-me",title:(0,t.__)("About Me","blocksy"),attributes:{heading:(0,t.__)("About Me","blocksy"),block:"blocksy/about-me"},isDefault:!0,isActive:function(e){return"blocksy/about-me"===e.block},icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{d:"M5.8 13H4.2v-1c0-1.5 1.2-2.8 2.8-2.8h4c1.5 0 2.8 1.2 2.8 2.8v1h-1.5v-1c0-.7-.6-1.2-1.2-1.2H7c-.7 0-1.2.6-1.2 1.2v1zM4 21h9v-1.5H4V21zm0-5.5V17h16v-1.5H4zm2.5-10C6.5 4.1 7.6 3 9 3s2.5 1.1 2.5 2.5S10.4 8 9 8 6.5 6.9 6.5 5.5zm1.5 0c0 .6.4 1 1 1s1-.4 1-1-.4-1-1-1-1 .4-1 1z"}))}});const st={textColor:"",customTextColor:"",textInitialColor:"",customTextInitialColor:"",textHoverColor:"",customTextHoverColor:"",iconsColor:"",customIconsColor:"",iconsHoverColor:"",customIconsHoverColor:"",borderColor:"rgba(218, 222, 228, 0.5)",customBorderColor:"rgba(218, 222, 228, 0.5)",borderHoverColor:"rgba(218, 222, 228, 0.7)",customBorderHoverColor:"rgba(218, 222, 228, 0.7)",backgroundColor:"rgba(218, 222, 228, 0.5)",customBackgroundColor:"rgba(218, 222, 228, 0.5)",backgroundHoverColor:"rgba(218, 222, 228, 0.7)",customBackgroundHoverColor:"rgba(218, 222, 228, 0.7)"},ut=$e(st);function pt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function dt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pt(Object(n),!0).forEach((function(t){ft(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ft(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const mt=dt({contacts_icons_size:20,contacts_items_spacing:"",contacts_icon_shape:"rounded",contacts_icon_fill_type:"outline",contact_link_target:"no",contact_text:"",contacts_items_direction:"column",link_icons:"no"},st);var gt=function(t){let{attributes:n}=t;const{contacts_icons_size:r=20,contacts_items_spacing:o="",contacts_icon_shape:i="rounded",contacts_icon_fill_type:a="outline",contact_link_target:l="no",contacts_items_direction:c="column"}=n,s=(0,e.useCallback)((function(e){const t=document.createElement("div");t.innerHTML=e;const n=t.querySelector(".ct-contact-info-block ul"),r=t.querySelectorAll("a");return r&&r.forEach((function(e){e.target="yes"===l?"_blank":"_self"})),n.innerHTML}),[r,i,a,l,c,o]),{isLoading:u,preview:d}=Ue("contact-info",dt(dt({},n),mt),s);return u?(0,e.createElement)(p.Spinner,null):(0,e.createElement)("ul",{"data-icons-type":"simple"===i?i:`${i}:${a}`,dangerouslySetInnerHTML:{__html:d}})};function ht(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ht(Object(n),!0).forEach((function(t){vt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ht(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yt,wt=(0,o.withColors)({textColor:"color"},{textInitialColor:"color"},{textHoverColor:"color"},{iconsColor:"color"},{iconsHoverColor:"color"},{backgroundColor:"color"},{backgroundHoverColor:"color"},{borderColor:"color"},{borderHoverColor:"color"})((function(n){let{attributes:r,setAttributes:i,clientId:a,className:l,textColor:c,setTextColor:s,textInitialColor:u,setTextInitialColor:p,textHoverColor:d,setTextHoverColor:m,iconsColor:g,setIconsColor:h,iconsHoverColor:b,setIconsHoverColor:v,backgroundColor:y,setBackgroundColor:w,backgroundHoverColor:O,setBackgroundHoverColor:_,borderColor:E,setBorderColor:P,borderHoverColor:C,setBorderHoverColor:k}=n;const{contacts_items_direction:j="column",contacts_icons_size:S=20,contacts_items_spacing:x="",contacts_icon_shape:I="rounded",contacts_icon_fill_type:D="outline"}=r,N=(0,e.useRef)(),T=(0,o.useBlockProps)({ref:N,className:{"ct-contact-info-block":!0,className:l},style:bt(bt(bt({"--theme-block-text-color":null==c?void 0:c.color,"--theme-link-initial-color":null==u?void 0:u.color,"--theme-link-hover-color":null==d?void 0:d.color,"--theme-icon-color":null==g?void 0:g.color,"--theme-icon-hover-color":null==b?void 0:b.color,"--background-color":"solid"===D?null==y?void 0:y.color:null==E?void 0:E.color,"--background-hover-color":"solid"===D?null==O?void 0:O.color:null==C?void 0:C.color},S?{"--theme-icon-size":`${S}px`}:{}),x?{"--items-spacing":`${x}px`}:{}),"column"===j?{"--items-direction":j}:{})});return(0,e.createElement)("div",T,(0,e.createElement)(gt,{attributes:r,setAttributes:i}),(0,e.createElement)(Qe,{attributes:r,setAttributes:i,options:Pt}),(0,e.createElement)(o.InspectorControls,{group:"styles"},(0,e.createElement)(f,{label:(0,t.__)("Text Color","blocksy"),resetAll:function(){s(st.textColor),p(st.textInitialColor),m(st.textHoverColor)},panelId:a,settings:[{colorValue:c.color,enableAlpha:!0,label:(0,t.__)("Text","blocksy"),onColorChange:function(e){return s(e||st.textColor)}},{colorValue:u.color,enableAlpha:!0,label:(0,t.__)("Link Initial","blocksy"),onColorChange:function(e){return p(e||st.textInitialColor)}},{colorValue:d.color,enableAlpha:!0,label:(0,t.__)("Link Hover","blocksy"),onColorChange:function(e){return m(e||st.textHoverColor)}}]}),(0,e.createElement)(f,{label:(0,t.__)("Icons Color","blocksy"),resetAll:function(){h(st.iconsColor),v(st.iconsHoverColor)},panelId:a,settings:[{colorValue:g.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return h(e||st.iconsColor)}},{colorValue:b.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return v(e||st.iconsHoverColor)}}]}),"simple"!==I&&("solid"===D?(0,e.createElement)(f,{label:(0,t.__)("Icons Background Color","blocksy"),resetAll:function(){w(st.backgroundColor),_(st.backgroundHoverColor)},panelId:a,settings:[{colorValue:y.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return w(e||st.backgroundColor)}},{colorValue:O.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return _(e||st.backgroundHoverColor)}}]}):(0,e.createElement)(f,{label:(0,t.__)("Icons Border Color","blocksy"),resetAll:function(){P(st.borderColor),k(st.borderHoverColor)},panelId:a,settings:[{colorValue:E.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return P(e||st.borderColor)}},{colorValue:C.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return k(e||st.borderHoverColor)}}]}))))}));function Ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _t(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ot(Object(n),!0).forEach((function(t){Et(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Et(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Pt=He("contact_info"),Ct=ze(Pt);(0,r.registerBlockType)("blocksy/contact-info",{apiVersion:3,title:(0,t.__)("Contact Info Controls","blocksy"),icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{"fill-rule":"evenodd",d:"M7.25 16.437a6.5 6.5 0 1 1 9.5 0V16A2.75 2.75 0 0 0 14 13.25h-4A2.75 2.75 0 0 0 7.25 16v.437Zm1.5 1.193a6.47 6.47 0 0 0 3.25.87 6.47 6.47 0 0 0 3.25-.87V16c0-.69-.56-1.25-1.25-1.25h-4c-.69 0-1.25.56-1.25 1.25v1.63ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm10-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z","clip-rule":"evenodd"}))},supports:{html:!1,multiple:!1,inserter:!1,lock:!1,typography:{fontSize:!0}},parent:["blocksy/widgets-wrapper"],attributes:_t(_t({},Ct),ut),edit:function(t){return(0,e.createElement)(wt,t)},save:function(){return(0,e.createElement)("div",null,"Blocksy: Contact Info")}}),wp.blocks.registerBlockVariation("blocksy/widgets-wrapper",{name:"blocksy-contact-info",title:(0,t.__)("Contact Info","blocksy"),attributes:{heading:(0,t.__)("Contact Info","blocksy"),block:"blocksy/contact-info",hasDescription:!0,description:(null==Ct||null===(yt=Ct.contact_text)||void 0===yt?void 0:yt.default)||""},isActive:function(e){return"blocksy/contact-info"===e.block},icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{"fill-rule":"evenodd",d:"M7.25 16.437a6.5 6.5 0 1 1 9.5 0V16A2.75 2.75 0 0 0 14 13.25h-4A2.75 2.75 0 0 0 7.25 16v.437Zm1.5 1.193a6.47 6.47 0 0 0 3.25.87 6.47 6.47 0 0 0 3.25-.87V16c0-.69-.56-1.25-1.25-1.25h-4c-.69 0-1.25.56-1.25 1.25v1.63ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm10-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z","clip-rule":"evenodd"}))}});const kt={initialColor:"",customInitialColor:"",hoverColor:"",customHoverColor:"",borderColor:"rgba(218, 222, 228, 0.5)",customBorderColor:"rgba(218, 222, 228, 0.5)",borderHoverColor:"rgba(218, 222, 228, 0.7)",customBorderHoverColor:"rgba(218, 222, 228, 0.7)",backgroundColor:"rgba(218, 222, 228, 0.5)",customBackgroundColor:"rgba(218, 222, 228, 0.5)",backgroundHoverColor:"rgba(218, 222, 228, 0.7)",customBackgroundHoverColor:"rgba(218, 222, 228, 0.7)"},jt=$e(kt);function St(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?St(Object(n),!0).forEach((function(t){It(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function It(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Dt=xt({link_nofollow:"no",link_target:"no",social_icons_color:"official",social_icons_fill:"outline",social_icons_size:"",items_spacing:"",social_type:"simple"},kt);var Nt=function(t){let{attributes:n}=t;const{social_icons_color:r,social_icons_size:o,social_type:i,social_icons_fill:a,items_spacing:l}=n,c=(0,e.useCallback)((function(e){const t=document.createElement("div");return t.innerHTML=e,t.querySelector(".ct-social-box").innerHTML}),[r,o,i,a,l]),{isLoading:s,preview:u}=Ue("socials",xt(xt({},n),Dt),c);return s?(0,e.createElement)(p.Spinner,null):(0,e.createElement)(e.RawHTML,{className:"ct-social-box","data-icons-type":"simple"===i?i:`${i}:${a}`,"data-color":r},u)};function Tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function At(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(n),!0).forEach((function(t){Rt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Mt=He("socials");var Bt=(0,o.withColors)({initialColor:"color"},{hoverColor:"color"},{backgroundColor:"color"},{backgroundHoverColor:"color"},{borderColor:"color"},{borderHoverColor:"color"})((function(n){let{attributes:r,setAttributes:i,clientId:a,className:l,initialColor:c,setInitialColor:s,hoverColor:u,setHoverColor:p,backgroundColor:d,setBackgroundColor:m,backgroundHoverColor:g,setBackgroundHoverColor:h,borderColor:b,setBorderColor:v,borderHoverColor:y,setBorderHoverColor:w}=n;const{items_spacing:O="",social_icons_size:_="",social_type:E="simple",social_icons_fill:P="outline",social_icons_color:C="default"}=r,k=(0,e.useRef)(),j=(0,o.useBlockProps)({ref:k,className:{"ct-socials-block":!0,className:l},style:At(At({"--theme-icon-color":null==c?void 0:c.color,"--theme-icon-hover-color":null==u?void 0:u.color,"--background-color":"solid"===P?null==d?void 0:d.color:null==b?void 0:b.color,"--background-hover-color":"solid"===P?null==g?void 0:g.color:null==y?void 0:y.color},_?{"--theme-icon-size":`${_}px`}:{}),O?{"--items-spacing":`${O}px`}:{})});return(0,e.createElement)("div",j,(0,e.createElement)(Nt,{attributes:r,setAttributes:i}),(0,e.createElement)(Qe,{attributes:r,setAttributes:i,options:Mt}),"default"===C?(0,e.createElement)(o.InspectorControls,{group:"styles"},(0,e.createElement)(f,{label:(0,t.__)("Icon Color","blocksy"),resetAll:function(){s(kt.initialColor),p(kt.hoverColor)},panelId:a,settings:[{colorValue:c.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return s(e||kt.initialColor)}},{colorValue:u.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return p(e||kt.hoverColor)}}]}),"simple"!==E&&("solid"===P?(0,e.createElement)(f,{label:(0,t.__)("Icons Background Colors","blocksy"),resetAll:function(){m(kt.backgroundColor),h(kt.backgroundHoverColor)},panelId:a,settings:[{colorValue:d.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return m(e||kt.backgroundColor)}},{colorValue:g.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return h(e||kt.backgroundHoverColor)}}]}):(0,e.createElement)(f,{label:(0,t.__)("Icons Border Colors","blocksy"),resetAll:function(){v(kt.borderColor),w(kt.borderHoverColor)},panelId:a,settings:[{colorValue:b.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return v(e||kt.borderColor)}},{colorValue:y.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return w(e||kt.borderHoverColor)}}]}))):null)}));function Ft(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(n),!0).forEach((function(t){zt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ft(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function zt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ht=He("socials"),Vt=ze(Ht);(0,r.registerBlockType)("blocksy/socials",{apiVersion:3,title:(0,t.__)("Socials Controls","blocksy"),icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{d:"M16.4 14.2c-.8 0-1.5.3-2.1.9l-3.9-2.3c.1-.3.1-.5.1-.8 0-.3-.1-.5-.1-.8L14.3 9c.5.5 1.3.9 2.1.9 1.6 0 2.9-1.3 2.9-2.9S18 4 16.4 4s-2.9 1.3-2.9 2.9c0 .3.1.5.1.8L9.7 10c-.5-.6-1.3-.9-2.1-.9-1.6 0-2.9 1.3-2.9 2.9 0 1.6 1.3 2.9 2.9 2.9.8 0 1.5-.3 2.1-.9l3.9 2.3c-.1.3-.1.5-.1.8 0 1.6 1.3 2.9 2.9 2.9s2.9-1.3 2.9-2.9c0-1.6-1.3-2.9-2.9-2.9zm0-8.7c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5.7-1.5 1.5-1.5zm-8.8 8c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zm8.8 5c-.8 0-1.5-.7-1.5-1.5 0-.3.1-.5.2-.7.3-.4.7-.7 1.2-.7.8 0 1.5.7 1.5 1.5s-.6 1.4-1.4 1.4z"}))},supports:{html:!1,multiple:!1,inserter:!1,lock:!1},parent:["blocksy/widgets-wrapper"],attributes:Lt(Lt({},Vt),jt),edit:function(t){return(0,e.createElement)(Bt,t)},save:function(){return(0,e.createElement)("div",null,"Blocksy: Socials")}}),wp.blocks.registerBlockVariation("blocksy/widgets-wrapper",{name:"blocksy-socials",title:(0,t.__)("Socials","blocksy"),attributes:{heading:(0,t.__)("Socials","blocksy"),block:"blocksy/socials"},isActive:function(e){return"blocksy/socials"===e.block},icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{d:"M16.4 14.2c-.8 0-1.5.3-2.1.9l-3.9-2.3c.1-.3.1-.5.1-.8 0-.3-.1-.5-.1-.8L14.3 9c.5.5 1.3.9 2.1.9 1.6 0 2.9-1.3 2.9-2.9S18 4 16.4 4s-2.9 1.3-2.9 2.9c0 .3.1.5.1.8L9.7 10c-.5-.6-1.3-.9-2.1-.9-1.6 0-2.9 1.3-2.9 2.9 0 1.6 1.3 2.9 2.9 2.9.8 0 1.5-.3 2.1-.9l3.9 2.3c-.1.3-.1.5-.1.8 0 1.6 1.3 2.9 2.9 2.9s2.9-1.3 2.9-2.9c0-1.6-1.3-2.9-2.9-2.9zm0-8.7c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5-1.5-.7-1.5-1.5.7-1.5 1.5-1.5zm-8.8 8c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5zm8.8 5c-.8 0-1.5-.7-1.5-1.5 0-.3.1-.5.2-.7.3-.4.7-.7 1.2-.7.8 0 1.5.7 1.5 1.5s-.6 1.4-1.4 1.4z"}))}});const Ut={initialColor:"",customInitialColor:"",hoverColor:"",customHoverColor:"",borderColor:"rgba(218, 222, 228, 0.5)",customBorderColor:"rgba(218, 222, 228, 0.5)",borderHoverColor:"rgba(218, 222, 228, 0.7)",customBorderHoverColor:"rgba(218, 222, 228, 0.7)",backgroundColor:"rgba(218, 222, 228, 0.5)",customBackgroundColor:"rgba(218, 222, 228, 0.5)",backgroundHoverColor:"rgba(218, 222, 228, 0.7)",customBackgroundHoverColor:"rgba(218, 222, 228, 0.7)"},$t=$e(Ut);function Gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gt(Object(n),!0).forEach((function(t){qt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Zt=Wt({link_nofollow:"no",share_icons_size:"",items_spacing:""},Ut);var Kt=function(t){let{attributes:n}=t;const{share_icons_color:r,share_icons_size:o,share_type:i,share_icons_fill:a,items_spacing:l}=n,c=(0,e.useCallback)((function(e){const t=document.createElement("div");return t.innerHTML=e,t.querySelector(".ct-share-box").innerHTML}),[r,o,i,a,l]),{isLoading:s,preview:u}=Ue("share-box",Wt(Wt({},n),Zt),c);return s?(0,e.createElement)(p.Spinner,null):(0,e.createElement)(e.RawHTML,{className:"ct-share-box","data-type":"type-3"},u)};function Yt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yt(Object(n),!0).forEach((function(t){Jt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Jt(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Qt=He("share_box");var en=(0,o.withColors)({initialColor:"color"},{hoverColor:"color"},{backgroundColor:"color"},{backgroundHoverColor:"color"},{borderColor:"color"},{borderHoverColor:"color"})((function(n){let{attributes:r,setAttributes:i,clientId:a,className:l,initialColor:c,setInitialColor:s,hoverColor:u,setHoverColor:p,backgroundColor:d,setBackgroundColor:m,backgroundHoverColor:g,setBackgroundHoverColor:h,borderColor:b,setBorderColor:v,borderHoverColor:y,setBorderHoverColor:w}=n;const{items_spacing:O="",share_icons_size:_="",share_type:E="simple",share_icons_fill:P="outline",share_icons_color:C="default"}=r,k=(0,e.useRef)(),j=(0,o.useBlockProps)({ref:k,className:{"ct-shares-block":!0,className:l},style:Xt(Xt({"--theme-icon-color":null==c?void 0:c.color,"--theme-icon-hover-color":null==u?void 0:u.color,"--background-color":"solid"===P?null==d?void 0:d.color:null==b?void 0:b.color,"--background-hover-color":"solid"===P?null==g?void 0:g.color:null==y?void 0:y.color},_?{"--theme-icon-size":`${_}px`}:{}),O?{"--items-spacing":`${O}px`}:{})});return(0,e.createElement)("div",j,(0,e.createElement)(Kt,{attributes:r,setAttributes:i}),(0,e.createElement)(Qe,{attributes:r,setAttributes:i,options:Qt}),"default"===C?(0,e.createElement)(o.InspectorControls,{group:"styles"},(0,e.createElement)(f,{label:(0,t.__)("Icon Color","blocksy"),resetAll:function(){s(Ut.initialColor),p(Ut.hoverColor)},panelId:a,settings:[{colorValue:c.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return s(e||Ut.initialColor)}},{colorValue:u.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return p(e||Ut.hoverColor)}}]}),"simple"!==E&&("solid"===P?(0,e.createElement)(f,{label:(0,t.__)("Icons Background Colors","blocksy"),resetAll:function(){m(Ut.backgroundColor),h(Ut.backgroundHoverColor)},panelId:a,settings:[{colorValue:d.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return m(e||Ut.backgroundColor)}},{colorValue:g.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return h(e||Ut.backgroundHoverColor)}}]}):(0,e.createElement)(f,{label:(0,t.__)("Icons Border Colors","blocksy"),resetAll:function(){v(Ut.borderColor),w(Ut.borderHoverColor)},panelId:a,settings:[{colorValue:b.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return v(e||Ut.borderColor)}},{colorValue:y.color,enableAlpha:!0,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return w(e||Ut.borderHoverColor)}}]}))):null)}));function tn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tn(Object(n),!0).forEach((function(t){rn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function rn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const on=He("share_box"),an=ze(on);(0,r.registerBlockType)("blocksy/share-box",{apiVersion:3,title:(0,t.__)("Share Box Controls","blocksy"),icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{d:"M20 14.6c-.2-.3-.5-.6-.9-.8.1-1.2-.1-2.4-.6-3.5s-1.3-2.1-2.3-2.9c-.4-.3-.8-.5-1.3-.8 0-.6-.2-1.2-.5-1.6-.3-.5-.8-.9-1.4-1.1-1-.4-2.4-.1-3.2.8-.5.5-.8 1.2-.8 2-1 .4-1.8 1-2.5 1.8-.8 1-1.4 2.1-1.6 3.3-.1.6-.1 1.3-.1 2-.7.4-1.2 1-1.4 1.7-.3 1.2.1 2.4 1 3.2s2.3.8 3.3.2c.9.6 1.9 1.1 3 1.2.4.1.8.1 1.2.1.9 0 1.9-.2 2.7-.5.5-.2.9-.5 1.4-.8.2.1.4.2.7.3 1.1.3 2.4-.1 3.1-1 .1-.1.2-.3.3-.4v-.1c.7-.9.6-2.2-.1-3.1zm-9.6-8.1c0-.1 0-.2.1-.3 0 0 0-.1.1-.2 0-.1.1-.2.2-.3l.1-.1s.1-.1.1-.2h.1s.1 0 .1-.1c0 0 .1 0 .1-.1h.1c.1 0 .2-.1.3-.1h.7c.1 0 .1 0 .2.1.1 0 .1.1.2.1 0 0 .1 0 .1.1 0 0 .1 0 .1.1l.1.1.2.2v.1l.1.1s0 .1.1.1V7c0 .1 0 .2-.1.3 0 0 0 .1-.1.1 0 0 0 .1-.1.1 0 0-.1.1-.1.2l-.1.1-.1.1h-.1c-.1 0-.1.1-.2.1h-.2c-.1 0-.2.1-.3.1h-1l.1-.1s-.1 0-.1-.1l-.1-.1-.1-.1-.1-.1v-.1l-.1-.1s0-.1-.1-.1v-.1c0-.1-.1-.2-.1-.3V6.6c-.1 0-.1 0-.1-.1zM8 16.6c0 .1-.1.3-.1.4 0 .1-.1.1-.1.2s-.1.1-.1.1l-.1.1-.3.3-.1.1H7v.1c-.1 0-.2.1-.3.1h-.8c-.1 0-.2 0-.3-.1 0 0-.1 0-.1-.1 0 0-.1 0-.1-.1l-.1-.1h-.1l-.1-.1-.1-.1v-.1c.1-.1 0-.2-.1-.3v-.2c0-.1 0-.2-.1-.2V16.3c0-.1 0-.2.1-.2 0 0 0-.1.1-.2 0-.1.1-.2.1-.2l.1-.1.2-.2.1-.1c.1 0 .1-.1.2-.1h.2c.1 0 .2-.1.3-.1h.6c.1 0 .1 0 .2.1l.3-.2s.1 0 .1.1l.2.2c0 .1.1.1.1.1 0 .1.1.1.1.2v.1c.1.2.2.3.2.5v.4c0-.1 0 0 0 0zm7.1 1.4c-.3.2-.5.3-.8.4h-.1l-.2.1c-.1 0-.3.1-.4.1-.3.1-.5.1-.8.2H11.1l-.2-.1c-.1 0-.3-.1-.4-.1-.3-.1-.5-.2-.8-.3-.1-.1-.2-.1-.3-.2-.1-.1-.3-.1-.4-.2 0 .2 0 .1-.1.1.5-.8.6-1.9.3-2.7-.3-.6-.7-1.1-1.2-1.4-.5-.3-1.1-.5-1.7-.4v-1c0-.3.1-.5.2-.8 0-.1.1-.3.1-.4l.1-.3c.1-.2.2-.5.4-.7.1-.1.1-.2.2-.3l.1-.1.1-.1c.1-.4.3-.6.5-.8l.3-.3.1-.1.1-.1c.2-.1.5-.3.7-.4 0 0 .1 0 .1-.1 0 0 0 .1.1.1.3.5.7.9 1.3 1.2.6.3 1.2.4 1.9.3.9-.1 1.7-.8 2.2-1.6.2.1.4.3.7.5l.2.1c.1.1.2.2.3.2.2.2.4.4.5.6l.1.1s0 .1.1.1c.1.1.2.2.2.3.1.2.3.4.4.7 0 .1.1.1.1.2v.1c0 .1.1.2.1.4.1.3.1.5.2.8v1.3c-.4 0-.8 0-1.1.1-1.2.4-2.1 1.6-2 2.9 0 .6.2 1.1.5 1.6zm1.7-3.3zm2.4 1.8v.2c0 .1 0 .2-.1.3v.1c0 .1 0 .1-.1.1 0 0-.1.1-.1.2l-.2.2-.1.1c-.1.1-.2.1-.3.2h-.1c-.1 0-.2.1-.3.1h-.7c-.1 0-.2-.1-.3-.2h-.1l-.1-.1-.1-.1c-.1-.1-.1-.2-.2-.3v-.2c0-.1-.1-.2-.1-.4v-.4c0-.1 0-.2.1-.3l.1-.2v-.1c0-.1.1-.2.2-.3l.1-.1.1-.1c.1-.1.2-.1.3-.2h.2c.1 0 .2-.1.3-.1H18.7c.1 0 .2.1.3.2l.1.1.2.2c.1.1.1.2.2.3v.2c0 .1.1.2.1.3v.1c-.4 0-.4.1-.4.2z"}))},supports:{html:!1,multiple:!1,inserter:!1,lock:!1},parent:["blocksy/widgets-wrapper"],attributes:nn(nn({},an),$t),edit:function(t){return(0,e.createElement)(en,t)},save:function(){return(0,e.createElement)("div",null,"Blocksy: Share Box")}}),wp.blocks.registerBlockVariation("blocksy/widgets-wrapper",{name:"blocksy-share-box",title:(0,t.__)("Share Box","blocksy"),attributes:{heading:(0,t.__)("Share Box","blocksy"),block:"blocksy/share-box"},isActive:function(e){return"blocksy/share-box"===e.block},icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{d:"M20 14.6c-.2-.3-.5-.6-.9-.8.1-1.2-.1-2.4-.6-3.5s-1.3-2.1-2.3-2.9c-.4-.3-.8-.5-1.3-.8 0-.6-.2-1.2-.5-1.6-.3-.5-.8-.9-1.4-1.1-1-.4-2.4-.1-3.2.8-.5.5-.8 1.2-.8 2-1 .4-1.8 1-2.5 1.8-.8 1-1.4 2.1-1.6 3.3-.1.6-.1 1.3-.1 2-.7.4-1.2 1-1.4 1.7-.3 1.2.1 2.4 1 3.2s2.3.8 3.3.2c.9.6 1.9 1.1 3 1.2.4.1.8.1 1.2.1.9 0 1.9-.2 2.7-.5.5-.2.9-.5 1.4-.8.2.1.4.2.7.3 1.1.3 2.4-.1 3.1-1 .1-.1.2-.3.3-.4v-.1c.7-.9.6-2.2-.1-3.1zm-9.6-8.1c0-.1 0-.2.1-.3 0 0 0-.1.1-.2 0-.1.1-.2.2-.3l.1-.1s.1-.1.1-.2h.1s.1 0 .1-.1c0 0 .1 0 .1-.1h.1c.1 0 .2-.1.3-.1h.7c.1 0 .1 0 .2.1.1 0 .1.1.2.1 0 0 .1 0 .1.1 0 0 .1 0 .1.1l.1.1.2.2v.1l.1.1s0 .1.1.1V7c0 .1 0 .2-.1.3 0 0 0 .1-.1.1 0 0 0 .1-.1.1 0 0-.1.1-.1.2l-.1.1-.1.1h-.1c-.1 0-.1.1-.2.1h-.2c-.1 0-.2.1-.3.1h-1l.1-.1s-.1 0-.1-.1l-.1-.1-.1-.1-.1-.1v-.1l-.1-.1s0-.1-.1-.1v-.1c0-.1-.1-.2-.1-.3V6.6c-.1 0-.1 0-.1-.1zM8 16.6c0 .1-.1.3-.1.4 0 .1-.1.1-.1.2s-.1.1-.1.1l-.1.1-.3.3-.1.1H7v.1c-.1 0-.2.1-.3.1h-.8c-.1 0-.2 0-.3-.1 0 0-.1 0-.1-.1 0 0-.1 0-.1-.1l-.1-.1h-.1l-.1-.1-.1-.1v-.1c.1-.1 0-.2-.1-.3v-.2c0-.1 0-.2-.1-.2V16.3c0-.1 0-.2.1-.2 0 0 0-.1.1-.2 0-.1.1-.2.1-.2l.1-.1.2-.2.1-.1c.1 0 .1-.1.2-.1h.2c.1 0 .2-.1.3-.1h.6c.1 0 .1 0 .2.1l.3-.2s.1 0 .1.1l.2.2c0 .1.1.1.1.1 0 .1.1.1.1.2v.1c.1.2.2.3.2.5v.4c0-.1 0 0 0 0zm7.1 1.4c-.3.2-.5.3-.8.4h-.1l-.2.1c-.1 0-.3.1-.4.1-.3.1-.5.1-.8.2H11.1l-.2-.1c-.1 0-.3-.1-.4-.1-.3-.1-.5-.2-.8-.3-.1-.1-.2-.1-.3-.2-.1-.1-.3-.1-.4-.2 0 .2 0 .1-.1.1.5-.8.6-1.9.3-2.7-.3-.6-.7-1.1-1.2-1.4-.5-.3-1.1-.5-1.7-.4v-1c0-.3.1-.5.2-.8 0-.1.1-.3.1-.4l.1-.3c.1-.2.2-.5.4-.7.1-.1.1-.2.2-.3l.1-.1.1-.1c.1-.4.3-.6.5-.8l.3-.3.1-.1.1-.1c.2-.1.5-.3.7-.4 0 0 .1 0 .1-.1 0 0 0 .1.1.1.3.5.7.9 1.3 1.2.6.3 1.2.4 1.9.3.9-.1 1.7-.8 2.2-1.6.2.1.4.3.7.5l.2.1c.1.1.2.2.3.2.2.2.4.4.5.6l.1.1s0 .1.1.1c.1.1.2.2.2.3.1.2.3.4.4.7 0 .1.1.1.1.2v.1c0 .1.1.2.1.4.1.3.1.5.2.8v1.3c-.4 0-.8 0-1.1.1-1.2.4-2.1 1.6-2 2.9 0 .6.2 1.1.5 1.6zm1.7-3.3zm2.4 1.8v.2c0 .1 0 .2-.1.3v.1c0 .1 0 .1-.1.1 0 0-.1.1-.1.2l-.2.2-.1.1c-.1.1-.2.1-.3.2h-.1c-.1 0-.2.1-.3.1h-.7c-.1 0-.2-.1-.3-.2h-.1l-.1-.1-.1-.1c-.1-.1-.1-.2-.2-.3v-.2c0-.1-.1-.2-.1-.4v-.4c0-.1 0-.2.1-.3l.1-.2v-.1c0-.1.1-.2.2-.3l.1-.1.1-.1c.1-.1.2-.1.3-.2h.2c.1 0 .2-.1.3-.1H18.7c.1 0 .2.1.3.2l.1.1.2.2c.1.1.1.2.2.3v.2c0 .1.1.2.1.3v.1c-.4 0-.4.1-.4.2z"}))}});var ln=function(t){let{attributes:{has_field_link:n},postId:r,postType:o}=t;const[i="",a,l]=(0,F.useEntityProp)("postType",o,"title",r);return i?"yes"===n?(0,e.createElement)("a",{href:"#",rel:"noopener noreferrer"},i):i:null};const cn=function(e){if(!e)return"";const t=(new window.DOMParser).parseFromString(e,"text/html");return t.body.textContent||t.body.innerText||""};var sn=function(t){let{attributes:{excerpt_length:n},postId:r,postType:o,fallback:i}=t;const[a,l,{rendered:c,protected:s}={}]=(0,F.useEntityProp)("postType",o,"excerpt",r),[u,p,{rendered:d}={}]=(0,F.useEntityProp)("postType",o,"content",r),f=(a||cn(c)||cn(d)).trim();let m=f.split(" ",n).join(" ");const g=m!==f?"...":"";return m?(0,e.createElement)(e.RawHTML,null,m,g):i},un=n(2476);var pn=function(t){let{postId:n,postType:r,attributes:{date_type:o,default_format:i,date_format:a,custom_date_format:l,has_field_link:c}}=t;const[s]=(0,F.useEntityProp)("postType",r,"published"===o?"date":"modified",n),u="yes"===i?(0,un.getSettings)().formats.date:"custom"!==a?a:l;let p=(0,e.createElement)("span",null,(0,un.format)(u,s));return c&&(p=(0,e.createElement)("a",{href:"#"},p)),p},dn=window.wp.apiFetch,fn=n.n(dn),mn=window.wp.url;const gn={};var hn=function(t){let{postId:n}=t;const[r,o]=(0,e.useState)(null);return(0,e.useEffect)((function(){gn[n]&&o(gn[n]),gn[n]||fn()({path:(0,mn.addQueryArgs)("/wp/v2/comments",{post:n,_fields:"id"}),method:"HEAD",parse:!1}).then((function(e){const t={total:parseInt(e.headers.get("X-WP-Total"))};o(t),gn[n]=t}))}),[n]),{commentsData:r}};var bn=function(t){let{postId:n,postType:r,attributes:{has_field_link:o,zero_text:i,single_text:a,multiple_text:l}}=t;const{commentsData:c}=hn({postId:n}),s=c&&c.total?c.total:0,u=0===s?i:1===s?a:l;return"yes"===o?(0,e.createElement)("a",{href:"#",rel:"noopener noreferrer"},u.replace("%",s)):u.replace("%",s)};const vn=function(e,t){switch(t){case"email":return(null==e?void 0:e.email)||"";case"nicename":case"display_name":return(null==e?void 0:e.nickname)||"";case"first_name":return(null==e?void 0:e.first_name)||"";case"last_name":return(null==e?void 0:e.last_name)||"";case"description":return(null==e?void 0:e.description)||""}};var yn=function(t){let{postId:n,postType:r,attributes:{has_field_link:o,author_field:a},fallback:l}=t;const{authorId:c,authorDetails:s}=(0,i.useSelect)((function(e){var t;const{getEditedEntityRecord:o,getUser:i,getUsers:a}=e(F.store),l=null===(t=o("postType",r,n))||void 0===t?void 0:t.author;return{authorId:l,authorDetails:l?i(l):null}}),[r,n]);return s?"yes"===o?(0,e.createElement)("a",{href:"#",rel:"noopener noreferrer"},vn(s,a)||l):vn(s,a)||l:null};function wn(){return wn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wn.apply(this,arguments)}var On=function(t){let{postId:n,postType:r,fallback:o,attributes:a,attributes:{has_field_link:l,taxonomy:c,separator:s}}=t;const u=V(r),{terms:p}=(0,i.useSelect)((function(e){return{terms:e("core").getEntityRecords("taxonomy",c||(u&&u.length>0?u[0].slug:""),{per_page:-1,post:n})||[]}}));if(0===p.length)return o;let d="span",f={};return"yes"===l&&(d="a",f.href="#",f.rel="noopener noreferrer"),p.map((function(t,n){return(0,e.createElement)(React.Fragment,null,(0,e.createElement)(d,wn({},f,{className:I()({[`ct-term-${t.id}`]:"yes"===a.termAccentColor},a.termClass),dangerouslySetInnerHTML:{__html:t.name}})),n!==p.length-1?s.replace(/ /g," "):"")}))};function _n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function En(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_n(Object(n),!0).forEach((function(t){Pn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_n(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Cn=function(){return(0,e.createElement)("span",{class:"ct-video-indicator"},(0,e.createElement)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"#fff"},(0,e.createElement)("path",{class:"ct-play-path",d:"M20,0C8.9,0,0,8.9,0,20s8.9,20,20,20s20-9,20-20S31,0,20,0z M16,29V11l12,9L16,29z"})))};var kn=function(t){let{postType:n,postId:r,attributes:a,attributes:{aspectRatio:l,width:c,height:s,imageAlign:u,has_field_link:p,sizeSlug:d,image_hover_effect:f,videoThumbnail:m}}=t;const[g,h]=(0,e.useState)(!1),b=(0,o.__experimentalUseBorderProps)(a),v=(0,o.useBlockProps)(En({className:I()("ct-dynamic-media wp-block-image",{[`align${u}`]:u},b.className),style:En(En({},b.style),{},{aspectRatio:l,width:c,height:s})},"none"!==f?{"data-hover":f}:{})),[y,w]=(0,F.useEntityProp)("postType",n,"featured_media",r),{media:O}=(0,i.useSelect)((function(e){const{getMedia:t}=e(F.store);return{media:y&&t(y,{context:"view"})}}),[y]),_=function(e,t){var n,r,o;return(null==e||null===(n=e.media_details)||void 0===n||null===(r=n.sizes)||void 0===r||null===(o=r[t])||void 0===o?void 0:o.source_url)||(null==e?void 0:e.source_url)}(O,d),E={height:l?"100%":s,width:!!l&&"100%",objectFit:!(!s&&!l)&&"cover"};if(!_)return(0,e.createElement)("figure",v,(0,e.createElement)("div",{className:"ct-dynamic-data-placeholder",style:En({},E)},(0,e.createElement)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60",preserveAspectRatio:"none",class:"components-placeholder__illustration","aria-hidden":"true",focusable:"false",style:{"min-height":"200px",height:!!l&&"100%",width:!!l&&"100%"}},(0,e.createElement)("path",{"vector-effect":"non-scaling-stroke",d:"M60 60 0 0"}))));let P=(0,e.createElement)("img",{style:En({},E),src:_,onLoad:function(){return h(!0)},loading:"lazy"});return!p||O.has_video||"yes"===m||g||(P=(0,e.createElement)("a",{href:"#"},P)),(0,e.createElement)("figure",v,P,O.has_video&&"yes"===m?(0,e.createElement)(Cn,null):null)},jn=n(1649),Sn=n.n(jn);n(8975),Sn()(console.error);var xn,In,Dn,Nn,Tn=n(4942);xn={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},In=["(","?"],Dn={")":["("],":":["?","?:"]},Nn=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var An={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function Rn(e){var t=function(e){for(var t,n,r,o,i=[],a=[];t=e.match(Nn);){for(n=t[0],(r=e.substr(0,t.index).trim())&&i.push(r);o=a.pop();){if(Dn[n]){if(Dn[n][0]===o){n=Dn[n][1]||n;break}}else if(In.indexOf(o)>=0||xn[o]<xn[n]){a.push(o);break}i.push(o)}Dn[n]||a.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&i.push(e),i.concat(a.reverse())}(e);return function(e){return function(e,t){var n,r,o,i,a,l,c=[];for(n=0;n<e.length;n++){if(a=e[n],i=An[a]){for(r=i.length,o=Array(r);r--;)o[r]=c.pop();try{l=i.apply(null,o)}catch(e){return e}}else l=t.hasOwnProperty(a)?t[a]:+a;c.push(l)}return c[0]}(t,e)}}var Mn={contextDelimiter:"",onMissingKey:null};function Bn(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},Mn)this.options[n]=void 0!==t&&n in t?t[n]:Mn[n]}function Fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ln(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fn(Object(n),!0).forEach((function(t){(0,Tn.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Bn.prototype.getPluralForm=function(e,t){var n,r,o,i=this.pluralForms[e];return i||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),o=function(e){var t=Rn(e);return function(e){return+t({n:e})}}(r)),i=this.pluralForms[e]=o),i(t)},Bn.prototype.dcnpgettext=function(e,t,n,r,o){var i,a,l;return i=void 0===o?0:this.getPluralForm(e,o),a=n,t&&(a=t+this.options.contextDelimiter+n),(l=this.data[e][a])&&l[i]?l[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)};var zn={"":{plural_forms:function(e){return 1===e?0:1}}},Hn=/^i18n\.(n?gettext|has_translation)(_|$)/,Vn=function(e,t,n){var r=new Bn({}),o=new Set,i=function(){o.forEach((function(e){return e()}))},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";r.data[t]=Ln(Ln(Ln({},zn),r.data[t]),e),r.data[t][""]=Ln(Ln({},zn[""]),r.data[t][""])},l=function(e,t){a(e,t),i()},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return r.data[e]||a(void 0,e),r.dcnpgettext(e,t,n,o,i)},s=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default"},u=function(e,t,r){var o=c(r,t,e);return n?(o=n.applyFilters("i18n.gettext_with_context",o,e,t,r),n.applyFilters("i18n.gettext_with_context_"+s(r),o,e,t,r)):o};if(e&&l(e,t),n){var p=function(e){Hn.test(e)&&i()};n.addAction("hookAdded","core/i18n",p),n.addAction("hookRemoved","core/i18n",p)}return{getLocaleData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return r.data[e]},setLocaleData:l,resetLocaleData:function(e,t){r.data={},r.pluralForms={},l(e,t)},subscribe:function(e){return o.add(e),function(){return o.delete(e)}},__:function(e,t){var r=c(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+s(t),r,e,t)):r},_x:u,_n:function(e,t,r,o){var i=c(o,void 0,e,t,r);return n?(i=n.applyFilters("i18n.ngettext",i,e,t,r,o),n.applyFilters("i18n.ngettext_"+s(o),i,e,t,r,o)):i},_nx:function(e,t,r,o,i){var a=c(i,o,e,t,r);return n?(a=n.applyFilters("i18n.ngettext_with_context",a,e,t,r,o,i),n.applyFilters("i18n.ngettext_with_context_"+s(i),a,e,t,r,o,i)):a},isRTL:function(){return"rtl"===u("ltr","text direction")},hasTranslation:function(e,t,o){var i,a,l=t?t+""+e:e,c=!(null===(i=r.data)||void 0===i||null===(a=i[null!=o?o:"default"])||void 0===a||!a[l]);return n&&(c=n.applyFilters("i18n.has_translation",c,e,t,o),c=n.applyFilters("i18n.has_translation_"+s(o),c,e,t,o)),c}}}(void 0,void 0,n(5224).defaultHooks);Vn.getLocaleData.bind(Vn),Vn.setLocaleData.bind(Vn),Vn.resetLocaleData.bind(Vn),Vn.subscribe.bind(Vn),Vn.__.bind(Vn),Vn._x.bind(Vn),Vn._n.bind(Vn),Vn._nx.bind(Vn),Vn.isRTL.bind(Vn),Vn.hasTranslation.bind(Vn);function Un(e){let{postId:t,postType:n}=e;const{authorDetails:r}=(0,i.useSelect)((function(e){var r;const{getEditedEntityRecord:o,getUser:i}=e(F.store),a=null===(r=o("postType",n,t))||void 0===r?void 0:r.author;return{authorDetails:a?i(a):null}}),[n,t]),a=null!=r&&r.avatar_urls?Object.values(r.avatar_urls):null,l=(null!=r&&r.avatar_urls&&Object.keys(r.avatar_urls),function(){const{avatarURL:e}=(0,i.useSelect)((function(e){const{getSettings:t}=e(o.store),{__experimentalDiscussionSettings:n}=t();return n}));return e}());return{src:a?a[a.length-1]:l}}function $n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$n(Object(n),!0).forEach((function(t){Wn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$n(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qn=function(t){let{postId:n,postType:r,attributes:i,attributes:{avatar_size:a,imageAlign:l,has_field_link:c}}=t;const s=(0,o.useBlockProps)({className:I()("ct-dynamic-media wp-block-image",{[`align${l}`]:l}),style:{}}),u=(0,o.__experimentalUseBorderProps)(i),p=Un({postId:n,postType:r});const d=(0,mn.addQueryArgs)((0,mn.removeQueryArgs)(p.src,["s"]),{s:2*a}),f=Gn({},u.style);let m=(0,e.createElement)("img",{style:Gn(Gn({},f),{},{width:`${a}px`,height:`${a}px`}),src:d,className:I()("avatar","avatar-"+a,"photo",u.className)});return c&&(m=(0,e.createElement)("a",{href:"#"},m)),(0,e.createElement)("figure",s,m)};function Zn(){return Zn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zn.apply(this,arguments)}function Kn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kn(Object(n),!0).forEach((function(t){Xn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xn(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Jn=function(n){let{fieldDescriptor:r,fieldsDescriptor:i,attributes:a,attributes:{align:l,tagName:c,before:s,after:u,fallback:p},postId:d,postType:f}=n;const m=(0,o.useBlockProps)({className:I()("ct-dynamic-data",{[`has-text-align-${l}`]:l})}),g=(0,o.__experimentalUseBorderProps)(a);let h=null;return"archive_title"===r.id&&(h=function(){return(0,t.__)("Archive Title","blocksy")}),"archive_description"===r.id&&(h=function(){return(0,t.__)("Archive Description","blocksy")}),"title"===r.id&&(h=ln),"excerpt"===r.id&&(h=sn),"date"===r.id&&(h=pn),"comments"===r.id&&(h=bn),"terms"===r.id&&(h=On),"author"===r.id&&(h=yn),h?(0,e.createElement)(c,Zn({},m,g,{style:Yn(Yn({},m.style||{}),g.style||{}),className:I()(m.className,g.className)}),i&&i.dynamic_styles&&(0,e.createElement)("style",null,i.dynamic_styles),s,(0,e.createElement)(h,{attributes:a,postId:d,postType:f,fallback:p}),u):null};var Qn=function(t){const{fieldDescriptor:n}=t;return"featured_image"===n.id?(0,e.createElement)(kn,t):"author_avatar"===n.id?(0,e.createElement)(qn,t):(0,e.createElement)(Jn,t)};function er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?er(Object(n),!0).forEach((function(t){nr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):er(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const rr={};var or=function(t){let{postId:n,fieldDescriptor:r}=t;const[o,i]=(0,e.useState)(rr),a=(0,e.useMemo)((function(){return`${n}-${r.provider}-${r.id}`}),[n,r.provider,r.id]);return(0,e.useEffect)((function(){rr[a]||fetch(`${wp.ajax.settings.url}?action=blocksy_dynamic_data_block_custom_field_data`,{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",body:JSON.stringify({post_id:n,field_provider:r.provider,field_id:r.id})}).then((function(e){return e.json()})).then((function(e){let{success:t,data:n}=e;t&&(rr[a]={value:n.field_data},i(tr(tr({},o),{},{[a]:{value:n.field_data}})))}))}),[n,r.provider,r.id,a,o]),{fieldData:o[a]?o[a]:null}};function ir(){return ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ir.apply(this,arguments)}function ar(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ar(Object(n),!0).forEach((function(t){cr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ar(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sr=function(t){let{fieldDescriptor:n,attributes:r,attributes:{align:i,tagName:a,before:l,after:c,fallback:s},fieldData:u}=t;const p=(0,o.useBlockProps)({className:I()("ct-dynamic-data",{[`has-text-align-${i}`]:i})}),d=(0,o.__experimentalUseBorderProps)(r);let f=!1,m=u.value||"";return m||(f=!0,m=s||""),!f&&m&&"string"==typeof m&&(m=l+m+c),(0,e.createElement)(a,ir({},p,d,{style:lr(lr({},p.style||{}),d.style||{}),className:I()(p.className,d.className),dangerouslySetInnerHTML:{__html:m}}))};function ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ur(Object(n),!0).forEach((function(t){dr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fr=function(t){let{fieldDescriptor:n,fieldData:r,attributes:i,attributes:{aspectRatio:a,width:l,height:c,imageAlign:s,has_field_link:u,image_hover_effect:p,sizeSlug:d}}=t;const f=(0,o.useBlockProps)(pr({className:I()("ct-dynamic-media wp-block-image",{[`align${s}`]:s}),style:{aspectRatio:a,width:l,height:c}},"none"!==p?{"data-hover":p}:{})),m=(0,o.__experimentalUseBorderProps)(i);let g=r.value.value.url;r.value.value.sizes[d]&&(g=r.value.value.sizes[d].url);const h=pr(pr({},m.style),{},{height:a?"100%":c,width:!!a&&"100%",objectFit:!(!c&&!a)&&"cover"});if(!g)return(0,e.createElement)("figure",f,(0,e.createElement)("div",{className:"ct-dynamic-data-placeholder",style:pr({},h)},(0,e.createElement)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60",preserveAspectRatio:"none",class:"components-placeholder__illustration","aria-hidden":"true",focusable:"false",style:{"min-height":"200px",height:!!a&&"100%",width:!!a&&"100%"}},(0,e.createElement)("path",{"vector-effect":"non-scaling-stroke",d:"M60 60 0 0"}))));let b=(0,e.createElement)("img",{style:pr({},h),src:g,className:m.className});return(0,e.createElement)("figure",f,b)};var mr=function(t){let{fieldDescriptor:n,postId:r,postType:o,attributes:i}=t;const{fieldData:a}=or({postId:r,fieldDescriptor:n});return a?"image"===n.type?(0,e.createElement)(fr,{fieldData:a,fieldDescriptor:n,attributes:i}):(0,e.createElement)(sr,{fieldData:a,fieldDescriptor:n,attributes:i}):null};var gr=function(t){let{product:n}=t;return(0,e.createElement)(e.RawHTML,null,null==n?void 0:n.price_html)};var hr=function(e){let{product:n}=e;return null!=n&&n.is_in_stock?(0,t.__)("In Stock","blocksy-companion"):(0,t.__)("Out of Stock","blocksy-companion")};var br=function(n){let{product:r}=n;const o=parseFloat(null==r?void 0:r.average_rating)/5*100+"%";return(0,e.createElement)("div",{className:"star-rating",role:"img","aria-label":"Rated 2.15 out of 5"},(0,e.createElement)("span",{style:{width:o}},(0,t.sprintf)((0,t.__)("Rated %s out of 5","blocksy-companion"),null==r?void 0:r.average_rating)))};var vr=function(e){let{product:t}=e;return(null==t?void 0:t.sku)||""};const yr=["product","isLoading"];function wr(){return wr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wr.apply(this,arguments)}function Or(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Or(Object(n),!0).forEach((function(t){Er(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Or(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Er(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pr(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}const Cr=function(t){let{fieldDescriptor:n,attributes:r,attributes:{align:i,tagName:a,before:l,after:c,fallback:s},postId:u,postType:d}=t;const f=wc.wcBlocksSharedContext.useProductDataContext(),{product:m,isLoading:g}=f,h=(Pr(f,yr),(0,o.useBlockProps)({className:I()("ct-dynamic-data",{[`has-text-align-${i}`]:i})})),b=(0,o.__experimentalUseBorderProps)(r);if(g)return(0,e.createElement)(p.Spinner,null);let v=null;return"price"===n.id&&(v=gr),"stock_status"===n.id&&(v=hr),"rating"===n.id&&(v=br),"sku"===n.id&&(v=vr),v?(0,e.createElement)(a,wr({},h,b,{style:_r(_r({},h.style||{}),b.style||{}),className:I()(h.className,b.className)}),l,(0,e.createElement)(v,{attributes:r,postId:u,postType:d,fallback:s,product:m}),c):null};var kr=function(e){const{fieldDescriptor:t,postId:n}=e,{withProductDataContext:r}=wc.wcBlocksSharedHocs;return r(Cr)(_r(_r({},e),{},{productId:n}))};var jr=function(t){let{fieldDescriptor:n,fieldsDescriptor:r,postId:o,postType:i,attributes:a,attributes:{tagName:l,align:c,field:s,before:u,after:p,fallback:d}}=t;return"woo"===n.provider?(0,e.createElement)(kr,{fieldDescriptor:n,attributes:a,postId:o,postType:i}):"wp"===n.provider?(0,e.createElement)(Qn,{fieldsDescriptor:r,fieldDescriptor:n,attributes:a,postId:o,postType:i}):(0,e.createElement)(mr,{fieldDescriptor:n,attributes:a,postId:o,postType:i})};function Sr(t){let{level:n,isPressed:r=!1}=t;const o={h1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",h2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",h3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",h4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",h5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",h6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z",p:"M6.2 15V5h3.2c1.2 0 2 .1 2.4.2.6.2 1 .5 1.4 1 .4.5.6 1.1.6 1.9 0 .6-.1 1.1-.3 1.6-.2.4-.5.8-.9 1-.3.2-.7.4-1 .5-.5.1-1.2.1-2.1.1H8.2V15h-2zm2-8.3v2.8h1.1c.8 0 1.3 0 1.6-.2.3-.1.5-.3.6-.5.2-.2.2-.5.2-.8 0-.4-.1-.7-.3-.9-.2-.2-.5-.4-.8-.4-.2 0-.7-.1-1.5-.1.1.1-.9.1-.9.1z",span:"M8.2 12c.2 1 .9 1.4 2 1.4s1.6-.4 1.6-1.2c0-.8-.5-1.1-2.1-1.5-2.7-.6-3.3-1.5-3.3-2.9C6.4 6.2 7.6 5 9.9 5c2.6 0 3.6 1.4 3.7 2.8h-2.1c-.1-.6-.4-1.2-1.7-1.2-.9 0-1.4.4-1.4 1 0 .7.4.9 2 1.3 2.9.7 3.6 1.7 3.6 3.1 0 1.8-1.3 3-3.9 3-2.5 0-3.8-1.2-4-3h2.1z",div:"M5.8 5h3.7c.8 0 1.5.1 1.9.2.6.2 1.1.5 1.5.9.4.4.7 1 1 1.6.2.6.3 1.4.3 2.4 0 .8-.1 1.5-.3 2.1-.3.7-.6 1.3-1.1 1.8-.3.3-.8.6-1.4.8-.4.1-1 .2-1.8.2H5.8V5zm2 1.7v6.6h1.5c.6 0 1 0 1.2-.1.3-.1.6-.2.8-.4.2-.2.4-.5.5-1 .1-.4.2-1.1.2-1.8 0-.8-.1-1.4-.2-1.8-.1-.4-.3-.7-.6-1-.2-.2-.6-.4-.9-.5-.3-.1-.8-.1-1.6-.1l-.9.1z"};return o.hasOwnProperty(n)?(0,e.createElement)(p.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:r},(0,e.createElement)(p.Path,{d:o[n]})):null}function xr(n){let{tagName:r,onChange:o}=n;return(0,e.createElement)(p.ToolbarDropdownMenu,{popoverProps:{className:"block-library-heading-level-dropdown"},icon:(0,e.createElement)(Sr,{level:r}),label:(0,t.__)("Change heading level","blocksy"),controls:["h1","h2","h3","h4","h5","h6","p","span","div"].map((function(n){{const i=n===r;return{icon:(0,e.createElement)(Sr,{level:n,isPressed:i}),label:n,title:{h1:(0,t.__)("Heading 1","blocksy"),h2:(0,t.__)("Heading 2","blocksy"),h3:(0,t.__)("Heading 3","blocksy"),h4:(0,t.__)("Heading 4","blocksy"),h5:(0,t.__)("Heading 5","blocksy"),h6:(0,t.__)("Heading 6","blocksy"),p:(0,t.__)("Paragraph","blocksy"),span:(0,t.__)("Span","blocksy"),div:(0,t.__)("Div","blocksy")}[n],isActive:i,onClick(){o(n)},role:"menuitemradio"}}}))})}const Ir=function(e){return"wp"===e.provider?"featured_image"===e.id||"author_avatar"===e.id:"image"===e.type};function Dr(){return Dr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dr.apply(this,arguments)}var Nr=function(t){let{fieldDescriptor:n,attributes:r,attributes:{align:i,imageAlign:a},setAttributes:l}=t;return(0,e.createElement)(o.BlockControls,{group:"block"},Ir(n)?(0,e.createElement)(o.BlockAlignmentControl,Dr({},"wp"===n.provider&&"author_avatar"===n.id?{controls:["none","left","center","right"]}:{},{value:a,onChange:function(e){return l({imageAlign:e})}})):(0,e.createElement)(React.Fragment,null,(0,e.createElement)(o.AlignmentControl,{value:i,onChange:function(e){return l({align:e})}}),(0,e.createElement)(xr,{tagName:r.tagName,onChange:function(e){return l({tagName:e})}})))};function Tr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ar(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tr(Object(n),!0).forEach((function(t){Rr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Mr=(0,Je.getOptionsForBlock)("dynamic-data"),Br=function(){const e=document.body.classList.contains("post-type-ct_content_block");return{provider:"wp",fields:[{id:"title",label:(0,t.__)("Title","blocksy")},{id:"excerpt",label:(0,t.__)("Excerpt","blocksy")},{id:"date",label:(0,t.__)("Post Date","blocksy")},{id:"comments",label:(0,t.__)("Comments","blocksy")},{id:"terms",label:(0,t.__)("Terms","blocksy")},{id:"author",label:(0,t.__)("Author","blocksy")},{id:"featured_image",label:(0,t.__)("Featured Image","blocksy")},{id:"author_avatar",label:(0,t.__)("Author Avatar","blocksy")},...e?[{id:"archive_title",label:(0,t.__)("Archive Title","blocksy")},{id:"archive_description",label:(0,t.__)("Archive Description","blocksy")}]:[]]}},Fr=function(){return void 0!==window.wc?[{provider:"woo",fields:[{id:"price",label:(0,t.__)("Price","blocksy")},{id:"rating",label:(0,t.__)("Rating","blocksy")},{id:"stock_status",label:(0,t.__)("Stock Status","blocksy")},{id:"sku",label:(0,t.__)("SKU","blocksy")}]}]:[]};let Lr={};const zr={};var Hr=function(n){let{postId:r,postType:o}=n;const[i,a]=(0,e.useState)({fields:[Br(),..."product"===o?Fr():[]]});(0,e.useEffect)((function(){!function(e,t,n){if(!zr[e])return Lr[e]?void Lr[e].push(n):(Lr[e]=[n],void fetch(`${wp.ajax.settings.url}?action=blocksy_blocks_retrieve_dynamic_data_descriptor`,{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",body:JSON.stringify({post_id:e})}).then((function(e){return e.json()})).then((function(n){let{success:r,data:o}=n;const i=Ar(Ar({},o),{},{fields:[Br(),..."product"===t?Fr():[],...o.fields]});zr[e]=i,Lr[e].map((function(e){return e(i)}))})));n(zr[e])}(r,o,(function(e){a(e)}))}),[r,o]);const l=V(o);return{fieldsDescriptor:i,options:Mr,fieldsChoices:i.fields.reduce((function(e,n){return[...e,...n.fields.filter((function(e){return"wp"!==n.provider||"terms"!==e.id||l&&l.length>0})).map((function(e){return{group:(r=n.provider,{wp:"WordPress",woo:"WooCommerce",acf:"ACF",metabox:"MetaBox",custom:(0,t.__)("Custom","blocksy"),toolset:"Toolset",jetengine:"Jet Engine",pods:"Pods"}[r]||(0,t.__)("Unknown","blocksy")),key:`${n.provider}:${e.id}`,value:e.label};var r}))]}),[])}};var Vr=function(n){let{clientId:r,attributes:{aspectRatio:a,width:l,height:c,sizeSlug:s},setAttributes:u}=n;const d=(0,i.useSelect)((function(e){return e(o.store).getSettings().imageSizes}),[]).map((function(e){let{name:t,slug:n}=e;return{value:n,label:t}})),f=(0,p.__experimentalUseCustomUnits)({availableUnits:(0,o.useSetting)("spacing.units")||["px","%","vw","em","rem"]}),m=function(e,t){const n=parseFloat(t);isNaN(n)&&t||u({[e]:n<0?"0":t})};return(0,e.createElement)(p.__experimentalToolsPanel,{label:(0,t.__)("Image Settings","blocksy"),resetAll:function(){u({aspectRatio:"auto",width:void 0,height:void 0,sizeSlug:void 0})}},(0,e.createElement)(p.__experimentalToolsPanelItem,{hasValue:function(){return!!a},label:(0,t.__)("Aspect Ratio","blocksy"),onDeselect:function(){return u({aspectRatio:void 0})},resetAllFilter:function(){return{aspectRatio:"auto"}},isShownByDefault:!0,key:r},(0,e.createElement)(p.SelectControl,{__nextHasNoMarginBottom:!0,label:(0,t.__)("Aspect Ratio","blocksy"),value:a,options:[{label:(0,t.__)("Original","blocksy"),value:"auto"},{label:(0,t.__)("Square","blocksy"),value:"1"},{label:(0,t.__)("16:9","blocksy"),value:"16/9"},{label:(0,t.__)("4:3","blocksy"),value:"4/3"},{label:(0,t.__)("3:2","blocksy"),value:"3/2"},{label:(0,t.__)("9:16","blocksy"),value:"9/16"},{label:(0,t.__)("3:4","blocksy"),value:"3/4"},{label:(0,t.__)("2:3","blocksy"),value:"2/3"}],onChange:function(e){return u({aspectRatio:e})}})),(0,e.createElement)(p.__experimentalToolsPanelItem,{style:{"grid-column":"span 1 / auto"},hasValue:function(){return!!l},label:(0,t.__)("Width","blocksy"),onDeselect:function(){return u({width:void 0})},resetAllFilter:function(){return{width:void 0}},isShownByDefault:!0,key:r},(0,e.createElement)(p.__experimentalUnitControl,{label:(0,t.__)("Width","blocksy"),labelPosition:"top",value:l||"",min:0,onChange:function(e){return m("width",e)},units:f})),(0,e.createElement)(p.__experimentalToolsPanelItem,{style:{"grid-column":"span 1 / auto"},hasValue:function(){return!!c},label:(0,t.__)("Height","blocksy"),onDeselect:function(){return u({height:void 0})},resetAllFilter:function(){return{height:void 0}},isShownByDefault:!0,key:r},(0,e.createElement)(p.__experimentalUnitControl,{label:(0,t.__)("Height","blocksy"),labelPosition:"top",value:c||"",min:0,onChange:function(e){return m("height",e)},units:f})),!!d.length&&(0,e.createElement)(p.__experimentalToolsPanelItem,{hasValue:function(){return!!s},label:(0,t.__)("Resolution","blocksy"),onDeselect:function(){return u({sizeSlug:void 0})},resetAllFilter:function(){return{sizeSlug:void 0}},isShownByDefault:!1,key:r},(0,e.createElement)(p.SelectControl,{__nextHasNoMarginBottom:!0,label:(0,t.__)("Resolution","blocksy"),value:s||"full",options:d,onChange:function(e){return u({sizeSlug:e})},help:(0,t.__)("Select the size of the source image.","blocksy")})))};function Ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ur(Object(n),!0).forEach((function(t){Gr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wr=function(n){let{fieldDescriptor:r,fieldsDescriptor:i,attributes:a,setAttributes:l,options:c,fieldsChoices:s,clientId:u,taxonomies:d}=n;return(0,e.createElement)(React.Fragment,null,(0,e.createElement)(o.InspectorControls,null,(0,e.createElement)(p.PanelBody,null,(0,e.createElement)(Je.OptionsPanel,{purpose:"gutenberg",onChange:function(e,t){l({[e]:t})},options:$r($r({field:{type:"ct-select",label:(0,t.__)("Content Source","blocksy"),value:"",defaultToFirstItem:!1,choices:s,purpose:"default"}},"wp:terms"===a.field&&d&&d.length>0?{taxonomy:{type:"ct-select",label:(0,t.__)("Taxonomy","blocksy"),value:"",design:"inline",purpose:"default",choices:d.map((function(e){let{name:t,slug:n}=e;return{key:n,value:t}}))}}:{}),c),value:$r($r({},a),i&&i.has_taxonomies_customization?{has_taxonomies_customization:"yes"}:{}),hasRevertButton:!1}),Ir(r)&&"wp:author_avatar"!==a.field&&(0,e.createElement)(Je.OptionsPanel,{purpose:"gutenberg",onChange:function(e,t){l({[e]:t})},options:$r($r({lightbox:{type:"ct-switch",label:(0,t.__)("Expand on click","blocksy"),value:"no"}},"wp:featured_image"===a.field?{videoThumbnail:{type:"ct-switch",label:(0,t.__)("Video Thumbnail","blocksy"),value:"no"}}:{}),{},{image_hover_effect:{label:(0,t.__)("Hover Effect","blocksy"),type:"ct-select",value:"none",view:"text",design:"inline",choices:{none:(0,t.__)("None","blocksy"),"zoom-in":(0,t.__)("Zoom In","blocksy"),"zoom-out":(0,t.__)("Zoom Out","blocksy")}}}),value:a,hasRevertButton:!1})),Ir(r)&&"wp:author_avatar"!==a.field&&(0,e.createElement)(React.Fragment,null,(0,e.createElement)(Vr,{clientId:u,attributes:a,setAttributes:l}),(0,e.createElement)(p.PanelBody,null,(0,e.createElement)(p.TextareaControl,{label:(0,t.__)("Alternative Text","blocksy"),value:a.alt_text||"",onChange:function(e){l({alt_text:e})},help:(0,e.createElement)(React.Fragment,null,(0,e.createElement)(p.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},(0,t.__)("Describe the purpose of the image.","blocksy")),(0,e.createElement)("br",null),(0,t.__)("Leave empty if decorative.","blocksy")),__nextHasNoMarginBottom:!0}))),"wp:author_avatar"===a.field&&(0,e.createElement)(p.PanelBody,null,(0,e.createElement)(p.RangeControl,{__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0,label:(0,t.__)("Image size","blocksy"),onChange:function(e){return l({avatar_size:e})},min:5,max:500,initialPosition:null==a?void 0:a.avatar_size,value:null==a?void 0:a.avatar_size})),!Ir(r)&&(0,e.createElement)(p.PanelBody,null,(0,e.createElement)(Je.OptionsPanel,{purpose:"gutenberg",onChange:function(e,t){l({[e]:t})},options:$r({before:{type:"text",label:(0,t.__)("Before","blocksy"),value:""},after:{type:"text",label:(0,t.__)("After","blocksy"),value:""}},"wp"!==r.provider||"wp"===r.provider&&("excerpt"===r.id||"terms"===r.id||"author"===r.id)?{fallback:{type:"text",label:(0,t.__)("Fallback","blocksy"),value:(0,t.__)("Custom field fallback","blocksy")}}:{}),value:a,hasRevertButton:!1}))),"wp:terms"===a.field&&(0,e.createElement)(o.InspectorControls,{group:"advanced"},(0,e.createElement)(p.TextControl,{__nextHasNoMarginBottom:!0,autoComplete:"off",label:(0,t.__)("Term additional class","blocksy"),value:a.termClass,onChange:function(e){l({termClass:e})},help:(0,t.__)("Additional class for term items. Useful for styling.","blocksy")})))};function qr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qr(Object(n),!0).forEach((function(t){Kr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kr(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Yr=function(t){let{clientId:n,attributes:r,setAttributes:o,context:i}=t;const{postId:a,postType:l}=i,{fieldsDescriptor:c,options:s,fieldsChoices:u}=Hr({postId:a,postType:l}),p=V(l),d=(0,e.useMemo)((function(){if(!r.field||!c)return null;const[e,t]=r.field.split(":"),n=c.fields.find((function(t){let{provider:n}=t;return n===e}));if(!n)return null;const o=n.fields.find((function(e){let{id:n}=e;return n===t}));return o?Zr(Zr({},o),{},{provider:n.provider}):null}),[r.field,c]);return(0,e.useEffect)((function(){"wp:terms"===r.field&&p&&0===p.length&&o({field:"wp:title"})}),[p,r.field]),d?(0,e.createElement)(React.Fragment,null,(0,e.createElement)(Nr,{fieldDescriptor:d,attributes:r,setAttributes:o}),(0,e.createElement)(jr,{attributes:r,postId:a,postType:l,fieldsDescriptor:c,fieldDescriptor:d}),(0,e.createElement)(Wr,{options:s,fieldDescriptor:d,attributes:r,setAttributes:o,fieldsChoices:u,clientId:n,fieldsDescriptor:c,taxonomies:p})):null},Xr=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"blocksy/dynamic-data","category":"blocksy-blocks","attributes":{"tagName":{"type":"string","default":"div"},"field":{"type":"string","default":"wp:title"},"before":{"type":"string","default":""},"after":{"type":"string","default":""},"fallback":{"type":"string","default":""},"align":{"type":"string"},"imageAlign":{"type":"string"},"aspectRatio":{"type":"string","default":"auto"},"width":{"type":"string"},"height":{"type":"string"},"sizeSlug":{"type":"string"},"alt_text":{"type":"string","default":""},"avatar_size":{"type":"number","default":96},"avatarIsLink":{"type":"boolean","default":false},"avatarLinkTarget":{"type":"string","default":"_self"},"featuredIsLink":{"type":"boolean","default":false},"featuredLinkTarget":{"type":"string","default":"_self"},"taxonomy":{"type":"string","default":""},"lightbox":{"type":"string","default":"no"},"videoThumbnail":{"type":"string","default":"no"},"image_hover_effect":{"type":"string","default":"none"},"termClass":{"type":"string","default":""},"termAccentColor":{"type":"string","default":"yes"}},"supports":{"className":false,"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"margin":false,"padding":false}},"__experimentalBorder":{"color":true,"radius":true,"width":true,"__experimentalDefaultControls":{"color":true,"radius":true,"width":true},"__experimentalSelector":"img, .block-editor-media-placeholder, .wp-block-post-featured-image__overlay","__experimentalSkipSerialization":true},"color":{"gradients":true,"link":true,"__experimentalDefaultControls":{"text":true,"background":true,"link":true}},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalTextDecoration":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true,"__experimentalDefaultControls":{"fontSize":true}}},"usesContext":["postId","postType","queryId"]}');function Jr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jr(Object(n),!0).forEach((function(t){eo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function eo(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const to=(0,Je.getOptionsForBlock)("dynamic-data"),no=(0,Je.getAttributesFromOptions)(to);(0,r.registerBlockType)("blocksy/dynamic-data",Qr(Qr({},Xr),{},{title:(0,t.__)("Dynamic Data","blocksy"),description:(0,t.__)("Insert dynamic data anywhere you might want.","blocksy"),attributes:Qr(Qr({},Xr.attributes),no),icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)("path",{d:"M17.9 10.5c-.1-.3-.4-.4-.7-.4h-3.7V4.6c0-.4-.2-.7-.6-.8h-.2c-.3 0-.5.1-.7.4l-5.7 8.6c-.2.3-.2.6 0 .8 0 .2.3.4.6.4h3.7v5.5c0 .4.2.7.6.8h.2c.3 0 .5-.1.7-.4l5.7-8.6c.2-.2.2-.6.1-.8zm-5.9 7v-4.4c0-.3-.3-.6-.6-.6H7.9l4.1-6v4.4c0 .3.3.6.6.6h3.5l-4.1 6z"}))},edit:function(t){return(0,e.createElement)(Yr,t)},save:function(){return null},__experimentalLabel:function(e){return"wp:title"===e.field?(0,t.__)("Dynamic Title","blocksy"):"wp:excerpt"===e.field?(0,t.__)("Dynamic Excerpt","blocksy"):"wp:date"===e.field?(0,t.__)("Dynamic Post Date","blocksy"):"wp:comments"===e.field?(0,t.__)("Dynamic Comments","blocksy"):"wp:terms"===e.field?(0,t.__)("Dynamic Terms","blocksy"):"wp:author"===e.field?(0,t.__)("Dynamic Author","blocksy"):"wp:featured_image"===e.field?(0,t.__)("Dynamic Featured Image","blocksy"):"wp:author_avatar"===e.field?(0,t.__)("Dynamic Author Avatar","blocksy"):"woo:price"===e.field?(0,t.__)("Dynamic Price","blocksy"):"woo:stock_status"===e.field?(0,t.__)("Dynamic Stock Status","blocksy"):"woo:sku"===e.field?(0,t.__)("Dynamic SKU","blocksy"):"woo:rating"===e.field?(0,t.__)("Dynamic Rating","blocksy"):(0,t.__)("Dynamic Data","blocksy")}}));const ro={inputFontColor:"",customInputFontColor:"",inputFontColorFocus:"",customInputFontColorFocus:"",inputIconColor:"",customInputIconColor:"",inputIconColorFocus:"",customInputIconColorFocus:"",inputBorderColor:"",customInputBorderColor:"",inputBorderColorFocus:"",customInputBorderColorFocus:"",inputBackgroundColor:"",customInputBackgroundColor:"",inputBackgroundColorFocus:"",customInputBackgroundColorFocus:"",buttonBackgroundColor:"",customButtonBackgroundColor:"",buttonBackgroundColorHover:"",customButtonBackgroundColorHover:"",dropdownTextInitialColor:"",customDropdownTextInitialColor:"",dropdownTextHoverColor:"",customDropdownTextHoverColor:"",dropdownBackgroundColor:"",customDropdownBackgroundColor:"",shadowColor:"",customShadowColor:""},oo=$e(ro);function io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ao(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?io(Object(n),!0).forEach((function(t){lo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):io(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function lo(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const co=ao({enable_live_results:"no",live_results_images:"yes",searchBoxHeight:"",searchProductPrice:"no",searchProductStatus:"no",search_box_placeholder:(0,t.__)("Search","blocksy"),taxonomy_filter_label:(0,t.__)("Select category","blocksy"),search_through:{post:!0,page:!0,product:!0,custom:!0},taxonomy_filter_visibility:{desktop:!0,tablet:!0,mobile:!1}},ro);var so=function(t){let{attributes:n,setAttributes:r,buttonStyles:i}=t;const[a,l]=(0,e.useState)(!1),{search_box_button_text:c,search_box_placeholder:s,taxonomy_filter_label:u,buttonPosition:d,has_taxonomy_filter:f,buttonUseText:m}=n,g=(0,e.useRef)({taxonomy:"",icon:""}),h=(0,e.useCallback)((function(e){const t=document.createElement("div");t.innerHTML=e;const n=t.querySelector('[type="search"]');n&&n.setAttribute("placeholder",s);return t.querySelector(".ct-search-box").style="",t.querySelector(".ct-select-taxonomy")&&(g.current=ao(ao({},g.current),{},{taxonomy:t.querySelector(".ct-select-taxonomy").outerHTML})),t.querySelector(".ct-icon")&&(g.current=ao(ao({},g.current),{},{icon:t.querySelector(".ct-icon").outerHTML})),t.innerHTML}),[s,d,i]),{isLoading:b}=Ue("search",ao(ao({},n),co),h);return(0,e.useEffect)((function(){l(!0),setTimeout((function(){l(!1)}),100)}),[n]),b?(0,e.createElement)(p.Spinner,null):(0,e.createElement)("form",{role:"search",method:"get",className:"ct-search-form","data-form-controls":d,"data-taxonomy-filter":"yes"===f?"true":"false","data-submit-button":"yes"===m?"text":"icon","data-updating":a?"yes":"no"},(0,e.createElement)("input",{type:"search",value:s,onChange:function(e){r({search_box_placeholder:e.target.value})},placeholder:"Search",name:"s",autocomplete:"off",title:"Search for...","aria-label":"Search for..."}),(0,e.createElement)("div",{className:"ct-search-form-controls"},"yes"===f?(0,e.createElement)("span",{className:"ct-fake-select-container"},(0,e.createElement)("select",{className:"ct-select-taxonomy"}),(0,e.createElement)(o.RichText,{tagName:"span",className:"ct-fake-select",value:u,placeholder:"Select Category",allowedFormats:[],onChange:function(e){return r({taxonomy_filter_label:e})}})):null,(0,e.createElement)("div",{className:"wp-element-button","data-button":`${d}:${"yes"===m?"text":"icon"}`,"aria-label":"Search button",style:i},"yes"===m?(0,e.createElement)(o.RichText,{tagName:"span",value:c,placeholder:"Search",allowedFormats:[],onChange:function(e){return r({search_box_button_text:e})}}):(0,e.createElement)(e.RawHTML,null,g.current.icon),(0,e.createElement)("span",{className:"ct-ajax-loader"},(0,e.createElement)("svg",{viewBox:"0 0 24 24"},(0,e.createElement)("circle",{cx:"12",cy:"12",r:"10",opacity:"0.2",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"2"}),(0,e.createElement)("path",{d:"m12,2c5.52,0,10,4.48,10,10",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"2"},(0,e.createElement)("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"0.6s",from:"0 12 12",to:"360 12 12",repeatCount:"indefinite"})))))))};const uo=(0,e.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(p.Rect,{x:"4.75",y:"15.25",width:"6.5",height:"9.5",transform:"rotate(-90 4.75 15.25)",stroke:"currentColor",strokeWidth:"1.5",fill:"none"}),(0,e.createElement)(p.Rect,{x:"16",y:"10",width:"4",height:"4",rx:"1",fill:"currentColor"})),po=(0,e.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(p.Rect,{x:"4.75",y:"7.75",width:"14.5",height:"8.5",rx:"1.25",stroke:"currentColor",fill:"none",strokeWidth:"1.5"}),(0,e.createElement)(p.Rect,{x:"8",y:"11",width:"8",height:"2",fill:"currentColor"}));function fo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fo(Object(n),!0).forEach((function(t){go(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function go(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ho=(0,o.withColors)({textColor:"color"},{inputFontColor:"color"},{inputFontColorFocus:"color"},{inputIconColor:"color"},{inputIconColorFocus:"color"},{inputBorderColor:"color"},{inputBorderColorFocus:"color"},{inputBackgroundColor:"color"},{inputBackgroundColorFocus:"color"},{buttonBackgroundColor:"color"},{buttonBackgroundColorHover:"color"},{dropdownTextInitialColor:"color"},{dropdownTextHoverColor:"color"},{dropdownBackgroundColor:"color"},{shadowColor:"color"})((function(n){var r,i;let{attributes:a,setAttributes:l,clientId:c,className:s,inputFontColor:u,setInputFontColor:d,inputFontColorFocus:m,setInputFontColorFocus:g,inputIconColor:h,setInputIconColor:b,inputIconColorFocus:v,setInputIconColorFocus:y,inputBorderColor:w,setInputBorderColor:O,inputBorderColorFocus:_,setInputBorderColorFocus:E,inputBackgroundColor:P,setInputBackgroundColor:C,inputBackgroundColorFocus:k,setInputBackgroundColorFocus:j,buttonBackgroundColor:S,setButtonBackgroundColor:x,buttonBackgroundColorHover:I,setButtonBackgroundColorHover:D,dropdownTextInitialColor:N,setDropdownTextInitialColor:T,dropdownTextHoverColor:A,setDropdownTextHoverColor:R,dropdownBackgroundColor:M,setDropdownBackgroundColor:B,shadowColor:F,setShadowColor:L}=n;const{buttonUseText:z="no",buttonPosition:H,enable_live_results:V}=a,U=null==a||null===(r=a.style)||void 0===r||null===(i=r.border)||void 0===i?void 0:i.radius,$=(0,e.useRef)(),G=(0,o.useBlockProps)({ref:$,className:{"ct-search-box":!0,className:s},style:mo(mo(mo({"--theme-form-text-initial-color":null==u?void 0:u.color,"--theme-form-text-focus-color":null==m?void 0:m.color,"--theme-form-field-border-initial-color":null==w?void 0:w.color,"--theme-form-field-border-focus-color":null==_?void 0:_.color,"--theme-form-field-background-initial-color":null==P?void 0:P.color,"--theme-form-field-background-focus-color":null==k?void 0:k.color},U?{"--theme-form-field-border-radius":`${"string"==typeof U?U:`${U.topLeft} ${U.topRight} ${U.bottomLeft} ${U.bottomRight}`}`}:{}),null!=a&&a.searchBoxHeight?{"--theme-form-field-height":`${a.searchBoxHeight}px`}:{}),"yes"===V?{"--theme-link-initial-color":null==N?void 0:N.color,"--theme-link-hover-color":null==A?void 0:A.color,"--search-dropdown-background":null==M?void 0:M.color,"--search-dropdown-box-shadow-color":null==F?void 0:F.color}:{})});return(0,e.createElement)("div",G,(0,e.createElement)(so,{blockProps:G,attributes:a,setAttributes:l,buttonStyles:mo(mo(mo({},null!=h&&h.color?{"--theme-button-text-initial-color":h.color}:{}),null!=v&&v.color?{"--theme-button-text-hover-color":v.color}:{}),"outside"===H?mo(mo({},null!=S&&S.color?{"--theme-button-background-initial-color":S.color}:{}),null!=I&&I.color?{"--theme-button-background-hover-color":I.color}:{}):{})}),(0,e.createElement)(Qe,{attributes:a,setAttributes:l,options:wo}),(0,e.createElement)(o.BlockControls,null,(0,e.createElement)(p.ToolbarGroup,null,(0,e.createElement)(p.ToolbarButton,{title:(0,t.__)("Button Outside"),icon:uo,onClick:function(){l({buttonPosition:"outside"===H?"inside":"outside"})},className:"outside"===H?"is-pressed":void 0}),(0,e.createElement)(p.ToolbarButton,{title:(0,t.__)("Use button with text"),icon:po,onClick:function(){l({buttonUseText:"no"===z?"yes":"no"})},className:"yes"===z?"is-pressed":void 0}))),(0,e.createElement)(o.InspectorControls,{group:"styles"},(0,e.createElement)(f,{label:(0,t.__)("Input Font Color","blocksy"),resetAll:function(){d(ro.inputFontColor),g(ro.inputFontColorFocus)},panelId:c,settings:[{colorValue:u.color,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return d(e||ro.inputFontColor)}},{colorValue:m.color,label:(0,t.__)("Focus","blocksy"),onColorChange:function(e){return g(e||ro.inputFontColorFocus)}}]}),(0,e.createElement)(f,{label:(0,t.__)("Input Border Color","blocksy"),resetAll:function(){O(ro.inputBorderColor),E(ro.inputBorderColorFocus)},panelId:c,settings:[{colorValue:w.color,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return O(e||ro.inputBorderColor)}},{colorValue:_.color,label:(0,t.__)("Focus","blocksy"),onColorChange:function(e){return E(e||ro.inputBorderColorFocus)}}]}),(0,e.createElement)(f,{label:(0,t.__)("Input Background Color","blocksy"),resetAll:function(){C(ro.inputBackgroundColor),j(ro.inputBackgroundColorFocus)},panelId:c,settings:[{colorValue:P.color,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return C(e||ro.inputBackgroundColor)}},{colorValue:k.color,label:(0,t.__)("Focus","blocksy"),onColorChange:function(e){return j(e||ro.inputBackgroundColorFocus)}}]}),(0,e.createElement)(f,{label:"yes"===z?(0,t.__)("Button Text Color","blocksy"):(0,t.__)("Button Icon Color","blocksy"),resetAll:function(){b(ro.inputIconColor),y(ro.inputIconColorFocus)},panelId:c,settings:[{colorValue:h.color,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return b(e||ro.inputIconColor)}},{colorValue:v.color,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return y(e||ro.inputIconColorFocus)}}]}),"outside"===H?(0,e.createElement)(f,{label:(0,t.__)("Button Background Color","blocksy"),resetAll:function(){x(ro.buttonBackgroundColor),D(ro.buttonBackgroundColorHover)},panelId:c,settings:[{colorValue:S.color,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return x(e||ro.buttonBackgroundColor)}},{colorValue:I.color,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return D(e||ro.buttonBackgroundColorHover)}}]}):null,"yes"===V?(0,e.createElement)(React.Fragment,null,(0,e.createElement)(f,{label:(0,t.__)("Dropdown Text Color","blocksy"),resetAll:function(){T(ro.dropdownTextInitialColor),R(ro.dropdownTextHoverColor)},panelId:c,settings:[{colorValue:N.color,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return T(e||ro.dropdownTextInitialColor)}},{colorValue:A.color,label:(0,t.__)("Hover","blocksy"),onColorChange:function(e){return R(e||ro.dropdownTextHoverColor)}}]}),(0,e.createElement)(f,{label:(0,t.__)("Dropdown Background Color","blocksy"),resetAll:function(){B(ro.dropdownBackgroundColor)},panelId:c,settings:[{colorValue:M.color,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return B(e||ro.dropdownBackgroundColor)}}]}),(0,e.createElement)(f,{label:(0,t.__)("Dropdown Shadow Color","blocksy"),resetAll:function(){L(ro.shadowColor)},panelId:c,settings:[{colorValue:F.color,enableAlpha:!0,label:(0,t.__)("Initial","blocksy"),onColorChange:function(e){return L(e||ro.shadowColor)}}]})):null))}));function bo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bo(Object(n),!0).forEach((function(t){yo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yo(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const wo=He("search"),Oo=ze(wo);(0,r.registerBlockType)("blocksy/search",{apiVersion:3,title:(0,t.__)("Advanced Search","blocksy"),description:(0,t.__)("Insert a search block anywhere on the site.","blocksy"),icon:{src:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"wc-block-editor-components-block-icon"},(0,e.createElement)("path",{d:"m19.7 18.5-3-2.9c1-1.3 1.6-2.8 1.6-4.5 0-3.9-3.2-7.2-7.2-7.2S4 7.2 4 11.2s3.2 7.2 7.2 7.2c1.7 0 3.3-.6 4.5-1.6l3 3c.1.1.3.2.5.2s.4-.1.5-.2c.3-.4.3-1 0-1.3zM5.6 11.2c0-3.1 2.5-5.5 5.5-5.5s5.6 2.4 5.6 5.5-2.5 5.5-5.5 5.5-5.6-2.5-5.6-5.5z"}))},category:"blocksy-blocks",attributes:vo(vo({},Oo),oo),supports:{spacing:{margin:!0,__experimentalDefaultControls:{margin:!0}},__experimentalBorder:{color:!1,radius:!0,width:!1,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!1,radius:!0,width:!1}}},edit:function(t){return(0,e.createElement)(ho,t)},save:function(){return(0,e.createElement)("div",null,"Blocksy: Search Block")}})}()}();
  • blocksy/2.0.33/static/bundle/elementor-woocommerce-frontend.min.css

    r209306 r221847  
    1 .elementor-widget-container .flex-viewport{margin-bottom:20px}.elementor-widget-container .flex-control-thumbs{margin:0 -10px}.elementor-widget-container .flex-control-thumbs li{padding:0 10px 10px 10px}.elementor-widget-container .woocommerce>form.woocommerce-checkout{display:initial}.elementor-add-to-cart--align-justify .quantity[data-type=type-1]{flex:0 0 100px}.elementor-add-to-cart--align-justify .quantity[data-type=type-2]{flex:0 0 130px}.elementor-widget-woocommerce-cart .woocommerce .quantity[data-type] .input-text{text-align:center;max-height:initial}.elementor-widget-woocommerce-cart .woocommerce .quantity[data-type] span{color:var(--quantity-arrows-initial-color, #fff)}.elementor-widget-woocommerce-cart .woocommerce .quantity[data-type] span:hover{color:var(--quantity-arrows-hover-color, #fff)}.woocommerce div.product.elementor .woocommerce-tabs .woocommerce-Tabs-panel.panel{margin:0}@media(max-width: 689.98px){.woocommerce-cart-form table.cart .actions .coupon{flex-direction:column !important}}
     1.elementor-widget-container .flex-viewport{margin-bottom:20px}.elementor-widget-container .flex-control-thumbs{margin:0 -10px}.elementor-widget-container .flex-control-thumbs li{padding:0 10px 10px 10px}.elementor-add-to-cart--align-justify .quantity[data-type=type-1]{flex:0 0 100px}.elementor-add-to-cart--align-justify .quantity[data-type=type-2]{flex:0 0 130px}.elementor-widget-woocommerce-cart .woocommerce .quantity[data-type] .input-text{text-align:center;max-height:initial}.elementor-widget-woocommerce-cart .woocommerce .quantity[data-type] span{color:var(--quantity-arrows-initial-color, #fff)}.elementor-widget-woocommerce-cart .woocommerce .quantity[data-type] span:hover{color:var(--quantity-arrows-hover-color, #fff)}.woocommerce div.product.elementor .woocommerce-tabs .woocommerce-Tabs-panel.panel{margin:0}@media(max-width: 689.98px){.woocommerce-cart-form table.cart .actions .coupon{flex-direction:column !important}}
  • blocksy/2.0.33/static/bundle/woocommerce.min.css

    r221001 r221847  
    1 @font-face{font-family:"woo";src:url("../fonts/woo.woff2") format("woff2");font-weight:normal;font-style:normal;font-display:swap}.price,.ct-product-sku{color:var(--theme-text-color)}.sale-price{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;column-gap:5px}.sale-price del{order:2;font-size:80%}.clear{clear:both}.woo-listing-top{display:flex;align-items:center}.woo-listing-top:not(:empty){margin-bottom:25px}@media(max-width: 479.98px){.woo-listing-top{flex-direction:column;align-items:center}}.woo-listing-top .woocommerce-notices-wrapper{display:none}.woocommerce-result-count{font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase}@media(min-width: 480px){.woocommerce-result-count{margin-bottom:0}}@media(min-width: 480px){.woocommerce-ordering{margin-inline-start:auto}}.woocommerce-ordering select{--theme-form-font-size: 14px;--theme-form-field-height: 40px}.onsale,.out-of-stock-badge,[class*=ct-woo-badge-]{display:inline-flex;align-items:center;justify-content:center;z-index:1;position:var(--has-container, absolute);top:var(--has-container, var(--badge-top, 15px));inset-inline-start:var(--has-container, var(--badge-left, 15px));height:var(--badge-height, 28px);min-width:var(--badge-min-width, 55px);border-radius:var(--badge-radius, 0px);padding:var(--badge-padding, 5px 10px);font-size:var(--badge-font-size, 12px);line-height:var(--badge-line-height, 0);font-weight:600;text-align:center;color:var(--badge-text-color, #fff);background-color:var(--badge-background-color, var(--theme-palette-color-1))}.onsale[data-shape=type-2],.out-of-stock-badge[data-shape=type-2],[class*=ct-woo-badge-][data-shape=type-2]{--badge-radius: 3px}.onsale[data-shape=type-3],.out-of-stock-badge[data-shape=type-3],[class*=ct-woo-badge-][data-shape=type-3]{--badge-font-size: 10px;--badge-line-height: 1.2;--badge-radius: 200px;--badge-height: 48px;--badge-min-width: auto;--badge-padding: 5px 7px;aspect-ratio:1/1}.product-entry-wrapper{--badge-top: 20px;--badge-left: 20px}@media(max-width: 689.98px){.thumbs-left .product-entry-wrapper{--badge-left: 20px}}@media(min-width: 690px){.thumbs-left .product-entry-wrapper{--badge-left: calc(var(--thumbs-width) + var(--thumbs-spacing, 15px) + 20px)}}table.shop_table{margin-bottom:2em;--theme-table-padding: 1em 0.7em;--theme-table-border-width: 0;--theme-table-font-size: 15px}table.shop_table tr{--theme-table-border-width: 0 0 1px 0;--theme-table-border-style: dashed}table.shop_table tr>*:first-child{padding-inline-start:0}table.shop_table tr>*:last-child{padding-inline-end:0}table.shop_table th{vertical-align:top;text-align:initial}table.shop_table thead th{--theme-table-border-width: 0 0 2px 0;--theme-table-border-style: solid;color:var(--theme-headings-color)}table.shop_table tfoot td{font-weight:600}table.shop_table a{font-weight:500;--theme-link-initial-color: var(--theme-text-color)}table.shop_table ul:last-child,table.shop_table ol:last-child{margin-bottom:0}.shop_table tfoot tr:last-child,.cart_totals table tr:last-child,.woocommerce-cart-form__contents tbody tr:last-child{--theme-table-border-width: 0}@media(max-width: 689.98px){table.shop_table_responsive{--theme-table-padding: 1em 0}table.shop_table_responsive thead{display:none}table.shop_table_responsive tbody th{display:none}table.shop_table_responsive tbody td{display:block;text-align:right}table.shop_table_responsive tbody td[data-title]:before{content:attr(data-title) ": ";display:table;float:left;font-size:14px;font-weight:600}table.shop_table_responsive tbody td.order-actions:before{display:none}table.my_account_orders tbody tr:not(:last-child) td:last-child{--theme-table-border-style: solid;--theme-table-border-width: 0 0 2px 0}}.woocommerce-shipping-totals{--theme-table-text-align: start}.woocommerce-shipping-totals th{display:none}.woocommerce-shipping-totals td{padding-inline-start:0}.woocommerce-shipping-totals td:before{content:attr(data-title);display:block;font-weight:600;text-align:initial;margin-bottom:15px}.woocommerce-shipping-totals form button{width:100%}.woocommerce-shipping-totals p:last-of-type{margin-bottom:0}ul#shipping_method{clear:both;list-style:none;padding-inline-start:0}ul#shipping_method li:not(:last-child){margin-bottom:10px}[class*=add_to_cart_button].loading{position:relative;gap:.5em}[class*=add_to_cart_button].loading:after{content:"";width:16px;height:16px;background-color:currentColor;animation:spin 1s linear infinite;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' opacity='0.2' fill='none' stroke='currentColor' stroke-miterlimit='10' stroke-width='2.5'/%3E%3Cpath d='m12,2c5.52,0,10,4.48,10,10' fill='none' stroke='currentColor' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5'/%3E%3C/svg%3E") center no-repeat}span.select2-container .select2-selection--single,span.select2-container .select2-selection--multiple{border-radius:var(--has-classic-forms, var(--theme-form-field-border-radius, 3px));background-color:var(--has-classic-forms, var(--theme-form-field-background-initial-color));border:var(--theme-form-field-border-width, 1px) var(--theme-form-field-border-style, solid) var(--theme-form-field-border-initial-color)}span.select2-container .select2-selection--single .select2-selection__rendered,span.select2-container .select2-selection--multiple .select2-selection__rendered{display:flex;flex-wrap:wrap;align-items:center;font-size:var(--theme-form-font-size, 15px);color:var(--theme-form-text-initial-color, var(--theme-text-color));padding:var(--has-classic-forms, var(--theme-form-field-padding, 0 12px))}span.select2-container .select2-selection--single{height:var(--theme-form-field-height, 40px)}span.select2-container .select2-selection--single .select2-selection__rendered{height:100%}span.select2-container .select2-selection--single .select2-selection__arrow{inset-inline-end:8px;height:calc(var(--theme-form-field-height, 40px) - 2px)}span.select2-container .select2-selection--single .select2-selection__arrow b{border-top-color:var(--theme-form-text-initial-color, var(--theme-text-color))}span.select2-container .select2-selection--multiple .select2-selection__rendered{min-height:var(--theme-form-field-height, 40px);gap:4px;padding-block:6px}span.select2-container .select2-selection--multiple .select2-selection__rendered .select2-selection__choice{margin:0;font-size:14px;line-height:1.5}span.select2-container .select2-selection--multiple .select2-selection__rendered .select2-search__field{margin:0;height:auto}span.select2-container.select2-container--open .select2-selection--single,span.select2-container.select2-container--open .select2-selection--multiple{background-color:var(--has-classic-forms, var(--theme-form-select-background-initial-color, #fff))}span.select2-container.select2-container--open .select2-selection--single .select2-selection__arrow b,span.select2-container.select2-container--open .select2-selection--multiple .select2-selection__arrow b{border-bottom-color:var(--theme-form-text-initial-color, var(--theme-text-color))}span.select2-dropdown{color:var(--form-field-select-initial-color, var(--theme-text-color));font-size:var(--theme-form-font-size, 15px);background-color:var(--theme-form-select-background-initial-color, #fff);border-radius:var(--has-classic-forms, var(--theme-form-field-border-radius, 3px));border:var(--theme-form-field-border-width, 1px) var(--theme-form-field-border-style, solid) var(--theme-form-field-border-initial-color)}span.select2-dropdown.select2-dropdown--below{box-shadow:0px 15px 30px -5px rgba(0,0,0,.05)}span.select2-dropdown .select2-search--dropdown{padding:12px}span.select2-dropdown .select2-search--dropdown .select2-search__field{height:35px;padding:var(--has-classic-forms, 0 10px);border-radius:var(--has-classic-forms, 2px);border:var(--theme-form-field-border-width, 1px) solid var(--theme-form-field-border-initial-color)}span.select2-dropdown .select2-search--dropdown .select2-search__field:focus{border-color:var(--theme-form-select-background-active-color, var(--theme-palette-color-1))}span.select2-dropdown .select2-results__option{margin:0;padding:8px 12px}span.select2-dropdown .select2-results__option[aria-selected=true],span.select2-dropdown .select2-results__option[data-selected=true]{background-color:rgba(0,0,0,.03)}span.select2-dropdown .select2-results__option.select2-results__option--highlighted[aria-selected],span.select2-dropdown .select2-results__option.select2-results__option--highlighted[data-selected]{color:var(--form-field-select-active-color, #fff);background-color:var(--theme-form-select-background-active-color, var(--theme-palette-color-1))}.form-row label{display:block;font-weight:500}.form-row .required{color:red;font-weight:700;text-decoration:none}.form-row textarea{display:block}.form-row select{width:100%}.form-row:before,.form-row:after{content:"";display:table}.form-row:after{clear:both}.form-row-wide{clear:both}@media(min-width: 690px){.form-row-first,.form-row-last{width:48%;overflow:visible}.form-row-first{float:left}.form-row-last{float:right}}.demo_store{font-size:15px;color:var(--theme-text-color);margin:0;padding-block:13px;padding-inline:30px 60px;background-color:var(--background-color)}.demo_store:before{display:inline-block;font-family:"woo";font-size:17px;font-weight:700;content:"";margin-inline-end:15px}@media(max-width: 689.98px){.demo_store:before{display:none !important}}.demo_store .woocommerce-store-notice__dismiss-link{position:absolute;top:calc(50% - 15px);inset-inline-end:30px;width:30px;height:30px;font-size:0;border-radius:100%;background:rgba(0,0,0,.07)}.demo_store .woocommerce-store-notice__dismiss-link:before{display:flex;align-items:center;justify-content:center;content:"×";font-size:17px;color:var(--theme-text-color)}.demo_store .woocommerce-store-notice__dismiss-link:hover{background:rgba(0,0,0,.1)}.demo_store[data-position=top]{position:relative}.demo_store[data-position=bottom]{position:fixed;z-index:120;inset-inline:var(--theme-frame-size, 0px);bottom:var(--theme-frame-size, 0px)}.woocommerce-order h2{font-size:18px}.woocommerce-order p{font-size:15px}.woocommerce-thankyou-order-details{position:relative;list-style:none;padding:0;margin-bottom:.5em;border:1px solid var(--theme-border-color)}@media(min-width: 690px){.woocommerce-thankyou-order-details{display:grid;grid-template-columns:repeat(2, 1fr)}}.woocommerce-thankyou-order-details li{padding:1em 1.3em;margin-bottom:-1px;border-bottom:1px solid var(--theme-border-color)}@media(min-width: 690px){.woocommerce-thankyou-order-details li:nth-child(odd){border-inline-end:1px solid var(--theme-border-color)}}.woocommerce-thankyou-order-details li strong{display:block}.woocommerce-customer-details{margin-top:2em}.woocommerce-customer-details .col2-set{display:grid}@media(max-width: 689.98px){.woocommerce-customer-details .col2-set{grid-row-gap:2em}}@media(min-width: 690px){.woocommerce-customer-details .col2-set{grid-template-columns:repeat(2, 1fr);grid-column-gap:30px}}.woocommerce-customer-details address{font-size:15px;padding:1.5em;border-radius:5px;border:1px dashed var(--theme-border-color)}.woocommerce-customer-details address p:last-child{margin-bottom:0}.wc-item-meta{margin-top:5px}.wc-item-meta li p{display:inline-block;margin-bottom:0}[class*=ct-dynamic-count]{display:flex;align-items:center;justify-content:center;position:absolute;z-index:1;top:-9px;inset-inline-end:-9px;min-width:16px;cursor:pointer;height:16px;padding:0 3px;font-size:10px;font-weight:600;font-style:normal;border-radius:10px;color:var(--theme-cart-badge-text, #fff);background:var(--theme-cart-badge-background, var(--theme-palette-color-1))}[class*=ct-dynamic-count][data-count="0"]{display:none}@media(prefers-reduced-motion: no-preference){a.ct-added [class*=ct-dynamic-count]{animation:.6s ease-in-out .12s normal both 1 bounce-in}}.ct-header-cart [data-price=no] .amount{display:none}#offcanvas .ct-header-cart .ct-cart-item{width:100%}#offcanvas .ct-header-cart .ct-cart-content{display:none}.ct-header-wishlist .ct-label{line-height:normal}.woocommerce-page .wc-block-components-notice-banner{margin:0 0 2rem 0}.woocommerce-page .wc-block-components-notice-banner:is(.is-info,.is-error,.is-success){border:none;color:var(--theme-text-color);background-color:var(--background-color)}.woocommerce-page .wc-block-components-notice-banner:is(.is-info,.is-error,.is-success) svg{fill:var(--theme-button-text-initial-color);background-color:var(--theme-button-background-initial-color)}.woocommerce-page .wc-block-components-notice-banner .wc-block-components-notice-banner__content .wc-forward{color:inherit !important;line-height:unset;font-weight:unset;text-decoration-line:unset;margin-inline-end:5px;padding:unset;min-height:unset;background-color:unset}.woocommerce-info,.woocommerce-error,.woocommerce-message,.woocommerce-thankyou-order-received{display:flex;position:relative;font-size:15px;color:var(--theme-text-color);padding:10px;min-height:65px;clear:both;border-radius:5px;margin-bottom:2rem;background:var(--background-color);--theme-link-initial-color: var(--theme-text-color)}@media(max-width: 479.98px){.woocommerce-info,.woocommerce-error,.woocommerce-message,.woocommerce-thankyou-order-received{align-items:flex-start;flex-direction:column;padding:15px}}@media(min-width: 480px){.woocommerce-info,.woocommerce-error,.woocommerce-message,.woocommerce-thankyou-order-received{align-items:center;padding-inline-start:55px}}.woocommerce-info li,.woocommerce-error li,.woocommerce-message li,.woocommerce-thankyou-order-received li{width:100%;margin-bottom:.3em}.woocommerce-info .button,.woocommerce-info .showlogin,.woocommerce-info .restore-item,.woocommerce-error .button,.woocommerce-error .showlogin,.woocommerce-error .restore-item,.woocommerce-message .button,.woocommerce-message .showlogin,.woocommerce-message .restore-item,.woocommerce-thankyou-order-received .button,.woocommerce-thankyou-order-received .showlogin,.woocommerce-thankyou-order-received .restore-item{order:2;--theme-button-font-size: 14px;--theme-button-min-height: 45px;--theme-button-padding: 5px 20px}@media(max-width: 479.98px){.woocommerce-info .button,.woocommerce-info .showlogin,.woocommerce-info .restore-item,.woocommerce-error .button,.woocommerce-error .showlogin,.woocommerce-error .restore-item,.woocommerce-message .button,.woocommerce-message .showlogin,.woocommerce-message .restore-item,.woocommerce-thankyou-order-received .button,.woocommerce-thankyou-order-received .showlogin,.woocommerce-thankyou-order-received .restore-item{margin-top:10px !important}}@media(min-width: 480px){.woocommerce-info .button,.woocommerce-info .showlogin,.woocommerce-info .restore-item,.woocommerce-error .button,.woocommerce-error .showlogin,.woocommerce-error .restore-item,.woocommerce-message .button,.woocommerce-message .showlogin,.woocommerce-message .restore-item,.woocommerce-thankyou-order-received .button,.woocommerce-thankyou-order-received .showlogin,.woocommerce-thankyou-order-received .restore-item{margin-inline-start:auto !important}}.woocommerce-info:before,.woocommerce-error:before,.woocommerce-message:before,.woocommerce-thankyou-order-received:before{position:absolute;width:18px;height:18px;font-family:"woo";content:"";font-size:18px;line-height:18px;opacity:.9}@media(max-width: 479.98px){.woocommerce-info:before,.woocommerce-error:before,.woocommerce-message:before,.woocommerce-thankyou-order-received:before{display:none}}@media(min-width: 480px){.woocommerce-info:before,.woocommerce-error:before,.woocommerce-message:before,.woocommerce-thankyou-order-received:before{top:23px;inset-inline-start:20px}}.woocommerce-info:after,.woocommerce-error:after,.woocommerce-message:after,.woocommerce-thankyou-order-received:after{display:table;content:"";clear:both}.woocommerce ul.woocommerce-error{flex-direction:column;justify-content:center;margin-bottom:2rem}.woocommerce ul.woocommerce-error li{display:flex;align-items:center;flex-wrap:wrap;gap:.3em}div.quantity{position:relative;display:inline-block;width:var(--quantity-width, 70px);height:var(--quantity-height, 55px)}div.quantity input[type=number]{font-weight:500;text-align:center;max-width:initial;height:inherit;border-radius:var(--theme-form-field-border-radius, 3px) !important;--theme-form-font-size: 0.9em;--theme-form-field-height: 100%;--theme-form-field-border-style: solid;--theme-form-field-border-initial-color: var(--quantity-initial-color, var(--theme-button-background-initial-color));--theme-form-field-background-initial-color: transparent}div.quantity[data-type] input[type=number]{-moz-appearance:textfield}div.quantity[data-type] input[type=number]::-webkit-inner-spin-button,div.quantity[data-type] input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}div.quantity .ct-increase,div.quantity .ct-decrease{display:flex;align-items:center;justify-content:center;position:absolute;z-index:1;cursor:pointer;-webkit-user-select:none;user-select:none;color:var(--quantity-arrows-initial-color, #fff);background:var(--quantity-initial-color, var(--theme-button-background-initial-color));transition:all .12s cubic-bezier(0.455, 0.03, 0.515, 0.955)}div.quantity .ct-increase:before,div.quantity .ct-decrease:before{font-family:"woo";font-weight:normal;line-height:normal}div.quantity .ct-increase:hover,div.quantity .ct-decrease:hover{color:var(--quantity-arrows-hover-color, #fff);background:var(--quantity-hover-color, var(--theme-button-background-hover-color))}div.quantity .ct-increase~input[type=number]:focus,div.quantity .ct-decrease~input[type=number]:focus{border-color:var(--quantity-initial-color, var(--theme-button-background-initial-color));box-shadow:0 0 0 1px var(--quantity-initial-color, var(--theme-button-background-initial-color))}div.quantity.hidden{display:none}.quantity[data-type=type-1]{width:var(--quantity-width, 100px)}.quantity[data-type=type-1] input[type=number]{padding-block:0px;padding-inline-start:5px;padding-inline-end:calc(25% + 3px);border-width:1px;border-inline-end-width:0}.quantity[data-type=type-1] .ct-increase,.quantity[data-type=type-1] .ct-decrease{inset-inline-end:0;border-radius:0;width:25%;max-width:25px}.quantity[data-type=type-1] .ct-increase:before,.quantity[data-type=type-1] .ct-decrease:before{content:"";font-size:calc(var(--quantity-height, 55px)/6.7)}.quantity[data-type=type-1] .ct-increase{top:0;height:calc(50% - 1px);border-start-end-radius:var(--theme-form-field-border-radius, 3px)}.quantity[data-type=type-1] .ct-decrease{bottom:0;height:50%;border-end-end-radius:var(--theme-form-field-border-radius, 3px)}.quantity[data-type=type-1] .ct-decrease:before{transform:scale(1, -1)}.quantity[data-type=type-2]{width:var(--quantity-width, 130px)}.quantity[data-type=type-2] input[type=number]{border-width:1px;padding-block:0px;padding-inline:calc(var(--quantity-height, 55px)/1.8 + 9%)}.quantity[data-type=type-2] .ct-increase,.quantity[data-type=type-2] .ct-decrease{top:calc(50% - var(--quantity-height, 55px)/3.6);width:calc(var(--quantity-height, 55px)/1.8);height:calc(var(--quantity-height, 55px)/1.8);border-radius:var(--theme-form-field-border-radius, 3px);--quantity-initial-color: transparent}.quantity[data-type=type-2] .ct-increase:before,.quantity[data-type=type-2] .ct-decrease:before{margin-top:2px;font-size:calc(var(--quantity-height, 55px)/5.5)}.quantity[data-type=type-2] .ct-increase{inset-inline-end:9%}.quantity[data-type=type-2] .ct-increase:before{content:""}.quantity[data-type=type-2] .ct-decrease{inset-inline-start:9%}.quantity[data-type=type-2] .ct-decrease:before{content:""}@media(max-width: 479.98px){.cart_item .product-mobile-actions .quantity[data-type=type-2],.mini_cart_item .ct-product-actions .quantity[data-type=type-2],table.shop_table .ct-checkout-cart-item .quantity[data-type=type-2]{--quantity-width: 80px;--quantity-height: 38px}}.shop_table .quantity{font-size:14px;--quantity-height: 40px}.shop_table .quantity[data-type=type-1]{--quantity-width: 70px}.shop_table .quantity[data-type=type-2]{--quantity-width: 100px}.wc-block-components-combobox input,.wc-block-components-text-input input{height:initial}.cart_totals.processing>*,.ct-cart-content.processing>*,.woocommerce-checkout.processing>*,.woocommerce-cart-form.processing>*,.woocommerce-mini-cart-item.processing>*{pointer-events:none;opacity:.2;transition:opacity .25s ease}.cart_totals .blockUI,.ct-cart-content .blockUI,.woocommerce-checkout .blockUI,.woocommerce-cart-form .blockUI,.woocommerce-mini-cart-item .blockUI{background:rgba(0,0,0,0) !important}.cart_totals .blockOverlay,.woocommerce-checkout .blockOverlay,.woocommerce-cart-form .blockOverlay{opacity:1 !important}.cart_totals .blockOverlay:before,.woocommerce-checkout .blockOverlay:before,.woocommerce-cart-form .blockOverlay:before{content:"";position:absolute;inset:0;width:var(--overlay-loader-size, 23px);height:var(--overlay-loader-size, 23px);margin:auto;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 40 40'%3E%3Cpath opacity='.2' fill='currentColor' d='M20.201 5.169c-8.254 0-14.946 6.692-14.946 14.946 0 8.255 6.692 14.946 14.946 14.946s14.946-6.691 14.946-14.946c-.001-8.254-6.692-14.946-14.946-14.946zm0 26.58c-6.425 0-11.634-5.208-11.634-11.634 0-6.425 5.209-11.634 11.634-11.634 6.425 0 11.633 5.209 11.633 11.634 0 6.426-5.208 11.634-11.633 11.634z'%3E%3C/path%3E%3Cpath fill='currentColor' d='m26.013 10.047 1.654-2.866a14.855 14.855 0 0 0-7.466-2.012v3.312c2.119 0 4.1.576 5.812 1.566z'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 20 20' to='360 20 20' dur='0.5s' repeatCount='indefinite'%3E%3C/animateTransform%3E%3C/path%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 40 40'%3E%3Cpath opacity='.2' fill='currentColor' d='M20.201 5.169c-8.254 0-14.946 6.692-14.946 14.946 0 8.255 6.692 14.946 14.946 14.946s14.946-6.691 14.946-14.946c-.001-8.254-6.692-14.946-14.946-14.946zm0 26.58c-6.425 0-11.634-5.208-11.634-11.634 0-6.425 5.209-11.634 11.634-11.634 6.425 0 11.633 5.209 11.633 11.634 0 6.426-5.208 11.634-11.633 11.634z'%3E%3C/path%3E%3Cpath fill='currentColor' d='m26.013 10.047 1.654-2.866a14.855 14.855 0 0 0-7.466-2.012v3.312c2.119 0 4.1.576 5.812 1.566z'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 20 20' to='360 20 20' dur='0.5s' repeatCount='indefinite'%3E%3C/animateTransform%3E%3C/path%3E%3C/svg%3E")}.woocommerce-checkout>.blockOverlay{position:fixed !important}.woocommerce-password-strength{font-size:13px;font-weight:500;padding:4px 12px;margin-top:.5em}.woocommerce-password-strength.strong{background-color:#c1e1b9}.woocommerce-password-strength.good{background-color:#ffe399}.woocommerce-password-strength.short{background-color:#f1adad}.woocommerce-password-strength.bad{background-color:#fbc5a9}.woocommerce-password-hint{display:block;margin-top:.5em}[data-products]{display:grid;grid-template-columns:var(--shop-columns);grid-column-gap:var(--grid-columns-gap, 30px);grid-row-gap:var(--grid-rows-gap, 30px)}@media(min-width: 1000px){[data-products].columns-2{--shop-columns: repeat(2, minmax(0, 1fr))}[data-products].columns-3{--shop-columns: repeat(3, minmax(0, 1fr))}[data-products].columns-4{--shop-columns: repeat(4, minmax(0, 1fr))}[data-products].columns-5{--shop-columns: repeat(5, minmax(0, 1fr))}[data-products].columns-6{--shop-columns: repeat(6, minmax(0, 1fr))}}[data-products] .product{display:flex;flex-direction:column;align-items:var(--horizontal-alignment);text-align:var(--text-horizontal-alignment);position:relative}[data-products] .product>*{margin-bottom:var(--product-element-spacing, 10px)}[data-products] .product>*:last-child{margin-bottom:0}[data-products] figure{display:flex;flex-direction:column;position:relative;width:100%}[data-products] .ct-media-container{border-radius:var(--theme-border-radius)}[data-products] .woocommerce-loop-product__title,[data-products] .woocommerce-loop-category__title{--theme-content-spacing: 0;--theme-link-initial-color: initial}[data-products] .price{--theme-font-size: 15px}[data-products] .ct-woo-card-extra,[data-products] .ct-woo-card-actions{--theme-icon-size: 14px;--theme-icon-color: currentColor;--theme-button-shadow: none;--theme-button-transform: none}[data-products] .ct-woo-card-extra{position:absolute;z-index:2;--theme-button-border: none}[data-products] .ct-woo-card-actions{margin-top:auto}[data-products] .add_to_cart_button.added{display:none}[data-products=type-2] .product{position:relative;display:flex;flex-direction:column;overflow:hidden;padding-inline:20px;padding-bottom:20px;box-shadow:var(--theme-box-shadow);border-radius:var(--theme-border-radius);background:var(--backgroundColor, var(--theme-palette-color-8));--horizontal-alignment: center;--text-horizontal-alignment: center}[data-products=type-2] .ct-media-container{border-radius:0}[data-products=type-2] figure,[data-products=type-2] .ct-woo-card-actions{width:calc(100% + 40px);margin-inline:-20px}[data-products=type-2] .ct-woo-card-actions{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;align-items:center;border-block:1px solid rgba(0,0,0,.05)}[data-products=type-2] .ct-woo-card-actions:first-child{border-top:0}[data-products=type-2] .ct-woo-card-actions:last-child{border-bottom:none;margin-bottom:-20px}[data-products=type-2] .ct-woo-card-actions>*{padding:5px;min-height:55px}[data-products=type-2] .ct-woo-card-actions .price{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;column-gap:5px}[data-products=type-2] .ct-woo-card-actions .price:not(:only-child):after{position:absolute;content:"";inset-inline-end:0;width:1px;height:30px;top:calc(50% - 15px);background:rgba(0,0,0,.05)}[data-products=type-2] .ct-woo-card-actions .button{border:none;background-color:rgba(0,0,0,0)}@media(any-hover: hover){[data-products=type-3] .product:hover .ct-woo-card-extra{opacity:1;bottom:15px}}.ct-woo-card-extra[data-type=type-2]{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;inset-inline:15px}@media(any-hover: hover){.ct-woo-card-extra[data-type=type-2]{opacity:0;bottom:0px;transition:opacity .15s ease,bottom .15s ease}}@media(any-hover: none){.ct-woo-card-extra[data-type=type-2]{bottom:15px}}.ct-woo-card-extra[data-type=type-2] a{justify-content:center;padding:5px;border-radius:0;min-height:50px}.ct-woo-card-extra[data-type=type-2] a.loading svg{display:none}.ct-woo-card-extra[data-type=type-2] a.added_to_cart,.ct-woo-card-extra[data-type=type-2] a[data-button-state=active]{color:var(--theme-button-text-hover-color)}.ct-woo-card-extra[data-type=type-2] a .ct-tooltip{transform:translate3d(0px, -45px, 0px)}@media(any-hover: hover){.ct-woo-card-extra[data-type=type-2] a:hover .ct-tooltip{opacity:1;visibility:visible;transform:translate3d(0px, -50px, 0px)}}.ct-media-container .zoomImg{z-index:2;cursor:default;object-fit:initial;object-position:initial;transition:opacity .1s ease !important;background:var(--zoom-image-background, #fff)}.woocommerce-product-gallery__trigger{position:absolute;top:20px;inset-inline-end:20px;z-index:9;width:39px;height:39px;text-indent:-9999px;border-radius:100%;color:var(--lightbox-button-icon-color, var(--theme-text-color));background:var(--lightbox-button-background-color, #fff)}.woocommerce-product-gallery__trigger:hover{color:var(--lightbox-button-icon-hover-color, #fff);background:var(--lightbox-button-hover-background-color, var(--theme-palette-color-1))}.woocommerce-product-gallery__trigger:before{position:absolute;inset:0;content:"";background-color:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 39 39'%3E%3Cpath d='M27.1,26.5l-0.6-0.6c0,0,0,0,0,0l-1.6-1.6c1.1-1.2,1.8-2.8,1.9-4.5c0.3-4.1-2.8-7.8-6.9-8.1c-4.1-0.3-7.8,2.8-8.1,6.9 c-0.3,4.1,2.8,7.8,6.9,8.1c1.7,0.1,3.3-0.3,4.7-1.2l1.7,1.6c0,0,0,0,0,0l0.6,0.6c0.2,0.2,0.4,0.3,0.6,0.3c0,0,0,0,0.1,0 c0.3,0,0.5-0.1,0.6-0.3c0.2-0.2,0.3-0.4,0.3-0.6C27.4,26.9,27.3,26.7,27.1,26.5z M23,23.5c-1.1,1-2.6,1.5-4.1,1.4 c-1.5-0.1-2.9-0.8-3.9-2c-1-1.1-1.5-2.6-1.4-4.1c0.1-1.5,0.8-2.9,2-3.9c1-0.9,2.3-1.4,3.7-1.4c0.1,0,0.3,0,0.4,0 c1.5,0.1,2.9,0.8,3.9,2c1,1.1,1.5,2.6,1.4,4.1C24.9,21.2,24.2,22.5,23,23.5z'/%3E%3C/svg%3E")}.woocommerce .pswp__bg,.woocommerce-page .pswp__bg{opacity:.7 !important}.ct-lightbox-video-container{position:absolute;top:50%;inset-inline:10%;margin:auto;max-width:150vh;aspect-ratio:16/9;transform:translateY(-50%)}.ct-lightbox-video-container video,.ct-lightbox-video-container iframe{position:absolute;inset:0;width:100%;height:100%;background:#000}.product[class*=gallery] .entry-summary-items>*{margin-bottom:var(--product-element-spacing, 10px)}.product[class*=gallery] .entry-summary-items>*:last-child{margin-bottom:0}.ct-quick-view-card .product_meta>span,.product[class*=gallery] .product_meta>span{font-size:13px;letter-spacing:.05em;text-transform:uppercase;font-weight:700;display:block}.ct-quick-view-card .product_meta>span:not(:last-child),.product[class*=gallery] .product_meta>span:not(:last-child){margin-bottom:5px}.ct-quick-view-card .product_meta>span>*,.product[class*=gallery] .product_meta>span>*{opacity:.7;font-weight:500;--theme-link-initial-color: var(--theme-text-color)}.ct-quick-view-card .product_meta>span>a:hover,.product[class*=gallery] .product_meta>span>a:hover{opacity:1}.woocommerce-product-rating{display:flex;align-items:center}.woocommerce-product-rating .woocommerce-review-link{margin-inline-start:10px;font-size:12px;--theme-link-initial-color: var(--theme-text-color)}.comment-form-rating{display:flex;align-items:center}.comment-form-rating label{margin-bottom:0;font-size:12px;font-weight:500;text-transform:uppercase}.comment-form-rating .stars{color:var(--star-rating-initial-color, #fda256);font-size:.9em}.comment-form-rating .stars span{display:flex}.comment-form-rating .stars a{position:relative;display:inline-block;width:1em;height:1em;text-indent:-999em;text-decoration:none;color:currentColor;margin-inline-start:8px}.comment-form-rating .stars a:before{position:absolute;display:block;top:0;left:0;width:1em;height:1em;font-family:"star";content:"s";line-height:1;text-indent:0}.comment-form-rating .stars a:hover~a:before{content:"s"}.comment-form-rating .stars:hover a:before{content:"S"}.comment-form-rating .stars.selected a.active:before{content:"S"}.comment-form-rating .stars.selected a.active~a:before{content:"s"}.comment-form-rating .stars.selected a:not(.active):before{content:"S"}@media(min-width: 1000px){.ct-order-review,.sticky-summary .entry-summary,.sticky-gallery .woocommerce-product-gallery{align-self:flex-start;position:sticky;top:calc(50px + var(--admin-bar, 0px) + var(--header-sticky-height, 0px)*var(--sticky-shrink, 100)/100)}}.woocommerce-product-gallery{transition:opacity .3s ease}.woocommerce-product-gallery[data-state=loading]{opacity:.3}.woocommerce-product-gallery .ct-media-container{display:flex}@media(min-width: 1000px){.ct-default-gallery .product-entry-wrapper,.ct-stacked-gallery .product-entry-wrapper{display:flex}}@media(min-width: 690px)and (max-width: 999.98px){.ct-default-gallery .woocommerce-product-gallery,.ct-stacked-gallery .woocommerce-product-gallery{width:100%}}@media(min-width: 1000px){.ct-default-gallery .woocommerce-product-gallery,.ct-stacked-gallery .woocommerce-product-gallery{width:var(--product-gallery-width, 50%)}}@media(min-width: 690px)and (max-width: 999.98px){.ct-default-gallery .entry-summary,.ct-stacked-gallery .entry-summary{width:100%}}@media(min-width: 1000px){.ct-default-gallery .entry-summary,.ct-stacked-gallery .entry-summary{margin-inline-start:40px;width:calc(100% - var(--product-gallery-width, 50%))}}div.woocommerce-product-gallery{position:relative;overflow:hidden;align-self:flex-start}@media(max-width: 999.98px){div.woocommerce-product-gallery{margin-bottom:3em}}div.woocommerce-product-gallery .ct-product-gallery-container{position:relative}div.woocommerce-product-gallery ol{margin:var(--thumbs-container-margin, 0 calc(var(--thumbs-spacing, 15px) / -2))}div.woocommerce-product-gallery li{padding-top:var(--thumbs-top-spacing, var(--thumbs-spacing, 15px));padding-inline:var(--thumbs-left-spacing, calc(var(--thumbs-spacing, 15px) / 2));margin-bottom:0;transition:opacity .25s cubic-bezier(0.215, 0.61, 0.355, 1)}@media(max-width: 479.98px){div.woocommerce-product-gallery li{--thumbs-width: 33.333%}}@media(min-width: 480px)and (max-width: 689.98px){div.woocommerce-product-gallery li{--thumbs-width: 25%}}div.woocommerce-product-gallery li:hover{opacity:.75}div.woocommerce-product-gallery li.active{opacity:1}div.woocommerce-product-gallery li.active .ct-media-container:after{border-color:rgba(0,0,0,.2)}div.woocommerce-product-gallery li .ct-media-container:after{position:absolute;content:"";z-index:2;inset:0;pointer-events:none;border:2px solid rgba(0,0,0,0);transition:border-color .25s cubic-bezier(0.215, 0.61, 0.355, 1)}div.woocommerce-product-gallery li .ct-video-indicator svg{width:30%;height:30%;transform:none}@media(min-width: 690px){.thumbs-left{--thumbs-width: 100px}.thumbs-left .flexy{margin-inline-start:calc(var(--thumbs-width) + var(--thumbs-spacing, 15px))}.thumbs-left .flexy-pills{position:absolute;inset-inline-start:0;inset-block:0;height:100%;--pills-direction: column;--pills-wrap: nowrap;--thumbs-left-spacing: 0;--thumbs-right-spacing: 0;--thumbs-container-margin: calc(var(--thumbs-spacing, 15px) * -1) 0 0 0}.thumbs-left .flexy-pills [data-flexy]{max-height:calc(100% + var(--thumbs-spacing, 15px))}.thumbs-left .flexy-pills [class*=flexy-arrow]{left:calc(50% - 20px);right:initial;--rotate: 90deg}.thumbs-left .flexy-pills .flexy-arrow-prev{top:20px}.thumbs-left .flexy-pills .flexy-arrow-next{top:initial;bottom:20px}}.woocommerce-product-gallery.images img{width:100%}.woocommerce-product-gallery.images img.flex-active{opacity:.5}.woocommerce-product-gallery__wrapper{max-width:initial}.ct-product-divider{display:block;border-top:var(--single-product-layer-divider)}.ct-payment-methods{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:1em;padding:15px 30px 20px 30px}.ct-payment-methods legend{margin:0 auto}.ct-payment-methods[data-color=custom]{--theme-icon-color-2: #fff}.ct-product-additional-info ul li{display:flex;align-items:center;gap:.5em}.ct-product-additional-info ul li:not(:last-child){margin-bottom:.3em}.ct-product-additional-info ul li svg{fill:var(--theme-palette-color-1)}.entry-summary-items .ct-module-title{font-size:14px;font-weight:600}form.cart table{border:none}form.cart td,form.cart th{border:none}form.cart td:first-child,form.cart th:first-child{padding-inline-start:0}form.cart td:last-child,form.cart th:last-child{padding-inline-end:0}.product[class*=gallery] form.cart:before,.product[class*=gallery] form.cart:after{content:"";display:table}.product[class*=gallery] form.cart:after{clear:both}.ct-cart-actions{display:flex;flex-wrap:wrap;gap:10px;--theme-button-padding: 5px 20px}.ct-cart-actions>*{order:var(--item-order, 5);width:var(--item-width, 100%)}.ct-cart-actions .quantity{--item-order: 1;--quantity-height: var(--theme-button-min-height)}@media(max-width: 479.98px){.ct-cart-actions .quantity[data-type=type-1]{--quantity-width: 80px}.ct-cart-actions .quantity[data-type=type-2]{--quantity-width: 100px}}@media(min-width: 480px){.ct-cart-actions{--theme-button-min-height: 55px}}.ct-cart-actions .single_add_to_cart_button{flex:1;--item-order: 2}.ct-cart-actions .added_to_cart{--item-order: 3;--theme-button-text-initial-color: var(--theme-text-color);--theme-button-text-hover-color: var(--theme-text-color);--theme-button-background-initial-color: rgba(224,229,235,0.6);--theme-button-background-hover-color: rgba(224,229,235,1)}@media(min-width: 480px){.ct-cart-actions .added_to_cart{flex:1}}@media(min-width: 690px){.ct-cart-actions .single_add_to_cart_button,.ct-cart-actions .added_to_cart{max-width:var(--theme-button-max-width)}}form.grouped_form{--form-margin-bottom: 0}form.grouped_form table{margin-bottom:1em}form.grouped_form td{padding-top:0;padding-bottom:1.5em}form.grouped_form td:not(:last-child){padding-inline-end:.6em}form.grouped_form .woocommerce-grouped-product-list-item__quantity{width:4em;font-size:14px;--quantity-height: 45px}form.grouped_form .woocommerce-grouped-product-list-item__quantity .quantity[data-type=type-1]{--quantity-width: 70px}form.grouped_form .woocommerce-grouped-product-list-item__quantity .quantity[data-type=type-2]{--quantity-width: 90px}form.grouped_form .woocommerce-grouped-product-list-item__label{padding-inline-start:.6em;padding-inline-end:1.2em}form.grouped_form .woocommerce-grouped-product-list-item__label label{--theme-font-size: 16px;--theme-font-weight: 500;--theme-link-initial-color: var(--theme-text-color)}form.grouped_form .woocommerce-grouped-product-list-item__price{font-weight:500;text-align:right}form.grouped_form .woocommerce-grouped-product-list-item__price .sale-price{flex-wrap:nowrap}form.grouped_form .woocommerce-grouped-product-list-item__price del{order:initial;margin-inline-end:5px;margin-inline-start:0}@media(max-width: 479.98px){form.grouped_form .added_to_cart,form.grouped_form .single_add_to_cart_button{width:100%}}@media(min-width: 480px){form.grouped_form .added_to_cart,form.grouped_form .single_add_to_cart_button{float:left;width:calc(50% - 7px)}}form.variations_form table.variations{margin-bottom:1.5em}form.variations_form table.variations tr{display:flex;flex-direction:column;gap:10px}form.variations_form table.variations tr:not(:last-child){margin-bottom:1.5em}form.variations_form table.variations th,form.variations_form table.variations td{padding:0;text-align:initial}form.variations_form table.variations label{display:block;margin-bottom:0;font-weight:500}form.variations_form table.variations select{width:100%;max-width:100%}form.variations_form .single_variation{display:none}form.variations_form .single_variation,form.variations_form .wc-no-matching-variations{margin-bottom:1.5em}.entry-summary-items table.variations td{display:flex;align-items:center;flex-wrap:wrap;gap:10px}table.variations .reset_variations{visibility:hidden;font-size:14px;--theme-link-initial-color: var(--theme-text-color)}.product>.woocommerce-tabs{padding-top:60px;clear:both}.woocommerce div.product div.woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;align-items:var(--vertical-alignment, center)}@media(max-width: 689.98px){.woocommerce div.product div.woocommerce-tabs ul.tabs{flex-direction:column;--vertical-alignment: stretch}}@media(min-width: 690px){.woocommerce div.product div.woocommerce-tabs ul.tabs{justify-content:var(--horizontal-alignment, center)}}.woocommerce div.product div.woocommerce-tabs ul.tabs li{position:relative;display:inline-flex}@media(max-width: 689.98px){.woocommerce div.product div.woocommerce-tabs ul.tabs li{border-top:1px solid var(--tab-border-color, var(--theme-border-color))}}.woocommerce div.product div.woocommerce-tabs ul.tabs li a{position:relative;width:100%;text-align:center;line-height:inherit;padding:1.3em 1.5em}.woocommerce div.product div.woocommerce-tabs ul.tabs li.active{z-index:1}.woocommerce div.product div.woocommerce-tabs ul.tabs li.active:before{position:absolute;content:"";height:3px;inset-inline:0;bottom:-2px;background:var(--tab-background, var(--theme-palette-color-1))}.woocommerce div.product div.woocommerce-tabs ul.tabs li.active a{color:var(--theme-link-active-color, var(--theme-link-hover-color))}.woocommerce div.product div.woocommerce-tabs div.woocommerce-Tabs-panel.panel{padding-top:40px}.woocommerce div.product div.woocommerce-tabs .ct-has-heading>h2:first-of-type{font-size:20px}.woocommerce-tabs[data-type*=type-1] .tabs{border-bottom:1px solid var(--tab-border-color, var(--theme-border-color))}.woocommerce-tabs[data-type*=type-2] .tabs li{border:1px solid var(--tab-border-color, var(--theme-border-color))}@media(max-width: 689.98px){.woocommerce-tabs[data-type*=type-2] .tabs li:not(:first-child){margin-top:-1px}}@media(min-width: 690px){.woocommerce-tabs[data-type*=type-2] .tabs li{margin-inline-end:-1px}}.woocommerce-tabs[data-type*=type-2] .tabs li:before{display:none}.woocommerce-tabs[data-type*=type-2] .tabs li.active a{background:var(--tab-background, var(--theme-palette-color-1))}@media(min-width: 690px){.woocommerce-tabs[data-type*=type-2] .tabs:before,.woocommerce-tabs[data-type*=type-2] .tabs:after{flex:1 0 auto;height:1px;background:var(--tab-border-color, var(--theme-border-color))}}@media(min-width: 690px){.woocommerce-tabs[data-type*=type-2][data-type*=left] .tabs:after{content:""}.woocommerce-tabs[data-type*=type-2][data-type*=center] .tabs:before,.woocommerce-tabs[data-type*=type-2][data-type*=center] .tabs:after{content:""}.woocommerce-tabs[data-type*=type-2][data-type*=right] .tabs:before{content:""}}.woocommerce-tabs[data-type*=type-3] .ct-accordion-heading{display:flex;align-items:center;justify-content:space-between;color:var(--theme-link-initial-color);padding:18px 0;cursor:pointer;-webkit-appearance:none;appearance:none;background:rgba(0,0,0,0);transition:color .12s ease;border-top:1px solid var(--tab-border-color, var(--theme-border-color))}.woocommerce-tabs[data-type*=type-3] .ct-accordion-heading:hover{color:var(--theme-link-hover-color)}.woocommerce-tabs[data-type*=type-3] .ct-accordion-heading[aria-expanded=true]{color:var(--theme-link-active-color, var(--theme-link-hover-color))}.woocommerce-tabs[data-type*=type-3] .ct-accordion-heading[aria-expanded=true] .plus-line{display:none}.woocommerce-tabs[data-type*=type-3] .entry-content{padding-block:15px 35px}.woocommerce-tabs[data-type*=type-4]>article .entry-content:not(:last-child){margin-bottom:var(--woo-separated-tabs-spacing, 50px)}.woocommerce-tabs[data-type*=left]{--horizontal-alignment: flex-start}.woocommerce-tabs[data-type*=right]{--horizontal-alignment: flex-end}.ct-product-brands-tab>*:last-child{margin-bottom:0}.woocommerce-product-attributes{font-size:15px}.woocommerce-product-attributes p:last-child{margin-bottom:0}.woocommerce-product-attributes th{font-weight:500;text-align:initial}.woocommerce-product-attributes tr:nth-child(even) th,.woocommerce-product-attributes tr:nth-child(even) td{background:rgba(242,244,247,.5)}@media(min-width: 1000px){[data-content=normal] .woocommerce-Reviews{grid-template-columns:repeat(2, 1fr);column-gap:5%}}.entry-summary .woocommerce-Reviews{grid-template-columns:auto}.woocommerce-Reviews{display:grid;row-gap:40px}.woocommerce-Reviews h2,.woocommerce-Reviews .comment-reply-title{font-size:20px;margin-bottom:20px}.woocommerce-Reviews .comment-notes,.woocommerce-Reviews .woocommerce-noreviews{font-size:13px}.woocommerce-Reviews .commentlist li{border-top:1px solid var(--theme-border-color)}.woocommerce-Reviews .commentlist li:not(:last-child) .comment_container{padding-bottom:40px}@media(max-width: 689.98px){.woocommerce-Reviews .commentlist .children{--theme-list-indent: 35px}}@media(min-width: 690px){.woocommerce-Reviews .commentlist .children{--theme-list-indent: 70px}}.woocommerce-Reviews .comment_container{display:grid;gap:25px;padding-top:40px}@media(min-width: 480px){.woocommerce-Reviews .ct-has-avatar .comment_container{grid-template-columns:45px 1fr}}.woocommerce-Reviews .avatar{max-width:45px;border-radius:100%}.woocommerce-Reviews .description{word-break:break-word}.woocommerce-Reviews .description *:last-child{margin-bottom:0}@media(max-width: 479.98px){.woocommerce-Reviews .star-rating{margin-bottom:7px}}@media(min-width: 480px){.woocommerce-Reviews .star-rating{float:right;margin-top:3px}}.woocommerce-Reviews .meta{display:flex;flex-wrap:wrap;align-items:center;line-height:20px}.woocommerce-Reviews .meta :is(em,time,span){font-size:11px;font-weight:500;text-transform:uppercase;margin-inline-start:.7em}.woocommerce-Reviews>.clear{display:none}#review_form{position:sticky;top:70px}#review_form .comment-reply-title{font-weight:700;color:var(--theme-headings-color)}.single-product article>.related,.single-product article>.up-sells{margin-top:50px}.single-product article>.related>h2,.single-product article>.up-sells>h2{font-size:20px;margin-bottom:30px}.single-product article>.related .flexy-container [data-products],.single-product article>.up-sells .flexy-container [data-products]{gap:0;margin-inline:calc(var(--grid-columns-gap, 30px)/-2)}.single-product article>.related .flexy-container [data-products] .flexy-item,.single-product article>.up-sells .flexy-container [data-products] .flexy-item{flex:0 0 var(--grid-columns-width, 25%);width:var(--grid-columns-width, 25%);padding-inline:calc(var(--grid-columns-gap, 30px)/2)}.single-product article>.related .flexy-container [data-products] .product,.single-product article>.up-sells .flexy-container [data-products] .product{height:100%}.ct-woocommerce-cart-form{display:grid}@media(max-width: 999.98px){.ct-woocommerce-cart-form{grid-row-gap:50px}}@media(min-width: 1000px){.ct-woocommerce-cart-form{grid-template-columns:2fr 1fr;grid-column-gap:50px}}@media(min-width: 690px){.ct-woocommerce-cart-form .woocommerce-cart-form table:first-child{margin-top:7px}}.woocommerce-checkout .ct-woocommerce-cart-form{grid-template-columns:initial}.ct-cart-auto-update .actions button[name=update_cart]{display:none}.woocommerce-cart-form .shop_table{margin-bottom:0}@media(max-width: 689.98px){[class*=ct-woocommerce] .shop_table{--theme-table-padding: 1.3em 0.7em}}@media(min-width: 690px){[class*=ct-woocommerce] .shop_table{--theme-table-padding: 1.5em 0.7em}}@media(max-width: 999.98px){[class*=ct-woocommerce] .shop_table [class*=product-thumbnail]{width:120px}}@media(min-width: 1000px){[class*=ct-woocommerce] .shop_table [class*=product-thumbnail]{width:100px}}[class*=ct-woocommerce] .shop_table [class*=product-thumbnail] img{border-radius:2px}@media(min-width: 690px){[class*=ct-woocommerce] .shop_table [class*=product-name]{max-width:300px}}@media(max-width: 999.98px){[class*=ct-woocommerce] .shop_table [class*=product-name]{padding-inline-end:0}}[class*=ct-woocommerce] .shop_table [class*=product-name] .price{--theme-font-size: 15px;--theme-font-weight: normal;margin-top:5px;margin-bottom:0}[class*=ct-woocommerce] .shop_table tr>[class*=product-remove]{width:20px;text-align:end}[class*=ct-woocommerce] .shop_table .remove{--theme-icon-size: 12px}[class*=ct-woocommerce] .shop_table .remove:hover svg{fill:#d83428}[class*=ct-woocommerce] .shop_table .product-mobile-actions{display:flex;align-items:center;gap:12px;margin-top:1em}[class*=ct-woocommerce] .shop_table .product-mobile-actions .remove{margin-inline-start:auto;padding-inline-start:10px}@media(max-width: 999.98px){[class*=ct-woocommerce] .shop_table tr>.product-price,[class*=ct-woocommerce] .shop_table tr>.product-quantity,[class*=ct-woocommerce] .shop_table tr>.product-subtotal,[class*=ct-woocommerce] .shop_table tr>.product-remove{display:none}}[class*=ct-woocommerce] .shop_table .product-quantity,[class*=ct-woocommerce] .shop_table .product-subtotal{text-align:center}.woocommerce-cart-form__contents .actions{text-align:right}@media(max-width: 689.98px){.woocommerce-cart-form__contents .actions .button{width:100%}}.woocommerce-cart-form__contents .coupon{display:flex}@media(max-width: 689.98px){.woocommerce-cart-form__contents .coupon{flex-direction:column;margin-bottom:.8em}}@media(min-width: 690px){.woocommerce-cart-form__contents .coupon{float:left}}.woocommerce-cart-form__contents .coupon label{display:none}.woocommerce-cart-form__contents .coupon input{--theme-form-field-height: var(--theme-button-min-height)}@media(max-width: 689.98px){.woocommerce-cart-form__contents .coupon input{width:100%;margin-bottom:.8em}}@media(min-width: 690px){.woocommerce-cart-form__contents .coupon input{width:220px;margin-inline-end:8px}}.cart_totals .wc-proceed-to-checkout a{width:100%}.cart_totals .shipping-calculator-button{display:block;margin:10px 0}.ct-woocommerce-cart-form .cart_totals{align-self:flex-start;position:sticky;top:calc(50px + var(--admin-bar, 0px) + var(--header-sticky-height, 0px)*var(--sticky-shrink, 100)/100);border:2px solid var(--theme-border-color)}@media(max-width: 689.98px){.ct-woocommerce-cart-form .cart_totals{padding:25px}}@media(min-width: 690px){.ct-woocommerce-cart-form .cart_totals{padding:30px}}.ct-woocommerce-cart-form .cart_totals h2{font-size:15px}.ct-woocommerce-cart-form .cart_totals table td{text-align:var(--theme-table-text-align, end)}@media(max-width: 689.98px){.ct-woocommerce-cart-form .cart_totals table td{padding-inline-start:0}}.ct-woocommerce-cart-form .cart_totals .wc-proceed-to-checkout{margin-top:30px}.ct-woocommerce-cart-form .cart_totals .wc-proceed-to-checkout a{width:100%}.ct-woocommerce-cart-form .cart_totals .shipping-calculator-button{display:block;margin:10px 0}.cross-sells{margin-top:50px}.cross-sells h2{font-size:20px;margin-bottom:20px}.cross-sells .products{margin:0}.cross-sells .add_to_cart_button.added{display:initial}dl.variation{margin-top:.5em;--theme-description-list-indent: 0;--theme-description-list-spacing: 0}dl.variation:not(:last-child){margin-bottom:.5em}dl.variation dt{display:inline-block;margin-inline-end:.25em;float:left;clear:both}.showcoupon{padding-left:5px;text-decoration:underline}.checkout_coupon{margin-bottom:2rem;border-bottom:1px dashed rgba(224,229,235,.8)}.checkout_coupon p:first-child{display:none}@media(min-width: 690px){.checkout_coupon .form-row{width:49%;margin-bottom:2rem}}form.woocommerce-checkout{display:grid}@media(max-width: 999.98px){form.woocommerce-checkout{grid-row-gap:40px}}@media(min-width: 1000px){form.woocommerce-checkout{grid-template-columns:repeat(2, 1fr);grid-column-gap:35px}form.woocommerce-checkout>.woocommerce-error,form.woocommerce-checkout>.woocommerce-NoticeGroup{grid-column:1/-1}}form.woocommerce-checkout h3{font-size:17px}#customer_details .col-2{margin-top:40px}#customer_details .col-2 .form-row:last-child{margin-bottom:0}#ship-to-different-address label{font-size:15px;font-weight:600}.woocommerce-NoticeGroup-checkout{grid-column:1/-1}.ct-order-review{align-self:flex-start;border:2px solid var(--theme-border-color)}@media(max-width: 689.98px){.ct-order-review{padding:30px 25px}}@media(min-width: 690px){.ct-order-review{padding:40px 35px}}.ct-order-review table.shop_table .product-total,.ct-order-review table.shop_table tfoot td{text-align:var(--theme-table-text-align, end)}@media(max-width: 689.98px){.woocommerce-checkout-payment{position:relative;margin-inline:-26px}}.woocommerce-checkout-payment .place-order{margin-top:30px;margin-top:2em}@media(max-width: 689.98px){.woocommerce-checkout-payment .place-order{padding:0 25px}}.woocommerce-checkout-payment .place-order .woocommerce-terms-and-conditions-wrapper{font-size:14px;line-height:1.4;margin-bottom:30px}.woocommerce-checkout-payment .place-order button[type=submit]{width:100%}#payment .payment_methods{padding:0;margin-inline:0}#payment .payment_methods li{list-style:none}#payment .payment_methods li.wc_payment_method,#payment .payment_methods li.woocommerce-PaymentMethod{border:1px solid var(--theme-border-color)}#payment .payment_methods li.wc_payment_method:not(:first-child),#payment .payment_methods li.woocommerce-PaymentMethod:not(:first-child){border-top:none}#payment .payment_methods li.wc_payment_method>input[type=radio]:first-child,#payment .payment_methods li.woocommerce-PaymentMethod>input[type=radio]:first-child{display:none}#payment .payment_methods li.wc_payment_method>input[type=radio]:first-child:checked+label:before,#payment .payment_methods li.woocommerce-PaymentMethod>input[type=radio]:first-child:checked+label:before{background:#fff;border-width:5px;border-color:var(--theme-form-selection-field-active-color)}#payment .payment_methods>.wc_payment_method>label,#payment .payment_methods>.woocommerce-PaymentMethod>label{display:flex;align-items:center;margin:0;padding:18px 25px;cursor:pointer;font-size:15px;font-weight:600}#payment .payment_methods>.wc_payment_method>label:before,#payment .payment_methods>.woocommerce-PaymentMethod>label:before{content:"";width:16px;height:16px;min-width:16px;margin-top:2px;margin-inline-end:.7em;border-radius:100%;border:var(--form-selection-control-border-width, var(--theme-form-field-border-width, 1px)) solid var(--theme-form-selection-field-initial-color)}#payment .payment_methods>.wc_payment_method>label img,#payment .payment_methods>.woocommerce-PaymentMethod>label img{max-height:35px;max-width:50%}#payment .payment_methods>.wc_payment_method>label img:first-of-type,#payment .payment_methods>.woocommerce-PaymentMethod>label img:first-of-type{margin-inline-start:auto !important}#payment .payment_methods>.wc_payment_method>label .about_paypal,#payment .payment_methods>.woocommerce-PaymentMethod>label .about_paypal{display:none}#payment .payment_methods .payment_box{padding:25px;border-top:1px solid var(--theme-border-color)}#payment .payment_methods .payment_box p{font-size:14px;line-height:1.5}#payment .payment_methods .payment_box p:last-child{margin-bottom:0}#payment .payment_methods .payment_box .woocommerce-SavedPaymentMethods{margin:0;padding:0}#payment .payment_methods .payment_box .woocommerce-SavedPaymentMethods li:not(:last-child){margin-bottom:.5em}#payment .payment_methods .payment_box fieldset{padding:0;border:none;margin-top:20px}#payment .payment_methods .payment_box fieldset .form-row:not(:first-child){margin-top:15px}.ct-woo-unauthorized>h2{display:none}.ct-woo-unauthorized>.woocommerce-form-login,.ct-woo-unauthorized>.woocommerce-ResetPassword{max-width:450px;margin-inline:auto}.ct-woo-unauthorized>.woocommerce-form-login button[type=submit],.ct-woo-unauthorized>.woocommerce-ResetPassword button[type=submit]{width:100%}.ct-woo-unauthorized label{font-size:14px;font-weight:500}.ct-woo-unauthorized .woocommerce-form-login__rememberme{margin-bottom:var(--theme-content-spacing)}.ct-woo-unauthorized .woocommerce-LostPassword{font-size:14px;margin:0}.ct-woo-unauthorized .woocommerce-ResetPassword .form-row-first:nth-last-of-type(2){width:100%}.ct-woo-unauthorized .col2-set{display:grid}@media(min-width: 690px){.ct-woo-unauthorized .col2-set{grid-template-columns:1fr 1fr}}.ct-woo-unauthorized .col2-set h2{font-size:20px;margin-top:0;margin-bottom:20px}@media(max-width: 689.98px){.ct-woo-unauthorized .col2-set>*:first-child{padding-bottom:30px;border-bottom:1px dashed var(--theme-border-color)}.ct-woo-unauthorized .col2-set>*:last-child{padding-top:30px}}@media(min-width: 690px){.ct-woo-unauthorized .col2-set>*:first-child{padding-inline-end:40px;border-inline-end:1px dashed var(--theme-border-color)}.ct-woo-unauthorized .col2-set>*:last-child{padding-inline-start:40px}}@media(min-width: 690px){.ct-woo-account{display:flex}}.ct-acount-nav{overflow:hidden;align-self:start;border-radius:5px;box-shadow:var(--theme-box-shadow);background:var(--account-nav-background-initial-color, var(--theme-palette-color-8))}@media(max-width: 689.98px){.ct-acount-nav{margin-bottom:30px}}@media(min-width: 690px){.ct-acount-nav{width:20%;min-width:220px;margin-inline-end:30px}}.woocommerce-MyAccount-navigation ul{font-size:15px}.woocommerce-MyAccount-navigation ul li:not(:last-child) a{border-bottom:1px solid var(--account-nav-divider-color, rgba(0, 0, 0, 0.05))}.woocommerce-MyAccount-navigation ul li:hover a,.woocommerce-MyAccount-navigation ul li.is-active a{color:var(--account-nav-text-active-color, var(--theme-palette-color-8));background:var(--account-nav-background-active-color, var(--theme-palette-color-1))}.woocommerce-MyAccount-navigation ul li a{display:flex;align-items:center;height:55px;padding:0 20px;font-weight:500;color:var(--account-nav-text-initial-color, var(--theme-palette-color-3))}.woocommerce-MyAccount-navigation ul li a:before{font-family:"woo";font-size:16px;font-weight:normal;content:"";width:20px;margin-inline-end:15px}.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link--dashboard a:before{content:""}.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link--orders a:before{content:""}.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link--downloads a:before{content:""}.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link--edit-address a:before{content:""}.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link--edit-account a:before{content:""}.woocommerce-MyAccount-navigation ul [class*=ct-wish-list] a:before{content:""}.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link--customer-logout a:before{content:""}.woocommerce-MyAccount-content{flex:1}.woocommerce-MyAccount-content>h2{margin-top:0}.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3{font-size:18px}.woocommerce-MyAccount-content em{font-size:13px;opacity:.8}.woocommerce-MyAccount-content fieldset:not(:last-child){margin-bottom:2em}.woocommerce-MyAccount-content fieldset p:last-child{margin-bottom:0}th.download-file,th.woocommerce-orders-table__header-order-actions{width:20%}@media(min-width: 690px){td.download-file .button,td.woocommerce-orders-table__cell-order-actions .button{width:100%}}td.download-file .button:not(:last-child),td.woocommerce-orders-table__cell-order-actions .button:not(:last-child){margin-bottom:10px;margin-inline-end:10px}.ct-account-welcome{display:flex;align-items:center;padding:20px;border-bottom:1px solid var(--account-nav-divider-color, rgba(0, 0, 0, 0.05))}.ct-account-welcome [class*=ct-media-container]{margin:10px 0;border-radius:100%}.ct-account-user-box{line-height:initial;color:var(--account-nav-text-initial-color, var(--theme-palette-color-3))}.ct-account-user-box:not(:only-child){margin-inline-start:.8em}.ct-account-user-box span{display:flex;flex-wrap:wrap;gap:.3em;font-size:14px;margin-top:.2em;--theme-link-initial-color: var(--account-nav-text-initial-color, var(--theme-palette-color-3))}.woocommerce-Addresses{display:grid}@media(max-width: 689.98px){.woocommerce-Addresses{grid-row-gap:2em}}@media(min-width: 690px){.woocommerce-Addresses{grid-template-columns:repeat(2, 1fr);grid-column-gap:30px}}.woocommerce-Addresses>*{padding:1.5em;border-radius:5px;border:1px dashed var(--theme-border-color)}.woocommerce-Addresses .woocommerce-Address-title h3{font-size:16px}.woocommerce-Addresses .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.woocommerce-Addresses .woocommerce-Address-title h3{margin-bottom:0}.woocommerce-Addresses address{font-size:15px;opacity:.8}.woocommerce-address-fields__field-wrapper{margin-bottom:2em}.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link.loading:after{margin:0;width:16px;height:16px;animation:spin 1s linear infinite}.wc-block-components-product-sale-badge{color:var(--badge-text-color, #fff);background:var(--badge-background-color, var(--theme-palette-color-1));border:none}.wc-block-checkbox-list li label,.wc-block-components-checkbox__label,.woocommerce-widget-layered-nav-list li{display:flex;align-items:center;width:100%}.wc-block-checkbox-list li label .count,.wc-block-checkbox-list li label .wc-filter-element-label-list-count,.wc-block-components-checkbox__label .count,.wc-block-components-checkbox__label .wc-filter-element-label-list-count,.woocommerce-widget-layered-nav-list li .count,.woocommerce-widget-layered-nav-list li .wc-filter-element-label-list-count{opacity:1;font-size:80%;margin-inline-start:auto}.wc-block-checkbox-list__checkbox{width:100%}.wc-block-checkbox-list__checkbox .wc-block-components-checkbox__mark{display:none}.wc-block-checkbox-list li:not([hidden]),.woocommerce-widget-layered-nav-list li:not([hidden]) a{display:flex;align-items:center}.wc-block-checkbox-list li:not([hidden]) input[type=checkbox],.woocommerce-widget-layered-nav-list li:not([hidden]) a input[type=checkbox]{--top: 0}.product_list_widget li{display:grid;grid-template-columns:20% 1fr;grid-column-gap:20px;align-items:center;margin-bottom:var(--mini-cart-items-spacing, 20px)}.product_list_widget .product-data{font-size:13px}.product_list_widget .product-title{display:block;font-size:15px;font-weight:500;padding-inline-end:15px}.product_list_widget .star-rating{margin-top:5px}.product_list_widget .star-rating:not(:last-child){margin-bottom:5px}.product_list_widget .price{font-size:13px;font-weight:500;margin-top:5px}.product_list_widget .woocommerce-Price-amount{font-weight:500}.product_list_widget .reviewer{font-size:13px;font-weight:500;margin-top:5px}.product_list_widget .ct-product-actions{display:flex;align-items:center;gap:12px;margin-top:.7em}.product_list_widget .quantity{--quantity-height: 40px}.product_list_widget .quantity[data-type=type-1]{--quantity-width: 70px}.product_list_widget .quantity[data-type=type-2]{--quantity-width: 100px}.wc-block-price-filter .wc-block-price-filter__range-input-wrapper:before{opacity:initial;background:var(--theme-form-field-border-initial-color)}.wc-block-price-filter .wc-block-components-price-slider__range-input-progress{--range-color: var(--theme-palette-color-1)}.wc-block-price-filter .wc-block-price-filter__range-input::-webkit-slider-thumb{border-color:var(--theme-palette-color-1)}.wc-block-price-filter .wc-block-price-filter__range-input:hover::-webkit-slider-thumb,.wc-block-price-filter .wc-block-price-filter__range-input:focus::-webkit-slider-thumb{background:#fff;border-color:var(--theme-palette-color-1)}.wc-block-price-filter .wc-block-price-filter__range-input::-moz-range-thumb{border-color:var(--theme-palette-color-1)}.wc-block-price-filter .wc-block-price-filter__range-input:hover::-moz-range-thumb,.wc-block-price-filter .wc-block-price-filter__range-input:focus::-moz-range-thumb{background:#fff;border-color:var(--theme-palette-color-1)}.wc-block-price-filter .wc-block-form-text-input{font-size:13px;text-align:center;max-width:70px !important;border-radius:var(--has-classic-forms, var(--theme-form-field-border-radius, 3px)) !important;border:var(--theme-form-field-border-width, 1px) solid var(--theme-form-field-border-initial-color) !important}.wc-block-price-filter .wc-block-form-text-input:focus{border-color:var(--theme-form-field-border-focus-color) !important}.brz .flex-control-thumbs li{--thumbs-spacing: 0;flex:initial}.brz .brz-woo-add-to-cart .quantity[data-type=type-1]{width:80px !important}.brz .brz-woo-add-to-cart .quantity[data-type=type-1] input[type=number]{padding:0 calc(25% + 3px) 0 5px}.brz .brz-woo-add-to-cart .quantity[data-type=type-2]{width:120px !important}.brz .brz-woo-add-to-cart .quantity[data-type=type-2] input[type=number]{padding:0 calc(var(--quantity-height, 55px)/1.8 + 9%)}label.wc-pao-addon-name{font-weight:500;margin-bottom:10px}.wc-pao-addon{margin-top:20px}.wc-pao-addon:first-child{margin-top:0}div.product-addon-totals strong{font-weight:600}.wc-pao-addon-image-swatch.selected{outline-color:var(--theme-palette-color-1)}.wc-points-rewards-product-message{display:block}.product-type-variable .wcppec-checkout-buttons{position:relative;z-index:1}.wcppec-checkout-buttons__separator,#wc-square-wallet-divider,#wcpay-payment-request-button-separator,#wc-stripe-payment-request-button-separator{display:none !important}div#wc-square-digital-wallet{max-width:100%}div.wc-square-wallet-buttons{width:100%}.payment_methods li .woocommerce-info{display:block}.payment_methods fieldset .wc-stripe-elements-field{display:flex;flex-direction:column;justify-content:center;width:initial}.payment_methods fieldset .stripe-source-errors ul{margin-top:20px}.payment_methods fieldset .stripe-source-errors ul:last-child{margin-bottom:0}.wc-proceed-to-checkout #wc-stripe-payment-request-wrapper{margin-bottom:15px}#wc-stripe-payment-request-wrapper{padding-top:0 !important}.wc-product-table .product .ct-cart-actions{display:inline-block}.wc-product-table .product .ct-cart-actions .added_to_cart,.wc-product-table .product .ct-cart-actions .single_add_to_cart_button{width:initial;min-height:initial}.wc-product-table .product .quantity{--quantity-height: 34px}.wc-product-table .product .quantity input.qty{max-width:initial !important}.wc-product-table .product .quantity[data-type=type-1]{--quantity-width: 70px}.wc-product-table .product .quantity[data-type=type-2]{--quantity-width: 80px}.wc-product-table .product .cart select{height:34px !important;padding-inline-end:25px !important}.component_option_thumbnail button{display:inline-block}.composite_button{display:flex}.composite_button .single_add_to_cart_button{--theme-button-min-height: 55px}.composite_button .added_to_cart,.composite_button .single_add_to_cart_button{margin-left:10px}.mp-panel-checkout,.mp-panel-custom-checkout{padding:0 !important;background:rgba(0,0,0,0) !important}.mp-panel-custom-checkout .mp-row-checkout .mp-col-md-6:nth-child(odd) .mp-ticket-payments{padding-inline-start:0}.mp-panel-custom-checkout .mp-row-checkout .mp-col-md-6:nth-child(even) .mp-ticket-payments{padding-inline-end:0}.mp-panel-custom-checkout .mp-img-ticket{max-height:1.618em}.mp-panel-custom-checkout .mp-ticket-name{font-size:12px !important}.mp-ticket-payments input[type=radio]{border:var(--form-selection-control-border-width, var(--theme-form-field-border-width, 1px)) solid var(--theme-form-selection-field-initial-color) !important}.mp-ticket-payments input[type=radio]:checked{border-color:var(--theme-form-selection-field-active-color) !important;background-color:var(--theme-form-selection-field-active-color) !important}form.checkout .gift-certificate{margin-top:2em !important;margin-bottom:0 !important}#wpfnl-checkout-form form.woocommerce-checkout,#wcf-embed-checkout-form form.woocommerce-checkout{grid-column-gap:initial}#wcf-embed-checkout-form #payment .payment_methods>li>label{display:flex}#wcf-embed-checkout-form input[type=checkbox],#wcf-embed-checkout-form input[type=checkbox]:before{position:initial;top:initial;height:initial;border:initial;transform:initial}.wfc-cart-table .wfc-cart-form__cart-item .product-quantity .quantity[data-type]{--quantity-height: 30px}.wfc-cart-table .wfc-cart-form__cart-item .product-quantity .quantity[data-type] input[type=number]{width:initial;height:inherit;text-align:center;font-size:13px}.wfc-cart-table .wfc-cart-form__cart-item .product-quantity .quantity[data-type=type-1]{--quantity-width: 55px}.wfc-cart-table .wfc-cart-form__cart-item .product-quantity .quantity[data-type=type-2]{--quantity-width: 70px}#sellkit-checkout-widget-id>form{display:initial}#sellkit-checkout-widget-id select{background-image:none}[class*=wc-gzd]~table.shop_table{background-color:rgba(0,0,0,0)}@media(max-width: 689.98px){.woocommerce-account table.my_account_memberships{table-layout:auto}}.woocommerce-checkout #wizard{grid-column:1/-1}.woocommerce-MyAccount-content .subscription_details,.woocommerce-MyAccount-content .subscription_details~.order_details{margin-bottom:2.5em}.woocommerce-order-details header h2,.woocommerce-MyAccount-content header h2{margin-bottom:calc(var(--has-content-spacing, 1)*(.3em + 10px))}ul.wcsatt-options-prompt-radios,ul.wcsatt-options.overrides_exist{padding-inline-start:0}
     1@font-face{font-family:"woo";src:url("../fonts/woo.woff2") format("woff2");font-weight:normal;font-style:normal;font-display:swap}.price,.ct-product-sku{color:var(--theme-text-color)}.sale-price{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;column-gap:5px}.sale-price del{order:2;font-size:80%}.clear{clear:both}.woo-listing-top{display:flex;align-items:center}.woo-listing-top:not(:empty){margin-bottom:25px}@media(max-width: 479.98px){.woo-listing-top{flex-direction:column;align-items:center}}.woo-listing-top .woocommerce-notices-wrapper{display:none}.woocommerce-result-count{font-size:11px;font-weight:500;letter-spacing:.05em;text-transform:uppercase}@media(min-width: 480px){.woocommerce-result-count{margin-bottom:0}}@media(min-width: 480px){.woocommerce-ordering{margin-inline-start:auto}}.woocommerce-ordering select{--theme-form-font-size: 14px;--theme-form-field-height: 40px}.onsale,.out-of-stock-badge,[class*=ct-woo-badge-]{display:inline-flex;align-items:center;justify-content:center;z-index:1;position:var(--has-container, absolute);top:var(--has-container, var(--badge-top, 15px));inset-inline-start:var(--has-container, var(--badge-left, 15px));height:var(--badge-height, 28px);min-width:var(--badge-min-width, 55px);border-radius:var(--badge-radius, 0px);padding:var(--badge-padding, 5px 10px);font-size:var(--badge-font-size, 12px);line-height:var(--badge-line-height, 0);font-weight:600;text-align:center;color:var(--badge-text-color, #fff);background-color:var(--badge-background-color, var(--theme-palette-color-1))}.onsale[data-shape=type-2],.out-of-stock-badge[data-shape=type-2],[class*=ct-woo-badge-][data-shape=type-2]{--badge-radius: 3px}.onsale[data-shape=type-3],.out-of-stock-badge[data-shape=type-3],[class*=ct-woo-badge-][data-shape=type-3]{--badge-font-size: 10px;--badge-line-height: 1.2;--badge-radius: 200px;--badge-height: 48px;--badge-min-width: auto;--badge-padding: 5px 7px;aspect-ratio:1/1}.product-entry-wrapper{--badge-top: 20px;--badge-left: 20px}@media(max-width: 689.98px){.thumbs-left .product-entry-wrapper{--badge-left: 20px}}@media(min-width: 690px){.thumbs-left .product-entry-wrapper{--badge-left: calc(var(--thumbs-width) + var(--thumbs-spacing, 15px) + 20px)}}table.shop_table{margin-bottom:2em;--theme-table-padding: 1em 0.7em;--theme-table-border-width: 0;--theme-table-font-size: 15px}table.shop_table tr{--theme-table-border-width: 0 0 1px 0;--theme-table-border-style: dashed}table.shop_table tr>*:first-child{padding-inline-start:0}table.shop_table tr>*:last-child{padding-inline-end:0}table.shop_table th{vertical-align:top;text-align:initial}table.shop_table thead th{--theme-table-border-width: 0 0 2px 0;--theme-table-border-style: solid;color:var(--theme-headings-color)}table.shop_table tfoot td{font-weight:600}table.shop_table a{font-weight:500;--theme-link-initial-color: var(--theme-text-color)}table.shop_table ul:last-child,table.shop_table ol:last-child{margin-bottom:0}.shop_table tfoot tr:last-child,.cart_totals table tr:last-child,.woocommerce-cart-form__contents tbody tr:last-child{--theme-table-border-width: 0}@media(max-width: 689.98px){table.shop_table_responsive{--theme-table-padding: 1em 0}table.shop_table_responsive thead{display:none}table.shop_table_responsive tbody th{display:none}table.shop_table_responsive tbody td{display:block;text-align:right}table.shop_table_responsive tbody td[data-title]:before{content:attr(data-title) ": ";display:table;float:left;font-size:14px;font-weight:600}table.shop_table_responsive tbody td.order-actions:before{display:none}table.my_account_orders tbody tr:not(:last-child) td:last-child{--theme-table-border-style: solid;--theme-table-border-width: 0 0 2px 0}}.woocommerce-shipping-totals{--theme-table-text-align: start}.woocommerce-shipping-totals th{display:none}.woocommerce-shipping-totals td{padding-inline-start:0}.woocommerce-shipping-totals td:before{content:attr(data-title);display:block;font-weight:600;text-align:initial;margin-bottom:15px}.woocommerce-shipping-totals form button{width:100%}.woocommerce-shipping-totals p:last-of-type{margin-bottom:0}ul#shipping_method{clear:both;list-style:none;padding-inline-start:0}ul#shipping_method li:not(:last-child){margin-bottom:10px}[class*=add_to_cart_button].loading{position:relative;gap:.5em}[class*=add_to_cart_button].loading:after{content:"";width:16px;height:16px;background-color:currentColor;animation:spin 1s linear infinite;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' opacity='0.2' fill='none' stroke='currentColor' stroke-miterlimit='10' stroke-width='2.5'/%3E%3Cpath d='m12,2c5.52,0,10,4.48,10,10' fill='none' stroke='currentColor' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5'/%3E%3C/svg%3E") center no-repeat}span.select2-container .select2-selection--single,span.select2-container .select2-selection--multiple{border-radius:var(--has-classic-forms, var(--theme-form-field-border-radius, 3px));background-color:var(--has-classic-forms, var(--theme-form-field-background-initial-color));border:var(--theme-form-field-border-width, 1px) var(--theme-form-field-border-style, solid) var(--theme-form-field-border-initial-color)}span.select2-container .select2-selection--single .select2-selection__rendered,span.select2-container .select2-selection--multiple .select2-selection__rendered{display:flex;flex-wrap:wrap;align-items:center;font-size:var(--theme-form-font-size, 15px);color:var(--theme-form-text-initial-color, var(--theme-text-color));padding:var(--has-classic-forms, var(--theme-form-field-padding, 0 12px))}span.select2-container .select2-selection--single{height:var(--theme-form-field-height, 40px)}span.select2-container .select2-selection--single .select2-selection__rendered{height:100%}span.select2-container .select2-selection--single .select2-selection__arrow{inset-inline-end:8px;height:calc(var(--theme-form-field-height, 40px) - 2px)}span.select2-container .select2-selection--single .select2-selection__arrow b{border-top-color:var(--theme-form-text-initial-color, var(--theme-text-color))}span.select2-container .select2-selection--multiple .select2-selection__rendered{min-height:var(--theme-form-field-height, 40px);gap:4px;padding-block:6px}span.select2-container .select2-selection--multiple .select2-selection__rendered .select2-selection__choice{margin:0;font-size:14px;line-height:1.5}span.select2-container .select2-selection--multiple .select2-selection__rendered .select2-search__field{margin:0;height:auto}span.select2-container.select2-container--open .select2-selection--single,span.select2-container.select2-container--open .select2-selection--multiple{background-color:var(--has-classic-forms, var(--theme-form-select-background-initial-color, #fff))}span.select2-container.select2-container--open .select2-selection--single .select2-selection__arrow b,span.select2-container.select2-container--open .select2-selection--multiple .select2-selection__arrow b{border-bottom-color:var(--theme-form-text-initial-color, var(--theme-text-color))}span.select2-dropdown{color:var(--form-field-select-initial-color, var(--theme-text-color));font-size:var(--theme-form-font-size, 15px);background-color:var(--theme-form-select-background-initial-color, #fff);border-radius:var(--has-classic-forms, var(--theme-form-field-border-radius, 3px));border:var(--theme-form-field-border-width, 1px) var(--theme-form-field-border-style, solid) var(--theme-form-field-border-initial-color)}span.select2-dropdown.select2-dropdown--below{box-shadow:0px 15px 30px -5px rgba(0,0,0,.05)}span.select2-dropdown .select2-search--dropdown{padding:12px}span.select2-dropdown .select2-search--dropdown .select2-search__field{height:35px;padding:var(--has-classic-forms, 0 10px);border-radius:var(--has-classic-forms, 2px);border:var(--theme-form-field-border-width, 1px) solid var(--theme-form-field-border-initial-color)}span.select2-dropdown .select2-search--dropdown .select2-search__field:focus{border-color:var(--theme-form-select-background-active-color, var(--theme-palette-color-1))}span.select2-dropdown .select2-results__option{margin:0;padding:8px 12px}span.select2-dropdown .select2-results__option[aria-selected=true],span.select2-dropdown .select2-results__option[data-selected=true]{background-color:rgba(0,0,0,.03)}span.select2-dropdown .select2-results__option.select2-results__option--highlighted[aria-selected],span.select2-dropdown .select2-results__option.select2-results__option--highlighted[data-selected]{color:var(--form-field-select-active-color, #fff);background-color:var(--theme-form-select-background-active-color, var(--theme-palette-color-1))}.form-row label{display:block;font-weight:500}.form-row .required{color:red;font-weight:700;text-decoration:none}.form-row textarea{display:block}.form-row select{width:100%}.form-row:before,.form-row:after{content:"";display:table}.form-row:after{clear:both}.form-row-wide{clear:both}@media(min-width: 690px){.form-row-first,.form-row-last{width:48%;overflow:visible}.form-row-first{float:left}.form-row-last{float:right}}.demo_store{font-size:15px;color:var(--theme-text-color);margin:0;padding-block:13px;padding-inline:30px 60px;background-color:var(--background-color)}.demo_store:before{display:inline-block;font-family:"woo";font-size:17px;font-weight:700;content:"";margin-inline-end:15px}@media(max-width: 689.98px){.demo_store:before{display:none !important}}.demo_store .woocommerce-store-notice__dismiss-link{position:absolute;top:calc(50% - 15px);inset-inline-end:30px;width:30px;height:30px;font-size:0;border-radius:100%;background:rgba(0,0,0,.07)}.demo_store .woocommerce-store-notice__dismiss-link:before{display:flex;align-items:center;justify-content:center;content:"×";font-size:17px;color:var(--theme-text-color)}.demo_store .woocommerce-store-notice__dismiss-link:hover{background:rgba(0,0,0,.1)}.demo_store[data-position=top]{position:relative}.demo_store[data-position=bottom]{position:fixed;z-index:120;inset-inline:var(--theme-frame-size, 0px);bottom:var(--theme-frame-size, 0px)}.woocommerce-order h2{font-size:18px}.woocommerce-order p{font-size:15px}.woocommerce-thankyou-order-details{position:relative;list-style:none;padding:0;margin-bottom:.5em;border:1px solid var(--theme-border-color)}@media(min-width: 690px){.woocommerce-thankyou-order-details{display:grid;grid-template-columns:repeat(2, 1fr)}}.woocommerce-thankyou-order-details li{padding:1em 1.3em;margin-bottom:-1px;border-bottom:1px solid var(--theme-border-color)}@media(min-width: 690px){.woocommerce-thankyou-order-details li:nth-child(odd){border-inline-end:1px solid var(--theme-border-color)}}.woocommerce-thankyou-order-details li strong{display:block}.woocommerce-customer-details{margin-top:2em}.woocommerce-customer-details .col2-set{display:grid}@media(max-width: 689.98px){.woocommerce-customer-details .col2-set{grid-row-gap:2em}}@media(min-width: 690px){.woocommerce-customer-details .col2-set{grid-template-columns:repeat(2, 1fr);grid-column-gap:30px}}.woocommerce-customer-details address{font-size:15px;padding:1.5em;border-radius:5px;border:1px dashed var(--theme-border-color)}.woocommerce-customer-details address p:last-child{margin-bottom:0}.wc-item-meta{margin-top:5px}.wc-item-meta li p{display:inline-block;margin-bottom:0}[class*=ct-dynamic-count]{display:flex;align-items:center;justify-content:center;position:absolute;z-index:1;top:-9px;inset-inline-end:-9px;min-width:16px;cursor:pointer;height:16px;padding:0 3px;font-size:10px;font-weight:600;font-style:normal;border-radius:10px;color:var(--theme-cart-badge-text, #fff);background:var(--theme-cart-badge-background, var(--theme-palette-color-1))}[class*=ct-dynamic-count][data-count="0"]{display:none}@media(prefers-reduced-motion: no-preference){a.ct-added [class*=ct-dynamic-count]{animation:.6s ease-in-out .12s normal both 1 bounce-in}}.ct-header-cart [data-price=no] .amount{display:none}#offcanvas .ct-header-cart .ct-cart-item{width:100%}#offcanvas .ct-header-cart .ct-cart-content{display:none}.ct-header-wishlist .ct-label{line-height:normal}.woocommerce-page .wc-block-components-notice-banner{margin:0 0 2rem 0}.woocommerce-page .wc-block-components-notice-banner:is(.is-info,.is-error,.is-success){border:none;color:var(--theme-text-color);background-color:var(--background-color)}.woocommerce-page .wc-block-components-notice-banner:is(.is-info,.is-error,.is-success) svg{fill:var(--theme-button-text-initial-color);background-color:var(--theme-button-background-initial-color)}.woocommerce-page .wc-block-components-notice-banner .wc-block-components-notice-banner__content .wc-forward{color:inherit !important;line-height:unset;font-weight:unset;text-decoration-line:unset;margin-inline-end:5px;padding:unset;min-height:unset;background-color:unset}.woocommerce-info,.woocommerce-error,.woocommerce-message,.woocommerce-thankyou-order-received{display:flex;position:relative;font-size:15px;color:var(--theme-text-color);padding:10px;min-height:65px;clear:both;border-radius:5px;margin-bottom:2rem;background:var(--background-color);--theme-link-initial-color: var(--theme-text-color)}@media(max-width: 479.98px){.woocommerce-info,.woocommerce-error,.woocommerce-message,.woocommerce-thankyou-order-received{align-items:flex-start;flex-direction:column;padding:15px}}@media(min-width: 480px){.woocommerce-info,.woocommerce-error,.woocommerce-message,.woocommerce-thankyou-order-received{align-items:center;padding-inline-start:55px}}.woocommerce-info li,.woocommerce-error li,.woocommerce-message li,.woocommerce-thankyou-order-received li{width:100%;margin-bottom:.3em}.woocommerce-info .button,.woocommerce-info .showlogin,.woocommerce-info .restore-item,.woocommerce-error .button,.woocommerce-error .showlogin,.woocommerce-error .restore-item,.woocommerce-message .button,.woocommerce-message .showlogin,.woocommerce-message .restore-item,.woocommerce-thankyou-order-received .button,.woocommerce-thankyou-order-received .showlogin,.woocommerce-thankyou-order-received .restore-item{order:2;--theme-button-font-size: 14px;--theme-button-min-height: 45px;--theme-button-padding: 5px 20px}@media(max-width: 479.98px){.woocommerce-info .button,.woocommerce-info .showlogin,.woocommerce-info .restore-item,.woocommerce-error .button,.woocommerce-error .showlogin,.woocommerce-error .restore-item,.woocommerce-message .button,.woocommerce-message .showlogin,.woocommerce-message .restore-item,.woocommerce-thankyou-order-received .button,.woocommerce-thankyou-order-received .showlogin,.woocommerce-thankyou-order-received .restore-item{margin-top:10px !important}}@media(min-width: 480px){.woocommerce-info .button,.woocommerce-info .showlogin,.woocommerce-info .restore-item,.woocommerce-error .button,.woocommerce-error .showlogin,.woocommerce-error .restore-item,.woocommerce-message .button,.woocommerce-message .showlogin,.woocommerce-message .restore-item,.woocommerce-thankyou-order-received .button,.woocommerce-thankyou-order-received .showlogin,.woocommerce-thankyou-order-received .restore-item{margin-inline-start:auto !important}}.woocommerce-info:before,.woocommerce-error:before,.woocommerce-message:before,.woocommerce-thankyou-order-received:before{position:absolute;width:18px;height:18px;font-family:"woo";content:"";font-size:18px;line-height:18px;opacity:.9}@media(max-width: 479.98px){.woocommerce-info:before,.woocommerce-error:before,.woocommerce-message:before,.woocommerce-thankyou-order-received:before{display:none}}@media(min-width: 480px){.woocommerce-info:before,.woocommerce-error:before,.woocommerce-message:before,.woocommerce-thankyou-order-received:before{top:23px;inset-inline-start:20px}}.woocommerce-info:after,.woocommerce-error:after,.woocommerce-message:after,.woocommerce-thankyou-order-received:after{display:table;content:"";clear:both}.woocommerce ul.woocommerce-error{flex-direction:column;justify-content:center;margin-bottom:2rem}.woocommerce ul.woocommerce-error li{display:flex;align-items:center;flex-wrap:wrap;gap:.3em}div.quantity{position:relative;display:inline-block;width:var(--quantity-width, 70px);height:var(--quantity-height, 55px)}div.quantity input[type=number]{font-weight:500;text-align:center;max-width:initial;height:inherit;border-radius:var(--theme-form-field-border-radius, 3px) !important;--theme-form-font-size: 0.9em;--theme-form-field-height: 100%;--theme-form-field-border-style: solid;--theme-form-field-border-initial-color: var(--quantity-initial-color, var(--theme-button-background-initial-color));--theme-form-field-background-initial-color: transparent}div.quantity[data-type] input[type=number]{-moz-appearance:textfield}div.quantity[data-type] input[type=number]::-webkit-inner-spin-button,div.quantity[data-type] input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}div.quantity .ct-increase,div.quantity .ct-decrease{display:flex;align-items:center;justify-content:center;position:absolute;z-index:1;cursor:pointer;-webkit-user-select:none;user-select:none;color:var(--quantity-arrows-initial-color, #fff);background:var(--quantity-initial-color, var(--theme-button-background-initial-color));transition:all .12s cubic-bezier(0.455, 0.03, 0.515, 0.955)}div.quantity .ct-increase:before,div.quantity .ct-decrease:before{font-family:"woo";font-weight:normal;line-height:normal}div.quantity .ct-increase:hover,div.quantity .ct-decrease:hover{color:var(--quantity-arrows-hover-color, #fff);background:var(--quantity-hover-color, var(--theme-button-background-hover-color))}div.quantity .ct-increase~input[type=number]:focus,div.quantity .ct-decrease~input[type=number]:focus{border-color:var(--quantity-initial-color, var(--theme-button-background-initial-color));box-shadow:0 0 0 1px var(--quantity-initial-color, var(--theme-button-background-initial-color))}div.quantity.hidden{display:none}.quantity[data-type=type-1]{width:var(--quantity-width, 100px)}.quantity[data-type=type-1] input[type=number]{padding-block:0px;padding-inline-start:5px;padding-inline-end:calc(25% + 3px);border-width:1px;border-inline-end-width:0}.quantity[data-type=type-1] .ct-increase,.quantity[data-type=type-1] .ct-decrease{inset-inline-end:0;border-radius:0;width:25%;max-width:25px}.quantity[data-type=type-1] .ct-increase:before,.quantity[data-type=type-1] .ct-decrease:before{content:"";font-size:calc(var(--quantity-height, 55px)/6.7)}.quantity[data-type=type-1] .ct-increase{top:0;height:calc(50% - 1px);border-start-end-radius:var(--theme-form-field-border-radius, 3px)}.quantity[data-type=type-1] .ct-decrease{bottom:0;height:50%;border-end-end-radius:var(--theme-form-field-border-radius, 3px)}.quantity[data-type=type-1] .ct-decrease:before{transform:scale(1, -1)}.quantity[data-type=type-2]{width:var(--quantity-width, 130px)}.quantity[data-type=type-2] input[type=number]{border-width:1px;padding-block:0px;padding-inline:calc(var(--quantity-height, 55px)/1.8 + 9%)}.quantity[data-type=type-2] .ct-increase,.quantity[data-type=type-2] .ct-decrease{top:calc(50% - var(--quantity-height, 55px)/3.6);width:calc(var(--quantity-height, 55px)/1.8);height:calc(var(--quantity-height, 55px)/1.8);border-radius:var(--theme-form-field-border-radius, 3px);--quantity-initial-color: transparent}.quantity[data-type=type-2] .ct-increase:before,.quantity[data-type=type-2] .ct-decrease:before{margin-top:2px;font-size:calc(var(--quantity-height, 55px)/5.5)}.quantity[data-type=type-2] .ct-increase{inset-inline-end:9%}.quantity[data-type=type-2] .ct-increase:before{content:""}.quantity[data-type=type-2] .ct-decrease{inset-inline-start:9%}.quantity[data-type=type-2] .ct-decrease:before{content:""}@media(max-width: 479.98px){.cart_item .product-mobile-actions .quantity[data-type=type-2],.mini_cart_item .ct-product-actions .quantity[data-type=type-2],table.shop_table .ct-checkout-cart-item .quantity[data-type=type-2]{--quantity-width: 80px;--quantity-height: 38px}}.shop_table .quantity{font-size:14px;--quantity-height: 40px}.shop_table .quantity[data-type=type-1]{--quantity-width: 70px}.shop_table .quantity[data-type=type-2]{--quantity-width: 100px}.wc-block-components-combobox input,.wc-block-components-text-input input{height:initial}.cart_totals.processing>*,.ct-cart-content.processing>*,.woocommerce-checkout.processing>*,.woocommerce-cart-form.processing>*,.woocommerce-mini-cart-item.processing>*{pointer-events:none;opacity:.2;transition:opacity .25s ease}.cart_totals .blockUI,.ct-cart-content .blockUI,.woocommerce-checkout .blockUI,.woocommerce-cart-form .blockUI,.woocommerce-mini-cart-item .blockUI{background:rgba(0,0,0,0) !important}.cart_totals .blockOverlay,.woocommerce-checkout .blockOverlay,.woocommerce-cart-form .blockOverlay{opacity:1 !important}.cart_totals .blockOverlay:before,.woocommerce-checkout .blockOverlay:before,.woocommerce-cart-form .blockOverlay:before{content:"";position:absolute;inset:0;width:var(--overlay-loader-size, 23px);height:var(--overlay-loader-size, 23px);margin:auto;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 40 40'%3E%3Cpath opacity='.2' fill='currentColor' d='M20.201 5.169c-8.254 0-14.946 6.692-14.946 14.946 0 8.255 6.692 14.946 14.946 14.946s14.946-6.691 14.946-14.946c-.001-8.254-6.692-14.946-14.946-14.946zm0 26.58c-6.425 0-11.634-5.208-11.634-11.634 0-6.425 5.209-11.634 11.634-11.634 6.425 0 11.633 5.209 11.633 11.634 0 6.426-5.208 11.634-11.633 11.634z'%3E%3C/path%3E%3Cpath fill='currentColor' d='m26.013 10.047 1.654-2.866a14.855 14.855 0 0 0-7.466-2.012v3.312c2.119 0 4.1.576 5.812 1.566z'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 20 20' to='360 20 20' dur='0.5s' repeatCount='indefinite'%3E%3C/animateTransform%3E%3C/path%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 40 40'%3E%3Cpath opacity='.2' fill='currentColor' d='M20.201 5.169c-8.254 0-14.946 6.692-14.946 14.946 0 8.255 6.692 14.946 14.946 14.946s14.946-6.691 14.946-14.946c-.001-8.254-6.692-14.946-14.946-14.946zm0 26.58c-6.425 0-11.634-5.208-11.634-11.634 0-6.425 5.209-11.634 11.634-11.634 6.425 0 11.633 5.209 11.633 11.634 0 6.426-5.208 11.634-11.633 11.634z'%3E%3C/path%3E%3Cpath fill='currentColor' d='m26.013 10.047 1.654-2.866a14.855 14.855 0 0 0-7.466-2.012v3.312c2.119 0 4.1.576 5.812 1.566z'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 20 20' to='360 20 20' dur='0.5s' repeatCount='indefinite'%3E%3C/animateTransform%3E%3C/path%3E%3C/svg%3E")}.woocommerce-checkout>.blockOverlay{position:fixed !important}.woocommerce-password-strength{font-size:13px;font-weight:500;padding:4px 12px;margin-top:.5em}.woocommerce-password-strength.strong{background-color:#c1e1b9}.woocommerce-password-strength.good{background-color:#ffe399}.woocommerce-password-strength.short{background-color:#f1adad}.woocommerce-password-strength.bad{background-color:#fbc5a9}.woocommerce-password-hint{display:block;margin-top:.5em}[data-products]{display:grid;grid-template-columns:var(--shop-columns);grid-column-gap:var(--grid-columns-gap, 30px);grid-row-gap:var(--grid-rows-gap, 30px)}@media(min-width: 1000px){[data-products].columns-2{--shop-columns: repeat(2, minmax(0, 1fr))}[data-products].columns-3{--shop-columns: repeat(3, minmax(0, 1fr))}[data-products].columns-4{--shop-columns: repeat(4, minmax(0, 1fr))}[data-products].columns-5{--shop-columns: repeat(5, minmax(0, 1fr))}[data-products].columns-6{--shop-columns: repeat(6, minmax(0, 1fr))}}[data-products] .product{display:flex;flex-direction:column;align-items:var(--horizontal-alignment);text-align:var(--text-horizontal-alignment);position:relative}[data-products] .product>*{margin-bottom:var(--product-element-spacing, 10px)}[data-products] .product>*:last-child{margin-bottom:0}[data-products] figure{display:flex;flex-direction:column;position:relative;width:100%}[data-products] .ct-media-container{border-radius:var(--theme-border-radius)}[data-products] .woocommerce-loop-product__title,[data-products] .woocommerce-loop-category__title{--theme-content-spacing: 0;--theme-link-initial-color: initial}[data-products] .price{--theme-font-size: 15px}[data-products] .ct-woo-card-extra,[data-products] .ct-woo-card-actions{--theme-icon-size: 14px;--theme-icon-color: currentColor;--theme-button-shadow: none;--theme-button-transform: none}[data-products] .ct-woo-card-extra{position:absolute;z-index:2;--theme-button-border: none}[data-products] .ct-woo-card-actions{margin-top:auto}[data-products] .add_to_cart_button.added{display:none}[data-products=type-2] .product{position:relative;display:flex;flex-direction:column;overflow:hidden;padding-inline:20px;padding-bottom:20px;box-shadow:var(--theme-box-shadow);border-radius:var(--theme-border-radius);background:var(--backgroundColor, var(--theme-palette-color-8));--horizontal-alignment: center;--text-horizontal-alignment: center}[data-products=type-2] .ct-media-container{border-radius:0}[data-products=type-2] figure,[data-products=type-2] .ct-woo-card-actions{width:calc(100% + 40px);margin-inline:-20px}[data-products=type-2] .ct-woo-card-actions{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;align-items:center;border-block:1px solid rgba(0,0,0,.05)}[data-products=type-2] .ct-woo-card-actions:first-child{border-top:0}[data-products=type-2] .ct-woo-card-actions:last-child{border-bottom:none;margin-bottom:-20px}[data-products=type-2] .ct-woo-card-actions>*{padding:5px;min-height:55px}[data-products=type-2] .ct-woo-card-actions .price{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;column-gap:5px}[data-products=type-2] .ct-woo-card-actions .price:not(:only-child):after{position:absolute;content:"";inset-inline-end:0;width:1px;height:30px;top:calc(50% - 15px);background:rgba(0,0,0,.05)}[data-products=type-2] .ct-woo-card-actions .button{border:none;background-color:rgba(0,0,0,0)}@media(any-hover: hover){[data-products=type-3] .product:hover .ct-woo-card-extra{opacity:1;bottom:15px}}.ct-woo-card-extra[data-type=type-2]{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;inset-inline:15px}@media(any-hover: hover){.ct-woo-card-extra[data-type=type-2]{opacity:0;bottom:0px;transition:opacity .15s ease,bottom .15s ease}}@media(any-hover: none){.ct-woo-card-extra[data-type=type-2]{bottom:15px}}.ct-woo-card-extra[data-type=type-2] a{justify-content:center;padding:5px;border-radius:0;min-height:50px}.ct-woo-card-extra[data-type=type-2] a.loading svg{display:none}.ct-woo-card-extra[data-type=type-2] a.added_to_cart,.ct-woo-card-extra[data-type=type-2] a[data-button-state=active]{color:var(--theme-button-text-hover-color)}.ct-woo-card-extra[data-type=type-2] a .ct-tooltip{transform:translate3d(0px, -45px, 0px)}@media(any-hover: hover){.ct-woo-card-extra[data-type=type-2] a:hover .ct-tooltip{opacity:1;visibility:visible;transform:translate3d(0px, -50px, 0px)}}.ct-media-container .zoomImg{z-index:2;cursor:default;object-fit:initial;object-position:initial;transition:opacity .1s ease !important;background:var(--zoom-image-background, #fff)}.woocommerce-product-gallery__trigger{position:absolute;top:20px;inset-inline-end:20px;z-index:9;width:39px;height:39px;text-indent:-9999px;border-radius:100%;color:var(--lightbox-button-icon-color, var(--theme-text-color));background:var(--lightbox-button-background-color, #fff)}.woocommerce-product-gallery__trigger:hover{color:var(--lightbox-button-icon-hover-color, #fff);background:var(--lightbox-button-hover-background-color, var(--theme-palette-color-1))}.woocommerce-product-gallery__trigger:before{position:absolute;inset:0;content:"";background-color:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 39 39'%3E%3Cpath d='M27.1,26.5l-0.6-0.6c0,0,0,0,0,0l-1.6-1.6c1.1-1.2,1.8-2.8,1.9-4.5c0.3-4.1-2.8-7.8-6.9-8.1c-4.1-0.3-7.8,2.8-8.1,6.9 c-0.3,4.1,2.8,7.8,6.9,8.1c1.7,0.1,3.3-0.3,4.7-1.2l1.7,1.6c0,0,0,0,0,0l0.6,0.6c0.2,0.2,0.4,0.3,0.6,0.3c0,0,0,0,0.1,0 c0.3,0,0.5-0.1,0.6-0.3c0.2-0.2,0.3-0.4,0.3-0.6C27.4,26.9,27.3,26.7,27.1,26.5z M23,23.5c-1.1,1-2.6,1.5-4.1,1.4 c-1.5-0.1-2.9-0.8-3.9-2c-1-1.1-1.5-2.6-1.4-4.1c0.1-1.5,0.8-2.9,2-3.9c1-0.9,2.3-1.4,3.7-1.4c0.1,0,0.3,0,0.4,0 c1.5,0.1,2.9,0.8,3.9,2c1,1.1,1.5,2.6,1.4,4.1C24.9,21.2,24.2,22.5,23,23.5z'/%3E%3C/svg%3E")}.woocommerce .pswp__bg,.woocommerce-page .pswp__bg{opacity:.7 !important}.ct-lightbox-video-container{position:absolute;top:50%;inset-inline:10%;margin:auto;max-width:150vh;aspect-ratio:16/9;transform:translateY(-50%)}.ct-lightbox-video-container video,.ct-lightbox-video-container iframe{position:absolute;inset:0;width:100%;height:100%;background:#000}.product[class*=gallery] .entry-summary-items>*{margin-bottom:var(--product-element-spacing, 10px)}.product[class*=gallery] .entry-summary-items>*:last-child{margin-bottom:0}.ct-quick-view-card .product_meta>span,.product[class*=gallery] .product_meta>span{font-size:13px;letter-spacing:.05em;text-transform:uppercase;font-weight:700;display:block}.ct-quick-view-card .product_meta>span:not(:last-child),.product[class*=gallery] .product_meta>span:not(:last-child){margin-bottom:5px}.ct-quick-view-card .product_meta>span>*,.product[class*=gallery] .product_meta>span>*{opacity:.7;font-weight:500;--theme-link-initial-color: var(--theme-text-color)}.ct-quick-view-card .product_meta>span>a:hover,.product[class*=gallery] .product_meta>span>a:hover{opacity:1}.woocommerce-product-rating{display:flex;align-items:center}.woocommerce-product-rating .woocommerce-review-link{margin-inline-start:10px;font-size:12px;--theme-link-initial-color: var(--theme-text-color)}.comment-form-rating{display:flex;align-items:center}.comment-form-rating label{margin-bottom:0;font-size:12px;font-weight:500;text-transform:uppercase}.comment-form-rating .stars{color:var(--star-rating-initial-color, #fda256);font-size:.9em}.comment-form-rating .stars span{display:flex}.comment-form-rating .stars a{position:relative;display:inline-block;width:1em;height:1em;text-indent:-999em;text-decoration:none;color:currentColor;margin-inline-start:8px}.comment-form-rating .stars a:before{position:absolute;display:block;top:0;left:0;width:1em;height:1em;font-family:"star";content:"s";line-height:1;text-indent:0}.comment-form-rating .stars a:hover~a:before{content:"s"}.comment-form-rating .stars:hover a:before{content:"S"}.comment-form-rating .stars.selected a.active:before{content:"S"}.comment-form-rating .stars.selected a.active~a:before{content:"s"}.comment-form-rating .stars.selected a:not(.active):before{content:"S"}@media(min-width: 1000px){.ct-order-review,.sticky-summary .entry-summary,.sticky-gallery .woocommerce-product-gallery{align-self:flex-start;position:sticky;top:calc(50px + var(--admin-bar, 0px) + var(--header-sticky-height, 0px)*var(--sticky-shrink, 100)/100)}}.woocommerce-product-gallery{transition:opacity .3s ease}.woocommerce-product-gallery[data-state=loading]{opacity:.3}.woocommerce-product-gallery .ct-media-container{display:flex}@media(min-width: 1000px){.ct-default-gallery .product-entry-wrapper,.ct-stacked-gallery .product-entry-wrapper{display:flex}}@media(min-width: 690px)and (max-width: 999.98px){.ct-default-gallery .woocommerce-product-gallery,.ct-stacked-gallery .woocommerce-product-gallery{width:100%}}@media(min-width: 1000px){.ct-default-gallery .woocommerce-product-gallery,.ct-stacked-gallery .woocommerce-product-gallery{width:var(--product-gallery-width, 50%)}}@media(min-width: 690px)and (max-width: 999.98px){.ct-default-gallery .entry-summary,.ct-stacked-gallery .entry-summary{width:100%}}@media(min-width: 1000px){.ct-default-gallery .entry-summary,.ct-stacked-gallery .entry-summary{margin-inline-start:40px;width:calc(100% - var(--product-gallery-width, 50%))}}div.woocommerce-product-gallery{position:relative;overflow:hidden;align-self:flex-start}@media(max-width: 999.98px){div.woocommerce-product-gallery{margin-bottom:3em}}div.woocommerce-product-gallery .ct-product-gallery-container{position:relative}div.woocommerce-product-gallery ol{margin:var(--thumbs-container-margin, 0 calc(var(--thumbs-spacing, 15px) / -2))}div.woocommerce-product-gallery li{padding-top:var(--thumbs-top-spacing, var(--thumbs-spacing, 15px));padding-inline:var(--thumbs-left-spacing, calc(var(--thumbs-spacing, 15px) / 2));margin-bottom:0;transition:opacity .25s cubic-bezier(0.215, 0.61, 0.355, 1)}@media(max-width: 479.98px){div.woocommerce-product-gallery li{--thumbs-width: 33.333%}}@media(min-width: 480px)and (max-width: 689.98px){div.woocommerce-product-gallery li{--thumbs-width: 25%}}div.woocommerce-product-gallery li:hover{opacity:.75}div.woocommerce-product-gallery li.active{opacity:1}div.woocommerce-product-gallery li.active .ct-media-container:after{border-color:rgba(0,0,0,.2)}div.woocommerce-product-gallery li .ct-media-container:after{position:absolute;content:"";z-index:2;inset:0;pointer-events:none;border:2px solid rgba(0,0,0,0);transition:border-color .25s cubic-bezier(0.215, 0.61, 0.355, 1)}div.woocommerce-product-gallery li .ct-video-indicator svg{width:30%;height:30%;transform:none}@media(min-width: 690px){.thumbs-left{--thumbs-width: 100px}.thumbs-left .flexy{margin-inline-start:calc(var(--thumbs-width) + var(--thumbs-spacing, 15px))}.thumbs-left .flexy-pills{position:absolute;inset-inline-start:0;inset-block:0;height:100%;--pills-direction: column;--pills-wrap: nowrap;--thumbs-left-spacing: 0;--thumbs-right-spacing: 0;--thumbs-container-margin: calc(var(--thumbs-spacing, 15px) * -1) 0 0 0}.thumbs-left .flexy-pills [data-flexy]{max-height:calc(100% + var(--thumbs-spacing, 15px))}.thumbs-left .flexy-pills [class*=flexy-arrow]{left:calc(50% - 20px);right:initial;--rotate: 90deg}.thumbs-left .flexy-pills .flexy-arrow-prev{top:20px}.thumbs-left .flexy-pills .flexy-arrow-next{top:initial;bottom:20px}}.woocommerce-product-gallery.images img{width:100%}.woocommerce-product-gallery.images img.flex-active{opacity:.5}.woocommerce-product-gallery__wrapper{max-width:initial}.ct-product-divider{display:block;border-top:var(--single-product-layer-divider)}.ct-payment-methods{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:1em;padding:15px 30px 20px 30px}.ct-payment-methods legend{margin:0 auto}.ct-payment-methods[data-color=custom]{--theme-icon-color-2: #fff}.ct-product-additional-info ul li{display:flex;align-items:center;gap:.5em}.ct-product-additional-info ul li:not(:last-child){margin-bottom:.3em}.ct-product-additional-info ul li svg{fill:var(--theme-palette-color-1)}.entry-summary-items .ct-module-title{font-size:14px;font-weight:600}form.cart table{border:none}form.cart td,form.cart th{border:none}form.cart td:first-child,form.cart th:first-child{padding-inline-start:0}form.cart td:last-child,form.cart th:last-child{padding-inline-end:0}.product[class*=gallery] form.cart:before,.product[class*=gallery] form.cart:after{content:"";display:table}.product[class*=gallery] form.cart:after{clear:both}.ct-cart-actions{display:flex;flex-wrap:wrap;gap:10px;--theme-button-padding: 5px 20px}.ct-cart-actions>*{order:var(--item-order, 5);width:var(--item-width, 100%)}.ct-cart-actions .quantity{--item-order: 1;--quantity-height: var(--theme-button-min-height)}@media(max-width: 479.98px){.ct-cart-actions .quantity[data-type=type-1]{--quantity-width: 80px}.ct-cart-actions .quantity[data-type=type-2]{--quantity-width: 100px}}@media(min-width: 480px){.ct-cart-actions{--theme-button-min-height: 55px}}.ct-cart-actions .single_add_to_cart_button{flex:1;--item-order: 2}.ct-cart-actions .added_to_cart{--item-order: 3;--theme-button-text-initial-color: var(--theme-text-color);--theme-button-text-hover-color: var(--theme-text-color);--theme-button-background-initial-color: rgba(224,229,235,0.6);--theme-button-background-hover-color: rgba(224,229,235,1)}@media(min-width: 480px){.ct-cart-actions .added_to_cart{flex:1}}@media(min-width: 690px){.ct-cart-actions .single_add_to_cart_button,.ct-cart-actions .added_to_cart{max-width:var(--theme-button-max-width)}}form.grouped_form{--form-margin-bottom: 0}form.grouped_form table{margin-bottom:1em}form.grouped_form td{padding-top:0;padding-bottom:1.5em}form.grouped_form td:not(:last-child){padding-inline-end:.6em}form.grouped_form .woocommerce-grouped-product-list-item__quantity{width:4em;font-size:14px;--quantity-height: 45px}form.grouped_form .woocommerce-grouped-product-list-item__quantity .quantity[data-type=type-1]{--quantity-width: 70px}form.grouped_form .woocommerce-grouped-product-list-item__quantity .quantity[data-type=type-2]{--quantity-width: 90px}form.grouped_form .woocommerce-grouped-product-list-item__label{padding-inline-start:.6em;padding-inline-end:1.2em}form.grouped_form .woocommerce-grouped-product-list-item__label label{--theme-font-size: 16px;--theme-font-weight: 500;--theme-link-initial-color: var(--theme-text-color)}form.grouped_form .woocommerce-grouped-product-list-item__price{font-weight:500;text-align:right}form.grouped_form .woocommerce-grouped-product-list-item__price .sale-price{flex-wrap:nowrap}form.grouped_form .woocommerce-grouped-product-list-item__price del{order:initial;margin-inline-end:5px;margin-inline-start:0}@media(max-width: 479.98px){form.grouped_form .added_to_cart,form.grouped_form .single_add_to_cart_button{width:100%}}@media(min-width: 480px){form.grouped_form .added_to_cart,form.grouped_form .single_add_to_cart_button{float:left;width:calc(50% - 7px)}}form.variations_form table.variations{margin-bottom:1.5em}form.variations_form table.variations tr{display:flex;flex-direction:column;gap:10px}form.variations_form table.variations tr:not(:last-child){margin-bottom:1.5em}form.variations_form table.variations th,form.variations_form table.variations td{padding:0;text-align:initial}form.variations_form table.variations label{display:block;margin-bottom:0;font-weight:500}form.variations_form table.variations select{width:100%;max-width:100%}form.variations_form .single_variation{display:none}form.variations_form .single_variation,form.variations_form .wc-no-matching-variations{margin-bottom:1.5em}.entry-summary-items table.variations td{display:flex;align-items:center;flex-wrap:wrap;gap:10px}table.variations .reset_variations{visibility:hidden;font-size:14px;--theme-link-initial-color: var(--theme-text-color)}.product>.woocommerce-tabs{padding-top:60px;clear:both}.woocommerce div.product div.woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;align-items:var(--vertical-alignment, center)}@media(max-width: 689.98px){.woocommerce div.product div.woocommerce-tabs ul.tabs{flex-direction:column;--vertical-alignment: stretch}}@media(min-width: 690px){.woocommerce div.product div.woocommerce-tabs ul.tabs{justify-content:var(--horizontal-alignment, center)}}.woocommerce div.product div.woocommerce-tabs ul.tabs li{position:relative;display:inline-flex}@media(max-width: 689.98px){.woocommerce div.product div.woocommerce-tabs ul.tabs li{border-top:1px solid var(--tab-border-color, var(--theme-border-color))}}.woocommerce div.product div.woocommerce-tabs ul.tabs li a{position:relative;width:100%;text-align:center;line-height:inherit;padding:1.3em 1.5em}.woocommerce div.product div.woocommerce-tabs ul.tabs li.active{z-index:1}.woocommerce div.product div.woocommerce-tabs ul.tabs li.active:before{position:absolute;content:"";height:3px;inset-inline:0;bottom:-2px;background:var(--tab-background, var(--theme-palette-color-1))}.woocommerce div.product div.woocommerce-tabs ul.tabs li.active a{color:var(--theme-link-active-color, var(--theme-link-hover-color))}.woocommerce div.product div.woocommerce-tabs div.woocommerce-Tabs-panel.panel{padding-top:40px}.woocommerce div.product div.woocommerce-tabs .ct-has-heading>h2:first-of-type{font-size:20px}.woocommerce-tabs[data-type*=type-1] .tabs{border-bottom:1px solid var(--tab-border-color, var(--theme-border-color))}.woocommerce-tabs[data-type*=type-2] .tabs li{border:1px solid var(--tab-border-color, var(--theme-border-color))}@media(max-width: 689.98px){.woocommerce-tabs[data-type*=type-2] .tabs li:not(:first-child){margin-top:-1px}}@media(min-width: 690px){.woocommerce-tabs[data-type*=type-2] .tabs li{margin-inline-end:-1px}}.woocommerce-tabs[data-type*=type-2] .tabs li:before{display:none}.woocommerce-tabs[data-type*=type-2] .tabs li.active a{background:var(--tab-background, var(--theme-palette-color-1))}@media(min-width: 690px){.woocommerce-tabs[data-type*=type-2] .tabs:before,.woocommerce-tabs[data-type*=type-2] .tabs:after{flex:1 0 auto;height:1px;background:var(--tab-border-color, var(--theme-border-color))}}@media(min-width: 690px){.woocommerce-tabs[data-type*=type-2][data-type*=left] .tabs:after{content:""}.woocommerce-tabs[data-type*=type-2][data-type*=center] .tabs:before,.woocommerce-tabs[data-type*=type-2][data-type*=center] .tabs:after{content:""}.woocommerce-tabs[data-type*=type-2][data-type*=right] .tabs:before{content:""}}.woocommerce-tabs[data-type*=type-3] .ct-accordion-heading{display:flex;align-items:center;justify-content:space-between;color:var(--theme-link-initial-color);padding:18px 0;cursor:pointer;-webkit-appearance:none;appearance:none;background:rgba(0,0,0,0);transition:color .12s ease;border-top:1px solid var(--tab-border-color, var(--theme-border-color))}.woocommerce-tabs[data-type*=type-3] .ct-accordion-heading:hover{color:var(--theme-link-hover-color)}.woocommerce-tabs[data-type*=type-3] .ct-accordion-heading[aria-expanded=true]{color:var(--theme-link-active-color, var(--theme-link-hover-color))}.woocommerce-tabs[data-type*=type-3] .ct-accordion-heading[aria-expanded=true] .plus-line{display:none}.woocommerce-tabs[data-type*=type-3] .entry-content{padding-block:15px 35px}.woocommerce-tabs[data-type*=type-4]>article .entry-content:not(:last-child){margin-bottom:var(--woo-separated-tabs-spacing, 50px)}.woocommerce-tabs[data-type*=left]{--horizontal-alignment: flex-start}.woocommerce-tabs[data-type*=right]{--horizontal-alignment: flex-end}.ct-product-brands-tab>*:last-child{margin-bottom:0}.woocommerce-product-attributes{font-size:15px}.woocommerce-product-attributes p:last-child{margin-bottom:0}.woocommerce-product-attributes th{font-weight:500;text-align:initial}.woocommerce-product-attributes tr:nth-child(even) th,.woocommerce-product-attributes tr:nth-child(even) td{background:rgba(242,244,247,.5)}@media(min-width: 1000px){[data-content=normal] .woocommerce-Reviews{grid-template-columns:repeat(2, 1fr);column-gap:5%}}.entry-summary .woocommerce-Reviews{grid-template-columns:auto}.woocommerce-Reviews{display:grid;row-gap:40px}.woocommerce-Reviews h2,.woocommerce-Reviews .comment-reply-title{font-size:20px;margin-bottom:20px}.woocommerce-Reviews .comment-notes,.woocommerce-Reviews .woocommerce-noreviews{font-size:13px}.woocommerce-Reviews .commentlist li{border-top:1px solid var(--theme-border-color)}.woocommerce-Reviews .commentlist li:not(:last-child) .comment_container{padding-bottom:40px}@media(max-width: 689.98px){.woocommerce-Reviews .commentlist .children{--theme-list-indent: 35px}}@media(min-width: 690px){.woocommerce-Reviews .commentlist .children{--theme-list-indent: 70px}}.woocommerce-Reviews .comment_container{display:grid;gap:25px;padding-top:40px}@media(min-width: 480px){.woocommerce-Reviews .ct-has-avatar .comment_container{grid-template-columns:45px 1fr}}.woocommerce-Reviews .avatar{max-width:45px;border-radius:100%}.woocommerce-Reviews .description{word-break:break-word}.woocommerce-Reviews .description *:last-child{margin-bottom:0}@media(max-width: 479.98px){.woocommerce-Reviews .star-rating{margin-bottom:7px}}@media(min-width: 480px){.woocommerce-Reviews .star-rating{float:right;margin-top:3px}}.woocommerce-Reviews .meta{display:flex;flex-wrap:wrap;align-items:center;line-height:20px}.woocommerce-Reviews .meta :is(em,time,span){font-size:11px;font-weight:500;text-transform:uppercase;margin-inline-start:.7em}.woocommerce-Reviews>.clear{display:none}#review_form{position:sticky;top:70px}#review_form .comment-reply-title{font-weight:700;color:var(--theme-headings-color)}.single-product article>.related,.single-product article>.up-sells{margin-top:50px}.single-product article>.related>h2,.single-product article>.up-sells>h2{font-size:20px;margin-bottom:30px}.single-product article>.related .flexy-container [data-products],.single-product article>.up-sells .flexy-container [data-products]{gap:0;margin-inline:calc(var(--grid-columns-gap, 30px)/-2)}.single-product article>.related .flexy-container [data-products] .flexy-item,.single-product article>.up-sells .flexy-container [data-products] .flexy-item{flex:0 0 var(--grid-columns-width, 25%);width:var(--grid-columns-width, 25%);padding-inline:calc(var(--grid-columns-gap, 30px)/2)}.single-product article>.related .flexy-container [data-products] .product,.single-product article>.up-sells .flexy-container [data-products] .product{height:100%}.ct-woocommerce-cart-form{display:grid}@media(max-width: 999.98px){.ct-woocommerce-cart-form{grid-row-gap:50px}}@media(min-width: 1000px){.ct-woocommerce-cart-form{grid-template-columns:2fr 1fr;grid-column-gap:50px}}@media(min-width: 690px){.ct-woocommerce-cart-form .woocommerce-cart-form table:first-child{margin-top:7px}}.woocommerce-checkout .ct-woocommerce-cart-form{grid-template-columns:initial}.ct-cart-auto-update .actions button[name=update_cart]{display:none}.woocommerce-cart-form .shop_table{margin-bottom:0}@media(max-width: 689.98px){[class*=ct-woocommerce] .shop_table{--theme-table-padding: 1.3em 0.7em}}@media(min-width: 690px){[class*=ct-woocommerce] .shop_table{--theme-table-padding: 1.5em 0.7em}}@media(max-width: 999.98px){[class*=ct-woocommerce] .shop_table [class*=product-thumbnail]{width:120px}}@media(min-width: 1000px){[class*=ct-woocommerce] .shop_table [class*=product-thumbnail]{width:100px}}[class*=ct-woocommerce] .shop_table [class*=product-thumbnail] img{border-radius:2px}@media(min-width: 690px){[class*=ct-woocommerce] .shop_table [class*=product-name]{max-width:300px}}@media(max-width: 999.98px){[class*=ct-woocommerce] .shop_table [class*=product-name]{padding-inline-end:0}}[class*=ct-woocommerce] .shop_table [class*=product-name] .price{--theme-font-size: 15px;--theme-font-weight: normal;margin-top:5px;margin-bottom:0}[class*=ct-woocommerce] .shop_table tr>[class*=product-remove]{width:20px;text-align:end}[class*=ct-woocommerce] .shop_table .remove{--theme-icon-size: 12px}[class*=ct-woocommerce] .shop_table .remove:hover svg{fill:#d83428}[class*=ct-woocommerce] .shop_table .product-mobile-actions{display:flex;align-items:center;gap:12px;margin-top:1em}[class*=ct-woocommerce] .shop_table .product-mobile-actions .remove{margin-inline-start:auto;padding-inline-start:10px}@media(max-width: 999.98px){[class*=ct-woocommerce] .shop_table tr>.product-price,[class*=ct-woocommerce] .shop_table tr>.product-quantity,[class*=ct-woocommerce] .shop_table tr>.product-subtotal,[class*=ct-woocommerce] .shop_table tr>.product-remove{display:none}}[class*=ct-woocommerce] .shop_table .product-quantity,[class*=ct-woocommerce] .shop_table .product-subtotal{text-align:center}.woocommerce-cart-form__contents .actions{text-align:right}@media(max-width: 689.98px){.woocommerce-cart-form__contents .actions .button{width:100%}}.woocommerce-cart-form__contents .coupon{display:flex}@media(max-width: 689.98px){.woocommerce-cart-form__contents .coupon{flex-direction:column;margin-bottom:.8em}}@media(min-width: 690px){.woocommerce-cart-form__contents .coupon{float:left}}.woocommerce-cart-form__contents .coupon label{display:none}.woocommerce-cart-form__contents .coupon input{--theme-form-field-height: var(--theme-button-min-height)}@media(max-width: 689.98px){.woocommerce-cart-form__contents .coupon input{width:100%;margin-bottom:.8em}}@media(min-width: 690px){.woocommerce-cart-form__contents .coupon input{width:220px;margin-inline-end:8px}}.cart_totals .wc-proceed-to-checkout a{width:100%}.cart_totals .shipping-calculator-button{display:block;margin:10px 0}.ct-woocommerce-cart-form .cart_totals{align-self:flex-start;position:sticky;top:calc(50px + var(--admin-bar, 0px) + var(--header-sticky-height, 0px)*var(--sticky-shrink, 100)/100);border:2px solid var(--theme-border-color)}@media(max-width: 689.98px){.ct-woocommerce-cart-form .cart_totals{padding:25px}}@media(min-width: 690px){.ct-woocommerce-cart-form .cart_totals{padding:30px}}.ct-woocommerce-cart-form .cart_totals h2{font-size:15px}.ct-woocommerce-cart-form .cart_totals table td{text-align:var(--theme-table-text-align, end)}@media(max-width: 689.98px){.ct-woocommerce-cart-form .cart_totals table td{padding-inline-start:0}}.ct-woocommerce-cart-form .cart_totals .wc-proceed-to-checkout{margin-top:30px}.ct-woocommerce-cart-form .cart_totals .wc-proceed-to-checkout a{width:100%}.ct-woocommerce-cart-form .cart_totals .shipping-calculator-button{display:block;margin:10px 0}.cross-sells{margin-top:50px}.cross-sells h2{font-size:20px;margin-bottom:20px}.cross-sells .products{margin:0}.cross-sells .add_to_cart_button.added{display:initial}dl.variation{margin-top:.5em;--theme-description-list-indent: 0;--theme-description-list-spacing: 0}dl.variation:not(:last-child){margin-bottom:.5em}dl.variation dt{display:inline-block;margin-inline-end:.25em;float:left;clear:both}.showcoupon{padding-left:5px;text-decoration:underline}.checkout_coupon{margin-bottom:2rem;border-bottom:1px dashed rgba(224,229,235,.8)}.checkout_coupon p:first-child{display:none}@media(min-width: 690px){.checkout_coupon .form-row{width:49%;margin-bottom:2rem}}.ct-woocommerce-checkout{display:grid}@media(max-width: 999.98px){.ct-woocommerce-checkout{grid-row-gap:40px}}@media(min-width: 1000px){.ct-woocommerce-checkout{grid-template-columns:repeat(2, 1fr);grid-column-gap:35px}.ct-woocommerce-checkout>.woocommerce-error,.ct-woocommerce-checkout>.woocommerce-NoticeGroup{grid-column:1/-1}}.ct-woocommerce-checkout h3{font-size:17px}#customer_details .col-2{margin-top:40px}#customer_details .col-2 .form-row:last-child{margin-bottom:0}#ship-to-different-address label{font-size:15px;font-weight:600}.woocommerce-NoticeGroup-checkout{grid-column:1/-1}.ct-order-review{align-self:flex-start;border:2px solid var(--theme-border-color)}@media(max-width: 689.98px){.ct-order-review{padding:30px 25px}}@media(min-width: 690px){.ct-order-review{padding:40px 35px}}.ct-order-review table.shop_table .product-total,.ct-order-review table.shop_table tfoot td{text-align:var(--theme-table-text-align, end)}@media(max-width: 689.98px){.woocommerce-checkout-payment{position:relative;margin-inline:-26px}}.woocommerce-checkout-payment .place-order{margin-top:30px;margin-top:2em}@media(max-width: 689.98px){.woocommerce-checkout-payment .place-order{padding:0 25px}}.woocommerce-checkout-payment .place-order .woocommerce-terms-and-conditions-wrapper{font-size:14px;line-height:1.4;margin-bottom:30px}.woocommerce-checkout-payment .place-order button[type=submit]{width:100%}#payment .payment_methods{padding:0;margin-inline:0}#payment .payment_methods li{list-style:none}#payment .payment_methods li.wc_payment_method,#payment .payment_methods li.woocommerce-PaymentMethod{border:1px solid var(--theme-border-color)}#payment .payment_methods li.wc_payment_method:not(:first-child),#payment .payment_methods li.woocommerce-PaymentMethod:not(:first-child){border-top:none}#payment .payment_methods li.wc_payment_method>input[type=radio]:first-child,#payment .payment_methods li.woocommerce-PaymentMethod>input[type=radio]:first-child{display:none}#payment .payment_methods li.wc_payment_method>input[type=radio]:first-child:checked+label:before,#payment .payment_methods li.woocommerce-PaymentMethod>input[type=radio]:first-child:checked+label:before{background:#fff;border-width:5px;border-color:var(--theme-form-selection-field-active-color)}#payment .payment_methods>.wc_payment_method>label,#payment .payment_methods>.woocommerce-PaymentMethod>label{display:flex;align-items:center;margin:0;padding:18px 25px;cursor:pointer;font-size:15px;font-weight:600}#payment .payment_methods>.wc_payment_method>label:before,#payment .payment_methods>.woocommerce-PaymentMethod>label:before{content:"";width:16px;height:16px;min-width:16px;margin-top:2px;margin-inline-end:.7em;border-radius:100%;border:var(--form-selection-control-border-width, var(--theme-form-field-border-width, 1px)) solid var(--theme-form-selection-field-initial-color)}#payment .payment_methods>.wc_payment_method>label img,#payment .payment_methods>.woocommerce-PaymentMethod>label img{max-height:35px;max-width:50%}#payment .payment_methods>.wc_payment_method>label img:first-of-type,#payment .payment_methods>.woocommerce-PaymentMethod>label img:first-of-type{margin-inline-start:auto !important}#payment .payment_methods>.wc_payment_method>label .about_paypal,#payment .payment_methods>.woocommerce-PaymentMethod>label .about_paypal{display:none}#payment .payment_methods .payment_box{padding:25px;border-top:1px solid var(--theme-border-color)}#payment .payment_methods .payment_box p{font-size:14px;line-height:1.5}#payment .payment_methods .payment_box p:last-child{margin-bottom:0}#payment .payment_methods .payment_box .woocommerce-SavedPaymentMethods{margin:0;padding:0}#payment .payment_methods .payment_box .woocommerce-SavedPaymentMethods li:not(:last-child){margin-bottom:.5em}#payment .payment_methods .payment_box fieldset{padding:0;border:none;margin-top:20px}#payment .payment_methods .payment_box fieldset .form-row:not(:first-child){margin-top:15px}.ct-woo-unauthorized>h2{display:none}.ct-woo-unauthorized>.woocommerce-form-login,.ct-woo-unauthorized>.woocommerce-ResetPassword{max-width:450px;margin-inline:auto}.ct-woo-unauthorized>.woocommerce-form-login button[type=submit],.ct-woo-unauthorized>.woocommerce-ResetPassword button[type=submit]{width:100%}.ct-woo-unauthorized label{font-size:14px;font-weight:500}.ct-woo-unauthorized .woocommerce-form-login__rememberme{margin-bottom:var(--theme-content-spacing)}.ct-woo-unauthorized .woocommerce-LostPassword{font-size:14px;margin:0}.ct-woo-unauthorized .woocommerce-ResetPassword .form-row-first:nth-last-of-type(2){width:100%}.ct-woo-unauthorized .col2-set{display:grid}@media(min-width: 690px){.ct-woo-unauthorized .col2-set{grid-template-columns:1fr 1fr}}.ct-woo-unauthorized .col2-set h2{font-size:20px;margin-top:0;margin-bottom:20px}@media(max-width: 689.98px){.ct-woo-unauthorized .col2-set>*:first-child{padding-bottom:30px;border-bottom:1px dashed var(--theme-border-color)}.ct-woo-unauthorized .col2-set>*:last-child{padding-top:30px}}@media(min-width: 690px){.ct-woo-unauthorized .col2-set>*:first-child{padding-inline-end:40px;border-inline-end:1px dashed var(--theme-border-color)}.ct-woo-unauthorized .col2-set>*:last-child{padding-inline-start:40px}}@media(min-width: 690px){.ct-woo-account{display:flex}}.ct-acount-nav{overflow:hidden;align-self:start;border-radius:5px;box-shadow:var(--theme-box-shadow);background:var(--account-nav-background-initial-color, var(--theme-palette-color-8))}@media(max-width: 689.98px){.ct-acount-nav{margin-bottom:30px}}@media(min-width: 690px){.ct-acount-nav{width:20%;min-width:220px;margin-inline-end:30px}}.woocommerce-MyAccount-navigation ul{font-size:15px}.woocommerce-MyAccount-navigation ul li:not(:last-child) a{border-bottom:1px solid var(--account-nav-divider-color, rgba(0, 0, 0, 0.05))}.woocommerce-MyAccount-navigation ul li:hover a,.woocommerce-MyAccount-navigation ul li.is-active a{color:var(--account-nav-text-active-color, var(--theme-palette-color-8));background:var(--account-nav-background-active-color, var(--theme-palette-color-1))}.woocommerce-MyAccount-navigation ul li a{display:flex;align-items:center;height:55px;padding:0 20px;font-weight:500;color:var(--account-nav-text-initial-color, var(--theme-palette-color-3))}.woocommerce-MyAccount-navigation ul li a:before{font-family:"woo";font-size:16px;font-weight:normal;content:"";width:20px;margin-inline-end:15px}.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link--dashboard a:before{content:""}.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link--orders a:before{content:""}.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link--downloads a:before{content:""}.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link--edit-address a:before{content:""}.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link--edit-account a:before{content:""}.woocommerce-MyAccount-navigation ul [class*=ct-wish-list] a:before{content:""}.woocommerce-MyAccount-navigation ul .woocommerce-MyAccount-navigation-link--customer-logout a:before{content:""}.woocommerce-MyAccount-content{flex:1}.woocommerce-MyAccount-content>h2{margin-top:0}.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3{font-size:18px}.woocommerce-MyAccount-content em{font-size:13px;opacity:.8}.woocommerce-MyAccount-content fieldset:not(:last-child){margin-bottom:2em}.woocommerce-MyAccount-content fieldset p:last-child{margin-bottom:0}th.download-file,th.woocommerce-orders-table__header-order-actions{width:20%}@media(min-width: 690px){td.download-file .button,td.woocommerce-orders-table__cell-order-actions .button{width:100%}}td.download-file .button:not(:last-child),td.woocommerce-orders-table__cell-order-actions .button:not(:last-child){margin-bottom:10px;margin-inline-end:10px}.ct-account-welcome{display:flex;align-items:center;padding:20px;border-bottom:1px solid var(--account-nav-divider-color, rgba(0, 0, 0, 0.05))}.ct-account-welcome [class*=ct-media-container]{margin:10px 0;border-radius:100%}.ct-account-user-box{line-height:initial;color:var(--account-nav-text-initial-color, var(--theme-palette-color-3))}.ct-account-user-box:not(:only-child){margin-inline-start:.8em}.ct-account-user-box span{display:flex;flex-wrap:wrap;gap:.3em;font-size:14px;margin-top:.2em;--theme-link-initial-color: var(--account-nav-text-initial-color, var(--theme-palette-color-3))}.woocommerce-Addresses{display:grid}@media(max-width: 689.98px){.woocommerce-Addresses{grid-row-gap:2em}}@media(min-width: 690px){.woocommerce-Addresses{grid-template-columns:repeat(2, 1fr);grid-column-gap:30px}}.woocommerce-Addresses>*{padding:1.5em;border-radius:5px;border:1px dashed var(--theme-border-color)}.woocommerce-Addresses .woocommerce-Address-title h3{font-size:16px}.woocommerce-Addresses .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.woocommerce-Addresses .woocommerce-Address-title h3{margin-bottom:0}.woocommerce-Addresses address{font-size:15px;opacity:.8}.woocommerce-address-fields__field-wrapper{margin-bottom:2em}.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link.loading:after{margin:0;width:16px;height:16px;animation:spin 1s linear infinite}.wc-block-components-product-sale-badge{color:var(--badge-text-color, #fff);background:var(--badge-background-color, var(--theme-palette-color-1));border:none}.wc-block-checkbox-list li label,.wc-block-components-checkbox__label,.woocommerce-widget-layered-nav-list li{display:flex;align-items:center;width:100%}.wc-block-checkbox-list li label .count,.wc-block-checkbox-list li label .wc-filter-element-label-list-count,.wc-block-components-checkbox__label .count,.wc-block-components-checkbox__label .wc-filter-element-label-list-count,.woocommerce-widget-layered-nav-list li .count,.woocommerce-widget-layered-nav-list li .wc-filter-element-label-list-count{opacity:1;font-size:80%;margin-inline-start:auto}.wc-block-checkbox-list__checkbox{width:100%}.wc-block-checkbox-list__checkbox .wc-block-components-checkbox__mark{display:none}.wc-block-checkbox-list li:not([hidden]),.woocommerce-widget-layered-nav-list li:not([hidden]) a{display:flex;align-items:center}.wc-block-checkbox-list li:not([hidden]) input[type=checkbox],.woocommerce-widget-layered-nav-list li:not([hidden]) a input[type=checkbox]{--top: 0}.product_list_widget li{display:grid;grid-template-columns:20% 1fr;grid-column-gap:20px;align-items:center;margin-bottom:var(--mini-cart-items-spacing, 20px)}.product_list_widget .product-data{font-size:13px}.product_list_widget .product-title{display:block;font-size:15px;font-weight:500;padding-inline-end:15px}.product_list_widget .star-rating{margin-top:5px}.product_list_widget .star-rating:not(:last-child){margin-bottom:5px}.product_list_widget .price{font-size:13px;font-weight:500;margin-top:5px}.product_list_widget .woocommerce-Price-amount{font-weight:500}.product_list_widget .reviewer{font-size:13px;font-weight:500;margin-top:5px}.product_list_widget .ct-product-actions{display:flex;align-items:center;gap:12px;margin-top:.7em}.product_list_widget .quantity{--quantity-height: 40px}.product_list_widget .quantity[data-type=type-1]{--quantity-width: 70px}.product_list_widget .quantity[data-type=type-2]{--quantity-width: 100px}.wc-block-price-filter .wc-block-price-filter__range-input-wrapper:before{opacity:initial;background:var(--theme-form-field-border-initial-color)}.wc-block-price-filter .wc-block-components-price-slider__range-input-progress{--range-color: var(--theme-palette-color-1)}.wc-block-price-filter .wc-block-price-filter__range-input::-webkit-slider-thumb{border-color:var(--theme-palette-color-1)}.wc-block-price-filter .wc-block-price-filter__range-input:hover::-webkit-slider-thumb,.wc-block-price-filter .wc-block-price-filter__range-input:focus::-webkit-slider-thumb{background:#fff;border-color:var(--theme-palette-color-1)}.wc-block-price-filter .wc-block-price-filter__range-input::-moz-range-thumb{border-color:var(--theme-palette-color-1)}.wc-block-price-filter .wc-block-price-filter__range-input:hover::-moz-range-thumb,.wc-block-price-filter .wc-block-price-filter__range-input:focus::-moz-range-thumb{background:#fff;border-color:var(--theme-palette-color-1)}.wc-block-price-filter .wc-block-form-text-input{font-size:13px;text-align:center;max-width:70px !important;border-radius:var(--has-classic-forms, var(--theme-form-field-border-radius, 3px)) !important;border:var(--theme-form-field-border-width, 1px) solid var(--theme-form-field-border-initial-color) !important}.wc-block-price-filter .wc-block-form-text-input:focus{border-color:var(--theme-form-field-border-focus-color) !important}.brz .flex-control-thumbs li{--thumbs-spacing: 0;flex:initial}.brz .brz-woo-add-to-cart .quantity[data-type=type-1]{width:80px !important}.brz .brz-woo-add-to-cart .quantity[data-type=type-1] input[type=number]{padding:0 calc(25% + 3px) 0 5px}.brz .brz-woo-add-to-cart .quantity[data-type=type-2]{width:120px !important}.brz .brz-woo-add-to-cart .quantity[data-type=type-2] input[type=number]{padding:0 calc(var(--quantity-height, 55px)/1.8 + 9%)}label.wc-pao-addon-name{font-weight:500;margin-bottom:10px}.wc-pao-addon{margin-top:20px}.wc-pao-addon:first-child{margin-top:0}div.product-addon-totals strong{font-weight:600}.wc-pao-addon-image-swatch.selected{outline-color:var(--theme-palette-color-1)}.wc-points-rewards-product-message{display:block}.product-type-variable .wcppec-checkout-buttons{position:relative;z-index:1}.wcppec-checkout-buttons__separator,#wc-square-wallet-divider,#wcpay-payment-request-button-separator,#wc-stripe-payment-request-button-separator{display:none !important}div#wc-square-digital-wallet{max-width:100%}div.wc-square-wallet-buttons{width:100%}.payment_methods li .woocommerce-info{display:block}.payment_methods fieldset .wc-stripe-elements-field{display:flex;flex-direction:column;justify-content:center;width:initial}.payment_methods fieldset .stripe-source-errors ul{margin-top:20px}.payment_methods fieldset .stripe-source-errors ul:last-child{margin-bottom:0}.wc-proceed-to-checkout #wc-stripe-payment-request-wrapper{margin-bottom:15px}#wc-stripe-payment-request-wrapper{padding-top:0 !important}.wc-product-table .product .ct-cart-actions{display:inline-block}.wc-product-table .product .ct-cart-actions .added_to_cart,.wc-product-table .product .ct-cart-actions .single_add_to_cart_button{width:initial;min-height:initial}.wc-product-table .product .quantity{--quantity-height: 34px}.wc-product-table .product .quantity input.qty{max-width:initial !important}.wc-product-table .product .quantity[data-type=type-1]{--quantity-width: 70px}.wc-product-table .product .quantity[data-type=type-2]{--quantity-width: 80px}.wc-product-table .product .cart select{height:34px !important;padding-inline-end:25px !important}.component_option_thumbnail button{display:inline-block}.composite_button{display:flex}.composite_button .single_add_to_cart_button{--theme-button-min-height: 55px}.composite_button .added_to_cart,.composite_button .single_add_to_cart_button{margin-left:10px}.mp-panel-checkout,.mp-panel-custom-checkout{padding:0 !important;background:rgba(0,0,0,0) !important}.mp-panel-custom-checkout .mp-row-checkout .mp-col-md-6:nth-child(odd) .mp-ticket-payments{padding-inline-start:0}.mp-panel-custom-checkout .mp-row-checkout .mp-col-md-6:nth-child(even) .mp-ticket-payments{padding-inline-end:0}.mp-panel-custom-checkout .mp-img-ticket{max-height:1.618em}.mp-panel-custom-checkout .mp-ticket-name{font-size:12px !important}.mp-ticket-payments input[type=radio]{border:var(--form-selection-control-border-width, var(--theme-form-field-border-width, 1px)) solid var(--theme-form-selection-field-initial-color) !important}.mp-ticket-payments input[type=radio]:checked{border-color:var(--theme-form-selection-field-active-color) !important;background-color:var(--theme-form-selection-field-active-color) !important}form.checkout .gift-certificate{margin-top:2em !important;margin-bottom:0 !important}#wpfnl-checkout-form form.woocommerce-checkout,#wcf-embed-checkout-form form.woocommerce-checkout{grid-column-gap:initial}#wcf-embed-checkout-form #payment .payment_methods>li>label{display:flex}#wcf-embed-checkout-form input[type=checkbox],#wcf-embed-checkout-form input[type=checkbox]:before{position:initial;top:initial;height:initial;border:initial;transform:initial}.wfc-cart-table .wfc-cart-form__cart-item .product-quantity .quantity[data-type]{--quantity-height: 30px}.wfc-cart-table .wfc-cart-form__cart-item .product-quantity .quantity[data-type] input[type=number]{width:initial;height:inherit;text-align:center;font-size:13px}.wfc-cart-table .wfc-cart-form__cart-item .product-quantity .quantity[data-type=type-1]{--quantity-width: 55px}.wfc-cart-table .wfc-cart-form__cart-item .product-quantity .quantity[data-type=type-2]{--quantity-width: 70px}#sellkit-checkout-widget-id>form{display:initial}#sellkit-checkout-widget-id select{background-image:none}[class*=wc-gzd]~table.shop_table{background-color:rgba(0,0,0,0)}@media(max-width: 689.98px){.woocommerce-account table.my_account_memberships{table-layout:auto}}.woocommerce-checkout #wizard{grid-column:1/-1}.woocommerce-MyAccount-content .subscription_details,.woocommerce-MyAccount-content .subscription_details~.order_details{margin-bottom:2.5em}.woocommerce-order-details header h2,.woocommerce-MyAccount-content header h2{margin-bottom:calc(var(--has-content-spacing, 1)*(.3em + 10px))}ul.wcsatt-options-prompt-radios,ul.wcsatt-options.overrides_exist{padding-inline-start:0}
  • blocksy/2.0.33/static/js/editor/blocks/query/edit/PostsInspectorControls.js

    r209306 r221847  
    138138
    139139                                                        {
    140                                                             key: 'modified_date',
     140                                                            key: 'modified',
    141141                                                            value: __(
    142142                                                                'Modified Date',
  • blocksy/2.0.33/static/sass/frontend/8-integrations/woocommerce/checkout-page/checkout-form.scss

    r209306 r221847  
    1 form.woocommerce-checkout {
     1.ct-woocommerce-checkout {
    22    display: grid;
    33
  • blocksy/2.0.33/static/sass/frontend/8-integrations/woocommerce/integrations/elementor.scss

    r209306 r221847  
    22
    33.elementor-widget-container {
     4
    45    // single product slider
    56    .flex-viewport {
     
    1415        }
    1516    }
    16 
    17     // checkout
    18     .woocommerce > form.woocommerce-checkout {
    19         display: initial;
    20     }
    2117}
    2218
    2319// quantity input
    2420.elementor-add-to-cart--align-justify {
     21
    2522    .quantity[data-type='type-1'] {
    2623        flex: 0 0 100px;
     
    3330
    3431.elementor-widget-woocommerce-cart .woocommerce {
     32
    3533    .quantity[data-type] {
     34
    3635        .input-text {
    3736            text-align: center;
     
    5049
    5150// product tabs
    52 .woocommerce
    53     div.product.elementor
    54     .woocommerce-tabs
    55     .woocommerce-Tabs-panel.panel {
     51.woocommerce div.product.elementor .woocommerce-tabs .woocommerce-Tabs-panel.panel {
    5652    margin: 0;
    5753}
     
    5955// cart page
    6056.woocommerce-cart-form table.cart {
     57
    6158    .actions {
     59
    6260        .coupon {
    6361            @include media-breakpoint-down(sm) {
  • blocksy/2.0.33/style.css

    r221126 r221847  
    55Author URI: https://creativethemes.com
    66Description: Blocksy is a blazing fast and lightweight WordPress theme built with the latest web technologies. It was built with the Gutenberg editor in mind and has a lot of options that makes it extendable and customizable. You can easily create any type of website, such as business agency, shop, corporate, education, restaurant, blog, portfolio, landing page and so on. It works like a charm with popular WordPress page builders, including Elementor, Beaver Builder, Visual Composer and Brizy. Since it is responsive and adaptive, translation ready, SEO optimized and has WooCommerce built-in, you will experience an easy build and even an increase in conversions. Note: Blocksy is built with the latest web technologies in order to bring you the smoothest experience, that told, old browsers like IE 11 and below may not work as expected. We strongly recommend you to update/switch to a modern browser.
    7 Version: 2.0.32
     7Version: 2.0.33
    88License: GNU General Public License v2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.