Blocksy Companion - Version 1.8.33

Version Description

Download this release

Release Info

Developer creativethemeshq
Plugin Icon wp plugin Blocksy Companion
Version 1.8.33
Comparing to
See all releases

Code changes from version 1.8.32 to 1.8.33

blocksy-companion.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: Blocksy Companion
5
  Description: This plugin is the companion for the Blocksy theme, it runs and adds its enhacements only if the Blocksy theme is installed and active.
6
- Version: 1.8.32
7
  Author: CreativeThemes
8
  Author URI: https://creativethemes.com
9
  Text Domain: blocksy-companion
3
  /*
4
  Plugin Name: Blocksy Companion
5
  Description: This plugin is the companion for the Blocksy theme, it runs and adds its enhacements only if the Blocksy theme is installed and active.
6
+ Version: 1.8.33
7
  Author: CreativeThemes
8
  Author URI: https://creativethemes.com
9
  Text Domain: blocksy-companion
framework/extensions/cookies-consent/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.32
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.33
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/extensions/newsletter-subscribe/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.32
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.33
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/extensions/product-reviews/static/bundle/main-admin.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.32
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.33
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/extensions/product-reviews/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.32
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.33
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/extensions/trending/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.32
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.33
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
framework/extensions/widgets/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.32
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.33
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
languages/blocksy-companion.pot CHANGED
@@ -268,12 +268,12 @@ msgstr ""
268
 
269
  #: framework/features/conditions-manager.php:490,
270
  #: framework/features/conditions-manager.php:559,
271
- #: framework/premium/features/content-blocks/hooks-manager.php:399,
272
- #: framework/premium/features/content-blocks/hooks-manager.php:407,
273
- #: framework/premium/features/content-blocks/hooks-manager.php:415,
274
- #: framework/premium/features/content-blocks/hooks-manager.php:422,
275
- #: framework/premium/features/content-blocks/hooks-manager.php:429,
276
- #: framework/premium/features/content-blocks/hooks-manager.php:437
277
  msgid "Single Post"
278
  msgstr ""
279
 
@@ -323,7 +323,7 @@ msgid "Page ID"
323
  msgstr ""
324
 
325
  #: framework/features/conditions-manager.php:646
326
- #: static/js/options/ConditionsManager/PostIdPicker.js:76
327
  msgid "Custom Post Type ID"
328
  msgstr ""
329
 
@@ -568,10 +568,10 @@ msgid "Forever"
568
  msgstr ""
569
 
570
  #: framework/extensions/cookies-consent/customizer.php:62,
571
- #: framework/premium/features/content-blocks/hooks-manager.php:226,
572
- #: framework/premium/features/content-blocks/hooks-manager.php:234,
573
- #: framework/premium/features/content-blocks/hooks-manager.php:242,
574
- #: framework/premium/features/content-blocks/hooks-manager.php:250,
575
  #: framework/extensions/widgets/widgets/ct-contact-info/options.php:86,
576
  #: framework/extensions/widgets/widgets/ct-contact-info/options.php:115,
577
  #: framework/extensions/widgets/widgets/ct-contact-info/options.php:143,
@@ -1396,7 +1396,7 @@ msgid "Review Entity"
1396
  msgstr ""
1397
 
1398
  #: framework/extensions/product-reviews/metabox.php:18,
1399
- #: framework/premium/extensions/woocommerce-extra/includes/wish-list-table.php:32
1400
  msgid "Product"
1401
  msgstr ""
1402
 
@@ -2433,7 +2433,7 @@ msgstr ""
2433
 
2434
  #: framework/premium/extensions/shortcuts/customizer.php:661,
2435
  #: framework/premium/extensions/woocommerce-extra/floating-cart.php:25,
2436
- #: framework/premium/features/content-blocks/hooks-manager.php:436,
2437
  #: framework/features/header/items/account/options.php:278,
2438
  #: framework/features/header/items/account/options.php:484,
2439
  #: framework/premium/features/content-blocks/options/hook.php:307,
@@ -2681,7 +2681,7 @@ msgid "Position"
2681
  msgstr ""
2682
 
2683
  #: framework/premium/extensions/woocommerce-extra/floating-cart.php:24,
2684
- #: framework/premium/features/content-blocks/hooks-manager.php:398,
2685
  #: framework/premium/features/content-blocks/options/hook.php:306
2686
  msgid "Top"
2687
  msgstr ""
@@ -2951,7 +2951,8 @@ msgstr ""
2951
 
2952
  #: framework/premium/features/content-blocks/hooks-manager.php:13,
2953
  #: framework/premium/features/content-blocks/hooks-manager.php:22,
2954
- #: framework/premium/features/content-blocks/hooks-manager.php:32
 
2955
  msgid "Head"
2956
  msgstr ""
2957
 
@@ -2964,659 +2965,663 @@ msgid "WP head end"
2964
  msgstr ""
2965
 
2966
  #: framework/premium/features/content-blocks/hooks-manager.php:39
 
 
 
 
2967
  msgid "Header before"
2968
  msgstr ""
2969
 
2970
- #: framework/premium/features/content-blocks/hooks-manager.php:41,
2971
- #: framework/premium/features/content-blocks/hooks-manager.php:50
2972
  msgid "Header"
2973
  msgstr ""
2974
 
2975
- #: framework/premium/features/content-blocks/hooks-manager.php:48
2976
  msgid "Header after"
2977
  msgstr ""
2978
 
2979
- #: framework/premium/features/content-blocks/hooks-manager.php:57
2980
  msgid "Desktop top"
2981
  msgstr ""
2982
 
2983
- #: framework/premium/features/content-blocks/hooks-manager.php:59,
2984
  #: framework/premium/features/content-blocks/hooks-manager.php:68,
2985
  #: framework/premium/features/content-blocks/hooks-manager.php:77,
2986
- #: framework/premium/features/content-blocks/hooks-manager.php:86
 
2987
  msgid "Header offcanvas"
2988
  msgstr ""
2989
 
2990
- #: framework/premium/features/content-blocks/hooks-manager.php:66
2991
  msgid "Desktop bottom"
2992
  msgstr ""
2993
 
2994
- #: framework/premium/features/content-blocks/hooks-manager.php:75
2995
  msgid "Mobile top"
2996
  msgstr ""
2997
 
2998
- #: framework/premium/features/content-blocks/hooks-manager.php:84
2999
  msgid "Mobile bottom"
3000
  msgstr ""
3001
 
3002
- #: framework/premium/features/content-blocks/hooks-manager.php:93
3003
  msgid "Sidebar before"
3004
  msgstr ""
3005
 
3006
- #: framework/premium/features/content-blocks/hooks-manager.php:94,
3007
- #: framework/premium/features/content-blocks/hooks-manager.php:101,
3008
- #: framework/premium/features/content-blocks/hooks-manager.php:108,
3009
- #: framework/premium/features/content-blocks/hooks-manager.php:115
3010
  msgid "Left/Right sidebar"
3011
  msgstr ""
3012
 
3013
- #: framework/premium/features/content-blocks/hooks-manager.php:100
3014
  msgid "Sidebar start"
3015
  msgstr ""
3016
 
3017
- #: framework/premium/features/content-blocks/hooks-manager.php:107
3018
  msgid "Sidebar end"
3019
  msgstr ""
3020
 
3021
- #: framework/premium/features/content-blocks/hooks-manager.php:114
3022
  msgid "Sidebar after"
3023
  msgstr ""
3024
 
3025
- #: framework/premium/features/content-blocks/hooks-manager.php:121
3026
  msgid "Dynamic sidebar before"
3027
  msgstr ""
3028
 
3029
- #: framework/premium/features/content-blocks/hooks-manager.php:122,
3030
- #: framework/premium/features/content-blocks/hooks-manager.php:129,
3031
- #: framework/premium/features/content-blocks/hooks-manager.php:137
3032
  msgid "All widget areas"
3033
  msgstr ""
3034
 
3035
- #: framework/premium/features/content-blocks/hooks-manager.php:128
3036
  msgid "Dynamic sidebar"
3037
  msgstr ""
3038
 
3039
- #: framework/premium/features/content-blocks/hooks-manager.php:136
3040
  msgid "Dynamic sidebar after"
3041
  msgstr ""
3042
 
3043
- #: framework/premium/features/content-blocks/hooks-manager.php:145
3044
  msgid "Before section"
3045
  msgstr ""
3046
 
3047
- #: framework/premium/features/content-blocks/hooks-manager.php:146,
3048
- #: framework/premium/features/content-blocks/hooks-manager.php:154,
3049
- #: framework/premium/features/content-blocks/hooks-manager.php:162,
3050
- #: framework/premium/features/content-blocks/hooks-manager.php:170,
3051
- #: framework/premium/features/content-blocks/hooks-manager.php:178,
3052
- #: framework/premium/features/content-blocks/hooks-manager.php:186,
3053
- #: framework/premium/features/content-blocks/hooks-manager.php:194,
3054
- #: framework/premium/features/content-blocks/hooks-manager.php:202,
3055
- #: framework/premium/features/content-blocks/hooks-manager.php:210,
3056
- #: framework/premium/features/content-blocks/hooks-manager.php:218
3057
  msgid "Page/post title"
3058
  msgstr ""
3059
 
3060
- #: framework/premium/features/content-blocks/hooks-manager.php:153,
3061
- #: framework/premium/features/content-blocks/hooks-manager.php:271,
3062
- #: framework/premium/features/content-blocks/hooks-manager.php:313
3063
  msgid "Before title"
3064
  msgstr ""
3065
 
3066
- #: framework/premium/features/content-blocks/hooks-manager.php:161
3067
  msgid "Before description"
3068
  msgstr ""
3069
 
3070
- #: framework/premium/features/content-blocks/hooks-manager.php:169
3071
  msgid "Before breadcrumbs"
3072
  msgstr ""
3073
 
3074
- #: framework/premium/features/content-blocks/hooks-manager.php:177
3075
  msgid "Before post meta"
3076
  msgstr ""
3077
 
3078
- #: framework/premium/features/content-blocks/hooks-manager.php:185,
3079
- #: framework/premium/features/content-blocks/hooks-manager.php:278,
3080
- #: framework/premium/features/content-blocks/hooks-manager.php:320
3081
  msgid "After title"
3082
  msgstr ""
3083
 
3084
- #: framework/premium/features/content-blocks/hooks-manager.php:193
3085
  msgid "After description"
3086
  msgstr ""
3087
 
3088
- #: framework/premium/features/content-blocks/hooks-manager.php:201
3089
  msgid "After breadcrumbs"
3090
  msgstr ""
3091
 
3092
- #: framework/premium/features/content-blocks/hooks-manager.php:209
3093
  msgid "After post meta"
3094
  msgstr ""
3095
 
3096
- #: framework/premium/features/content-blocks/hooks-manager.php:217
3097
  msgid "After section"
3098
  msgstr ""
3099
 
3100
- #: framework/premium/features/content-blocks/hooks-manager.php:225
3101
  msgid "Before content"
3102
  msgstr ""
3103
 
3104
- #: framework/premium/features/content-blocks/hooks-manager.php:233,
3105
- #: framework/premium/features/content-blocks/hooks-manager.php:406
3106
  msgid "Top content"
3107
  msgstr ""
3108
 
3109
- #: framework/premium/features/content-blocks/hooks-manager.php:241,
3110
- #: framework/premium/features/content-blocks/hooks-manager.php:428
3111
  msgid "Bottom content"
3112
  msgstr ""
3113
 
3114
- #: framework/premium/features/content-blocks/hooks-manager.php:249
3115
  msgid "After content"
3116
  msgstr ""
3117
 
3118
- #: framework/premium/features/content-blocks/hooks-manager.php:257
3119
  msgid "Before comments"
3120
  msgstr ""
3121
 
3122
- #: framework/premium/features/content-blocks/hooks-manager.php:258,
3123
- #: framework/premium/features/content-blocks/hooks-manager.php:265,
3124
- #: framework/premium/features/content-blocks/hooks-manager.php:272,
3125
- #: framework/premium/features/content-blocks/hooks-manager.php:279,
3126
- #: framework/premium/features/content-blocks/hooks-manager.php:286,
3127
- #: framework/premium/features/content-blocks/hooks-manager.php:293
3128
  msgid "Comments"
3129
  msgstr ""
3130
 
3131
- #: framework/premium/features/content-blocks/hooks-manager.php:264
3132
  msgid "Top comments"
3133
  msgstr ""
3134
 
3135
- #: framework/premium/features/content-blocks/hooks-manager.php:285
3136
  msgid "Bottom comments"
3137
  msgstr ""
3138
 
3139
- #: framework/premium/features/content-blocks/hooks-manager.php:292
3140
  msgid "After comments"
3141
  msgstr ""
3142
 
3143
- #: framework/premium/features/content-blocks/hooks-manager.php:299
3144
  msgid "Before related posts"
3145
  msgstr ""
3146
 
3147
- #: framework/premium/features/content-blocks/hooks-manager.php:300,
3148
- #: framework/premium/features/content-blocks/hooks-manager.php:307,
3149
- #: framework/premium/features/content-blocks/hooks-manager.php:314,
3150
- #: framework/premium/features/content-blocks/hooks-manager.php:321,
3151
- #: framework/premium/features/content-blocks/hooks-manager.php:328,
3152
- #: framework/premium/features/content-blocks/hooks-manager.php:335,
3153
- #: framework/premium/features/content-blocks/hooks-manager.php:342,
3154
- #: framework/premium/features/content-blocks/hooks-manager.php:349,
3155
- #: framework/premium/features/content-blocks/hooks-manager.php:357,
3156
- #: framework/premium/features/content-blocks/hooks-manager.php:364
3157
  msgid "Related posts"
3158
  msgstr ""
3159
 
3160
- #: framework/premium/features/content-blocks/hooks-manager.php:306
3161
  msgid "Related posts top"
3162
  msgstr ""
3163
 
3164
- #: framework/premium/features/content-blocks/hooks-manager.php:327
3165
  msgid "Card top"
3166
  msgstr ""
3167
 
3168
- #: framework/premium/features/content-blocks/hooks-manager.php:334
3169
  msgid "Before featured image"
3170
  msgstr ""
3171
 
3172
- #: framework/premium/features/content-blocks/hooks-manager.php:341
3173
  msgid "After featured image"
3174
  msgstr ""
3175
 
3176
- #: framework/premium/features/content-blocks/hooks-manager.php:348
3177
  msgid "Card bottom"
3178
  msgstr ""
3179
 
3180
- #: framework/premium/features/content-blocks/hooks-manager.php:356
3181
  msgid "Related posts bottom"
3182
  msgstr ""
3183
 
3184
- #: framework/premium/features/content-blocks/hooks-manager.php:363
3185
  msgid "After related posts"
3186
  msgstr ""
3187
 
3188
- #: framework/premium/features/content-blocks/hooks-manager.php:370,
3189
  #: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:459
3190
  msgid "Before"
3191
  msgstr ""
3192
 
3193
- #: framework/premium/features/content-blocks/hooks-manager.php:371,
3194
- #: framework/premium/features/content-blocks/hooks-manager.php:378
3195
  msgid "Loop"
3196
  msgstr ""
3197
 
3198
- #: framework/premium/features/content-blocks/hooks-manager.php:377,
3199
  #: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:470
3200
  msgid "After"
3201
  msgstr ""
3202
 
3203
- #: framework/premium/features/content-blocks/hooks-manager.php:384
3204
  msgid "Start"
3205
  msgstr ""
3206
 
3207
- #: framework/premium/features/content-blocks/hooks-manager.php:385,
3208
- #: framework/premium/features/content-blocks/hooks-manager.php:392
3209
  msgid "Loop card"
3210
  msgstr ""
3211
 
3212
- #: framework/premium/features/content-blocks/hooks-manager.php:391
3213
  msgid "End"
3214
  msgstr ""
3215
 
3216
- #: framework/premium/features/content-blocks/hooks-manager.php:414
3217
  msgid "After certain number of blocks"
3218
  msgstr ""
3219
 
3220
- #: framework/premium/features/content-blocks/hooks-manager.php:421
3221
  msgid "Before certain number of headings"
3222
  msgstr ""
3223
 
3224
- #: framework/premium/features/content-blocks/hooks-manager.php:444
3225
  msgid "Login form start"
3226
  msgstr ""
3227
 
3228
- #: framework/premium/features/content-blocks/hooks-manager.php:445,
3229
- #: framework/premium/features/content-blocks/hooks-manager.php:452,
3230
- #: framework/premium/features/content-blocks/hooks-manager.php:459,
3231
- #: framework/premium/features/content-blocks/hooks-manager.php:466,
3232
- #: framework/premium/features/content-blocks/hooks-manager.php:473,
3233
- #: framework/premium/features/content-blocks/hooks-manager.php:480,
3234
- #: framework/premium/features/content-blocks/hooks-manager.php:487,
3235
- #: framework/premium/features/content-blocks/hooks-manager.php:494,
3236
- #: framework/premium/features/content-blocks/hooks-manager.php:501,
3237
- #: framework/premium/features/content-blocks/hooks-manager.php:508
3238
  msgid "Auth forms"
3239
  msgstr ""
3240
 
3241
- #: framework/premium/features/content-blocks/hooks-manager.php:451
3242
  msgid "Login form end"
3243
  msgstr ""
3244
 
3245
- #: framework/premium/features/content-blocks/hooks-manager.php:458
3246
  msgid "Login form modal start"
3247
  msgstr ""
3248
 
3249
- #: framework/premium/features/content-blocks/hooks-manager.php:465
3250
  msgid "Login form modal end"
3251
  msgstr ""
3252
 
3253
- #: framework/premium/features/content-blocks/hooks-manager.php:472
3254
  msgid "Register form start"
3255
  msgstr ""
3256
 
3257
- #: framework/premium/features/content-blocks/hooks-manager.php:479
3258
  msgid "Register form end"
3259
  msgstr ""
3260
 
3261
- #: framework/premium/features/content-blocks/hooks-manager.php:486
3262
  msgid "Register form modal start"
3263
  msgstr ""
3264
 
3265
- #: framework/premium/features/content-blocks/hooks-manager.php:493
3266
  msgid "Register form modal end"
3267
  msgstr ""
3268
 
3269
- #: framework/premium/features/content-blocks/hooks-manager.php:500
3270
  msgid "Lost password form modal start"
3271
  msgstr ""
3272
 
3273
- #: framework/premium/features/content-blocks/hooks-manager.php:507
3274
  msgid "Lost password form modal end"
3275
  msgstr ""
3276
 
3277
- #: framework/premium/features/content-blocks/hooks-manager.php:515
3278
  msgid "Before main content"
3279
  msgstr ""
3280
 
3281
- #: framework/premium/features/content-blocks/hooks-manager.php:521
3282
  msgid "After main content"
3283
  msgstr ""
3284
 
3285
- #: framework/premium/features/content-blocks/hooks-manager.php:527
3286
  msgid "Offcanvas Filters Top"
3287
  msgstr ""
3288
 
3289
- #: framework/premium/features/content-blocks/hooks-manager.php:533
3290
  msgid "Offcanvas Filters Bottom"
3291
  msgstr ""
3292
 
3293
- #: framework/premium/features/content-blocks/hooks-manager.php:536
3294
  msgid "WooCommerce Global"
3295
  msgstr ""
3296
 
3297
- #: framework/premium/features/content-blocks/hooks-manager.php:541
3298
  msgid "Archive description"
3299
  msgstr ""
3300
 
3301
- #: framework/premium/features/content-blocks/hooks-manager.php:546
3302
  msgid "Before shop loop"
3303
  msgstr ""
3304
 
3305
- #: framework/premium/features/content-blocks/hooks-manager.php:563
3306
  msgid "Before shop loop item title"
3307
  msgstr ""
3308
 
3309
- #: framework/premium/features/content-blocks/hooks-manager.php:568
3310
  msgid "After shop loop item title"
3311
  msgstr ""
3312
 
3313
- #: framework/premium/features/content-blocks/hooks-manager.php:573
3314
  msgid "Before shop loop item price"
3315
  msgstr ""
3316
 
3317
- #: framework/premium/features/content-blocks/hooks-manager.php:578
3318
  msgid "After shop loop item price"
3319
  msgstr ""
3320
 
3321
- #: framework/premium/features/content-blocks/hooks-manager.php:583
3322
  msgid "Before shop loop item actions"
3323
  msgstr ""
3324
 
3325
- #: framework/premium/features/content-blocks/hooks-manager.php:588
3326
  msgid "After shop loop item actions"
3327
  msgstr ""
3328
 
3329
- #: framework/premium/features/content-blocks/hooks-manager.php:593
3330
  msgid "After shop loop"
3331
  msgstr ""
3332
 
3333
- #: framework/premium/features/content-blocks/hooks-manager.php:595
3334
  msgid "WooCommerce Archive"
3335
  msgstr ""
3336
 
3337
- #: framework/premium/features/content-blocks/hooks-manager.php:600
3338
  msgid "Before single product"
3339
  msgstr ""
3340
 
3341
- #: framework/premium/features/content-blocks/hooks-manager.php:618
3342
  msgid "Product meta start"
3343
  msgstr ""
3344
 
3345
- #: framework/premium/features/content-blocks/hooks-manager.php:622
3346
  msgid "Product meta end"
3347
  msgstr ""
3348
 
3349
- #: framework/premium/features/content-blocks/hooks-manager.php:626
3350
  msgid "Share"
3351
  msgstr ""
3352
 
3353
- #: framework/premium/features/content-blocks/hooks-manager.php:630
3354
  msgid "After single product"
3355
  msgstr ""
3356
 
3357
- #: framework/premium/features/content-blocks/hooks-manager.php:636
3358
  msgid "Before single product excerpt"
3359
  msgstr ""
3360
 
3361
- #: framework/premium/features/content-blocks/hooks-manager.php:641
3362
  msgid "After single product excerpt"
3363
  msgstr ""
3364
 
3365
- #: framework/premium/features/content-blocks/hooks-manager.php:646
3366
  msgid "Before single product tabs"
3367
  msgstr ""
3368
 
3369
- #: framework/premium/features/content-blocks/hooks-manager.php:652
3370
  msgid "After single product tabs"
3371
  msgstr ""
3372
 
3373
- #: framework/premium/features/content-blocks/hooks-manager.php:656
3374
  msgid "WooCommerce Product"
3375
  msgstr ""
3376
 
3377
- #: framework/premium/features/content-blocks/hooks-manager.php:661
3378
  msgid "Cart is empty"
3379
  msgstr ""
3380
 
3381
- #: framework/premium/features/content-blocks/hooks-manager.php:665
3382
  msgid "Before cart"
3383
  msgstr ""
3384
 
3385
- #: framework/premium/features/content-blocks/hooks-manager.php:669
3386
  msgid "Before cart table"
3387
  msgstr ""
3388
 
3389
- #: framework/premium/features/content-blocks/hooks-manager.php:673
3390
  msgid "Before cart contents"
3391
  msgstr ""
3392
 
3393
- #: framework/premium/features/content-blocks/hooks-manager.php:677
3394
  msgid "Cart contents"
3395
  msgstr ""
3396
 
3397
- #: framework/premium/features/content-blocks/hooks-manager.php:681
3398
  msgid "After cart contents"
3399
  msgstr ""
3400
 
3401
- #: framework/premium/features/content-blocks/hooks-manager.php:685
3402
  msgid "Cart coupon"
3403
  msgstr ""
3404
 
3405
- #: framework/premium/features/content-blocks/hooks-manager.php:689
3406
  msgid "Cart actions"
3407
  msgstr ""
3408
 
3409
- #: framework/premium/features/content-blocks/hooks-manager.php:693
3410
  msgid "After cart table"
3411
  msgstr ""
3412
 
3413
- #: framework/premium/features/content-blocks/hooks-manager.php:697
3414
  msgid "Cart collaterals"
3415
  msgstr ""
3416
 
3417
- #: framework/premium/features/content-blocks/hooks-manager.php:701
3418
  msgid "Before cart totals"
3419
  msgstr ""
3420
 
3421
- #: framework/premium/features/content-blocks/hooks-manager.php:705
3422
  msgid "Cart totals before order total"
3423
  msgstr ""
3424
 
3425
- #: framework/premium/features/content-blocks/hooks-manager.php:709
3426
  msgid "Cart totals after order total"
3427
  msgstr ""
3428
 
3429
- #: framework/premium/features/content-blocks/hooks-manager.php:713
3430
  msgid "Proceed to checkout"
3431
  msgstr ""
3432
 
3433
- #: framework/premium/features/content-blocks/hooks-manager.php:717
3434
  msgid "After cart totals"
3435
  msgstr ""
3436
 
3437
- #: framework/premium/features/content-blocks/hooks-manager.php:721
3438
  msgid "After cart"
3439
  msgstr ""
3440
 
3441
- #: framework/premium/features/content-blocks/hooks-manager.php:726
3442
  msgid "Before Mini Cart"
3443
  msgstr ""
3444
 
3445
- #: framework/premium/features/content-blocks/hooks-manager.php:731
3446
  msgid "Before Mini Cart Contents"
3447
  msgstr ""
3448
 
3449
- #: framework/premium/features/content-blocks/hooks-manager.php:736
3450
  msgid "Mini Cart Contents"
3451
  msgstr ""
3452
 
3453
- #: framework/premium/features/content-blocks/hooks-manager.php:741
3454
  msgid "Widget Shopping Cart Before Buttons"
3455
  msgstr ""
3456
 
3457
- #: framework/premium/features/content-blocks/hooks-manager.php:746
3458
  msgid "Widget Shopping Cart After Buttons"
3459
  msgstr ""
3460
 
3461
- #: framework/premium/features/content-blocks/hooks-manager.php:751
3462
  msgid "After Mini Cart"
3463
  msgstr ""
3464
 
3465
- #: framework/premium/features/content-blocks/hooks-manager.php:753
3466
  msgid "WooCommerce Cart"
3467
  msgstr ""
3468
 
3469
- #: framework/premium/features/content-blocks/hooks-manager.php:759
3470
  msgid "Before checkout form"
3471
  msgstr ""
3472
 
3473
- #: framework/premium/features/content-blocks/hooks-manager.php:763
3474
  msgid "Before customer details"
3475
  msgstr ""
3476
 
3477
- #: framework/premium/features/content-blocks/hooks-manager.php:767
3478
  msgid "After customer details"
3479
  msgstr ""
3480
 
3481
- #: framework/premium/features/content-blocks/hooks-manager.php:771
3482
  msgid "Checkout billing"
3483
  msgstr ""
3484
 
3485
- #: framework/premium/features/content-blocks/hooks-manager.php:775
3486
  msgid "Before checkout billing form"
3487
  msgstr ""
3488
 
3489
- #: framework/premium/features/content-blocks/hooks-manager.php:779
3490
  msgid "After checkout billing form"
3491
  msgstr ""
3492
 
3493
- #: framework/premium/features/content-blocks/hooks-manager.php:783
3494
  msgid "Before order notes"
3495
  msgstr ""
3496
 
3497
- #: framework/premium/features/content-blocks/hooks-manager.php:787
3498
  msgid "After order notes"
3499
  msgstr ""
3500
 
3501
- #: framework/premium/features/content-blocks/hooks-manager.php:791
3502
  msgid "Checkout shipping"
3503
  msgstr ""
3504
 
3505
- #: framework/premium/features/content-blocks/hooks-manager.php:795
3506
  msgid "Checkout before order review"
3507
  msgstr ""
3508
 
3509
- #: framework/premium/features/content-blocks/hooks-manager.php:799
3510
  msgid "Checkout order review"
3511
  msgstr ""
3512
 
3513
- #: framework/premium/features/content-blocks/hooks-manager.php:803
3514
  msgid "Review order before cart contents"
3515
  msgstr ""
3516
 
3517
- #: framework/premium/features/content-blocks/hooks-manager.php:807
3518
  msgid "Review order after cart contents"
3519
  msgstr ""
3520
 
3521
- #: framework/premium/features/content-blocks/hooks-manager.php:811
3522
  msgid "Review order before order total"
3523
  msgstr ""
3524
 
3525
- #: framework/premium/features/content-blocks/hooks-manager.php:815
3526
  msgid "Review order after order total"
3527
  msgstr ""
3528
 
3529
- #: framework/premium/features/content-blocks/hooks-manager.php:819
3530
  msgid "Review order before payment"
3531
  msgstr ""
3532
 
3533
- #: framework/premium/features/content-blocks/hooks-manager.php:823
3534
  msgid "Review order before submit"
3535
  msgstr ""
3536
 
3537
- #: framework/premium/features/content-blocks/hooks-manager.php:827
3538
  msgid "Review order after submit"
3539
  msgstr ""
3540
 
3541
- #: framework/premium/features/content-blocks/hooks-manager.php:831
3542
  msgid "Review order after payment"
3543
  msgstr ""
3544
 
3545
- #: framework/premium/features/content-blocks/hooks-manager.php:835
3546
  msgid "Checkout after order review"
3547
  msgstr ""
3548
 
3549
- #: framework/premium/features/content-blocks/hooks-manager.php:839
3550
  msgid "After checkout form"
3551
  msgstr ""
3552
 
3553
- #: framework/premium/features/content-blocks/hooks-manager.php:842
3554
  msgid "WooCommerce Checkout"
3555
  msgstr ""
3556
 
3557
- #: framework/premium/features/content-blocks/hooks-manager.php:848
3558
  msgid "Before my account"
3559
  msgstr ""
3560
 
3561
- #: framework/premium/features/content-blocks/hooks-manager.php:852
3562
  msgid "Before account navigation"
3563
  msgstr ""
3564
 
3565
- #: framework/premium/features/content-blocks/hooks-manager.php:856
3566
  msgid "Account navigation"
3567
  msgstr ""
3568
 
3569
- #: framework/premium/features/content-blocks/hooks-manager.php:860
3570
  msgid "After account navigation"
3571
  msgstr ""
3572
 
3573
- #: framework/premium/features/content-blocks/hooks-manager.php:864
3574
  msgid "Account content"
3575
  msgstr ""
3576
 
3577
- #: framework/premium/features/content-blocks/hooks-manager.php:868
3578
  msgid "Account dashboard"
3579
  msgstr ""
3580
 
3581
- #: framework/premium/features/content-blocks/hooks-manager.php:872
3582
  msgid "After my account"
3583
  msgstr ""
3584
 
3585
- #: framework/premium/features/content-blocks/hooks-manager.php:874,
3586
  #: framework/features/header/items/account/options.php:17,
3587
  #: framework/features/header/items/account/options.php:18
3588
  msgid "WooCommerce Account"
3589
  msgstr ""
3590
 
3591
- #: framework/premium/features/content-blocks/hooks-manager.php:880
3592
  msgid "WP footer"
3593
  msgstr ""
3594
 
3595
- #: framework/premium/features/content-blocks/hooks-manager.php:881,
3596
- #: framework/premium/features/content-blocks/hooks-manager.php:889,
3597
- #: framework/premium/features/content-blocks/hooks-manager.php:897
3598
  msgid "Footer"
3599
  msgstr ""
3600
 
3601
- #: framework/premium/features/content-blocks/hooks-manager.php:888
3602
  msgid "Footer before"
3603
  msgstr ""
3604
 
3605
- #: framework/premium/features/content-blocks/hooks-manager.php:896
3606
  msgid "Footer after"
3607
  msgstr ""
3608
 
3609
- #: framework/premium/features/content-blocks/hooks-manager.php:911
3610
  msgid "Custom Hook (%s)"
3611
  msgstr ""
3612
 
3613
- #: framework/premium/features/content-blocks/hooks-manager.php:917,
3614
  #: framework/premium/features/content-blocks/options/hook.php:197
3615
  #: framework/premium/static/js/options/MultipleLocationsSelect.js:90
3616
  msgid "After Block Number"
3617
  msgstr ""
3618
 
3619
- #: framework/premium/features/content-blocks/hooks-manager.php:923,
3620
  #: framework/premium/features/content-blocks/options/hook.php:214
3621
  #: framework/premium/static/js/options/MultipleLocationsSelect.js:112
3622
  msgid "Before Heading Number"
@@ -4342,16 +4347,16 @@ msgstr ""
4342
  msgid "Quick View Modal Button"
4343
  msgstr ""
4344
 
4345
- #: framework/premium/extensions/woocommerce-extra/includes/wish-list-table.php:190
4346
  msgid "You don't have any products in your wish list yet."
4347
  msgstr ""
4348
 
4349
- #: framework/premium/extensions/woocommerce-extra/includes/wish-list-table.php:33
4350
  msgid "Add to cart"
4351
  msgstr ""
4352
 
4353
- #: framework/premium/extensions/woocommerce-extra/includes/wish-list-table.php:126,
4354
- #: framework/premium/extensions/woocommerce-extra/includes/wish-list-table.php:150
4355
  msgid "Remove Product"
4356
  msgstr ""
4357
 
@@ -5617,12 +5622,12 @@ msgid "Select location"
5617
  msgstr ""
5618
 
5619
  #: framework/premium/static/js/options/PreviewedPostsSelect.js:107
5620
- #: static/js/options/ConditionsManager/PostIdPicker.js:67
5621
  msgid "Type to search by ID or title..."
5622
  msgstr ""
5623
 
5624
  #: framework/premium/static/js/options/PreviewedPostsSelect.js:111
5625
- #: static/js/options/ConditionsManager/PostIdPicker.js:73
5626
  msgid "Select post"
5627
  msgstr ""
5628
 
@@ -5757,7 +5762,7 @@ msgstr ""
5757
  msgid "Add User Condition"
5758
  msgstr ""
5759
 
5760
- #: static/js/options/ConditionsManager/PostIdPicker.js:75
5761
  msgid "Select page"
5762
  msgstr ""
5763
 
268
 
269
  #: framework/features/conditions-manager.php:490,
270
  #: framework/features/conditions-manager.php:559,
271
+ #: framework/premium/features/content-blocks/hooks-manager.php:408,
272
+ #: framework/premium/features/content-blocks/hooks-manager.php:416,
273
+ #: framework/premium/features/content-blocks/hooks-manager.php:424,
274
+ #: framework/premium/features/content-blocks/hooks-manager.php:431,
275
+ #: framework/premium/features/content-blocks/hooks-manager.php:438,
276
+ #: framework/premium/features/content-blocks/hooks-manager.php:446
277
  msgid "Single Post"
278
  msgstr ""
279
 
323
  msgstr ""
324
 
325
  #: framework/features/conditions-manager.php:646
326
+ #: static/js/options/ConditionsManager/PostIdPicker.js:77
327
  msgid "Custom Post Type ID"
328
  msgstr ""
329
 
568
  msgstr ""
569
 
570
  #: framework/extensions/cookies-consent/customizer.php:62,
571
+ #: framework/premium/features/content-blocks/hooks-manager.php:235,
572
+ #: framework/premium/features/content-blocks/hooks-manager.php:243,
573
+ #: framework/premium/features/content-blocks/hooks-manager.php:251,
574
+ #: framework/premium/features/content-blocks/hooks-manager.php:259,
575
  #: framework/extensions/widgets/widgets/ct-contact-info/options.php:86,
576
  #: framework/extensions/widgets/widgets/ct-contact-info/options.php:115,
577
  #: framework/extensions/widgets/widgets/ct-contact-info/options.php:143,
1396
  msgstr ""
1397
 
1398
  #: framework/extensions/product-reviews/metabox.php:18,
1399
+ #: framework/premium/extensions/woocommerce-extra/includes/wish-list-table.php:34
1400
  msgid "Product"
1401
  msgstr ""
1402
 
2433
 
2434
  #: framework/premium/extensions/shortcuts/customizer.php:661,
2435
  #: framework/premium/extensions/woocommerce-extra/floating-cart.php:25,
2436
+ #: framework/premium/features/content-blocks/hooks-manager.php:445,
2437
  #: framework/features/header/items/account/options.php:278,
2438
  #: framework/features/header/items/account/options.php:484,
2439
  #: framework/premium/features/content-blocks/options/hook.php:307,
2681
  msgstr ""
2682
 
2683
  #: framework/premium/extensions/woocommerce-extra/floating-cart.php:24,
2684
+ #: framework/premium/features/content-blocks/hooks-manager.php:407,
2685
  #: framework/premium/features/content-blocks/options/hook.php:306
2686
  msgid "Top"
2687
  msgstr ""
2951
 
2952
  #: framework/premium/features/content-blocks/hooks-manager.php:13,
2953
  #: framework/premium/features/content-blocks/hooks-manager.php:22,
2954
+ #: framework/premium/features/content-blocks/hooks-manager.php:32,
2955
+ #: framework/premium/features/content-blocks/hooks-manager.php:41
2956
  msgid "Head"
2957
  msgstr ""
2958
 
2965
  msgstr ""
2966
 
2967
  #: framework/premium/features/content-blocks/hooks-manager.php:39
2968
+ msgid "WP body open"
2969
+ msgstr ""
2970
+
2971
+ #: framework/premium/features/content-blocks/hooks-manager.php:48
2972
  msgid "Header before"
2973
  msgstr ""
2974
 
2975
+ #: framework/premium/features/content-blocks/hooks-manager.php:50,
2976
+ #: framework/premium/features/content-blocks/hooks-manager.php:59
2977
  msgid "Header"
2978
  msgstr ""
2979
 
2980
+ #: framework/premium/features/content-blocks/hooks-manager.php:57
2981
  msgid "Header after"
2982
  msgstr ""
2983
 
2984
+ #: framework/premium/features/content-blocks/hooks-manager.php:66
2985
  msgid "Desktop top"
2986
  msgstr ""
2987
 
 
2988
  #: framework/premium/features/content-blocks/hooks-manager.php:68,
2989
  #: framework/premium/features/content-blocks/hooks-manager.php:77,
2990
+ #: framework/premium/features/content-blocks/hooks-manager.php:86,
2991
+ #: framework/premium/features/content-blocks/hooks-manager.php:95
2992
  msgid "Header offcanvas"
2993
  msgstr ""
2994
 
2995
+ #: framework/premium/features/content-blocks/hooks-manager.php:75
2996
  msgid "Desktop bottom"
2997
  msgstr ""
2998
 
2999
+ #: framework/premium/features/content-blocks/hooks-manager.php:84
3000
  msgid "Mobile top"
3001
  msgstr ""
3002
 
3003
+ #: framework/premium/features/content-blocks/hooks-manager.php:93
3004
  msgid "Mobile bottom"
3005
  msgstr ""
3006
 
3007
+ #: framework/premium/features/content-blocks/hooks-manager.php:102
3008
  msgid "Sidebar before"
3009
  msgstr ""
3010
 
3011
+ #: framework/premium/features/content-blocks/hooks-manager.php:103,
3012
+ #: framework/premium/features/content-blocks/hooks-manager.php:110,
3013
+ #: framework/premium/features/content-blocks/hooks-manager.php:117,
3014
+ #: framework/premium/features/content-blocks/hooks-manager.php:124
3015
  msgid "Left/Right sidebar"
3016
  msgstr ""
3017
 
3018
+ #: framework/premium/features/content-blocks/hooks-manager.php:109
3019
  msgid "Sidebar start"
3020
  msgstr ""
3021
 
3022
+ #: framework/premium/features/content-blocks/hooks-manager.php:116
3023
  msgid "Sidebar end"
3024
  msgstr ""
3025
 
3026
+ #: framework/premium/features/content-blocks/hooks-manager.php:123
3027
  msgid "Sidebar after"
3028
  msgstr ""
3029
 
3030
+ #: framework/premium/features/content-blocks/hooks-manager.php:130
3031
  msgid "Dynamic sidebar before"
3032
  msgstr ""
3033
 
3034
+ #: framework/premium/features/content-blocks/hooks-manager.php:131,
3035
+ #: framework/premium/features/content-blocks/hooks-manager.php:138,
3036
+ #: framework/premium/features/content-blocks/hooks-manager.php:146
3037
  msgid "All widget areas"
3038
  msgstr ""
3039
 
3040
+ #: framework/premium/features/content-blocks/hooks-manager.php:137
3041
  msgid "Dynamic sidebar"
3042
  msgstr ""
3043
 
3044
+ #: framework/premium/features/content-blocks/hooks-manager.php:145
3045
  msgid "Dynamic sidebar after"
3046
  msgstr ""
3047
 
3048
+ #: framework/premium/features/content-blocks/hooks-manager.php:154
3049
  msgid "Before section"
3050
  msgstr ""
3051
 
3052
+ #: framework/premium/features/content-blocks/hooks-manager.php:155,
3053
+ #: framework/premium/features/content-blocks/hooks-manager.php:163,
3054
+ #: framework/premium/features/content-blocks/hooks-manager.php:171,
3055
+ #: framework/premium/features/content-blocks/hooks-manager.php:179,
3056
+ #: framework/premium/features/content-blocks/hooks-manager.php:187,
3057
+ #: framework/premium/features/content-blocks/hooks-manager.php:195,
3058
+ #: framework/premium/features/content-blocks/hooks-manager.php:203,
3059
+ #: framework/premium/features/content-blocks/hooks-manager.php:211,
3060
+ #: framework/premium/features/content-blocks/hooks-manager.php:219,
3061
+ #: framework/premium/features/content-blocks/hooks-manager.php:227
3062
  msgid "Page/post title"
3063
  msgstr ""
3064
 
3065
+ #: framework/premium/features/content-blocks/hooks-manager.php:162,
3066
+ #: framework/premium/features/content-blocks/hooks-manager.php:280,
3067
+ #: framework/premium/features/content-blocks/hooks-manager.php:322
3068
  msgid "Before title"
3069
  msgstr ""
3070
 
3071
+ #: framework/premium/features/content-blocks/hooks-manager.php:170
3072
  msgid "Before description"
3073
  msgstr ""
3074
 
3075
+ #: framework/premium/features/content-blocks/hooks-manager.php:178
3076
  msgid "Before breadcrumbs"
3077
  msgstr ""
3078
 
3079
+ #: framework/premium/features/content-blocks/hooks-manager.php:186
3080
  msgid "Before post meta"
3081
  msgstr ""
3082
 
3083
+ #: framework/premium/features/content-blocks/hooks-manager.php:194,
3084
+ #: framework/premium/features/content-blocks/hooks-manager.php:287,
3085
+ #: framework/premium/features/content-blocks/hooks-manager.php:329
3086
  msgid "After title"
3087
  msgstr ""
3088
 
3089
+ #: framework/premium/features/content-blocks/hooks-manager.php:202
3090
  msgid "After description"
3091
  msgstr ""
3092
 
3093
+ #: framework/premium/features/content-blocks/hooks-manager.php:210
3094
  msgid "After breadcrumbs"
3095
  msgstr ""
3096
 
3097
+ #: framework/premium/features/content-blocks/hooks-manager.php:218
3098
  msgid "After post meta"
3099
  msgstr ""
3100
 
3101
+ #: framework/premium/features/content-blocks/hooks-manager.php:226
3102
  msgid "After section"
3103
  msgstr ""
3104
 
3105
+ #: framework/premium/features/content-blocks/hooks-manager.php:234
3106
  msgid "Before content"
3107
  msgstr ""
3108
 
3109
+ #: framework/premium/features/content-blocks/hooks-manager.php:242,
3110
+ #: framework/premium/features/content-blocks/hooks-manager.php:415
3111
  msgid "Top content"
3112
  msgstr ""
3113
 
3114
+ #: framework/premium/features/content-blocks/hooks-manager.php:250,
3115
+ #: framework/premium/features/content-blocks/hooks-manager.php:437
3116
  msgid "Bottom content"
3117
  msgstr ""
3118
 
3119
+ #: framework/premium/features/content-blocks/hooks-manager.php:258
3120
  msgid "After content"
3121
  msgstr ""
3122
 
3123
+ #: framework/premium/features/content-blocks/hooks-manager.php:266
3124
  msgid "Before comments"
3125
  msgstr ""
3126
 
3127
+ #: framework/premium/features/content-blocks/hooks-manager.php:267,
3128
+ #: framework/premium/features/content-blocks/hooks-manager.php:274,
3129
+ #: framework/premium/features/content-blocks/hooks-manager.php:281,
3130
+ #: framework/premium/features/content-blocks/hooks-manager.php:288,
3131
+ #: framework/premium/features/content-blocks/hooks-manager.php:295,
3132
+ #: framework/premium/features/content-blocks/hooks-manager.php:302
3133
  msgid "Comments"
3134
  msgstr ""
3135
 
3136
+ #: framework/premium/features/content-blocks/hooks-manager.php:273
3137
  msgid "Top comments"
3138
  msgstr ""
3139
 
3140
+ #: framework/premium/features/content-blocks/hooks-manager.php:294
3141
  msgid "Bottom comments"
3142
  msgstr ""
3143
 
3144
+ #: framework/premium/features/content-blocks/hooks-manager.php:301
3145
  msgid "After comments"
3146
  msgstr ""
3147
 
3148
+ #: framework/premium/features/content-blocks/hooks-manager.php:308
3149
  msgid "Before related posts"
3150
  msgstr ""
3151
 
3152
+ #: framework/premium/features/content-blocks/hooks-manager.php:309,
3153
+ #: framework/premium/features/content-blocks/hooks-manager.php:316,
3154
+ #: framework/premium/features/content-blocks/hooks-manager.php:323,
3155
+ #: framework/premium/features/content-blocks/hooks-manager.php:330,
3156
+ #: framework/premium/features/content-blocks/hooks-manager.php:337,
3157
+ #: framework/premium/features/content-blocks/hooks-manager.php:344,
3158
+ #: framework/premium/features/content-blocks/hooks-manager.php:351,
3159
+ #: framework/premium/features/content-blocks/hooks-manager.php:358,
3160
+ #: framework/premium/features/content-blocks/hooks-manager.php:366,
3161
+ #: framework/premium/features/content-blocks/hooks-manager.php:373
3162
  msgid "Related posts"
3163
  msgstr ""
3164
 
3165
+ #: framework/premium/features/content-blocks/hooks-manager.php:315
3166
  msgid "Related posts top"
3167
  msgstr ""
3168
 
3169
+ #: framework/premium/features/content-blocks/hooks-manager.php:336
3170
  msgid "Card top"
3171
  msgstr ""
3172
 
3173
+ #: framework/premium/features/content-blocks/hooks-manager.php:343
3174
  msgid "Before featured image"
3175
  msgstr ""
3176
 
3177
+ #: framework/premium/features/content-blocks/hooks-manager.php:350
3178
  msgid "After featured image"
3179
  msgstr ""
3180
 
3181
+ #: framework/premium/features/content-blocks/hooks-manager.php:357
3182
  msgid "Card bottom"
3183
  msgstr ""
3184
 
3185
+ #: framework/premium/features/content-blocks/hooks-manager.php:365
3186
  msgid "Related posts bottom"
3187
  msgstr ""
3188
 
3189
+ #: framework/premium/features/content-blocks/hooks-manager.php:372
3190
  msgid "After related posts"
3191
  msgstr ""
3192
 
3193
+ #: framework/premium/features/content-blocks/hooks-manager.php:379,
3194
  #: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:459
3195
  msgid "Before"
3196
  msgstr ""
3197
 
3198
+ #: framework/premium/features/content-blocks/hooks-manager.php:380,
3199
+ #: framework/premium/features/content-blocks/hooks-manager.php:387
3200
  msgid "Loop"
3201
  msgstr ""
3202
 
3203
+ #: framework/premium/features/content-blocks/hooks-manager.php:386,
3204
  #: framework/premium/extensions/post-types-extra/includes/dynamic-data.php:470
3205
  msgid "After"
3206
  msgstr ""
3207
 
3208
+ #: framework/premium/features/content-blocks/hooks-manager.php:393
3209
  msgid "Start"
3210
  msgstr ""
3211
 
3212
+ #: framework/premium/features/content-blocks/hooks-manager.php:394,
3213
+ #: framework/premium/features/content-blocks/hooks-manager.php:401
3214
  msgid "Loop card"
3215
  msgstr ""
3216
 
3217
+ #: framework/premium/features/content-blocks/hooks-manager.php:400
3218
  msgid "End"
3219
  msgstr ""
3220
 
3221
+ #: framework/premium/features/content-blocks/hooks-manager.php:423
3222
  msgid "After certain number of blocks"
3223
  msgstr ""
3224
 
3225
+ #: framework/premium/features/content-blocks/hooks-manager.php:430
3226
  msgid "Before certain number of headings"
3227
  msgstr ""
3228
 
3229
+ #: framework/premium/features/content-blocks/hooks-manager.php:453
3230
  msgid "Login form start"
3231
  msgstr ""
3232
 
3233
+ #: framework/premium/features/content-blocks/hooks-manager.php:454,
3234
+ #: framework/premium/features/content-blocks/hooks-manager.php:461,
3235
+ #: framework/premium/features/content-blocks/hooks-manager.php:468,
3236
+ #: framework/premium/features/content-blocks/hooks-manager.php:475,
3237
+ #: framework/premium/features/content-blocks/hooks-manager.php:482,
3238
+ #: framework/premium/features/content-blocks/hooks-manager.php:489,
3239
+ #: framework/premium/features/content-blocks/hooks-manager.php:496,
3240
+ #: framework/premium/features/content-blocks/hooks-manager.php:503,
3241
+ #: framework/premium/features/content-blocks/hooks-manager.php:510,
3242
+ #: framework/premium/features/content-blocks/hooks-manager.php:517
3243
  msgid "Auth forms"
3244
  msgstr ""
3245
 
3246
+ #: framework/premium/features/content-blocks/hooks-manager.php:460
3247
  msgid "Login form end"
3248
  msgstr ""
3249
 
3250
+ #: framework/premium/features/content-blocks/hooks-manager.php:467
3251
  msgid "Login form modal start"
3252
  msgstr ""
3253
 
3254
+ #: framework/premium/features/content-blocks/hooks-manager.php:474
3255
  msgid "Login form modal end"
3256
  msgstr ""
3257
 
3258
+ #: framework/premium/features/content-blocks/hooks-manager.php:481
3259
  msgid "Register form start"
3260
  msgstr ""
3261
 
3262
+ #: framework/premium/features/content-blocks/hooks-manager.php:488
3263
  msgid "Register form end"
3264
  msgstr ""
3265
 
3266
+ #: framework/premium/features/content-blocks/hooks-manager.php:495
3267
  msgid "Register form modal start"
3268
  msgstr ""
3269
 
3270
+ #: framework/premium/features/content-blocks/hooks-manager.php:502
3271
  msgid "Register form modal end"
3272
  msgstr ""
3273
 
3274
+ #: framework/premium/features/content-blocks/hooks-manager.php:509
3275
  msgid "Lost password form modal start"
3276
  msgstr ""
3277
 
3278
+ #: framework/premium/features/content-blocks/hooks-manager.php:516
3279
  msgid "Lost password form modal end"
3280
  msgstr ""
3281
 
3282
+ #: framework/premium/features/content-blocks/hooks-manager.php:524
3283
  msgid "Before main content"
3284
  msgstr ""
3285
 
3286
+ #: framework/premium/features/content-blocks/hooks-manager.php:530
3287
  msgid "After main content"
3288
  msgstr ""
3289
 
3290
+ #: framework/premium/features/content-blocks/hooks-manager.php:536
3291
  msgid "Offcanvas Filters Top"
3292
  msgstr ""
3293
 
3294
+ #: framework/premium/features/content-blocks/hooks-manager.php:542
3295
  msgid "Offcanvas Filters Bottom"
3296
  msgstr ""
3297
 
3298
+ #: framework/premium/features/content-blocks/hooks-manager.php:545
3299
  msgid "WooCommerce Global"
3300
  msgstr ""
3301
 
3302
+ #: framework/premium/features/content-blocks/hooks-manager.php:550
3303
  msgid "Archive description"
3304
  msgstr ""
3305
 
3306
+ #: framework/premium/features/content-blocks/hooks-manager.php:555
3307
  msgid "Before shop loop"
3308
  msgstr ""
3309
 
3310
+ #: framework/premium/features/content-blocks/hooks-manager.php:572
3311
  msgid "Before shop loop item title"
3312
  msgstr ""
3313
 
3314
+ #: framework/premium/features/content-blocks/hooks-manager.php:577
3315
  msgid "After shop loop item title"
3316
  msgstr ""
3317
 
3318
+ #: framework/premium/features/content-blocks/hooks-manager.php:582
3319
  msgid "Before shop loop item price"
3320
  msgstr ""
3321
 
3322
+ #: framework/premium/features/content-blocks/hooks-manager.php:587
3323
  msgid "After shop loop item price"
3324
  msgstr ""
3325
 
3326
+ #: framework/premium/features/content-blocks/hooks-manager.php:592
3327
  msgid "Before shop loop item actions"
3328
  msgstr ""
3329
 
3330
+ #: framework/premium/features/content-blocks/hooks-manager.php:597
3331
  msgid "After shop loop item actions"
3332
  msgstr ""
3333
 
3334
+ #: framework/premium/features/content-blocks/hooks-manager.php:602
3335
  msgid "After shop loop"
3336
  msgstr ""
3337
 
3338
+ #: framework/premium/features/content-blocks/hooks-manager.php:604
3339
  msgid "WooCommerce Archive"
3340
  msgstr ""
3341
 
3342
+ #: framework/premium/features/content-blocks/hooks-manager.php:609
3343
  msgid "Before single product"
3344
  msgstr ""
3345
 
3346
+ #: framework/premium/features/content-blocks/hooks-manager.php:627
3347
  msgid "Product meta start"
3348
  msgstr ""
3349
 
3350
+ #: framework/premium/features/content-blocks/hooks-manager.php:631
3351
  msgid "Product meta end"
3352
  msgstr ""
3353
 
3354
+ #: framework/premium/features/content-blocks/hooks-manager.php:635
3355
  msgid "Share"
3356
  msgstr ""
3357
 
3358
+ #: framework/premium/features/content-blocks/hooks-manager.php:639
3359
  msgid "After single product"
3360
  msgstr ""
3361
 
3362
+ #: framework/premium/features/content-blocks/hooks-manager.php:645
3363
  msgid "Before single product excerpt"
3364
  msgstr ""
3365
 
3366
+ #: framework/premium/features/content-blocks/hooks-manager.php:650
3367
  msgid "After single product excerpt"
3368
  msgstr ""
3369
 
3370
+ #: framework/premium/features/content-blocks/hooks-manager.php:655
3371
  msgid "Before single product tabs"
3372
  msgstr ""
3373
 
3374
+ #: framework/premium/features/content-blocks/hooks-manager.php:661
3375
  msgid "After single product tabs"
3376
  msgstr ""
3377
 
3378
+ #: framework/premium/features/content-blocks/hooks-manager.php:665
3379
  msgid "WooCommerce Product"
3380
  msgstr ""
3381
 
3382
+ #: framework/premium/features/content-blocks/hooks-manager.php:670
3383
  msgid "Cart is empty"
3384
  msgstr ""
3385
 
3386
+ #: framework/premium/features/content-blocks/hooks-manager.php:674
3387
  msgid "Before cart"
3388
  msgstr ""
3389
 
3390
+ #: framework/premium/features/content-blocks/hooks-manager.php:678
3391
  msgid "Before cart table"
3392
  msgstr ""
3393
 
3394
+ #: framework/premium/features/content-blocks/hooks-manager.php:682
3395
  msgid "Before cart contents"
3396
  msgstr ""
3397
 
3398
+ #: framework/premium/features/content-blocks/hooks-manager.php:686
3399
  msgid "Cart contents"
3400
  msgstr ""
3401
 
3402
+ #: framework/premium/features/content-blocks/hooks-manager.php:690
3403
  msgid "After cart contents"
3404
  msgstr ""
3405
 
3406
+ #: framework/premium/features/content-blocks/hooks-manager.php:694
3407
  msgid "Cart coupon"
3408
  msgstr ""
3409
 
3410
+ #: framework/premium/features/content-blocks/hooks-manager.php:698
3411
  msgid "Cart actions"
3412
  msgstr ""
3413
 
3414
+ #: framework/premium/features/content-blocks/hooks-manager.php:702
3415
  msgid "After cart table"
3416
  msgstr ""
3417
 
3418
+ #: framework/premium/features/content-blocks/hooks-manager.php:706
3419
  msgid "Cart collaterals"
3420
  msgstr ""
3421
 
3422
+ #: framework/premium/features/content-blocks/hooks-manager.php:710
3423
  msgid "Before cart totals"
3424
  msgstr ""
3425
 
3426
+ #: framework/premium/features/content-blocks/hooks-manager.php:714
3427
  msgid "Cart totals before order total"
3428
  msgstr ""
3429
 
3430
+ #: framework/premium/features/content-blocks/hooks-manager.php:718
3431
  msgid "Cart totals after order total"
3432
  msgstr ""
3433
 
3434
+ #: framework/premium/features/content-blocks/hooks-manager.php:722
3435
  msgid "Proceed to checkout"
3436
  msgstr ""
3437
 
3438
+ #: framework/premium/features/content-blocks/hooks-manager.php:726
3439
  msgid "After cart totals"
3440
  msgstr ""
3441
 
3442
+ #: framework/premium/features/content-blocks/hooks-manager.php:730
3443
  msgid "After cart"
3444
  msgstr ""
3445
 
3446
+ #: framework/premium/features/content-blocks/hooks-manager.php:735
3447
  msgid "Before Mini Cart"
3448
  msgstr ""
3449
 
3450
+ #: framework/premium/features/content-blocks/hooks-manager.php:740
3451
  msgid "Before Mini Cart Contents"
3452
  msgstr ""
3453
 
3454
+ #: framework/premium/features/content-blocks/hooks-manager.php:745
3455
  msgid "Mini Cart Contents"
3456
  msgstr ""
3457
 
3458
+ #: framework/premium/features/content-blocks/hooks-manager.php:750
3459
  msgid "Widget Shopping Cart Before Buttons"
3460
  msgstr ""
3461
 
3462
+ #: framework/premium/features/content-blocks/hooks-manager.php:755
3463
  msgid "Widget Shopping Cart After Buttons"
3464
  msgstr ""
3465
 
3466
+ #: framework/premium/features/content-blocks/hooks-manager.php:760
3467
  msgid "After Mini Cart"
3468
  msgstr ""
3469
 
3470
+ #: framework/premium/features/content-blocks/hooks-manager.php:762
3471
  msgid "WooCommerce Cart"
3472
  msgstr ""
3473
 
3474
+ #: framework/premium/features/content-blocks/hooks-manager.php:768
3475
  msgid "Before checkout form"
3476
  msgstr ""
3477
 
3478
+ #: framework/premium/features/content-blocks/hooks-manager.php:772
3479
  msgid "Before customer details"
3480
  msgstr ""
3481
 
3482
+ #: framework/premium/features/content-blocks/hooks-manager.php:776
3483
  msgid "After customer details"
3484
  msgstr ""
3485
 
3486
+ #: framework/premium/features/content-blocks/hooks-manager.php:780
3487
  msgid "Checkout billing"
3488
  msgstr ""
3489
 
3490
+ #: framework/premium/features/content-blocks/hooks-manager.php:784
3491
  msgid "Before checkout billing form"
3492
  msgstr ""
3493
 
3494
+ #: framework/premium/features/content-blocks/hooks-manager.php:788
3495
  msgid "After checkout billing form"
3496
  msgstr ""
3497
 
3498
+ #: framework/premium/features/content-blocks/hooks-manager.php:792
3499
  msgid "Before order notes"
3500
  msgstr ""
3501
 
3502
+ #: framework/premium/features/content-blocks/hooks-manager.php:796
3503
  msgid "After order notes"
3504
  msgstr ""
3505
 
3506
+ #: framework/premium/features/content-blocks/hooks-manager.php:800
3507
  msgid "Checkout shipping"
3508
  msgstr ""
3509
 
3510
+ #: framework/premium/features/content-blocks/hooks-manager.php:804
3511
  msgid "Checkout before order review"
3512
  msgstr ""
3513
 
3514
+ #: framework/premium/features/content-blocks/hooks-manager.php:808
3515
  msgid "Checkout order review"
3516
  msgstr ""
3517
 
3518
+ #: framework/premium/features/content-blocks/hooks-manager.php:812
3519
  msgid "Review order before cart contents"
3520
  msgstr ""
3521
 
3522
+ #: framework/premium/features/content-blocks/hooks-manager.php:816
3523
  msgid "Review order after cart contents"
3524
  msgstr ""
3525
 
3526
+ #: framework/premium/features/content-blocks/hooks-manager.php:820
3527
  msgid "Review order before order total"
3528
  msgstr ""
3529
 
3530
+ #: framework/premium/features/content-blocks/hooks-manager.php:824
3531
  msgid "Review order after order total"
3532
  msgstr ""
3533
 
3534
+ #: framework/premium/features/content-blocks/hooks-manager.php:828
3535
  msgid "Review order before payment"
3536
  msgstr ""
3537
 
3538
+ #: framework/premium/features/content-blocks/hooks-manager.php:832
3539
  msgid "Review order before submit"
3540
  msgstr ""
3541
 
3542
+ #: framework/premium/features/content-blocks/hooks-manager.php:836
3543
  msgid "Review order after submit"
3544
  msgstr ""
3545
 
3546
+ #: framework/premium/features/content-blocks/hooks-manager.php:840
3547
  msgid "Review order after payment"
3548
  msgstr ""
3549
 
3550
+ #: framework/premium/features/content-blocks/hooks-manager.php:844
3551
  msgid "Checkout after order review"
3552
  msgstr ""
3553
 
3554
+ #: framework/premium/features/content-blocks/hooks-manager.php:848
3555
  msgid "After checkout form"
3556
  msgstr ""
3557
 
3558
+ #: framework/premium/features/content-blocks/hooks-manager.php:851
3559
  msgid "WooCommerce Checkout"
3560
  msgstr ""
3561
 
3562
+ #: framework/premium/features/content-blocks/hooks-manager.php:857
3563
  msgid "Before my account"
3564
  msgstr ""
3565
 
3566
+ #: framework/premium/features/content-blocks/hooks-manager.php:861
3567
  msgid "Before account navigation"
3568
  msgstr ""
3569
 
3570
+ #: framework/premium/features/content-blocks/hooks-manager.php:865
3571
  msgid "Account navigation"
3572
  msgstr ""
3573
 
3574
+ #: framework/premium/features/content-blocks/hooks-manager.php:869
3575
  msgid "After account navigation"
3576
  msgstr ""
3577
 
3578
+ #: framework/premium/features/content-blocks/hooks-manager.php:873
3579
  msgid "Account content"
3580
  msgstr ""
3581
 
3582
+ #: framework/premium/features/content-blocks/hooks-manager.php:877
3583
  msgid "Account dashboard"
3584
  msgstr ""
3585
 
3586
+ #: framework/premium/features/content-blocks/hooks-manager.php:881
3587
  msgid "After my account"
3588
  msgstr ""
3589
 
3590
+ #: framework/premium/features/content-blocks/hooks-manager.php:883,
3591
  #: framework/features/header/items/account/options.php:17,
3592
  #: framework/features/header/items/account/options.php:18
3593
  msgid "WooCommerce Account"
3594
  msgstr ""
3595
 
3596
+ #: framework/premium/features/content-blocks/hooks-manager.php:889
3597
  msgid "WP footer"
3598
  msgstr ""
3599
 
3600
+ #: framework/premium/features/content-blocks/hooks-manager.php:890,
3601
+ #: framework/premium/features/content-blocks/hooks-manager.php:898,
3602
+ #: framework/premium/features/content-blocks/hooks-manager.php:906
3603
  msgid "Footer"
3604
  msgstr ""
3605
 
3606
+ #: framework/premium/features/content-blocks/hooks-manager.php:897
3607
  msgid "Footer before"
3608
  msgstr ""
3609
 
3610
+ #: framework/premium/features/content-blocks/hooks-manager.php:905
3611
  msgid "Footer after"
3612
  msgstr ""
3613
 
3614
+ #: framework/premium/features/content-blocks/hooks-manager.php:920
3615
  msgid "Custom Hook (%s)"
3616
  msgstr ""
3617
 
3618
+ #: framework/premium/features/content-blocks/hooks-manager.php:926,
3619
  #: framework/premium/features/content-blocks/options/hook.php:197
3620
  #: framework/premium/static/js/options/MultipleLocationsSelect.js:90
3621
  msgid "After Block Number"
3622
  msgstr ""
3623
 
3624
+ #: framework/premium/features/content-blocks/hooks-manager.php:932,
3625
  #: framework/premium/features/content-blocks/options/hook.php:214
3626
  #: framework/premium/static/js/options/MultipleLocationsSelect.js:112
3627
  msgid "Before Heading Number"
4347
  msgid "Quick View Modal Button"
4348
  msgstr ""
4349
 
4350
+ #: framework/premium/extensions/woocommerce-extra/includes/wish-list-table.php:192
4351
  msgid "You don't have any products in your wish list yet."
4352
  msgstr ""
4353
 
4354
+ #: framework/premium/extensions/woocommerce-extra/includes/wish-list-table.php:35
4355
  msgid "Add to cart"
4356
  msgstr ""
4357
 
4358
+ #: framework/premium/extensions/woocommerce-extra/includes/wish-list-table.php:128,
4359
+ #: framework/premium/extensions/woocommerce-extra/includes/wish-list-table.php:152
4360
  msgid "Remove Product"
4361
  msgstr ""
4362
 
5622
  msgstr ""
5623
 
5624
  #: framework/premium/static/js/options/PreviewedPostsSelect.js:107
5625
+ #: static/js/options/ConditionsManager/PostIdPicker.js:68
5626
  msgid "Type to search by ID or title..."
5627
  msgstr ""
5628
 
5629
  #: framework/premium/static/js/options/PreviewedPostsSelect.js:111
5630
+ #: static/js/options/ConditionsManager/PostIdPicker.js:74
5631
  msgid "Select post"
5632
  msgstr ""
5633
 
5762
  msgid "Add User Condition"
5763
  msgstr ""
5764
 
5765
+ #: static/js/options/ConditionsManager/PostIdPicker.js:76
5766
  msgid "Select page"
5767
  msgstr ""
5768
 
readme.txt CHANGED
@@ -2,10 +2,10 @@
2
  Tags: widget, widgets
3
  Requires at least: 5.2
4
  Requires PHP: 7.0
5
- Tested up to: 5.9
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
- Stable tag: 1.8.32
9
 
10
  == Description ==
11
 
@@ -23,6 +23,9 @@ It runs and adds its enhancements only if the Blocksy theme is installed and act
23
  2. Activate the plugin by going to **Plugins** page in WordPress admin and clicking on **Activate** link.
24
 
25
  == Changelog ==
 
 
 
26
  1.8.32: 2022-05-20
27
  - Improvement: Sync for row shrink in sticky header
28
 
2
  Tags: widget, widgets
3
  Requires at least: 5.2
4
  Requires PHP: 7.0
5
+ Tested up to: 6.0
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
+ Stable tag: 1.8.33
9
 
10
  == Description ==
11
 
23
  2. Activate the plugin by going to **Plugins** page in WordPress admin and clicking on **Activate** link.
24
 
25
  == Changelog ==
26
+ 1.8.33: 2022-05-25
27
+ - Improvement: Stabilize individual post selection in the conditional module
28
+
29
  1.8.32: 2022-05-20
30
  - Improvement: Sync for row shrink in sticky header
31
 
static/bundle/account-lazy.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.32
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.33
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
static/bundle/account.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=2)}([function(e,t){e.exports=window.ctEvents},function(e,t){e.exports=window.ctFrontend},function(e,t,r){"use strict";r.r(t);var o=r(0),n=r.n(o),c=r(1);function a(e){return(a="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})(e)}function i(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var s=function(e,t){var r=function(e){var t=jQuery();return i(e.querySelectorAll("input")).map((function(e){t=t.add(e)})),t}(t);if("object"===("undefined"==typeof grecaptcha?"undefined":a(grecaptcha)))grecaptcha.ready((function(){grecaptcha.execute(WFLSVars.recaptchasitekey,{action:"login"}).then((function(t){var o=jQuery("#wfls-captcha-token");o.length?o.val(t):r.length&&((o=jQuery('<input type="hidden" name="wfls-captcha-token" id="wfls-captcha-token" />')).val(t),r.parent().append(o)),"function"==typeof e&&e(!0)}))}));else{var o=jQuery("#wfls-captcha-token");o.length?o.val("grecaptcha-missing"):r.length&&((o=jQuery('<input type="hidden" name="wfls-captcha-token" id="wfls-captcha-token" />')).val("grecaptcha-missing"),r.parent().append(o)),"function"==typeof e&&e(!0)}},u=function(e){i(e.querySelectorAll(".g-recaptcha, .anr_captcha_field")).map((function(e){e.classList.contains("anr_captcha_field")?grecaptcha.reset(parseFloat(e.firstElementChild.id.replace("anr_captcha_field_",""))-1):grecaptcha.reset(e.gID)}))},f=function(e){return new Promise((function(t){(function(e,t){return!(!window.WFLSVars||!parseInt(WFLSVars.useCAPTCHA))&&(s((function(){return e()}),t),!0)})(t,e)||t()}))},d=function(e,t){var r=t.screen,o=void 0===r?"login":r;e.querySelector(".ct-".concat(o,"-form"))||(o="login"),e.querySelector("ul")&&e.querySelector("ul .ct-".concat(o))&&(e.querySelector("ul .active").classList.remove("active"),e.querySelector("ul .ct-".concat(o)).classList.add("active")),e.querySelector('[class*="-form"].active').classList.remove("active"),e.querySelector(".ct-".concat(o,"-form")).classList.add("active"),e.querySelector(".ct-".concat(o,"-form form"))&&e.querySelector(".ct-".concat(o,"-form form")).reset(),e.querySelector(".ct-account-form").classList.remove("ct-error");var n=e.querySelector(".ct-".concat(o,"-form")).querySelector(".ct-form-notification");n&&n.remove();var c=e.querySelector(".ct-".concat(o,"-form")).querySelector(".ct-form-notification-error");c&&c.remove()},m=function(e,t){var r=e.querySelector(".ct-form-notification-error");r&&r.remove(),e.closest(".ct-account-form").classList.remove("ct-error"),t&&(e.insertAdjacentHTML("afterbegin",'<div class="ct-form-notification-error">'.concat(t,"</div>")),requestAnimationFrame((function(){e.closest(".ct-account-form").classList.add("ct-error")})))},p=function(e,t){var r=(new DOMParser).parseFromString(t,"text/html"),o=r.querySelector("#login_error"),n="";return o&&(n=o.innerHTML),m(e,n),{hasError:!!o,doc:r}},y=function(e,t){var r=e.querySelector(".ct-form-notification");r&&r.remove(),e.closest(".ct-account-form").classList.remove("ct-error"),t&&e.insertAdjacentHTML("afterbegin",'<div class="ct-form-notification">'.concat(t,"</div>"))},v=function(e,t){var r=(new DOMParser).parseFromString(t,"text/html"),o=r.querySelector(".message"),n="";return o&&(n=o.innerHTML),y(e,n),{doc:r}},h="";Object(c.registerDynamicChunk)("blocksy_account",{mount:function(e,t){var r=t.event;if(r.preventDefault(),!h){var o=document.querySelector("#account-modal");h=o.innerHTML,o.remove()}var a=document.querySelector(".ct-drawer-canvas").lastElementChild;a.id="account-modal";var i=ct_localizations.dynamic_styles_selectors.find((function(e){return a.matches(e.selector)})),l=function(){a.innerHTML=h,function(e){if(e&&!e.hasListeners){e.hasListeners=!0;var t=e.querySelector('[name="loginform"]'),r=e.querySelector('[name="registerform"]'),o=e.querySelector('[name="lostpasswordform"]');e.addEventListener("click",(function(r){r.target.href&&r.target.href.indexOf("lostpassword")>-1&&(d(e,{screen:"forgot-password"}),r.preventDefault()),r.target.href&&r.target.classList.contains("showlogin")&&(d(e,{screen:"login"}),r.preventDefault()),r.target.href&&(r.target.href.indexOf("wp-login")>-1||t&&r.target.href===t.action)&&-1===r.target.href.indexOf("lostpassword")&&(d(e,{screen:"login"}),r.preventDefault())}),!0),t&&t.addEventListener("submit",(function(e){if(e.preventDefault(),!window.ct_customizer_localizations){var r=new FormData(t),o="".concat(ct_localizations.ajax_url,"?action=blc_implement_user_login");if(window.WFLSVars&&!t.loginProceed)return r.append("action","wordfence_ls_authenticate"),o=WFLSVars.ajaxurl,void f(t).then((function(){fetch(o,{method:t.method,body:r}).then((function(e){return e.json()})).then((function(e){var r=!!e.error,o=t.closest(".ct-login-form"),n=t.closest(".ct-login-form").querySelector("form");if(r&&m(o,e.error),e.message&&y(n,e.message),e.login&&e.jwt){if(!jQuery("#wfls-token").length){var c=jQuery('<div id="wfls-prompt-overlay-blocksy"></div>'),a=jQuery('<div id="wfls-prompt-wrapper"></div>'),i=jQuery('<label for="wfls-token">2FA Code <a href="javascript:void(0)" class="wfls-2fa-code-help wfls-tooltip-trigger" title="The 2FA Code can be found within the authenticator app you used when first activating two-factor authentication. You may also use one of your recovery codes."><i class="dashicons dashicons-editor-help"></i></a></label>'),l=jQuery('<input type="text" name="wfls-token" id="wfls-token" aria-describedby="wfls-token-error" class="input" value="" size="6" autocomplete="off"/>'),s=jQuery('<label for="wfls-remember-device"><input name="wfls-remember-device" type="checkbox" id="wfls-remember-device" class="ct-checkbox" value="1" /> Remember for 30 days</label>');a.append(i),a.append(l),parseInt(WFLSVars.allowremember)&&a.append(s),c.append(a),jQuery(n).prepend(c),new jQuery.Zebra_Tooltips(jQuery(".wfls-tooltip-trigger"))}var f=jQuery("#wfls-token-jwt");f.length||(f=jQuery('<input type="hidden" name="wfls-token-jwt" id="wfls-token-jwt" value=""/>'),jQuery("#wfls-prompt-overlay-blocksy").append(f)),jQuery("#wfls-token-jwt").val(e.jwt)}e.combined&&(t.loginProceed=!0,n.submit()),(!r||r&&-1===t.closest(".ct-login-form").querySelector(".ct-form-notification-error").innerHTML.indexOf("Captcha"))&&u(t.closest(".ct-login-form"))}))}));f(t).then((function(){fetch(o,{method:t.method,body:r}).then((function(e){return e.text()})).then((function(e){var r=p(t.closest(".ct-login-form"),e),o=(r.doc,r.hasError);o||(location=t.querySelector('[name="redirect_to"]').value),(!o||o&&-1===t.closest(".ct-login-form").querySelector(".ct-form-notification-error").innerHTML.indexOf("Captcha"))&&u(t.closest(".ct-login-form"))}))}))}})),r&&r.addEventListener("submit",(function(e){e.preventDefault(),window.ct_customizer_localizations||f(r).then((function(){return fetch("".concat(ct_localizations.ajax_url,"?action=blc_implement_user_registration"),{method:r.method,body:new FormData(r)}).then((function(e){return e.text()})).then((function(e){var t=p(r.closest(".ct-register-form"),e),o=(t.doc,t.hasError);o||v(r.closest(".ct-register-form"),e),n.a.trigger("blocksy:account:register:".concat(o?"error":"success")),(!o||o&&-1===r.closest(".ct-register-form").querySelector(".ct-form-notification-error").innerHTML.indexOf("Captcha"))&&u(r.closest(".ct-register-form"))}))}))})),o&&o.addEventListener("submit",(function(e){e.preventDefault(),window.ct_customizer_localizations||fetch("".concat(ct_localizations.ajax_url,"?action=blc_implement_user_lostpassword"),{method:o.method,body:new FormData(o)}).then((function(e){return e.text()})).then((function(e){var t=p(o.closest(".ct-forgot-password-form"),e),r=(t.doc,t.hasError);r||v(o.closest(".ct-forgot-password-form"),e),(!r||r&&-1===o.closest(".ct-forgot-password-form").querySelector(".ct-form-notification-error").innerHTML.indexOf("Captcha"))&&u(o.closest(".ct-forgot-password-form"))}))})),["login","register","forgot-password"].map((function(t){Array.from(e.querySelectorAll(".ct-".concat(t))).map((function(r){r.addEventListener("click",(function(r){r.preventDefault(),d(e,{screen:t})})),r.addEventListener("keyup",(function(r){13===r.keyCode&&(r.preventDefault(),d(e,{screen:t}))}))}))}))}}(a),d(a,{screen:e.dataset.view||"login"}),window.anr_onloadCallback&&window.anr_onloadCallback(),n.a.trigger("ct:overlay:handle-click",{e:r,href:"#account-modal",options:{openStrategy:"skip",isModal:!0}})};i?Object(c.loadStyle)(i.url).then((function(){l()})):l()}}),n.a.on("ct:modal:closed",(function(e){e.closest("#account-modal")&&e.remove()}))}]);
1
+ !function(e){var t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=t,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(o,n,function(t){return e[t]}.bind(null,n));return o},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=2)}([function(e,t){e.exports=window.ctEvents},function(e,t){e.exports=window.ctFrontend},function(e,t,r){"use strict";r.r(t);var o=r(0),n=r.n(o),c=r(1);function a(e){return(a="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})(e)}function i(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var s=function(e,t){var r=function(e){var t=jQuery();return i(e.querySelectorAll("input")).map((function(e){t=t.add(e)})),t}(t);if("object"===("undefined"==typeof grecaptcha?"undefined":a(grecaptcha)))grecaptcha.ready((function(){grecaptcha.execute(WFLSVars.recaptchasitekey,{action:"login"}).then((function(t){var o=jQuery("#wfls-captcha-token");o.length?o.val(t):r.length&&((o=jQuery('<input type="hidden" name="wfls-captcha-token" id="wfls-captcha-token" />')).val(t),r.parent().append(o)),"function"==typeof e&&e(!0)}))}));else{var o=jQuery("#wfls-captcha-token");o.length?o.val("grecaptcha-missing"):r.length&&((o=jQuery('<input type="hidden" name="wfls-captcha-token" id="wfls-captcha-token" />')).val("grecaptcha-missing"),r.parent().append(o)),"function"==typeof e&&e(!0)}},u=function(e){i(e.querySelectorAll(".g-recaptcha, .anr_captcha_field")).map((function(e){e.classList.contains("anr_captcha_field")?grecaptcha.reset(parseFloat(e.firstElementChild.id.replace("anr_captcha_field_",""))-1):grecaptcha.reset(e.gID)}))},f=function(e){return new Promise((function(t){(function(e,t){return!(!window.WFLSVars||!parseInt(WFLSVars.useCAPTCHA))&&(s((function(){return e()}),t),!0)})(t,e)||t()}))},d=function(e,t){var r=t.screen,o=void 0===r?"login":r;e.querySelector(".ct-".concat(o,"-form"))||(o="login"),e.querySelector("ul")&&e.querySelector("ul .ct-".concat(o))&&(e.querySelector("ul .active").classList.remove("active"),e.querySelector("ul .ct-".concat(o)).classList.add("active")),e.querySelector('[class*="-form"].active').classList.remove("active"),e.querySelector(".ct-".concat(o,"-form")).classList.add("active"),e.querySelector(".ct-".concat(o,"-form form"))&&e.querySelector(".ct-".concat(o,"-form form")).reset(),e.querySelector(".ct-account-form").classList.remove("ct-error");var n=e.querySelector(".ct-".concat(o,"-form")).querySelector(".ct-form-notification");n&&n.remove();var c=e.querySelector(".ct-".concat(o,"-form")).querySelector(".ct-form-notification-error");c&&c.remove()},m=function(e,t){var r=e.querySelector(".ct-form-notification-error");r&&r.remove(),e.closest(".ct-account-form").classList.remove("ct-error"),t&&(e.insertAdjacentHTML("afterbegin",'<div class="ct-form-notification-error">'.concat(t,"</div>")),requestAnimationFrame((function(){e.closest(".ct-account-form").classList.add("ct-error")})))},p=function(e,t){var r=(new DOMParser).parseFromString(t,"text/html"),o=r.querySelector("#login_error"),n="";return o&&(n=o.innerHTML),m(e,n),{hasError:!!o,doc:r}},y=function(e,t){var r=e.querySelector(".ct-form-notification");r&&r.remove(),e.closest(".ct-account-form").classList.remove("ct-error"),t&&e.insertAdjacentHTML("afterbegin",'<div class="ct-form-notification">'.concat(t,"</div>"))},h=function(e,t){var r=(new DOMParser).parseFromString(t,"text/html"),o=r.querySelector(".message"),n="";return o&&(n=o.innerHTML),y(e,n),{doc:r}},v="";Object(c.registerDynamicChunk)("blocksy_account",{mount:function(e,t){var r=t.event;if(r.preventDefault(),!v){var o=document.querySelector("#account-modal");v=o.innerHTML,o.remove()}var a=document.querySelector(".ct-drawer-canvas").lastElementChild;a.id="account-modal";var i=ct_localizations.dynamic_styles_selectors.find((function(e){return a.matches(e.selector)})),l=function(){a.innerHTML=v,function(e){if(e&&!e.hasListeners){e.hasListeners=!0;var t=e.querySelector('[name="loginform"]'),r=e.querySelector('[name="registerform"]'),o=e.querySelector('[name="lostpasswordform"]');e.addEventListener("click",(function(r){r.target.href&&r.target.href.indexOf("lostpassword")>-1&&(d(e,{screen:"forgot-password"}),r.preventDefault()),r.target.href&&r.target.classList.contains("showlogin")&&(d(e,{screen:"login"}),r.preventDefault()),r.target.href&&(r.target.href.indexOf("wp-login")>-1||t&&r.target.href===t.action)&&-1===r.target.href.indexOf("lostpassword")&&(d(e,{screen:"login"}),r.preventDefault())}),!0),t&&t.addEventListener("submit",(function(e){if(e.preventDefault(),!window.ct_customizer_localizations){var r=new FormData(t),o="".concat(ct_localizations.ajax_url,"?action=blc_implement_user_login");if(window.WFLSVars&&!t.loginProceed)return r.append("action","wordfence_ls_authenticate"),o=WFLSVars.ajaxurl,void f(t).then((function(){fetch(o,{method:t.method,body:r}).then((function(e){return e.json()})).then((function(e){var r=!!e.error,o=t.closest(".ct-login-form"),n=t.closest(".ct-login-form").querySelector("form");if(r&&m(o,e.error),e.message&&y(n,e.message),e.login)if(e.jwt){if(!jQuery("#wfls-token").length){var c=jQuery('<div id="wfls-prompt-overlay-blocksy"></div>'),a=jQuery('<div id="wfls-prompt-wrapper"></div>'),i=jQuery('<label for="wfls-token">2FA Code <a href="javascript:void(0)" class="wfls-2fa-code-help wfls-tooltip-trigger" title="The 2FA Code can be found within the authenticator app you used when first activating two-factor authentication. You may also use one of your recovery codes."><i class="dashicons dashicons-editor-help"></i></a></label>'),l=jQuery('<input type="text" name="wfls-token" id="wfls-token" aria-describedby="wfls-token-error" class="input" value="" size="6" autocomplete="off"/>'),s=jQuery('<label for="wfls-remember-device"><input name="wfls-remember-device" type="checkbox" id="wfls-remember-device" class="ct-checkbox" value="1" /> Remember for 30 days</label>');a.append(i),a.append(l),parseInt(WFLSVars.allowremember)&&a.append(s),c.append(a),jQuery(n).prepend(c),new jQuery.Zebra_Tooltips(jQuery(".wfls-tooltip-trigger"))}var f=jQuery("#wfls-token-jwt");f.length||(f=jQuery('<input type="hidden" name="wfls-token-jwt" id="wfls-token-jwt" value=""/>'),jQuery("#wfls-prompt-overlay-blocksy").append(f)),jQuery("#wfls-token-jwt").val(e.jwt)}else fetch("".concat(ct_localizations.ajax_url,"?action=blc_implement_user_login"),{method:t.method,body:new FormData(t)}).then((function(e){return e.text()})).then((function(e){location=t.querySelector('[name="redirect_to"]').value}));e.combined&&(t.loginProceed=!0,fetch("".concat(ct_localizations.ajax_url,"?action=blc_implement_user_login"),{method:t.method,body:new FormData(t)}).then((function(e){return e.text()})).then((function(e){location=t.querySelector('[name="redirect_to"]').value}))),(!r||r&&-1===t.closest(".ct-login-form").querySelector(".ct-form-notification-error").innerHTML.indexOf("Captcha"))&&u(t.closest(".ct-login-form"))}))}));f(t).then((function(){fetch(o,{method:t.method,body:r}).then((function(e){return e.text()})).then((function(e){var r=p(t.closest(".ct-login-form"),e),o=(r.doc,r.hasError);o||(location=t.querySelector('[name="redirect_to"]').value),(!o||o&&-1===t.closest(".ct-login-form").querySelector(".ct-form-notification-error").innerHTML.indexOf("Captcha"))&&u(t.closest(".ct-login-form"))}))}))}})),r&&r.addEventListener("submit",(function(e){e.preventDefault(),window.ct_customizer_localizations||f(r).then((function(){return fetch("".concat(ct_localizations.ajax_url,"?action=blc_implement_user_registration"),{method:r.method,body:new FormData(r)}).then((function(e){return e.text()})).then((function(e){var t=p(r.closest(".ct-register-form"),e),o=(t.doc,t.hasError);o||h(r.closest(".ct-register-form"),e),n.a.trigger("blocksy:account:register:".concat(o?"error":"success")),(!o||o&&-1===r.closest(".ct-register-form").querySelector(".ct-form-notification-error").innerHTML.indexOf("Captcha"))&&u(r.closest(".ct-register-form"))}))}))})),o&&o.addEventListener("submit",(function(e){e.preventDefault(),window.ct_customizer_localizations||fetch("".concat(ct_localizations.ajax_url,"?action=blc_implement_user_lostpassword"),{method:o.method,body:new FormData(o)}).then((function(e){return e.text()})).then((function(e){var t=p(o.closest(".ct-forgot-password-form"),e),r=(t.doc,t.hasError);r||h(o.closest(".ct-forgot-password-form"),e),(!r||r&&-1===o.closest(".ct-forgot-password-form").querySelector(".ct-form-notification-error").innerHTML.indexOf("Captcha"))&&u(o.closest(".ct-forgot-password-form"))}))})),["login","register","forgot-password"].map((function(t){Array.from(e.querySelectorAll(".ct-".concat(t))).map((function(r){r.addEventListener("click",(function(r){r.preventDefault(),d(e,{screen:t})})),r.addEventListener("keyup",(function(r){13===r.keyCode&&(r.preventDefault(),d(e,{screen:t}))}))}))}))}}(a),d(a,{screen:e.dataset.view||"login"}),window.anr_onloadCallback&&window.anr_onloadCallback(),n.a.trigger("ct:overlay:handle-click",{e:r,href:"#account-modal",options:{openStrategy:"skip",isModal:!0}})};i?Object(c.loadStyle)(i.url).then((function(){l()})):l()}}),n.a.on("ct:modal:closed",(function(e){e.closest("#account-modal")&&e.remove()}))}]);
static/bundle/dashboard.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.32
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.33
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
static/bundle/options.js CHANGED
@@ -11,4 +11,4 @@
11
  * Copyright 2013 Bryan Davis and contributors
12
  * Released under the MIT license
13
  * http://www.opensource.org/licenses/MIT
14
- */!function(n,a){"use strict";o=[],void 0===(c="function"==typeof(r=function(){return function(e){var t,n=0,r=[],o=0,c=function(){var t=e.indexOf(":",n),r=e.substring(n,t);return n=t+2,parseInt(r,10)},a=function(){var t=e.indexOf(";",n),r=e.substring(n,t);return n=t+1,parseInt(r,10)},i=function(t='"'){for(var r,o,a=c(),i=0,l=0;l<a;)(r=e.charCodeAt(n+i++))<=127?l++:l+=r>2047?3:2;return e.charAt(n+i)!==t&&(i+=e.indexOf('"',n+i)-n-i),o=e.substring(n,n+i),n+=i+2,o},l=function(){var t=e.charAt(n);return n+=2,t},u=function(){var e=l();switch(e){case"i":return a();case"s":return i();default:throw new Error("Unknown key type '"+e+"' at position "+(n-2))}},s=function(e,t){var r,o,c;if("\0"===e.charAt(0)){if((c=e.indexOf("\0",1))>0)return r=e.substring(1,c),o=e.substr(c+1),"*"===r||t===r?o:r+"::"+o;var a="Expected two <NUL> characters in non-public property name '"+e+"' at position "+(n-e.length-2);throw new Error(a)}return e};return(t=function(){var p,d,f=l();switch(f){case"i":return d=a(),r[o++]=d,d;case"d":return function(){var t=e.indexOf(";",n),c=e.substring(n,t);return n=t+1,c=parseFloat(c),r[o++]=c,c}();case"b":return function(){var t=e.indexOf(";",n),c=e.substring(n,t);return n=t+1,c="1"===c,r[o++]=c,c}();case"s":return function(){var e=i();return r[o++]=e,e}();case"a":return function(){var e,a,i,l,s,p=c(),d=[],f={},b=d,m=o++;r[m]=b;try{for(i=0;i<p;i++)if(e=u(),a=t(),b===d&&e+""==i+"")d.push(a);else{if(b!==f){for(l=0,s=d.length;l<s;l++)f[l]=d[l];b=f,r[m]=b}f[e]=a}}catch(e){throw e.state=b,e}return n++,b}();case"O":return function(){var e,a,l,p,d={},f=o++,b=i();r[f]=d,e=c();try{for(p=0;p<e;p++)a=s(u(),b),l=t(),d[a]=l}catch(e){throw e.state=d,e}return n++,d}();case"C":return{__PHP_Incomplete_Class_Name:i(),serialized:i("}")};case"r":return function(){var e=a(),t=r[e-1];return r[o++]=t,t}();case"R":return p=a(),r[p-1];case"N":return r[o++]=null,null;default:throw new Error("Unknown type '"+f+"' at position "+(n-2))}})()}})?r.apply(t,o):r)||(e.exports=c)}()},function(e,t){e.exports=window.wp.hooks},function(e,t,n){var r=n(14);function o(e,t,n,r,c){var a=new Error(n,r,c);return a.name="UseFetchError",a.status=e,a.statusText=t,Object.setPrototypeOf(a,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(a,o),a}o.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(o,Error),e.exports=function(e,t,n){var c=(n&&n.depends||t&&t.depends||[]).reduce((function(e,t){return e||!t}),!1);return r(!c&&function(e,t,n){return fetch(e,t).then(n&&n.formatter||t&&t.formatter||function(e){if(!e.ok)throw new o(e.status,e.statusText,"Fetch error");return e.json()})},e,t||{},n||{})}},function(e,t,n){var r=n(16);e.exports=function(){var e=function(){e.id=r(),e.subscribers.forEach((function(e){e()}))};return e.id=r(),e.subscribers=[],e.subscribe=function(t){e.subscribers.push(t)},e.unsubscribe=function(t){e.subscribers.indexOf(t)>=0&&e.subscribers.splice(e.subscribers.indexOf(t),1)},e}},function(e,t,n){var r=n(6);e.exports=function(e){var t=r.useState(e.id),n=function(){return t[1](e.id)};return r.useEffect((function(){return e.subscribe(n),function(){return e.unsubscribe(n)}}),[]),t[0]}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(6),o=n(15);e.exports=function(e){var t=Array.prototype.slice.call(arguments,[1]),n=r.useState({isLoading:!!e});return r.useEffect((function(){e&&(!n[0].isLoading&&n[1]({data:n[0].data,isLoading:!0}),e.apply(null,t).then((function(e){n[1]({data:e,isLoading:!1})})).catch((function(e){n[1]({error:e,isLoading:!1})})))}),o(t)),n[0]}},function(e,t){e.exports=function e(){for(var t=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r instanceof Array)for(var o=0;o<r.length;o++)t=t.concat(e(r[o]));else if("undefined"!=typeof URL&&r instanceof URL)t=t.concat(r.toJSON());else if(r instanceof Object)for(var c=Object.keys(r),a=0;a<c.length;a++){var i=c[a];t=t.concat([i]).concat(e(r[i]))}else t=t.concat(r)}return t}},function(e,t,n){for(var r=self.crypto||self.msCrypto,o="-_",c=36;c--;)o+=c.toString(36);for(c=36;c---10;)o+=c.toString(36).toUpperCase();e.exports=function(e){var t="",n=r.getRandomValues(new Uint8Array(e||21));for(c=e||21;c--;)t+=o[63&n[c]];return t}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(4),c=n(1),a=n(2),i=n(3),l=n.n(i);function u(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||b(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||b(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y=function(e){return e.filter((function(e,t,n){return n.findIndex((function(t){return t.ID===e.ID}))===t}))},O=[],h=function(e){var t=e.condition,n=e.onChange,o=f(Object(r.useState)(O),2),i=o[0],l=o[1],s=Object(r.useMemo)((function(){return{post_ids:"post",page_ids:"page",custom_post_type_ids:"ct_cpt"}[t.rule]}),[t.rule]),d=Object(r.useMemo)((function(){return(t.payload||{}).post_id||""}),[t.payload&&t.payload.post_id]),b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fetch("".concat(wp.ajax.settings.url,"?action=blocksy_conditions_get_all_posts"),{headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(p(p({post_type:s},e?{search_query:e}:{}),d?{alsoInclude:d}:{})),method:"POST"}).then((function(e){return e.json()})).then((function(e){var t=e.data.posts;l((function(e){return y([].concat(u(e),u(t)))})),O=y([].concat(u(O),u(t)))}))};return Object(r.useEffect)((function(){b()}),[s]),Object(r.createElement)(a.Select,{option:{appendToBody:!0,defaultToFirstItem:!1,searchPlaceholder:Object(c.__)("Type to search by ID or title...","blocksy-companion"),placeholder:"post_ids"===t.rule?Object(c.__)("Select post","blocksy-companion"):"page_ids"===t.rule?Object(c.__)("Select page","blocksy-companion"):Object(c.__)("Custom Post Type ID","blocksy-companion"),choices:i.filter((function(e){var t=e.post_type;return"ct_cpt"===s?"post"!==t&&"page"!==t:s===t})).map((function(e){return{key:e.ID,value:e.post_title}})),search:!0},value:d,onChange:function(e){return n(e)},onInputValueChange:function(e){i.find((function(t){return t.post_title===e}))||b(e)}})};function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||k(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},c=Object.keys(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}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){E(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 E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||k(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var x=[],C=[],A=[],N=function(e){var t=e.value,n=e.onChange,o=e.filter,i=void 0===o?"all":o,u=blocksy_admin.all_condition_rules;"singular"===i&&(u=blocksy_admin.singular_condition_rules),"archive"===i&&(u=blocksy_admin.archive_condition_rules);var s=u.reduce((function(e,t){var n=t.rules,r=t.title;return[].concat(w(e),w(n.map((function(e){return g(g({},e),{},{group:r})}))))}),[]).reduce((function(e,t){var n=t.title,r=t.id,o=j(t,["title","id"]);return[].concat(w(e),[g({key:r,value:n},o)])}),[]),p=v(Object(r.useState)(x),2),d=p[0],f=p[1],b=v(Object(r.useState)(C),2),m=b[0],y=b[1],O=v(Object(r.useState)(A),2),_=O[0],E=O[1],k=function(e){return"post_ids"===e.rule||"page_ids"===e.rule||"custom_post_type_ids"===e.rule||"taxonomy_ids"===e.rule||"post_with_taxonomy_ids"===e.rule||"current_language"===e.rule||"user_post_author_id"===e.rule};return Object(r.useEffect)((function(){fetch("".concat(wp.ajax.settings.url,"?action=blocksy_conditions_get_all_taxonomies"),{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST"}).then((function(e){return e.json()})).then((function(e){var t=e.data,n=t.taxonomies,r=t.languages,o=t.users;f(n),x=n,y(r),C=r,E(o),A=o}))}),[]),Object(r.createElement)("div",{className:"ct-display-conditions"},t.map((function(e,o){return Object(r.createElement)("div",{className:l()("ct-condition-group",{"ct-cols-3":k(e),"ct-cols-2":!k(e)}),key:o},Object(r.createElement)(a.Select,{key:"first",option:{inputClassName:"ct-condition-type",selectInputStart:function(){return Object(r.createElement)("span",{className:"ct-".concat(e.type)})},placeholder:Object(c.__)("Select variation","blocksy-companion"),choices:{include:Object(c.__)("Include","blocksy-companion"),exclude:Object(c.__)("Exclude","blocksy-companion")}},value:e.type,onChange:function(r){n(t.map((function(t,n){return g({},n===o?g(g({},e),{},{type:r}):t)})))}}),Object(r.createElement)(a.Select,{key:"second",option:{appendToBody:!0,placeholder:Object(c.__)("Select rule","blocksy-companion"),choices:"user"===e.category?s.filter((function(e){return 0===e.key.indexOf("user_")})):s.filter((function(e){return-1===e.key.indexOf("user_")})),search:!0},value:e.rule,onChange:function(r){n(t.map((function(t,n){return g({},n===o?g(g({},e),{},{rule:r}):t)})))}}),("post_ids"===e.rule||"custom_post_type_ids"===e.rule||"page_ids"===e.rule)&&Object(r.createElement)(h,{condition:e,onChange:function(r){n(t.map((function(t,n){return g({},n===o?g(g({},e),{},{payload:g(g({},e.payload),{},{post_id:r})}):t)})))}}),("taxonomy_ids"===e.rule||"post_with_taxonomy_ids"===e.rule)&&Object(r.createElement)(a.Select,{option:{appendToBody:!0,defaultToFirstItem:!1,placeholder:Object(c.__)("Select taxonomy","blocksy-companion"),choices:d.map((function(e){return g({key:e.id,value:e.name},e.group?{group:e.group}:{})})),search:!0},value:(e.payload||{}).taxonomy_id||"",onChange:function(r){n(t.map((function(t,n){return g({},n===o?g(g({},e),{},{payload:g(g({},e.payload),{},{taxonomy_id:r})}):t)})))}}),"current_language"===e.rule&&Object(r.createElement)(a.Select,{option:{appendToBody:!0,defaultToFirstItem:!1,placeholder:Object(c.__)("Select language","blocksy-companion"),choices:m.map((function(e){return{key:e.id,value:e.name}})),search:!0},value:(e.payload||{}).language||"",onChange:function(r){n(t.map((function(t,n){return g({},n===o?g(g({},e),{},{payload:g(g({},e.payload),{},{language:r})}):t)})))}}),"user_post_author_id"===e.rule&&Object(r.createElement)(a.Select,{option:{appendToBody:!0,defaultToFirstItem:!1,placeholder:Object(c.__)("Select user","blocksy-companion"),choices:[{key:"current_user",value:Object(c.__)("Current user","blocksy-companion")}].concat(w(_.map((function(e){return{key:e.id,value:e.name}})))),search:!0},value:(e.payload||{}).user_id||"",onChange:function(r){n(t.map((function(t,n){return g({},n===o?g(g({},e),{},{payload:g(g({},e.payload),{},{user_id:r})}):t)})))}}),Object(r.createElement)("button",{type:"button",onClick:function(e){e.preventDefault();var r=w(t);r.splice(o,1),n(r)}},"×"))})),Object(r.createElement)("div",{className:"ct-conditions-actions"},Object(r.createElement)("button",{type:"button",className:"button add-condition",onClick:function(e){e.preventDefault(),n([].concat(w(t),[{type:"include",rule:u[0].rules[0].id,payload:{}}]))}},Object(c.__)("Add Display Condition","blocksy-companion")),Object(r.createElement)("button",{type:"button",className:"button add-condition",onClick:function(e){e.preventDefault(),n([].concat(w(t),[{type:"include",rule:"user_logged_in",payload:{},category:"user"}]))}},Object(c.__)("Add User Condition","blocksy-companion"))))};function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return T(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var D=function(e){var t=e.option,n=t.display,o=void 0===n?"inline":n,i=t.filter,l=void 0===i?"all":i,u=t.modalTitle,s=void 0===u?Object(c.__)("Transparent Header Display Conditions","blocksy-companion"):u,p=t.modalDescription,d=void 0===p?Object(c.__)("Add one or more conditions to display the transparent header.","blocksy-companion"):p,f=e.value,b=e.onChange,m=P(Object(r.useState)(!1),2),y=m[0],O=m[1],h=P(Object(r.useState)(null),2),v=h[0],j=h[1];return"inline"===o?Object(r.createElement)(N,{filter:l,value:f,onChange:b}):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("button",{className:"button-primary",style:{width:"100%"},onClick:function(e){e.preventDefault(),O(!0),j(null)}},Object(c.__)("Add/Edit Conditions","blocksy-companion")),Object(r.createElement)(a.Overlay,{items:y,className:"ct-admin-modal ct-builder-conditions-modal",onDismiss:function(){O(!1),j(null)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("h2",null,s),Object(r.createElement)("p",null,d),Object(r.createElement)("div",{className:"ct-modal-scroll"},Object(r.createElement)(N,{filter:l,value:v||f,onChange:function(e){j(e)}})),Object(r.createElement)("div",{className:"ct-modal-actions has-divider"},Object(r.createElement)("button",{className:"button-primary",disabled:!v,onClick:function(){b(v),O(!1)}},Object(c.__)("Save Conditions","blocksy-companion"))))}}))},I=n(7),z=n.n(I),L=n(8),R=n.n(L);function F(e){return function(e){if(Array.isArray(e))return B(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||M(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||M(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(e,t){if(e){if("string"==typeof e)return B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(e,t):void 0}}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var H=function(){var e=U(Object(r.useState)(null),2),t=e[0],n=e[1],o=U(Object(r.useState)(null),2),i=o[0],u=o[1],s=U(Object(r.useState)(!1),2),p=s[0],d=s[1],f=U(Object(r.useState)(!1),2),b=f[0],m=f[1],y=U(Object(r.useState)(["options"]),2),O=y[0],h=y[1],v=Object(r.useRef)(),j=Object(r.useRef)();return Object(r.useEffect)((function(){var e=function(e){e.stopPropagation(),e.preventDefault(),e.dataTransfer.dropEffect="copy",d(!0)},t=function(e){e.stopPropagation(),e.preventDefault(),d(!1)},r=function(e){e.stopPropagation(),e.preventDefault(),d(!1);var t=Array.from(e.dataTransfer.files||[]);if(Array.from(e.dataTransfer.items||[]).length>0){var r=e.dataTransfer.items[0].getAsFile();n(r)}else t.length>0&&n(t[0])};return j.current.addEventListener("dragover",e,!1),j.current.addEventListener("dragleave",t,!1),j.current.addEventListener("drop",r,!1),function(){j.current.removeEventListener("dragover",e,!1),j.current.removeEventListener("dragleave",t,!1),j.current.removeEventListener("drop",r,!1)}}),[]),Object(r.createElement)("div",{className:"ct-import-export"},Object(r.createElement)("div",{className:"ct-title","data-type":"simple"},Object(r.createElement)("h3",null,Object(c.__)("Export Options","blocksy-companion")),Object(r.createElement)("div",{className:"ct-option-description"},Object(c.__)("Easily export the theme customizer settings.","blocksy-companion"))),Object(r.createElement)("div",{className:"ct-control","data-design":"block"},Object(r.createElement)("header",null),Object(r.createElement)("section",null,Object(r.createElement)("button",{className:"button",onClick:function(e){e.preventDefault(),m(!0)}},Object(c.__)("Export Customizations","blocksy-companion")))),Object(r.createElement)("div",{className:"ct-title","data-type":"simple"},Object(r.createElement)("h3",null,Object(c.__)("Import Options","blocksy-companion")),Object(r.createElement)("div",{className:"ct-option-description"},Object(c.__)("Easily import the theme customizer settings.","blocksy-companion"))),Object(r.createElement)("div",{className:"ct-control","data-design":"block"},Object(r.createElement)("header",null),Object(r.createElement)("section",null,Object(r.createElement)("div",{className:"ct-file-upload"},Object(r.createElement)("button",{type:"button",className:l()("button ct-upload-button",{active:p}),ref:j,onClick:function(){v.current.click()}},t?t.name:Object(c.__)("Click or drop to upload a file...","blocksy-companion")),Object(r.createElement)("input",{ref:v,type:"file",onChange:function(e){var t=U(e.target.files,1)[0];n(t)}}),Object(r.createElement)("button",{className:"button",onClick:function(e){if(e.preventDefault(),t){var n=new FileReader;n.readAsText(t,"UTF-8"),n.onload=function(e){try{fetch("".concat(window.ajaxurl,"?action=blocksy_customizer_import&wp_customize=on&nonce=").concat(ct_customizer_localizations.customizer_reset_none),{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(R()(e.target.result))}).then((function(e){200===e.status&&e.json().then((function(e){e.success,e.data;location.reload()}))}))}catch(e){}}}}},Object(c.__)("Import Customizations","blocksy-companion"))))),ct_customizer_localizations.has_child_theme&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"ct-title","data-type":"simple"},Object(r.createElement)("h3",null,Object(c.__)("Copy Options","blocksy-companion")),Object(r.createElement)("div",{className:"ct-option-description"},Object(c.__)("Copy and import your customizations from parent or child theme.","blocksy-companion"))),ct_customizer_localizations.is_parent_theme&&Object(r.createElement)("div",{className:"ct-control","data-design":"block"},Object(r.createElement)("header",null),Object(r.createElement)("section",null,Object(r.createElement)("button",{className:"button",onClick:function(e){e.preventDefault(),u("child")}},Object(c.__)("Copy From Child Theme","blocksy-companion")))),!ct_customizer_localizations.is_parent_theme&&Object(r.createElement)("div",{className:"ct-control","data-design":"block"},Object(r.createElement)("header",null),Object(r.createElement)("section",null,Object(r.createElement)("button",{className:"button",onClick:function(e){e.preventDefault(),u("parent")}},Object(c.__)("Copy From Parent Theme","blocksy-companion"))))),Object(r.createElement)(a.Overlay,{items:i,className:"ct-admin-modal ct-import-export-modal",onDismiss:function(){return u(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("svg",{width:"35",height:"35",viewBox:"0 0 66 66"},Object(r.createElement)("path",{d:"M66 33.1c0 2.8-.4 5.5-1.1 8.2 0 0-1.7-.6-1.9-.6 3.4-13.1-2.2-27.4-14.5-34.5C41.3 2 33 .9 25 3.1c-3.5.9-6.7 2.4-9.5 4.4L20 12 6 15 9 1l5 5c3.1-2.2 6.6-3.9 10.5-4.9 2.7-.7 5.4-1.1 8-1.1 5.9-.1 11.7 1.4 17 4.4C60.1 10.5 66 21.7 66 33.1zm-49 6.3l2.4-3c-.3-1.2-.4-2.3-.4-3.4s.1-2.2.4-3.3l-2.4-3 2.5-4.3 3.8.5c1.6-1.6 3.6-2.7 5.8-3.3l1.4-3.6h5l1.4 3.6c2.2.6 4.2 1.8 5.8 3.3l3.8-.5 2.5 4.3-2.4 3c.3 1.1.4 2.2.4 3.3s-.1 2.2-.4 3.3l2.4 3-2.5 4.3-3.8-.5c-1.6 1.6-3.6 2.7-5.8 3.3L35.4 50h-5L29 46.4c-2.2-.6-4.2-1.8-5.8-3.3l-3.8.5-2.4-4.2zm8-6.4c0 4.4 3.6 8 8 8s8-3.6 8-8-3.6-8-8-8-8 3.6-8 8zm25.9 25.3c-3 2.1-6.3 3.7-9.9 4.7-8 2.1-16.4 1-23.5-3.1C5.2 52.8-.4 38.5 3 25.4c-.7-.1-1.3-.3-2-.5-.7 2.7-1 5.3-1 8 0 11.4 5.9 22.5 16.5 28.6 7.6 4.4 16.5 5.6 25 3.3 4-1.1 7.6-2.8 10.8-5.2l4.6 4.6 3-14-14 3 5 5.1z"})),Object(r.createElement)("h2",{className:"ct-modal-title"},!ct_customizer_localizations.is_parent_theme&&Object(c.__)("Copy From Parent Theme","blocksy-companion"),ct_customizer_localizations.is_parent_theme&&Object(c.__)("Copy From Child Theme","blocksy-companion")),Object(r.createElement)("p",null,!ct_customizer_localizations.is_parent_theme&&Object(c.__)("You are about to copy all the settings from your parent theme into the child theme. Are you sure you want to continue?","blocksy-companion"),ct_customizer_localizations.is_parent_theme&&Object(c.__)("You are about to copy all the settings from your child theme into the parent theme. Are you sure you want to continue?","blocksy-companion")),Object(r.createElement)("div",{className:"ct-modal-actions has-divider","data-buttons":"2"},Object(r.createElement)("button",{onClick:function(e){e.preventDefault(),e.stopPropagation(),u(!1)},className:"button"},Object(c.__)("Cancel","blocksy-companion")),Object(r.createElement)("button",{className:"button button-primary",onClick:function(e){e.preventDefault();var t=new FormData;t.append("action","blocksy_customizer_copy_options"),t.append("wp_customize","on"),t.append("strategy",i);try{fetch(window.ajaxurl,{method:"POST",body:t}).then((function(e){200===e.status&&e.json().then((function(e){e.success,e.data;location.reload()}))}))}catch(e){}}},Object(c.__)("Yes, I am sure","blocksy-companion"))))}}),Object(r.createElement)(a.Overlay,{items:b,className:"ct-admin-modal ct-export-modal",onDismiss:function(){return m(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("h2",{className:"ct-modal-title"},Object(c.__)("Export Settings","blocksy-companion")),Object(r.createElement)("p",null,Object(c.__)("Choose what set of settings you want to export.","blocksy-companion")),Object(r.createElement)("div",{className:"ct-export-options"},["options","widgets"].map((function(e){return Object(r.createElement)("div",{className:"ct-checkbox-container",onClick:function(){1===O.length&&O[0]===e||h((function(t){return t.includes(e)?t.filter((function(t){return t!==e})):[].concat(F(t),[e])}))}},{options:Object(c.__)("Customizer settings","blocksy-companion"),widgets:Object(c.__)("Widgets settings","blocksy-companion")}[e],Object(r.createElement)("span",{className:l()("ct-checkbox",{active:O.includes(e)})},Object(r.createElement)("svg",{width:"10",height:"8",viewBox:"0 0 11.2 9.1"},Object(r.createElement)("polyline",{className:"check",points:"1.2,4.8 4.4,7.9 9.9,1.2 "}))))}))),Object(r.createElement)("div",{className:"ct-modal-actions has-divider","data-buttons":"2"},Object(r.createElement)("button",{onClick:function(e){e.preventDefault(),e.stopPropagation(),m(!1)},className:"button"},Object(c.__)("Cancel","blocksy-companion")),Object(r.createElement)("button",{className:"button button-primary",onClick:function(e){e.preventDefault();var t=new FormData;t.append("action","blocksy_customizer_export"),t.append("strategy",O.join(":")),t.append("wp_customize","on");try{fetch(window.ajaxurl,{method:"POST",body:t}).then((function(e){200===e.status&&e.json().then((function(e){var t=e.success,n=e.data;if(t){var r=new Blob([n.data],{type:"application/octet-stream;charset=utf-8"});z()(r,"".concat(n.site_url.replace("http://","").replace("https://","").replace(".","-").replace("/","-"),"-export.dat")),m(!1)}}))}))}catch(e){}}},Object(c.__)("Export","blocksy-companion"))))}}))},V=n(5),$=n.n(V),G=n(9),J=n(10),Y=n.n(J),q=n(11),W=n.n(q),X=n(12),K=n.n(X);function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Z(e){return function(e){if(Array.isArray(e))return re(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||ne(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ee(e,t,n,r,o,c,a){try{var i=e[c](a),l=i.value}catch(e){return void n(e)}i.done?t(l):Promise.resolve(l).then(r,o)}function te(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||ne(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(e,t){if(e){if("string"==typeof e)return re(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?re(e,t):void 0}}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var oe=W()(),ce=function(e){e.forcedEdit;var t,n,o=e.headerId,i=te(Object(r.useState)(!1),2),l=i[0],u=i[1],s=te(Object(r.useState)(null),2),p=s[0],d=s[1],f=Object(r.useContext)(a.PlacementsDragDropContext),b=(f.builderValueCollection,f.builderValueDispatch,Object(r.useRef)()),m=K()(oe),y=Y()("".concat(blocksy_admin.ajax_url,"?action=blocksy_header_get_all_conditions"),{method:"POST",formatter:(t=regeneratorRuntime.mark((function e(t){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.json();case 2:if(n=e.sent,r=n.success,o=n.data,r&&o.conditions){e.next=7;break}throw new Error;case 7:return e.abrupt("return",o.conditions);case 8:case"end":return e.stop()}}),e)})),n=function(){var e=this,n=arguments;return new Promise((function(r,o){var c=t.apply(e,n);function a(e){ee(c,r,o,a,i,"next",e)}function i(e){ee(c,r,o,a,i,"throw",e)}a(void 0)}))},function(e){return n.apply(this,arguments)}),depends:[m]}),O=y.data,h=y.isLoading;y.error;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("button",{className:"button-primary",style:{width:"100%"},onClick:function(e){h||(e.preventDefault(),e.stopPropagation(),u(!0))}},Object(c.__)("Add/Edit Conditions","blocksy-companion")),Object(r.createElement)(a.Overlay,{items:l,initialFocusRef:b,className:"ct-admin-modal ct-builder-conditions-modal",onDismiss:function(){u(!1),d(null)},render:function(){var e;return Object(r.createElement)("div",{className:"ct-modal-content",ref:b},Object(r.createElement)("h2",null,sprintf(Object(c.__)("Display Conditions","blocksy-companion"))),Object(r.createElement)("p",null,Object(c.__)("Add one or more conditions in order to display your header.","blocksy-companion")),Object(r.createElement)("div",{className:"ct-modal-scroll"},Object(r.createElement)(a.OptionsPanel,{onChange:function(e,t){d((function(e){return[].concat(Z((e||O).filter((function(e){return e.id!==o}))),[{id:o,conditions:t}])}))},options:{conditions:(e={type:"blocksy-display-condition",design:"none",value:[]},Q(e,"design","none"),Q(e,"label",!1),e)},value:{conditions:((p||O).find((function(e){return e.id===o}))||{conditions:[]}).conditions},hasRevertButton:!1})),Object(r.createElement)("div",{className:"ct-modal-actions has-divider"},Object(r.createElement)("button",{className:"button-primary",disabled:!p,onClick:function(){fetch("".concat(wp.ajax.settings.url,"?action=blocksy_header_update_all_conditions"),{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",body:JSON.stringify(p)}).then((function(e){return e.json()})).then((function(){oe(),u(!1)}))}},Object(c.__)("Save Conditions","blocksy-companion"))))}}))};function ae(){return(ae=Object.assign||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}).apply(this,arguments)}function ie(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 le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function se(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var de=function(){var e=se(Object(r.useState)(!1),2),t=e[0],n=e[1],i=(ct_customizer_localizations.header_builder_data.secondary_items.header,ct_customizer_localizations.header_builder_data.header,Object(r.useContext)(a.PlacementsDragDropContext)),u=i.builderValueDispatch,s=i.builderValue,p=(i.option,i.builderValueCollection),d=i.panelsActions,f=Object(G.applyFilters)("blocksy.header.available-sections",null,p.sections)||p.sections.filter((function(e){var t=e.id;return"type-2"!==t&&"type-3"!==t&&-1===t.indexOf("ct-custom")}));return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("ul",{className:l()("ct-panels-manager")},f.map((function(e){var t=e.name,o=e.id,i=t||{"type-1":Object(c.__)("Global Header","blocksy")}[o]||o,p="builder_header_panel_".concat(o),f=ct_customizer_localizations.header_builder_data.header_data.header_options,b={label:i,"inner-options":le(le({},o.indexOf("ct-custom")>-1?{conditions_button:{label:Object(c.__)("Edit Conditions","blocksy-companion"),type:"jsx",design:"block",render:function(){return Object(r.createElement)(ce,{headerId:o})}},divider:{type:"ct-divider"}}:{}),f)};return Object(r.createElement)(a.PanelMetaWrapper,ae({id:p,key:o,option:b},d,{getActualOption:function(e){var t=e.open;return Object(r.createElement)(r.Fragment,null,o===s.id&&Object(r.createElement)(a.Panel,{id:p,getValues:function(){return le({id:o},s.settings||{})},option:b,onChangeFor:function(e,t){u({type:"BUILDER_GLOBAL_SETTING_ON_CHANGE",payload:{optionId:e,optionValue:t,values:Object(a.getValueFromInput)(f,Array.isArray(s.settings)?{}:s.settings||{})}})},view:"simple"}),Object(r.createElement)("li",{className:l()({active:o===s.id,"ct-global":"type-1"===o}),onClick:function(){o===s.id?t():u({type:"PICK_BUILDER_SECTION",payload:{id:o}})}},Object(r.createElement)("span",{className:"ct-panel-name"},i),o.indexOf("ct-custom")>-1&&o!==s.id&&Object(r.createElement)("span",{className:"ct-remove-instance",onClick:function(e){e.preventDefault(),e.stopPropagation(),n(o)}},Object(r.createElement)("i",{className:"ct-tooltip-top"},Object(c.__)("Remove header","blocksy-companion")),Object(r.createElement)("svg",{width:"11px",height:"11px",viewBox:"0 0 24 24"},Object(r.createElement)("path",{d:"M9.6,0l0,1.2H1.2v2.4h21.6V1.2h-8.4l0-1.2H9.6z M2.8,6l1.8,15.9C4.8,23.1,5.9,24,7.1,24h9.9c1.2,0,2.2-0.9,2.4-2.1L21.2,6H2.8z"})))))}}))}))),Object(r.createElement)(o.Slot,{name:"PlacementsBuilderPanelsManagerAfter"},(function(e){return 0===e.length?null:e})),Object(r.createElement)(a.Overlay,{items:t,className:"ct-admin-modal ct-reset-options",onDismiss:function(){return n(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("h2",{className:"ct-modal-title"},Object(c.__)("Remove Header","blocksy-companion")),Object(r.createElement)("p",null,Object(c.__)("You are about to remove a custom header, are you sure you want to continue?","blocksy-companion")),Object(r.createElement)("div",{className:"ct-modal-actions has-divider","data-buttons":"2"},Object(r.createElement)("button",{onClick:function(e){e.preventDefault(),e.stopPropagation(),n(!1)},className:"button"},Object(c.__)("Cancel","blocksy-companion")),Object(r.createElement)("button",{className:"button button-primary",onClick:function(e){e.preventDefault(),u({type:"REMOVE_BUILDER_SECTION",payload:{id:t}}),n(!1)}},Object(c.__)("Confirm","blocksy-companion"))))}}))};$.a.on("blocksy:options:before-option",(function(e){if(e.option&&"ct-header-builder"===e.option.type){var t=e.content;e.content=Object(r.createElement)(r.Fragment,null,t,Object(r.createElement)(o.Fill,{name:"PlacementsBuilderPanelsManager"},Object(r.createElement)(de,null)))}})),$.a.on("blocksy:options:register",(function(e){e["blocksy-display-condition"]=D,e["blocksy-customizer-options-manager"]=H}))}]);
11
  * Copyright 2013 Bryan Davis and contributors
12
  * Released under the MIT license
13
  * http://www.opensource.org/licenses/MIT
14
+ */!function(n,a){"use strict";o=[],void 0===(c="function"==typeof(r=function(){return function(e){var t,n=0,r=[],o=0,c=function(){var t=e.indexOf(":",n),r=e.substring(n,t);return n=t+2,parseInt(r,10)},a=function(){var t=e.indexOf(";",n),r=e.substring(n,t);return n=t+1,parseInt(r,10)},i=function(t='"'){for(var r,o,a=c(),i=0,l=0;l<a;)(r=e.charCodeAt(n+i++))<=127?l++:l+=r>2047?3:2;return e.charAt(n+i)!==t&&(i+=e.indexOf('"',n+i)-n-i),o=e.substring(n,n+i),n+=i+2,o},l=function(){var t=e.charAt(n);return n+=2,t},u=function(){var e=l();switch(e){case"i":return a();case"s":return i();default:throw new Error("Unknown key type '"+e+"' at position "+(n-2))}},s=function(e,t){var r,o,c;if("\0"===e.charAt(0)){if((c=e.indexOf("\0",1))>0)return r=e.substring(1,c),o=e.substr(c+1),"*"===r||t===r?o:r+"::"+o;var a="Expected two <NUL> characters in non-public property name '"+e+"' at position "+(n-e.length-2);throw new Error(a)}return e};return(t=function(){var p,d,f=l();switch(f){case"i":return d=a(),r[o++]=d,d;case"d":return function(){var t=e.indexOf(";",n),c=e.substring(n,t);return n=t+1,c=parseFloat(c),r[o++]=c,c}();case"b":return function(){var t=e.indexOf(";",n),c=e.substring(n,t);return n=t+1,c="1"===c,r[o++]=c,c}();case"s":return function(){var e=i();return r[o++]=e,e}();case"a":return function(){var e,a,i,l,s,p=c(),d=[],f={},b=d,m=o++;r[m]=b;try{for(i=0;i<p;i++)if(e=u(),a=t(),b===d&&e+""==i+"")d.push(a);else{if(b!==f){for(l=0,s=d.length;l<s;l++)f[l]=d[l];b=f,r[m]=b}f[e]=a}}catch(e){throw e.state=b,e}return n++,b}();case"O":return function(){var e,a,l,p,d={},f=o++,b=i();r[f]=d,e=c();try{for(p=0;p<e;p++)a=s(u(),b),l=t(),d[a]=l}catch(e){throw e.state=d,e}return n++,d}();case"C":return{__PHP_Incomplete_Class_Name:i(),serialized:i("}")};case"r":return function(){var e=a(),t=r[e-1];return r[o++]=t,t}();case"R":return p=a(),r[p-1];case"N":return r[o++]=null,null;default:throw new Error("Unknown type '"+f+"' at position "+(n-2))}})()}})?r.apply(t,o):r)||(e.exports=c)}()},function(e,t){e.exports=window.wp.hooks},function(e,t,n){var r=n(14);function o(e,t,n,r,c){var a=new Error(n,r,c);return a.name="UseFetchError",a.status=e,a.statusText=t,Object.setPrototypeOf(a,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(a,o),a}o.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(o,Error),e.exports=function(e,t,n){var c=(n&&n.depends||t&&t.depends||[]).reduce((function(e,t){return e||!t}),!1);return r(!c&&function(e,t,n){return fetch(e,t).then(n&&n.formatter||t&&t.formatter||function(e){if(!e.ok)throw new o(e.status,e.statusText,"Fetch error");return e.json()})},e,t||{},n||{})}},function(e,t,n){var r=n(16);e.exports=function(){var e=function(){e.id=r(),e.subscribers.forEach((function(e){e()}))};return e.id=r(),e.subscribers=[],e.subscribe=function(t){e.subscribers.push(t)},e.unsubscribe=function(t){e.subscribers.indexOf(t)>=0&&e.subscribers.splice(e.subscribers.indexOf(t),1)},e}},function(e,t,n){var r=n(6);e.exports=function(e){var t=r.useState(e.id),n=function(){return t[1](e.id)};return r.useEffect((function(){return e.subscribe(n),function(){return e.unsubscribe(n)}}),[]),t[0]}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(6),o=n(15);e.exports=function(e){var t=Array.prototype.slice.call(arguments,[1]),n=r.useState({isLoading:!!e});return r.useEffect((function(){e&&(!n[0].isLoading&&n[1]({data:n[0].data,isLoading:!0}),e.apply(null,t).then((function(e){n[1]({data:e,isLoading:!1})})).catch((function(e){n[1]({error:e,isLoading:!1})})))}),o(t)),n[0]}},function(e,t){e.exports=function e(){for(var t=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r instanceof Array)for(var o=0;o<r.length;o++)t=t.concat(e(r[o]));else if("undefined"!=typeof URL&&r instanceof URL)t=t.concat(r.toJSON());else if(r instanceof Object)for(var c=Object.keys(r),a=0;a<c.length;a++){var i=c[a];t=t.concat([i]).concat(e(r[i]))}else t=t.concat(r)}return t}},function(e,t,n){for(var r=self.crypto||self.msCrypto,o="-_",c=36;c--;)o+=c.toString(36);for(c=36;c---10;)o+=c.toString(36).toUpperCase();e.exports=function(e){var t="",n=r.getRandomValues(new Uint8Array(e||21));for(c=e||21;c--;)t+=o[63&n[c]];return t}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(4),c=n(1),a=n(2),i=n(3),l=n.n(i);function u(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||b(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||b(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var y=function(e){return e.filter((function(e,t,n){return n.findIndex((function(t){return t.ID===e.ID}))===t}))},O=[],h=function(e){var t=e.condition,n=e.onChange,o=f(Object(r.useState)(O),2),i=o[0],l=o[1],s=Object(r.useMemo)((function(){return{post_ids:"post",page_ids:"page",custom_post_type_ids:"ct_cpt"}[t.rule]}),[t.rule]),d=Object(r.useMemo)((function(){return(t.payload||{}).post_id||""}),[t.payload&&t.payload.post_id]),b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fetch("".concat(wp.ajax.settings.url,"?action=blocksy_conditions_get_all_posts"),{headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(p(p({post_type:s},e?{search_query:e}:{}),d?{alsoInclude:d}:{})),method:"POST"}).then((function(e){return e.json()})).then((function(e){var t=e.data.posts;l((function(e){return y([].concat(u(e),u(t)))})),O=y([].concat(u(O),u(t)))}))};return Object(r.useEffect)((function(){b()}),[s]),Object(r.createElement)(a.Select,{key:i.length,option:{appendToBody:!0,defaultToFirstItem:!1,searchPlaceholder:Object(c.__)("Type to search by ID or title...","blocksy-companion"),placeholder:"post_ids"===t.rule?Object(c.__)("Select post","blocksy-companion"):"page_ids"===t.rule?Object(c.__)("Select page","blocksy-companion"):Object(c.__)("Custom Post Type ID","blocksy-companion"),choices:u(i.filter((function(e){var t=e.post_type;return"ct_cpt"===s?"post"!==t&&"page"!==t:s===t})).map((function(e){return{key:e.ID,value:e.post_title}}))),search:!0},value:d,onChange:function(e){return n(e)},onInputValueChange:function(e){i.find((function(t){return t.post_title===e}))||b(e)}})};function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||k(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},c=Object.keys(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}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){E(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 E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||k(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){if(e){if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var x=[],C=[],A=[],N=function(e){var t=e.value,n=e.onChange,o=e.filter,i=void 0===o?"all":o,u=blocksy_admin.all_condition_rules;"singular"===i&&(u=blocksy_admin.singular_condition_rules),"archive"===i&&(u=blocksy_admin.archive_condition_rules);var s=u.reduce((function(e,t){var n=t.rules,r=t.title;return[].concat(w(e),w(n.map((function(e){return g(g({},e),{},{group:r})}))))}),[]).reduce((function(e,t){var n=t.title,r=t.id,o=j(t,["title","id"]);return[].concat(w(e),[g({key:r,value:n},o)])}),[]),p=v(Object(r.useState)(x),2),d=p[0],f=p[1],b=v(Object(r.useState)(C),2),m=b[0],y=b[1],O=v(Object(r.useState)(A),2),_=O[0],E=O[1],k=function(e){return"post_ids"===e.rule||"page_ids"===e.rule||"custom_post_type_ids"===e.rule||"taxonomy_ids"===e.rule||"post_with_taxonomy_ids"===e.rule||"current_language"===e.rule||"user_post_author_id"===e.rule};return Object(r.useEffect)((function(){fetch("".concat(wp.ajax.settings.url,"?action=blocksy_conditions_get_all_taxonomies"),{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST"}).then((function(e){return e.json()})).then((function(e){var t=e.data,n=t.taxonomies,r=t.languages,o=t.users;f(n),x=n,y(r),C=r,E(o),A=o}))}),[]),Object(r.createElement)("div",{className:"ct-display-conditions"},t.map((function(e,o){return Object(r.createElement)("div",{className:l()("ct-condition-group",{"ct-cols-3":k(e),"ct-cols-2":!k(e)}),key:o},Object(r.createElement)(a.Select,{key:"first",option:{inputClassName:"ct-condition-type",selectInputStart:function(){return Object(r.createElement)("span",{className:"ct-".concat(e.type)})},placeholder:Object(c.__)("Select variation","blocksy-companion"),choices:{include:Object(c.__)("Include","blocksy-companion"),exclude:Object(c.__)("Exclude","blocksy-companion")}},value:e.type,onChange:function(r){n(t.map((function(t,n){return g({},n===o?g(g({},e),{},{type:r}):t)})))}}),Object(r.createElement)(a.Select,{key:"second",option:{appendToBody:!0,placeholder:Object(c.__)("Select rule","blocksy-companion"),choices:"user"===e.category?s.filter((function(e){return 0===e.key.indexOf("user_")})):s.filter((function(e){return-1===e.key.indexOf("user_")})),search:!0},value:e.rule,onChange:function(r){n(t.map((function(t,n){return g({},n===o?g(g({},e),{},{rule:r}):t)})))}}),("post_ids"===e.rule||"custom_post_type_ids"===e.rule||"page_ids"===e.rule)&&Object(r.createElement)(h,{condition:e,onChange:function(r){n(t.map((function(t,n){return g({},n===o?g(g({},e),{},{payload:g(g({},e.payload),{},{post_id:r})}):t)})))}}),("taxonomy_ids"===e.rule||"post_with_taxonomy_ids"===e.rule)&&Object(r.createElement)(a.Select,{option:{appendToBody:!0,defaultToFirstItem:!1,placeholder:Object(c.__)("Select taxonomy","blocksy-companion"),choices:d.map((function(e){return g({key:e.id,value:e.name},e.group?{group:e.group}:{})})),search:!0},value:(e.payload||{}).taxonomy_id||"",onChange:function(r){n(t.map((function(t,n){return g({},n===o?g(g({},e),{},{payload:g(g({},e.payload),{},{taxonomy_id:r})}):t)})))}}),"current_language"===e.rule&&Object(r.createElement)(a.Select,{option:{appendToBody:!0,defaultToFirstItem:!1,placeholder:Object(c.__)("Select language","blocksy-companion"),choices:m.map((function(e){return{key:e.id,value:e.name}})),search:!0},value:(e.payload||{}).language||"",onChange:function(r){n(t.map((function(t,n){return g({},n===o?g(g({},e),{},{payload:g(g({},e.payload),{},{language:r})}):t)})))}}),"user_post_author_id"===e.rule&&Object(r.createElement)(a.Select,{option:{appendToBody:!0,defaultToFirstItem:!1,placeholder:Object(c.__)("Select user","blocksy-companion"),choices:[{key:"current_user",value:Object(c.__)("Current user","blocksy-companion")}].concat(w(_.map((function(e){return{key:e.id,value:e.name}})))),search:!0},value:(e.payload||{}).user_id||"",onChange:function(r){n(t.map((function(t,n){return g({},n===o?g(g({},e),{},{payload:g(g({},e.payload),{},{user_id:r})}):t)})))}}),Object(r.createElement)("button",{type:"button",onClick:function(e){e.preventDefault();var r=w(t);r.splice(o,1),n(r)}},"×"))})),Object(r.createElement)("div",{className:"ct-conditions-actions"},Object(r.createElement)("button",{type:"button",className:"button add-condition",onClick:function(e){e.preventDefault(),n([].concat(w(t),[{type:"include",rule:u[0].rules[0].id,payload:{}}]))}},Object(c.__)("Add Display Condition","blocksy-companion")),Object(r.createElement)("button",{type:"button",className:"button add-condition",onClick:function(e){e.preventDefault(),n([].concat(w(t),[{type:"include",rule:"user_logged_in",payload:{},category:"user"}]))}},Object(c.__)("Add User Condition","blocksy-companion"))))};function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return T(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var D=function(e){var t=e.option,n=t.display,o=void 0===n?"inline":n,i=t.filter,l=void 0===i?"all":i,u=t.modalTitle,s=void 0===u?Object(c.__)("Transparent Header Display Conditions","blocksy-companion"):u,p=t.modalDescription,d=void 0===p?Object(c.__)("Add one or more conditions to display the transparent header.","blocksy-companion"):p,f=e.value,b=e.onChange,m=P(Object(r.useState)(!1),2),y=m[0],O=m[1],h=P(Object(r.useState)(null),2),v=h[0],j=h[1];return"inline"===o?Object(r.createElement)(N,{filter:l,value:f,onChange:b}):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("button",{className:"button-primary",style:{width:"100%"},onClick:function(e){e.preventDefault(),O(!0),j(null)}},Object(c.__)("Add/Edit Conditions","blocksy-companion")),Object(r.createElement)(a.Overlay,{items:y,className:"ct-admin-modal ct-builder-conditions-modal",onDismiss:function(){O(!1),j(null)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("h2",null,s),Object(r.createElement)("p",null,d),Object(r.createElement)("div",{className:"ct-modal-scroll"},Object(r.createElement)(N,{filter:l,value:v||f,onChange:function(e){j(e)}})),Object(r.createElement)("div",{className:"ct-modal-actions has-divider"},Object(r.createElement)("button",{className:"button-primary",disabled:!v,onClick:function(){b(v),O(!1)}},Object(c.__)("Save Conditions","blocksy-companion"))))}}))},I=n(7),z=n.n(I),L=n(8),R=n.n(L);function F(e){return function(e){if(Array.isArray(e))return B(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||M(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||M(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(e,t){if(e){if("string"==typeof e)return B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(e,t):void 0}}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var H=function(){var e=U(Object(r.useState)(null),2),t=e[0],n=e[1],o=U(Object(r.useState)(null),2),i=o[0],u=o[1],s=U(Object(r.useState)(!1),2),p=s[0],d=s[1],f=U(Object(r.useState)(!1),2),b=f[0],m=f[1],y=U(Object(r.useState)(["options"]),2),O=y[0],h=y[1],v=Object(r.useRef)(),j=Object(r.useRef)();return Object(r.useEffect)((function(){var e=function(e){e.stopPropagation(),e.preventDefault(),e.dataTransfer.dropEffect="copy",d(!0)},t=function(e){e.stopPropagation(),e.preventDefault(),d(!1)},r=function(e){e.stopPropagation(),e.preventDefault(),d(!1);var t=Array.from(e.dataTransfer.files||[]);if(Array.from(e.dataTransfer.items||[]).length>0){var r=e.dataTransfer.items[0].getAsFile();n(r)}else t.length>0&&n(t[0])};return j.current.addEventListener("dragover",e,!1),j.current.addEventListener("dragleave",t,!1),j.current.addEventListener("drop",r,!1),function(){j.current.removeEventListener("dragover",e,!1),j.current.removeEventListener("dragleave",t,!1),j.current.removeEventListener("drop",r,!1)}}),[]),Object(r.createElement)("div",{className:"ct-import-export"},Object(r.createElement)("div",{className:"ct-title","data-type":"simple"},Object(r.createElement)("h3",null,Object(c.__)("Export Options","blocksy-companion")),Object(r.createElement)("div",{className:"ct-option-description"},Object(c.__)("Easily export the theme customizer settings.","blocksy-companion"))),Object(r.createElement)("div",{className:"ct-control","data-design":"block"},Object(r.createElement)("header",null),Object(r.createElement)("section",null,Object(r.createElement)("button",{className:"button",onClick:function(e){e.preventDefault(),m(!0)}},Object(c.__)("Export Customizations","blocksy-companion")))),Object(r.createElement)("div",{className:"ct-title","data-type":"simple"},Object(r.createElement)("h3",null,Object(c.__)("Import Options","blocksy-companion")),Object(r.createElement)("div",{className:"ct-option-description"},Object(c.__)("Easily import the theme customizer settings.","blocksy-companion"))),Object(r.createElement)("div",{className:"ct-control","data-design":"block"},Object(r.createElement)("header",null),Object(r.createElement)("section",null,Object(r.createElement)("div",{className:"ct-file-upload"},Object(r.createElement)("button",{type:"button",className:l()("button ct-upload-button",{active:p}),ref:j,onClick:function(){v.current.click()}},t?t.name:Object(c.__)("Click or drop to upload a file...","blocksy-companion")),Object(r.createElement)("input",{ref:v,type:"file",onChange:function(e){var t=U(e.target.files,1)[0];n(t)}}),Object(r.createElement)("button",{className:"button",onClick:function(e){if(e.preventDefault(),t){var n=new FileReader;n.readAsText(t,"UTF-8"),n.onload=function(e){try{fetch("".concat(window.ajaxurl,"?action=blocksy_customizer_import&wp_customize=on&nonce=").concat(ct_customizer_localizations.customizer_reset_none),{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(R()(e.target.result))}).then((function(e){200===e.status&&e.json().then((function(e){e.success,e.data;location.reload()}))}))}catch(e){}}}}},Object(c.__)("Import Customizations","blocksy-companion"))))),ct_customizer_localizations.has_child_theme&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("div",{className:"ct-title","data-type":"simple"},Object(r.createElement)("h3",null,Object(c.__)("Copy Options","blocksy-companion")),Object(r.createElement)("div",{className:"ct-option-description"},Object(c.__)("Copy and import your customizations from parent or child theme.","blocksy-companion"))),ct_customizer_localizations.is_parent_theme&&Object(r.createElement)("div",{className:"ct-control","data-design":"block"},Object(r.createElement)("header",null),Object(r.createElement)("section",null,Object(r.createElement)("button",{className:"button",onClick:function(e){e.preventDefault(),u("child")}},Object(c.__)("Copy From Child Theme","blocksy-companion")))),!ct_customizer_localizations.is_parent_theme&&Object(r.createElement)("div",{className:"ct-control","data-design":"block"},Object(r.createElement)("header",null),Object(r.createElement)("section",null,Object(r.createElement)("button",{className:"button",onClick:function(e){e.preventDefault(),u("parent")}},Object(c.__)("Copy From Parent Theme","blocksy-companion"))))),Object(r.createElement)(a.Overlay,{items:i,className:"ct-admin-modal ct-import-export-modal",onDismiss:function(){return u(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("svg",{width:"35",height:"35",viewBox:"0 0 66 66"},Object(r.createElement)("path",{d:"M66 33.1c0 2.8-.4 5.5-1.1 8.2 0 0-1.7-.6-1.9-.6 3.4-13.1-2.2-27.4-14.5-34.5C41.3 2 33 .9 25 3.1c-3.5.9-6.7 2.4-9.5 4.4L20 12 6 15 9 1l5 5c3.1-2.2 6.6-3.9 10.5-4.9 2.7-.7 5.4-1.1 8-1.1 5.9-.1 11.7 1.4 17 4.4C60.1 10.5 66 21.7 66 33.1zm-49 6.3l2.4-3c-.3-1.2-.4-2.3-.4-3.4s.1-2.2.4-3.3l-2.4-3 2.5-4.3 3.8.5c1.6-1.6 3.6-2.7 5.8-3.3l1.4-3.6h5l1.4 3.6c2.2.6 4.2 1.8 5.8 3.3l3.8-.5 2.5 4.3-2.4 3c.3 1.1.4 2.2.4 3.3s-.1 2.2-.4 3.3l2.4 3-2.5 4.3-3.8-.5c-1.6 1.6-3.6 2.7-5.8 3.3L35.4 50h-5L29 46.4c-2.2-.6-4.2-1.8-5.8-3.3l-3.8.5-2.4-4.2zm8-6.4c0 4.4 3.6 8 8 8s8-3.6 8-8-3.6-8-8-8-8 3.6-8 8zm25.9 25.3c-3 2.1-6.3 3.7-9.9 4.7-8 2.1-16.4 1-23.5-3.1C5.2 52.8-.4 38.5 3 25.4c-.7-.1-1.3-.3-2-.5-.7 2.7-1 5.3-1 8 0 11.4 5.9 22.5 16.5 28.6 7.6 4.4 16.5 5.6 25 3.3 4-1.1 7.6-2.8 10.8-5.2l4.6 4.6 3-14-14 3 5 5.1z"})),Object(r.createElement)("h2",{className:"ct-modal-title"},!ct_customizer_localizations.is_parent_theme&&Object(c.__)("Copy From Parent Theme","blocksy-companion"),ct_customizer_localizations.is_parent_theme&&Object(c.__)("Copy From Child Theme","blocksy-companion")),Object(r.createElement)("p",null,!ct_customizer_localizations.is_parent_theme&&Object(c.__)("You are about to copy all the settings from your parent theme into the child theme. Are you sure you want to continue?","blocksy-companion"),ct_customizer_localizations.is_parent_theme&&Object(c.__)("You are about to copy all the settings from your child theme into the parent theme. Are you sure you want to continue?","blocksy-companion")),Object(r.createElement)("div",{className:"ct-modal-actions has-divider","data-buttons":"2"},Object(r.createElement)("button",{onClick:function(e){e.preventDefault(),e.stopPropagation(),u(!1)},className:"button"},Object(c.__)("Cancel","blocksy-companion")),Object(r.createElement)("button",{className:"button button-primary",onClick:function(e){e.preventDefault();var t=new FormData;t.append("action","blocksy_customizer_copy_options"),t.append("wp_customize","on"),t.append("strategy",i);try{fetch(window.ajaxurl,{method:"POST",body:t}).then((function(e){200===e.status&&e.json().then((function(e){e.success,e.data;location.reload()}))}))}catch(e){}}},Object(c.__)("Yes, I am sure","blocksy-companion"))))}}),Object(r.createElement)(a.Overlay,{items:b,className:"ct-admin-modal ct-export-modal",onDismiss:function(){return m(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("h2",{className:"ct-modal-title"},Object(c.__)("Export Settings","blocksy-companion")),Object(r.createElement)("p",null,Object(c.__)("Choose what set of settings you want to export.","blocksy-companion")),Object(r.createElement)("div",{className:"ct-export-options"},["options","widgets"].map((function(e){return Object(r.createElement)("div",{className:"ct-checkbox-container",onClick:function(){1===O.length&&O[0]===e||h((function(t){return t.includes(e)?t.filter((function(t){return t!==e})):[].concat(F(t),[e])}))}},{options:Object(c.__)("Customizer settings","blocksy-companion"),widgets:Object(c.__)("Widgets settings","blocksy-companion")}[e],Object(r.createElement)("span",{className:l()("ct-checkbox",{active:O.includes(e)})},Object(r.createElement)("svg",{width:"10",height:"8",viewBox:"0 0 11.2 9.1"},Object(r.createElement)("polyline",{className:"check",points:"1.2,4.8 4.4,7.9 9.9,1.2 "}))))}))),Object(r.createElement)("div",{className:"ct-modal-actions has-divider","data-buttons":"2"},Object(r.createElement)("button",{onClick:function(e){e.preventDefault(),e.stopPropagation(),m(!1)},className:"button"},Object(c.__)("Cancel","blocksy-companion")),Object(r.createElement)("button",{className:"button button-primary",onClick:function(e){e.preventDefault();var t=new FormData;t.append("action","blocksy_customizer_export"),t.append("strategy",O.join(":")),t.append("wp_customize","on");try{fetch(window.ajaxurl,{method:"POST",body:t}).then((function(e){200===e.status&&e.json().then((function(e){var t=e.success,n=e.data;if(t){var r=new Blob([n.data],{type:"application/octet-stream;charset=utf-8"});z()(r,"".concat(n.site_url.replace("http://","").replace("https://","").replace(".","-").replace("/","-"),"-export.dat")),m(!1)}}))}))}catch(e){}}},Object(c.__)("Export","blocksy-companion"))))}}))},V=n(5),$=n.n(V),G=n(9),J=n(10),Y=n.n(J),q=n(11),W=n.n(q),X=n(12),K=n.n(X);function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Z(e){return function(e){if(Array.isArray(e))return re(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||ne(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ee(e,t,n,r,o,c,a){try{var i=e[c](a),l=i.value}catch(e){return void n(e)}i.done?t(l):Promise.resolve(l).then(r,o)}function te(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||ne(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(e,t){if(e){if("string"==typeof e)return re(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?re(e,t):void 0}}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var oe=W()(),ce=function(e){e.forcedEdit;var t,n,o=e.headerId,i=te(Object(r.useState)(!1),2),l=i[0],u=i[1],s=te(Object(r.useState)(null),2),p=s[0],d=s[1],f=Object(r.useContext)(a.PlacementsDragDropContext),b=(f.builderValueCollection,f.builderValueDispatch,Object(r.useRef)()),m=K()(oe),y=Y()("".concat(blocksy_admin.ajax_url,"?action=blocksy_header_get_all_conditions"),{method:"POST",formatter:(t=regeneratorRuntime.mark((function e(t){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.json();case 2:if(n=e.sent,r=n.success,o=n.data,r&&o.conditions){e.next=7;break}throw new Error;case 7:return e.abrupt("return",o.conditions);case 8:case"end":return e.stop()}}),e)})),n=function(){var e=this,n=arguments;return new Promise((function(r,o){var c=t.apply(e,n);function a(e){ee(c,r,o,a,i,"next",e)}function i(e){ee(c,r,o,a,i,"throw",e)}a(void 0)}))},function(e){return n.apply(this,arguments)}),depends:[m]}),O=y.data,h=y.isLoading;y.error;return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("button",{className:"button-primary",style:{width:"100%"},onClick:function(e){h||(e.preventDefault(),e.stopPropagation(),u(!0))}},Object(c.__)("Add/Edit Conditions","blocksy-companion")),Object(r.createElement)(a.Overlay,{items:l,initialFocusRef:b,className:"ct-admin-modal ct-builder-conditions-modal",onDismiss:function(){u(!1),d(null)},render:function(){var e;return Object(r.createElement)("div",{className:"ct-modal-content",ref:b},Object(r.createElement)("h2",null,sprintf(Object(c.__)("Display Conditions","blocksy-companion"))),Object(r.createElement)("p",null,Object(c.__)("Add one or more conditions in order to display your header.","blocksy-companion")),Object(r.createElement)("div",{className:"ct-modal-scroll"},Object(r.createElement)(a.OptionsPanel,{onChange:function(e,t){d((function(e){return[].concat(Z((e||O).filter((function(e){return e.id!==o}))),[{id:o,conditions:t}])}))},options:{conditions:(e={type:"blocksy-display-condition",design:"none",value:[]},Q(e,"design","none"),Q(e,"label",!1),e)},value:{conditions:((p||O).find((function(e){return e.id===o}))||{conditions:[]}).conditions},hasRevertButton:!1})),Object(r.createElement)("div",{className:"ct-modal-actions has-divider"},Object(r.createElement)("button",{className:"button-primary",disabled:!p,onClick:function(){fetch("".concat(wp.ajax.settings.url,"?action=blocksy_header_update_all_conditions"),{headers:{Accept:"application/json","Content-Type":"application/json"},method:"POST",body:JSON.stringify(p)}).then((function(e){return e.json()})).then((function(){oe(),u(!1)}))}},Object(c.__)("Save Conditions","blocksy-companion"))))}}))};function ae(){return(ae=Object.assign||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}).apply(this,arguments)}function ie(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 le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function se(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(r=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==i.return||i.return()}finally{if(o)throw c}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var de=function(){var e=se(Object(r.useState)(!1),2),t=e[0],n=e[1],i=(ct_customizer_localizations.header_builder_data.secondary_items.header,ct_customizer_localizations.header_builder_data.header,Object(r.useContext)(a.PlacementsDragDropContext)),u=i.builderValueDispatch,s=i.builderValue,p=(i.option,i.builderValueCollection),d=i.panelsActions,f=Object(G.applyFilters)("blocksy.header.available-sections",null,p.sections)||p.sections.filter((function(e){var t=e.id;return"type-2"!==t&&"type-3"!==t&&-1===t.indexOf("ct-custom")}));return Object(r.createElement)(r.Fragment,null,Object(r.createElement)("ul",{className:l()("ct-panels-manager")},f.map((function(e){var t=e.name,o=e.id,i=t||{"type-1":Object(c.__)("Global Header","blocksy")}[o]||o,p="builder_header_panel_".concat(o),f=ct_customizer_localizations.header_builder_data.header_data.header_options,b={label:i,"inner-options":le(le({},o.indexOf("ct-custom")>-1?{conditions_button:{label:Object(c.__)("Edit Conditions","blocksy-companion"),type:"jsx",design:"block",render:function(){return Object(r.createElement)(ce,{headerId:o})}},divider:{type:"ct-divider"}}:{}),f)};return Object(r.createElement)(a.PanelMetaWrapper,ae({id:p,key:o,option:b},d,{getActualOption:function(e){var t=e.open;return Object(r.createElement)(r.Fragment,null,o===s.id&&Object(r.createElement)(a.Panel,{id:p,getValues:function(){return le({id:o},s.settings||{})},option:b,onChangeFor:function(e,t){u({type:"BUILDER_GLOBAL_SETTING_ON_CHANGE",payload:{optionId:e,optionValue:t,values:Object(a.getValueFromInput)(f,Array.isArray(s.settings)?{}:s.settings||{})}})},view:"simple"}),Object(r.createElement)("li",{className:l()({active:o===s.id,"ct-global":"type-1"===o}),onClick:function(){o===s.id?t():u({type:"PICK_BUILDER_SECTION",payload:{id:o}})}},Object(r.createElement)("span",{className:"ct-panel-name"},i),o.indexOf("ct-custom")>-1&&o!==s.id&&Object(r.createElement)("span",{className:"ct-remove-instance",onClick:function(e){e.preventDefault(),e.stopPropagation(),n(o)}},Object(r.createElement)("i",{className:"ct-tooltip-top"},Object(c.__)("Remove header","blocksy-companion")),Object(r.createElement)("svg",{width:"11px",height:"11px",viewBox:"0 0 24 24"},Object(r.createElement)("path",{d:"M9.6,0l0,1.2H1.2v2.4h21.6V1.2h-8.4l0-1.2H9.6z M2.8,6l1.8,15.9C4.8,23.1,5.9,24,7.1,24h9.9c1.2,0,2.2-0.9,2.4-2.1L21.2,6H2.8z"})))))}}))}))),Object(r.createElement)(o.Slot,{name:"PlacementsBuilderPanelsManagerAfter"},(function(e){return 0===e.length?null:e})),Object(r.createElement)(a.Overlay,{items:t,className:"ct-admin-modal ct-reset-options",onDismiss:function(){return n(!1)},render:function(){return Object(r.createElement)("div",{className:"ct-modal-content"},Object(r.createElement)("h2",{className:"ct-modal-title"},Object(c.__)("Remove Header","blocksy-companion")),Object(r.createElement)("p",null,Object(c.__)("You are about to remove a custom header, are you sure you want to continue?","blocksy-companion")),Object(r.createElement)("div",{className:"ct-modal-actions has-divider","data-buttons":"2"},Object(r.createElement)("button",{onClick:function(e){e.preventDefault(),e.stopPropagation(),n(!1)},className:"button"},Object(c.__)("Cancel","blocksy-companion")),Object(r.createElement)("button",{className:"button button-primary",onClick:function(e){e.preventDefault(),u({type:"REMOVE_BUILDER_SECTION",payload:{id:t}}),n(!1)}},Object(c.__)("Confirm","blocksy-companion"))))}}))};$.a.on("blocksy:options:before-option",(function(e){if(e.option&&"ct-header-builder"===e.option.type){var t=e.content;e.content=Object(r.createElement)(r.Fragment,null,t,Object(r.createElement)(o.Fill,{name:"PlacementsBuilderPanelsManager"},Object(r.createElement)(de,null)))}})),$.a.on("blocksy:options:register",(function(e){e["blocksy-display-condition"]=D,e["blocksy-customizer-options-manager"]=H}))}]);
static/bundle/options.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.32
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.33
3
  *
4
  * Copyright (c) 2022
5
  * Licensed GPLv2+
static/js/frontend/account.js CHANGED
@@ -204,59 +204,88 @@ export const handleAccountModal = (el) => {
204
  actuallyInsertMessage(form, res.message)
205
  }
206
 
207
- if (res.login && res.jwt) {
208
- if (!jQuery('#wfls-token').length) {
209
- var overlay = jQuery(
210
- '<div id="wfls-prompt-overlay-blocksy"></div>'
211
- )
 
212
 
213
- var wrapper = jQuery(
214
- '<div id="wfls-prompt-wrapper"></div>'
215
- )
216
- var label = jQuery(
217
- '<label for="wfls-token">2FA Code <a href="javascript:void(0)" class="wfls-2fa-code-help wfls-tooltip-trigger" title="The 2FA Code can be found within the authenticator app you used when first activating two-factor authentication. You may also use one of your recovery codes."><i class="dashicons dashicons-editor-help"></i></a></label>'
218
- )
219
- var field = jQuery(
220
- '<input type="text" name="wfls-token" id="wfls-token" aria-describedby="wfls-token-error" class="input" value="" size="6" autocomplete="off"/>'
221
- )
222
- var remember = jQuery(
223
- '<label for="wfls-remember-device"><input name="wfls-remember-device" type="checkbox" id="wfls-remember-device" class="ct-checkbox" value="1" /> Remember for 30 days</label>'
224
- )
225
 
226
- wrapper.append(label)
227
- wrapper.append(field)
228
 
229
- if (parseInt(WFLSVars.allowremember)) {
230
- wrapper.append(remember)
231
- }
232
 
233
- overlay.append(wrapper)
234
 
235
- jQuery(form).prepend(overlay)
236
 
237
- new jQuery.Zebra_Tooltips(
238
- jQuery('.wfls-tooltip-trigger')
239
- )
240
- }
241
 
242
- var jwtField = jQuery('#wfls-token-jwt')
243
 
244
- if (!jwtField.length) {
245
- jwtField = jQuery(
246
- '<input type="hidden" name="wfls-token-jwt" id="wfls-token-jwt" value=""/>'
247
- )
248
 
249
- jQuery(
250
- '#wfls-prompt-overlay-blocksy'
251
- ).append(jwtField)
252
- }
253
 
254
- jQuery('#wfls-token-jwt').val(res.jwt)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
255
  }
256
 
257
  if (res.combined) {
258
  maybeLogin.loginProceed = true
259
- form.submit()
 
 
 
 
 
 
 
 
 
 
 
 
 
260
  }
261
 
262
  if (
204
  actuallyInsertMessage(form, res.message)
205
  }
206
 
207
+ if (res.login) {
208
+ if (res.jwt) {
209
+ if (!jQuery('#wfls-token').length) {
210
+ var overlay = jQuery(
211
+ '<div id="wfls-prompt-overlay-blocksy"></div>'
212
+ )
213
 
214
+ var wrapper = jQuery(
215
+ '<div id="wfls-prompt-wrapper"></div>'
216
+ )
217
+ var label = jQuery(
218
+ '<label for="wfls-token">2FA Code <a href="javascript:void(0)" class="wfls-2fa-code-help wfls-tooltip-trigger" title="The 2FA Code can be found within the authenticator app you used when first activating two-factor authentication. You may also use one of your recovery codes."><i class="dashicons dashicons-editor-help"></i></a></label>'
219
+ )
220
+ var field = jQuery(
221
+ '<input type="text" name="wfls-token" id="wfls-token" aria-describedby="wfls-token-error" class="input" value="" size="6" autocomplete="off"/>'
222
+ )
223
+ var remember = jQuery(
224
+ '<label for="wfls-remember-device"><input name="wfls-remember-device" type="checkbox" id="wfls-remember-device" class="ct-checkbox" value="1" /> Remember for 30 days</label>'
225
+ )
226
 
227
+ wrapper.append(label)
228
+ wrapper.append(field)
229
 
230
+ if (parseInt(WFLSVars.allowremember)) {
231
+ wrapper.append(remember)
232
+ }
233
 
234
+ overlay.append(wrapper)
235
 
236
+ jQuery(form).prepend(overlay)
237
 
238
+ new jQuery.Zebra_Tooltips(
239
+ jQuery('.wfls-tooltip-trigger')
240
+ )
241
+ }
242
 
243
+ var jwtField = jQuery('#wfls-token-jwt')
244
 
245
+ if (!jwtField.length) {
246
+ jwtField = jQuery(
247
+ '<input type="hidden" name="wfls-token-jwt" id="wfls-token-jwt" value=""/>'
248
+ )
249
 
250
+ jQuery(
251
+ '#wfls-prompt-overlay-blocksy'
252
+ ).append(jwtField)
253
+ }
254
 
255
+ jQuery('#wfls-token-jwt').val(res.jwt)
256
+ } else {
257
+ fetch(
258
+ `${ct_localizations.ajax_url}?action=blc_implement_user_login`,
259
+ {
260
+ method: maybeLogin.method,
261
+ body: new FormData(maybeLogin),
262
+ }
263
+ )
264
+ .then((response) => response.text())
265
+ .then((html) => {
266
+ location = maybeLogin.querySelector(
267
+ '[name="redirect_to"]'
268
+ ).value
269
+ })
270
+ }
271
  }
272
 
273
  if (res.combined) {
274
  maybeLogin.loginProceed = true
275
+
276
+ fetch(
277
+ `${ct_localizations.ajax_url}?action=blc_implement_user_login`,
278
+ {
279
+ method: maybeLogin.method,
280
+ body: new FormData(maybeLogin),
281
+ }
282
+ )
283
+ .then((response) => response.text())
284
+ .then((html) => {
285
+ location = maybeLogin.querySelector(
286
+ '[name="redirect_to"]'
287
+ ).value
288
+ })
289
  }
290
 
291
  if (
static/js/options/ConditionsManager/PostIdPicker.js CHANGED
@@ -61,6 +61,7 @@ const PostIdPicker = ({ condition, onChange }) => {
61
 
62
  return (
63
  <Select
 
64
  option={{
65
  appendToBody: true,
66
  defaultToFirstItem: false,
@@ -74,16 +75,18 @@ const PostIdPicker = ({ condition, onChange }) => {
74
  : condition.rule === 'page_ids'
75
  ? __('Select page', 'blocksy-companion')
76
  : __('Custom Post Type ID', 'blocksy-companion'),
77
- choices: allPosts
78
- .filter(({ post_type }) =>
79
- postTypeToDisplay === 'ct_cpt'
80
- ? post_type !== 'post' && post_type !== 'page'
81
- : postTypeToDisplay === post_type
82
- )
83
- .map((post) => ({
84
- key: post.ID,
85
- value: post.post_title,
86
- })),
 
 
87
  search: true,
88
  }}
89
  value={currentPostId}
61
 
62
  return (
63
  <Select
64
+ key={allPosts.length}
65
  option={{
66
  appendToBody: true,
67
  defaultToFirstItem: false,
75
  : condition.rule === 'page_ids'
76
  ? __('Select page', 'blocksy-companion')
77
  : __('Custom Post Type ID', 'blocksy-companion'),
78
+ choices: [
79
+ ...allPosts
80
+ .filter(({ post_type }) =>
81
+ postTypeToDisplay === 'ct_cpt'
82
+ ? post_type !== 'post' && post_type !== 'page'
83
+ : postTypeToDisplay === post_type
84
+ )
85
+ .map((post) => ({
86
+ key: post.ID,
87
+ value: post.post_title,
88
+ })),
89
+ ],
90
  search: true,
91
  }}
92
  value={currentPostId}