diff --git a/README.md b/README.md index 52214697c..c961f08c8 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ **Contributors:** [brainstormforce](https://profiles.wordpress.org/brainstormforce/) **Tags:** forms, ai forms, contact form, form builder, payment form **Requires at least:** 6.4 -**Tested up to:** 7.0.2 +**Tested up to:** 7.1 **Requires PHP:** 7.4 -**Stable tag:** 2.12.3 +**Stable tag:** 2.12.4 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -426,6 +426,9 @@ Visit the [SureForms features page](https://sureforms.com/features/?utm_source=w You can report security issues through our [Bug Bounty Program](https://brainstormforce.com/bug-bounty-program/). We collaborate with Patchstack to validate, triage, and handle security reports. ## Changelog ## +### 2.12.4 - 19th August 2026 ### +* Improvement: Email notification images are now saved to the Media Library instead of being embedded as base64, improving email deliverability and reducing message size. +* Fix: Compatibility with WordPress 7.1. ### 2.12.3 - 6th August 2026 ### * New: Added an "Entries" shortcut in the Instant Form admin bar to open a form's entries in one click. * Improvement: Enhanced WPML compatibility. [https://wpml.org/plugin/sureforms/](https://wpml.org/plugin/sureforms/) @@ -440,12 +443,6 @@ You can report security issues through our [Bug Bounty Program](https://brainsto ### 2.12.2 - 20th July 2026 ### * New: Added a Payment History widget for Elementor and Bricks. * Fix: Custom CSS now applies correctly on the single form view. -### 2.12.1 - 8th July 2026 ### -* New: Added an AI-powered quick draft flow on the dashboard to generate forms faster, with built-in usage tracking. -* Improvement: Email fields now enforce standard RFC 5321 length limits (a 64-character local part and 255-character domain) to prevent oversized submissions, with a filter to customize the limits. -* Fix: Reset form option not working for some fields. -* Fix: Resolved a Stripe one-time payment error that could cause card payments to fail with an HTTP 400 response. -* Fix: Restored bullet point visibility in the rich text admin editor so formatted lists display correctly. The full changelog is available [here](https://sureforms.com/whats-new/?utm_source=wordpress.org&utm_medium=whats_new). ## Upgrade Notice ## \ No newline at end of file diff --git a/admin/admin.php b/admin/admin.php index 09c7a1a7e..35e38aeea 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -40,6 +40,29 @@ class Admin { */ public const RATING_NOTICE_THRESHOLD = 3; + /** + * Post meta the Starter Templates (Astra Sites) plugin stamps on every post it + * imports. The "Finish setting up" Thank You prompt (#3030) scopes to these + * forms only. Owned by a plugin that is NOT a SureForms dependency: on installs + * without Starter Templates nothing carries this meta and the prompt never shows. + * + * @since 2.12.4 + */ + public const ASTRA_SITES_IMPORT_META = '_astra_sites_imported_post'; + + /** + * Negative-cache transient: no form on this site carries the import marker. + * + * Set only when the marker query itself returns zero posts, which is a + * site-wide fact rather than a per-user one, and cleared as soon as any post is + * stamped with the marker (see invalidate_starter_template_cache()). This keeps + * the query off the majority of installs without tying the features to whether + * Starter Templates happens to still be active — the marker outlives it. + * + * @since 2.12.4 + */ + public const NO_IMPORTED_FORMS_TRANSIENT = 'srfm_no_starter_template_forms'; + /** * Inline CSS for Quill 1.x (react-quill) list markers. * @@ -75,6 +98,32 @@ class Admin { */ private static $sureforms_page_default_capability = 'manage_options'; + /** + * Request memo for the "Finish setting up" Thank You prompt (#3030). + * + * A static property (not a function-local static) so tests can reset it via + * reflection / reset_thankyou_prompt_cache() — otherwise the first call pins + * the value for the whole process and the feature is untestable. + * + * @var array>|null + * @since 2.12.4 + */ + private static $thankyou_prompt_cache = null; + + /** + * Request memo for the dashboard setup-checklist card (#3031). + * + * A static property (not a function-local static) so tests can reset it via + * reset_form_setup_card_cache() and exercise the populated path — a + * function-local static pins the first result for the whole process. Keyed by + * user id since the payload derives from that user's capabilities. + * `false` means "not computed yet"; `null`/array is a computed result. + * + * @var array|null> + * @since 2.12.4 + */ + private static $setup_card_cache = []; + /** * Class constructor. * @@ -139,11 +188,25 @@ public function __construct() { // Enqueue the AI quick draft widget script on the dashboard screen. add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_ai_dashboard_widget_assets' ] ); + // "Finish setting up" checklist widget on the main WP dashboard (#3031). + add_action( 'wp_dashboard_setup', [ $this, 'register_form_setup_widget' ] ); + add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_form_setup_widget_assets' ] ); + + // Drop the "no imported forms" negative cache as soon as a post is stamped + // with the import marker, so a template imported after the cache was written + // surfaces immediately instead of waiting for the transient to expire. + add_action( 'added_post_meta', [ $this, 'invalidate_starter_template_cache' ], 10, 3 ); + add_action( 'updated_post_meta', [ $this, 'invalidate_starter_template_cache' ], 10, 3 ); + // Save first form creation time stamp. add_action( 'admin_init', [ $this, 'save_first_form_creation_time_stamp' ] ); add_action( 'admin_notices', [ $this, 'display_srfm_rating_notice' ] ); add_action( 'admin_notices', [ $this, 'display_srfm_getting_started_notice' ] ); + // "Finish setting up" prompt, shown as an Astra Notices admin notice on + // every admin screen except the dashboard (#3030). + add_action( 'admin_notices', [ $this, 'render_thankyou_prompt_notice' ] ); + /** * Suppress foreign (third-party) admin notices on SureForms admin screens. * @@ -247,6 +310,641 @@ public static function is_first_form_created() { return is_int( $first_form_creation_time_stamp ) && $first_form_creation_time_stamp > 0; } + /** + * Whether a form's confirmation message is still the shipped default. + * + * Compared on tag-stripped, entity-decoded, whitespace-collapsed text rather + * than raw HTML: the default is stored with a base64 icon on creation but + * regenerated with a URL icon, so the markup differs while the wording does + * not, and a starter-template import can store a literal apostrophe where the + * generated default carries the encoded `'` — decoding entities makes both + * compare equal. Any real edit to the heading or body text changes the text and + * flips this to false, which is exactly when the prompt should stop showing. + * + * Locale caveat: the comparison target is translated at call time, so a form + * whose default was stored under a different active locale won't match. That + * fails safe — the prompt simply doesn't show — never a false nag. + * + * @param int $form_id Form post ID. + * + * @since 2.12.4 + * @return bool + */ + public static function is_default_confirmation_message( $form_id ) { + $confirmation = get_post_meta( (int) $form_id, '_srfm_form_confirmation', true ); + + if ( ! is_array( $confirmation ) || ! isset( $confirmation[0]['message'] ) || ! is_string( $confirmation[0]['message'] ) ) { + return false; + } + + // The default message is only ever shown for a "same page" confirmation. + // A redirect ("different page" / "custom url") never renders it, yet the + // stored settings still seed the default message string — so without this + // guard a redirect form would be nagged forever about a message no visitor + // sees, with no way to clear the prompt by doing what it asks. + if ( ! isset( $confirmation[0]['confirmation_type'] ) || 'same page' !== $confirmation[0]['confirmation_type'] ) { + return false; + } + + $message = $confirmation[0]['message']; + + if ( '' === trim( $message ) ) { + return false; + } + + $normalize = static function ( $html ) { + // Decode entities too, so an encoded apostrophe (') in the generated + // default matches a literal one stored by a template import. + $text = html_entity_decode( wp_strip_all_tags( (string) $html ), ENT_QUOTES, 'UTF-8' ); + return trim( (string) preg_replace( '/\s+/', ' ', $text ) ); + }; + + return $normalize( $message ) === $normalize( Global_Settings::get_default_confirmation_message() ); + } + + /** + * Whether a form has somewhere to send replies (an enabled email notification + * with a non-empty recipient). + * + * @param int $form_id Form post ID. + * + * @since 2.12.4 + * @return bool + */ + public static function form_has_reply_destination( $form_id ) { + $notifications = get_post_meta( (int) $form_id, '_srfm_email_notification', true ); + + if ( ! is_array( $notifications ) ) { + return false; + } + + foreach ( $notifications as $notification ) { + if ( is_array( $notification ) && ! empty( $notification['status'] ) && ! empty( $notification['email_to'] ) ) { + return true; + } + } + + return false; + } + + /** + * The most recently created form still needing setup (default Thank You + * message, or no reply destination). + * + * Powers the "Finish setting up" prompt (#3030). Limited to the single latest + * such form to avoid clutter, and to forms the current user may actually edit. + * A form is a candidate when it still has an unfinished step (default Thank You + * message, or no reply destination). Dismissal is enforced by the caller, + * before this query runs. + * + * @since 2.12.4 + * @return array> One entry, or none. + */ + public static function get_thankyou_prompt_forms() { + // Memoized for the request so repeated reads (e.g. the notice render plus + // any add-on consumer) share a single query. Sentinel is null, not false, + // so a filter returning false (__return_false to disable) still memoizes. + if ( null !== self::$thankyou_prompt_cache ) { + return self::$thankyou_prompt_cache; + } + + /** + * Filter the forms the "Finish setting up" Thank You notice may surface. + * + * @param array> $prompts Candidate prompt payloads. + * + * @since 2.12.4 + */ + $filtered = apply_filters( 'srfm_thankyou_prompt_forms', self::compute_thankyou_prompt_forms() ); + self::$thankyou_prompt_cache = is_array( $filtered ) ? $filtered : []; + + return self::$thankyou_prompt_cache; + } + + /** + * Clear the request memo for the Thank You prompt (#3030). + * + * Lets tests exercise the memoized public path, and is a safe hook for anything + * that changes which form qualifies (e.g. a form save). + * + * @since 2.12.4 + * @return void + */ + public static function reset_thankyou_prompt_cache() { + self::$thankyou_prompt_cache = null; + } + + /** + * Setup-checklist data for the newest starter-template form (#3031). + * + * Picks the most recent form the current user can edit that was created from an + * Astra Sites starter template. The widget + * lists a fixed set of optional next-steps for it — their completion is not + * computed — so the payload carries only the form and the CTA targets. Memoized + * for the request so the widget register/enqueue/render passes share one query. + * + * @since 2.12.4 + * @return array|null Card payload, or null when there is no candidate form. + */ + public static function get_form_setup_card() { + $user_id = get_current_user_id(); + + // Request memo, keyed per user — the payload derives from that user's + // capabilities. Reset via reset_form_setup_card_cache(). + if ( array_key_exists( $user_id, self::$setup_card_cache ) ) { + return self::$setup_card_cache[ $user_id ]; + } + + self::$setup_card_cache[ $user_id ] = self::compute_form_setup_card(); + + return self::$setup_card_cache[ $user_id ]; + } + + /** + * Drop the "no imported forms" negative cache when the marker is written. + * + * Hooked to added_post_meta/updated_post_meta. Without this, a starter template + * imported after the negative cache was written would show neither the Thank You + * prompt nor the setup widget until the transient expired. + * + * Arguments are read from func_get_args() rather than declared: the hook passes + * ( $meta_id, $post_id, $meta_key ) and the meta id is never needed, so declaring + * it would leave an unused parameter that the coding-standards gate rejects. + * + * @since 2.12.4 + * @return void + */ + public function invalidate_starter_template_cache() { + $args = func_get_args(); + $post_id = isset( $args[1] ) ? (int) $args[1] : 0; + $meta_key = isset( $args[2] ) ? (string) $args[2] : ''; + + if ( self::ASTRA_SITES_IMPORT_META !== $meta_key ) { + return; + } + + // A full-site import stamps this marker on every post it creates, so narrow to + // our own post type: both features only ever query sureforms_form, and this + // avoids clearing the cache repeatedly for pages and products during an import. + if ( ! defined( 'SRFM_FORMS_POST_TYPE' ) || SRFM_FORMS_POST_TYPE !== get_post_type( $post_id ) ) { + return; + } + + delete_transient( self::NO_IMPORTED_FORMS_TRANSIENT ); + } + + /** + * Clear the setup-card request memo (#3031). + * + * Lets tests exercise the populated path, and is a safe hook for anything that + * changes which form qualifies (e.g. a form save). + * + * @since 2.12.4 + * @return void + */ + public static function reset_form_setup_card_cache() { + self::$setup_card_cache = []; + } + + /** + * REST handler: record a "Finish setting up" widget interaction (#3031). + * + * Records the clicked CTA/view action as an analytics event. The request + * carries the displayed form id: capability is re-checked against it here — + * beyond the route's generic permission callback — so only a genuine editor of + * that form can act. + * + * @param \WP_REST_Request> $request Request. + * + * @since 2.12.4 + * @return \WP_REST_Response|\WP_Error + */ + public function dismiss_form_setup_card( $request ) { + $form_id = absint( $request->get_param( 'form_id' ) ); + + if ( $form_id <= 0 || ! defined( 'SRFM_FORMS_POST_TYPE' ) || SRFM_FORMS_POST_TYPE !== get_post_type( $form_id ) || ! current_user_can( 'edit_post', $form_id ) ) { + return new \WP_Error( 'srfm_setup_card_forbidden', __( 'You are not allowed to update this prompt.', 'sureforms' ), [ 'status' => 403 ] ); + } + + $action = sanitize_key( (string) $request->get_param( 'action' ) ); + + // Interaction analytics for the setup widget (#3031). Each event carries a + // date automatically (see BSF_Analytics_Events::track()) and dedupes per + // event name, matching the sibling notice's telemetry. + $events = [ + 'edit_form' => 'form_setup_widget_edit_form', + 'edit_thankyou' => 'form_setup_widget_edit_thankyou', + 'set_up_email' => 'form_setup_widget_set_up_email', + 'view_form' => 'form_setup_widget_view_form', + ]; + + if ( isset( $events[ $action ] ) ) { + Analytics::events()->track( $events[ $action ], (string) $form_id ); + } + + return new \WP_REST_Response( [ 'success' => true ], 200 ); + } + + /** + * Register the "Finish setting up" checklist widget on the main WP dashboard (#3031). + * + * Only for capable users, and only when there is a form still needing setup — + * so the widget never appears empty. The data is memoized in get_form_setup_card() + * and reused by the enqueue and render passes. + * + * @since 2.12.4 + * @return void + */ + public function register_form_setup_widget() { + if ( ! Helper::current_user_can() ) { + return; + } + + if ( null === self::get_form_setup_card() ) { + return; + } + + wp_add_dashboard_widget( + 'srfm_form_setup_checklist', + __( 'Finish setting up your form', 'sureforms' ), + [ $this, 'render_form_setup_widget' ], + null, + null, + 'normal', + 'high' + ); + } + + /** + * Render the setup-checklist widget content (#3031). + * + * A heading (with a link to view the form), a subtitle, and a fixed list of + * optional next-steps — each always shown with its CTA; completion is not + * computed. Each CTA deep-links into the editor (edit form / Thank You message / + * email notification) and records an analytics event via the REST endpoint + * wired in the enqueued inline script. + * + * @since 2.12.4 + * @return void + */ + public function render_form_setup_widget() { + $card = self::get_form_setup_card(); + + if ( null === $card ) { + return; + } + + // Optional next-steps — always offered, their completion is not computed. + // 'event' is the analytics action key beaconed on click (see the widget JS). + $rows = [ + [ + 'label' => __( 'Review or edit your form', 'sureforms' ), + 'cta' => __( 'Edit form', 'sureforms' ), + 'url' => $card['edit_url'], + 'event' => 'edit_form', + ], + [ + 'label' => __( 'Personalize the Thank You message', 'sureforms' ), + 'cta' => __( 'Edit message', 'sureforms' ), + 'url' => $card['thankyou_url'], + 'event' => 'edit_thankyou', + ], + [ + 'label' => __( 'Choose who gets notified of new replies', 'sureforms' ), + 'cta' => __( 'Set up email', 'sureforms' ), + 'url' => $card['email_url'], + 'event' => 'set_up_email', + ], + ]; + + // Fall back to a generic label for an untitled form so the heading never + // renders "Finish setting up " with a dangling space. + $card_title = '' !== trim( (string) $card['title'] ) ? $card['title'] : __( 'your form', 'sureforms' ); + $heading = sprintf( + /* translators: %s: form title. */ + __( 'Finish setting up %s', 'sureforms' ), + $card_title + ); + ?> +
+

+ + + + + + +

+

+ +
    + +
  • + + +
  • + +
+
+ esc_url_raw( rest_url( 'sureforms/v1/dismiss-form-setup-card' ) ), + 'nonce' => wp_create_nonce( 'wp_rest' ), + 'formId' => $card['id'], + ] + ); + + $inline_script = <<<'JS' +( function () { + const cfg = window.srfmSetupChecklist || {}; + const widget = document.getElementById( 'srfm-setup-checklist' ); + if ( ! widget ) { + return; + } + + const persist = function ( action ) { + return fetch( cfg.restUrl, { + method: 'POST', + credentials: 'same-origin', + keepalive: true, + headers: { 'Content-Type': 'application/json', 'X-WP-Nonce': cfg.nonce }, + body: JSON.stringify( { form_id: cfg.formId, action: action } ), + } ).catch( function () {} ); + }; + + // Beacon the CTA / view-form clicks for analytics. keepalive on the fetch lets + // the request finish even though the CTA immediately navigates away. + widget.addEventListener( 'click', function ( e ) { + const target = e.target?.closest?.( '[data-srfm-event]' ); + if ( target ) { + persist( target.getAttribute( 'data-srfm-event' ) ); + } + } ); +}() ); +JS; + + wp_add_inline_script( 'srfm-setup-checklist-widget', $inline_script ); + } + + /** + * Register the "Finish setting up" prompt as an Astra Notices admin notice (#3030). + * + * Hooked to admin_notices so it registers before the Astra Notices library + * renders (priority 30). Shown on every admin screen EXCEPT the main dashboard, + * for the newest form the current user can edit that still has an unfinished + * step (default Thank You message, or no reply destination). Uses a single + * stable notice id so the library's built-in ✕ dismissal is one persistent + * choice ("stop nudging me"), not a per-form row. + * + * @since 2.12.4 + * @return void + */ + public function render_thankyou_prompt_notice() { + if ( ! Helper::current_user_can() || ! class_exists( 'Astra_Notices' ) ) { + return; + } + + /** + * Short-circuit the "Finish setting up" Thank You notice. + * + * @param bool $show Whether to show the notice. Default true. + * + * @since 2.12.4 + */ + if ( ! apply_filters( 'srfm_show_thankyou_prompt', true ) ) { + return; + } + + // Everywhere in wp-admin except the main dashboard. A null screen fails + // closed (return) rather than registering the notice on an unknown screen. + $screen = get_current_screen(); + + if ( ! $screen || 'dashboard' === $screen->id ) { + return; + } + + // A single stable notice id (not per-form): keeps both the autoloaded + // `allowed_astra_notices` option and the per-user dismissal meta bounded to + // one row, and lets a dismissed user short-circuit before the query runs. + $notice_id = 'srfm-thankyou-prompt'; + + // The library only checks dismissal at render (priority 30, after this + // query would already have run). Check it up front so a user who dismissed + // the prompt never pays for the WP_Query on subsequent admin page views. + if ( 'notice-dismissed' === get_user_meta( get_current_user_id(), $notice_id, true ) ) { + return; + } + + // array_values so a filter returning a key-preserving array (e.g. the + // result of array_filter()) still exposes the newest prompt at index 0. + $prompts = array_values( (array) self::get_thankyou_prompt_forms() ); + + // Validate every key build_thankyou_notice_markup() reads, not just id/edit_url + // — a filter returning a partial payload would otherwise trip "Undefined array + // key" warnings and esc_url( null ) deprecations on every admin page. + if ( + empty( $prompts[0] ) || ! is_array( $prompts[0] ) + || empty( $prompts[0]['id'] ) || empty( $prompts[0]['edit_url'] ) + || empty( $prompts[0]['thankyou_url'] ) || empty( $prompts[0]['replies_url'] ) + || ! isset( $prompts[0]['title'] ) + ) { + return; + } + + $form = $prompts[0]; + + \Astra_Notices::add_notice( + [ + 'id' => $notice_id, + 'type' => 'info', + 'message' => self::build_thankyou_notice_markup( $form ), + 'class' => 'srfm-thankyou-notice', + 'is_dismissible' => true, + 'display-with-other-notices' => true, + // Render late so this nudge never pre-empts higher-priority notices + // (e.g. Astra's minimum-version warnings, which are display-with- + // other-notices => false and would be skipped once ours renders). + 'priority' => 100, + ] + ); + + // The message is wp_kses_post'd by the library, so the brand-orange styling + // is printed through the notice's pre-markup hook instead of inline. + add_action( 'astra_notice_before_markup_' . $notice_id, [ $this, 'print_thankyou_notice_styles' ] ); + + // Track clicks on the CTAs and the dismiss ✕ via the shared notice-response + // endpoint, enqueued only when the notice actually renders. + add_action( 'astra_notice_after_markup_' . $notice_id, [ $this, 'enqueue_thankyou_notice_tracking' ] ); + } + + /** + * Enqueue the click-tracking for the Thank You notice (#3030). + * + * Sends an analytics beacon to the shared `srfm_notice_response` AJAX handler + * when a CTA or the dismiss ✕ is clicked. Uses `keepalive` so the beacon + * survives the navigation the CTA links trigger. + * + * @since 2.12.4 + * @return void + */ + public function enqueue_thankyou_notice_tracking() { + if ( wp_script_is( 'srfm-thankyou-notice-track', 'enqueued' ) ) { + return; + } + + wp_register_script( 'srfm-thankyou-notice-track', '', [], SRFM_VER, true ); + wp_enqueue_script( 'srfm-thankyou-notice-track' ); + + $config = wp_json_encode( + [ + 'ajaxurl' => admin_url( 'admin-ajax.php' ), + 'nonce' => wp_create_nonce( 'srfm_notice_response' ), + ] + ); + + wp_add_inline_script( 'srfm-thankyou-notice-track', 'window.srfmThankYouNoticeTrack = ' . $config . ';', 'before' ); + + $inline_script = <<<'JS' +( function () { + const cfg = window.srfmThankYouNoticeTrack || {}; + const wrap = document.querySelector( '.srfm-thankyou-notice' ); + if ( ! wrap ) { + return; + } + const noticeId = wrap.id || ''; + const send = function ( button ) { + const body = new URLSearchParams(); + body.append( 'action', 'srfm_notice_response' ); + body.append( 'nonce', cfg.nonce ); + body.append( 'notice_id', noticeId ); + body.append( 'button', button ); + fetch( cfg.ajaxurl, { + method: 'POST', + credentials: 'same-origin', + keepalive: true, + headers: { 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8' }, + body: body.toString(), + } ).catch( function () {} ); + }; + // Delegate from the wrapper: this inline script runs at parse time, before + // core's common.js injects the .notice-dismiss ✕ (on DOMContentLoaded), so a + // direct querySelector for it would find nothing and the dismiss beacon would + // never fire. Delegation catches the ✕ and the CTAs whenever they exist. + const ctas = [ + [ '.srfm-ty-edit-form', 'edit_form' ], + [ '.srfm-ty-set-replies', 'set_replies' ], + [ '.srfm-ty-edit-thankyou', 'edit_thankyou' ], + ]; + wrap.addEventListener( 'click', function ( e ) { + if ( e.target.closest( '.notice-dismiss' ) ) { + send( 'dismissed' ); + return; + } + for ( let i = 0; i < ctas.length; i++ ) { + if ( e.target.closest( ctas[ i ][ 0 ] ) ) { + send( ctas[ i ][ 1 ] ); + return; + } + } + } ); +}() ); +JS; + + wp_add_inline_script( 'srfm-thankyou-notice-track', $inline_script ); + } + + /** + * Print the Thank You notice's brand-orange styling (#3030). + * + * Fired via astra_notice_before_markup_{id} so it lands right before the notice + * and only when the notice actually renders. + * + * @since 2.12.4 + * @return void + */ + public function print_thankyou_notice_styles() { + // The library wp_kses_post()'s the message, which strips and data: + // image srcs, so the SureForms mark is painted as a CSS background here + // (this hook fires outside that kses call). URL-encoded, not base64, so the + // value is fully percent-encoded and safe to pass through esc_url. + $icon = 'data:image/svg+xml,' . rawurlencode( + '' + ); + ?> + + 'rating_notice_snooze', 'dismissed' => 'rating_notice_dismiss', ], + // The "Finish setting up" prompt (#3030): three CTAs, plus the ✕. + 'srfm-thankyou-prompt' => [ + 'edit_form' => 'thankyou_notice_edit_form', + 'set_replies' => 'thankyou_notice_set_replies', + 'edit_thankyou' => 'thankyou_notice_edit_thankyou', + 'dismissed' => 'thankyou_notice_dismiss', + ], ]; if ( ! isset( $valid[ $notice_id ][ $button ] ) ) { @@ -2198,6 +2903,241 @@ public function render_dashboard_widget() { |null Card payload, or null when there is no candidate. + */ + private static function compute_form_setup_card() { + if ( ! defined( 'SRFM_FORMS_POST_TYPE' ) || ! post_type_exists( SRFM_FORMS_POST_TYPE ) ) { + return null; + } + + // Negative cache. Deliberately not a `defined( 'ASTRA_SITES_VER' )` check: + // Starter Templates defines that constant in its main plugin file, so it only + // exists while the plugin is active, yet neither its uninstall.php nor its + // deactivation hook removes the import marker. Gating on the constant would + // silently switch this feature off for the very people it targets — anyone who + // imported a starter template and then removed the one-shot import plugin. + if ( 'no' === get_transient( self::NO_IMPORTED_FORMS_TRANSIENT ) ) { + return null; + } + + // Only forms created from an Astra Sites starter template — those carry the + // marker Starter Templates stamps on imported posts (self::ASTRA_SITES_IMPORT_META). + // Prime post + meta caches (the loop reads title, permalink and edit link + // per candidate) so this is a single query, not a follow-up per form. + $query = new \WP_Query( + [ + 'post_type' => SRFM_FORMS_POST_TYPE, + 'post_status' => [ 'publish', 'draft', 'pending' ], + 'posts_per_page' => 10, + // ID breaks the tie: a starter-template import creates several forms + // within the same second, so post_date alone leaves "the newest form" + // up to MySQL and it can differ between page loads. + 'orderby' => [ + 'date' => 'DESC', + 'ID' => 'DESC', + ], + 'no_found_rows' => true, + 'update_post_meta_cache' => true, + 'update_post_term_cache' => false, + 'meta_query' => [ // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query -- Bounded to 10 recent forms; dashboard-only. + [ + 'key' => self::ASTRA_SITES_IMPORT_META, + 'compare' => 'EXISTS', + ], + ], + ] + ); + + // Nothing on this site carries the marker — remember that, so the query does + // not repeat on every load. Keyed on the query result rather than on anything + // user-specific, so it is safe to share, and invalidated the moment a post is + // stamped (see invalidate_starter_template_cache()). + if ( empty( $query->posts ) ) { + set_transient( self::NO_IMPORTED_FORMS_TRANSIENT, 'no', WEEK_IN_SECONDS ); + } + + foreach ( $query->posts as $post ) { + $form_id = (int) $post->ID; + + if ( ! current_user_can( 'edit_post', $form_id ) ) { + continue; + } + + $edit_link = get_edit_post_link( $form_id, 'raw' ); + + if ( empty( $edit_link ) ) { + continue; + } + + // The steps are shown as optional next-steps — their completion is not + // computed, so the widget simply lists the actions the owner can take. + return [ + 'id' => $form_id, + 'title' => get_the_title( $form_id ), + 'edit_url' => $edit_link, + // Deep-links to the email-notification panel where supported; falls + // back to opening the editor when the focus handler isn't present. + 'email_url' => add_query_arg( 'srfm_focus', 'notifications', $edit_link ), + // Deep-links to the Form Confirmation panel (the Thank You message). + 'thankyou_url' => add_query_arg( 'srfm_focus', 'thankyou', $edit_link ), + // Front-end instant-form page. get_permalink() only yields a working + // URL for published forms; a draft/pending form has no public URL, so + // omit the view link there (the empty() guard hides the icon). + 'view_url' => 'publish' === $post->post_status ? (string) get_permalink( $form_id ) : '', + ]; + } + + return null; + } + + /** + * Build the Thank You prompt payload (uncached). See get_thankyou_prompt_forms(). + * + * @since 2.12.4 + * @return array> One entry, or none. + */ + private static function compute_thankyou_prompt_forms() { + if ( ! defined( 'SRFM_FORMS_POST_TYPE' ) || ! post_type_exists( SRFM_FORMS_POST_TYPE ) ) { + return []; + } + + // Negative cache — this notice renders on every admin screen, so keeping the + // query off installs that can never match is what matters here. See + // self::NO_IMPORTED_FORMS_TRANSIENT for why this is not gated on whether + // Starter Templates is still active: the marker outlives the plugin. + if ( 'no' === get_transient( self::NO_IMPORTED_FORMS_TRANSIENT ) ) { + return []; + } + + // Only forms imported from a Starter Templates (Astra Sites) starter + // template — see self::ASTRA_SITES_IMPORT_META. Prime post + meta caches + // (the loop reads meta, title and creation time per candidate) so this is a + // single query rather than the main query plus a follow-up per form. + $query = new \WP_Query( + [ + 'post_type' => SRFM_FORMS_POST_TYPE, + 'post_status' => 'publish', + 'posts_per_page' => 10, + // ID breaks the tie — an import creates several forms in the same + // second, so post_date alone makes "newest" MySQL-dependent. + 'orderby' => [ + 'date' => 'DESC', + 'ID' => 'DESC', + ], + 'no_found_rows' => true, + 'update_post_meta_cache' => true, + 'update_post_term_cache' => false, + 'meta_query' => [ // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query -- Bounded to 10 recent forms; admin-notice only. + [ + 'key' => self::ASTRA_SITES_IMPORT_META, + 'compare' => 'EXISTS', + ], + ], + ] + ); + + // Nothing on this site carries the marker — remember that, so the query does + // not repeat on every load. Keyed on the query result rather than on anything + // user-specific, so it is safe to share, and invalidated the moment a post is + // stamped (see invalidate_starter_template_cache()). + if ( empty( $query->posts ) ) { + set_transient( self::NO_IMPORTED_FORMS_TRANSIENT, 'no', WEEK_IN_SECONDS ); + } + + $prompts = []; + $now = time(); + + foreach ( $query->posts as $post ) { + $form_id = (int) $post->ID; + + if ( ! current_user_can( 'edit_post', $form_id ) ) { + continue; + } + + $steps = [ + // A destination for replies: an enabled notification with a recipient. + 'replies' => ! self::form_has_reply_destination( $form_id ), + // The thank-you message is still the shipped default. + 'thankyou' => self::is_default_confirmation_message( $form_id ), + ]; + + // Nothing left to finish — no card for this form. + if ( ! $steps['replies'] && ! $steps['thankyou'] ) { + continue; + } + + $edit_link = get_edit_post_link( $form_id, 'raw' ); + + if ( empty( $edit_link ) ) { + continue; + } + + $created = get_post_time( 'U', true, $form_id ); + $days_ago = is_int( $created ) ? (int) floor( ( $now - $created ) / DAY_IN_SECONDS ) : 0; + + $prompts[] = [ + 'id' => $form_id, + 'title' => get_the_title( $form_id ), + 'days_ago' => max( 0, $days_ago ), + 'steps' => $steps, + 'edit_url' => $edit_link, + // The editor reads srfm_focus to open the matching settings tab: + // "notifications" lands on Email Notification (where the reply + // destination is set, so the CTA can actually clear that step) and + // "thankyou" on Form Confirmation. + 'replies_url' => add_query_arg( 'srfm_focus', 'notifications', $edit_link ), + 'thankyou_url' => add_query_arg( 'srfm_focus', 'thankyou', $edit_link ), + ]; + + // One card is enough — surface only the latest form needing setup. + break; + } + + return $prompts; + } + + /** + * Build the Thank You notice's inner markup (title, sentence, action buttons). + * + * @param array $form Prompt payload from get_thankyou_prompt_forms(). + * + * @since 2.12.4 + * @return string + */ + private static function build_thankyou_notice_markup( $form ) { + // The prompt only surfaces starter-template imports (see the meta gate), so + // the form was created for the user rather than by them. Kept generic — no + // per-step claim — so it is always accurate whatever the user has since + // changed, while the action buttons point to the specific things to finish. + $sentence = __( 'We’ve already created this form for you. Finish customising it so it’s ready to collect real submissions.', 'sureforms' ); + + ob_start(); + ?> +

+ +

+

+

+ + + +

+ " class="srfm-success-box-description"> false`, so `edit_post` collapses to a blanket + * `manage_options` check with no per-post component — an editor never sees the + * pill on any form. For every other viewer the markup and its styles are + * entirely absent from the DOM. + * + * The stylesheet is attached to a registered inline-only handle so `WP_Styles` + * dedupes it by handle (surviving a discarded `the_content` pass, e.g. an SEO + * plugin building `og:description` during `wp_head`) and it survives a strict + * `style-src` CSP. It is not cache-signalled here: the payload is only a + * `wp-admin/post.php?post=N` link an anonymous visitor cannot act on, and a + * `DONOTCACHEPAGE` define from a fragment renderer is both inert on the normal + * (headers-already-sent) path and an irreversible process-global side effect. + * + * @param int $form_id Form post ID. + * + * @return void + * @since 2.12.4 + */ + public static function render_edit_form_button( $form_id ) { + $form_id = absint( $form_id ); + + // Only for real SureForms forms — the [sureforms] shortcode accepts any + // post ID, and a non-form target would map `edit_post` normally and leak + // the pill to an ordinary editor. + if ( 0 === $form_id || ! defined( 'SRFM_FORMS_POST_TYPE' ) || SRFM_FORMS_POST_TYPE !== get_post_type( $form_id ) ) { + return; + } + + // Capability gate first, before the suppression filter, so no work is done + // for the anonymous visitors who make up almost every page view. + if ( ! current_user_can( 'edit_post', $form_id ) ) { + return; + } + + // Contexts where the pill is redundant or wrong: + // - the single-form / Instant Form page, where the form IS the whole page + // and the admin bar already links to its editor. This is also what + // suppresses the block editor's preview — that preview is an iframe to + // the form's own permalink (an ordinary front-end request), NOT a REST + // render, so `is_singular` is the load-bearing guard there; + // - any admin / AJAX / REST / JSON request, or a feed (the markup would + // otherwise land inside `content:encoded` CDATA). + if ( + is_singular( SRFM_FORMS_POST_TYPE ) + || is_admin() + || wp_doing_ajax() + || wp_is_json_request() + || ( defined( 'REST_REQUEST' ) && REST_REQUEST ) + || is_feed() + ) { + return; + } + + // Page-builder editor canvases render the form directly (not over REST), + // where their own element-edit handles would collide with the pill. + if ( class_exists( '\Elementor\Plugin' ) && \Elementor\Plugin::$instance->editor->is_edit_mode() ) { + return; + } + if ( function_exists( 'bricks_is_builder' ) && bricks_is_builder() ) { + return; + } + + /** + * Allow integrations to suppress the admin "Edit Form" shortcut entirely. + * + * @param bool $show Whether to render the shortcut. Default true. + * @param int $form_id Form post ID. + * + * @since 2.12.4 + */ + if ( ! apply_filters( 'srfm_show_edit_form_button', true, $form_id ) ) { + return; + } + + $edit_link = get_edit_post_link( $form_id ); + + if ( empty( $edit_link ) ) { + return; + } + + /** + * Filter the target of the admin "Edit Form" shortcut. + * + * @param string $edit_link Editor URL for the form. + * @param int $form_id Form post ID. + * + * @since 2.12.4 + */ + $edit_link = Helper::get_string_value( apply_filters( 'srfm_edit_form_button_link', $edit_link, $form_id ) ); + + if ( '' === $edit_link ) { + return; + } + + // Registered inline-only handle: WP_Styles dedupes by handle across every + // embedded form and prints via print_late_styles() in the footer even when + // enqueued this late (during the_content). + $style_handle = 'srfm-edit-form-btn'; + if ( ! wp_style_is( $style_handle, 'registered' ) ) { + wp_register_style( $style_handle, false, [], SRFM_VER ); + wp_add_inline_style( $style_handle, self::get_edit_form_button_css() ); + } + wp_enqueue_style( $style_handle ); + ?> + + + + + + SRFM_URL . 'assets/build/icon-assets' ] ); + // Deep-link (#3030): the "Finish setting up" Thank You notice CTA opens this + // editor with ?srfm_focus=… to auto-open a settings tab. Gutenberg strips + // unrecognised query args client-side before the editor bundle can read them, + // so surface the value from the server — where it is never stripped — as a + // global the bundle reads at evaluation time. Validated to a known allowlist. + // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Read-only deep-link hint on an authenticated editor screen; no state change. + $srfm_focus = isset( $_GET['srfm_focus'] ) ? sanitize_key( wp_unslash( $_GET['srfm_focus'] ) ) : ''; + if ( in_array( $srfm_focus, [ 'thankyou', 'notifications' ], true ) ) { + wp_add_inline_script( SRFM_SLUG . $form_editor_script, 'window.srfmDeepLinkFocus = ' . wp_json_encode( $srfm_focus ) . ';', 'before' ); + } + // Enqueue the code editor for the Custom CSS Editor in SureForms. wp_enqueue_code_editor( [ 'type' => 'text/css' ] ); wp_enqueue_script( 'wp-theme-plugin-editor' ); diff --git a/inc/post-types.php b/inc/post-types.php index 5c1a35303..d3af48d85 100644 --- a/inc/post-types.php +++ b/inc/post-types.php @@ -36,13 +36,13 @@ public function __construct() { add_action( 'init', [ $this, 'register_post_metas' ] ); add_shortcode( 'sureforms', [ $this, 'forms_shortcode' ] ); add_action( 'manage_posts_extra_tablenav', [ $this, 'maybe_render_blank_form_state' ] ); - add_action( 'admin_bar_menu', [ $this, 'remove_admin_bar_menu_item' ], 80, 1 ); add_action( 'template_redirect', [ $this, 'srfm_instant_form_redirect' ] ); add_action( 'template_redirect', [ $this, 'disable_sureforms_archive_page' ], 9 ); add_action( 'load-edit.php', [ $this, 'redirect_forms_listing_page' ] ); add_filter( 'rest_prepare_sureforms_form', [ $this, 'sureforms_normalize_meta_for_rest' ], 10, 2 ); add_action( 'admin_bar_menu', [ $this, 'add_edit_form_to_admin_bar_menu' ], 100 ); + add_action( 'admin_bar_menu', [ $this, 'add_new_form_to_admin_bar_menu' ], 100 ); } /** @@ -103,6 +103,45 @@ public function add_edit_form_to_admin_bar_menu( $wp_admin_bar ) { ); } + /** + * Add a "Form" shortcut to the admin bar "+ New" menu (#3026). + * + * Mirrors how core post types appear under "+ New", but added manually rather + * than via `show_in_admin_bar` so it does not also register a second front-end + * "Edit" node alongside the custom one in add_edit_form_to_admin_bar_menu(). + * Gated on the form CPT's own create capability (manage_options for this CPT), + * so it only shows for users who can actually create a form. + * + * @param WP_Admin_Bar $wp_admin_bar WP_Admin_Bar instance. + * @since 2.12.4 + * @return void + */ + public function add_new_form_to_admin_bar_menu( $wp_admin_bar ) { + if ( ! is_admin_bar_showing() || ! $wp_admin_bar instanceof WP_Admin_Bar ) { + return; + } + + $post_type = get_post_type_object( SRFM_FORMS_POST_TYPE ); + + if ( ! $post_type || empty( $post_type->cap->create_posts ) || ! current_user_can( $post_type->cap->create_posts ) ) { + return; + } + + // Core registers the "+ New" (new-content) group at priority 70, so running at + // 100 places this node inside it. If core skipped the group (the user can create + // nothing else), WP_Admin_Bar::_bind() drops this orphan node silently. + // name_admin_bar is the label core uses for "+ New" children; escaped because + // WP_Admin_Bar echoes node titles unescaped. + $wp_admin_bar->add_node( + [ + 'id' => 'new-' . SRFM_FORMS_POST_TYPE, + 'parent' => 'new-content', + 'title' => esc_html( $post_type->labels->name_admin_bar ), + 'href' => esc_url( admin_url( 'post-new.php?post_type=' . SRFM_FORMS_POST_TYPE ) ), + ] + ); + } + /** * Remove this method in the future once _srfm_form_confirmation meta is updated. * Normalize the _srfm_form_confirmation meta before it's sent to the REST API. @@ -292,18 +331,6 @@ public function disable_sureforms_archive_page() { } } - /** - * Remove add new form menu item. - * - * @param WP_Admin_Bar $wp_admin_bar WP_Admin_Bar instance. - * - * @return void - * @since 0.0.1 - */ - public function remove_admin_bar_menu_item( $wp_admin_bar ) { - $wp_admin_bar->remove_node( 'new-sureforms_form' ); - } - /** * Show blank slate styles. * diff --git a/inc/rest-api.php b/inc/rest-api.php index 0d2227acd..3a5674df1 100644 --- a/inc/rest-api.php +++ b/inc/rest-api.php @@ -1413,6 +1413,45 @@ private function get_endpoints() { 'callback' => [ Field_Mapping::get_instance(), 'generate_gutenberg_fields_from_questions' ], 'permission_callback' => [ Helper::class, 'get_items_permissions_check' ], ], + // Record a "Finish setting up" card CTA click for a form (#3031). + // Per-form capability is re-checked in the handler. + 'dismiss-form-setup-card' => [ + 'methods' => 'POST', + /** + * Resolve Admin at dispatch rather than while the route table is + * built. get_endpoints() runs on rest_api_init for *every* REST + * request, and plugin-loader.php only constructs Admin under + * is_admin() — which REST dispatch is not. Naming the instance + * here would therefore run Admin's constructor (40 admin hook + * registrations, an option read, the notices library, and the + * wpforms_current_user_can filter) on the front-end + * submit-form path too. + * + * @param \WP_REST_Request> $request Request. + * @return \WP_REST_Response|\WP_Error + */ + 'callback' => static function ( $request ) { + // @phpstan-ignore-next-line -- PHPStan resolves SRFM\Admin\Admin via tests/php/stubs/srfm-stubs.php (admin/ is outside its `paths`) and that generated stub predates this method. Real location: admin/admin.php:470. + return \SRFM\Admin\Admin::get_instance()->dismiss_form_setup_card( $request ); + }, + 'permission_callback' => [ Helper::class, 'get_items_permissions_check' ], + 'args' => [ + 'form_id' => [ + 'required' => true, + 'sanitize_callback' => 'absint', + ], + 'action' => [ + 'required' => true, + 'type' => 'string', + 'enum' => [ 'edit_form', 'edit_thankyou', 'set_up_email', 'view_form' ], + // Core only enforces `enum` via the default arg sanitizer, which + // is skipped once a sanitize_callback is set — so pair it with an + // explicit validate_callback, matching this file's other routes. + 'validate_callback' => 'rest_validate_request_arg', + 'sanitize_callback' => 'sanitize_text_field', + ], + ], + ], // This route is used to initiate auth process when user tries to authenticate on billing portal. 'initiate-auth' => [ 'methods' => 'GET', diff --git a/languages/sureforms-de_DE.mo b/languages/sureforms-de_DE.mo index 0bc827de4..0bad4a95a 100644 Binary files a/languages/sureforms-de_DE.mo and b/languages/sureforms-de_DE.mo differ diff --git a/languages/sureforms-de_DE.po b/languages/sureforms-de_DE.po index e215ff91a..9a699f9e8 100644 --- a/languages/sureforms-de_DE.po +++ b/languages/sureforms-de_DE.po @@ -14,9 +14,9 @@ msgstr "" #. Plugin Name of the plugin #. Author of the plugin #: sureforms.php -#: admin/admin.php:406 -#: admin/admin.php:407 -#: admin/admin.php:1970 +#: admin/admin.php:1052 +#: admin/admin.php:1053 +#: admin/admin.php:2623 #: inc/abilities/abilities-registrar.php:139 #: inc/gutenberg-hooks.php:109 #: inc/page-builders/bricks/elements/form-widget.php:67 @@ -43,8 +43,8 @@ msgstr "Eine einfache, aber leistungsstarke Möglichkeit, moderne Formulare für msgid "https://sureforms.com/" msgstr "https://sureforms.com/" -#: admin/admin.php:419 -#: admin/admin.php:420 +#: admin/admin.php:1065 +#: admin/admin.php:1066 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -59,9 +59,9 @@ msgstr "https://sureforms.com/" msgid "Dashboard" msgstr "Armaturenbrett" -#: admin/admin.php:437 -#: admin/admin.php:438 -#: admin/admin.php:870 +#: admin/admin.php:1083 +#: admin/admin.php:1084 +#: admin/admin.php:1516 #: inc/compatibility/multilingual/string-collector.php:236 #: inc/compatibility/multilingual/string-collector.php:245 #: inc/compatibility/multilingual/string-collector.php:313 @@ -79,15 +79,15 @@ msgstr "Armaturenbrett" msgid "Settings" msgstr "Einstellungen" -#: admin/admin.php:706 -#: admin/admin.php:707 -#: inc/post-types.php:231 +#: admin/admin.php:1352 +#: admin/admin.php:1353 +#: inc/post-types.php:270 msgid "New Form" msgstr "Neues Formular" -#: admin/admin.php:715 -#: admin/admin.php:716 -#: admin/admin.php:2179 +#: admin/admin.php:1361 +#: admin/admin.php:1362 +#: admin/admin.php:2832 #: inc/generate-form-markup.php:203 #: inc/generate-form-markup.php:216 #: inc/global-settings/email-summary.php:225 @@ -105,7 +105,7 @@ msgid "Entries" msgstr "Einträge" #. Translators: Post Title. -#: admin/admin.php:958 +#: admin/admin.php:1604 #, php-format msgid "Edit %1$s" msgstr "%1$s bearbeiten" @@ -126,18 +126,18 @@ msgid "Nonce verification failed." msgstr "Überprüfung des Nonce ist fehlgeschlagen." #. translators: %1$s: Opening anchor tag with URL, %2$s: Closing anchor tag, %3$s: SureForms Pro Plugin Name. -#: admin/admin.php:1596 +#: admin/admin.php:2242 #, php-format msgid "Please %1$sactivate%2$s your copy of %3$s to get new features, access support, receive update notifications, and more." msgstr "Bitte %1$saktivieren%2$s Sie Ihre Kopie von %3$s, um neue Funktionen zu erhalten, Support zu nutzen, Update-Benachrichtigungen zu erhalten und mehr." #. translators: %1$s: SureForms version, %2$s: SureForms Pro Plugin Name, %3$s: SureForms Pro Version, %4$s: Anchor tag open, %5$s: Closing anchor tag. -#: admin/admin.php:1614 +#: admin/admin.php:2260 #, php-format msgid "SureForms %1$s requires minimum %2$s %3$s to work properly. Please update to the latest version from %4$shere%5$s." msgstr "SureForms %1$s erfordert mindestens %2$s %3$s, um ordnungsgemäß zu funktionieren. Bitte aktualisieren Sie auf die neueste Version von %4$shier%5$s." -#: admin/admin.php:2178 +#: admin/admin.php:2831 #: inc/global-settings/email-summary.php:224 #: assets/build/entries.js:172 #: assets/build/payments.js:172 @@ -207,7 +207,7 @@ msgstr "Müll" msgid "Published" msgstr "Veröffentlicht" -#: admin/admin.php:2170 +#: admin/admin.php:2823 msgid "View" msgstr "Ansehen" @@ -299,11 +299,11 @@ msgstr "Kein Plugin angegeben" msgid "Plugin Successfully Activated" msgstr "Plugin erfolgreich aktiviert" -#: admin/admin.php:1030 +#: admin/admin.php:1676 msgid "Activating..." msgstr "Aktivieren..." -#: admin/admin.php:1031 +#: admin/admin.php:1677 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/formEditor.js:172 @@ -318,17 +318,17 @@ msgstr "Aktivieren..." msgid "Activated" msgstr "Aktiviert" -#: admin/admin.php:1032 +#: admin/admin.php:1678 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "Activate" msgstr "Aktivieren" -#: admin/admin.php:1033 +#: admin/admin.php:1679 msgid "Installing..." msgstr "Installation läuft..." -#: admin/admin.php:1034 +#: admin/admin.php:1680 msgid "Installed" msgstr "Installiert" @@ -336,11 +336,11 @@ msgstr "Installiert" msgid "You do not have permission to access this page." msgstr "Sie haben keine Berechtigung, auf diese Seite zuzugreifen." -#: admin/admin.php:1762 -#: admin/admin.php:1861 -#: admin/admin.php:1899 -#: admin/admin.php:1920 -#: admin/admin.php:2133 +#: admin/admin.php:2408 +#: admin/admin.php:2514 +#: admin/admin.php:2552 +#: admin/admin.php:2573 +#: admin/admin.php:2786 #: inc/admin-ajax.php:162 #: inc/payments/admin/admin-handler.php:638 #: inc/payments/stripe/admin-stripe-handler.php:80 @@ -540,7 +540,7 @@ msgid "Dropdown" msgstr "Dropdown-Menü" #: inc/fields/dropdown-markup.php:112 -#: inc/gutenberg-hooks.php:223 +#: inc/gutenberg-hooks.php:234 msgid "Select an option" msgstr "Wählen Sie eine Option" @@ -560,7 +560,7 @@ msgstr "Bestätigen" msgid "Confirm %s" msgstr "Bestätigen %s" -#: inc/gutenberg-hooks.php:222 +#: inc/gutenberg-hooks.php:233 msgid "I consent to have this website store my submitted information so they can respond to my inquiry." msgstr "Ich stimme zu, dass diese Website meine übermittelten Informationen speichert, damit sie auf meine Anfrage antworten können." @@ -617,7 +617,7 @@ msgstr "Formulardaten wurden nicht gefunden." msgid "Sorry, you are not allowed to view the form." msgstr "Entschuldigung, Sie dürfen das Formular nicht ansehen." -#: inc/generate-form-markup.php:1102 +#: inc/generate-form-markup.php:1114 msgid "There was an error trying to submit your form. Please try again." msgstr "Beim Absenden Ihres Formulars ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut." @@ -625,7 +625,7 @@ msgstr "Beim Absenden Ihres Formulars ist ein Fehler aufgetreten. Bitte versuche msgid "Test Email Sent Successfully." msgstr "Test-E-Mail erfolgreich gesendet." -#: inc/post-types.php:238 +#: inc/post-types.php:277 msgid "No forms found." msgstr "Keine Formulare gefunden." @@ -709,9 +709,10 @@ msgstr "Zeigen" msgid "Hide" msgstr "Verbergen" +#: inc/generate-form-markup.php:1444 #: inc/page-builders/elementor/form-widget.php:332 #: inc/post-types.php:95 -#: inc/post-types.php:232 +#: inc/post-types.php:271 #: assets/build/blocks.js:172 msgid "Edit Form" msgstr "Formular bearbeiten" @@ -722,7 +723,7 @@ msgstr "Formular bearbeiten" msgid "Edit" msgstr "Bearbeiten" -#: admin/admin.php:2021 +#: admin/admin.php:2674 #: inc/page-builders/elementor/form-widget.php:346 #: assets/build/dashboard.js:2 msgid "Create New Form" @@ -736,32 +737,32 @@ msgstr "Erstellen" msgid "Import Form" msgstr "Importformular" -#: inc/post-types.php:230 +#: inc/post-types.php:269 #: assets/build/forms.js:172 msgid "Add New Form" msgstr "Neues Formular hinzufügen" -#: inc/post-types.php:208 +#: inc/post-types.php:247 msgid "No records found" msgstr "Keine Einträge gefunden" -#: inc/post-types.php:209 +#: inc/post-types.php:248 msgid "This is where your form entries will appear" msgstr "Hier werden Ihre Formulareinträge angezeigt" -#: inc/post-types.php:233 +#: inc/post-types.php:272 #: assets/build/forms.js:172 #: assets/build/payments.js:172 msgid "View Form" msgstr "Formular anzeigen" -#: inc/post-types.php:234 +#: inc/post-types.php:273 msgid "View Forms" msgstr "Formulare anzeigen" -#: admin/admin.php:697 -#: admin/admin.php:698 -#: inc/post-types.php:235 +#: admin/admin.php:1343 +#: admin/admin.php:1344 +#: inc/post-types.php:274 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -775,30 +776,30 @@ msgstr "Formulare anzeigen" msgid "Forms" msgstr "Formulare" -#: inc/post-types.php:236 +#: inc/post-types.php:275 msgid "Search Forms" msgstr "Suchformulare" -#: inc/post-types.php:237 +#: inc/post-types.php:276 msgid "Parent Forms:" msgstr "Elternformulare:" -#: inc/post-types.php:239 +#: inc/post-types.php:278 msgid "No forms found in Trash." msgstr "Keine Formulare im Papierkorb gefunden." -#: inc/post-types.php:240 +#: inc/post-types.php:279 msgid "Form published." msgstr "Formular veröffentlicht." -#: inc/post-types.php:241 +#: inc/post-types.php:280 msgid "Form updated." msgstr "Formular aktualisiert." #: inc/global-settings/global-settings-defaults.php:166 #: inc/migrator/importers/cf7-importer.php:168 #: inc/migrator/importers/ninja-importer.php:1152 -#: inc/post-types.php:1004 +#: inc/post-types.php:1031 msgid "Admin Notification Email" msgstr "Admin-Benachrichtigungs-E-Mail" @@ -806,7 +807,7 @@ msgstr "Admin-Benachrichtigungs-E-Mail" #. translators: %s: {form_title} smart tag placeholder. #: inc/global-settings/global-settings-defaults.php:173 #: inc/global-settings/global-settings.php:588 -#: inc/post-types.php:1011 +#: inc/post-types.php:1038 #: assets/build/settings.js:172 #, php-format,js-format msgid "New Form Submission - %s" @@ -8331,7 +8332,7 @@ msgstr "Formular ändern" #: inc/blocks/sform/block.php:42 #: inc/page-builders/bricks/elements/form-widget.php:508 #: inc/page-builders/elementor/form-widget.php:827 -#: inc/post-types.php:1324 +#: inc/post-types.php:1351 #: assets/build/blocks.js:172 msgid "This form has been deleted or is unavailable." msgstr "Dieses Formular wurde gelöscht oder ist nicht verfügbar." @@ -8882,9 +8883,9 @@ msgstr "Blöcke zur Schnellzugriffsleiste hinzufügen" msgid "Re-arrange block inside Quick Action Bar" msgstr "Block im Schnellaktionsbereich neu anordnen" -#: admin/admin.php:490 -#: admin/admin.php:491 -#: admin/admin.php:2403 +#: admin/admin.php:1136 +#: admin/admin.php:1137 +#: admin/admin.php:3248 #: assets/build/blocks.js:172 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 @@ -9256,7 +9257,7 @@ msgstr "Zentrum" msgid "Right" msgstr "Richtig" -#: inc/form-submit.php:1215 +#: inc/form-submit.php:1216 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "Google reCAPTCHA" @@ -9266,7 +9267,7 @@ msgstr "Google reCAPTCHA" msgid "CloudFlare Turnstile" msgstr "CloudFlare Turnstile" -#: inc/form-submit.php:1219 +#: inc/form-submit.php:1220 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "hCaptcha" @@ -9327,7 +9328,7 @@ msgstr "Zurück" #: inc/global-settings/global-settings.php:530 #: inc/migrator/base-migrator.php:548 -#: inc/post-types.php:1087 +#: inc/post-types.php:1114 #: assets/build/formEditor.js:172 msgid "Thank you" msgstr "Danke" @@ -9548,7 +9549,7 @@ msgstr "Standortschlüssel" msgid "Secret Key" msgstr "Geheimer Schlüssel" -#: inc/form-submit.php:1223 +#: inc/form-submit.php:1224 #: assets/build/settings.js:172 msgid "Cloudflare Turnstile" msgstr "Cloudflare-Drehkreuz" @@ -10506,7 +10507,7 @@ msgstr "Fügen Sie Ihrer Website atemberaubende anpassbare Symbole hinzu." msgid "icon" msgstr "Symbol" -#: admin/admin.php:1660 +#: admin/admin.php:2306 msgid "Rate SureForms" msgstr "Bewerten Sie SureForms" @@ -10616,7 +10617,7 @@ msgstr "Konversationelle Formulare freischalten" msgid "With the SureForms Pro Plan, you can transform your forms into engaging conversational layouts for a seamless user experience." msgstr "Mit dem SureForms Pro Plan können Sie Ihre Formulare in ansprechende, dialogorientierte Layouts verwandeln, um ein nahtloses Benutzererlebnis zu schaffen." -#: admin/admin.php:329 +#: admin/admin.php:975 msgid "Get SureForms Pro" msgstr "Holen Sie sich SureForms Pro" @@ -10828,24 +10829,24 @@ msgstr "Gradient auswählen" msgid "reCAPTCHA" msgstr "reCAPTCHA" -#: inc/form-submit.php:1159 +#: inc/form-submit.php:1160 msgid "Captcha validation failed. No error code provided." msgstr "Captcha-Überprüfung fehlgeschlagen. Kein Fehlercode angegeben." -#: inc/form-submit.php:1160 +#: inc/form-submit.php:1161 msgid "Captcha validation failed." msgstr "Captcha-Überprüfung fehlgeschlagen." -#: inc/form-submit.php:1227 +#: inc/form-submit.php:1228 msgid "Unknown Captcha" msgstr "Unbekanntes Captcha" -#: inc/form-submit.php:1228 +#: inc/form-submit.php:1229 msgid "Invalid captcha type." msgstr "Ungültiger Captcha-Typ." #. translators: %s is the captcha title. -#: inc/form-submit.php:1241 +#: inc/form-submit.php:1242 #, php-format msgid "%s verification failed. Please contact your site administrator." msgstr "%s-Verifizierung fehlgeschlagen. Bitte wenden Sie sich an Ihren Website-Administrator." @@ -11242,8 +11243,8 @@ msgstr "Beschreiben Sie das Formular, das Sie erstellen möchten" msgid "We are building your form…" msgstr "Wir erstellen Ihr Formular…" -#: admin/admin.php:605 -#: admin/admin.php:606 +#: admin/admin.php:1251 +#: admin/admin.php:1252 msgid "SMTP" msgstr "SMTP" @@ -11375,29 +11376,29 @@ msgstr "Admin-Benachrichtigung aktivieren" msgid "Admin notifications keep you informed about new form entries since your last visit." msgstr "Admin-Benachrichtigungen halten Sie über neue Formulareinträge seit Ihrem letzten Besuch auf dem Laufenden." -#: admin/admin.php:1766 -#: admin/admin.php:1857 -#: admin/admin.php:1895 -#: admin/admin.php:1916 -#: admin/admin.php:2137 +#: admin/admin.php:2412 +#: admin/admin.php:2510 +#: admin/admin.php:2548 +#: admin/admin.php:2569 +#: admin/admin.php:2790 msgid "Unauthorized user." msgstr "Unbefugter Benutzer." #. translators: 1: opening span, 2: opening strong (inline), 3: closing strong, 4: closing span, 5: opening strong (block), 6: closing strong -#: admin/admin.php:1866 +#: admin/admin.php:2519 #, php-format msgid "%1$sGet started by %2$sbuilding your first form%3$s.%4$s%5$sExperience the power of our intuitive AI Form Builder%6$s" msgstr "%1$sBeginnen Sie damit, %2$sIhr erstes Formular zu erstellen%3$s.%4$s%5$sErleben Sie die Leistungsfähigkeit unseres intuitiven KI-Formularerstellers%6$s" -#: admin/admin.php:1877 +#: admin/admin.php:2530 msgid "SureForms is waiting for you!" msgstr "SureForms wartet auf Sie!" -#: admin/admin.php:1879 +#: admin/admin.php:2532 msgid "Build My First Form" msgstr "Erstelle mein erstes Formular" -#: admin/admin.php:1880 +#: admin/admin.php:2533 msgid "Dismiss" msgstr "Verwerfen" @@ -11417,51 +11418,51 @@ msgstr "Anmelden" msgid "Register" msgstr "Registrieren" -#: admin/admin.php:2166 +#: admin/admin.php:2819 msgid "Recent Entries" msgstr "Neueste Einträge" -#: admin/admin.php:2167 +#: admin/admin.php:2820 msgid "( Last 7 days )" msgstr "( Letzte 7 Tage )" -#: admin/admin.php:2344 +#: admin/admin.php:3189 msgid "Use Conditional Logic to show only what matters" msgstr "Verwenden Sie bedingte Logik, um nur das Wichtige anzuzeigen" -#: admin/admin.php:2345 +#: admin/admin.php:3190 msgid "Split your form into steps to keep it easy" msgstr "Teilen Sie Ihr Formular in Schritte auf, um es einfach zu halten." -#: admin/admin.php:2346 +#: admin/admin.php:3191 msgid "Let people upload files directly to your form" msgstr "Lassen Sie Personen Dateien direkt in Ihr Formular hochladen" -#: admin/admin.php:2347 +#: admin/admin.php:3192 msgid "Turn responses into downloadable PDFs automatically" msgstr "Antworten automatisch in herunterladbare PDFs umwandeln" -#: admin/admin.php:2348 +#: admin/admin.php:3193 msgid "Let users sign with a simple signature field" msgstr "Lassen Sie Benutzer mit einem einfachen Unterschriftsfeld unterschreiben" -#: admin/admin.php:2349 +#: admin/admin.php:3194 msgid "Connect your form to other tools using webhooks" msgstr "Verbinden Sie Ihr Formular mit anderen Tools über Webhooks" -#: admin/admin.php:2350 +#: admin/admin.php:3195 msgid "Use Conversational Forms for a chat-like experience" msgstr "Verwenden Sie Konversationsformulare für ein chatähnliches Erlebnis" -#: admin/admin.php:2351 +#: admin/admin.php:3196 msgid "Let users register or log in through your form" msgstr "Lassen Sie Benutzer sich über Ihr Formular registrieren oder anmelden" -#: admin/admin.php:2352 +#: admin/admin.php:3197 msgid "Build forms that create WordPress user accounts" msgstr "Erstellen Sie Formulare, die WordPress-Benutzerkonten erstellen" -#: admin/admin.php:2353 +#: admin/admin.php:3198 msgid "Add calculations to auto-total scores or prices" msgstr "Berechnungen hinzufügen, um die Punktzahlen oder Preise automatisch zu summieren" @@ -11883,7 +11884,7 @@ msgstr "Erkunde SureDash" msgid "Something went wrong. We have logged the error for further investigation" msgstr "Etwas ist schiefgelaufen. Wir haben den Fehler zur weiteren Untersuchung protokolliert." -#: inc/field-validation.php:410 +#: inc/field-validation.php:413 msgid "Field is not valid." msgstr "Feld ist nicht gültig." @@ -11951,8 +11952,8 @@ msgstr "SureForms Video-Miniaturansicht" msgid "Expected format for emails - email@sureforms.com or John Doe " msgstr "Erwartetes Format für E-Mails - email@sureforms.com oder John Doe " -#: admin/admin.php:725 -#: admin/admin.php:726 +#: admin/admin.php:1371 +#: admin/admin.php:1372 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -12330,7 +12331,7 @@ msgstr "Unbekannt" #: inc/payments/admin/admin-handler.php:1505 #: inc/payments/admin/admin-handler.php:1509 #: inc/payments/front-end.php:872 -#: inc/payments/front-end.php:1316 +#: inc/payments/front-end.php:1317 msgid "Guest User" msgstr "Gastbenutzer" @@ -12356,7 +12357,7 @@ msgstr "Stripe ist nicht verbunden." #: inc/payments/front-end.php:122 #: inc/payments/front-end.php:348 #: inc/payments/front-end.php:641 -#: inc/payments/front-end.php:1195 +#: inc/payments/front-end.php:1196 msgid "Stripe secret key not found." msgstr "Stripe-Geheimschlüssel nicht gefunden." @@ -12465,7 +12466,7 @@ msgstr "Abonnement für die Zahlung nicht gefunden." #. translators: %d: User ID #: inc/payments/front-end.php:870 -#: inc/payments/front-end.php:1316 +#: inc/payments/front-end.php:1317 #, php-format msgid "User ID: %d" msgstr "Benutzer-ID: %d" @@ -12499,7 +12500,7 @@ msgstr "Abonnement-ID: %s" #. translators: %s: payment gateway #. translators: %s: Payment gateway name (e.g., Stripe). #: inc/payments/front-end.php:891 -#: inc/payments/front-end.php:1327 +#: inc/payments/front-end.php:1328 #: inc/payments/stripe/admin-stripe-handler.php:190 #: inc/payments/stripe/admin-stripe-handler.php:492 #: inc/payments/stripe/admin-stripe-handler.php:667 @@ -12544,7 +12545,7 @@ msgstr "Kunden-ID: %s" #. translators: 1: Amount, 2: Currency #. translators: %1$s: amount, %2$s: currency. #: inc/payments/front-end.php:901 -#: inc/payments/front-end.php:1329 +#: inc/payments/front-end.php:1330 #: inc/payments/stripe/stripe-webhook.php:1089 #: inc/payments/stripe/stripe-webhook.php:1166 #, php-format @@ -12554,7 +12555,7 @@ msgstr "Betrag: %1$s %2$s" #. translators: %s: Payment mode (e.g. Live or Test) #. translators: %s: payment mode #: inc/payments/front-end.php:904 -#: inc/payments/front-end.php:1334 +#: inc/payments/front-end.php:1335 #, php-format msgid "Mode: %s" msgstr "Modus: %s" @@ -12563,24 +12564,24 @@ msgstr "Modus: %s" msgid "Failed to verify subscription." msgstr "Überprüfung des Abonnements fehlgeschlagen." -#: inc/payments/front-end.php:1228 -#: inc/payments/front-end.php:1246 -#: inc/payments/front-end.php:1254 -#: inc/payments/front-end.php:1261 +#: inc/payments/front-end.php:1229 +#: inc/payments/front-end.php:1247 +#: inc/payments/front-end.php:1255 +#: inc/payments/front-end.php:1262 msgid "Failed to retrieve payment intent." msgstr "Fehler beim Abrufen des Zahlungsziels." -#: inc/payments/front-end.php:1269 +#: inc/payments/front-end.php:1270 msgid "Payment was not confirmed successfully." msgstr "Die Zahlung wurde nicht erfolgreich bestätigt." -#: inc/payments/front-end.php:1321 +#: inc/payments/front-end.php:1322 msgid "Payment Verification" msgstr "Zahlungsüberprüfung" #. translators: %s: Stripe transaction ID #. translators: %s: Charge ID -#: inc/payments/front-end.php:1325 +#: inc/payments/front-end.php:1326 #: inc/payments/stripe/stripe-webhook.php:1162 #, php-format msgid "Transaction ID: %s" @@ -12588,18 +12589,18 @@ msgstr "Transaktions-ID: %s" #. translators: %s: payment status #. translators: %s: Status -#: inc/payments/front-end.php:1331 +#: inc/payments/front-end.php:1332 #: inc/payments/stripe/stripe-webhook.php:576 #: inc/payments/stripe/stripe-webhook.php:1168 #, php-format msgid "Status: %s" msgstr "Status: %s" -#: inc/payments/front-end.php:1437 +#: inc/payments/front-end.php:1438 msgid "Failed to create Stripe customer." msgstr "Erstellung des Stripe-Kunden fehlgeschlagen." -#: inc/payments/front-end.php:1501 +#: inc/payments/front-end.php:1502 msgid "Failed to create Stripe guest customer." msgstr "Erstellung des Stripe-Gastkunden fehlgeschlagen." @@ -13466,7 +13467,7 @@ msgstr "Bearbeiten Sie dieses Formular" #: inc/global-settings/global-settings.php:531 #: inc/migrator/base-migrator.php:549 -#: inc/post-types.php:1087 +#: inc/post-types.php:1114 msgid "Your form has been submitted successfully. We'll review your details and get back to you soon." msgstr "Ihr Formular wurde erfolgreich eingereicht. Wir werden Ihre Angaben prüfen und uns bald bei Ihnen melden." @@ -15163,7 +15164,7 @@ msgstr "Der Wert des variablen Betragsfeldes ist erforderlich." msgid "Payment amount below minimum. Minimum: %1$s, received %2$s." msgstr "Zahlungsbetrag unter dem Minimum. Minimum: %1$s, erhalten %2$s." -#: inc/rest-api.php:1853 +#: inc/rest-api.php:1876 msgid " (Copy)" msgstr "(Kopie)" @@ -15362,12 +15363,12 @@ msgid "Stripe Settings" msgstr "Stripe-Einstellungen" #. translators: %1$s: SureForms version, %2$s: SureForms Pro Plugin Name, %3$s: SureForms Pro Version. -#: admin/admin.php:1531 +#: admin/admin.php:2177 #, php-format msgid "SureForms %1$s requires minimum %2$s %3$s to work properly. Please update to the latest version." msgstr "SureForms %1$s erfordert mindestens %2$s %3$s, um ordnungsgemäß zu funktionieren. Bitte aktualisieren Sie auf die neueste Version." -#: admin/admin.php:1544 +#: admin/admin.php:2190 msgid "Update Now" msgstr "Jetzt aktualisieren" @@ -15415,8 +15416,8 @@ msgstr "Position des Währungszeichens" msgid "Select the position of the currency symbol relative to the amount." msgstr "Wählen Sie die Position des Währungssymbols relativ zum Betrag aus." -#: admin/admin.php:668 -#: admin/admin.php:669 +#: admin/admin.php:1314 +#: admin/admin.php:1315 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -15430,40 +15431,40 @@ msgstr "Wählen Sie die Position des Währungssymbols relativ zum Betrag aus." msgid "Learn" msgstr "Lernen" -#: admin/admin.php:1657 +#: admin/admin.php:2303 msgid "Amazing! SureForms is powering your forms and submissions - let's keep growing together!" msgstr "Erstaunlich! SureForms treibt Ihre Formulare und Einsendungen an - lassen Sie uns gemeinsam weiter wachsen!" -#: admin/admin.php:1658 +#: admin/admin.php:2304 msgid "If SureForms has been helpful, would you mind taking a moment to leave a 5-star review on WordPress.org?" msgstr "Wenn SureForms hilfreich war, würden Sie sich einen Moment Zeit nehmen, um eine 5-Sterne-Bewertung auf WordPress.org zu hinterlassen?" -#: admin/admin.php:1661 -#: admin/admin.php:1705 +#: admin/admin.php:2307 +#: admin/admin.php:2351 msgid "Maybe later" msgstr "Vielleicht später" -#: admin/admin.php:1662 +#: admin/admin.php:2308 msgid "I already did" msgstr "Ich habe es bereits getan" -#: admin/admin.php:1701 +#: admin/admin.php:2347 msgid "SureForms is ready to power your forms — explore what's possible!" msgstr "SureForms ist bereit, Ihre Formulare zu unterstützen — entdecken Sie, was möglich ist!" -#: admin/admin.php:1702 +#: admin/admin.php:2348 msgid "Manage your forms, track submissions, and discover features like AI Form Builder, payment integrations, and more from the SureForms dashboard." msgstr "Verwalten Sie Ihre Formulare, verfolgen Sie Einsendungen und entdecken Sie Funktionen wie den AI Form Builder, Zahlungsintegrationen und mehr im SureForms-Dashboard." -#: admin/admin.php:1704 +#: admin/admin.php:2350 msgid "Go to Dashboard" msgstr "Zum Dashboard gehen" -#: admin/admin.php:1706 +#: admin/admin.php:2352 msgid "I already know" msgstr "Ich weiß schon" -#: admin/admin.php:1786 +#: admin/admin.php:2439 msgid "Invalid parameters." msgstr "Ungültige Parameter." @@ -15841,8 +15842,8 @@ msgstr "Textfeld" #: inc/form-restriction.php:183 #: inc/form-restriction.php:184 -#: inc/post-types.php:1230 -#: inc/post-types.php:1270 +#: inc/post-types.php:1257 +#: inc/post-types.php:1297 msgid "This form is not yet available. Check back after the scheduled start time." msgstr "Dieses Formular ist noch nicht verfügbar. Schauen Sie nach der geplanten Startzeit wieder vorbei." @@ -16126,8 +16127,8 @@ msgstr "Webhook kann nicht gelöscht werden." msgid "Unable to connect to Stripe." msgstr "Verbindung zu Stripe nicht möglich." -#: inc/post-types.php:1231 -#: inc/post-types.php:1271 +#: inc/post-types.php:1258 +#: inc/post-types.php:1298 msgid "This form is closed. The submission period has ended." msgstr "Dieses Formular ist geschlossen. Die Einreichungsfrist ist abgelaufen." @@ -16797,19 +16798,19 @@ msgstr "Webhook-Geheimnis nicht konfiguriert." msgid "Invalid webhook signature." msgstr "Ungültige Webhook-Signatur." -#: admin/admin.php:507 -#: admin/admin.php:1101 +#: admin/admin.php:1153 +#: admin/admin.php:1747 #: assets/build/formEditor.js:172 msgid "Quizzes" msgstr "Quizze" -#: admin/admin.php:506 +#: admin/admin.php:1152 msgid "Quiz Entries" msgstr "Quiz-Einträge" -#: admin/admin.php:509 -#: admin/admin.php:542 -#: admin/admin.php:575 +#: admin/admin.php:1155 +#: admin/admin.php:1188 +#: admin/admin.php:1221 #: assets/build/settings.js:172 msgid "New" msgstr "Neu" @@ -17327,9 +17328,9 @@ msgstr "Perfekt für Bildung, Schulungen und unterhaltsame Quizfragen" msgid "Select this to create a quiz with scored questions and graded results." msgstr "Wählen Sie dies, um ein Quiz mit bewerteten Fragen und benoteten Ergebnissen zu erstellen." -#: admin/admin.php:539 -#: admin/admin.php:540 -#: admin/admin.php:1106 +#: admin/admin.php:1185 +#: admin/admin.php:1186 +#: admin/admin.php:1752 msgid "Survey Reports" msgstr "Umfrageberichte" @@ -17735,7 +17736,7 @@ msgid "Error creating SureForms Form." msgstr "Fehler beim Erstellen des SureForms-Formulars." #. translators: %s represents the minimum number of characters required -#: inc/field-validation.php:423 +#: inc/field-validation.php:426 #: inc/translatable.php:94 #, php-format msgid "Please enter at least %s characters." @@ -17893,9 +17894,9 @@ msgstr "Die KI-Antwort war leer. Bitte verfeinern Sie Ihre Eingabeaufforderung u msgid "Unable to build form fields from the AI response." msgstr "Formularfelder können nicht aus der KI-Antwort erstellt werden." -#: admin/admin.php:572 -#: admin/admin.php:573 -#: admin/admin.php:1111 +#: admin/admin.php:1218 +#: admin/admin.php:1219 +#: admin/admin.php:1757 msgid "Partial Entries" msgstr "Teilweise Einträge" @@ -18766,23 +18767,23 @@ msgstr "Der Zahlungsbetrag konnte für dieses Formular nicht verifiziert werden. msgid "Cancellation is not supported for this payment gateway." msgstr "Eine Stornierung wird für dieses Zahlungs-Gateway nicht unterstützt." -#: admin/admin.php:1988 +#: admin/admin.php:2641 msgid "SureForms AI Quick Draft" msgstr "SureForms AI Schnellentwurf" -#: admin/admin.php:2007 +#: admin/admin.php:2660 msgid "Describe the form and let SureForms AI generate it for you." msgstr "Beschreiben Sie das Formular und lassen Sie SureForms AI es für Sie erstellen." -#: admin/admin.php:2010 +#: admin/admin.php:2663 msgid "Describe your form" msgstr "Beschreiben Sie Ihr Formular" -#: admin/admin.php:2017 +#: admin/admin.php:2670 msgid "Example: Create a contact form with name, email, phone, and message fields." msgstr "Beispiel: Erstellen Sie ein Kontaktformular mit Feldern für Name, E-Mail, Telefon und Nachricht." -#: admin/admin.php:2058 +#: admin/admin.php:2711 msgid "Redirecting..." msgstr "Weiterleitung..." @@ -18795,14 +18796,14 @@ msgid "The prompt is too long. Please shorten it and try again." msgstr "Die Eingabe ist zu lang. Bitte kürzen Sie sie und versuchen Sie es erneut." #. translators: %s: maximum characters allowed before the @ symbol. -#: inc/field-validation.php:445 +#: inc/field-validation.php:448 #: inc/translatable.php:97 #, php-format msgid "The part before @ may not exceed %s characters." msgstr "Der Teil vor dem @ darf %s Zeichen nicht überschreiten." #. translators: %s: maximum characters allowed after the @ symbol. -#: inc/field-validation.php:451 +#: inc/field-validation.php:454 #: inc/translatable.php:100 #, php-format msgid "The part after @ may not exceed %s characters." @@ -18889,22 +18890,97 @@ msgstr "Entschuldigung, Sie dürfen dieses Formular nicht rendern." msgid "This form requires a payment. Please complete the payment and submit again." msgstr "Dieses Formular erfordert eine Zahlung. Bitte führen Sie die Zahlung durch und senden Sie es erneut." -#: inc/post-types.php:226 +#: admin/admin.php:474 +msgid "You are not allowed to update this prompt." +msgstr "Sie dürfen diesen Hinweis nicht aktualisieren." + +#: admin/admin.php:517 +msgid "Finish setting up your form" +msgstr "Richten Sie Ihr Formular ein" + +#: admin/admin.php:549 +msgid "Review or edit your form" +msgstr "Überprüfen oder bearbeiten Sie Ihr Formular" + +#: admin/admin.php:550 +#: admin/admin.php:3038 +msgid "Edit form" +msgstr "Formular bearbeiten" + +#: admin/admin.php:555 +msgid "Personalize the Thank You message" +msgstr "Personalisieren Sie die Dankesnachricht" + +#: admin/admin.php:556 +msgid "Edit message" +msgstr "Nachricht bearbeiten" + +#: admin/admin.php:561 +msgid "Choose who gets notified of new replies" +msgstr "Wählen Sie aus, wer über neue Antworten benachrichtigt wird" + +#: admin/admin.php:562 +msgid "Set up email" +msgstr "E-Mail einrichten" + +#: admin/admin.php:570 +msgid "your form" +msgstr "Ihr Formular" + +#. translators: %s: form title. +#: admin/admin.php:573 +#, php-format +msgid "Finish setting up %s" +msgstr "Richten Sie %s ein" + +#. translators: %s: form title. +#: admin/admin.php:581 +#, php-format +msgid "View %s (opens in a new tab)" +msgstr "%s anzeigen (öffnet in einem neuen Tab)" + +#: admin/admin.php:586 +msgid "Customize your form to get it ready for real submissions:" +msgstr "Passen Sie Ihr Formular an, um es für echte Einreichungen vorzubereiten:" + +#: admin/admin.php:3021 +msgid "We’ve already created this form for you. Finish customising it so it’s ready to collect real submissions." +msgstr "Wir haben dieses Formular bereits für Sie erstellt. Passen Sie es an, damit es bereit ist, echte Einreichungen zu sammeln." + +#. translators: %s: form name. +#: admin/admin.php:3030 +#, php-format +msgid "Finish setting up “%s”" +msgstr "Richten Sie „%s“ ein" + +#: admin/admin.php:3039 +msgid "Edit the Thank You message" +msgstr "Bearbeiten Sie die Dankesnachricht" + +#: admin/admin.php:3040 +msgid "Set where replies go" +msgstr "Legen Sie fest, wohin die Antworten gehen" + +#: inc/generate-form-markup.php:1445 +msgid "(opens in a new tab)" +msgstr "(öffnet in einem neuen Tab)" + +#: inc/post-types.php:265 msgctxt "post type general name" msgid "Forms" msgstr "Formulare" -#: inc/post-types.php:227 +#: inc/post-types.php:266 msgctxt "post type singular name" msgid "Form" msgstr "Formular" -#: inc/post-types.php:228 +#: inc/post-types.php:267 msgctxt "admin menu" msgid "Forms" msgstr "Formulare" -#: inc/post-types.php:229 +#: inc/post-types.php:268 msgctxt "form" msgid "Add New" msgstr "Neu hinzufügen" diff --git a/languages/sureforms-es_ES.mo b/languages/sureforms-es_ES.mo index 0845ca2c9..1d586e695 100644 Binary files a/languages/sureforms-es_ES.mo and b/languages/sureforms-es_ES.mo differ diff --git a/languages/sureforms-es_ES.po b/languages/sureforms-es_ES.po index 99a8d9ffd..06254cf4b 100644 --- a/languages/sureforms-es_ES.po +++ b/languages/sureforms-es_ES.po @@ -14,9 +14,9 @@ msgstr "" #. Plugin Name of the plugin #. Author of the plugin #: sureforms.php -#: admin/admin.php:406 -#: admin/admin.php:407 -#: admin/admin.php:1970 +#: admin/admin.php:1052 +#: admin/admin.php:1053 +#: admin/admin.php:2623 #: inc/abilities/abilities-registrar.php:139 #: inc/gutenberg-hooks.php:109 #: inc/page-builders/bricks/elements/form-widget.php:67 @@ -43,8 +43,8 @@ msgstr "Una forma simple pero poderosa de crear formularios modernos para tu sit msgid "https://sureforms.com/" msgstr "https://sureforms.com/" -#: admin/admin.php:419 -#: admin/admin.php:420 +#: admin/admin.php:1065 +#: admin/admin.php:1066 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -59,9 +59,9 @@ msgstr "https://sureforms.com/" msgid "Dashboard" msgstr "Tablero" -#: admin/admin.php:437 -#: admin/admin.php:438 -#: admin/admin.php:870 +#: admin/admin.php:1083 +#: admin/admin.php:1084 +#: admin/admin.php:1516 #: inc/compatibility/multilingual/string-collector.php:236 #: inc/compatibility/multilingual/string-collector.php:245 #: inc/compatibility/multilingual/string-collector.php:313 @@ -79,15 +79,15 @@ msgstr "Tablero" msgid "Settings" msgstr "Configuraciones" -#: admin/admin.php:706 -#: admin/admin.php:707 -#: inc/post-types.php:231 +#: admin/admin.php:1352 +#: admin/admin.php:1353 +#: inc/post-types.php:270 msgid "New Form" msgstr "Nuevo formulario" -#: admin/admin.php:715 -#: admin/admin.php:716 -#: admin/admin.php:2179 +#: admin/admin.php:1361 +#: admin/admin.php:1362 +#: admin/admin.php:2832 #: inc/generate-form-markup.php:203 #: inc/generate-form-markup.php:216 #: inc/global-settings/email-summary.php:225 @@ -105,7 +105,7 @@ msgid "Entries" msgstr "Entradas" #. Translators: Post Title. -#: admin/admin.php:958 +#: admin/admin.php:1604 #, php-format msgid "Edit %1$s" msgstr "Editar %1$s" @@ -126,18 +126,18 @@ msgid "Nonce verification failed." msgstr "La verificación del nonce falló." #. translators: %1$s: Opening anchor tag with URL, %2$s: Closing anchor tag, %3$s: SureForms Pro Plugin Name. -#: admin/admin.php:1596 +#: admin/admin.php:2242 #, php-format msgid "Please %1$sactivate%2$s your copy of %3$s to get new features, access support, receive update notifications, and more." msgstr "Por favor, %1$sactiva%2$s tu copia de %3$s para obtener nuevas funciones, acceder al soporte, recibir notificaciones de actualizaciones y más." #. translators: %1$s: SureForms version, %2$s: SureForms Pro Plugin Name, %3$s: SureForms Pro Version, %4$s: Anchor tag open, %5$s: Closing anchor tag. -#: admin/admin.php:1614 +#: admin/admin.php:2260 #, php-format msgid "SureForms %1$s requires minimum %2$s %3$s to work properly. Please update to the latest version from %4$shere%5$s." msgstr "SureForms %1$s requiere un mínimo de %2$s %3$s para funcionar correctamente. Por favor, actualice a la última versión desde %4$saquí%5$s." -#: admin/admin.php:2178 +#: admin/admin.php:2831 #: inc/global-settings/email-summary.php:224 #: assets/build/entries.js:172 #: assets/build/payments.js:172 @@ -207,7 +207,7 @@ msgstr "Basura" msgid "Published" msgstr "Publicado" -#: admin/admin.php:2170 +#: admin/admin.php:2823 msgid "View" msgstr "Ver" @@ -299,11 +299,11 @@ msgstr "No se especificó ningún complemento" msgid "Plugin Successfully Activated" msgstr "Plugin activado con éxito" -#: admin/admin.php:1030 +#: admin/admin.php:1676 msgid "Activating..." msgstr "Activando..." -#: admin/admin.php:1031 +#: admin/admin.php:1677 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/formEditor.js:172 @@ -318,17 +318,17 @@ msgstr "Activando..." msgid "Activated" msgstr "Activado" -#: admin/admin.php:1032 +#: admin/admin.php:1678 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "Activate" msgstr "Activar" -#: admin/admin.php:1033 +#: admin/admin.php:1679 msgid "Installing..." msgstr "Instalando..." -#: admin/admin.php:1034 +#: admin/admin.php:1680 msgid "Installed" msgstr "Instalado" @@ -336,11 +336,11 @@ msgstr "Instalado" msgid "You do not have permission to access this page." msgstr "No tienes permiso para acceder a esta página." -#: admin/admin.php:1762 -#: admin/admin.php:1861 -#: admin/admin.php:1899 -#: admin/admin.php:1920 -#: admin/admin.php:2133 +#: admin/admin.php:2408 +#: admin/admin.php:2514 +#: admin/admin.php:2552 +#: admin/admin.php:2573 +#: admin/admin.php:2786 #: inc/admin-ajax.php:162 #: inc/payments/admin/admin-handler.php:638 #: inc/payments/stripe/admin-stripe-handler.php:80 @@ -540,7 +540,7 @@ msgid "Dropdown" msgstr "Desplegable" #: inc/fields/dropdown-markup.php:112 -#: inc/gutenberg-hooks.php:223 +#: inc/gutenberg-hooks.php:234 msgid "Select an option" msgstr "Selecciona una opción" @@ -560,7 +560,7 @@ msgstr "Confirmar" msgid "Confirm %s" msgstr "Confirmar %s" -#: inc/gutenberg-hooks.php:222 +#: inc/gutenberg-hooks.php:233 msgid "I consent to have this website store my submitted information so they can respond to my inquiry." msgstr "Doy mi consentimiento para que este sitio web almacene la información que he enviado para que puedan responder a mi consulta." @@ -617,7 +617,7 @@ msgstr "Los datos del formulario no se encuentran." msgid "Sorry, you are not allowed to view the form." msgstr "Lo siento, no tienes permiso para ver el formulario." -#: inc/generate-form-markup.php:1102 +#: inc/generate-form-markup.php:1114 msgid "There was an error trying to submit your form. Please try again." msgstr "Hubo un error al intentar enviar su formulario. Por favor, inténtelo de nuevo." @@ -625,7 +625,7 @@ msgstr "Hubo un error al intentar enviar su formulario. Por favor, inténtelo de msgid "Test Email Sent Successfully." msgstr "Correo de prueba enviado con éxito." -#: inc/post-types.php:238 +#: inc/post-types.php:277 msgid "No forms found." msgstr "No se encontraron formularios." @@ -709,9 +709,10 @@ msgstr "Mostrar" msgid "Hide" msgstr "Ocultar" +#: inc/generate-form-markup.php:1444 #: inc/page-builders/elementor/form-widget.php:332 #: inc/post-types.php:95 -#: inc/post-types.php:232 +#: inc/post-types.php:271 #: assets/build/blocks.js:172 msgid "Edit Form" msgstr "Editar formulario" @@ -722,7 +723,7 @@ msgstr "Editar formulario" msgid "Edit" msgstr "Editar" -#: admin/admin.php:2021 +#: admin/admin.php:2674 #: inc/page-builders/elementor/form-widget.php:346 #: assets/build/dashboard.js:2 msgid "Create New Form" @@ -736,32 +737,32 @@ msgstr "Crear" msgid "Import Form" msgstr "Formulario de Importación" -#: inc/post-types.php:230 +#: inc/post-types.php:269 #: assets/build/forms.js:172 msgid "Add New Form" msgstr "Agregar nuevo formulario" -#: inc/post-types.php:208 +#: inc/post-types.php:247 msgid "No records found" msgstr "No se encontraron registros" -#: inc/post-types.php:209 +#: inc/post-types.php:248 msgid "This is where your form entries will appear" msgstr "Aquí es donde aparecerán las entradas de su formulario" -#: inc/post-types.php:233 +#: inc/post-types.php:272 #: assets/build/forms.js:172 #: assets/build/payments.js:172 msgid "View Form" msgstr "Ver formulario" -#: inc/post-types.php:234 +#: inc/post-types.php:273 msgid "View Forms" msgstr "Ver formularios" -#: admin/admin.php:697 -#: admin/admin.php:698 -#: inc/post-types.php:235 +#: admin/admin.php:1343 +#: admin/admin.php:1344 +#: inc/post-types.php:274 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -775,30 +776,30 @@ msgstr "Ver formularios" msgid "Forms" msgstr "Formularios" -#: inc/post-types.php:236 +#: inc/post-types.php:275 msgid "Search Forms" msgstr "Formularios de búsqueda" -#: inc/post-types.php:237 +#: inc/post-types.php:276 msgid "Parent Forms:" msgstr "Formularios de los padres:" -#: inc/post-types.php:239 +#: inc/post-types.php:278 msgid "No forms found in Trash." msgstr "No se encontraron formularios en la papelera." -#: inc/post-types.php:240 +#: inc/post-types.php:279 msgid "Form published." msgstr "Formulario publicado." -#: inc/post-types.php:241 +#: inc/post-types.php:280 msgid "Form updated." msgstr "Formulario actualizado." #: inc/global-settings/global-settings-defaults.php:166 #: inc/migrator/importers/cf7-importer.php:168 #: inc/migrator/importers/ninja-importer.php:1152 -#: inc/post-types.php:1004 +#: inc/post-types.php:1031 msgid "Admin Notification Email" msgstr "Correo Electrónico de Notificación del Administrador" @@ -806,7 +807,7 @@ msgstr "Correo Electrónico de Notificación del Administrador" #. translators: %s: {form_title} smart tag placeholder. #: inc/global-settings/global-settings-defaults.php:173 #: inc/global-settings/global-settings.php:588 -#: inc/post-types.php:1011 +#: inc/post-types.php:1038 #: assets/build/settings.js:172 #, php-format,js-format msgid "New Form Submission - %s" @@ -8331,7 +8332,7 @@ msgstr "Cambiar formulario" #: inc/blocks/sform/block.php:42 #: inc/page-builders/bricks/elements/form-widget.php:508 #: inc/page-builders/elementor/form-widget.php:827 -#: inc/post-types.php:1324 +#: inc/post-types.php:1351 #: assets/build/blocks.js:172 msgid "This form has been deleted or is unavailable." msgstr "Este formulario ha sido eliminado o no está disponible." @@ -8882,9 +8883,9 @@ msgstr "Agregar bloques a la barra de acción rápida" msgid "Re-arrange block inside Quick Action Bar" msgstr "Reorganizar bloque dentro de la Barra de Acción Rápida" -#: admin/admin.php:490 -#: admin/admin.php:491 -#: admin/admin.php:2403 +#: admin/admin.php:1136 +#: admin/admin.php:1137 +#: admin/admin.php:3248 #: assets/build/blocks.js:172 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 @@ -9256,7 +9257,7 @@ msgstr "Centro" msgid "Right" msgstr "Correcto" -#: inc/form-submit.php:1215 +#: inc/form-submit.php:1216 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "Google reCAPTCHA" @@ -9266,7 +9267,7 @@ msgstr "Google reCAPTCHA" msgid "CloudFlare Turnstile" msgstr "CloudFlare Turnstile" -#: inc/form-submit.php:1219 +#: inc/form-submit.php:1220 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "hCaptcha" @@ -9327,7 +9328,7 @@ msgstr "Anterior" #: inc/global-settings/global-settings.php:530 #: inc/migrator/base-migrator.php:548 -#: inc/post-types.php:1087 +#: inc/post-types.php:1114 #: assets/build/formEditor.js:172 msgid "Thank you" msgstr "Gracias" @@ -9548,7 +9549,7 @@ msgstr "Clave del sitio" msgid "Secret Key" msgstr "Clave secreta" -#: inc/form-submit.php:1223 +#: inc/form-submit.php:1224 #: assets/build/settings.js:172 msgid "Cloudflare Turnstile" msgstr "Cloudflare Turnstile" @@ -10506,7 +10507,7 @@ msgstr "Agrega impresionantes iconos personalizables a tu sitio web." msgid "icon" msgstr "icono" -#: admin/admin.php:1660 +#: admin/admin.php:2306 msgid "Rate SureForms" msgstr "Califica SureForms" @@ -10616,7 +10617,7 @@ msgstr "Desbloquear formularios conversacionales" msgid "With the SureForms Pro Plan, you can transform your forms into engaging conversational layouts for a seamless user experience." msgstr "Con el Plan SureForms Pro, puedes transformar tus formularios en diseños conversacionales atractivos para una experiencia de usuario fluida." -#: admin/admin.php:329 +#: admin/admin.php:975 msgid "Get SureForms Pro" msgstr "Obtén SureForms Pro" @@ -10828,24 +10829,24 @@ msgstr "Seleccionar degradado" msgid "reCAPTCHA" msgstr "reCAPTCHA" -#: inc/form-submit.php:1159 +#: inc/form-submit.php:1160 msgid "Captcha validation failed. No error code provided." msgstr "La validación del captcha falló. No se proporcionó un código de error." -#: inc/form-submit.php:1160 +#: inc/form-submit.php:1161 msgid "Captcha validation failed." msgstr "La validación del captcha falló." -#: inc/form-submit.php:1227 +#: inc/form-submit.php:1228 msgid "Unknown Captcha" msgstr "Captcha desconocido" -#: inc/form-submit.php:1228 +#: inc/form-submit.php:1229 msgid "Invalid captcha type." msgstr "Tipo de captcha no válido." #. translators: %s is the captcha title. -#: inc/form-submit.php:1241 +#: inc/form-submit.php:1242 #, php-format msgid "%s verification failed. Please contact your site administrator." msgstr "La verificación de %s falló. Por favor, contacte a su administrador del sitio." @@ -11242,8 +11243,8 @@ msgstr "Describe el formulario que deseas crear" msgid "We are building your form…" msgstr "Estamos construyendo tu formulario…" -#: admin/admin.php:605 -#: admin/admin.php:606 +#: admin/admin.php:1251 +#: admin/admin.php:1252 msgid "SMTP" msgstr "SMTP" @@ -11375,29 +11376,29 @@ msgstr "Habilitar notificación de administrador" msgid "Admin notifications keep you informed about new form entries since your last visit." msgstr "Las notificaciones de administrador te mantienen informado sobre nuevas entradas de formularios desde tu última visita." -#: admin/admin.php:1766 -#: admin/admin.php:1857 -#: admin/admin.php:1895 -#: admin/admin.php:1916 -#: admin/admin.php:2137 +#: admin/admin.php:2412 +#: admin/admin.php:2510 +#: admin/admin.php:2548 +#: admin/admin.php:2569 +#: admin/admin.php:2790 msgid "Unauthorized user." msgstr "Usuario no autorizado." #. translators: 1: opening span, 2: opening strong (inline), 3: closing strong, 4: closing span, 5: opening strong (block), 6: closing strong -#: admin/admin.php:1866 +#: admin/admin.php:2519 #, php-format msgid "%1$sGet started by %2$sbuilding your first form%3$s.%4$s%5$sExperience the power of our intuitive AI Form Builder%6$s" msgstr "%1$sComienza %2$screando tu primer formulario%3$s.%4$s%5$sExperimenta el poder de nuestro intuitivo Creador de Formularios AI%6$s" -#: admin/admin.php:1877 +#: admin/admin.php:2530 msgid "SureForms is waiting for you!" msgstr "¡SureForms te está esperando!" -#: admin/admin.php:1879 +#: admin/admin.php:2532 msgid "Build My First Form" msgstr "Construir mi primer formulario" -#: admin/admin.php:1880 +#: admin/admin.php:2533 msgid "Dismiss" msgstr "Descartar" @@ -11417,51 +11418,51 @@ msgstr "Iniciar sesión" msgid "Register" msgstr "Registrar" -#: admin/admin.php:2166 +#: admin/admin.php:2819 msgid "Recent Entries" msgstr "Entradas Recientes" -#: admin/admin.php:2167 +#: admin/admin.php:2820 msgid "( Last 7 days )" msgstr "( Últimos 7 días )" -#: admin/admin.php:2344 +#: admin/admin.php:3189 msgid "Use Conditional Logic to show only what matters" msgstr "Usa lógica condicional para mostrar solo lo que importa" -#: admin/admin.php:2345 +#: admin/admin.php:3190 msgid "Split your form into steps to keep it easy" msgstr "Divide tu formulario en pasos para mantenerlo sencillo" -#: admin/admin.php:2346 +#: admin/admin.php:3191 msgid "Let people upload files directly to your form" msgstr "Permite que las personas suban archivos directamente a tu formulario" -#: admin/admin.php:2347 +#: admin/admin.php:3192 msgid "Turn responses into downloadable PDFs automatically" msgstr "Convierte las respuestas en PDFs descargables automáticamente" -#: admin/admin.php:2348 +#: admin/admin.php:3193 msgid "Let users sign with a simple signature field" msgstr "Permitir que los usuarios firmen con un campo de firma simple" -#: admin/admin.php:2349 +#: admin/admin.php:3194 msgid "Connect your form to other tools using webhooks" msgstr "Conecta tu formulario a otras herramientas usando webhooks" -#: admin/admin.php:2350 +#: admin/admin.php:3195 msgid "Use Conversational Forms for a chat-like experience" msgstr "Utiliza Formularios Conversacionales para una experiencia similar a un chat" -#: admin/admin.php:2351 +#: admin/admin.php:3196 msgid "Let users register or log in through your form" msgstr "Permitir a los usuarios registrarse o iniciar sesión a través de su formulario" -#: admin/admin.php:2352 +#: admin/admin.php:3197 msgid "Build forms that create WordPress user accounts" msgstr "Crear formularios que generen cuentas de usuario de WordPress" -#: admin/admin.php:2353 +#: admin/admin.php:3198 msgid "Add calculations to auto-total scores or prices" msgstr "Agrega cálculos para totalizar automáticamente las puntuaciones o precios" @@ -11883,7 +11884,7 @@ msgstr "Explora SureDash" msgid "Something went wrong. We have logged the error for further investigation" msgstr "Algo salió mal. Hemos registrado el error para una investigación posterior." -#: inc/field-validation.php:410 +#: inc/field-validation.php:413 msgid "Field is not valid." msgstr "El campo no es válido." @@ -11951,8 +11952,8 @@ msgstr "Miniatura de video de SureForms" msgid "Expected format for emails - email@sureforms.com or John Doe " msgstr "Formato esperado para correos electrónicos: email@sureforms.com o John Doe " -#: admin/admin.php:725 -#: admin/admin.php:726 +#: admin/admin.php:1371 +#: admin/admin.php:1372 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -12330,7 +12331,7 @@ msgstr "Desconocido" #: inc/payments/admin/admin-handler.php:1505 #: inc/payments/admin/admin-handler.php:1509 #: inc/payments/front-end.php:872 -#: inc/payments/front-end.php:1316 +#: inc/payments/front-end.php:1317 msgid "Guest User" msgstr "Usuario invitado" @@ -12356,7 +12357,7 @@ msgstr "Stripe no está conectado." #: inc/payments/front-end.php:122 #: inc/payments/front-end.php:348 #: inc/payments/front-end.php:641 -#: inc/payments/front-end.php:1195 +#: inc/payments/front-end.php:1196 msgid "Stripe secret key not found." msgstr "Clave secreta de Stripe no encontrada." @@ -12465,7 +12466,7 @@ msgstr "Suscripción no encontrada para el pago." #. translators: %d: User ID #: inc/payments/front-end.php:870 -#: inc/payments/front-end.php:1316 +#: inc/payments/front-end.php:1317 #, php-format msgid "User ID: %d" msgstr "ID de usuario: %d" @@ -12499,7 +12500,7 @@ msgstr "ID de suscripción: %s" #. translators: %s: payment gateway #. translators: %s: Payment gateway name (e.g., Stripe). #: inc/payments/front-end.php:891 -#: inc/payments/front-end.php:1327 +#: inc/payments/front-end.php:1328 #: inc/payments/stripe/admin-stripe-handler.php:190 #: inc/payments/stripe/admin-stripe-handler.php:492 #: inc/payments/stripe/admin-stripe-handler.php:667 @@ -12544,7 +12545,7 @@ msgstr "ID de cliente: %s" #. translators: 1: Amount, 2: Currency #. translators: %1$s: amount, %2$s: currency. #: inc/payments/front-end.php:901 -#: inc/payments/front-end.php:1329 +#: inc/payments/front-end.php:1330 #: inc/payments/stripe/stripe-webhook.php:1089 #: inc/payments/stripe/stripe-webhook.php:1166 #, php-format @@ -12554,7 +12555,7 @@ msgstr "Cantidad: %1$s %2$s" #. translators: %s: Payment mode (e.g. Live or Test) #. translators: %s: payment mode #: inc/payments/front-end.php:904 -#: inc/payments/front-end.php:1334 +#: inc/payments/front-end.php:1335 #, php-format msgid "Mode: %s" msgstr "Modo: %s" @@ -12563,24 +12564,24 @@ msgstr "Modo: %s" msgid "Failed to verify subscription." msgstr "Error al verificar la suscripción." -#: inc/payments/front-end.php:1228 -#: inc/payments/front-end.php:1246 -#: inc/payments/front-end.php:1254 -#: inc/payments/front-end.php:1261 +#: inc/payments/front-end.php:1229 +#: inc/payments/front-end.php:1247 +#: inc/payments/front-end.php:1255 +#: inc/payments/front-end.php:1262 msgid "Failed to retrieve payment intent." msgstr "Error al recuperar la intención de pago." -#: inc/payments/front-end.php:1269 +#: inc/payments/front-end.php:1270 msgid "Payment was not confirmed successfully." msgstr "El pago no se confirmó con éxito." -#: inc/payments/front-end.php:1321 +#: inc/payments/front-end.php:1322 msgid "Payment Verification" msgstr "Verificación de Pago" #. translators: %s: Stripe transaction ID #. translators: %s: Charge ID -#: inc/payments/front-end.php:1325 +#: inc/payments/front-end.php:1326 #: inc/payments/stripe/stripe-webhook.php:1162 #, php-format msgid "Transaction ID: %s" @@ -12588,18 +12589,18 @@ msgstr "ID de transacción: %s" #. translators: %s: payment status #. translators: %s: Status -#: inc/payments/front-end.php:1331 +#: inc/payments/front-end.php:1332 #: inc/payments/stripe/stripe-webhook.php:576 #: inc/payments/stripe/stripe-webhook.php:1168 #, php-format msgid "Status: %s" msgstr "Estado: %s" -#: inc/payments/front-end.php:1437 +#: inc/payments/front-end.php:1438 msgid "Failed to create Stripe customer." msgstr "Error al crear el cliente de Stripe." -#: inc/payments/front-end.php:1501 +#: inc/payments/front-end.php:1502 msgid "Failed to create Stripe guest customer." msgstr "Error al crear un cliente invitado de Stripe." @@ -13466,7 +13467,7 @@ msgstr "Edita este formulario" #: inc/global-settings/global-settings.php:531 #: inc/migrator/base-migrator.php:549 -#: inc/post-types.php:1087 +#: inc/post-types.php:1114 msgid "Your form has been submitted successfully. We'll review your details and get back to you soon." msgstr "Su formulario ha sido enviado con éxito. Revisaremos sus detalles y nos pondremos en contacto con usted pronto." @@ -15163,7 +15164,7 @@ msgstr "Se requiere el valor del campo de cantidad variable." msgid "Payment amount below minimum. Minimum: %1$s, received %2$s." msgstr "Importe del pago por debajo del mínimo. Mínimo: %1$s, recibido %2$s." -#: inc/rest-api.php:1853 +#: inc/rest-api.php:1876 msgid " (Copy)" msgstr "(Copiar)" @@ -15362,12 +15363,12 @@ msgid "Stripe Settings" msgstr "Configuración de Stripe" #. translators: %1$s: SureForms version, %2$s: SureForms Pro Plugin Name, %3$s: SureForms Pro Version. -#: admin/admin.php:1531 +#: admin/admin.php:2177 #, php-format msgid "SureForms %1$s requires minimum %2$s %3$s to work properly. Please update to the latest version." msgstr "SureForms %1$s requiere un mínimo de %2$s %3$s para funcionar correctamente. Por favor, actualice a la última versión." -#: admin/admin.php:1544 +#: admin/admin.php:2190 msgid "Update Now" msgstr "Actualizar ahora" @@ -15415,8 +15416,8 @@ msgstr "Posición del signo de moneda" msgid "Select the position of the currency symbol relative to the amount." msgstr "Seleccione la posición del símbolo de moneda en relación con la cantidad." -#: admin/admin.php:668 -#: admin/admin.php:669 +#: admin/admin.php:1314 +#: admin/admin.php:1315 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -15430,40 +15431,40 @@ msgstr "Seleccione la posición del símbolo de moneda en relación con la canti msgid "Learn" msgstr "Aprender" -#: admin/admin.php:1657 +#: admin/admin.php:2303 msgid "Amazing! SureForms is powering your forms and submissions - let's keep growing together!" msgstr "¡Increíble! SureForms está impulsando tus formularios y envíos - ¡sigamos creciendo juntos!" -#: admin/admin.php:1658 +#: admin/admin.php:2304 msgid "If SureForms has been helpful, would you mind taking a moment to leave a 5-star review on WordPress.org?" msgstr "Si SureForms ha sido útil, ¿te importaría tomarte un momento para dejar una reseña de 5 estrellas en WordPress.org?" -#: admin/admin.php:1661 -#: admin/admin.php:1705 +#: admin/admin.php:2307 +#: admin/admin.php:2351 msgid "Maybe later" msgstr "Quizás más tarde" -#: admin/admin.php:1662 +#: admin/admin.php:2308 msgid "I already did" msgstr "Ya lo hice" -#: admin/admin.php:1701 +#: admin/admin.php:2347 msgid "SureForms is ready to power your forms — explore what's possible!" msgstr "SureForms está listo para potenciar tus formularios — ¡explora lo que es posible!" -#: admin/admin.php:1702 +#: admin/admin.php:2348 msgid "Manage your forms, track submissions, and discover features like AI Form Builder, payment integrations, and more from the SureForms dashboard." msgstr "Administra tus formularios, realiza un seguimiento de las presentaciones y descubre funciones como el Creador de Formularios con IA, integraciones de pago y más desde el panel de SureForms." -#: admin/admin.php:1704 +#: admin/admin.php:2350 msgid "Go to Dashboard" msgstr "Ir al panel de control" -#: admin/admin.php:1706 +#: admin/admin.php:2352 msgid "I already know" msgstr "Ya lo sé" -#: admin/admin.php:1786 +#: admin/admin.php:2439 msgid "Invalid parameters." msgstr "Parámetros no válidos." @@ -15841,8 +15842,8 @@ msgstr "Campo de texto" #: inc/form-restriction.php:183 #: inc/form-restriction.php:184 -#: inc/post-types.php:1230 -#: inc/post-types.php:1270 +#: inc/post-types.php:1257 +#: inc/post-types.php:1297 msgid "This form is not yet available. Check back after the scheduled start time." msgstr "Este formulario aún no está disponible. Vuelve a consultar después de la hora de inicio programada." @@ -16126,8 +16127,8 @@ msgstr "No se puede eliminar el webhook." msgid "Unable to connect to Stripe." msgstr "No se puede conectar a Stripe." -#: inc/post-types.php:1231 -#: inc/post-types.php:1271 +#: inc/post-types.php:1258 +#: inc/post-types.php:1298 msgid "This form is closed. The submission period has ended." msgstr "Este formulario está cerrado. El período de presentación ha terminado." @@ -16797,19 +16798,19 @@ msgstr "Secreto del webhook no configurado." msgid "Invalid webhook signature." msgstr "Firma de webhook no válida." -#: admin/admin.php:507 -#: admin/admin.php:1101 +#: admin/admin.php:1153 +#: admin/admin.php:1747 #: assets/build/formEditor.js:172 msgid "Quizzes" msgstr "Cuestionarios" -#: admin/admin.php:506 +#: admin/admin.php:1152 msgid "Quiz Entries" msgstr "Entradas del cuestionario" -#: admin/admin.php:509 -#: admin/admin.php:542 -#: admin/admin.php:575 +#: admin/admin.php:1155 +#: admin/admin.php:1188 +#: admin/admin.php:1221 #: assets/build/settings.js:172 msgid "New" msgstr "Nuevo" @@ -17327,9 +17328,9 @@ msgstr "Perfecto para educación, formación y trivia divertida" msgid "Select this to create a quiz with scored questions and graded results." msgstr "Selecciona esto para crear un cuestionario con preguntas puntuadas y resultados calificados." -#: admin/admin.php:539 -#: admin/admin.php:540 -#: admin/admin.php:1106 +#: admin/admin.php:1185 +#: admin/admin.php:1186 +#: admin/admin.php:1752 msgid "Survey Reports" msgstr "Informes de encuestas" @@ -17735,7 +17736,7 @@ msgid "Error creating SureForms Form." msgstr "Error al crear el formulario de SureForms." #. translators: %s represents the minimum number of characters required -#: inc/field-validation.php:423 +#: inc/field-validation.php:426 #: inc/translatable.php:94 #, php-format msgid "Please enter at least %s characters." @@ -17893,9 +17894,9 @@ msgstr "La respuesta de la IA estaba vacía. Por favor, refine su solicitud y vu msgid "Unable to build form fields from the AI response." msgstr "No se pueden construir los campos del formulario a partir de la respuesta de la IA." -#: admin/admin.php:572 -#: admin/admin.php:573 -#: admin/admin.php:1111 +#: admin/admin.php:1218 +#: admin/admin.php:1219 +#: admin/admin.php:1757 msgid "Partial Entries" msgstr "Entradas parciales" @@ -18766,23 +18767,23 @@ msgstr "No se pudo verificar el monto del pago para este formulario. Por favor, msgid "Cancellation is not supported for this payment gateway." msgstr "La cancelación no es compatible con esta pasarela de pago." -#: admin/admin.php:1988 +#: admin/admin.php:2641 msgid "SureForms AI Quick Draft" msgstr "SureForms AI Borrador Rápido" -#: admin/admin.php:2007 +#: admin/admin.php:2660 msgid "Describe the form and let SureForms AI generate it for you." msgstr "Describe el formulario y deja que SureForms AI lo genere por ti." -#: admin/admin.php:2010 +#: admin/admin.php:2663 msgid "Describe your form" msgstr "Describe tu formulario" -#: admin/admin.php:2017 +#: admin/admin.php:2670 msgid "Example: Create a contact form with name, email, phone, and message fields." msgstr "Ejemplo: Crear un formulario de contacto con campos de nombre, correo electrónico, teléfono y mensaje." -#: admin/admin.php:2058 +#: admin/admin.php:2711 msgid "Redirecting..." msgstr "Redirigiendo..." @@ -18795,14 +18796,14 @@ msgid "The prompt is too long. Please shorten it and try again." msgstr "El mensaje es demasiado largo. Por favor, acórtalo e inténtalo de nuevo." #. translators: %s: maximum characters allowed before the @ symbol. -#: inc/field-validation.php:445 +#: inc/field-validation.php:448 #: inc/translatable.php:97 #, php-format msgid "The part before @ may not exceed %s characters." msgstr "La parte antes de @ no puede exceder %s caracteres." #. translators: %s: maximum characters allowed after the @ symbol. -#: inc/field-validation.php:451 +#: inc/field-validation.php:454 #: inc/translatable.php:100 #, php-format msgid "The part after @ may not exceed %s characters." @@ -18889,22 +18890,97 @@ msgstr "Lo siento, no tienes permiso para renderizar este formulario." msgid "This form requires a payment. Please complete the payment and submit again." msgstr "Este formulario requiere un pago. Por favor, complete el pago y envíe de nuevo." -#: inc/post-types.php:226 +#: admin/admin.php:474 +msgid "You are not allowed to update this prompt." +msgstr "No tienes permiso para actualizar este mensaje." + +#: admin/admin.php:517 +msgid "Finish setting up your form" +msgstr "Termina de configurar tu formulario" + +#: admin/admin.php:549 +msgid "Review or edit your form" +msgstr "Revisa o edita tu formulario" + +#: admin/admin.php:550 +#: admin/admin.php:3038 +msgid "Edit form" +msgstr "Editar formulario" + +#: admin/admin.php:555 +msgid "Personalize the Thank You message" +msgstr "Personaliza el mensaje de agradecimiento" + +#: admin/admin.php:556 +msgid "Edit message" +msgstr "Editar mensaje" + +#: admin/admin.php:561 +msgid "Choose who gets notified of new replies" +msgstr "Elige quién recibe notificaciones de nuevas respuestas" + +#: admin/admin.php:562 +msgid "Set up email" +msgstr "Configurar correo electrónico" + +#: admin/admin.php:570 +msgid "your form" +msgstr "tu formulario" + +#. translators: %s: form title. +#: admin/admin.php:573 +#, php-format +msgid "Finish setting up %s" +msgstr "Termina de configurar %s" + +#. translators: %s: form title. +#: admin/admin.php:581 +#, php-format +msgid "View %s (opens in a new tab)" +msgstr "Ver %s (se abre en una nueva pestaña)" + +#: admin/admin.php:586 +msgid "Customize your form to get it ready for real submissions:" +msgstr "Personaliza tu formulario para que esté listo para envíos reales:" + +#: admin/admin.php:3021 +msgid "We’ve already created this form for you. Finish customising it so it’s ready to collect real submissions." +msgstr "Ya hemos creado este formulario para ti. Termina de personalizarlo para que esté listo para recibir envíos reales." + +#. translators: %s: form name. +#: admin/admin.php:3030 +#, php-format +msgid "Finish setting up “%s”" +msgstr "Termina de configurar “%s”" + +#: admin/admin.php:3039 +msgid "Edit the Thank You message" +msgstr "Edita el mensaje de agradecimiento" + +#: admin/admin.php:3040 +msgid "Set where replies go" +msgstr "Configura dónde van las respuestas" + +#: inc/generate-form-markup.php:1445 +msgid "(opens in a new tab)" +msgstr "(se abre en una nueva pestaña)" + +#: inc/post-types.php:265 msgctxt "post type general name" msgid "Forms" msgstr "Formularios" -#: inc/post-types.php:227 +#: inc/post-types.php:266 msgctxt "post type singular name" msgid "Form" msgstr "Formulario" -#: inc/post-types.php:228 +#: inc/post-types.php:267 msgctxt "admin menu" msgid "Forms" msgstr "Formularios" -#: inc/post-types.php:229 +#: inc/post-types.php:268 msgctxt "form" msgid "Add New" msgstr "Agregar nuevo" diff --git a/languages/sureforms-fr_FR.mo b/languages/sureforms-fr_FR.mo index 1c1765578..a55ba8fee 100644 Binary files a/languages/sureforms-fr_FR.mo and b/languages/sureforms-fr_FR.mo differ diff --git a/languages/sureforms-fr_FR.po b/languages/sureforms-fr_FR.po index 8e35856e6..9ebc979cd 100644 --- a/languages/sureforms-fr_FR.po +++ b/languages/sureforms-fr_FR.po @@ -14,9 +14,9 @@ msgstr "" #. Plugin Name of the plugin #. Author of the plugin #: sureforms.php -#: admin/admin.php:406 -#: admin/admin.php:407 -#: admin/admin.php:1970 +#: admin/admin.php:1052 +#: admin/admin.php:1053 +#: admin/admin.php:2623 #: inc/abilities/abilities-registrar.php:139 #: inc/gutenberg-hooks.php:109 #: inc/page-builders/bricks/elements/form-widget.php:67 @@ -43,8 +43,8 @@ msgstr "Un moyen simple mais puissant de créer des formulaires modernes pour vo msgid "https://sureforms.com/" msgstr "https://sureforms.com/" -#: admin/admin.php:419 -#: admin/admin.php:420 +#: admin/admin.php:1065 +#: admin/admin.php:1066 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -59,9 +59,9 @@ msgstr "https://sureforms.com/" msgid "Dashboard" msgstr "Tableau de bord" -#: admin/admin.php:437 -#: admin/admin.php:438 -#: admin/admin.php:870 +#: admin/admin.php:1083 +#: admin/admin.php:1084 +#: admin/admin.php:1516 #: inc/compatibility/multilingual/string-collector.php:236 #: inc/compatibility/multilingual/string-collector.php:245 #: inc/compatibility/multilingual/string-collector.php:313 @@ -79,15 +79,15 @@ msgstr "Tableau de bord" msgid "Settings" msgstr "Paramètres" -#: admin/admin.php:706 -#: admin/admin.php:707 -#: inc/post-types.php:231 +#: admin/admin.php:1352 +#: admin/admin.php:1353 +#: inc/post-types.php:270 msgid "New Form" msgstr "Nouveau formulaire" -#: admin/admin.php:715 -#: admin/admin.php:716 -#: admin/admin.php:2179 +#: admin/admin.php:1361 +#: admin/admin.php:1362 +#: admin/admin.php:2832 #: inc/generate-form-markup.php:203 #: inc/generate-form-markup.php:216 #: inc/global-settings/email-summary.php:225 @@ -105,7 +105,7 @@ msgid "Entries" msgstr "Entrées" #. Translators: Post Title. -#: admin/admin.php:958 +#: admin/admin.php:1604 #, php-format msgid "Edit %1$s" msgstr "Modifier %1$s" @@ -126,12 +126,12 @@ msgid "Nonce verification failed." msgstr "La vérification du nonce a échoué." #. translators: %1$s: Opening anchor tag with URL, %2$s: Closing anchor tag, %3$s: SureForms Pro Plugin Name. -#: admin/admin.php:1596 +#: admin/admin.php:2242 #, php-format msgid "Please %1$sactivate%2$s your copy of %3$s to get new features, access support, receive update notifications, and more." msgstr "Veuillez %1$sactiver%2$s votre copie de %3$s pour obtenir de nouvelles fonctionnalités, accéder au support, recevoir des notifications de mise à jour, et plus encore." -#: admin/admin.php:2178 +#: admin/admin.php:2831 #: inc/global-settings/email-summary.php:224 #: assets/build/entries.js:172 #: assets/build/payments.js:172 @@ -201,7 +201,7 @@ msgstr "Poubelle" msgid "Published" msgstr "Publié" -#: admin/admin.php:2170 +#: admin/admin.php:2823 msgid "View" msgstr "Voir" @@ -288,11 +288,11 @@ msgstr "Aucun plugin spécifié" msgid "Plugin Successfully Activated" msgstr "Plugin activé avec succès" -#: admin/admin.php:1030 +#: admin/admin.php:1676 msgid "Activating..." msgstr "Activation..." -#: admin/admin.php:1031 +#: admin/admin.php:1677 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/formEditor.js:172 @@ -307,17 +307,17 @@ msgstr "Activation..." msgid "Activated" msgstr "Activé" -#: admin/admin.php:1032 +#: admin/admin.php:1678 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "Activate" msgstr "Activer" -#: admin/admin.php:1033 +#: admin/admin.php:1679 msgid "Installing..." msgstr "Installation en cours..." -#: admin/admin.php:1034 +#: admin/admin.php:1680 msgid "Installed" msgstr "Installé" @@ -325,11 +325,11 @@ msgstr "Installé" msgid "You do not have permission to access this page." msgstr "Vous n'avez pas la permission d'accéder à cette page." -#: admin/admin.php:1762 -#: admin/admin.php:1861 -#: admin/admin.php:1899 -#: admin/admin.php:1920 -#: admin/admin.php:2133 +#: admin/admin.php:2408 +#: admin/admin.php:2514 +#: admin/admin.php:2552 +#: admin/admin.php:2573 +#: admin/admin.php:2786 #: inc/admin-ajax.php:162 #: inc/payments/admin/admin-handler.php:638 #: inc/payments/stripe/admin-stripe-handler.php:80 @@ -529,7 +529,7 @@ msgid "Dropdown" msgstr "Menu déroulant" #: inc/fields/dropdown-markup.php:112 -#: inc/gutenberg-hooks.php:223 +#: inc/gutenberg-hooks.php:234 msgid "Select an option" msgstr "Sélectionnez une option" @@ -549,7 +549,7 @@ msgstr "Confirmer" msgid "Confirm %s" msgstr "Confirmer %s" -#: inc/gutenberg-hooks.php:222 +#: inc/gutenberg-hooks.php:233 msgid "I consent to have this website store my submitted information so they can respond to my inquiry." msgstr "Je consens à ce que ce site web stocke les informations que j'ai soumises afin qu'ils puissent répondre à ma demande." @@ -606,7 +606,7 @@ msgstr "Les données du formulaire sont introuvables." msgid "Sorry, you are not allowed to view the form." msgstr "Désolé, vous n'êtes pas autorisé à voir le formulaire." -#: inc/generate-form-markup.php:1102 +#: inc/generate-form-markup.php:1114 msgid "There was an error trying to submit your form. Please try again." msgstr "Une erreur s'est produite lors de la soumission de votre formulaire. Veuillez réessayer." @@ -614,7 +614,7 @@ msgstr "Une erreur s'est produite lors de la soumission de votre formulaire. Veu msgid "Test Email Sent Successfully." msgstr "E-mail de test envoyé avec succès." -#: inc/post-types.php:238 +#: inc/post-types.php:277 msgid "No forms found." msgstr "Aucun formulaire trouvé." @@ -698,9 +698,10 @@ msgstr "Afficher" msgid "Hide" msgstr "Cacher" +#: inc/generate-form-markup.php:1444 #: inc/page-builders/elementor/form-widget.php:332 #: inc/post-types.php:95 -#: inc/post-types.php:232 +#: inc/post-types.php:271 #: assets/build/blocks.js:172 msgid "Edit Form" msgstr "Modifier le formulaire" @@ -711,7 +712,7 @@ msgstr "Modifier le formulaire" msgid "Edit" msgstr "Modifier" -#: admin/admin.php:2021 +#: admin/admin.php:2674 #: inc/page-builders/elementor/form-widget.php:346 #: assets/build/dashboard.js:2 msgid "Create New Form" @@ -725,32 +726,32 @@ msgstr "Créer" msgid "Import Form" msgstr "Formulaire d'importation" -#: inc/post-types.php:230 +#: inc/post-types.php:269 #: assets/build/forms.js:172 msgid "Add New Form" msgstr "Ajouter un nouveau formulaire" -#: inc/post-types.php:208 +#: inc/post-types.php:247 msgid "No records found" msgstr "Aucun enregistrement trouvé" -#: inc/post-types.php:209 +#: inc/post-types.php:248 msgid "This is where your form entries will appear" msgstr "C'est ici que vos entrées de formulaire apparaîtront" -#: inc/post-types.php:233 +#: inc/post-types.php:272 #: assets/build/forms.js:172 #: assets/build/payments.js:172 msgid "View Form" msgstr "Voir le formulaire" -#: inc/post-types.php:234 +#: inc/post-types.php:273 msgid "View Forms" msgstr "Afficher les formulaires" -#: admin/admin.php:697 -#: admin/admin.php:698 -#: inc/post-types.php:235 +#: admin/admin.php:1343 +#: admin/admin.php:1344 +#: inc/post-types.php:274 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -764,30 +765,30 @@ msgstr "Afficher les formulaires" msgid "Forms" msgstr "Formulaires" -#: inc/post-types.php:236 +#: inc/post-types.php:275 msgid "Search Forms" msgstr "Formulaires de recherche" -#: inc/post-types.php:237 +#: inc/post-types.php:276 msgid "Parent Forms:" msgstr "Formulaires parents :" -#: inc/post-types.php:239 +#: inc/post-types.php:278 msgid "No forms found in Trash." msgstr "Aucun formulaire trouvé dans la corbeille." -#: inc/post-types.php:240 +#: inc/post-types.php:279 msgid "Form published." msgstr "Formulaire publié." -#: inc/post-types.php:241 +#: inc/post-types.php:280 msgid "Form updated." msgstr "Formulaire mis à jour." #: inc/global-settings/global-settings-defaults.php:166 #: inc/migrator/importers/cf7-importer.php:168 #: inc/migrator/importers/ninja-importer.php:1152 -#: inc/post-types.php:1004 +#: inc/post-types.php:1031 msgid "Admin Notification Email" msgstr "Email de notification d'administration" @@ -795,7 +796,7 @@ msgstr "Email de notification d'administration" #. translators: %s: {form_title} smart tag placeholder. #: inc/global-settings/global-settings-defaults.php:173 #: inc/global-settings/global-settings.php:588 -#: inc/post-types.php:1011 +#: inc/post-types.php:1038 #: assets/build/settings.js:172 #, php-format,js-format msgid "New Form Submission - %s" @@ -8320,7 +8321,7 @@ msgstr "Changer de formulaire" #: inc/blocks/sform/block.php:42 #: inc/page-builders/bricks/elements/form-widget.php:508 #: inc/page-builders/elementor/form-widget.php:827 -#: inc/post-types.php:1324 +#: inc/post-types.php:1351 #: assets/build/blocks.js:172 msgid "This form has been deleted or is unavailable." msgstr "Ce formulaire a été supprimé ou est indisponible." @@ -8871,9 +8872,9 @@ msgstr "Ajouter des blocs à la barre d'action rapide" msgid "Re-arrange block inside Quick Action Bar" msgstr "Réorganiser le bloc dans la barre d'action rapide" -#: admin/admin.php:490 -#: admin/admin.php:491 -#: admin/admin.php:2403 +#: admin/admin.php:1136 +#: admin/admin.php:1137 +#: admin/admin.php:3248 #: assets/build/blocks.js:172 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 @@ -9245,7 +9246,7 @@ msgstr "Centre" msgid "Right" msgstr "D'accord" -#: inc/form-submit.php:1215 +#: inc/form-submit.php:1216 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "Google reCAPTCHA" @@ -9255,7 +9256,7 @@ msgstr "Google reCAPTCHA" msgid "CloudFlare Turnstile" msgstr "Tourniquet CloudFlare" -#: inc/form-submit.php:1219 +#: inc/form-submit.php:1220 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "hCaptcha" @@ -9316,7 +9317,7 @@ msgstr "Précédent" #: inc/global-settings/global-settings.php:530 #: inc/migrator/base-migrator.php:548 -#: inc/post-types.php:1087 +#: inc/post-types.php:1114 #: assets/build/formEditor.js:172 msgid "Thank you" msgstr "Merci" @@ -9533,7 +9534,7 @@ msgstr "Clé du site" msgid "Secret Key" msgstr "Clé secrète" -#: inc/form-submit.php:1223 +#: inc/form-submit.php:1224 #: assets/build/settings.js:172 msgid "Cloudflare Turnstile" msgstr "Tourniquet Cloudflare" @@ -10484,7 +10485,7 @@ msgid "icon" msgstr "icône" #. translators: %1$s: SureForms version, %2$s: SureForms Pro Plugin Name, %3$s: SureForms Pro Version, %4$s: Anchor tag open, %5$s: Closing anchor tag. -#: admin/admin.php:1614 +#: admin/admin.php:2260 #, php-format msgid "SureForms %1$s requires minimum %2$s %3$s to work properly. Please update to the latest version from %4$shere%5$s." msgstr "SureForms %1$s nécessite au minimum %2$s %3$s pour fonctionner correctement. Veuillez mettre à jour vers la dernière version depuis %4$scet endroit%5$s." @@ -10506,7 +10507,7 @@ msgstr "Journalisation IP" msgid "Honeypot" msgstr "Pot de miel" -#: admin/admin.php:1660 +#: admin/admin.php:2306 msgid "Rate SureForms" msgstr "Évaluez SureForms" @@ -10616,7 +10617,7 @@ msgstr "Déverrouiller les formulaires conversationnels" msgid "With the SureForms Pro Plan, you can transform your forms into engaging conversational layouts for a seamless user experience." msgstr "Avec le plan SureForms Pro, vous pouvez transformer vos formulaires en mises en page conversationnelles engageantes pour une expérience utilisateur fluide." -#: admin/admin.php:329 +#: admin/admin.php:975 msgid "Get SureForms Pro" msgstr "Obtenez SureForms Pro" @@ -10828,24 +10829,24 @@ msgstr "Sélectionner le dégradé" msgid "reCAPTCHA" msgstr "reCAPTCHA" -#: inc/form-submit.php:1159 +#: inc/form-submit.php:1160 msgid "Captcha validation failed. No error code provided." msgstr "La validation du captcha a échoué. Aucun code d'erreur fourni." -#: inc/form-submit.php:1160 +#: inc/form-submit.php:1161 msgid "Captcha validation failed." msgstr "La validation du captcha a échoué." -#: inc/form-submit.php:1227 +#: inc/form-submit.php:1228 msgid "Unknown Captcha" msgstr "Captcha inconnu" -#: inc/form-submit.php:1228 +#: inc/form-submit.php:1229 msgid "Invalid captcha type." msgstr "Type de captcha invalide." #. translators: %s is the captcha title. -#: inc/form-submit.php:1241 +#: inc/form-submit.php:1242 #, php-format msgid "%s verification failed. Please contact your site administrator." msgstr "La vérification de %s a échoué. Veuillez contacter votre administrateur de site." @@ -11242,8 +11243,8 @@ msgstr "Décrivez le formulaire que vous souhaitez créer" msgid "We are building your form…" msgstr "Nous construisons votre formulaire…" -#: admin/admin.php:605 -#: admin/admin.php:606 +#: admin/admin.php:1251 +#: admin/admin.php:1252 msgid "SMTP" msgstr "SMTP" @@ -11375,29 +11376,29 @@ msgstr "Activer la notification administrateur" msgid "Admin notifications keep you informed about new form entries since your last visit." msgstr "Les notifications administratives vous informent des nouvelles entrées de formulaire depuis votre dernière visite." -#: admin/admin.php:1766 -#: admin/admin.php:1857 -#: admin/admin.php:1895 -#: admin/admin.php:1916 -#: admin/admin.php:2137 +#: admin/admin.php:2412 +#: admin/admin.php:2510 +#: admin/admin.php:2548 +#: admin/admin.php:2569 +#: admin/admin.php:2790 msgid "Unauthorized user." msgstr "Utilisateur non autorisé." #. translators: 1: opening span, 2: opening strong (inline), 3: closing strong, 4: closing span, 5: opening strong (block), 6: closing strong -#: admin/admin.php:1866 +#: admin/admin.php:2519 #, php-format msgid "%1$sGet started by %2$sbuilding your first form%3$s.%4$s%5$sExperience the power of our intuitive AI Form Builder%6$s" msgstr "%1$sCommencez par %2$scréer votre premier formulaire%3$s.%4$s%5$sDécouvrez la puissance de notre créateur de formulaires intuitif alimenté par l'IA%6$s" -#: admin/admin.php:1877 +#: admin/admin.php:2530 msgid "SureForms is waiting for you!" msgstr "SureForms vous attend !" -#: admin/admin.php:1879 +#: admin/admin.php:2532 msgid "Build My First Form" msgstr "Construire mon premier formulaire" -#: admin/admin.php:1880 +#: admin/admin.php:2533 msgid "Dismiss" msgstr "Rejeter" @@ -11417,51 +11418,51 @@ msgstr "Connexion" msgid "Register" msgstr "Inscrire" -#: admin/admin.php:2166 +#: admin/admin.php:2819 msgid "Recent Entries" msgstr "Entrées récentes" -#: admin/admin.php:2167 +#: admin/admin.php:2820 msgid "( Last 7 days )" msgstr "( 7 derniers jours )" -#: admin/admin.php:2344 +#: admin/admin.php:3189 msgid "Use Conditional Logic to show only what matters" msgstr "Utilisez la logique conditionnelle pour montrer uniquement ce qui compte" -#: admin/admin.php:2345 +#: admin/admin.php:3190 msgid "Split your form into steps to keep it easy" msgstr "Divisez votre formulaire en étapes pour le rendre facile." -#: admin/admin.php:2346 +#: admin/admin.php:3191 msgid "Let people upload files directly to your form" msgstr "Permettez aux gens de télécharger des fichiers directement sur votre formulaire" -#: admin/admin.php:2347 +#: admin/admin.php:3192 msgid "Turn responses into downloadable PDFs automatically" msgstr "Transformez les réponses en PDF téléchargeables automatiquement" -#: admin/admin.php:2348 +#: admin/admin.php:3193 msgid "Let users sign with a simple signature field" msgstr "Permettez aux utilisateurs de signer avec un simple champ de signature" -#: admin/admin.php:2349 +#: admin/admin.php:3194 msgid "Connect your form to other tools using webhooks" msgstr "Connectez votre formulaire à d'autres outils en utilisant des webhooks" -#: admin/admin.php:2350 +#: admin/admin.php:3195 msgid "Use Conversational Forms for a chat-like experience" msgstr "Utilisez des formulaires conversationnels pour une expérience de type chat" -#: admin/admin.php:2351 +#: admin/admin.php:3196 msgid "Let users register or log in through your form" msgstr "Permettez aux utilisateurs de s'inscrire ou de se connecter via votre formulaire" -#: admin/admin.php:2352 +#: admin/admin.php:3197 msgid "Build forms that create WordPress user accounts" msgstr "Créez des formulaires qui génèrent des comptes utilisateurs WordPress" -#: admin/admin.php:2353 +#: admin/admin.php:3198 msgid "Add calculations to auto-total scores or prices" msgstr "Ajoutez des calculs pour totaliser automatiquement les scores ou les prix" @@ -11883,7 +11884,7 @@ msgstr "Explorez SureDash" msgid "Something went wrong. We have logged the error for further investigation" msgstr "Un problème est survenu. Nous avons enregistré l'erreur pour une enquête plus approfondie." -#: inc/field-validation.php:410 +#: inc/field-validation.php:413 msgid "Field is not valid." msgstr "Le champ n'est pas valide." @@ -11951,8 +11952,8 @@ msgstr "Miniature vidéo SureForms" msgid "Expected format for emails - email@sureforms.com or John Doe " msgstr "Format attendu pour les e-mails - email@sureforms.com ou John Doe " -#: admin/admin.php:725 -#: admin/admin.php:726 +#: admin/admin.php:1371 +#: admin/admin.php:1372 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -12333,7 +12334,7 @@ msgstr "Inconnu" #: inc/payments/admin/admin-handler.php:1505 #: inc/payments/admin/admin-handler.php:1509 #: inc/payments/front-end.php:872 -#: inc/payments/front-end.php:1316 +#: inc/payments/front-end.php:1317 msgid "Guest User" msgstr "Utilisateur Invité" @@ -12359,7 +12360,7 @@ msgstr "Stripe n'est pas connecté." #: inc/payments/front-end.php:122 #: inc/payments/front-end.php:348 #: inc/payments/front-end.php:641 -#: inc/payments/front-end.php:1195 +#: inc/payments/front-end.php:1196 msgid "Stripe secret key not found." msgstr "Clé secrète Stripe introuvable." @@ -12468,7 +12469,7 @@ msgstr "Abonnement non trouvé pour le paiement." #. translators: %d: User ID #: inc/payments/front-end.php:870 -#: inc/payments/front-end.php:1316 +#: inc/payments/front-end.php:1317 #, php-format msgid "User ID: %d" msgstr "ID utilisateur : %d" @@ -12502,7 +12503,7 @@ msgstr "ID d'abonnement : %s" #. translators: %s: payment gateway #. translators: %s: Payment gateway name (e.g., Stripe). #: inc/payments/front-end.php:891 -#: inc/payments/front-end.php:1327 +#: inc/payments/front-end.php:1328 #: inc/payments/stripe/admin-stripe-handler.php:190 #: inc/payments/stripe/admin-stripe-handler.php:492 #: inc/payments/stripe/admin-stripe-handler.php:667 @@ -12547,7 +12548,7 @@ msgstr "ID client : %s" #. translators: 1: Amount, 2: Currency #. translators: %1$s: amount, %2$s: currency. #: inc/payments/front-end.php:901 -#: inc/payments/front-end.php:1329 +#: inc/payments/front-end.php:1330 #: inc/payments/stripe/stripe-webhook.php:1089 #: inc/payments/stripe/stripe-webhook.php:1166 #, php-format @@ -12557,7 +12558,7 @@ msgstr "Montant : %1$s %2$s" #. translators: %s: Payment mode (e.g. Live or Test) #. translators: %s: payment mode #: inc/payments/front-end.php:904 -#: inc/payments/front-end.php:1334 +#: inc/payments/front-end.php:1335 #, php-format msgid "Mode: %s" msgstr "Mode : %s" @@ -12566,24 +12567,24 @@ msgstr "Mode : %s" msgid "Failed to verify subscription." msgstr "Échec de la vérification de l'abonnement." -#: inc/payments/front-end.php:1228 -#: inc/payments/front-end.php:1246 -#: inc/payments/front-end.php:1254 -#: inc/payments/front-end.php:1261 +#: inc/payments/front-end.php:1229 +#: inc/payments/front-end.php:1247 +#: inc/payments/front-end.php:1255 +#: inc/payments/front-end.php:1262 msgid "Failed to retrieve payment intent." msgstr "Échec de la récupération de l'intention de paiement." -#: inc/payments/front-end.php:1269 +#: inc/payments/front-end.php:1270 msgid "Payment was not confirmed successfully." msgstr "Le paiement n'a pas été confirmé avec succès." -#: inc/payments/front-end.php:1321 +#: inc/payments/front-end.php:1322 msgid "Payment Verification" msgstr "Vérification de paiement" #. translators: %s: Stripe transaction ID #. translators: %s: Charge ID -#: inc/payments/front-end.php:1325 +#: inc/payments/front-end.php:1326 #: inc/payments/stripe/stripe-webhook.php:1162 #, php-format msgid "Transaction ID: %s" @@ -12591,18 +12592,18 @@ msgstr "ID de transaction : %s" #. translators: %s: payment status #. translators: %s: Status -#: inc/payments/front-end.php:1331 +#: inc/payments/front-end.php:1332 #: inc/payments/stripe/stripe-webhook.php:576 #: inc/payments/stripe/stripe-webhook.php:1168 #, php-format msgid "Status: %s" msgstr "Statut : %s" -#: inc/payments/front-end.php:1437 +#: inc/payments/front-end.php:1438 msgid "Failed to create Stripe customer." msgstr "Échec de la création du client Stripe." -#: inc/payments/front-end.php:1501 +#: inc/payments/front-end.php:1502 msgid "Failed to create Stripe guest customer." msgstr "Échec de la création du client invité Stripe." @@ -13469,7 +13470,7 @@ msgstr "Modifier ce formulaire" #: inc/global-settings/global-settings.php:531 #: inc/migrator/base-migrator.php:549 -#: inc/post-types.php:1087 +#: inc/post-types.php:1114 msgid "Your form has been submitted successfully. We'll review your details and get back to you soon." msgstr "Votre formulaire a été soumis avec succès. Nous examinerons vos informations et vous répondrons bientôt." @@ -15166,7 +15167,7 @@ msgstr "La valeur du champ de montant variable est requise." msgid "Payment amount below minimum. Minimum: %1$s, received %2$s." msgstr "Montant du paiement inférieur au minimum. Minimum : %1$s, reçu %2$s." -#: inc/rest-api.php:1853 +#: inc/rest-api.php:1876 msgid " (Copy)" msgstr "(Copie)" @@ -15365,12 +15366,12 @@ msgid "Stripe Settings" msgstr "Paramètres Stripe" #. translators: %1$s: SureForms version, %2$s: SureForms Pro Plugin Name, %3$s: SureForms Pro Version. -#: admin/admin.php:1531 +#: admin/admin.php:2177 #, php-format msgid "SureForms %1$s requires minimum %2$s %3$s to work properly. Please update to the latest version." msgstr "SureForms %1$s nécessite au minimum %2$s %3$s pour fonctionner correctement. Veuillez mettre à jour vers la dernière version." -#: admin/admin.php:1544 +#: admin/admin.php:2190 msgid "Update Now" msgstr "Mettez à jour maintenant" @@ -15418,8 +15419,8 @@ msgstr "Position du signe monétaire" msgid "Select the position of the currency symbol relative to the amount." msgstr "Sélectionnez la position du symbole monétaire par rapport au montant." -#: admin/admin.php:668 -#: admin/admin.php:669 +#: admin/admin.php:1314 +#: admin/admin.php:1315 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -15433,40 +15434,40 @@ msgstr "Sélectionnez la position du symbole monétaire par rapport au montant." msgid "Learn" msgstr "Apprendre" -#: admin/admin.php:1657 +#: admin/admin.php:2303 msgid "Amazing! SureForms is powering your forms and submissions - let's keep growing together!" msgstr "Incroyable ! SureForms alimente vos formulaires et soumissions - continuons à grandir ensemble !" -#: admin/admin.php:1658 +#: admin/admin.php:2304 msgid "If SureForms has been helpful, would you mind taking a moment to leave a 5-star review on WordPress.org?" msgstr "Si SureForms vous a été utile, pourriez-vous prendre un moment pour laisser un avis 5 étoiles sur WordPress.org ?" -#: admin/admin.php:1661 -#: admin/admin.php:1705 +#: admin/admin.php:2307 +#: admin/admin.php:2351 msgid "Maybe later" msgstr "Peut-être plus tard" -#: admin/admin.php:1662 +#: admin/admin.php:2308 msgid "I already did" msgstr "Je l'ai déjà fait" -#: admin/admin.php:1701 +#: admin/admin.php:2347 msgid "SureForms is ready to power your forms — explore what's possible!" msgstr "SureForms est prêt à dynamiser vos formulaires — explorez ce qui est possible !" -#: admin/admin.php:1702 +#: admin/admin.php:2348 msgid "Manage your forms, track submissions, and discover features like AI Form Builder, payment integrations, and more from the SureForms dashboard." msgstr "Gérez vos formulaires, suivez les soumissions et découvrez des fonctionnalités telles que le constructeur de formulaires IA, les intégrations de paiement et bien plus encore depuis le tableau de bord SureForms." -#: admin/admin.php:1704 +#: admin/admin.php:2350 msgid "Go to Dashboard" msgstr "Aller au tableau de bord" -#: admin/admin.php:1706 +#: admin/admin.php:2352 msgid "I already know" msgstr "Je sais déjà" -#: admin/admin.php:1786 +#: admin/admin.php:2439 msgid "Invalid parameters." msgstr "Paramètres invalides." @@ -15844,8 +15845,8 @@ msgstr "Champ de texte" #: inc/form-restriction.php:183 #: inc/form-restriction.php:184 -#: inc/post-types.php:1230 -#: inc/post-types.php:1270 +#: inc/post-types.php:1257 +#: inc/post-types.php:1297 msgid "This form is not yet available. Check back after the scheduled start time." msgstr "Ce formulaire n'est pas encore disponible. Revenez après l'heure de début prévue." @@ -16129,8 +16130,8 @@ msgstr "Impossible de supprimer le webhook." msgid "Unable to connect to Stripe." msgstr "Impossible de se connecter à Stripe." -#: inc/post-types.php:1231 -#: inc/post-types.php:1271 +#: inc/post-types.php:1258 +#: inc/post-types.php:1298 msgid "This form is closed. The submission period has ended." msgstr "Ce formulaire est fermé. La période de soumission est terminée." @@ -16800,19 +16801,19 @@ msgstr "Secret du webhook non configuré." msgid "Invalid webhook signature." msgstr "Signature de webhook invalide." -#: admin/admin.php:507 -#: admin/admin.php:1101 +#: admin/admin.php:1153 +#: admin/admin.php:1747 #: assets/build/formEditor.js:172 msgid "Quizzes" msgstr "Quiz" -#: admin/admin.php:506 +#: admin/admin.php:1152 msgid "Quiz Entries" msgstr "Participations au quiz" -#: admin/admin.php:509 -#: admin/admin.php:542 -#: admin/admin.php:575 +#: admin/admin.php:1155 +#: admin/admin.php:1188 +#: admin/admin.php:1221 #: assets/build/settings.js:172 msgid "New" msgstr "Nouveau" @@ -17330,9 +17331,9 @@ msgstr "Parfait pour l'éducation, la formation et les quiz amusants" msgid "Select this to create a quiz with scored questions and graded results." msgstr "Sélectionnez ceci pour créer un quiz avec des questions notées et des résultats évalués." -#: admin/admin.php:539 -#: admin/admin.php:540 -#: admin/admin.php:1106 +#: admin/admin.php:1185 +#: admin/admin.php:1186 +#: admin/admin.php:1752 msgid "Survey Reports" msgstr "Rapports d'enquête" @@ -17738,7 +17739,7 @@ msgid "Error creating SureForms Form." msgstr "Erreur lors de la création du formulaire SureForms." #. translators: %s represents the minimum number of characters required -#: inc/field-validation.php:423 +#: inc/field-validation.php:426 #: inc/translatable.php:94 #, php-format msgid "Please enter at least %s characters." @@ -17896,9 +17897,9 @@ msgstr "La réponse de l'IA était vide. Veuillez affiner votre invite et réess msgid "Unable to build form fields from the AI response." msgstr "Impossible de créer les champs de formulaire à partir de la réponse de l'IA." -#: admin/admin.php:572 -#: admin/admin.php:573 -#: admin/admin.php:1111 +#: admin/admin.php:1218 +#: admin/admin.php:1219 +#: admin/admin.php:1757 msgid "Partial Entries" msgstr "Entrées partielles" @@ -18769,23 +18770,23 @@ msgstr "Le montant du paiement n'a pas pu être vérifié pour ce formulaire. Ve msgid "Cancellation is not supported for this payment gateway." msgstr "L'annulation n'est pas prise en charge pour cette passerelle de paiement." -#: admin/admin.php:1988 +#: admin/admin.php:2641 msgid "SureForms AI Quick Draft" msgstr "SureForms AI Brouillon Rapide" -#: admin/admin.php:2007 +#: admin/admin.php:2660 msgid "Describe the form and let SureForms AI generate it for you." msgstr "Décrivez le formulaire et laissez SureForms AI le générer pour vous." -#: admin/admin.php:2010 +#: admin/admin.php:2663 msgid "Describe your form" msgstr "Décrivez votre formulaire" -#: admin/admin.php:2017 +#: admin/admin.php:2670 msgid "Example: Create a contact form with name, email, phone, and message fields." msgstr "Exemple : Créez un formulaire de contact avec des champs pour le nom, l'email, le téléphone et le message." -#: admin/admin.php:2058 +#: admin/admin.php:2711 msgid "Redirecting..." msgstr "Redirection..." @@ -18798,14 +18799,14 @@ msgid "The prompt is too long. Please shorten it and try again." msgstr "L'invite est trop longue. Veuillez la raccourcir et réessayer." #. translators: %s: maximum characters allowed before the @ symbol. -#: inc/field-validation.php:445 +#: inc/field-validation.php:448 #: inc/translatable.php:97 #, php-format msgid "The part before @ may not exceed %s characters." msgstr "La partie avant @ ne peut pas dépasser %s caractères." #. translators: %s: maximum characters allowed after the @ symbol. -#: inc/field-validation.php:451 +#: inc/field-validation.php:454 #: inc/translatable.php:100 #, php-format msgid "The part after @ may not exceed %s characters." @@ -18892,22 +18893,97 @@ msgstr "Désolé, vous n'êtes pas autorisé à afficher ce formulaire." msgid "This form requires a payment. Please complete the payment and submit again." msgstr "Ce formulaire nécessite un paiement. Veuillez effectuer le paiement et soumettre à nouveau." -#: inc/post-types.php:226 +#: admin/admin.php:474 +msgid "You are not allowed to update this prompt." +msgstr "Vous n'êtes pas autorisé à mettre à jour cette invite." + +#: admin/admin.php:517 +msgid "Finish setting up your form" +msgstr "Terminez la configuration de votre formulaire" + +#: admin/admin.php:549 +msgid "Review or edit your form" +msgstr "Révisez ou modifiez votre formulaire" + +#: admin/admin.php:550 +#: admin/admin.php:3038 +msgid "Edit form" +msgstr "Modifier le formulaire" + +#: admin/admin.php:555 +msgid "Personalize the Thank You message" +msgstr "Personnalisez le message de remerciement" + +#: admin/admin.php:556 +msgid "Edit message" +msgstr "Modifier le message" + +#: admin/admin.php:561 +msgid "Choose who gets notified of new replies" +msgstr "Choisissez qui sera notifié des nouvelles réponses" + +#: admin/admin.php:562 +msgid "Set up email" +msgstr "Configurer l'email" + +#: admin/admin.php:570 +msgid "your form" +msgstr "votre formulaire" + +#. translators: %s: form title. +#: admin/admin.php:573 +#, php-format +msgid "Finish setting up %s" +msgstr "Terminez la configuration de %s" + +#. translators: %s: form title. +#: admin/admin.php:581 +#, php-format +msgid "View %s (opens in a new tab)" +msgstr "Voir %s (s'ouvre dans un nouvel onglet)" + +#: admin/admin.php:586 +msgid "Customize your form to get it ready for real submissions:" +msgstr "Personnalisez votre formulaire pour le préparer à recevoir de vraies soumissions :" + +#: admin/admin.php:3021 +msgid "We’ve already created this form for you. Finish customising it so it’s ready to collect real submissions." +msgstr "Nous avons déjà créé ce formulaire pour vous. Terminez de le personnaliser pour qu'il soit prêt à collecter de vraies soumissions." + +#. translators: %s: form name. +#: admin/admin.php:3030 +#, php-format +msgid "Finish setting up “%s”" +msgstr "Terminez la configuration de « %s »" + +#: admin/admin.php:3039 +msgid "Edit the Thank You message" +msgstr "Modifier le message de remerciement" + +#: admin/admin.php:3040 +msgid "Set where replies go" +msgstr "Définir où vont les réponses" + +#: inc/generate-form-markup.php:1445 +msgid "(opens in a new tab)" +msgstr "(s'ouvre dans un nouvel onglet)" + +#: inc/post-types.php:265 msgctxt "post type general name" msgid "Forms" msgstr "Formulaires" -#: inc/post-types.php:227 +#: inc/post-types.php:266 msgctxt "post type singular name" msgid "Form" msgstr "Formulaire" -#: inc/post-types.php:228 +#: inc/post-types.php:267 msgctxt "admin menu" msgid "Forms" msgstr "Formulaires" -#: inc/post-types.php:229 +#: inc/post-types.php:268 msgctxt "form" msgid "Add New" msgstr "Ajouter nouveau" diff --git a/languages/sureforms-it_IT.mo b/languages/sureforms-it_IT.mo index f9106b118..7dc352b07 100644 Binary files a/languages/sureforms-it_IT.mo and b/languages/sureforms-it_IT.mo differ diff --git a/languages/sureforms-it_IT.po b/languages/sureforms-it_IT.po index d75b0b0f6..514a4fe59 100644 --- a/languages/sureforms-it_IT.po +++ b/languages/sureforms-it_IT.po @@ -14,9 +14,9 @@ msgstr "" #. Plugin Name of the plugin #. Author of the plugin #: sureforms.php -#: admin/admin.php:406 -#: admin/admin.php:407 -#: admin/admin.php:1970 +#: admin/admin.php:1052 +#: admin/admin.php:1053 +#: admin/admin.php:2623 #: inc/abilities/abilities-registrar.php:139 #: inc/gutenberg-hooks.php:109 #: inc/page-builders/bricks/elements/form-widget.php:67 @@ -43,8 +43,8 @@ msgstr "Un modo semplice ma potente per creare moduli moderni per il tuo sito we msgid "https://sureforms.com/" msgstr "https://sureforms.com/" -#: admin/admin.php:419 -#: admin/admin.php:420 +#: admin/admin.php:1065 +#: admin/admin.php:1066 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -59,9 +59,9 @@ msgstr "https://sureforms.com/" msgid "Dashboard" msgstr "Cruscotto" -#: admin/admin.php:437 -#: admin/admin.php:438 -#: admin/admin.php:870 +#: admin/admin.php:1083 +#: admin/admin.php:1084 +#: admin/admin.php:1516 #: inc/compatibility/multilingual/string-collector.php:236 #: inc/compatibility/multilingual/string-collector.php:245 #: inc/compatibility/multilingual/string-collector.php:313 @@ -79,15 +79,15 @@ msgstr "Cruscotto" msgid "Settings" msgstr "Impostazioni" -#: admin/admin.php:706 -#: admin/admin.php:707 -#: inc/post-types.php:231 +#: admin/admin.php:1352 +#: admin/admin.php:1353 +#: inc/post-types.php:270 msgid "New Form" msgstr "Nuovo modulo" -#: admin/admin.php:715 -#: admin/admin.php:716 -#: admin/admin.php:2179 +#: admin/admin.php:1361 +#: admin/admin.php:1362 +#: admin/admin.php:2832 #: inc/generate-form-markup.php:203 #: inc/generate-form-markup.php:216 #: inc/global-settings/email-summary.php:225 @@ -105,7 +105,7 @@ msgid "Entries" msgstr "Voci" #. Translators: Post Title. -#: admin/admin.php:958 +#: admin/admin.php:1604 #, php-format msgid "Edit %1$s" msgstr "Modifica %1$s" @@ -126,18 +126,18 @@ msgid "Nonce verification failed." msgstr "Verifica del nonce fallita." #. translators: %1$s: Opening anchor tag with URL, %2$s: Closing anchor tag, %3$s: SureForms Pro Plugin Name. -#: admin/admin.php:1596 +#: admin/admin.php:2242 #, php-format msgid "Please %1$sactivate%2$s your copy of %3$s to get new features, access support, receive update notifications, and more." msgstr "Per favore %1$sattiva%2$s la tua copia di %3$s per ottenere nuove funzionalità, accedere al supporto, ricevere notifiche di aggiornamento e altro ancora." #. translators: %1$s: SureForms version, %2$s: SureForms Pro Plugin Name, %3$s: SureForms Pro Version, %4$s: Anchor tag open, %5$s: Closing anchor tag. -#: admin/admin.php:1614 +#: admin/admin.php:2260 #, php-format msgid "SureForms %1$s requires minimum %2$s %3$s to work properly. Please update to the latest version from %4$shere%5$s." msgstr "SureForms %1$s richiede almeno %2$s %3$s per funzionare correttamente. Si prega di aggiornare all'ultima versione da %4$squi%5$s." -#: admin/admin.php:2178 +#: admin/admin.php:2831 #: inc/global-settings/email-summary.php:224 #: assets/build/entries.js:172 #: assets/build/payments.js:172 @@ -207,7 +207,7 @@ msgstr "Spazzatura" msgid "Published" msgstr "Pubblicato" -#: admin/admin.php:2170 +#: admin/admin.php:2823 msgid "View" msgstr "Visualizza" @@ -299,11 +299,11 @@ msgstr "Nessun plugin specificato" msgid "Plugin Successfully Activated" msgstr "Plugin attivato con successo" -#: admin/admin.php:1030 +#: admin/admin.php:1676 msgid "Activating..." msgstr "Attivazione in corso..." -#: admin/admin.php:1031 +#: admin/admin.php:1677 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/formEditor.js:172 @@ -318,17 +318,17 @@ msgstr "Attivazione in corso..." msgid "Activated" msgstr "Attivato" -#: admin/admin.php:1032 +#: admin/admin.php:1678 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "Activate" msgstr "Attiva" -#: admin/admin.php:1033 +#: admin/admin.php:1679 msgid "Installing..." msgstr "Installazione in corso..." -#: admin/admin.php:1034 +#: admin/admin.php:1680 msgid "Installed" msgstr "Installato" @@ -336,11 +336,11 @@ msgstr "Installato" msgid "You do not have permission to access this page." msgstr "Non hai il permesso di accedere a questa pagina." -#: admin/admin.php:1762 -#: admin/admin.php:1861 -#: admin/admin.php:1899 -#: admin/admin.php:1920 -#: admin/admin.php:2133 +#: admin/admin.php:2408 +#: admin/admin.php:2514 +#: admin/admin.php:2552 +#: admin/admin.php:2573 +#: admin/admin.php:2786 #: inc/admin-ajax.php:162 #: inc/payments/admin/admin-handler.php:638 #: inc/payments/stripe/admin-stripe-handler.php:80 @@ -540,7 +540,7 @@ msgid "Dropdown" msgstr "Menu a tendina" #: inc/fields/dropdown-markup.php:112 -#: inc/gutenberg-hooks.php:223 +#: inc/gutenberg-hooks.php:234 msgid "Select an option" msgstr "Seleziona un'opzione" @@ -560,7 +560,7 @@ msgstr "Conferma" msgid "Confirm %s" msgstr "Conferma %s" -#: inc/gutenberg-hooks.php:222 +#: inc/gutenberg-hooks.php:233 msgid "I consent to have this website store my submitted information so they can respond to my inquiry." msgstr "Acconsento a che questo sito web memorizzi le informazioni che ho inviato in modo che possano rispondere alla mia richiesta." @@ -617,7 +617,7 @@ msgstr "I dati del modulo non sono stati trovati." msgid "Sorry, you are not allowed to view the form." msgstr "Spiacente, non sei autorizzato a visualizzare il modulo." -#: inc/generate-form-markup.php:1102 +#: inc/generate-form-markup.php:1114 msgid "There was an error trying to submit your form. Please try again." msgstr "C'è stato un errore nel tentativo di inviare il modulo. Per favore riprova." @@ -625,7 +625,7 @@ msgstr "C'è stato un errore nel tentativo di inviare il modulo. Per favore ripr msgid "Test Email Sent Successfully." msgstr "Email di prova inviato con successo." -#: inc/post-types.php:238 +#: inc/post-types.php:277 msgid "No forms found." msgstr "Nessun modulo trovato." @@ -666,7 +666,7 @@ msgstr "Il valore deve essere unico." msgid "Sorry, you are not allowed to perform this action." msgstr "Spiacente, non ti è permesso eseguire questa azione." -#: admin/admin.php:1660 +#: admin/admin.php:2306 msgid "Rate SureForms" msgstr "Valuta SureForms" @@ -713,9 +713,10 @@ msgstr "Mostra" msgid "Hide" msgstr "Nascondi" +#: inc/generate-form-markup.php:1444 #: inc/page-builders/elementor/form-widget.php:332 #: inc/post-types.php:95 -#: inc/post-types.php:232 +#: inc/post-types.php:271 #: assets/build/blocks.js:172 msgid "Edit Form" msgstr "Modifica modulo" @@ -726,7 +727,7 @@ msgstr "Modifica modulo" msgid "Edit" msgstr "Modifica" -#: admin/admin.php:2021 +#: admin/admin.php:2674 #: inc/page-builders/elementor/form-widget.php:346 #: assets/build/dashboard.js:2 msgid "Create New Form" @@ -740,32 +741,32 @@ msgstr "Crea" msgid "Import Form" msgstr "Modulo di importazione" -#: inc/post-types.php:230 +#: inc/post-types.php:269 #: assets/build/forms.js:172 msgid "Add New Form" msgstr "Aggiungi nuovo modulo" -#: inc/post-types.php:208 +#: inc/post-types.php:247 msgid "No records found" msgstr "Nessun record trovato" -#: inc/post-types.php:209 +#: inc/post-types.php:248 msgid "This is where your form entries will appear" msgstr "Qui è dove appariranno le voci del tuo modulo" -#: inc/post-types.php:233 +#: inc/post-types.php:272 #: assets/build/forms.js:172 #: assets/build/payments.js:172 msgid "View Form" msgstr "Visualizza modulo" -#: inc/post-types.php:234 +#: inc/post-types.php:273 msgid "View Forms" msgstr "Visualizza moduli" -#: admin/admin.php:697 -#: admin/admin.php:698 -#: inc/post-types.php:235 +#: admin/admin.php:1343 +#: admin/admin.php:1344 +#: inc/post-types.php:274 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -779,30 +780,30 @@ msgstr "Visualizza moduli" msgid "Forms" msgstr "Moduli" -#: inc/post-types.php:236 +#: inc/post-types.php:275 msgid "Search Forms" msgstr "Moduli di ricerca" -#: inc/post-types.php:237 +#: inc/post-types.php:276 msgid "Parent Forms:" msgstr "Moduli genitori:" -#: inc/post-types.php:239 +#: inc/post-types.php:278 msgid "No forms found in Trash." msgstr "Nessun modulo trovato nel Cestino." -#: inc/post-types.php:240 +#: inc/post-types.php:279 msgid "Form published." msgstr "Modulo pubblicato." -#: inc/post-types.php:241 +#: inc/post-types.php:280 msgid "Form updated." msgstr "Modulo aggiornato." #: inc/global-settings/global-settings-defaults.php:166 #: inc/migrator/importers/cf7-importer.php:168 #: inc/migrator/importers/ninja-importer.php:1152 -#: inc/post-types.php:1004 +#: inc/post-types.php:1031 msgid "Admin Notification Email" msgstr "Email di notifica amministrativa" @@ -810,7 +811,7 @@ msgstr "Email di notifica amministrativa" #. translators: %s: {form_title} smart tag placeholder. #: inc/global-settings/global-settings-defaults.php:173 #: inc/global-settings/global-settings.php:588 -#: inc/post-types.php:1011 +#: inc/post-types.php:1038 #: assets/build/settings.js:172 #, php-format,js-format msgid "New Form Submission - %s" @@ -8335,7 +8336,7 @@ msgstr "Modifica modulo" #: inc/blocks/sform/block.php:42 #: inc/page-builders/bricks/elements/form-widget.php:508 #: inc/page-builders/elementor/form-widget.php:827 -#: inc/post-types.php:1324 +#: inc/post-types.php:1351 #: assets/build/blocks.js:172 msgid "This form has been deleted or is unavailable." msgstr "Questo modulo è stato eliminato o non è disponibile." @@ -8886,9 +8887,9 @@ msgstr "Aggiungi blocchi alla barra delle azioni rapide" msgid "Re-arrange block inside Quick Action Bar" msgstr "Riorganizza il blocco all'interno della Barra delle Azioni Rapide" -#: admin/admin.php:490 -#: admin/admin.php:491 -#: admin/admin.php:2403 +#: admin/admin.php:1136 +#: admin/admin.php:1137 +#: admin/admin.php:3248 #: assets/build/blocks.js:172 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 @@ -9260,7 +9261,7 @@ msgstr "Centro" msgid "Right" msgstr "Destra" -#: inc/form-submit.php:1215 +#: inc/form-submit.php:1216 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "Google reCAPTCHA" @@ -9270,7 +9271,7 @@ msgstr "Google reCAPTCHA" msgid "CloudFlare Turnstile" msgstr "CloudFlare Turnstile" -#: inc/form-submit.php:1219 +#: inc/form-submit.php:1220 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "hCaptcha" @@ -9331,7 +9332,7 @@ msgstr "Precedente" #: inc/global-settings/global-settings.php:530 #: inc/migrator/base-migrator.php:548 -#: inc/post-types.php:1087 +#: inc/post-types.php:1114 #: assets/build/formEditor.js:172 msgid "Thank you" msgstr "Grazie" @@ -9566,7 +9567,7 @@ msgstr "Chiave del sito" msgid "Secret Key" msgstr "Chiave segreta" -#: inc/form-submit.php:1223 +#: inc/form-submit.php:1224 #: assets/build/settings.js:172 msgid "Cloudflare Turnstile" msgstr "Cloudflare Turnstile" @@ -10616,7 +10617,7 @@ msgstr "Sblocca moduli conversazionali" msgid "With the SureForms Pro Plan, you can transform your forms into engaging conversational layouts for a seamless user experience." msgstr "Con il piano SureForms Pro, puoi trasformare i tuoi moduli in layout conversazionali coinvolgenti per un'esperienza utente senza interruzioni." -#: admin/admin.php:329 +#: admin/admin.php:975 msgid "Get SureForms Pro" msgstr "Ottieni SureForms Pro" @@ -10828,24 +10829,24 @@ msgstr "Seleziona sfumatura" msgid "reCAPTCHA" msgstr "reCAPTCHA" -#: inc/form-submit.php:1159 +#: inc/form-submit.php:1160 msgid "Captcha validation failed. No error code provided." msgstr "La validazione del captcha non è riuscita. Nessun codice di errore fornito." -#: inc/form-submit.php:1160 +#: inc/form-submit.php:1161 msgid "Captcha validation failed." msgstr "La validazione del captcha è fallita." -#: inc/form-submit.php:1227 +#: inc/form-submit.php:1228 msgid "Unknown Captcha" msgstr "Captcha sconosciuto" -#: inc/form-submit.php:1228 +#: inc/form-submit.php:1229 msgid "Invalid captcha type." msgstr "Tipo di captcha non valido." #. translators: %s is the captcha title. -#: inc/form-submit.php:1241 +#: inc/form-submit.php:1242 #, php-format msgid "%s verification failed. Please contact your site administrator." msgstr "La verifica di %s non è riuscita. Si prega di contattare l'amministratore del sito." @@ -11242,8 +11243,8 @@ msgstr "Descrivi il modulo che desideri creare" msgid "We are building your form…" msgstr "Stiamo creando il tuo modulo…" -#: admin/admin.php:605 -#: admin/admin.php:606 +#: admin/admin.php:1251 +#: admin/admin.php:1252 msgid "SMTP" msgstr "SMTP" @@ -11375,29 +11376,29 @@ msgstr "Abilita la Notifica Amministratore" msgid "Admin notifications keep you informed about new form entries since your last visit." msgstr "Le notifiche dell'amministratore ti tengono informato sui nuovi invii di moduli dalla tua ultima visita." -#: admin/admin.php:1766 -#: admin/admin.php:1857 -#: admin/admin.php:1895 -#: admin/admin.php:1916 -#: admin/admin.php:2137 +#: admin/admin.php:2412 +#: admin/admin.php:2510 +#: admin/admin.php:2548 +#: admin/admin.php:2569 +#: admin/admin.php:2790 msgid "Unauthorized user." msgstr "Utente non autorizzato." #. translators: 1: opening span, 2: opening strong (inline), 3: closing strong, 4: closing span, 5: opening strong (block), 6: closing strong -#: admin/admin.php:1866 +#: admin/admin.php:2519 #, php-format msgid "%1$sGet started by %2$sbuilding your first form%3$s.%4$s%5$sExperience the power of our intuitive AI Form Builder%6$s" msgstr "%1$sInizia %2$scostruendo il tuo primo modulo%3$s.%4$s%5$sScopri la potenza del nostro intuitivo Costruttore di Moduli AI%6$s" -#: admin/admin.php:1877 +#: admin/admin.php:2530 msgid "SureForms is waiting for you!" msgstr "SureForms ti sta aspettando!" -#: admin/admin.php:1879 +#: admin/admin.php:2532 msgid "Build My First Form" msgstr "Crea il mio primo modulo" -#: admin/admin.php:1880 +#: admin/admin.php:2533 msgid "Dismiss" msgstr "Chiudi" @@ -11417,51 +11418,51 @@ msgstr "Accesso" msgid "Register" msgstr "Registrati" -#: admin/admin.php:2166 +#: admin/admin.php:2819 msgid "Recent Entries" msgstr "Voci recenti" -#: admin/admin.php:2167 +#: admin/admin.php:2820 msgid "( Last 7 days )" msgstr "( Ultimi 7 giorni )" -#: admin/admin.php:2344 +#: admin/admin.php:3189 msgid "Use Conditional Logic to show only what matters" msgstr "Usa la logica condizionale per mostrare solo ciò che conta" -#: admin/admin.php:2345 +#: admin/admin.php:3190 msgid "Split your form into steps to keep it easy" msgstr "Dividi il tuo modulo in passaggi per mantenerlo semplice" -#: admin/admin.php:2346 +#: admin/admin.php:3191 msgid "Let people upload files directly to your form" msgstr "Consenti alle persone di caricare file direttamente nel tuo modulo" -#: admin/admin.php:2347 +#: admin/admin.php:3192 msgid "Turn responses into downloadable PDFs automatically" msgstr "Trasforma automaticamente le risposte in PDF scaricabili" -#: admin/admin.php:2348 +#: admin/admin.php:3193 msgid "Let users sign with a simple signature field" msgstr "Consenti agli utenti di firmare con un semplice campo firma" -#: admin/admin.php:2349 +#: admin/admin.php:3194 msgid "Connect your form to other tools using webhooks" msgstr "Collega il tuo modulo ad altri strumenti utilizzando i webhook" -#: admin/admin.php:2350 +#: admin/admin.php:3195 msgid "Use Conversational Forms for a chat-like experience" msgstr "Usa moduli conversazionali per un'esperienza simile a una chat" -#: admin/admin.php:2351 +#: admin/admin.php:3196 msgid "Let users register or log in through your form" msgstr "Consenti agli utenti di registrarsi o accedere tramite il tuo modulo" -#: admin/admin.php:2352 +#: admin/admin.php:3197 msgid "Build forms that create WordPress user accounts" msgstr "Crea moduli che creano account utente WordPress" -#: admin/admin.php:2353 +#: admin/admin.php:3198 msgid "Add calculations to auto-total scores or prices" msgstr "Aggiungi calcoli per totalizzare automaticamente i punteggi o i prezzi" @@ -11883,7 +11884,7 @@ msgstr "Esplora SureDash" msgid "Something went wrong. We have logged the error for further investigation" msgstr "Qualcosa è andato storto. Abbiamo registrato l'errore per ulteriori indagini." -#: inc/field-validation.php:410 +#: inc/field-validation.php:413 msgid "Field is not valid." msgstr "Il campo non è valido." @@ -11951,8 +11952,8 @@ msgstr "Miniatura video di SureForms" msgid "Expected format for emails - email@sureforms.com or John Doe " msgstr "Formato previsto per le email - email@sureforms.com o John Doe " -#: admin/admin.php:725 -#: admin/admin.php:726 +#: admin/admin.php:1371 +#: admin/admin.php:1372 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -12330,7 +12331,7 @@ msgstr "Sconosciuto" #: inc/payments/admin/admin-handler.php:1505 #: inc/payments/admin/admin-handler.php:1509 #: inc/payments/front-end.php:872 -#: inc/payments/front-end.php:1316 +#: inc/payments/front-end.php:1317 msgid "Guest User" msgstr "Utente Ospite" @@ -12356,7 +12357,7 @@ msgstr "Stripe non è connesso." #: inc/payments/front-end.php:122 #: inc/payments/front-end.php:348 #: inc/payments/front-end.php:641 -#: inc/payments/front-end.php:1195 +#: inc/payments/front-end.php:1196 msgid "Stripe secret key not found." msgstr "Chiave segreta di Stripe non trovata." @@ -12465,7 +12466,7 @@ msgstr "Abbonamento non trovato per il pagamento." #. translators: %d: User ID #: inc/payments/front-end.php:870 -#: inc/payments/front-end.php:1316 +#: inc/payments/front-end.php:1317 #, php-format msgid "User ID: %d" msgstr "ID utente: %d" @@ -12499,7 +12500,7 @@ msgstr "ID di abbonamento: %s" #. translators: %s: payment gateway #. translators: %s: Payment gateway name (e.g., Stripe). #: inc/payments/front-end.php:891 -#: inc/payments/front-end.php:1327 +#: inc/payments/front-end.php:1328 #: inc/payments/stripe/admin-stripe-handler.php:190 #: inc/payments/stripe/admin-stripe-handler.php:492 #: inc/payments/stripe/admin-stripe-handler.php:667 @@ -12544,7 +12545,7 @@ msgstr "ID cliente: %s" #. translators: 1: Amount, 2: Currency #. translators: %1$s: amount, %2$s: currency. #: inc/payments/front-end.php:901 -#: inc/payments/front-end.php:1329 +#: inc/payments/front-end.php:1330 #: inc/payments/stripe/stripe-webhook.php:1089 #: inc/payments/stripe/stripe-webhook.php:1166 #, php-format @@ -12554,7 +12555,7 @@ msgstr "Importo: %1$s %2$s" #. translators: %s: Payment mode (e.g. Live or Test) #. translators: %s: payment mode #: inc/payments/front-end.php:904 -#: inc/payments/front-end.php:1334 +#: inc/payments/front-end.php:1335 #, php-format msgid "Mode: %s" msgstr "Modalità: %s" @@ -12563,24 +12564,24 @@ msgstr "Modalità: %s" msgid "Failed to verify subscription." msgstr "Verifica dell'abbonamento non riuscita." -#: inc/payments/front-end.php:1228 -#: inc/payments/front-end.php:1246 -#: inc/payments/front-end.php:1254 -#: inc/payments/front-end.php:1261 +#: inc/payments/front-end.php:1229 +#: inc/payments/front-end.php:1247 +#: inc/payments/front-end.php:1255 +#: inc/payments/front-end.php:1262 msgid "Failed to retrieve payment intent." msgstr "Impossibile recuperare l'intento di pagamento." -#: inc/payments/front-end.php:1269 +#: inc/payments/front-end.php:1270 msgid "Payment was not confirmed successfully." msgstr "Il pagamento non è stato confermato con successo." -#: inc/payments/front-end.php:1321 +#: inc/payments/front-end.php:1322 msgid "Payment Verification" msgstr "Verifica del pagamento" #. translators: %s: Stripe transaction ID #. translators: %s: Charge ID -#: inc/payments/front-end.php:1325 +#: inc/payments/front-end.php:1326 #: inc/payments/stripe/stripe-webhook.php:1162 #, php-format msgid "Transaction ID: %s" @@ -12588,18 +12589,18 @@ msgstr "ID transazione: %s" #. translators: %s: payment status #. translators: %s: Status -#: inc/payments/front-end.php:1331 +#: inc/payments/front-end.php:1332 #: inc/payments/stripe/stripe-webhook.php:576 #: inc/payments/stripe/stripe-webhook.php:1168 #, php-format msgid "Status: %s" msgstr "Stato: %s" -#: inc/payments/front-end.php:1437 +#: inc/payments/front-end.php:1438 msgid "Failed to create Stripe customer." msgstr "Creazione del cliente Stripe non riuscita." -#: inc/payments/front-end.php:1501 +#: inc/payments/front-end.php:1502 msgid "Failed to create Stripe guest customer." msgstr "Impossibile creare un cliente ospite di Stripe." @@ -13466,7 +13467,7 @@ msgstr "Modifica questo modulo" #: inc/global-settings/global-settings.php:531 #: inc/migrator/base-migrator.php:549 -#: inc/post-types.php:1087 +#: inc/post-types.php:1114 msgid "Your form has been submitted successfully. We'll review your details and get back to you soon." msgstr "Il tuo modulo è stato inviato con successo. Esamineremo i tuoi dettagli e ti ricontatteremo presto." @@ -15163,7 +15164,7 @@ msgstr "È richiesto il valore del campo importo variabile." msgid "Payment amount below minimum. Minimum: %1$s, received %2$s." msgstr "Importo del pagamento inferiore al minimo. Minimo: %1$s, ricevuto %2$s." -#: inc/rest-api.php:1853 +#: inc/rest-api.php:1876 msgid " (Copy)" msgstr "(Copia)" @@ -15362,12 +15363,12 @@ msgid "Stripe Settings" msgstr "Impostazioni di Stripe" #. translators: %1$s: SureForms version, %2$s: SureForms Pro Plugin Name, %3$s: SureForms Pro Version. -#: admin/admin.php:1531 +#: admin/admin.php:2177 #, php-format msgid "SureForms %1$s requires minimum %2$s %3$s to work properly. Please update to the latest version." msgstr "SureForms %1$s richiede almeno %2$s %3$s per funzionare correttamente. Si prega di aggiornare all'ultima versione." -#: admin/admin.php:1544 +#: admin/admin.php:2190 msgid "Update Now" msgstr "Aggiorna ora" @@ -15415,8 +15416,8 @@ msgstr "Posizione del simbolo di valuta" msgid "Select the position of the currency symbol relative to the amount." msgstr "Seleziona la posizione del simbolo della valuta rispetto all'importo." -#: admin/admin.php:668 -#: admin/admin.php:669 +#: admin/admin.php:1314 +#: admin/admin.php:1315 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -15430,40 +15431,40 @@ msgstr "Seleziona la posizione del simbolo della valuta rispetto all'importo." msgid "Learn" msgstr "Impara" -#: admin/admin.php:1657 +#: admin/admin.php:2303 msgid "Amazing! SureForms is powering your forms and submissions - let's keep growing together!" msgstr "Incredibile! SureForms sta alimentando i tuoi moduli e le tue sottomissioni - continuiamo a crescere insieme!" -#: admin/admin.php:1658 +#: admin/admin.php:2304 msgid "If SureForms has been helpful, would you mind taking a moment to leave a 5-star review on WordPress.org?" msgstr "Se SureForms ti è stato utile, ti dispiacerebbe prendere un momento per lasciare una recensione a 5 stelle su WordPress.org?" -#: admin/admin.php:1661 -#: admin/admin.php:1705 +#: admin/admin.php:2307 +#: admin/admin.php:2351 msgid "Maybe later" msgstr "Forse più tardi" -#: admin/admin.php:1662 +#: admin/admin.php:2308 msgid "I already did" msgstr "L'ho già fatto" -#: admin/admin.php:1701 +#: admin/admin.php:2347 msgid "SureForms is ready to power your forms — explore what's possible!" msgstr "SureForms è pronto a potenziare i tuoi moduli — scopri cosa è possibile!" -#: admin/admin.php:1702 +#: admin/admin.php:2348 msgid "Manage your forms, track submissions, and discover features like AI Form Builder, payment integrations, and more from the SureForms dashboard." msgstr "Gestisci i tuoi moduli, traccia le sottomissioni e scopri funzionalità come AI Form Builder, integrazioni di pagamento e altro ancora dalla dashboard di SureForms." -#: admin/admin.php:1704 +#: admin/admin.php:2350 msgid "Go to Dashboard" msgstr "Vai al cruscotto" -#: admin/admin.php:1706 +#: admin/admin.php:2352 msgid "I already know" msgstr "Lo so già" -#: admin/admin.php:1786 +#: admin/admin.php:2439 msgid "Invalid parameters." msgstr "Parametri non validi." @@ -15841,8 +15842,8 @@ msgstr "Campo di testo" #: inc/form-restriction.php:183 #: inc/form-restriction.php:184 -#: inc/post-types.php:1230 -#: inc/post-types.php:1270 +#: inc/post-types.php:1257 +#: inc/post-types.php:1297 msgid "This form is not yet available. Check back after the scheduled start time." msgstr "Questo modulo non è ancora disponibile. Ricontrolla dopo l'orario di inizio programmato." @@ -16126,8 +16127,8 @@ msgstr "Impossibile eliminare il webhook." msgid "Unable to connect to Stripe." msgstr "Impossibile connettersi a Stripe." -#: inc/post-types.php:1231 -#: inc/post-types.php:1271 +#: inc/post-types.php:1258 +#: inc/post-types.php:1298 msgid "This form is closed. The submission period has ended." msgstr "Questo modulo è chiuso. Il periodo di invio è terminato." @@ -16797,19 +16798,19 @@ msgstr "Segreto del webhook non configurato." msgid "Invalid webhook signature." msgstr "Firma del webhook non valida." -#: admin/admin.php:507 -#: admin/admin.php:1101 +#: admin/admin.php:1153 +#: admin/admin.php:1747 #: assets/build/formEditor.js:172 msgid "Quizzes" msgstr "Quiz" -#: admin/admin.php:506 +#: admin/admin.php:1152 msgid "Quiz Entries" msgstr "Voci del quiz" -#: admin/admin.php:509 -#: admin/admin.php:542 -#: admin/admin.php:575 +#: admin/admin.php:1155 +#: admin/admin.php:1188 +#: admin/admin.php:1221 #: assets/build/settings.js:172 msgid "New" msgstr "Nuovo" @@ -17327,9 +17328,9 @@ msgstr "Perfetto per l'istruzione, la formazione e i quiz divertenti" msgid "Select this to create a quiz with scored questions and graded results." msgstr "Seleziona questo per creare un quiz con domande a punteggio e risultati valutati." -#: admin/admin.php:539 -#: admin/admin.php:540 -#: admin/admin.php:1106 +#: admin/admin.php:1185 +#: admin/admin.php:1186 +#: admin/admin.php:1752 msgid "Survey Reports" msgstr "Rapporti di indagine" @@ -17735,7 +17736,7 @@ msgid "Error creating SureForms Form." msgstr "Errore nella creazione del modulo SureForms." #. translators: %s represents the minimum number of characters required -#: inc/field-validation.php:423 +#: inc/field-validation.php:426 #: inc/translatable.php:94 #, php-format msgid "Please enter at least %s characters." @@ -17893,9 +17894,9 @@ msgstr "La risposta dell'IA era vuota. Per favore, perfeziona il tuo prompt e ri msgid "Unable to build form fields from the AI response." msgstr "Impossibile creare i campi del modulo dalla risposta dell'AI." -#: admin/admin.php:572 -#: admin/admin.php:573 -#: admin/admin.php:1111 +#: admin/admin.php:1218 +#: admin/admin.php:1219 +#: admin/admin.php:1757 msgid "Partial Entries" msgstr "Voci parziali" @@ -18766,23 +18767,23 @@ msgstr "L'importo del pagamento non può essere verificato per questo modulo. Mo msgid "Cancellation is not supported for this payment gateway." msgstr "La cancellazione non è supportata per questo gateway di pagamento." -#: admin/admin.php:1988 +#: admin/admin.php:2641 msgid "SureForms AI Quick Draft" msgstr "SureForms AI Bozza Rapida" -#: admin/admin.php:2007 +#: admin/admin.php:2660 msgid "Describe the form and let SureForms AI generate it for you." msgstr "Descrivi il modulo e lascia che SureForms AI lo generi per te." -#: admin/admin.php:2010 +#: admin/admin.php:2663 msgid "Describe your form" msgstr "Descrivi il tuo modulo" -#: admin/admin.php:2017 +#: admin/admin.php:2670 msgid "Example: Create a contact form with name, email, phone, and message fields." msgstr "Esempio: Crea un modulo di contatto con campi per nome, email, telefono e messaggio." -#: admin/admin.php:2058 +#: admin/admin.php:2711 msgid "Redirecting..." msgstr "Reindirizzamento in corso..." @@ -18795,14 +18796,14 @@ msgid "The prompt is too long. Please shorten it and try again." msgstr "Il prompt è troppo lungo. Per favore accorcialo e riprova." #. translators: %s: maximum characters allowed before the @ symbol. -#: inc/field-validation.php:445 +#: inc/field-validation.php:448 #: inc/translatable.php:97 #, php-format msgid "The part before @ may not exceed %s characters." msgstr "La parte prima di @ non può superare %s caratteri." #. translators: %s: maximum characters allowed after the @ symbol. -#: inc/field-validation.php:451 +#: inc/field-validation.php:454 #: inc/translatable.php:100 #, php-format msgid "The part after @ may not exceed %s characters." @@ -18889,22 +18890,97 @@ msgstr "Spiacente, non sei autorizzato a visualizzare questo modulo." msgid "This form requires a payment. Please complete the payment and submit again." msgstr "Questo modulo richiede un pagamento. Si prega di completare il pagamento e inviare di nuovo." -#: inc/post-types.php:226 +#: admin/admin.php:474 +msgid "You are not allowed to update this prompt." +msgstr "Non sei autorizzato ad aggiornare questo prompt." + +#: admin/admin.php:517 +msgid "Finish setting up your form" +msgstr "Completa la configurazione del tuo modulo" + +#: admin/admin.php:549 +msgid "Review or edit your form" +msgstr "Rivedi o modifica il tuo modulo" + +#: admin/admin.php:550 +#: admin/admin.php:3038 +msgid "Edit form" +msgstr "Modifica modulo" + +#: admin/admin.php:555 +msgid "Personalize the Thank You message" +msgstr "Personalizza il messaggio di ringraziamento" + +#: admin/admin.php:556 +msgid "Edit message" +msgstr "Modifica messaggio" + +#: admin/admin.php:561 +msgid "Choose who gets notified of new replies" +msgstr "Scegli chi riceve notifiche di nuove risposte" + +#: admin/admin.php:562 +msgid "Set up email" +msgstr "Configura email" + +#: admin/admin.php:570 +msgid "your form" +msgstr "il tuo modulo" + +#. translators: %s: form title. +#: admin/admin.php:573 +#, php-format +msgid "Finish setting up %s" +msgstr "Completa la configurazione di %s" + +#. translators: %s: form title. +#: admin/admin.php:581 +#, php-format +msgid "View %s (opens in a new tab)" +msgstr "Visualizza %s (si apre in una nuova scheda)" + +#: admin/admin.php:586 +msgid "Customize your form to get it ready for real submissions:" +msgstr "Personalizza il tuo modulo per prepararlo a ricevere invii reali:" + +#: admin/admin.php:3021 +msgid "We’ve already created this form for you. Finish customising it so it’s ready to collect real submissions." +msgstr "Abbiamo già creato questo modulo per te. Completa la personalizzazione in modo che sia pronto a raccogliere invii reali." + +#. translators: %s: form name. +#: admin/admin.php:3030 +#, php-format +msgid "Finish setting up “%s”" +msgstr "Completa la configurazione di “%s”" + +#: admin/admin.php:3039 +msgid "Edit the Thank You message" +msgstr "Modifica il messaggio di ringraziamento" + +#: admin/admin.php:3040 +msgid "Set where replies go" +msgstr "Imposta dove vanno le risposte" + +#: inc/generate-form-markup.php:1445 +msgid "(opens in a new tab)" +msgstr "(si apre in una nuova scheda)" + +#: inc/post-types.php:265 msgctxt "post type general name" msgid "Forms" msgstr "Moduli" -#: inc/post-types.php:227 +#: inc/post-types.php:266 msgctxt "post type singular name" msgid "Form" msgstr "Modulo" -#: inc/post-types.php:228 +#: inc/post-types.php:267 msgctxt "admin menu" msgid "Forms" msgstr "Moduli" -#: inc/post-types.php:229 +#: inc/post-types.php:268 msgctxt "form" msgid "Add New" msgstr "Aggiungi nuovo" diff --git a/languages/sureforms-nl_NL.mo b/languages/sureforms-nl_NL.mo index 8abb6867f..d0af99322 100644 Binary files a/languages/sureforms-nl_NL.mo and b/languages/sureforms-nl_NL.mo differ diff --git a/languages/sureforms-nl_NL.po b/languages/sureforms-nl_NL.po index 12734e51e..504d5ed40 100644 --- a/languages/sureforms-nl_NL.po +++ b/languages/sureforms-nl_NL.po @@ -14,9 +14,9 @@ msgstr "" #. Plugin Name of the plugin #. Author of the plugin #: sureforms.php -#: admin/admin.php:406 -#: admin/admin.php:407 -#: admin/admin.php:1970 +#: admin/admin.php:1052 +#: admin/admin.php:1053 +#: admin/admin.php:2623 #: inc/abilities/abilities-registrar.php:139 #: inc/gutenberg-hooks.php:109 #: inc/page-builders/bricks/elements/form-widget.php:67 @@ -43,8 +43,8 @@ msgstr "Een eenvoudige maar krachtige manier om moderne formulieren voor uw webs msgid "https://sureforms.com/" msgstr "https://sureforms.com/" -#: admin/admin.php:419 -#: admin/admin.php:420 +#: admin/admin.php:1065 +#: admin/admin.php:1066 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -59,9 +59,9 @@ msgstr "https://sureforms.com/" msgid "Dashboard" msgstr "Dashboard" -#: admin/admin.php:437 -#: admin/admin.php:438 -#: admin/admin.php:870 +#: admin/admin.php:1083 +#: admin/admin.php:1084 +#: admin/admin.php:1516 #: inc/compatibility/multilingual/string-collector.php:236 #: inc/compatibility/multilingual/string-collector.php:245 #: inc/compatibility/multilingual/string-collector.php:313 @@ -79,15 +79,15 @@ msgstr "Dashboard" msgid "Settings" msgstr "Instellingen" -#: admin/admin.php:706 -#: admin/admin.php:707 -#: inc/post-types.php:231 +#: admin/admin.php:1352 +#: admin/admin.php:1353 +#: inc/post-types.php:270 msgid "New Form" msgstr "Nieuw formulier" -#: admin/admin.php:715 -#: admin/admin.php:716 -#: admin/admin.php:2179 +#: admin/admin.php:1361 +#: admin/admin.php:1362 +#: admin/admin.php:2832 #: inc/generate-form-markup.php:203 #: inc/generate-form-markup.php:216 #: inc/global-settings/email-summary.php:225 @@ -105,7 +105,7 @@ msgid "Entries" msgstr "Inzendingen" #. Translators: Post Title. -#: admin/admin.php:958 +#: admin/admin.php:1604 #, php-format msgid "Edit %1$s" msgstr "Bewerk %1$s" @@ -126,12 +126,12 @@ msgid "Nonce verification failed." msgstr "Verificatie van nonce mislukt." #. translators: %1$s: Opening anchor tag with URL, %2$s: Closing anchor tag, %3$s: SureForms Pro Plugin Name. -#: admin/admin.php:1596 +#: admin/admin.php:2242 #, php-format msgid "Please %1$sactivate%2$s your copy of %3$s to get new features, access support, receive update notifications, and more." msgstr "Gelieve %1$suw exemplaar van %3$s te activeren%2$s om nieuwe functies te krijgen, toegang tot ondersteuning, update-meldingen te ontvangen en meer." -#: admin/admin.php:2178 +#: admin/admin.php:2831 #: inc/global-settings/email-summary.php:224 #: assets/build/entries.js:172 #: assets/build/payments.js:172 @@ -201,7 +201,7 @@ msgstr "Afval" msgid "Published" msgstr "Gepubliceerd" -#: admin/admin.php:2170 +#: admin/admin.php:2823 msgid "View" msgstr "Bekijken" @@ -288,11 +288,11 @@ msgstr "Geen plugin opgegeven" msgid "Plugin Successfully Activated" msgstr "Plugin succesvol geactiveerd" -#: admin/admin.php:1030 +#: admin/admin.php:1676 msgid "Activating..." msgstr "Activeren..." -#: admin/admin.php:1031 +#: admin/admin.php:1677 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/formEditor.js:172 @@ -307,17 +307,17 @@ msgstr "Activeren..." msgid "Activated" msgstr "Geactiveerd" -#: admin/admin.php:1032 +#: admin/admin.php:1678 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "Activate" msgstr "Activeren" -#: admin/admin.php:1033 +#: admin/admin.php:1679 msgid "Installing..." msgstr "Installeren..." -#: admin/admin.php:1034 +#: admin/admin.php:1680 msgid "Installed" msgstr "Geïnstalleerd" @@ -325,11 +325,11 @@ msgstr "Geïnstalleerd" msgid "You do not have permission to access this page." msgstr "U heeft geen toestemming om deze pagina te openen." -#: admin/admin.php:1762 -#: admin/admin.php:1861 -#: admin/admin.php:1899 -#: admin/admin.php:1920 -#: admin/admin.php:2133 +#: admin/admin.php:2408 +#: admin/admin.php:2514 +#: admin/admin.php:2552 +#: admin/admin.php:2573 +#: admin/admin.php:2786 #: inc/admin-ajax.php:162 #: inc/payments/admin/admin-handler.php:638 #: inc/payments/stripe/admin-stripe-handler.php:80 @@ -529,7 +529,7 @@ msgid "Dropdown" msgstr "Keuzemenu" #: inc/fields/dropdown-markup.php:112 -#: inc/gutenberg-hooks.php:223 +#: inc/gutenberg-hooks.php:234 msgid "Select an option" msgstr "Selecteer een optie" @@ -549,7 +549,7 @@ msgstr "Bevestigen" msgid "Confirm %s" msgstr "Bevestig %s" -#: inc/gutenberg-hooks.php:222 +#: inc/gutenberg-hooks.php:233 msgid "I consent to have this website store my submitted information so they can respond to my inquiry." msgstr "Ik geef toestemming aan deze website om mijn ingediende informatie op te slaan zodat ze op mijn vraag kunnen reageren." @@ -606,7 +606,7 @@ msgstr "Formuliergegevens zijn niet gevonden." msgid "Sorry, you are not allowed to view the form." msgstr "Sorry, je mag het formulier niet bekijken." -#: inc/generate-form-markup.php:1102 +#: inc/generate-form-markup.php:1114 msgid "There was an error trying to submit your form. Please try again." msgstr "Er is een fout opgetreden bij het indienen van uw formulier. Probeer het alstublieft opnieuw." @@ -614,7 +614,7 @@ msgstr "Er is een fout opgetreden bij het indienen van uw formulier. Probeer het msgid "Test Email Sent Successfully." msgstr "Test-e-mail succesvol verzonden." -#: inc/post-types.php:238 +#: inc/post-types.php:277 msgid "No forms found." msgstr "Geen formulieren gevonden." @@ -698,9 +698,10 @@ msgstr "Tonen" msgid "Hide" msgstr "Verbergen" +#: inc/generate-form-markup.php:1444 #: inc/page-builders/elementor/form-widget.php:332 #: inc/post-types.php:95 -#: inc/post-types.php:232 +#: inc/post-types.php:271 #: assets/build/blocks.js:172 msgid "Edit Form" msgstr "Formulier bewerken" @@ -711,7 +712,7 @@ msgstr "Formulier bewerken" msgid "Edit" msgstr "Bewerken" -#: admin/admin.php:2021 +#: admin/admin.php:2674 #: inc/page-builders/elementor/form-widget.php:346 #: assets/build/dashboard.js:2 msgid "Create New Form" @@ -725,32 +726,32 @@ msgstr "Maken" msgid "Import Form" msgstr "Importformulier" -#: inc/post-types.php:230 +#: inc/post-types.php:269 #: assets/build/forms.js:172 msgid "Add New Form" msgstr "Nieuw formulier toevoegen" -#: inc/post-types.php:208 +#: inc/post-types.php:247 msgid "No records found" msgstr "Geen records gevonden" -#: inc/post-types.php:209 +#: inc/post-types.php:248 msgid "This is where your form entries will appear" msgstr "Hier verschijnen uw formulierinvoeren" -#: inc/post-types.php:233 +#: inc/post-types.php:272 #: assets/build/forms.js:172 #: assets/build/payments.js:172 msgid "View Form" msgstr "Formulier bekijken" -#: inc/post-types.php:234 +#: inc/post-types.php:273 msgid "View Forms" msgstr "Formulieren bekijken" -#: admin/admin.php:697 -#: admin/admin.php:698 -#: inc/post-types.php:235 +#: admin/admin.php:1343 +#: admin/admin.php:1344 +#: inc/post-types.php:274 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -764,30 +765,30 @@ msgstr "Formulieren bekijken" msgid "Forms" msgstr "Formulieren" -#: inc/post-types.php:236 +#: inc/post-types.php:275 msgid "Search Forms" msgstr "Zoekformulieren" -#: inc/post-types.php:237 +#: inc/post-types.php:276 msgid "Parent Forms:" msgstr "Ouderformulieren:" -#: inc/post-types.php:239 +#: inc/post-types.php:278 msgid "No forms found in Trash." msgstr "Geen formulieren gevonden in de prullenbak." -#: inc/post-types.php:240 +#: inc/post-types.php:279 msgid "Form published." msgstr "Formulier gepubliceerd." -#: inc/post-types.php:241 +#: inc/post-types.php:280 msgid "Form updated." msgstr "Formulier bijgewerkt." #: inc/global-settings/global-settings-defaults.php:166 #: inc/migrator/importers/cf7-importer.php:168 #: inc/migrator/importers/ninja-importer.php:1152 -#: inc/post-types.php:1004 +#: inc/post-types.php:1031 msgid "Admin Notification Email" msgstr "Beheerdersmelding E-mail" @@ -795,7 +796,7 @@ msgstr "Beheerdersmelding E-mail" #. translators: %s: {form_title} smart tag placeholder. #: inc/global-settings/global-settings-defaults.php:173 #: inc/global-settings/global-settings.php:588 -#: inc/post-types.php:1011 +#: inc/post-types.php:1038 #: assets/build/settings.js:172 #, php-format,js-format msgid "New Form Submission - %s" @@ -8320,7 +8321,7 @@ msgstr "Formulier wijzigen" #: inc/blocks/sform/block.php:42 #: inc/page-builders/bricks/elements/form-widget.php:508 #: inc/page-builders/elementor/form-widget.php:827 -#: inc/post-types.php:1324 +#: inc/post-types.php:1351 #: assets/build/blocks.js:172 msgid "This form has been deleted or is unavailable." msgstr "Dit formulier is verwijderd of is niet beschikbaar." @@ -8871,9 +8872,9 @@ msgstr "Blokken toevoegen aan de Snelle Actiebalk" msgid "Re-arrange block inside Quick Action Bar" msgstr "Blok herschikken in de Snelle Actiebalk" -#: admin/admin.php:490 -#: admin/admin.php:491 -#: admin/admin.php:2403 +#: admin/admin.php:1136 +#: admin/admin.php:1137 +#: admin/admin.php:3248 #: assets/build/blocks.js:172 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 @@ -9245,7 +9246,7 @@ msgstr "Centrum" msgid "Right" msgstr "Rechts" -#: inc/form-submit.php:1215 +#: inc/form-submit.php:1216 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "Google reCAPTCHA" @@ -9255,7 +9256,7 @@ msgstr "Google reCAPTCHA" msgid "CloudFlare Turnstile" msgstr "CloudFlare Turnstile" -#: inc/form-submit.php:1219 +#: inc/form-submit.php:1220 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "hCaptcha" @@ -9316,7 +9317,7 @@ msgstr "Vorige" #: inc/global-settings/global-settings.php:530 #: inc/migrator/base-migrator.php:548 -#: inc/post-types.php:1087 +#: inc/post-types.php:1114 #: assets/build/formEditor.js:172 msgid "Thank you" msgstr "Dank je" @@ -9533,7 +9534,7 @@ msgstr "Sitecode" msgid "Secret Key" msgstr "Geheime Sleutel" -#: inc/form-submit.php:1223 +#: inc/form-submit.php:1224 #: assets/build/settings.js:172 msgid "Cloudflare Turnstile" msgstr "Cloudflare Turnstile" @@ -10484,7 +10485,7 @@ msgid "icon" msgstr "icoon" #. translators: %1$s: SureForms version, %2$s: SureForms Pro Plugin Name, %3$s: SureForms Pro Version, %4$s: Anchor tag open, %5$s: Closing anchor tag. -#: admin/admin.php:1614 +#: admin/admin.php:2260 #, php-format msgid "SureForms %1$s requires minimum %2$s %3$s to work properly. Please update to the latest version from %4$shere%5$s." msgstr "SureForms %1$s vereist minimaal %2$s %3$s om goed te functioneren. Werk alstublieft bij naar de nieuwste versie van %4$shier%5$s." @@ -10506,7 +10507,7 @@ msgstr "IP-logboek" msgid "Honeypot" msgstr "Honeypot" -#: admin/admin.php:1660 +#: admin/admin.php:2306 msgid "Rate SureForms" msgstr "Beoordeel SureForms" @@ -10616,7 +10617,7 @@ msgstr "Ontgrendel Gespreksformulieren" msgid "With the SureForms Pro Plan, you can transform your forms into engaging conversational layouts for a seamless user experience." msgstr "Met het SureForms Pro Plan kun je je formulieren omzetten in boeiende, conversatiegerichte lay-outs voor een naadloze gebruikerservaring." -#: admin/admin.php:329 +#: admin/admin.php:975 msgid "Get SureForms Pro" msgstr "Verkrijg SureForms Pro" @@ -10828,24 +10829,24 @@ msgstr "Selecteer verloop" msgid "reCAPTCHA" msgstr "reCAPTCHA" -#: inc/form-submit.php:1159 +#: inc/form-submit.php:1160 msgid "Captcha validation failed. No error code provided." msgstr "Captcha-validatie mislukt. Geen foutcode opgegeven." -#: inc/form-submit.php:1160 +#: inc/form-submit.php:1161 msgid "Captcha validation failed." msgstr "Captcha-validatie mislukt." -#: inc/form-submit.php:1227 +#: inc/form-submit.php:1228 msgid "Unknown Captcha" msgstr "Onbekende Captcha" -#: inc/form-submit.php:1228 +#: inc/form-submit.php:1229 msgid "Invalid captcha type." msgstr "Ongeldig captcha-type." #. translators: %s is the captcha title. -#: inc/form-submit.php:1241 +#: inc/form-submit.php:1242 #, php-format msgid "%s verification failed. Please contact your site administrator." msgstr "%s verificatie mislukt. Neem contact op met uw sitebeheerder." @@ -11242,8 +11243,8 @@ msgstr "Beschrijf het formulier dat je wilt maken" msgid "We are building your form…" msgstr "We zijn uw formulier aan het maken…" -#: admin/admin.php:605 -#: admin/admin.php:606 +#: admin/admin.php:1251 +#: admin/admin.php:1252 msgid "SMTP" msgstr "SMTP" @@ -11375,29 +11376,29 @@ msgstr "Beheerdermelding inschakelen" msgid "Admin notifications keep you informed about new form entries since your last visit." msgstr "Beheerdersmeldingen houden je op de hoogte van nieuwe formulierinzendingen sinds je laatste bezoek." -#: admin/admin.php:1766 -#: admin/admin.php:1857 -#: admin/admin.php:1895 -#: admin/admin.php:1916 -#: admin/admin.php:2137 +#: admin/admin.php:2412 +#: admin/admin.php:2510 +#: admin/admin.php:2548 +#: admin/admin.php:2569 +#: admin/admin.php:2790 msgid "Unauthorized user." msgstr "Ongeautoriseerde gebruiker." #. translators: 1: opening span, 2: opening strong (inline), 3: closing strong, 4: closing span, 5: opening strong (block), 6: closing strong -#: admin/admin.php:1866 +#: admin/admin.php:2519 #, php-format msgid "%1$sGet started by %2$sbuilding your first form%3$s.%4$s%5$sExperience the power of our intuitive AI Form Builder%6$s" msgstr "%1$sBegin met %2$shet bouwen van je eerste formulier%3$s.%4$s%5$sErvaar de kracht van onze intuïtieve AI Form Builder%6$s" -#: admin/admin.php:1877 +#: admin/admin.php:2530 msgid "SureForms is waiting for you!" msgstr "SureForms wacht op je!" -#: admin/admin.php:1879 +#: admin/admin.php:2532 msgid "Build My First Form" msgstr "Bouw Mijn Eerste Formulier" -#: admin/admin.php:1880 +#: admin/admin.php:2533 msgid "Dismiss" msgstr "Afwijzen" @@ -11417,51 +11418,51 @@ msgstr "Inloggen" msgid "Register" msgstr "Registreren" -#: admin/admin.php:2166 +#: admin/admin.php:2819 msgid "Recent Entries" msgstr "Recente items" -#: admin/admin.php:2167 +#: admin/admin.php:2820 msgid "( Last 7 days )" msgstr "( Laatste 7 dagen )" -#: admin/admin.php:2344 +#: admin/admin.php:3189 msgid "Use Conditional Logic to show only what matters" msgstr "Gebruik voorwaardelijke logica om alleen te tonen wat ertoe doet" -#: admin/admin.php:2345 +#: admin/admin.php:3190 msgid "Split your form into steps to keep it easy" msgstr "Verdeel uw formulier in stappen om het eenvoudig te houden" -#: admin/admin.php:2346 +#: admin/admin.php:3191 msgid "Let people upload files directly to your form" msgstr "Laat mensen bestanden direct naar uw formulier uploaden" -#: admin/admin.php:2347 +#: admin/admin.php:3192 msgid "Turn responses into downloadable PDFs automatically" msgstr "Zet reacties automatisch om in downloadbare PDF's" -#: admin/admin.php:2348 +#: admin/admin.php:3193 msgid "Let users sign with a simple signature field" msgstr "Laat gebruikers ondertekenen met een eenvoudig handtekeningveld" -#: admin/admin.php:2349 +#: admin/admin.php:3194 msgid "Connect your form to other tools using webhooks" msgstr "Verbind uw formulier met andere tools via webhooks" -#: admin/admin.php:2350 +#: admin/admin.php:3195 msgid "Use Conversational Forms for a chat-like experience" msgstr "Gebruik Conversational Forms voor een chat-achtige ervaring" -#: admin/admin.php:2351 +#: admin/admin.php:3196 msgid "Let users register or log in through your form" msgstr "Laat gebruikers zich registreren of inloggen via uw formulier" -#: admin/admin.php:2352 +#: admin/admin.php:3197 msgid "Build forms that create WordPress user accounts" msgstr "Bouw formulieren die WordPress-gebruikersaccounts aanmaken" -#: admin/admin.php:2353 +#: admin/admin.php:3198 msgid "Add calculations to auto-total scores or prices" msgstr "Berekeningen toevoegen om scores of prijzen automatisch op te tellen" @@ -11883,7 +11884,7 @@ msgstr "Verken SureDash" msgid "Something went wrong. We have logged the error for further investigation" msgstr "Er is iets misgegaan. We hebben de fout geregistreerd voor verder onderzoek." -#: inc/field-validation.php:410 +#: inc/field-validation.php:413 msgid "Field is not valid." msgstr "Veld is niet geldig." @@ -11951,8 +11952,8 @@ msgstr "SureForms Video Miniatuur" msgid "Expected format for emails - email@sureforms.com or John Doe " msgstr "Verwacht formaat voor e-mails - email@sureforms.com of John Doe " -#: admin/admin.php:725 -#: admin/admin.php:726 +#: admin/admin.php:1371 +#: admin/admin.php:1372 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -12330,7 +12331,7 @@ msgstr "Onbekend" #: inc/payments/admin/admin-handler.php:1505 #: inc/payments/admin/admin-handler.php:1509 #: inc/payments/front-end.php:872 -#: inc/payments/front-end.php:1316 +#: inc/payments/front-end.php:1317 msgid "Guest User" msgstr "Gastgebruiker" @@ -12356,7 +12357,7 @@ msgstr "Stripe is niet verbonden." #: inc/payments/front-end.php:122 #: inc/payments/front-end.php:348 #: inc/payments/front-end.php:641 -#: inc/payments/front-end.php:1195 +#: inc/payments/front-end.php:1196 msgid "Stripe secret key not found." msgstr "Stripe geheime sleutel niet gevonden." @@ -12465,7 +12466,7 @@ msgstr "Abonnement niet gevonden voor de betaling." #. translators: %d: User ID #: inc/payments/front-end.php:870 -#: inc/payments/front-end.php:1316 +#: inc/payments/front-end.php:1317 #, php-format msgid "User ID: %d" msgstr "Gebruikers-ID: %d" @@ -12499,7 +12500,7 @@ msgstr "Abonnement-ID: %s" #. translators: %s: payment gateway #. translators: %s: Payment gateway name (e.g., Stripe). #: inc/payments/front-end.php:891 -#: inc/payments/front-end.php:1327 +#: inc/payments/front-end.php:1328 #: inc/payments/stripe/admin-stripe-handler.php:190 #: inc/payments/stripe/admin-stripe-handler.php:492 #: inc/payments/stripe/admin-stripe-handler.php:667 @@ -12544,7 +12545,7 @@ msgstr "Klant-ID: %s" #. translators: 1: Amount, 2: Currency #. translators: %1$s: amount, %2$s: currency. #: inc/payments/front-end.php:901 -#: inc/payments/front-end.php:1329 +#: inc/payments/front-end.php:1330 #: inc/payments/stripe/stripe-webhook.php:1089 #: inc/payments/stripe/stripe-webhook.php:1166 #, php-format @@ -12554,7 +12555,7 @@ msgstr "Bedrag: %1$s %2$s" #. translators: %s: Payment mode (e.g. Live or Test) #. translators: %s: payment mode #: inc/payments/front-end.php:904 -#: inc/payments/front-end.php:1334 +#: inc/payments/front-end.php:1335 #, php-format msgid "Mode: %s" msgstr "Modus: %s" @@ -12563,24 +12564,24 @@ msgstr "Modus: %s" msgid "Failed to verify subscription." msgstr "Verificatie van abonnement mislukt." -#: inc/payments/front-end.php:1228 -#: inc/payments/front-end.php:1246 -#: inc/payments/front-end.php:1254 -#: inc/payments/front-end.php:1261 +#: inc/payments/front-end.php:1229 +#: inc/payments/front-end.php:1247 +#: inc/payments/front-end.php:1255 +#: inc/payments/front-end.php:1262 msgid "Failed to retrieve payment intent." msgstr "Het is niet gelukt om de betalingsintentie op te halen." -#: inc/payments/front-end.php:1269 +#: inc/payments/front-end.php:1270 msgid "Payment was not confirmed successfully." msgstr "Betaling werd niet succesvol bevestigd." -#: inc/payments/front-end.php:1321 +#: inc/payments/front-end.php:1322 msgid "Payment Verification" msgstr "Betalingsverificatie" #. translators: %s: Stripe transaction ID #. translators: %s: Charge ID -#: inc/payments/front-end.php:1325 +#: inc/payments/front-end.php:1326 #: inc/payments/stripe/stripe-webhook.php:1162 #, php-format msgid "Transaction ID: %s" @@ -12588,18 +12589,18 @@ msgstr "Transactie-ID: %s" #. translators: %s: payment status #. translators: %s: Status -#: inc/payments/front-end.php:1331 +#: inc/payments/front-end.php:1332 #: inc/payments/stripe/stripe-webhook.php:576 #: inc/payments/stripe/stripe-webhook.php:1168 #, php-format msgid "Status: %s" msgstr "Status: %s" -#: inc/payments/front-end.php:1437 +#: inc/payments/front-end.php:1438 msgid "Failed to create Stripe customer." msgstr "Het is niet gelukt om een Stripe-klant aan te maken." -#: inc/payments/front-end.php:1501 +#: inc/payments/front-end.php:1502 msgid "Failed to create Stripe guest customer." msgstr "Het is niet gelukt om een Stripe-gastklant aan te maken." @@ -13466,7 +13467,7 @@ msgstr "Bewerk dit formulier" #: inc/global-settings/global-settings.php:531 #: inc/migrator/base-migrator.php:549 -#: inc/post-types.php:1087 +#: inc/post-types.php:1114 msgid "Your form has been submitted successfully. We'll review your details and get back to you soon." msgstr "Uw formulier is succesvol ingediend. We zullen uw gegevens bekijken en nemen binnenkort contact met u op." @@ -15163,7 +15164,7 @@ msgstr "Waarde van het variabele bedrag veld is vereist." msgid "Payment amount below minimum. Minimum: %1$s, received %2$s." msgstr "Betalingsbedrag onder het minimum. Minimum: %1$s, ontvangen %2$s." -#: inc/rest-api.php:1853 +#: inc/rest-api.php:1876 msgid " (Copy)" msgstr "(Kopie)" @@ -15362,12 +15363,12 @@ msgid "Stripe Settings" msgstr "Stripe-instellingen" #. translators: %1$s: SureForms version, %2$s: SureForms Pro Plugin Name, %3$s: SureForms Pro Version. -#: admin/admin.php:1531 +#: admin/admin.php:2177 #, php-format msgid "SureForms %1$s requires minimum %2$s %3$s to work properly. Please update to the latest version." msgstr "SureForms %1$s vereist minimaal %2$s %3$s om goed te functioneren. Werk alstublieft bij naar de nieuwste versie." -#: admin/admin.php:1544 +#: admin/admin.php:2190 msgid "Update Now" msgstr "Nu bijwerken" @@ -15415,8 +15416,8 @@ msgstr "Positie van het valutateken" msgid "Select the position of the currency symbol relative to the amount." msgstr "Selecteer de positie van het valutasymbool ten opzichte van het bedrag." -#: admin/admin.php:668 -#: admin/admin.php:669 +#: admin/admin.php:1314 +#: admin/admin.php:1315 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -15430,40 +15431,40 @@ msgstr "Selecteer de positie van het valutasymbool ten opzichte van het bedrag." msgid "Learn" msgstr "Leren" -#: admin/admin.php:1657 +#: admin/admin.php:2303 msgid "Amazing! SureForms is powering your forms and submissions - let's keep growing together!" msgstr "Geweldig! SureForms ondersteunt je formulieren en inzendingen - laten we samen blijven groeien!" -#: admin/admin.php:1658 +#: admin/admin.php:2304 msgid "If SureForms has been helpful, would you mind taking a moment to leave a 5-star review on WordPress.org?" msgstr "Als SureForms nuttig is geweest, zou u dan een moment willen nemen om een 5-sterrenbeoordeling achter te laten op WordPress.org?" -#: admin/admin.php:1661 -#: admin/admin.php:1705 +#: admin/admin.php:2307 +#: admin/admin.php:2351 msgid "Maybe later" msgstr "Misschien later" -#: admin/admin.php:1662 +#: admin/admin.php:2308 msgid "I already did" msgstr "Ik heb het al gedaan" -#: admin/admin.php:1701 +#: admin/admin.php:2347 msgid "SureForms is ready to power your forms — explore what's possible!" msgstr "SureForms is klaar om uw formulieren van stroom te voorzien — ontdek wat er mogelijk is!" -#: admin/admin.php:1702 +#: admin/admin.php:2348 msgid "Manage your forms, track submissions, and discover features like AI Form Builder, payment integrations, and more from the SureForms dashboard." msgstr "Beheer uw formulieren, volg inzendingen en ontdek functies zoals AI Form Builder, betalingsintegraties en meer vanaf het SureForms-dashboard." -#: admin/admin.php:1704 +#: admin/admin.php:2350 msgid "Go to Dashboard" msgstr "Ga naar Dashboard" -#: admin/admin.php:1706 +#: admin/admin.php:2352 msgid "I already know" msgstr "Ik weet het al" -#: admin/admin.php:1786 +#: admin/admin.php:2439 msgid "Invalid parameters." msgstr "Ongeldige parameters." @@ -15841,8 +15842,8 @@ msgstr "Tekstveld" #: inc/form-restriction.php:183 #: inc/form-restriction.php:184 -#: inc/post-types.php:1230 -#: inc/post-types.php:1270 +#: inc/post-types.php:1257 +#: inc/post-types.php:1297 msgid "This form is not yet available. Check back after the scheduled start time." msgstr "Dit formulier is nog niet beschikbaar. Kom terug na de geplande starttijd." @@ -16126,8 +16127,8 @@ msgstr "Kan webhook niet verwijderen." msgid "Unable to connect to Stripe." msgstr "Kan geen verbinding maken met Stripe." -#: inc/post-types.php:1231 -#: inc/post-types.php:1271 +#: inc/post-types.php:1258 +#: inc/post-types.php:1298 msgid "This form is closed. The submission period has ended." msgstr "Dit formulier is gesloten. De indieningsperiode is afgelopen." @@ -16797,19 +16798,19 @@ msgstr "Webhook-geheim niet geconfigureerd." msgid "Invalid webhook signature." msgstr "Ongeldige webhook-handtekening." -#: admin/admin.php:507 -#: admin/admin.php:1101 +#: admin/admin.php:1153 +#: admin/admin.php:1747 #: assets/build/formEditor.js:172 msgid "Quizzes" msgstr "Quizzen" -#: admin/admin.php:506 +#: admin/admin.php:1152 msgid "Quiz Entries" msgstr "Quizinzendingen" -#: admin/admin.php:509 -#: admin/admin.php:542 -#: admin/admin.php:575 +#: admin/admin.php:1155 +#: admin/admin.php:1188 +#: admin/admin.php:1221 #: assets/build/settings.js:172 msgid "New" msgstr "Nieuw" @@ -17327,9 +17328,9 @@ msgstr "Perfect voor educatie, training en leuke trivia" msgid "Select this to create a quiz with scored questions and graded results." msgstr "Selecteer dit om een quiz te maken met gescoorde vragen en beoordeelde resultaten." -#: admin/admin.php:539 -#: admin/admin.php:540 -#: admin/admin.php:1106 +#: admin/admin.php:1185 +#: admin/admin.php:1186 +#: admin/admin.php:1752 msgid "Survey Reports" msgstr "Onderzoeksrapporten" @@ -17735,7 +17736,7 @@ msgid "Error creating SureForms Form." msgstr "Fout bij het maken van SureForms-formulier." #. translators: %s represents the minimum number of characters required -#: inc/field-validation.php:423 +#: inc/field-validation.php:426 #: inc/translatable.php:94 #, php-format msgid "Please enter at least %s characters." @@ -17893,9 +17894,9 @@ msgstr "De AI-reactie was leeg. Gelieve uw prompt te verfijnen en het opnieuw te msgid "Unable to build form fields from the AI response." msgstr "Kan formuliervelden niet opbouwen vanuit de AI-reactie." -#: admin/admin.php:572 -#: admin/admin.php:573 -#: admin/admin.php:1111 +#: admin/admin.php:1218 +#: admin/admin.php:1219 +#: admin/admin.php:1757 msgid "Partial Entries" msgstr "Gedeeltelijke invoer" @@ -18766,23 +18767,23 @@ msgstr "Het betalingsbedrag kon niet worden geverifieerd voor dit formulier. Bew msgid "Cancellation is not supported for this payment gateway." msgstr "Annulering wordt niet ondersteund voor deze betalingsgateway." -#: admin/admin.php:1988 +#: admin/admin.php:2641 msgid "SureForms AI Quick Draft" msgstr "SureForms AI Snelle Schets" -#: admin/admin.php:2007 +#: admin/admin.php:2660 msgid "Describe the form and let SureForms AI generate it for you." msgstr "Beschrijf het formulier en laat SureForms AI het voor je genereren." -#: admin/admin.php:2010 +#: admin/admin.php:2663 msgid "Describe your form" msgstr "Beschrijf je formulier" -#: admin/admin.php:2017 +#: admin/admin.php:2670 msgid "Example: Create a contact form with name, email, phone, and message fields." msgstr "Voorbeeld: Maak een contactformulier met velden voor naam, e-mail, telefoon en bericht." -#: admin/admin.php:2058 +#: admin/admin.php:2711 msgid "Redirecting..." msgstr "Omleiden..." @@ -18795,14 +18796,14 @@ msgid "The prompt is too long. Please shorten it and try again." msgstr "De prompt is te lang. Verkort deze en probeer het opnieuw." #. translators: %s: maximum characters allowed before the @ symbol. -#: inc/field-validation.php:445 +#: inc/field-validation.php:448 #: inc/translatable.php:97 #, php-format msgid "The part before @ may not exceed %s characters." msgstr "Het gedeelte voor @ mag niet meer dan %s tekens bevatten." #. translators: %s: maximum characters allowed after the @ symbol. -#: inc/field-validation.php:451 +#: inc/field-validation.php:454 #: inc/translatable.php:100 #, php-format msgid "The part after @ may not exceed %s characters." @@ -18889,22 +18890,97 @@ msgstr "Sorry, je mag dit formulier niet weergeven." msgid "This form requires a payment. Please complete the payment and submit again." msgstr "Dit formulier vereist een betaling. Voltooi de betaling en dien opnieuw in." -#: inc/post-types.php:226 +#: admin/admin.php:474 +msgid "You are not allowed to update this prompt." +msgstr "Je mag deze prompt niet bijwerken." + +#: admin/admin.php:517 +msgid "Finish setting up your form" +msgstr "Voltooi het instellen van je formulier" + +#: admin/admin.php:549 +msgid "Review or edit your form" +msgstr "Bekijk of bewerk je formulier" + +#: admin/admin.php:550 +#: admin/admin.php:3038 +msgid "Edit form" +msgstr "Formulier bewerken" + +#: admin/admin.php:555 +msgid "Personalize the Thank You message" +msgstr "Personaliseer het bedankbericht" + +#: admin/admin.php:556 +msgid "Edit message" +msgstr "Bericht bewerken" + +#: admin/admin.php:561 +msgid "Choose who gets notified of new replies" +msgstr "Kies wie op de hoogte wordt gesteld van nieuwe reacties" + +#: admin/admin.php:562 +msgid "Set up email" +msgstr "E-mail instellen" + +#: admin/admin.php:570 +msgid "your form" +msgstr "je formulier" + +#. translators: %s: form title. +#: admin/admin.php:573 +#, php-format +msgid "Finish setting up %s" +msgstr "Voltooi het instellen van %s" + +#. translators: %s: form title. +#: admin/admin.php:581 +#, php-format +msgid "View %s (opens in a new tab)" +msgstr "Bekijk %s (opent in een nieuw tabblad)" + +#: admin/admin.php:586 +msgid "Customize your form to get it ready for real submissions:" +msgstr "Pas je formulier aan om het klaar te maken voor echte inzendingen:" + +#: admin/admin.php:3021 +msgid "We’ve already created this form for you. Finish customising it so it’s ready to collect real submissions." +msgstr "We hebben dit formulier al voor je gemaakt. Voltooi de aanpassing zodat het klaar is om echte inzendingen te verzamelen." + +#. translators: %s: form name. +#: admin/admin.php:3030 +#, php-format +msgid "Finish setting up “%s”" +msgstr "Voltooi het instellen van “%s”" + +#: admin/admin.php:3039 +msgid "Edit the Thank You message" +msgstr "Bewerk het bedankbericht" + +#: admin/admin.php:3040 +msgid "Set where replies go" +msgstr "Stel in waar reacties naartoe gaan" + +#: inc/generate-form-markup.php:1445 +msgid "(opens in a new tab)" +msgstr "(opent in een nieuw tabblad)" + +#: inc/post-types.php:265 msgctxt "post type general name" msgid "Forms" msgstr "Formulieren" -#: inc/post-types.php:227 +#: inc/post-types.php:266 msgctxt "post type singular name" msgid "Form" msgstr "Formulier" -#: inc/post-types.php:228 +#: inc/post-types.php:267 msgctxt "admin menu" msgid "Forms" msgstr "Formulieren" -#: inc/post-types.php:229 +#: inc/post-types.php:268 msgctxt "form" msgid "Add New" msgstr "Nieuw toevoegen" diff --git a/languages/sureforms-pl_PL.mo b/languages/sureforms-pl_PL.mo index 4fc4af1d8..cbd924d9e 100644 Binary files a/languages/sureforms-pl_PL.mo and b/languages/sureforms-pl_PL.mo differ diff --git a/languages/sureforms-pl_PL.po b/languages/sureforms-pl_PL.po index b478b9c9e..fc3afc43d 100644 --- a/languages/sureforms-pl_PL.po +++ b/languages/sureforms-pl_PL.po @@ -14,9 +14,9 @@ msgstr "" #. Plugin Name of the plugin #. Author of the plugin #: sureforms.php -#: admin/admin.php:406 -#: admin/admin.php:407 -#: admin/admin.php:1970 +#: admin/admin.php:1052 +#: admin/admin.php:1053 +#: admin/admin.php:2623 #: inc/abilities/abilities-registrar.php:139 #: inc/gutenberg-hooks.php:109 #: inc/page-builders/bricks/elements/form-widget.php:67 @@ -43,8 +43,8 @@ msgstr "Prosty, ale potężny sposób na tworzenie nowoczesnych formularzy na Tw msgid "https://sureforms.com/" msgstr "https://sureforms.com/" -#: admin/admin.php:419 -#: admin/admin.php:420 +#: admin/admin.php:1065 +#: admin/admin.php:1066 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -59,9 +59,9 @@ msgstr "https://sureforms.com/" msgid "Dashboard" msgstr "Panel sterowania" -#: admin/admin.php:437 -#: admin/admin.php:438 -#: admin/admin.php:870 +#: admin/admin.php:1083 +#: admin/admin.php:1084 +#: admin/admin.php:1516 #: inc/compatibility/multilingual/string-collector.php:236 #: inc/compatibility/multilingual/string-collector.php:245 #: inc/compatibility/multilingual/string-collector.php:313 @@ -79,15 +79,15 @@ msgstr "Panel sterowania" msgid "Settings" msgstr "Ustawienia" -#: admin/admin.php:706 -#: admin/admin.php:707 -#: inc/post-types.php:231 +#: admin/admin.php:1352 +#: admin/admin.php:1353 +#: inc/post-types.php:270 msgid "New Form" msgstr "Nowy formularz" -#: admin/admin.php:715 -#: admin/admin.php:716 -#: admin/admin.php:2179 +#: admin/admin.php:1361 +#: admin/admin.php:1362 +#: admin/admin.php:2832 #: inc/generate-form-markup.php:203 #: inc/generate-form-markup.php:216 #: inc/global-settings/email-summary.php:225 @@ -105,7 +105,7 @@ msgid "Entries" msgstr "Wpisy" #. Translators: Post Title. -#: admin/admin.php:958 +#: admin/admin.php:1604 #, php-format msgid "Edit %1$s" msgstr "Edytuj %1$s" @@ -126,18 +126,18 @@ msgid "Nonce verification failed." msgstr "Weryfikacja nonce nie powiodła się." #. translators: %1$s: Opening anchor tag with URL, %2$s: Closing anchor tag, %3$s: SureForms Pro Plugin Name. -#: admin/admin.php:1596 +#: admin/admin.php:2242 #, php-format msgid "Please %1$sactivate%2$s your copy of %3$s to get new features, access support, receive update notifications, and more." msgstr "Proszę %1$saktywować%2$s swoją kopię %3$s, aby uzyskać nowe funkcje, dostęp do wsparcia, otrzymywać powiadomienia o aktualizacjach i więcej." #. translators: %1$s: SureForms version, %2$s: SureForms Pro Plugin Name, %3$s: SureForms Pro Version, %4$s: Anchor tag open, %5$s: Closing anchor tag. -#: admin/admin.php:1614 +#: admin/admin.php:2260 #, php-format msgid "SureForms %1$s requires minimum %2$s %3$s to work properly. Please update to the latest version from %4$shere%5$s." msgstr "SureForms %1$s wymaga co najmniej %2$s %3$s, aby działać poprawnie. Proszę zaktualizować do najnowszej wersji z %4$stąd%5$s." -#: admin/admin.php:2178 +#: admin/admin.php:2831 #: inc/global-settings/email-summary.php:224 #: assets/build/entries.js:172 #: assets/build/payments.js:172 @@ -207,7 +207,7 @@ msgstr "Śmieci" msgid "Published" msgstr "Opublikowano" -#: admin/admin.php:2170 +#: admin/admin.php:2823 msgid "View" msgstr "Widok" @@ -299,11 +299,11 @@ msgstr "Nie określono wtyczki" msgid "Plugin Successfully Activated" msgstr "Wtyczka została pomyślnie aktywowana" -#: admin/admin.php:1030 +#: admin/admin.php:1676 msgid "Activating..." msgstr "Aktywowanie..." -#: admin/admin.php:1031 +#: admin/admin.php:1677 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/formEditor.js:172 @@ -318,17 +318,17 @@ msgstr "Aktywowanie..." msgid "Activated" msgstr "Aktywowany" -#: admin/admin.php:1032 +#: admin/admin.php:1678 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "Activate" msgstr "Aktywuj" -#: admin/admin.php:1033 +#: admin/admin.php:1679 msgid "Installing..." msgstr "Instalowanie..." -#: admin/admin.php:1034 +#: admin/admin.php:1680 msgid "Installed" msgstr "Zainstalowano" @@ -336,11 +336,11 @@ msgstr "Zainstalowano" msgid "You do not have permission to access this page." msgstr "Nie masz uprawnień do dostępu do tej strony." -#: admin/admin.php:1762 -#: admin/admin.php:1861 -#: admin/admin.php:1899 -#: admin/admin.php:1920 -#: admin/admin.php:2133 +#: admin/admin.php:2408 +#: admin/admin.php:2514 +#: admin/admin.php:2552 +#: admin/admin.php:2573 +#: admin/admin.php:2786 #: inc/admin-ajax.php:162 #: inc/payments/admin/admin-handler.php:638 #: inc/payments/stripe/admin-stripe-handler.php:80 @@ -540,7 +540,7 @@ msgid "Dropdown" msgstr "Lista rozwijana" #: inc/fields/dropdown-markup.php:112 -#: inc/gutenberg-hooks.php:223 +#: inc/gutenberg-hooks.php:234 msgid "Select an option" msgstr "Wybierz opcję" @@ -560,7 +560,7 @@ msgstr "Potwierdź" msgid "Confirm %s" msgstr "Potwierdź %s" -#: inc/gutenberg-hooks.php:222 +#: inc/gutenberg-hooks.php:233 msgid "I consent to have this website store my submitted information so they can respond to my inquiry." msgstr "Wyrażam zgodę na przechowywanie przez tę stronę moich przesłanych informacji, aby mogli odpowiedzieć na moje zapytanie." @@ -617,7 +617,7 @@ msgstr "Dane formularza nie zostały znalezione." msgid "Sorry, you are not allowed to view the form." msgstr "Przepraszam, nie masz uprawnień do przeglądania formularza." -#: inc/generate-form-markup.php:1102 +#: inc/generate-form-markup.php:1114 msgid "There was an error trying to submit your form. Please try again." msgstr "Wystąpił błąd podczas próby przesłania formularza. Proszę spróbować ponownie." @@ -625,7 +625,7 @@ msgstr "Wystąpił błąd podczas próby przesłania formularza. Proszę spróbo msgid "Test Email Sent Successfully." msgstr "Testowy e-mail został wysłany pomyślnie." -#: inc/post-types.php:238 +#: inc/post-types.php:277 msgid "No forms found." msgstr "Nie znaleziono formularzy." @@ -666,7 +666,7 @@ msgstr "Wartość musi być unikalna." msgid "Sorry, you are not allowed to perform this action." msgstr "Przepraszam, nie masz uprawnień do wykonania tej czynności." -#: admin/admin.php:1660 +#: admin/admin.php:2306 msgid "Rate SureForms" msgstr "Oceń SureForms" @@ -713,9 +713,10 @@ msgstr "Pokaż" msgid "Hide" msgstr "Ukryj" +#: inc/generate-form-markup.php:1444 #: inc/page-builders/elementor/form-widget.php:332 #: inc/post-types.php:95 -#: inc/post-types.php:232 +#: inc/post-types.php:271 #: assets/build/blocks.js:172 msgid "Edit Form" msgstr "Edytuj formularz" @@ -726,7 +727,7 @@ msgstr "Edytuj formularz" msgid "Edit" msgstr "Edytuj" -#: admin/admin.php:2021 +#: admin/admin.php:2674 #: inc/page-builders/elementor/form-widget.php:346 #: assets/build/dashboard.js:2 msgid "Create New Form" @@ -740,32 +741,32 @@ msgstr "Utwórz" msgid "Import Form" msgstr "Formularz importu" -#: inc/post-types.php:230 +#: inc/post-types.php:269 #: assets/build/forms.js:172 msgid "Add New Form" msgstr "Dodaj nowy formularz" -#: inc/post-types.php:208 +#: inc/post-types.php:247 msgid "No records found" msgstr "Nie znaleziono rekordów" -#: inc/post-types.php:209 +#: inc/post-types.php:248 msgid "This is where your form entries will appear" msgstr "To tutaj pojawią się Twoje wpisy w formularzu" -#: inc/post-types.php:233 +#: inc/post-types.php:272 #: assets/build/forms.js:172 #: assets/build/payments.js:172 msgid "View Form" msgstr "Wyświetl formularz" -#: inc/post-types.php:234 +#: inc/post-types.php:273 msgid "View Forms" msgstr "Wyświetl formularze" -#: admin/admin.php:697 -#: admin/admin.php:698 -#: inc/post-types.php:235 +#: admin/admin.php:1343 +#: admin/admin.php:1344 +#: inc/post-types.php:274 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -779,30 +780,30 @@ msgstr "Wyświetl formularze" msgid "Forms" msgstr "Formularze" -#: inc/post-types.php:236 +#: inc/post-types.php:275 msgid "Search Forms" msgstr "Formularze wyszukiwania" -#: inc/post-types.php:237 +#: inc/post-types.php:276 msgid "Parent Forms:" msgstr "Formularze nadrzędne:" -#: inc/post-types.php:239 +#: inc/post-types.php:278 msgid "No forms found in Trash." msgstr "Nie znaleziono formularzy w koszu." -#: inc/post-types.php:240 +#: inc/post-types.php:279 msgid "Form published." msgstr "Formularz opublikowany." -#: inc/post-types.php:241 +#: inc/post-types.php:280 msgid "Form updated." msgstr "Formularz zaktualizowany." #: inc/global-settings/global-settings-defaults.php:166 #: inc/migrator/importers/cf7-importer.php:168 #: inc/migrator/importers/ninja-importer.php:1152 -#: inc/post-types.php:1004 +#: inc/post-types.php:1031 msgid "Admin Notification Email" msgstr "Powiadomienie e-mail dla administratora" @@ -810,7 +811,7 @@ msgstr "Powiadomienie e-mail dla administratora" #. translators: %s: {form_title} smart tag placeholder. #: inc/global-settings/global-settings-defaults.php:173 #: inc/global-settings/global-settings.php:588 -#: inc/post-types.php:1011 +#: inc/post-types.php:1038 #: assets/build/settings.js:172 #, php-format,js-format msgid "New Form Submission - %s" @@ -8335,7 +8336,7 @@ msgstr "Zmień formularz" #: inc/blocks/sform/block.php:42 #: inc/page-builders/bricks/elements/form-widget.php:508 #: inc/page-builders/elementor/form-widget.php:827 -#: inc/post-types.php:1324 +#: inc/post-types.php:1351 #: assets/build/blocks.js:172 msgid "This form has been deleted or is unavailable." msgstr "Ten formularz został usunięty lub jest niedostępny." @@ -8886,9 +8887,9 @@ msgstr "Dodaj bloki do paska szybkich akcji" msgid "Re-arrange block inside Quick Action Bar" msgstr "Przestaw blok wewnątrz paska szybkich akcji" -#: admin/admin.php:490 -#: admin/admin.php:491 -#: admin/admin.php:2403 +#: admin/admin.php:1136 +#: admin/admin.php:1137 +#: admin/admin.php:3248 #: assets/build/blocks.js:172 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 @@ -9260,7 +9261,7 @@ msgstr "Centrum" msgid "Right" msgstr "Prawo" -#: inc/form-submit.php:1215 +#: inc/form-submit.php:1216 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "Google reCAPTCHA" @@ -9270,7 +9271,7 @@ msgstr "Google reCAPTCHA" msgid "CloudFlare Turnstile" msgstr "CloudFlare Turnstile" -#: inc/form-submit.php:1219 +#: inc/form-submit.php:1220 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "hCaptcha" @@ -9331,7 +9332,7 @@ msgstr "Poprzedni" #: inc/global-settings/global-settings.php:530 #: inc/migrator/base-migrator.php:548 -#: inc/post-types.php:1087 +#: inc/post-types.php:1114 #: assets/build/formEditor.js:172 msgid "Thank you" msgstr "Dziękuję" @@ -9566,7 +9567,7 @@ msgstr "Klucz strony" msgid "Secret Key" msgstr "Klucz tajny" -#: inc/form-submit.php:1223 +#: inc/form-submit.php:1224 #: assets/build/settings.js:172 msgid "Cloudflare Turnstile" msgstr "Cloudflare Turnstile" @@ -10616,7 +10617,7 @@ msgstr "Odblokuj formularze konwersacyjne" msgid "With the SureForms Pro Plan, you can transform your forms into engaging conversational layouts for a seamless user experience." msgstr "Dzięki planowi SureForms Pro możesz przekształcić swoje formularze w angażujące, konwersacyjne układy, zapewniając płynne doświadczenie użytkownika." -#: admin/admin.php:329 +#: admin/admin.php:975 msgid "Get SureForms Pro" msgstr "Pobierz SureForms Pro" @@ -10828,24 +10829,24 @@ msgstr "Wybierz gradient" msgid "reCAPTCHA" msgstr "reCAPTCHA" -#: inc/form-submit.php:1159 +#: inc/form-submit.php:1160 msgid "Captcha validation failed. No error code provided." msgstr "Weryfikacja Captcha nie powiodła się. Nie podano kodu błędu." -#: inc/form-submit.php:1160 +#: inc/form-submit.php:1161 msgid "Captcha validation failed." msgstr "Weryfikacja Captcha nie powiodła się." -#: inc/form-submit.php:1227 +#: inc/form-submit.php:1228 msgid "Unknown Captcha" msgstr "Nieznana Captcha" -#: inc/form-submit.php:1228 +#: inc/form-submit.php:1229 msgid "Invalid captcha type." msgstr "Nieprawidłowy typ captcha." #. translators: %s is the captcha title. -#: inc/form-submit.php:1241 +#: inc/form-submit.php:1242 #, php-format msgid "%s verification failed. Please contact your site administrator." msgstr "Weryfikacja %s nie powiodła się. Proszę skontaktować się z administratorem strony." @@ -11242,8 +11243,8 @@ msgstr "Opisz formularz, który chcesz utworzyć" msgid "We are building your form…" msgstr "Budujemy Twój formularz…" -#: admin/admin.php:605 -#: admin/admin.php:606 +#: admin/admin.php:1251 +#: admin/admin.php:1252 msgid "SMTP" msgstr "SMTP" @@ -11375,29 +11376,29 @@ msgstr "Włącz powiadomienia administratora" msgid "Admin notifications keep you informed about new form entries since your last visit." msgstr "Powiadomienia administracyjne informują Cię o nowych wpisach formularza od Twojej ostatniej wizyty." -#: admin/admin.php:1766 -#: admin/admin.php:1857 -#: admin/admin.php:1895 -#: admin/admin.php:1916 -#: admin/admin.php:2137 +#: admin/admin.php:2412 +#: admin/admin.php:2510 +#: admin/admin.php:2548 +#: admin/admin.php:2569 +#: admin/admin.php:2790 msgid "Unauthorized user." msgstr "Nieautoryzowany użytkownik." #. translators: 1: opening span, 2: opening strong (inline), 3: closing strong, 4: closing span, 5: opening strong (block), 6: closing strong -#: admin/admin.php:1866 +#: admin/admin.php:2519 #, php-format msgid "%1$sGet started by %2$sbuilding your first form%3$s.%4$s%5$sExperience the power of our intuitive AI Form Builder%6$s" msgstr "%1$sZacznij od %2$szbudowania swojego pierwszego formularza%3$s.%4$s%5$sDoświadcz mocy naszego intuicyjnego Kreatora Formularzy AI%6$s" -#: admin/admin.php:1877 +#: admin/admin.php:2530 msgid "SureForms is waiting for you!" msgstr "SureForms czeka na Ciebie!" -#: admin/admin.php:1879 +#: admin/admin.php:2532 msgid "Build My First Form" msgstr "Zbuduj mój pierwszy formularz" -#: admin/admin.php:1880 +#: admin/admin.php:2533 msgid "Dismiss" msgstr "Odrzuć" @@ -11417,51 +11418,51 @@ msgstr "Zaloguj się" msgid "Register" msgstr "Zarejestruj się" -#: admin/admin.php:2166 +#: admin/admin.php:2819 msgid "Recent Entries" msgstr "Ostatnie wpisy" -#: admin/admin.php:2167 +#: admin/admin.php:2820 msgid "( Last 7 days )" msgstr "( Ostatnie 7 dni )" -#: admin/admin.php:2344 +#: admin/admin.php:3189 msgid "Use Conditional Logic to show only what matters" msgstr "Użyj logiki warunkowej, aby pokazać tylko to, co ważne" -#: admin/admin.php:2345 +#: admin/admin.php:3190 msgid "Split your form into steps to keep it easy" msgstr "Podziel swój formularz na etapy, aby był łatwy." -#: admin/admin.php:2346 +#: admin/admin.php:3191 msgid "Let people upload files directly to your form" msgstr "Pozwól ludziom przesyłać pliki bezpośrednio do Twojego formularza" -#: admin/admin.php:2347 +#: admin/admin.php:3192 msgid "Turn responses into downloadable PDFs automatically" msgstr "Automatycznie przekształcaj odpowiedzi w pliki PDF do pobrania" -#: admin/admin.php:2348 +#: admin/admin.php:3193 msgid "Let users sign with a simple signature field" msgstr "Pozwól użytkownikom podpisać się w prostym polu podpisu" -#: admin/admin.php:2349 +#: admin/admin.php:3194 msgid "Connect your form to other tools using webhooks" msgstr "Połącz swój formularz z innymi narzędziami za pomocą webhooków" -#: admin/admin.php:2350 +#: admin/admin.php:3195 msgid "Use Conversational Forms for a chat-like experience" msgstr "Użyj Formularzy Konwersacyjnych, aby uzyskać doświadczenie podobne do czatu" -#: admin/admin.php:2351 +#: admin/admin.php:3196 msgid "Let users register or log in through your form" msgstr "Pozwól użytkownikom zarejestrować się lub zalogować przez Twój formularz" -#: admin/admin.php:2352 +#: admin/admin.php:3197 msgid "Build forms that create WordPress user accounts" msgstr "Twórz formularze, które tworzą konta użytkowników WordPress" -#: admin/admin.php:2353 +#: admin/admin.php:3198 msgid "Add calculations to auto-total scores or prices" msgstr "Dodaj obliczenia do automatycznego sumowania wyników lub cen" @@ -11883,7 +11884,7 @@ msgstr "Odkryj SureDash" msgid "Something went wrong. We have logged the error for further investigation" msgstr "Coś poszło nie tak. Zarejestrowaliśmy błąd do dalszego zbadania" -#: inc/field-validation.php:410 +#: inc/field-validation.php:413 msgid "Field is not valid." msgstr "Pole jest nieprawidłowe." @@ -11951,8 +11952,8 @@ msgstr "Miniatura wideo SureForms" msgid "Expected format for emails - email@sureforms.com or John Doe " msgstr "Oczekiwany format dla e-maili - email@sureforms.com lub John Doe " -#: admin/admin.php:725 -#: admin/admin.php:726 +#: admin/admin.php:1371 +#: admin/admin.php:1372 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -12330,7 +12331,7 @@ msgstr "Nieznany" #: inc/payments/admin/admin-handler.php:1505 #: inc/payments/admin/admin-handler.php:1509 #: inc/payments/front-end.php:872 -#: inc/payments/front-end.php:1316 +#: inc/payments/front-end.php:1317 msgid "Guest User" msgstr "Użytkownik gościnny" @@ -12356,7 +12357,7 @@ msgstr "Stripe nie jest połączony." #: inc/payments/front-end.php:122 #: inc/payments/front-end.php:348 #: inc/payments/front-end.php:641 -#: inc/payments/front-end.php:1195 +#: inc/payments/front-end.php:1196 msgid "Stripe secret key not found." msgstr "Nie znaleziono tajnego klucza Stripe." @@ -12465,7 +12466,7 @@ msgstr "Nie znaleziono subskrypcji dla płatności." #. translators: %d: User ID #: inc/payments/front-end.php:870 -#: inc/payments/front-end.php:1316 +#: inc/payments/front-end.php:1317 #, php-format msgid "User ID: %d" msgstr "ID użytkownika: %d" @@ -12499,7 +12500,7 @@ msgstr "Identyfikator subskrypcji: %s" #. translators: %s: payment gateway #. translators: %s: Payment gateway name (e.g., Stripe). #: inc/payments/front-end.php:891 -#: inc/payments/front-end.php:1327 +#: inc/payments/front-end.php:1328 #: inc/payments/stripe/admin-stripe-handler.php:190 #: inc/payments/stripe/admin-stripe-handler.php:492 #: inc/payments/stripe/admin-stripe-handler.php:667 @@ -12544,7 +12545,7 @@ msgstr "ID klienta: %s" #. translators: 1: Amount, 2: Currency #. translators: %1$s: amount, %2$s: currency. #: inc/payments/front-end.php:901 -#: inc/payments/front-end.php:1329 +#: inc/payments/front-end.php:1330 #: inc/payments/stripe/stripe-webhook.php:1089 #: inc/payments/stripe/stripe-webhook.php:1166 #, php-format @@ -12554,7 +12555,7 @@ msgstr "Kwota: %1$s %2$s" #. translators: %s: Payment mode (e.g. Live or Test) #. translators: %s: payment mode #: inc/payments/front-end.php:904 -#: inc/payments/front-end.php:1334 +#: inc/payments/front-end.php:1335 #, php-format msgid "Mode: %s" msgstr "Tryb: %s" @@ -12563,24 +12564,24 @@ msgstr "Tryb: %s" msgid "Failed to verify subscription." msgstr "Nie udało się zweryfikować subskrypcji." -#: inc/payments/front-end.php:1228 -#: inc/payments/front-end.php:1246 -#: inc/payments/front-end.php:1254 -#: inc/payments/front-end.php:1261 +#: inc/payments/front-end.php:1229 +#: inc/payments/front-end.php:1247 +#: inc/payments/front-end.php:1255 +#: inc/payments/front-end.php:1262 msgid "Failed to retrieve payment intent." msgstr "Nie udało się pobrać intencji płatności." -#: inc/payments/front-end.php:1269 +#: inc/payments/front-end.php:1270 msgid "Payment was not confirmed successfully." msgstr "Płatność nie została pomyślnie potwierdzona." -#: inc/payments/front-end.php:1321 +#: inc/payments/front-end.php:1322 msgid "Payment Verification" msgstr "Weryfikacja płatności" #. translators: %s: Stripe transaction ID #. translators: %s: Charge ID -#: inc/payments/front-end.php:1325 +#: inc/payments/front-end.php:1326 #: inc/payments/stripe/stripe-webhook.php:1162 #, php-format msgid "Transaction ID: %s" @@ -12588,18 +12589,18 @@ msgstr "ID transakcji: %s" #. translators: %s: payment status #. translators: %s: Status -#: inc/payments/front-end.php:1331 +#: inc/payments/front-end.php:1332 #: inc/payments/stripe/stripe-webhook.php:576 #: inc/payments/stripe/stripe-webhook.php:1168 #, php-format msgid "Status: %s" msgstr "Status: %s" -#: inc/payments/front-end.php:1437 +#: inc/payments/front-end.php:1438 msgid "Failed to create Stripe customer." msgstr "Nie udało się utworzyć klienta Stripe." -#: inc/payments/front-end.php:1501 +#: inc/payments/front-end.php:1502 msgid "Failed to create Stripe guest customer." msgstr "Nie udało się utworzyć gościa klienta Stripe." @@ -13466,7 +13467,7 @@ msgstr "Edytuj ten formularz" #: inc/global-settings/global-settings.php:531 #: inc/migrator/base-migrator.php:549 -#: inc/post-types.php:1087 +#: inc/post-types.php:1114 msgid "Your form has been submitted successfully. We'll review your details and get back to you soon." msgstr "Twój formularz został pomyślnie przesłany. Przejrzymy Twoje dane i wkrótce się z Tobą skontaktujemy." @@ -15163,7 +15164,7 @@ msgstr "Wartość pola zmiennej kwoty jest wymagana." msgid "Payment amount below minimum. Minimum: %1$s, received %2$s." msgstr "Kwota płatności poniżej minimum. Minimum: %1$s, otrzymano %2$s." -#: inc/rest-api.php:1853 +#: inc/rest-api.php:1876 msgid " (Copy)" msgstr "(Kopiuj)" @@ -15362,12 +15363,12 @@ msgid "Stripe Settings" msgstr "Ustawienia Stripe" #. translators: %1$s: SureForms version, %2$s: SureForms Pro Plugin Name, %3$s: SureForms Pro Version. -#: admin/admin.php:1531 +#: admin/admin.php:2177 #, php-format msgid "SureForms %1$s requires minimum %2$s %3$s to work properly. Please update to the latest version." msgstr "SureForms %1$s wymaga co najmniej %2$s %3$s do prawidłowego działania. Proszę zaktualizować do najnowszej wersji." -#: admin/admin.php:1544 +#: admin/admin.php:2190 msgid "Update Now" msgstr "Zaktualizuj teraz" @@ -15415,8 +15416,8 @@ msgstr "Pozycja znaku waluty" msgid "Select the position of the currency symbol relative to the amount." msgstr "Wybierz pozycję symbolu waluty względem kwoty." -#: admin/admin.php:668 -#: admin/admin.php:669 +#: admin/admin.php:1314 +#: admin/admin.php:1315 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -15430,40 +15431,40 @@ msgstr "Wybierz pozycję symbolu waluty względem kwoty." msgid "Learn" msgstr "Ucz się" -#: admin/admin.php:1657 +#: admin/admin.php:2303 msgid "Amazing! SureForms is powering your forms and submissions - let's keep growing together!" msgstr "Niesamowite! SureForms napędza Twoje formularze i zgłoszenia - rozwijajmy się razem!" -#: admin/admin.php:1658 +#: admin/admin.php:2304 msgid "If SureForms has been helpful, would you mind taking a moment to leave a 5-star review on WordPress.org?" msgstr "Jeśli SureForms okazał się pomocny, czy mógłbyś poświęcić chwilę na pozostawienie 5-gwiazdkowej recenzji na WordPress.org?" -#: admin/admin.php:1661 -#: admin/admin.php:1705 +#: admin/admin.php:2307 +#: admin/admin.php:2351 msgid "Maybe later" msgstr "Może później" -#: admin/admin.php:1662 +#: admin/admin.php:2308 msgid "I already did" msgstr "Już to zrobiłem" -#: admin/admin.php:1701 +#: admin/admin.php:2347 msgid "SureForms is ready to power your forms — explore what's possible!" msgstr "SureForms jest gotowy, aby zasilić Twoje formularze — odkryj, co jest możliwe!" -#: admin/admin.php:1702 +#: admin/admin.php:2348 msgid "Manage your forms, track submissions, and discover features like AI Form Builder, payment integrations, and more from the SureForms dashboard." msgstr "Zarządzaj swoimi formularzami, śledź zgłoszenia i odkrywaj funkcje takie jak AI Form Builder, integracje płatności i inne z poziomu pulpitu SureForms." -#: admin/admin.php:1704 +#: admin/admin.php:2350 msgid "Go to Dashboard" msgstr "Przejdź do pulpitu nawigacyjnego" -#: admin/admin.php:1706 +#: admin/admin.php:2352 msgid "I already know" msgstr "Już wiem" -#: admin/admin.php:1786 +#: admin/admin.php:2439 msgid "Invalid parameters." msgstr "Nieprawidłowe parametry." @@ -15841,8 +15842,8 @@ msgstr "Pole tekstowe" #: inc/form-restriction.php:183 #: inc/form-restriction.php:184 -#: inc/post-types.php:1230 -#: inc/post-types.php:1270 +#: inc/post-types.php:1257 +#: inc/post-types.php:1297 msgid "This form is not yet available. Check back after the scheduled start time." msgstr "Ten formularz nie jest jeszcze dostępny. Sprawdź ponownie po zaplanowanym czasie rozpoczęcia." @@ -16126,8 +16127,8 @@ msgstr "Nie można usunąć webhooka." msgid "Unable to connect to Stripe." msgstr "Nie można połączyć się ze Stripe." -#: inc/post-types.php:1231 -#: inc/post-types.php:1271 +#: inc/post-types.php:1258 +#: inc/post-types.php:1298 msgid "This form is closed. The submission period has ended." msgstr "Formularz jest zamknięty. Okres składania wniosków zakończył się." @@ -16797,19 +16798,19 @@ msgstr "Tajny klucz webhooka nie jest skonfigurowany." msgid "Invalid webhook signature." msgstr "Nieprawidłowy podpis webhooka." -#: admin/admin.php:507 -#: admin/admin.php:1101 +#: admin/admin.php:1153 +#: admin/admin.php:1747 #: assets/build/formEditor.js:172 msgid "Quizzes" msgstr "Quizy" -#: admin/admin.php:506 +#: admin/admin.php:1152 msgid "Quiz Entries" msgstr "Wpisy do quizu" -#: admin/admin.php:509 -#: admin/admin.php:542 -#: admin/admin.php:575 +#: admin/admin.php:1155 +#: admin/admin.php:1188 +#: admin/admin.php:1221 #: assets/build/settings.js:172 msgid "New" msgstr "Nowy" @@ -17327,9 +17328,9 @@ msgstr "Idealne do edukacji, szkoleń i zabawnych ciekawostek" msgid "Select this to create a quiz with scored questions and graded results." msgstr "Wybierz to, aby utworzyć quiz z punktowanymi pytaniami i ocenianymi wynikami." -#: admin/admin.php:539 -#: admin/admin.php:540 -#: admin/admin.php:1106 +#: admin/admin.php:1185 +#: admin/admin.php:1186 +#: admin/admin.php:1752 msgid "Survey Reports" msgstr "Raporty z ankiet" @@ -17735,7 +17736,7 @@ msgid "Error creating SureForms Form." msgstr "Błąd podczas tworzenia formularza SureForms." #. translators: %s represents the minimum number of characters required -#: inc/field-validation.php:423 +#: inc/field-validation.php:426 #: inc/translatable.php:94 #, php-format msgid "Please enter at least %s characters." @@ -17893,9 +17894,9 @@ msgstr "Odpowiedź AI była pusta. Proszę dopracować swój prompt i spróbowa msgid "Unable to build form fields from the AI response." msgstr "Nie można utworzyć pól formularza z odpowiedzi AI." -#: admin/admin.php:572 -#: admin/admin.php:573 -#: admin/admin.php:1111 +#: admin/admin.php:1218 +#: admin/admin.php:1219 +#: admin/admin.php:1757 msgid "Partial Entries" msgstr "Częściowe wpisy" @@ -18766,23 +18767,23 @@ msgstr "Nie można zweryfikować kwoty płatności dla tego formularza. Proszę msgid "Cancellation is not supported for this payment gateway." msgstr "Anulowanie nie jest obsługiwane dla tej bramki płatności." -#: admin/admin.php:1988 +#: admin/admin.php:2641 msgid "SureForms AI Quick Draft" msgstr "SureForms AI Szybki Szkic" -#: admin/admin.php:2007 +#: admin/admin.php:2660 msgid "Describe the form and let SureForms AI generate it for you." msgstr "Opisz formularz, a SureForms AI wygeneruje go dla Ciebie." -#: admin/admin.php:2010 +#: admin/admin.php:2663 msgid "Describe your form" msgstr "Opisz swój formularz" -#: admin/admin.php:2017 +#: admin/admin.php:2670 msgid "Example: Create a contact form with name, email, phone, and message fields." msgstr "Przykład: Utwórz formularz kontaktowy z polami na imię, email, telefon i wiadomość." -#: admin/admin.php:2058 +#: admin/admin.php:2711 msgid "Redirecting..." msgstr "Przekierowywanie..." @@ -18795,14 +18796,14 @@ msgid "The prompt is too long. Please shorten it and try again." msgstr "Podpowiedź jest zbyt długa. Skróć ją i spróbuj ponownie." #. translators: %s: maximum characters allowed before the @ symbol. -#: inc/field-validation.php:445 +#: inc/field-validation.php:448 #: inc/translatable.php:97 #, php-format msgid "The part before @ may not exceed %s characters." msgstr "Część przed @ nie może przekraczać %s znaków." #. translators: %s: maximum characters allowed after the @ symbol. -#: inc/field-validation.php:451 +#: inc/field-validation.php:454 #: inc/translatable.php:100 #, php-format msgid "The part after @ may not exceed %s characters." @@ -18889,22 +18890,97 @@ msgstr "Przepraszamy, nie masz uprawnień do renderowania tego formularza." msgid "This form requires a payment. Please complete the payment and submit again." msgstr "Ten formularz wymaga płatności. Proszę dokończyć płatność i przesłać ponownie." -#: inc/post-types.php:226 +#: admin/admin.php:474 +msgid "You are not allowed to update this prompt." +msgstr "Nie masz uprawnień do aktualizacji tego polecenia." + +#: admin/admin.php:517 +msgid "Finish setting up your form" +msgstr "Dokończ konfigurowanie formularza" + +#: admin/admin.php:549 +msgid "Review or edit your form" +msgstr "Przejrzyj lub edytuj formularz" + +#: admin/admin.php:550 +#: admin/admin.php:3038 +msgid "Edit form" +msgstr "Edytuj formularz" + +#: admin/admin.php:555 +msgid "Personalize the Thank You message" +msgstr "Spersonalizuj wiadomość podziękowania" + +#: admin/admin.php:556 +msgid "Edit message" +msgstr "Edytuj wiadomość" + +#: admin/admin.php:561 +msgid "Choose who gets notified of new replies" +msgstr "Wybierz, kto zostanie powiadomiony o nowych odpowiedziach" + +#: admin/admin.php:562 +msgid "Set up email" +msgstr "Skonfiguruj e-mail" + +#: admin/admin.php:570 +msgid "your form" +msgstr "twój formularz" + +#. translators: %s: form title. +#: admin/admin.php:573 +#, php-format +msgid "Finish setting up %s" +msgstr "Dokończ konfigurowanie %s" + +#. translators: %s: form title. +#: admin/admin.php:581 +#, php-format +msgid "View %s (opens in a new tab)" +msgstr "Zobacz %s (otwiera się w nowej karcie)" + +#: admin/admin.php:586 +msgid "Customize your form to get it ready for real submissions:" +msgstr "Dostosuj swój formularz, aby był gotowy do rzeczywistych zgłoszeń:" + +#: admin/admin.php:3021 +msgid "We’ve already created this form for you. Finish customising it so it’s ready to collect real submissions." +msgstr "Już stworzyliśmy ten formularz dla Ciebie. Dokończ jego dostosowywanie, aby był gotowy do zbierania rzeczywistych zgłoszeń." + +#. translators: %s: form name. +#: admin/admin.php:3030 +#, php-format +msgid "Finish setting up “%s”" +msgstr "Dokończ konfigurowanie „%s”" + +#: admin/admin.php:3039 +msgid "Edit the Thank You message" +msgstr "Edytuj wiadomość podziękowania" + +#: admin/admin.php:3040 +msgid "Set where replies go" +msgstr "Ustaw, gdzie mają trafiać odpowiedzi" + +#: inc/generate-form-markup.php:1445 +msgid "(opens in a new tab)" +msgstr "(otwiera się w nowej karcie)" + +#: inc/post-types.php:265 msgctxt "post type general name" msgid "Forms" msgstr "Formularze" -#: inc/post-types.php:227 +#: inc/post-types.php:266 msgctxt "post type singular name" msgid "Form" msgstr "Formularz" -#: inc/post-types.php:228 +#: inc/post-types.php:267 msgctxt "admin menu" msgid "Forms" msgstr "Formularze" -#: inc/post-types.php:229 +#: inc/post-types.php:268 msgctxt "form" msgid "Add New" msgstr "Dodaj nowy" diff --git a/languages/sureforms-pt_PT.mo b/languages/sureforms-pt_PT.mo index 203990d3e..d3c551837 100644 Binary files a/languages/sureforms-pt_PT.mo and b/languages/sureforms-pt_PT.mo differ diff --git a/languages/sureforms-pt_PT.po b/languages/sureforms-pt_PT.po index 8b190b55f..bf86d3983 100644 --- a/languages/sureforms-pt_PT.po +++ b/languages/sureforms-pt_PT.po @@ -14,9 +14,9 @@ msgstr "" #. Plugin Name of the plugin #. Author of the plugin #: sureforms.php -#: admin/admin.php:406 -#: admin/admin.php:407 -#: admin/admin.php:1970 +#: admin/admin.php:1052 +#: admin/admin.php:1053 +#: admin/admin.php:2623 #: inc/abilities/abilities-registrar.php:139 #: inc/gutenberg-hooks.php:109 #: inc/page-builders/bricks/elements/form-widget.php:67 @@ -43,8 +43,8 @@ msgstr "Uma maneira simples, mas poderosa, de criar formulários modernos para o msgid "https://sureforms.com/" msgstr "https://sureforms.com/" -#: admin/admin.php:419 -#: admin/admin.php:420 +#: admin/admin.php:1065 +#: admin/admin.php:1066 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -59,9 +59,9 @@ msgstr "https://sureforms.com/" msgid "Dashboard" msgstr "Painel de Controle" -#: admin/admin.php:437 -#: admin/admin.php:438 -#: admin/admin.php:870 +#: admin/admin.php:1083 +#: admin/admin.php:1084 +#: admin/admin.php:1516 #: inc/compatibility/multilingual/string-collector.php:236 #: inc/compatibility/multilingual/string-collector.php:245 #: inc/compatibility/multilingual/string-collector.php:313 @@ -79,15 +79,15 @@ msgstr "Painel de Controle" msgid "Settings" msgstr "Configurações" -#: admin/admin.php:706 -#: admin/admin.php:707 -#: inc/post-types.php:231 +#: admin/admin.php:1352 +#: admin/admin.php:1353 +#: inc/post-types.php:270 msgid "New Form" msgstr "Novo Formulário" -#: admin/admin.php:715 -#: admin/admin.php:716 -#: admin/admin.php:2179 +#: admin/admin.php:1361 +#: admin/admin.php:1362 +#: admin/admin.php:2832 #: inc/generate-form-markup.php:203 #: inc/generate-form-markup.php:216 #: inc/global-settings/email-summary.php:225 @@ -105,7 +105,7 @@ msgid "Entries" msgstr "Entradas" #. Translators: Post Title. -#: admin/admin.php:958 +#: admin/admin.php:1604 #, php-format msgid "Edit %1$s" msgstr "Editar %1$s" @@ -126,18 +126,18 @@ msgid "Nonce verification failed." msgstr "A verificação do nonce falhou." #. translators: %1$s: Opening anchor tag with URL, %2$s: Closing anchor tag, %3$s: SureForms Pro Plugin Name. -#: admin/admin.php:1596 +#: admin/admin.php:2242 #, php-format msgid "Please %1$sactivate%2$s your copy of %3$s to get new features, access support, receive update notifications, and more." msgstr "Por favor, %1$sative%2$s sua cópia do %3$s para obter novos recursos, acessar suporte, receber notificações de atualizações e muito mais." #. translators: %1$s: SureForms version, %2$s: SureForms Pro Plugin Name, %3$s: SureForms Pro Version, %4$s: Anchor tag open, %5$s: Closing anchor tag. -#: admin/admin.php:1614 +#: admin/admin.php:2260 #, php-format msgid "SureForms %1$s requires minimum %2$s %3$s to work properly. Please update to the latest version from %4$shere%5$s." msgstr "O SureForms %1$s requer um mínimo de %2$s %3$s para funcionar corretamente. Por favor, atualize para a versão mais recente %4$saqui%5$s." -#: admin/admin.php:2178 +#: admin/admin.php:2831 #: inc/global-settings/email-summary.php:224 #: assets/build/entries.js:172 #: assets/build/payments.js:172 @@ -207,7 +207,7 @@ msgstr "Lixo" msgid "Published" msgstr "Publicado" -#: admin/admin.php:2170 +#: admin/admin.php:2823 msgid "View" msgstr "Visualizar" @@ -299,11 +299,11 @@ msgstr "Nenhum plugin especificado" msgid "Plugin Successfully Activated" msgstr "Plugin ativado com sucesso" -#: admin/admin.php:1030 +#: admin/admin.php:1676 msgid "Activating..." msgstr "Ativando..." -#: admin/admin.php:1031 +#: admin/admin.php:1677 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/formEditor.js:172 @@ -318,17 +318,17 @@ msgstr "Ativando..." msgid "Activated" msgstr "Ativado" -#: admin/admin.php:1032 +#: admin/admin.php:1678 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "Activate" msgstr "Ativar" -#: admin/admin.php:1033 +#: admin/admin.php:1679 msgid "Installing..." msgstr "Instalando..." -#: admin/admin.php:1034 +#: admin/admin.php:1680 msgid "Installed" msgstr "Instalado" @@ -336,11 +336,11 @@ msgstr "Instalado" msgid "You do not have permission to access this page." msgstr "Você não tem permissão para acessar esta página." -#: admin/admin.php:1762 -#: admin/admin.php:1861 -#: admin/admin.php:1899 -#: admin/admin.php:1920 -#: admin/admin.php:2133 +#: admin/admin.php:2408 +#: admin/admin.php:2514 +#: admin/admin.php:2552 +#: admin/admin.php:2573 +#: admin/admin.php:2786 #: inc/admin-ajax.php:162 #: inc/payments/admin/admin-handler.php:638 #: inc/payments/stripe/admin-stripe-handler.php:80 @@ -540,7 +540,7 @@ msgid "Dropdown" msgstr "Menu suspenso" #: inc/fields/dropdown-markup.php:112 -#: inc/gutenberg-hooks.php:223 +#: inc/gutenberg-hooks.php:234 msgid "Select an option" msgstr "Selecione uma opção" @@ -560,7 +560,7 @@ msgstr "Confirmar" msgid "Confirm %s" msgstr "Confirmar %s" -#: inc/gutenberg-hooks.php:222 +#: inc/gutenberg-hooks.php:233 msgid "I consent to have this website store my submitted information so they can respond to my inquiry." msgstr "Eu consinto que este site armazene as informações que enviei para que possam responder à minha consulta." @@ -617,7 +617,7 @@ msgstr "Os dados do formulário não foram encontrados." msgid "Sorry, you are not allowed to view the form." msgstr "Desculpe, você não tem permissão para visualizar o formulário." -#: inc/generate-form-markup.php:1102 +#: inc/generate-form-markup.php:1114 msgid "There was an error trying to submit your form. Please try again." msgstr "Houve um erro ao tentar enviar seu formulário. Por favor, tente novamente." @@ -625,7 +625,7 @@ msgstr "Houve um erro ao tentar enviar seu formulário. Por favor, tente novamen msgid "Test Email Sent Successfully." msgstr "Email de teste enviado com sucesso." -#: inc/post-types.php:238 +#: inc/post-types.php:277 msgid "No forms found." msgstr "Nenhum formulário encontrado." @@ -666,7 +666,7 @@ msgstr "O valor precisa ser único." msgid "Sorry, you are not allowed to perform this action." msgstr "Desculpe, você não tem permissão para realizar esta ação." -#: admin/admin.php:1660 +#: admin/admin.php:2306 msgid "Rate SureForms" msgstr "Avalie SureForms" @@ -713,9 +713,10 @@ msgstr "Mostrar" msgid "Hide" msgstr "Esconder" +#: inc/generate-form-markup.php:1444 #: inc/page-builders/elementor/form-widget.php:332 #: inc/post-types.php:95 -#: inc/post-types.php:232 +#: inc/post-types.php:271 #: assets/build/blocks.js:172 msgid "Edit Form" msgstr "Editar Formulário" @@ -726,7 +727,7 @@ msgstr "Editar Formulário" msgid "Edit" msgstr "Editar" -#: admin/admin.php:2021 +#: admin/admin.php:2674 #: inc/page-builders/elementor/form-widget.php:346 #: assets/build/dashboard.js:2 msgid "Create New Form" @@ -740,32 +741,32 @@ msgstr "Criar" msgid "Import Form" msgstr "Formulário de Importação" -#: inc/post-types.php:230 +#: inc/post-types.php:269 #: assets/build/forms.js:172 msgid "Add New Form" msgstr "Adicionar Novo Formulário" -#: inc/post-types.php:208 +#: inc/post-types.php:247 msgid "No records found" msgstr "Nenhum registro encontrado" -#: inc/post-types.php:209 +#: inc/post-types.php:248 msgid "This is where your form entries will appear" msgstr "É aqui que as entradas do seu formulário aparecerão" -#: inc/post-types.php:233 +#: inc/post-types.php:272 #: assets/build/forms.js:172 #: assets/build/payments.js:172 msgid "View Form" msgstr "Ver Formulário" -#: inc/post-types.php:234 +#: inc/post-types.php:273 msgid "View Forms" msgstr "Ver Formulários" -#: admin/admin.php:697 -#: admin/admin.php:698 -#: inc/post-types.php:235 +#: admin/admin.php:1343 +#: admin/admin.php:1344 +#: inc/post-types.php:274 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -779,30 +780,30 @@ msgstr "Ver Formulários" msgid "Forms" msgstr "Formulários" -#: inc/post-types.php:236 +#: inc/post-types.php:275 msgid "Search Forms" msgstr "Formulários de Pesquisa" -#: inc/post-types.php:237 +#: inc/post-types.php:276 msgid "Parent Forms:" msgstr "Formulários dos Pais:" -#: inc/post-types.php:239 +#: inc/post-types.php:278 msgid "No forms found in Trash." msgstr "Nenhum formulário encontrado na Lixeira." -#: inc/post-types.php:240 +#: inc/post-types.php:279 msgid "Form published." msgstr "Formulário publicado." -#: inc/post-types.php:241 +#: inc/post-types.php:280 msgid "Form updated." msgstr "Formulário atualizado." #: inc/global-settings/global-settings-defaults.php:166 #: inc/migrator/importers/cf7-importer.php:168 #: inc/migrator/importers/ninja-importer.php:1152 -#: inc/post-types.php:1004 +#: inc/post-types.php:1031 msgid "Admin Notification Email" msgstr "Email de Notificação do Administrador" @@ -810,7 +811,7 @@ msgstr "Email de Notificação do Administrador" #. translators: %s: {form_title} smart tag placeholder. #: inc/global-settings/global-settings-defaults.php:173 #: inc/global-settings/global-settings.php:588 -#: inc/post-types.php:1011 +#: inc/post-types.php:1038 #: assets/build/settings.js:172 #, php-format,js-format msgid "New Form Submission - %s" @@ -8335,7 +8336,7 @@ msgstr "Alterar Formulário" #: inc/blocks/sform/block.php:42 #: inc/page-builders/bricks/elements/form-widget.php:508 #: inc/page-builders/elementor/form-widget.php:827 -#: inc/post-types.php:1324 +#: inc/post-types.php:1351 #: assets/build/blocks.js:172 msgid "This form has been deleted or is unavailable." msgstr "Este formulário foi excluído ou está indisponível." @@ -8886,9 +8887,9 @@ msgstr "Adicionar blocos à Barra de Ação Rápida" msgid "Re-arrange block inside Quick Action Bar" msgstr "Reorganizar bloco dentro da Barra de Ação Rápida" -#: admin/admin.php:490 -#: admin/admin.php:491 -#: admin/admin.php:2403 +#: admin/admin.php:1136 +#: admin/admin.php:1137 +#: admin/admin.php:3248 #: assets/build/blocks.js:172 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 @@ -9260,7 +9261,7 @@ msgstr "Centro" msgid "Right" msgstr "Certo" -#: inc/form-submit.php:1215 +#: inc/form-submit.php:1216 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "Google reCAPTCHA" @@ -9270,7 +9271,7 @@ msgstr "Google reCAPTCHA" msgid "CloudFlare Turnstile" msgstr "CloudFlare Turnstile" -#: inc/form-submit.php:1219 +#: inc/form-submit.php:1220 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "hCaptcha" @@ -9331,7 +9332,7 @@ msgstr "Anterior" #: inc/global-settings/global-settings.php:530 #: inc/migrator/base-migrator.php:548 -#: inc/post-types.php:1087 +#: inc/post-types.php:1114 #: assets/build/formEditor.js:172 msgid "Thank you" msgstr "Obrigado" @@ -9566,7 +9567,7 @@ msgstr "Chave do Site" msgid "Secret Key" msgstr "Chave Secreta" -#: inc/form-submit.php:1223 +#: inc/form-submit.php:1224 #: assets/build/settings.js:172 msgid "Cloudflare Turnstile" msgstr "Cloudflare Turnstile" @@ -10616,7 +10617,7 @@ msgstr "Desbloquear Formulários Conversacionais" msgid "With the SureForms Pro Plan, you can transform your forms into engaging conversational layouts for a seamless user experience." msgstr "Com o Plano SureForms Pro, você pode transformar seus formulários em layouts conversacionais envolventes para uma experiência do usuário perfeita." -#: admin/admin.php:329 +#: admin/admin.php:975 msgid "Get SureForms Pro" msgstr "Obtenha o SureForms Pro" @@ -10828,24 +10829,24 @@ msgstr "Selecionar Gradiente" msgid "reCAPTCHA" msgstr "reCAPTCHA" -#: inc/form-submit.php:1159 +#: inc/form-submit.php:1160 msgid "Captcha validation failed. No error code provided." msgstr "A validação do Captcha falhou. Nenhum código de erro fornecido." -#: inc/form-submit.php:1160 +#: inc/form-submit.php:1161 msgid "Captcha validation failed." msgstr "Falha na validação do captcha." -#: inc/form-submit.php:1227 +#: inc/form-submit.php:1228 msgid "Unknown Captcha" msgstr "Captcha Desconhecido" -#: inc/form-submit.php:1228 +#: inc/form-submit.php:1229 msgid "Invalid captcha type." msgstr "Tipo de captcha inválido." #. translators: %s is the captcha title. -#: inc/form-submit.php:1241 +#: inc/form-submit.php:1242 #, php-format msgid "%s verification failed. Please contact your site administrator." msgstr "A verificação de %s falhou. Por favor, entre em contato com o administrador do seu site." @@ -11242,8 +11243,8 @@ msgstr "Descreva o formulário que você deseja criar" msgid "We are building your form…" msgstr "Estamos construindo seu formulário…" -#: admin/admin.php:605 -#: admin/admin.php:606 +#: admin/admin.php:1251 +#: admin/admin.php:1252 msgid "SMTP" msgstr "SMTP" @@ -11375,29 +11376,29 @@ msgstr "Ativar Notificação de Administrador" msgid "Admin notifications keep you informed about new form entries since your last visit." msgstr "As notificações de administrador mantêm você informado sobre novas entradas de formulário desde sua última visita." -#: admin/admin.php:1766 -#: admin/admin.php:1857 -#: admin/admin.php:1895 -#: admin/admin.php:1916 -#: admin/admin.php:2137 +#: admin/admin.php:2412 +#: admin/admin.php:2510 +#: admin/admin.php:2548 +#: admin/admin.php:2569 +#: admin/admin.php:2790 msgid "Unauthorized user." msgstr "Usuário não autorizado." #. translators: 1: opening span, 2: opening strong (inline), 3: closing strong, 4: closing span, 5: opening strong (block), 6: closing strong -#: admin/admin.php:1866 +#: admin/admin.php:2519 #, php-format msgid "%1$sGet started by %2$sbuilding your first form%3$s.%4$s%5$sExperience the power of our intuitive AI Form Builder%6$s" msgstr "%1$sComece por %2$scriar o seu primeiro formulário%3$s.%4$s%5$sExperimente o poder do nosso intuitivo Criador de Formulários com IA%6$s" -#: admin/admin.php:1877 +#: admin/admin.php:2530 msgid "SureForms is waiting for you!" msgstr "SureForms está esperando por você!" -#: admin/admin.php:1879 +#: admin/admin.php:2532 msgid "Build My First Form" msgstr "Construir Meu Primeiro Formulário" -#: admin/admin.php:1880 +#: admin/admin.php:2533 msgid "Dismiss" msgstr "Dispensar" @@ -11417,51 +11418,51 @@ msgstr "Entrar" msgid "Register" msgstr "Registrar" -#: admin/admin.php:2166 +#: admin/admin.php:2819 msgid "Recent Entries" msgstr "Entradas Recentes" -#: admin/admin.php:2167 +#: admin/admin.php:2820 msgid "( Last 7 days )" msgstr "( Últimos 7 dias )" -#: admin/admin.php:2344 +#: admin/admin.php:3189 msgid "Use Conditional Logic to show only what matters" msgstr "Use lógica condicional para mostrar apenas o que importa" -#: admin/admin.php:2345 +#: admin/admin.php:3190 msgid "Split your form into steps to keep it easy" msgstr "Divida seu formulário em etapas para mantê-lo simples" -#: admin/admin.php:2346 +#: admin/admin.php:3191 msgid "Let people upload files directly to your form" msgstr "Permita que as pessoas enviem arquivos diretamente para o seu formulário" -#: admin/admin.php:2347 +#: admin/admin.php:3192 msgid "Turn responses into downloadable PDFs automatically" msgstr "Transforme as respostas em PDFs baixáveis automaticamente" -#: admin/admin.php:2348 +#: admin/admin.php:3193 msgid "Let users sign with a simple signature field" msgstr "Permita que os usuários assinem com um campo de assinatura simples" -#: admin/admin.php:2349 +#: admin/admin.php:3194 msgid "Connect your form to other tools using webhooks" msgstr "Conecte seu formulário a outras ferramentas usando webhooks" -#: admin/admin.php:2350 +#: admin/admin.php:3195 msgid "Use Conversational Forms for a chat-like experience" msgstr "Use Formulários de Conversa para uma experiência semelhante a um chat" -#: admin/admin.php:2351 +#: admin/admin.php:3196 msgid "Let users register or log in through your form" msgstr "Permita que os usuários se registrem ou façam login através do seu formulário" -#: admin/admin.php:2352 +#: admin/admin.php:3197 msgid "Build forms that create WordPress user accounts" msgstr "Crie formulários que criem contas de usuário no WordPress" -#: admin/admin.php:2353 +#: admin/admin.php:3198 msgid "Add calculations to auto-total scores or prices" msgstr "Adicione cálculos para totalizar automaticamente pontuações ou preços" @@ -11883,7 +11884,7 @@ msgstr "Explore o SureDash" msgid "Something went wrong. We have logged the error for further investigation" msgstr "Algo deu errado. Registramos o erro para investigação posterior" -#: inc/field-validation.php:410 +#: inc/field-validation.php:413 msgid "Field is not valid." msgstr "O campo não é válido." @@ -11951,8 +11952,8 @@ msgstr "Miniatura de Vídeo do SureForms" msgid "Expected format for emails - email@sureforms.com or John Doe " msgstr "Formato esperado para e-mails - email@sureforms.com ou John Doe " -#: admin/admin.php:725 -#: admin/admin.php:726 +#: admin/admin.php:1371 +#: admin/admin.php:1372 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -12330,7 +12331,7 @@ msgstr "Desconhecido" #: inc/payments/admin/admin-handler.php:1505 #: inc/payments/admin/admin-handler.php:1509 #: inc/payments/front-end.php:872 -#: inc/payments/front-end.php:1316 +#: inc/payments/front-end.php:1317 msgid "Guest User" msgstr "Usuário Convidado" @@ -12356,7 +12357,7 @@ msgstr "O Stripe não está conectado." #: inc/payments/front-end.php:122 #: inc/payments/front-end.php:348 #: inc/payments/front-end.php:641 -#: inc/payments/front-end.php:1195 +#: inc/payments/front-end.php:1196 msgid "Stripe secret key not found." msgstr "Chave secreta do Stripe não encontrada." @@ -12465,7 +12466,7 @@ msgstr "Assinatura não encontrada para o pagamento." #. translators: %d: User ID #: inc/payments/front-end.php:870 -#: inc/payments/front-end.php:1316 +#: inc/payments/front-end.php:1317 #, php-format msgid "User ID: %d" msgstr "ID do usuário: %d" @@ -12499,7 +12500,7 @@ msgstr "ID de Assinatura: %s" #. translators: %s: payment gateway #. translators: %s: Payment gateway name (e.g., Stripe). #: inc/payments/front-end.php:891 -#: inc/payments/front-end.php:1327 +#: inc/payments/front-end.php:1328 #: inc/payments/stripe/admin-stripe-handler.php:190 #: inc/payments/stripe/admin-stripe-handler.php:492 #: inc/payments/stripe/admin-stripe-handler.php:667 @@ -12544,7 +12545,7 @@ msgstr "ID do Cliente: %s" #. translators: 1: Amount, 2: Currency #. translators: %1$s: amount, %2$s: currency. #: inc/payments/front-end.php:901 -#: inc/payments/front-end.php:1329 +#: inc/payments/front-end.php:1330 #: inc/payments/stripe/stripe-webhook.php:1089 #: inc/payments/stripe/stripe-webhook.php:1166 #, php-format @@ -12554,7 +12555,7 @@ msgstr "Quantia: %1$s %2$s" #. translators: %s: Payment mode (e.g. Live or Test) #. translators: %s: payment mode #: inc/payments/front-end.php:904 -#: inc/payments/front-end.php:1334 +#: inc/payments/front-end.php:1335 #, php-format msgid "Mode: %s" msgstr "Modo: %s" @@ -12563,24 +12564,24 @@ msgstr "Modo: %s" msgid "Failed to verify subscription." msgstr "Falha ao verificar a assinatura." -#: inc/payments/front-end.php:1228 -#: inc/payments/front-end.php:1246 -#: inc/payments/front-end.php:1254 -#: inc/payments/front-end.php:1261 +#: inc/payments/front-end.php:1229 +#: inc/payments/front-end.php:1247 +#: inc/payments/front-end.php:1255 +#: inc/payments/front-end.php:1262 msgid "Failed to retrieve payment intent." msgstr "Falha ao recuperar a intenção de pagamento." -#: inc/payments/front-end.php:1269 +#: inc/payments/front-end.php:1270 msgid "Payment was not confirmed successfully." msgstr "O pagamento não foi confirmado com sucesso." -#: inc/payments/front-end.php:1321 +#: inc/payments/front-end.php:1322 msgid "Payment Verification" msgstr "Verificação de Pagamento" #. translators: %s: Stripe transaction ID #. translators: %s: Charge ID -#: inc/payments/front-end.php:1325 +#: inc/payments/front-end.php:1326 #: inc/payments/stripe/stripe-webhook.php:1162 #, php-format msgid "Transaction ID: %s" @@ -12588,18 +12589,18 @@ msgstr "ID da Transação: %s" #. translators: %s: payment status #. translators: %s: Status -#: inc/payments/front-end.php:1331 +#: inc/payments/front-end.php:1332 #: inc/payments/stripe/stripe-webhook.php:576 #: inc/payments/stripe/stripe-webhook.php:1168 #, php-format msgid "Status: %s" msgstr "Status: %s" -#: inc/payments/front-end.php:1437 +#: inc/payments/front-end.php:1438 msgid "Failed to create Stripe customer." msgstr "Falha ao criar cliente Stripe." -#: inc/payments/front-end.php:1501 +#: inc/payments/front-end.php:1502 msgid "Failed to create Stripe guest customer." msgstr "Falha ao criar cliente convidado do Stripe." @@ -13466,7 +13467,7 @@ msgstr "Edite este formulário" #: inc/global-settings/global-settings.php:531 #: inc/migrator/base-migrator.php:549 -#: inc/post-types.php:1087 +#: inc/post-types.php:1114 msgid "Your form has been submitted successfully. We'll review your details and get back to you soon." msgstr "Seu formulário foi enviado com sucesso. Analisaremos seus dados e entraremos em contato em breve." @@ -15163,7 +15164,7 @@ msgstr "É necessário o valor do campo de quantidade variável." msgid "Payment amount below minimum. Minimum: %1$s, received %2$s." msgstr "Valor do pagamento abaixo do mínimo. Mínimo: %1$s, recebido %2$s." -#: inc/rest-api.php:1853 +#: inc/rest-api.php:1876 msgid " (Copy)" msgstr "(Cópia)" @@ -15362,12 +15363,12 @@ msgid "Stripe Settings" msgstr "Configurações do Stripe" #. translators: %1$s: SureForms version, %2$s: SureForms Pro Plugin Name, %3$s: SureForms Pro Version. -#: admin/admin.php:1531 +#: admin/admin.php:2177 #, php-format msgid "SureForms %1$s requires minimum %2$s %3$s to work properly. Please update to the latest version." msgstr "O SureForms %1$s requer o mínimo %2$s %3$s para funcionar corretamente. Por favor, atualize para a versão mais recente." -#: admin/admin.php:1544 +#: admin/admin.php:2190 msgid "Update Now" msgstr "Atualizar agora" @@ -15415,8 +15416,8 @@ msgstr "Posição do Sinal de Moeda" msgid "Select the position of the currency symbol relative to the amount." msgstr "Selecione a posição do símbolo da moeda em relação ao valor." -#: admin/admin.php:668 -#: admin/admin.php:669 +#: admin/admin.php:1314 +#: admin/admin.php:1315 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -15430,40 +15431,40 @@ msgstr "Selecione a posição do símbolo da moeda em relação ao valor." msgid "Learn" msgstr "Aprender" -#: admin/admin.php:1657 +#: admin/admin.php:2303 msgid "Amazing! SureForms is powering your forms and submissions - let's keep growing together!" msgstr "Incrível! SureForms está alimentando seus formulários e submissões - vamos continuar crescendo juntos!" -#: admin/admin.php:1658 +#: admin/admin.php:2304 msgid "If SureForms has been helpful, would you mind taking a moment to leave a 5-star review on WordPress.org?" msgstr "Se o SureForms foi útil, você se importaria de deixar um comentário de 5 estrelas no WordPress.org?" -#: admin/admin.php:1661 -#: admin/admin.php:1705 +#: admin/admin.php:2307 +#: admin/admin.php:2351 msgid "Maybe later" msgstr "Talvez mais tarde" -#: admin/admin.php:1662 +#: admin/admin.php:2308 msgid "I already did" msgstr "Eu já fiz" -#: admin/admin.php:1701 +#: admin/admin.php:2347 msgid "SureForms is ready to power your forms — explore what's possible!" msgstr "SureForms está pronto para potencializar seus formulários — explore o que é possível!" -#: admin/admin.php:1702 +#: admin/admin.php:2348 msgid "Manage your forms, track submissions, and discover features like AI Form Builder, payment integrations, and more from the SureForms dashboard." msgstr "Gerencie seus formulários, acompanhe as submissões e descubra recursos como o Construtor de Formulários com IA, integrações de pagamento e muito mais no painel do SureForms." -#: admin/admin.php:1704 +#: admin/admin.php:2350 msgid "Go to Dashboard" msgstr "Ir para o Painel" -#: admin/admin.php:1706 +#: admin/admin.php:2352 msgid "I already know" msgstr "Eu já sei" -#: admin/admin.php:1786 +#: admin/admin.php:2439 msgid "Invalid parameters." msgstr "Parâmetros inválidos." @@ -15841,8 +15842,8 @@ msgstr "Campo de texto" #: inc/form-restriction.php:183 #: inc/form-restriction.php:184 -#: inc/post-types.php:1230 -#: inc/post-types.php:1270 +#: inc/post-types.php:1257 +#: inc/post-types.php:1297 msgid "This form is not yet available. Check back after the scheduled start time." msgstr "Este formulário ainda não está disponível. Verifique novamente após o horário de início programado." @@ -16126,8 +16127,8 @@ msgstr "Não foi possível excluir o webhook." msgid "Unable to connect to Stripe." msgstr "Não foi possível conectar ao Stripe." -#: inc/post-types.php:1231 -#: inc/post-types.php:1271 +#: inc/post-types.php:1258 +#: inc/post-types.php:1298 msgid "This form is closed. The submission period has ended." msgstr "Este formulário está fechado. O período de envio terminou." @@ -16797,19 +16798,19 @@ msgstr "Segredo do webhook não configurado." msgid "Invalid webhook signature." msgstr "Assinatura de webhook inválida." -#: admin/admin.php:507 -#: admin/admin.php:1101 +#: admin/admin.php:1153 +#: admin/admin.php:1747 #: assets/build/formEditor.js:172 msgid "Quizzes" msgstr "Questionários" -#: admin/admin.php:506 +#: admin/admin.php:1152 msgid "Quiz Entries" msgstr "Entradas do Quiz" -#: admin/admin.php:509 -#: admin/admin.php:542 -#: admin/admin.php:575 +#: admin/admin.php:1155 +#: admin/admin.php:1188 +#: admin/admin.php:1221 #: assets/build/settings.js:172 msgid "New" msgstr "Novo" @@ -17327,9 +17328,9 @@ msgstr "Perfeito para educação, treinamento e curiosidades divertidas" msgid "Select this to create a quiz with scored questions and graded results." msgstr "Selecione isto para criar um questionário com perguntas pontuadas e resultados avaliados." -#: admin/admin.php:539 -#: admin/admin.php:540 -#: admin/admin.php:1106 +#: admin/admin.php:1185 +#: admin/admin.php:1186 +#: admin/admin.php:1752 msgid "Survey Reports" msgstr "Relatórios de Pesquisa" @@ -17735,7 +17736,7 @@ msgid "Error creating SureForms Form." msgstr "Erro ao criar o formulário SureForms." #. translators: %s represents the minimum number of characters required -#: inc/field-validation.php:423 +#: inc/field-validation.php:426 #: inc/translatable.php:94 #, php-format msgid "Please enter at least %s characters." @@ -17893,9 +17894,9 @@ msgstr "A resposta da IA estava vazia. Por favor, refine seu prompt e tente nova msgid "Unable to build form fields from the AI response." msgstr "Não foi possível criar campos de formulário a partir da resposta da IA." -#: admin/admin.php:572 -#: admin/admin.php:573 -#: admin/admin.php:1111 +#: admin/admin.php:1218 +#: admin/admin.php:1219 +#: admin/admin.php:1757 msgid "Partial Entries" msgstr "Entradas Parciais" @@ -18766,23 +18767,23 @@ msgstr "O valor do pagamento não pôde ser verificado para este formulário. Po msgid "Cancellation is not supported for this payment gateway." msgstr "O cancelamento não é suportado para este gateway de pagamento." -#: admin/admin.php:1988 +#: admin/admin.php:2641 msgid "SureForms AI Quick Draft" msgstr "SureForms AI Rascunho Rápido" -#: admin/admin.php:2007 +#: admin/admin.php:2660 msgid "Describe the form and let SureForms AI generate it for you." msgstr "Descreva o formulário e deixe o SureForms AI gerá-lo para você." -#: admin/admin.php:2010 +#: admin/admin.php:2663 msgid "Describe your form" msgstr "Descreva seu formulário" -#: admin/admin.php:2017 +#: admin/admin.php:2670 msgid "Example: Create a contact form with name, email, phone, and message fields." msgstr "Exemplo: Crie um formulário de contato com campos de nome, email, telefone e mensagem." -#: admin/admin.php:2058 +#: admin/admin.php:2711 msgid "Redirecting..." msgstr "Redirecionando..." @@ -18795,14 +18796,14 @@ msgid "The prompt is too long. Please shorten it and try again." msgstr "O prompt é muito longo. Por favor, encurte-o e tente novamente." #. translators: %s: maximum characters allowed before the @ symbol. -#: inc/field-validation.php:445 +#: inc/field-validation.php:448 #: inc/translatable.php:97 #, php-format msgid "The part before @ may not exceed %s characters." msgstr "A parte antes do @ não pode exceder %s caracteres." #. translators: %s: maximum characters allowed after the @ symbol. -#: inc/field-validation.php:451 +#: inc/field-validation.php:454 #: inc/translatable.php:100 #, php-format msgid "The part after @ may not exceed %s characters." @@ -18889,22 +18890,97 @@ msgstr "Desculpe, você não tem permissão para renderizar este formulário." msgid "This form requires a payment. Please complete the payment and submit again." msgstr "Este formulário requer um pagamento. Por favor, complete o pagamento e envie novamente." -#: inc/post-types.php:226 +#: admin/admin.php:474 +msgid "You are not allowed to update this prompt." +msgstr "Você não tem permissão para atualizar este prompt." + +#: admin/admin.php:517 +msgid "Finish setting up your form" +msgstr "Conclua a configuração do seu formulário" + +#: admin/admin.php:549 +msgid "Review or edit your form" +msgstr "Revise ou edite seu formulário" + +#: admin/admin.php:550 +#: admin/admin.php:3038 +msgid "Edit form" +msgstr "Editar formulário" + +#: admin/admin.php:555 +msgid "Personalize the Thank You message" +msgstr "Personalize a mensagem de agradecimento" + +#: admin/admin.php:556 +msgid "Edit message" +msgstr "Editar mensagem" + +#: admin/admin.php:561 +msgid "Choose who gets notified of new replies" +msgstr "Escolha quem será notificado sobre novas respostas" + +#: admin/admin.php:562 +msgid "Set up email" +msgstr "Configurar e-mail" + +#: admin/admin.php:570 +msgid "your form" +msgstr "seu formulário" + +#. translators: %s: form title. +#: admin/admin.php:573 +#, php-format +msgid "Finish setting up %s" +msgstr "Conclua a configuração de %s" + +#. translators: %s: form title. +#: admin/admin.php:581 +#, php-format +msgid "View %s (opens in a new tab)" +msgstr "Visualizar %s (abre em uma nova aba)" + +#: admin/admin.php:586 +msgid "Customize your form to get it ready for real submissions:" +msgstr "Personalize seu formulário para deixá-lo pronto para envios reais:" + +#: admin/admin.php:3021 +msgid "We’ve already created this form for you. Finish customising it so it’s ready to collect real submissions." +msgstr "Já criamos este formulário para você. Termine de personalizá-lo para que esteja pronto para coletar envios reais." + +#. translators: %s: form name. +#: admin/admin.php:3030 +#, php-format +msgid "Finish setting up “%s”" +msgstr "Conclua a configuração de “%s”" + +#: admin/admin.php:3039 +msgid "Edit the Thank You message" +msgstr "Edite a mensagem de agradecimento" + +#: admin/admin.php:3040 +msgid "Set where replies go" +msgstr "Defina para onde vão as respostas" + +#: inc/generate-form-markup.php:1445 +msgid "(opens in a new tab)" +msgstr "(abre em uma nova aba)" + +#: inc/post-types.php:265 msgctxt "post type general name" msgid "Forms" msgstr "Formulários" -#: inc/post-types.php:227 +#: inc/post-types.php:266 msgctxt "post type singular name" msgid "Form" msgstr "Formulário" -#: inc/post-types.php:228 +#: inc/post-types.php:267 msgctxt "admin menu" msgid "Forms" msgstr "Formulários" -#: inc/post-types.php:229 +#: inc/post-types.php:268 msgctxt "form" msgid "Add New" msgstr "Adicionar Novo" diff --git a/languages/sureforms.pot b/languages/sureforms.pot index 460060efb..efb834837 100644 --- a/languages/sureforms.pot +++ b/languages/sureforms.pot @@ -2,14 +2,14 @@ # This file is distributed under the GPLv2 or later. msgid "" msgstr "" -"Project-Id-Version: SureForms 2.12.3\n" +"Project-Id-Version: SureForms 2.12.4\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/sureforms\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2026-08-05T10:06:17+00:00\n" +"POT-Creation-Date: 2026-08-19T05:26:36+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.12.0\n" "X-Domain: sureforms\n" @@ -17,9 +17,9 @@ msgstr "" #. Plugin Name of the plugin #. Author of the plugin #: sureforms.php -#: admin/admin.php:406 -#: admin/admin.php:407 -#: admin/admin.php:1970 +#: admin/admin.php:1052 +#: admin/admin.php:1053 +#: admin/admin.php:2623 #: inc/abilities/abilities-registrar.php:139 #: inc/gutenberg-hooks.php:109 #: inc/page-builders/bricks/elements/form-widget.php:67 @@ -46,12 +46,65 @@ msgstr "" msgid "https://sureforms.com/" msgstr "" -#: admin/admin.php:329 +#: admin/admin.php:474 +msgid "You are not allowed to update this prompt." +msgstr "" + +#: admin/admin.php:517 +msgid "Finish setting up your form" +msgstr "" + +#: admin/admin.php:549 +msgid "Review or edit your form" +msgstr "" + +#: admin/admin.php:550 +#: admin/admin.php:3038 +msgid "Edit form" +msgstr "" + +#: admin/admin.php:555 +msgid "Personalize the Thank You message" +msgstr "" + +#: admin/admin.php:556 +msgid "Edit message" +msgstr "" + +#: admin/admin.php:561 +msgid "Choose who gets notified of new replies" +msgstr "" + +#: admin/admin.php:562 +msgid "Set up email" +msgstr "" + +#: admin/admin.php:570 +msgid "your form" +msgstr "" + +#. translators: %s: form title. +#: admin/admin.php:573 +#, php-format +msgid "Finish setting up %s" +msgstr "" + +#. translators: %s: form title. +#: admin/admin.php:581 +#, php-format +msgid "View %s (opens in a new tab)" +msgstr "" + +#: admin/admin.php:586 +msgid "Customize your form to get it ready for real submissions:" +msgstr "" + +#: admin/admin.php:975 msgid "Get SureForms Pro" msgstr "" -#: admin/admin.php:419 -#: admin/admin.php:420 +#: admin/admin.php:1065 +#: admin/admin.php:1066 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -66,9 +119,9 @@ msgstr "" msgid "Dashboard" msgstr "" -#: admin/admin.php:437 -#: admin/admin.php:438 -#: admin/admin.php:870 +#: admin/admin.php:1083 +#: admin/admin.php:1084 +#: admin/admin.php:1516 #: inc/compatibility/multilingual/string-collector.php:236 #: inc/compatibility/multilingual/string-collector.php:245 #: inc/compatibility/multilingual/string-collector.php:313 @@ -86,9 +139,9 @@ msgstr "" msgid "Settings" msgstr "" -#: admin/admin.php:490 -#: admin/admin.php:491 -#: admin/admin.php:2403 +#: admin/admin.php:1136 +#: admin/admin.php:1137 +#: admin/admin.php:3248 #: assets/build/blocks.js:172 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 @@ -96,42 +149,42 @@ msgstr "" msgid "Upgrade" msgstr "" -#: admin/admin.php:506 +#: admin/admin.php:1152 msgid "Quiz Entries" msgstr "" -#: admin/admin.php:507 -#: admin/admin.php:1101 +#: admin/admin.php:1153 +#: admin/admin.php:1747 #: assets/build/formEditor.js:172 msgid "Quizzes" msgstr "" -#: admin/admin.php:509 -#: admin/admin.php:542 -#: admin/admin.php:575 +#: admin/admin.php:1155 +#: admin/admin.php:1188 +#: admin/admin.php:1221 #: assets/build/settings.js:172 msgid "New" msgstr "" -#: admin/admin.php:539 -#: admin/admin.php:540 -#: admin/admin.php:1106 +#: admin/admin.php:1185 +#: admin/admin.php:1186 +#: admin/admin.php:1752 msgid "Survey Reports" msgstr "" -#: admin/admin.php:572 -#: admin/admin.php:573 -#: admin/admin.php:1111 +#: admin/admin.php:1218 +#: admin/admin.php:1219 +#: admin/admin.php:1757 msgid "Partial Entries" msgstr "" -#: admin/admin.php:605 -#: admin/admin.php:606 +#: admin/admin.php:1251 +#: admin/admin.php:1252 msgid "SMTP" msgstr "" -#: admin/admin.php:668 -#: admin/admin.php:669 +#: admin/admin.php:1314 +#: admin/admin.php:1315 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -145,9 +198,9 @@ msgstr "" msgid "Learn" msgstr "" -#: admin/admin.php:697 -#: admin/admin.php:698 -#: inc/post-types.php:235 +#: admin/admin.php:1343 +#: admin/admin.php:1344 +#: inc/post-types.php:274 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -161,15 +214,15 @@ msgstr "" msgid "Forms" msgstr "" -#: admin/admin.php:706 -#: admin/admin.php:707 -#: inc/post-types.php:231 +#: admin/admin.php:1352 +#: admin/admin.php:1353 +#: inc/post-types.php:270 msgid "New Form" msgstr "" -#: admin/admin.php:715 -#: admin/admin.php:716 -#: admin/admin.php:2179 +#: admin/admin.php:1361 +#: admin/admin.php:1362 +#: admin/admin.php:2832 #: inc/generate-form-markup.php:203 #: inc/generate-form-markup.php:216 #: inc/global-settings/email-summary.php:225 @@ -186,8 +239,8 @@ msgstr "" msgid "Entries" msgstr "" -#: admin/admin.php:725 -#: admin/admin.php:726 +#: admin/admin.php:1371 +#: admin/admin.php:1372 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/forms.js:172 @@ -202,16 +255,16 @@ msgid "Payments" msgstr "" #. Translators: Post Title. -#: admin/admin.php:958 +#: admin/admin.php:1604 #, php-format msgid "Edit %1$s" msgstr "" -#: admin/admin.php:1030 +#: admin/admin.php:1676 msgid "Activating..." msgstr "" -#: admin/admin.php:1031 +#: admin/admin.php:1677 #: assets/build/dashboard.js:172 #: assets/build/entries.js:172 #: assets/build/formEditor.js:172 @@ -226,84 +279,84 @@ msgstr "" msgid "Activated" msgstr "" -#: admin/admin.php:1032 +#: admin/admin.php:1678 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "Activate" msgstr "" -#: admin/admin.php:1033 +#: admin/admin.php:1679 msgid "Installing..." msgstr "" -#: admin/admin.php:1034 +#: admin/admin.php:1680 msgid "Installed" msgstr "" #. translators: %1$s: SureForms version, %2$s: SureForms Pro Plugin Name, %3$s: SureForms Pro Version. -#: admin/admin.php:1531 +#: admin/admin.php:2177 #, php-format msgid "SureForms %1$s requires minimum %2$s %3$s to work properly. Please update to the latest version." msgstr "" -#: admin/admin.php:1544 +#: admin/admin.php:2190 msgid "Update Now" msgstr "" #. translators: %1$s: Opening anchor tag with URL, %2$s: Closing anchor tag, %3$s: SureForms Pro Plugin Name. -#: admin/admin.php:1596 +#: admin/admin.php:2242 #, php-format msgid "Please %1$sactivate%2$s your copy of %3$s to get new features, access support, receive update notifications, and more." msgstr "" #. translators: %1$s: SureForms version, %2$s: SureForms Pro Plugin Name, %3$s: SureForms Pro Version, %4$s: Anchor tag open, %5$s: Closing anchor tag. -#: admin/admin.php:1614 +#: admin/admin.php:2260 #, php-format msgid "SureForms %1$s requires minimum %2$s %3$s to work properly. Please update to the latest version from %4$shere%5$s." msgstr "" -#: admin/admin.php:1657 +#: admin/admin.php:2303 msgid "Amazing! SureForms is powering your forms and submissions - let's keep growing together!" msgstr "" -#: admin/admin.php:1658 +#: admin/admin.php:2304 msgid "If SureForms has been helpful, would you mind taking a moment to leave a 5-star review on WordPress.org?" msgstr "" -#: admin/admin.php:1660 +#: admin/admin.php:2306 msgid "Rate SureForms" msgstr "" -#: admin/admin.php:1661 -#: admin/admin.php:1705 +#: admin/admin.php:2307 +#: admin/admin.php:2351 msgid "Maybe later" msgstr "" -#: admin/admin.php:1662 +#: admin/admin.php:2308 msgid "I already did" msgstr "" -#: admin/admin.php:1701 +#: admin/admin.php:2347 msgid "SureForms is ready to power your forms — explore what's possible!" msgstr "" -#: admin/admin.php:1702 +#: admin/admin.php:2348 msgid "Manage your forms, track submissions, and discover features like AI Form Builder, payment integrations, and more from the SureForms dashboard." msgstr "" -#: admin/admin.php:1704 +#: admin/admin.php:2350 msgid "Go to Dashboard" msgstr "" -#: admin/admin.php:1706 +#: admin/admin.php:2352 msgid "I already know" msgstr "" -#: admin/admin.php:1762 -#: admin/admin.php:1861 -#: admin/admin.php:1899 -#: admin/admin.php:1920 -#: admin/admin.php:2133 +#: admin/admin.php:2408 +#: admin/admin.php:2514 +#: admin/admin.php:2552 +#: admin/admin.php:2573 +#: admin/admin.php:2786 #: inc/admin-ajax.php:162 #: inc/payments/admin/admin-handler.php:638 #: inc/payments/stripe/admin-stripe-handler.php:80 @@ -311,118 +364,136 @@ msgstr "" msgid "Invalid nonce." msgstr "" -#: admin/admin.php:1766 -#: admin/admin.php:1857 -#: admin/admin.php:1895 -#: admin/admin.php:1916 -#: admin/admin.php:2137 +#: admin/admin.php:2412 +#: admin/admin.php:2510 +#: admin/admin.php:2548 +#: admin/admin.php:2569 +#: admin/admin.php:2790 msgid "Unauthorized user." msgstr "" -#: admin/admin.php:1786 +#: admin/admin.php:2439 msgid "Invalid parameters." msgstr "" #. translators: 1: opening span, 2: opening strong (inline), 3: closing strong, 4: closing span, 5: opening strong (block), 6: closing strong -#: admin/admin.php:1866 +#: admin/admin.php:2519 #, php-format msgid "%1$sGet started by %2$sbuilding your first form%3$s.%4$s%5$sExperience the power of our intuitive AI Form Builder%6$s" msgstr "" -#: admin/admin.php:1877 +#: admin/admin.php:2530 msgid "SureForms is waiting for you!" msgstr "" -#: admin/admin.php:1879 +#: admin/admin.php:2532 msgid "Build My First Form" msgstr "" -#: admin/admin.php:1880 +#: admin/admin.php:2533 msgid "Dismiss" msgstr "" -#: admin/admin.php:1988 +#: admin/admin.php:2641 msgid "SureForms AI Quick Draft" msgstr "" -#: admin/admin.php:2007 +#: admin/admin.php:2660 msgid "Describe the form and let SureForms AI generate it for you." msgstr "" -#: admin/admin.php:2010 +#: admin/admin.php:2663 msgid "Describe your form" msgstr "" -#: admin/admin.php:2017 +#: admin/admin.php:2670 msgid "Example: Create a contact form with name, email, phone, and message fields." msgstr "" -#: admin/admin.php:2021 +#: admin/admin.php:2674 #: inc/page-builders/elementor/form-widget.php:346 #: assets/build/dashboard.js:2 msgid "Create New Form" msgstr "" -#: admin/admin.php:2058 +#: admin/admin.php:2711 msgid "Redirecting..." msgstr "" -#: admin/admin.php:2166 +#: admin/admin.php:2819 msgid "Recent Entries" msgstr "" -#: admin/admin.php:2167 +#: admin/admin.php:2820 msgid "( Last 7 days )" msgstr "" -#: admin/admin.php:2170 +#: admin/admin.php:2823 msgid "View" msgstr "" -#: admin/admin.php:2178 +#: admin/admin.php:2831 #: inc/global-settings/email-summary.php:224 #: assets/build/entries.js:172 #: assets/build/payments.js:172 msgid "Form Name" msgstr "" -#: admin/admin.php:2344 +#: admin/admin.php:3021 +msgid "We’ve already created this form for you. Finish customising it so it’s ready to collect real submissions." +msgstr "" + +#. translators: %s: form name. +#: admin/admin.php:3030 +#, php-format +msgid "Finish setting up “%s”" +msgstr "" + +#: admin/admin.php:3039 +msgid "Edit the Thank You message" +msgstr "" + +#: admin/admin.php:3040 +msgid "Set where replies go" +msgstr "" + +#: admin/admin.php:3189 msgid "Use Conditional Logic to show only what matters" msgstr "" -#: admin/admin.php:2345 +#: admin/admin.php:3190 msgid "Split your form into steps to keep it easy" msgstr "" -#: admin/admin.php:2346 +#: admin/admin.php:3191 msgid "Let people upload files directly to your form" msgstr "" -#: admin/admin.php:2347 +#: admin/admin.php:3192 msgid "Turn responses into downloadable PDFs automatically" msgstr "" -#: admin/admin.php:2348 +#: admin/admin.php:3193 msgid "Let users sign with a simple signature field" msgstr "" -#: admin/admin.php:2349 +#: admin/admin.php:3194 msgid "Connect your form to other tools using webhooks" msgstr "" -#: admin/admin.php:2350 +#: admin/admin.php:3195 msgid "Use Conversational Forms for a chat-like experience" msgstr "" -#: admin/admin.php:2351 +#: admin/admin.php:3196 msgid "Let users register or log in through your form" msgstr "" -#: admin/admin.php:2352 +#: admin/admin.php:3197 msgid "Build forms that create WordPress user accounts" msgstr "" -#: admin/admin.php:2353 +#: admin/admin.php:3198 msgid "Add calculations to auto-total scores or prices" msgstr "" @@ -1349,7 +1420,7 @@ msgstr "" #: inc/blocks/sform/block.php:42 #: inc/page-builders/bricks/elements/form-widget.php:508 #: inc/page-builders/elementor/form-widget.php:827 -#: inc/post-types.php:1324 +#: inc/post-types.php:1351 #: assets/build/blocks.js:172 msgid "This form has been deleted or is unavailable." msgstr "" @@ -1695,33 +1766,33 @@ msgstr "" msgid "Unable to import form." msgstr "" -#: inc/field-validation.php:410 +#: inc/field-validation.php:413 msgid "Field is not valid." msgstr "" #. translators: %s represents the minimum number of characters required -#: inc/field-validation.php:423 +#: inc/field-validation.php:426 #: inc/translatable.php:94 #, php-format msgid "Please enter at least %s characters." msgstr "" #. translators: %s: maximum characters allowed before the @ symbol. -#: inc/field-validation.php:445 +#: inc/field-validation.php:448 #: inc/translatable.php:97 #, php-format msgid "The part before @ may not exceed %s characters." msgstr "" #. translators: %s: maximum characters allowed after the @ symbol. -#: inc/field-validation.php:451 +#: inc/field-validation.php:454 #: inc/translatable.php:100 #, php-format msgid "The part after @ may not exceed %s characters." msgstr "" #: inc/fields/dropdown-markup.php:112 -#: inc/gutenberg-hooks.php:223 +#: inc/gutenberg-hooks.php:234 msgid "Select an option" msgstr "" @@ -1850,8 +1921,8 @@ msgstr "" #: inc/form-restriction.php:183 #: inc/form-restriction.php:184 -#: inc/post-types.php:1230 -#: inc/post-types.php:1270 +#: inc/post-types.php:1257 +#: inc/post-types.php:1297 msgid "This form is not yet available. Check back after the scheduled start time." msgstr "" @@ -1952,41 +2023,41 @@ msgstr "" msgid "Too many requests. Please try again shortly." msgstr "" -#: inc/form-submit.php:1159 +#: inc/form-submit.php:1160 msgid "Captcha validation failed. No error code provided." msgstr "" -#: inc/form-submit.php:1160 +#: inc/form-submit.php:1161 msgid "Captcha validation failed." msgstr "" -#: inc/form-submit.php:1215 +#: inc/form-submit.php:1216 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "Google reCAPTCHA" msgstr "" -#: inc/form-submit.php:1219 +#: inc/form-submit.php:1220 #: assets/build/formEditor.js:172 #: assets/build/settings.js:172 msgid "hCaptcha" msgstr "" -#: inc/form-submit.php:1223 +#: inc/form-submit.php:1224 #: assets/build/settings.js:172 msgid "Cloudflare Turnstile" msgstr "" -#: inc/form-submit.php:1227 +#: inc/form-submit.php:1228 msgid "Unknown Captcha" msgstr "" -#: inc/form-submit.php:1228 +#: inc/form-submit.php:1229 msgid "Invalid captcha type." msgstr "" #. translators: %s is the captcha title. -#: inc/form-submit.php:1241 +#: inc/form-submit.php:1242 #, php-format msgid "%s verification failed. Please contact your site administrator." msgstr "" @@ -2101,10 +2172,22 @@ msgstr "" msgid "Sorry, you are not allowed to render this form." msgstr "" -#: inc/generate-form-markup.php:1102 +#: inc/generate-form-markup.php:1114 msgid "There was an error trying to submit your form. Please try again." msgstr "" +#: inc/generate-form-markup.php:1444 +#: inc/page-builders/elementor/form-widget.php:332 +#: inc/post-types.php:95 +#: inc/post-types.php:271 +#: assets/build/blocks.js:172 +msgid "Edit Form" +msgstr "" + +#: inc/generate-form-markup.php:1445 +msgid "(opens in a new tab)" +msgstr "" + #: inc/global-settings/email-summary.php:70 msgid "Invalid email address." msgstr "" @@ -2215,7 +2298,7 @@ msgstr "" #: inc/global-settings/global-settings-defaults.php:166 #: inc/migrator/importers/cf7-importer.php:168 #: inc/migrator/importers/ninja-importer.php:1152 -#: inc/post-types.php:1004 +#: inc/post-types.php:1031 msgid "Admin Notification Email" msgstr "" @@ -2223,7 +2306,7 @@ msgstr "" #. translators: %s: {form_title} smart tag placeholder. #: inc/global-settings/global-settings-defaults.php:173 #: inc/global-settings/global-settings.php:588 -#: inc/post-types.php:1011 +#: inc/post-types.php:1038 #: assets/build/settings.js:172 #, php-format,js-format msgid "New Form Submission - %s" @@ -2256,14 +2339,14 @@ msgstr "" #: inc/global-settings/global-settings.php:530 #: inc/migrator/base-migrator.php:548 -#: inc/post-types.php:1087 +#: inc/post-types.php:1114 #: assets/build/formEditor.js:172 msgid "Thank you" msgstr "" #: inc/global-settings/global-settings.php:531 #: inc/migrator/base-migrator.php:549 -#: inc/post-types.php:1087 +#: inc/post-types.php:1114 msgid "Your form has been submitted successfully. We'll review your details and get back to you soon." msgstr "" @@ -2276,7 +2359,7 @@ msgstr "" msgid "Advanced Fields" msgstr "" -#: inc/gutenberg-hooks.php:222 +#: inc/gutenberg-hooks.php:233 msgid "I consent to have this website store my submitted information so they can respond to my inquiry." msgstr "" @@ -3066,13 +3149,6 @@ msgstr "" msgid "Hide" msgstr "" -#: inc/page-builders/elementor/form-widget.php:332 -#: inc/post-types.php:95 -#: inc/post-types.php:232 -#: assets/build/blocks.js:172 -msgid "Edit Form" -msgstr "" - #: inc/page-builders/elementor/form-widget.php:335 #: assets/build/formEditor.js:172 #: assets/build/forms.js:172 @@ -3333,7 +3409,7 @@ msgstr "" #: inc/payments/admin/admin-handler.php:1505 #: inc/payments/admin/admin-handler.php:1509 #: inc/payments/front-end.php:872 -#: inc/payments/front-end.php:1316 +#: inc/payments/front-end.php:1317 msgid "Guest User" msgstr "" @@ -3365,7 +3441,7 @@ msgstr "" #: inc/payments/front-end.php:122 #: inc/payments/front-end.php:348 #: inc/payments/front-end.php:641 -#: inc/payments/front-end.php:1195 +#: inc/payments/front-end.php:1196 msgid "Stripe secret key not found." msgstr "" @@ -3478,7 +3554,7 @@ msgstr "" #. translators: %d: User ID #: inc/payments/front-end.php:870 -#: inc/payments/front-end.php:1316 +#: inc/payments/front-end.php:1317 #, php-format msgid "User ID: %d" msgstr "" @@ -3512,7 +3588,7 @@ msgstr "" #. translators: %s: payment gateway #. translators: %s: Payment gateway name (e.g., Stripe). #: inc/payments/front-end.php:891 -#: inc/payments/front-end.php:1327 +#: inc/payments/front-end.php:1328 #: inc/payments/stripe/admin-stripe-handler.php:190 #: inc/payments/stripe/admin-stripe-handler.php:492 #: inc/payments/stripe/admin-stripe-handler.php:667 @@ -3557,7 +3633,7 @@ msgstr "" #. translators: 1: Amount, 2: Currency #. translators: %1$s: amount, %2$s: currency. #: inc/payments/front-end.php:901 -#: inc/payments/front-end.php:1329 +#: inc/payments/front-end.php:1330 #: inc/payments/stripe/stripe-webhook.php:1089 #: inc/payments/stripe/stripe-webhook.php:1166 #, php-format @@ -3567,7 +3643,7 @@ msgstr "" #. translators: %s: Payment mode (e.g. Live or Test) #. translators: %s: payment mode #: inc/payments/front-end.php:904 -#: inc/payments/front-end.php:1334 +#: inc/payments/front-end.php:1335 #, php-format msgid "Mode: %s" msgstr "" @@ -3576,24 +3652,24 @@ msgstr "" msgid "Failed to verify subscription." msgstr "" -#: inc/payments/front-end.php:1228 -#: inc/payments/front-end.php:1246 -#: inc/payments/front-end.php:1254 -#: inc/payments/front-end.php:1261 +#: inc/payments/front-end.php:1229 +#: inc/payments/front-end.php:1247 +#: inc/payments/front-end.php:1255 +#: inc/payments/front-end.php:1262 msgid "Failed to retrieve payment intent." msgstr "" -#: inc/payments/front-end.php:1269 +#: inc/payments/front-end.php:1270 msgid "Payment was not confirmed successfully." msgstr "" -#: inc/payments/front-end.php:1321 +#: inc/payments/front-end.php:1322 msgid "Payment Verification" msgstr "" #. translators: %s: Stripe transaction ID #. translators: %s: Charge ID -#: inc/payments/front-end.php:1325 +#: inc/payments/front-end.php:1326 #: inc/payments/stripe/stripe-webhook.php:1162 #, php-format msgid "Transaction ID: %s" @@ -3601,18 +3677,18 @@ msgstr "" #. translators: %s: payment status #. translators: %s: Status -#: inc/payments/front-end.php:1331 +#: inc/payments/front-end.php:1332 #: inc/payments/stripe/stripe-webhook.php:576 #: inc/payments/stripe/stripe-webhook.php:1168 #, php-format msgid "Status: %s" msgstr "" -#: inc/payments/front-end.php:1437 +#: inc/payments/front-end.php:1438 msgid "Failed to create Stripe customer." msgstr "" -#: inc/payments/front-end.php:1501 +#: inc/payments/front-end.php:1502 msgid "Failed to create Stripe guest customer." msgstr "" @@ -4936,75 +5012,75 @@ msgstr "" msgid "Edit this form" msgstr "" -#: inc/post-types.php:208 +#: inc/post-types.php:247 msgid "No records found" msgstr "" -#: inc/post-types.php:209 +#: inc/post-types.php:248 msgid "This is where your form entries will appear" msgstr "" -#: inc/post-types.php:226 +#: inc/post-types.php:265 msgctxt "post type general name" msgid "Forms" msgstr "" -#: inc/post-types.php:227 +#: inc/post-types.php:266 msgctxt "post type singular name" msgid "Form" msgstr "" -#: inc/post-types.php:228 +#: inc/post-types.php:267 msgctxt "admin menu" msgid "Forms" msgstr "" -#: inc/post-types.php:229 +#: inc/post-types.php:268 msgctxt "form" msgid "Add New" msgstr "" -#: inc/post-types.php:230 +#: inc/post-types.php:269 #: assets/build/forms.js:172 msgid "Add New Form" msgstr "" -#: inc/post-types.php:233 +#: inc/post-types.php:272 #: assets/build/forms.js:172 #: assets/build/payments.js:172 msgid "View Form" msgstr "" -#: inc/post-types.php:234 +#: inc/post-types.php:273 msgid "View Forms" msgstr "" -#: inc/post-types.php:236 +#: inc/post-types.php:275 msgid "Search Forms" msgstr "" -#: inc/post-types.php:237 +#: inc/post-types.php:276 msgid "Parent Forms:" msgstr "" -#: inc/post-types.php:238 +#: inc/post-types.php:277 msgid "No forms found." msgstr "" -#: inc/post-types.php:239 +#: inc/post-types.php:278 msgid "No forms found in Trash." msgstr "" -#: inc/post-types.php:240 +#: inc/post-types.php:279 msgid "Form published." msgstr "" -#: inc/post-types.php:241 +#: inc/post-types.php:280 msgid "Form updated." msgstr "" -#: inc/post-types.php:1231 -#: inc/post-types.php:1271 +#: inc/post-types.php:1258 +#: inc/post-types.php:1298 msgid "This form is closed. The submission period has ended." msgstr "" @@ -5086,7 +5162,7 @@ msgstr "" msgid "Failed to %s this form. Please try again." msgstr "" -#: inc/rest-api.php:1853 +#: inc/rest-api.php:1876 msgid " (Copy)" msgstr "" diff --git a/modules/gutenberg/build/blocks.asset.php b/modules/gutenberg/build/blocks.asset.php index ada35333e..3b40d3e7f 100644 --- a/modules/gutenberg/build/blocks.asset.php +++ b/modules/gutenberg/build/blocks.asset.php @@ -1 +1 @@ - array('react', 'react-dom', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '218dd0cb30d1e2883a8e'); + array('react', 'react-dom', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '7de5b2a52e65b2040f2c'); diff --git a/modules/gutenberg/build/blocks.js b/modules/gutenberg/build/blocks.js index bf655444e..187bed39e 100644 --- a/modules/gutenberg/build/blocks.js +++ b/modules/gutenberg/build/blocks.js @@ -3,7 +3,7 @@ (0,M.__)("%s units","sureforms"),t.name),key:t.name},(0,w.createElement)(te.Button,{key:t.unitValue,className:"uagb-range-control__units--"+t.name,isSmall:!0,isPrimary:e.unit.value===t.unitValue,isSecondary:e.unit.value!==t.unitValue,"aria-pressed":e.unit.value===t.unitValue,"aria-label":(0,M.sprintf)(/* translators: abbreviation for units */ /* translators: abbreviation for units */ (0,M.__)("%s units","sureforms"),t.name),onClick:()=>p(t.unitValue)},t.unitValue)))),a})(g)))),(0,w.createElement)("div",{className:"uagb-range-control__mobile-controls"},(0,w.createElement)(te.RangeControl,{value:c,onChange:d,withInputField:!1,allowReset:!1,max:s,min:u,step:e?.step||1,initialPosition:c,marks:e?.marks||!1}),o&&Se&&(0,w.createElement)(te.__experimentalNumberControl,{disabled:e.disabled,isShiftStepEnabled:r,max:s,min:u,onChange:d,value:c,step:e?.step||1})),(0,w.createElement)(pe,{text:e.help})),b)};Ce.defaultProps={label:(0,M.__)("Margin","sureforms"),className:"",allowReset:!0,withInputField:!0,isShiftStepEnabled:!0,max:1/0,min:-1/0,resetFallbackValue:"",placeholder:null,unit:["px","em"],displayUnit:!0,responsive:!1,help:!1,marks:!1};const Me=Ce;function Te(e){const t=(0,V.useSelect)(e=>e("core/edit-post")?.__experimentalGetPreviewDeviceType(),[]),{sizeText:a,size:i,min:l,type:n,typeTablet:o,typeMobile:r,setAttributes:s,sizeLabel:u,sizeTabletText:c,sizeTablet:g,sizeTabletLabel:d,sizeMobileText:p,sizeMobile:h,sizeMobileLabel:m}=e,b={};return b.Desktop=(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Me,{...e,label:a,value:i.value||"",min:l,max:200,unit:n,responsive:!0,setAttributes:s,data:{value:i.value,label:u},step:e?.step})),b.Tablet=(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Me,{...e,label:c,value:g.value,min:l,max:200,unit:o||n,responsive:!0,setAttributes:s,data:{value:g.value,label:d},step:e?.stepTablet?e?.stepTablet:e?.step})),b.Mobile=(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Me,{...e,label:p,value:h.value,min:l,max:200,unit:r||n,responsive:!0,setAttributes:s,data:{value:h.value,label:m},step:e?.stepMobile?e?.stepMobile:e?.step})),(0,w.createElement)("div",{className:"uagb-size-type-field-tabs"},(0,w.createElement)("div",{className:"uagb-responsive-control-inner"},b[t]?b[t]:b.Desktop))}const Ee={ABeeZee:{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},Abel:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Abhaya Libre":{v:["regular","500","600","700","800"],subset:["latin","latin-ext","sinhala"],weight:["Default","400","500","600","700","800"],i:["normal"]},Aboreto:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Abril Fatface":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Abyssinica SIL":{v:["regular"],subset:["ethiopic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Aclonica:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Acme:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Actor:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Adamina:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Advent Pro":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Aguafina Script":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Akaya Kanadaka":{v:["regular"],subset:["kannada","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Akaya Telivigala":{v:["regular"],subset:["latin","latin-ext","telugu"],weight:["Default","400"],i:["normal"]},Akronim:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Akshar:{v:["300","regular","500","600","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},Aladin:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Alata:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Alatsi:{v:["regular"],subset:["cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Albert Sans":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Aldrich:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Alef:{v:["regular","700"],subset:["hebrew","latin"],weight:["Default","400","700"],i:["normal"]},Alegreya:{v:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800","900"],i:["normal","italic"]},"Alegreya SC":{v:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","400","500","700","800","900"],i:["normal","italic"]},"Alegreya Sans":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","100","300","400","500","700","800","900"],i:["normal","italic"]},"Alegreya Sans SC":{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","100","300","400","500","700","800","900"],i:["normal","italic"]},Aleo:{v:["300","300italic","regular","italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","300","400","700"],i:["normal","italic"]},"Alex Brush":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Alexandria:{v:["100","200","300","regular","500","600","700","800","900"],subset:["arabic","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Alfa Slab One":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Alice:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Alike:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Alike Angular":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Alkalami:{v:["regular"],subset:["arabic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Alkatra:{v:["regular","500","600","700"],subset:["bengali","devanagari","latin","latin-ext","oriya"],weight:["Default","400","500","600","700"],i:["normal"]},Allan:{v:["regular","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Allerta:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Allerta Stencil":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Allison:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Allura:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Almarai:{v:["300","regular","700","800"],subset:["arabic"],weight:["Default","300","400","700","800"],i:["normal"]},Almendra:{v:["regular","italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},"Almendra Display":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Almendra SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Alumni Sans":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Alumni Sans Collegiate One":{v:["regular","italic"],subset:["cyrillic","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal","italic"]},"Alumni Sans Inline One":{v:["regular","italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal","italic"]},"Alumni Sans Pinstripe":{v:["regular","italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal","italic"]},Amarante:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Amaranth:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},"Amatic SC":{v:["regular","700"],subset:["cyrillic","hebrew","latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal"]},Amethysta:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Amiko:{v:["regular","600","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","400","600","700"],i:["normal"]},Amiri:{v:["regular","italic","700","700italic"],subset:["arabic","latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},"Amiri Quran":{v:["regular"],subset:["arabic","latin"],weight:["Default","400"],i:["normal"]},Amita:{v:["regular","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Anaheim:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Andada Pro":{v:["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800"],i:["normal","italic"]},Andika:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal","italic"]},"Anek Bangla":{v:["100","200","300","regular","500","600","700","800"],subset:["bengali","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal"]},"Anek Devanagari":{v:["100","200","300","regular","500","600","700","800"],subset:["devanagari","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal"]},"Anek Gujarati":{v:["100","200","300","regular","500","600","700","800"],subset:["gujarati","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal"]},"Anek Gurmukhi":{v:["100","200","300","regular","500","600","700","800"],subset:["gurmukhi","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal"]},"Anek Kannada":{v:["100","200","300","regular","500","600","700","800"],subset:["kannada","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal"]},"Anek Latin":{v:["100","200","300","regular","500","600","700","800"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal"]},"Anek Malayalam":{v:["100","200","300","regular","500","600","700","800"],subset:["latin","latin-ext","malayalam"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal"]},"Anek Odia":{v:["100","200","300","regular","500","600","700","800"],subset:["latin","latin-ext","oriya"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal"]},"Anek Tamil":{v:["100","200","300","regular","500","600","700","800"],subset:["latin","latin-ext","tamil"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal"]},"Anek Telugu":{v:["100","200","300","regular","500","600","700","800"],subset:["latin","latin-ext","telugu"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal"]},Angkor:{v:["regular"],subset:["khmer","latin"],weight:["Default","400"],i:["normal"]},"Annie Use Your Telescope":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Anonymous Pro":{v:["regular","italic","700","700italic"],subset:["cyrillic","greek","latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},Antic:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Antic Didone":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Antic Slab":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Anton:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Antonio:{v:["100","200","300","regular","500","600","700"],subset:["latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},Anuphan:{v:["100","200","300","regular","500","600","700"],subset:["cyrillic-ext","latin","latin-ext","thai","vietnamese"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},Anybody:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Aoboshi One":{v:["regular"],subset:["japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Arapey:{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},Arbutus:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Arbutus Slab":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Architects Daughter":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Archivo:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Archivo Black":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Archivo Narrow":{v:["regular","500","600","700","italic","500italic","600italic","700italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700"],i:["normal","italic"]},"Are You Serious":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Aref Ruqaa":{v:["regular","700"],subset:["arabic","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},"Aref Ruqaa Ink":{v:["regular","700"],subset:["arabic","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Arima:{v:["100","200","300","regular","500","600","700"],subset:["greek","greek-ext","latin","latin-ext","malayalam","tamil","vietnamese"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},Arimo:{v:["regular","500","600","700","italic","500italic","600italic","700italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700"],i:["normal","italic"]},Arizonia:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Armata:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Arsenal:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal","italic"]},Artifika:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Arvo:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},Arya:{v:["regular","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Asap:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Asap Condensed":{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Asar:{v:["regular"],subset:["devanagari","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Asset:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Assistant:{v:["200","300","regular","500","600","700","800"],subset:["hebrew","latin","latin-ext"],weight:["Default","200","300","400","500","600","700","800"],i:["normal"]},Astloch:{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},Asul:{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},Athiti:{v:["200","300","regular","500","600","700"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","200","300","400","500","600","700"],i:["normal"]},"Atkinson Hyperlegible":{v:["regular","italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},Atma:{v:["300","regular","500","600","700"],subset:["bengali","latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Atomic Age":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Aubrey:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Audiowide:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Autour One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Average:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Average Sans":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Averia Gruesa Libre":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Averia Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["Default","300","400","700"],i:["normal","italic"]},"Averia Sans Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["Default","300","400","700"],i:["normal","italic"]},"Averia Serif Libre":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["Default","300","400","700"],i:["normal","italic"]},"Azeret Mono":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},B612:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},"B612 Mono":{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},"BIZ UDGothic":{v:["regular","700"],subset:["cyrillic","greek-ext","japanese","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},"BIZ UDMincho":{v:["regular","700"],subset:["cyrillic","greek-ext","japanese","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},"BIZ UDPGothic":{v:["regular","700"],subset:["cyrillic","greek-ext","japanese","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},"BIZ UDPMincho":{v:["regular","700"],subset:["cyrillic","greek-ext","japanese","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Babylonica:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Bad Script":{v:["regular"],subset:["cyrillic","latin"],weight:["Default","400"],i:["normal"]},Bahiana:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Bahianita:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Bai Jamjuree":{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","200","300","400","500","600","700"],i:["normal","italic"]},"Bakbak One":{v:["regular"],subset:["devanagari","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Ballet:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Baloo 2":{v:["regular","500","600","700","800"],subset:["devanagari","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Baloo Bhai 2":{v:["regular","500","600","700","800"],subset:["gujarati","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Baloo Bhaijaan 2":{v:["regular","500","600","700","800"],subset:["arabic","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Baloo Bhaina 2":{v:["regular","500","600","700","800"],subset:["latin","latin-ext","oriya","vietnamese"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Baloo Chettan 2":{v:["regular","500","600","700","800"],subset:["latin","latin-ext","malayalam","vietnamese"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Baloo Da 2":{v:["regular","500","600","700","800"],subset:["bengali","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Baloo Paaji 2":{v:["regular","500","600","700","800"],subset:["gurmukhi","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Baloo Tamma 2":{v:["regular","500","600","700","800"],subset:["kannada","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Baloo Tammudu 2":{v:["regular","500","600","700","800"],subset:["latin","latin-ext","telugu","vietnamese"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Baloo Thambi 2":{v:["regular","500","600","700","800"],subset:["latin","latin-ext","tamil","vietnamese"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Balsamiq Sans":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},Balthazar:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Bangers:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Barlow:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Barlow Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Barlow Semi Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Barriecito:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Barrio:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Basic:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Baskervville:{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},Battambang:{v:["100","300","regular","700","900"],subset:["khmer","latin"],weight:["Default","100","300","400","700","900"],i:["normal"]},Baumans:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Bayon:{v:["regular"],subset:["khmer","latin"],weight:["Default","400"],i:["normal"]},"Be Vietnam Pro":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Beau Rivage":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Bebas Neue":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Belgrano:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Bellefair:{v:["regular"],subset:["hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Belleza:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Bellota:{v:["300","300italic","regular","italic","700","700italic"],subset:["cyrillic","latin","latin-ext","vietnamese"],weight:["Default","300","400","700"],i:["normal","italic"]},"Bellota Text":{v:["300","300italic","regular","italic","700","700italic"],subset:["cyrillic","latin","latin-ext","vietnamese"],weight:["Default","300","400","700"],i:["normal","italic"]},BenchNine:{v:["300","regular","700"],subset:["latin","latin-ext"],weight:["Default","300","400","700"],i:["normal"]},Benne:{v:["regular"],subset:["kannada","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Bentham:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Berkshire Swash":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Besley:{v:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext"],weight:["Default","400","500","600","700","800","900"],i:["normal","italic"]},"Beth Ellen":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Bevan:{v:["regular","italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal","italic"]},"BhuTuka Expanded One":{v:["regular"],subset:["gurmukhi","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Big Shoulders Display":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Big Shoulders Inline Display":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Big Shoulders Inline Text":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Big Shoulders Stencil Display":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Big Shoulders Stencil Text":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Big Shoulders Text":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Bigelow Rules":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Bigshot One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Bilbo:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Bilbo Swash Caps":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},BioRhyme:{v:["200","300","regular","700","800"],subset:["latin","latin-ext"],weight:["Default","200","300","400","700","800"],i:["normal"]},"BioRhyme Expanded":{v:["200","300","regular","700","800"],subset:["latin","latin-ext"],weight:["Default","200","300","400","700","800"],i:["normal"]},Birthstone:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Birthstone Bounce":{v:["regular","500"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","500"],i:["normal"]},Biryani:{v:["200","300","regular","600","700","800","900"],subset:["devanagari","latin","latin-ext"],weight:["Default","200","300","400","600","700","800","900"],i:["normal"]},Bitter:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Black And White Picture":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},"Black Han Sans":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},"Black Ops One":{v:["regular"],subset:["cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Blaka:{v:["regular"],subset:["arabic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Blaka Hollow":{v:["regular"],subset:["arabic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Blaka Ink":{v:["regular"],subset:["arabic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Blinker:{v:["100","200","300","regular","600","700","800","900"],subset:["latin","latin-ext"],weight:["Default","100","200","300","400","600","700","800","900"],i:["normal"]},"Bodoni Moda":{v:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext"],weight:["Default","400","500","600","700","800","900"],i:["normal","italic"]},Bokor:{v:["regular"],subset:["khmer","latin"],weight:["Default","400"],i:["normal"]},"Bona Nova":{v:["regular","italic","700"],subset:["cyrillic","cyrillic-ext","greek","hebrew","latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal","italic"]},Bonbon:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Bonheur Royale":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Boogaloo:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Bowlby One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Bowlby One SC":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Braah One":{v:["regular"],subset:["gurmukhi","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Brawler:{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},"Bree Serif":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Bruno Ace":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Bruno Ace SC":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Brygada 1918":{v:["regular","500","600","700","italic","500italic","600italic","700italic"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700"],i:["normal","italic"]},"Bubblegum Sans":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Bubbler One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Buda:{v:["300"],subset:["latin"],weight:["Default","300","400"],i:["normal"]},Buenard:{v:["regular","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Bungee:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Bungee Hairline":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Bungee Inline":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Bungee Outline":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Bungee Shade":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Bungee Spice":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Butcherman:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Butterfly Kids":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Cabin:{v:["regular","500","600","700","italic","500italic","600italic","700italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700"],i:["normal","italic"]},"Cabin Condensed":{v:["regular","500","600","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700"],i:["normal"]},"Cabin Sketch":{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},"Caesar Dressing":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Cagliostro:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Cairo:{v:["200","300","regular","500","600","700","800","900"],subset:["arabic","latin","latin-ext"],weight:["Default","200","300","400","500","600","700","800","900"],i:["normal"]},"Cairo Play":{v:["200","300","regular","500","600","700","800","900"],subset:["arabic","latin","latin-ext"],weight:["Default","200","300","400","500","600","700","800","900"],i:["normal"]},Caladea:{v:["regular","italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},Calistoga:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Calligraffitti:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Cambay:{v:["regular","italic","700","700italic"],subset:["devanagari","latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},Cambo:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Candal:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Cantarell:{v:["regular","italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},"Cantata One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Cantora One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Capriola:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Caramel:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Carattere:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Cardo:{v:["regular","italic","700"],subset:["greek","greek-ext","latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},Carlito:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal","italic"]},Carme:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Carrois Gothic":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Carrois Gothic SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Carter One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Castoro:{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"Castoro Titling":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Catamaran:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","tamil"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},Caudex:{v:["regular","italic","700","700italic"],subset:["greek","greek-ext","latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},Caveat:{v:["regular","500","600","700"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},"Caveat Brush":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Cedarville Cursive":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Ceviche One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Chakra Petch":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal","italic"]},Changa:{v:["200","300","regular","500","600","700","800"],subset:["arabic","latin","latin-ext"],weight:["Default","200","300","400","500","600","700","800"],i:["normal"]},"Changa One":{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},Chango:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Charis SIL":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal","italic"]},Charm:{v:["regular","700"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","400","700"],i:["normal"]},Charmonman:{v:["regular","700"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","400","700"],i:["normal"]},Chathura:{v:["100","300","regular","700","800"],subset:["latin","telugu"],weight:["Default","100","300","400","700","800"],i:["normal"]},"Chau Philomene One":{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"Chela One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Chelsea Market":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Chenla:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},Cherish:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Cherry Bomb One":{v:["regular"],subset:["japanese","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Cherry Cream Soda":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Cherry Swash":{v:["regular","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Chewy:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Chicle:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Chilanka:{v:["regular"],subset:["latin","latin-ext","malayalam"],weight:["Default","400"],i:["normal"]},Chivo:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Chivo Mono":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Chokokutai:{v:["regular"],subset:["japanese","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Chonburi:{v:["regular"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","400"],i:["normal"]},Cinzel:{v:["regular","500","600","700","800","900"],subset:["latin","latin-ext"],weight:["Default","400","500","600","700","800","900"],i:["normal"]},"Cinzel Decorative":{v:["regular","700","900"],subset:["latin"],weight:["Default","400","700","900"],i:["normal"]},"Clicker Script":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Climate Crisis":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Coda:{v:["regular","800"],subset:["latin","latin-ext"],weight:["Default","400","800"],i:["normal"]},"Coda Caption":{v:["800"],subset:["latin","latin-ext"],weight:["Default","400","800"],i:["normal"]},Codystar:{v:["300","regular"],subset:["latin","latin-ext"],weight:["Default","300","400"],i:["normal"]},Coiny:{v:["regular"],subset:["latin","latin-ext","tamil","vietnamese"],weight:["Default","400"],i:["normal"]},Combo:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Comfortaa:{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal"]},Comforter:{v:["regular"],subset:["cyrillic","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Comforter Brush":{v:["regular"],subset:["cyrillic","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Comic Neue":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin"],weight:["Default","300","400","700"],i:["normal","italic"]},"Coming Soon":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Comme:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},Commissioner:{v:["100","200","300","regular","500","600","700","800","900"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Concert One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Condiment:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Content:{v:["regular","700"],subset:["khmer"],weight:["Default","400","700"],i:["normal"]},"Contrail One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Convergence:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Cookie:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Copse:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Corben:{v:["regular","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Corinthia:{v:["regular","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal"]},Cormorant:{v:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal","italic"]},"Cormorant Garamond":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal","italic"]},"Cormorant Infant":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal","italic"]},"Cormorant SC":{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Cormorant Unicase":{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Cormorant Upright":{v:["300","regular","500","600","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal"]},Courgette:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Courier Prime":{v:["regular","italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},Cousine:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal","italic"]},Coustard:{v:["regular","900"],subset:["latin"],weight:["Default","400","900"],i:["normal"]},"Covered By Your Grace":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Crafty Girls":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Creepster:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Crete Round":{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"Crimson Pro":{v:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Crimson Text":{v:["regular","italic","600","600italic","700","700italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","600","700"],i:["normal","italic"]},"Croissant One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Crushed:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Cuprum:{v:["regular","500","600","700","italic","500italic","600italic","700italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700"],i:["normal","italic"]},"Cute Font":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Cutive:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Cutive Mono":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"DM Mono":{v:["300","300italic","regular","italic","500","500italic"],subset:["latin","latin-ext"],weight:["Default","300","400","500"],i:["normal","italic"]},"DM Sans":{v:["regular","italic","500","500italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","400","500","700"],i:["normal","italic"]},"DM Serif Display":{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"DM Serif Text":{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},Damion:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Dancing Script":{v:["regular","500","600","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700"],i:["normal"]},Dangrek:{v:["regular"],subset:["khmer","latin"],weight:["Default","400"],i:["normal"]},"Darker Grotesque":{v:["300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700","800","900"],i:["normal"]},"Darumadrop One":{v:["regular"],subset:["japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"David Libre":{v:["regular","500","700"],subset:["hebrew","latin","latin-ext","vietnamese"],weight:["Default","400","500","700"],i:["normal"]},"Dawning of a New Day":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Days One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Dekko:{v:["regular"],subset:["devanagari","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Dela Gothic One":{v:["regular"],subset:["cyrillic","greek","japanese","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Delicious Handrawn":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Delius:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Delius Swash Caps":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Delius Unicase":{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},"Della Respira":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Denk One":{v:["regular"],subset:["cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Devonshire:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Dhurjati:{v:["regular"],subset:["latin","telugu"],weight:["Default","400"],i:["normal"]},"Didact Gothic":{v:["regular"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Diplomata:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Diplomata SC":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Do Hyeon":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Dokdo:{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Domine:{v:["regular","500","600","700"],subset:["latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},"Donegal One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Dongle:{v:["300","regular","700"],subset:["korean","latin","latin-ext","vietnamese"],weight:["Default","300","400","700"],i:["normal"]},"Doppio One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Dorsa:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Dosis:{v:["200","300","regular","500","600","700","800"],subset:["latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800"],i:["normal"]},DotGothic16:{v:["regular"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Dr Sugiyama":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Duru Sans":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},DynaPuff:{v:["regular","500","600","700"],subset:["cyrillic-ext","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},Dynalight:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"EB Garamond":{v:["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800"],i:["normal","italic"]},"Eagle Lake":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"East Sea Dokdo":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Eater:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Economica:{v:["regular","italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},Eczar:{v:["regular","500","600","700","800"],subset:["devanagari","greek","greek-ext","latin","latin-ext"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Edu NSW ACT Foundation":{v:["regular","500","600","700"],subset:["latin"],weight:["Default","400","500","600","700"],i:["normal"]},"Edu QLD Beginner":{v:["regular","500","600","700"],subset:["latin"],weight:["Default","400","500","600","700"],i:["normal"]},"Edu SA Beginner":{v:["regular","500","600","700"],subset:["latin"],weight:["Default","400","500","600","700"],i:["normal"]},"Edu TAS Beginner":{v:["regular","500","600","700"],subset:["latin"],weight:["Default","400","500","600","700"],i:["normal"]},"Edu VIC WA NT Beginner":{v:["regular","500","600","700"],subset:["latin"],weight:["Default","400","500","600","700"],i:["normal"]},"El Messiri":{v:["regular","500","600","700"],subset:["arabic","cyrillic","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},Electrolize:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Elsie:{v:["regular","900"],subset:["latin","latin-ext"],weight:["Default","400","900"],i:["normal"]},"Elsie Swash Caps":{v:["regular","900"],subset:["latin","latin-ext"],weight:["Default","400","900"],i:["normal"]},"Emblema One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Emilys Candy":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Encode Sans":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Expanded":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans SC":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Semi Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Encode Sans Semi Expanded":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},Engagement:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Englebert:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Enriqueta:{v:["regular","500","600","700"],subset:["latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},Ephesis:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Epilogue:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Erica One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Esteban:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Estonia:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Euphoria Script":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Ewert:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Exo:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Exo 2":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Expletus Sans":{v:["regular","500","600","700","italic","500italic","600italic","700italic"],subset:["latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal","italic"]},Explora:{v:["regular"],subset:["cherokee","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Fahkwang:{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","200","300","400","500","600","700"],i:["normal","italic"]},"Familjen Grotesk":{v:["regular","500","600","700","italic","500italic","600italic","700italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700"],i:["normal","italic"]},"Fanwood Text":{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},Farro:{v:["300","regular","500","700"],subset:["latin","latin-ext"],weight:["Default","300","400","500","700"],i:["normal"]},Farsan:{v:["regular"],subset:["gujarati","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Fascinate:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Fascinate Inline":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Faster One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Fasthand:{v:["regular"],subset:["khmer","latin"],weight:["Default","400"],i:["normal"]},"Fauna One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Faustina:{v:["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700","800"],i:["normal","italic"]},Federant:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Federo:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Felipa:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Fenix:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Festive:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Figtree:{v:["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext"],weight:["Default","300","400","500","600","700","800","900"],i:["normal","italic"]},"Finger Paint":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Finlandica:{v:["regular","500","600","700","italic","500italic","600italic","700italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal","italic"]},"Fira Code":{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Fira Mono":{v:["regular","500","700"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"],weight:["Default","400","500","700"],i:["normal"]},"Fira Sans":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fira Sans Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fira Sans Extra Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Fjalla One":{v:["regular"],subset:["cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Fjord One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Flamenco:{v:["300","regular"],subset:["latin"],weight:["Default","300","400"],i:["normal"]},Flavors:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Fleur De Leah":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Flow Block":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Flow Circular":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Flow Rounded":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Foldit:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},Fondamento:{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"Fontdiner Swanky":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Forum:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Fragment Mono":{v:["regular","italic"],subset:["cyrillic-ext","latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"Francois One":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Frank Ruhl Libre":{v:["300","regular","500","600","700","800","900"],subset:["hebrew","latin","latin-ext"],weight:["Default","300","400","500","600","700","800","900"],i:["normal"]},Fraunces:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Freckle Face":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Fredericka the Great":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Fredoka:{v:["300","regular","500","600","700"],subset:["hebrew","latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},Freehand:{v:["regular"],subset:["khmer","latin"],weight:["Default","400"],i:["normal"]},Fresca:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Frijole:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Fruktur:{v:["regular","italic"],subset:["cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal","italic"]},"Fugaz One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Fuggles:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Fuzzy Bubbles":{v:["regular","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal"]},"GFS Didot":{v:["regular"],subset:["greek"],weight:["Default","400"],i:["normal"]},"GFS Neohellenic":{v:["regular","italic","700","700italic"],subset:["greek"],weight:["Default","400","700"],i:["normal","italic"]},Gabriela:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Gaegu:{v:["300","regular","700"],subset:["korean","latin"],weight:["Default","300","400","700"],i:["normal"]},Gafata:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Gajraj One":{v:["regular"],subset:["devanagari","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Galada:{v:["regular"],subset:["bengali","latin"],weight:["Default","400"],i:["normal"]},Galdeano:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Galindo:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Gamja Flower":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Gantari:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Gayathri:{v:["100","regular","700"],subset:["latin","malayalam"],weight:["Default","100","400","700"],i:["normal"]},Gelasio:{v:["regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700"],i:["normal","italic"]},"Gemunu Libre":{v:["200","300","regular","500","600","700","800"],subset:["latin","latin-ext","sinhala"],weight:["Default","200","300","400","500","600","700","800"],i:["normal"]},Genos:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cherokee","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Gentium Book Plus":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal","italic"]},"Gentium Plus":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal","italic"]},Geo:{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},Georama:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Geostar:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Geostar Fill":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Germania One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Gideon Roman":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Gidugu:{v:["regular"],subset:["latin","telugu"],weight:["Default","400"],i:["normal"]},"Gilda Display":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Girassol:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Give You Glory":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Glass Antiqua":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Glegoo:{v:["regular","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Gloock:{v:["regular"],subset:["cyrillic-ext","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Gloria Hallelujah":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Glory:{v:["100","200","300","regular","500","600","700","800","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal","italic"]},Gluten:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Goblin One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Gochi Hand":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Goldman:{v:["regular","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal"]},"Golos Text":{v:["regular","500","600","700","800","900"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400","500","600","700","800","900"],i:["normal"]},Gorditas:{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},"Gothic A1":{v:["100","200","300","regular","500","600","700","800","900"],subset:["korean","latin"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},Gotu:{v:["regular"],subset:["devanagari","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Goudy Bookletter 1911":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Gowun Batang":{v:["regular","700"],subset:["korean","latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal"]},"Gowun Dodum":{v:["regular"],subset:["korean","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Graduate:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Grand Hotel":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Grandstander:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Grape Nuts":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Gravitas One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Great Vibes":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Grechen Fuemen":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Grenze:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Grenze Gotisch":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Grey Qo":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Griffy:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Gruppo:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Gudea:{v:["regular","italic","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},Gugi:{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Gulzar:{v:["regular"],subset:["arabic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Gupter:{v:["regular","500","700"],subset:["latin"],weight:["Default","400","500","700"],i:["normal"]},Gurajada:{v:["regular"],subset:["latin","telugu"],weight:["Default","400"],i:["normal"]},Gwendolyn:{v:["regular","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal"]},Habibi:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Hachi Maru Pop":{v:["regular"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Hahmlet:{v:["100","200","300","regular","500","600","700","800","900"],subset:["korean","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},Halant:{v:["300","regular","500","600","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Hammersmith One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Hanalei:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Hanalei Fill":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Handlee:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Hanken Grotesk":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Hanuman:{v:["100","300","regular","700","900"],subset:["khmer","latin"],weight:["Default","100","300","400","700","900"],i:["normal"]},"Happy Monkey":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Harmattan:{v:["regular","500","600","700"],subset:["arabic","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},"Headland One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Heebo:{v:["100","200","300","regular","500","600","700","800","900"],subset:["hebrew","latin"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Henny Penny":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Hepta Slab":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Herr Von Muellerhoff":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Hi Melody":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},"Hina Mincho":{v:["regular"],subset:["cyrillic","japanese","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Hind:{v:["300","regular","500","600","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Hind Guntur":{v:["300","regular","500","600","700"],subset:["latin","latin-ext","telugu"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Hind Madurai":{v:["300","regular","500","600","700"],subset:["latin","latin-ext","tamil"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Hind Siliguri":{v:["300","regular","500","600","700"],subset:["bengali","latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Hind Vadodara":{v:["300","regular","500","600","700"],subset:["gujarati","latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Holtwood One SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Homemade Apple":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Homenaje:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Hubballi:{v:["regular"],subset:["kannada","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Hurricane:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"IBM Plex Mono":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Sans":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Sans Arabic":{v:["100","200","300","regular","500","600","700"],subset:["arabic","cyrillic-ext","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},"IBM Plex Sans Condensed":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700"],i:["normal","italic"]},"IBM Plex Sans Devanagari":{v:["100","200","300","regular","500","600","700"],subset:["cyrillic-ext","devanagari","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},"IBM Plex Sans Hebrew":{v:["100","200","300","regular","500","600","700"],subset:["cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},"IBM Plex Sans JP":{v:["100","200","300","regular","500","600","700"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},"IBM Plex Sans KR":{v:["100","200","300","regular","500","600","700"],subset:["korean","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},"IBM Plex Sans Thai":{v:["100","200","300","regular","500","600","700"],subset:["cyrillic-ext","latin","latin-ext","thai"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},"IBM Plex Sans Thai Looped":{v:["100","200","300","regular","500","600","700"],subset:["cyrillic-ext","latin","latin-ext","thai"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},"IBM Plex Serif":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700"],i:["normal","italic"]},"IM Fell DW Pica":{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},"IM Fell DW Pica SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"IM Fell Double Pica":{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},"IM Fell Double Pica SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"IM Fell English":{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},"IM Fell English SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"IM Fell French Canon":{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},"IM Fell French Canon SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"IM Fell Great Primer":{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},"IM Fell Great Primer SC":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Ibarra Real Nova":{v:["regular","500","600","700","italic","500italic","600italic","700italic"],subset:["latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal","italic"]},Iceberg:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Iceland:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Imbue:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Imperial Script":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Imprima:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Inconsolata:{v:["200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800","900"],i:["normal"]},Inder:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Indie Flower":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Ingrid Darling":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Inika:{v:["regular","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},"Inknut Antiqua":{v:["300","regular","500","600","700","800","900"],subset:["devanagari","latin","latin-ext"],weight:["Default","300","400","500","600","700","800","900"],i:["normal"]},"Inria Sans":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","300","400","700"],i:["normal","italic"]},"Inria Serif":{v:["300","300italic","regular","italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","300","400","700"],i:["normal","italic"]},Inspiration:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Instrument Sans":{v:["regular","500","600","700","italic","500italic","600italic","700italic"],subset:["latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal","italic"]},"Instrument Serif":{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},Inter:{v:["100","200","300","regular","500","600","700","800","900"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Inter Tight":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Irish Grover":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Island Moments":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Istok Web":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},Italiana:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Italianno:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Itim:{v:["regular"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","400"],i:["normal"]},"Jacques Francois":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Jacques Francois Shadow":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Jaldi:{v:["regular","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},"JetBrains Mono":{v:["100","200","300","regular","500","600","700","800","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal","italic"]},"Jim Nightshade":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Joan:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Jockey One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Jolly Lodger":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Jomhuria:{v:["regular"],subset:["arabic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Jomolhari:{v:["regular"],subset:["latin","tibetan"],weight:["Default","400"],i:["normal"]},"Josefin Sans":{v:["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700"],i:["normal","italic"]},"Josefin Slab":{v:["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],subset:["latin"],weight:["Default","100","200","300","400","500","600","700"],i:["normal","italic"]},Jost:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Joti One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Jua:{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Judson:{v:["regular","italic","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal","italic"]},Julee:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Julius Sans One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Junge:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Jura:{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","kayah-li","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Just Another Hand":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Just Me Again Down Here":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},K2D:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal","italic"]},Kadwa:{v:["regular","700"],subset:["devanagari","latin"],weight:["Default","400","700"],i:["normal"]},"Kaisei Decol":{v:["regular","500","700"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","400","500","700"],i:["normal"]},"Kaisei HarunoUmi":{v:["regular","500","700"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","400","500","700"],i:["normal"]},"Kaisei Opti":{v:["regular","500","700"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","400","500","700"],i:["normal"]},"Kaisei Tokumin":{v:["regular","500","700","800"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","400","500","700","800"],i:["normal"]},Kalam:{v:["300","regular","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","300","400","700"],i:["normal"]},Kameron:{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},Kanit:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Kantumruy Pro":{v:["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],subset:["khmer","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700"],i:["normal","italic"]},Karantina:{v:["300","regular","700"],subset:["hebrew","latin","latin-ext"],weight:["Default","300","400","700"],i:["normal"]},Karla:{v:["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],subset:["latin","latin-ext"],weight:["Default","200","300","400","500","600","700","800"],i:["normal","italic"]},Karma:{v:["300","regular","500","600","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},Katibeh:{v:["regular"],subset:["arabic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Kaushan Script":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Kavivanar:{v:["regular"],subset:["latin","latin-ext","tamil"],weight:["Default","400"],i:["normal"]},Kavoon:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Kdam Thmor Pro":{v:["regular"],subset:["khmer","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Keania One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Kelly Slab":{v:["regular"],subset:["cyrillic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Kenia:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Khand:{v:["300","regular","500","600","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},Khmer:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},Khula:{v:["300","regular","600","700","800"],subset:["devanagari","latin","latin-ext"],weight:["Default","300","400","600","700","800"],i:["normal"]},Kings:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Kirang Haerang":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},"Kite One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Kiwi Maru":{v:["300","regular","500"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","300","400","500"],i:["normal"]},"Klee One":{v:["regular","600"],subset:["cyrillic","greek-ext","japanese","latin","latin-ext"],weight:["Default","400","600"],i:["normal"]},Knewave:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},KoHo:{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","200","300","400","500","600","700"],i:["normal","italic"]},Kodchasan:{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","200","300","400","500","600","700"],i:["normal","italic"]},"Koh Santepheap":{v:["100","300","regular","700","900"],subset:["khmer","latin"],weight:["Default","100","300","400","700","900"],i:["normal"]},"Kolker Brush":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Konkhmer Sleokchher":{v:["regular"],subset:["khmer","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Kosugi:{v:["regular"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Kosugi Maru":{v:["regular"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Kotta One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Koulen:{v:["regular"],subset:["khmer","latin"],weight:["Default","400"],i:["normal"]},Kranky:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Kreon:{v:["300","regular","500","600","700"],subset:["latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},Kristi:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Krona One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Krub:{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","200","300","400","500","600","700"],i:["normal","italic"]},Kufam:{v:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],subset:["arabic","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800","900"],i:["normal","italic"]},"Kulim Park":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","200","300","400","600","700"],i:["normal","italic"]},"Kumar One":{v:["regular"],subset:["gujarati","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Kumar One Outline":{v:["regular"],subset:["gujarati","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Kumbh Sans":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","math"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},Kurale:{v:["regular"],subset:["cyrillic","cyrillic-ext","devanagari","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"La Belle Aurore":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Labrada:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Lacquer:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Laila:{v:["300","regular","500","600","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Lakki Reddy":{v:["regular"],subset:["latin","telugu"],weight:["Default","400"],i:["normal"]},Lalezar:{v:["regular"],subset:["arabic","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Lancelot:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Langar:{v:["regular"],subset:["gurmukhi","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Lateef:{v:["200","300","regular","500","600","700","800"],subset:["arabic","latin","latin-ext"],weight:["Default","200","300","400","500","600","700","800"],i:["normal"]},Lato:{v:["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],subset:["latin","latin-ext"],weight:["Default","100","300","400","700","900"],i:["normal","italic"]},"Lavishly Yours":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"League Gothic":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"League Script":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"League Spartan":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Leckerli One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Ledger:{v:["regular"],subset:["cyrillic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Lekton:{v:["regular","italic","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},Lemon:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Lemonada:{v:["300","regular","500","600","700"],subset:["arabic","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal"]},Lexend:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Lexend Deca":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Lexend Exa":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Lexend Giga":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Lexend Mega":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Lexend Peta":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Lexend Tera":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Lexend Zetta":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Libre Barcode 128":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Libre Barcode 128 Text":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Libre Barcode 39":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Libre Barcode 39 Extended":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Libre Barcode 39 Extended Text":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Libre Barcode 39 Text":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Libre Barcode EAN13 Text":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Libre Baskerville":{v:["regular","italic","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},"Libre Bodoni":{v:["regular","500","600","700","italic","500italic","600italic","700italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700"],i:["normal","italic"]},"Libre Caslon Display":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Libre Caslon Text":{v:["regular","italic","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},"Libre Franklin":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Licorice:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Life Savers":{v:["regular","700","800"],subset:["latin","latin-ext"],weight:["Default","400","700","800"],i:["normal"]},"Lilita One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Lily Script One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Limelight:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Linden Hill":{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},Literata:{v:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Liu Jian Mao Cao":{v:["regular"],subset:["chinese-simplified","latin"],weight:["Default","400"],i:["normal"]},Livvic:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","900"],i:["normal","italic"]},Lobster:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Lobster Two":{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},"Londrina Outline":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Londrina Shadow":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Londrina Sketch":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Londrina Solid":{v:["100","300","regular","900"],subset:["latin"],weight:["Default","100","300","400","900"],i:["normal"]},"Long Cang":{v:["regular"],subset:["chinese-simplified","latin"],weight:["Default","400"],i:["normal"]},Lora:{v:["regular","500","600","700","italic","500italic","600italic","700italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700"],i:["normal","italic"]},"Love Light":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Love Ya Like A Sister":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Loved by the King":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Lovers Quarrel":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Luckiest Guy":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Lusitana:{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},Lustria:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Luxurious Roman":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Luxurious Script":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"M PLUS 1":{v:["100","200","300","regular","500","600","700","800","900"],subset:["japanese","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"M PLUS 1 Code":{v:["100","200","300","regular","500","600","700"],subset:["japanese","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},"M PLUS 1p":{v:["100","300","regular","500","700","800","900"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"],weight:["Default","100","300","400","500","700","800","900"],i:["normal"]},"M PLUS 2":{v:["100","200","300","regular","500","600","700","800","900"],subset:["japanese","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"M PLUS Code Latin":{v:["100","200","300","regular","500","600","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},"M PLUS Rounded 1c":{v:["100","300","regular","500","700","800","900"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"],weight:["Default","100","300","400","500","700","800","900"],i:["normal"]},"Ma Shan Zheng":{v:["regular"],subset:["chinese-simplified","latin"],weight:["Default","400"],i:["normal"]},Macondo:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Macondo Swash Caps":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Mada:{v:["200","300","regular","500","600","700","800","900"],subset:["arabic","latin","latin-ext"],weight:["Default","200","300","400","500","600","700","800","900"],i:["normal"]},Magra:{v:["regular","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},"Maiden Orange":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Maitree:{v:["200","300","regular","500","600","700"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","200","300","400","500","600","700"],i:["normal"]},"Major Mono Display":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Mako:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Mali:{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","200","300","400","500","600","700"],i:["normal","italic"]},Mallanna:{v:["regular"],subset:["latin","telugu"],weight:["Default","400"],i:["normal"]},Mandali:{v:["regular"],subset:["latin","telugu"],weight:["Default","400"],i:["normal"]},Manjari:{v:["100","regular","700"],subset:["latin","latin-ext","malayalam"],weight:["Default","100","400","700"],i:["normal"]},Manrope:{v:["200","300","regular","500","600","700","800"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800"],i:["normal"]},Mansalva:{v:["regular"],subset:["greek","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Manuale:{v:["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700","800"],i:["normal","italic"]},Marcellus:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Marcellus SC":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Marck Script":{v:["regular"],subset:["cyrillic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Margarine:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Marhey:{v:["300","regular","500","600","700"],subset:["arabic","latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Markazi Text":{v:["regular","500","600","700"],subset:["arabic","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700"],i:["normal"]},"Marko One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Marmelad:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Martel:{v:["200","300","regular","600","700","800","900"],subset:["devanagari","latin","latin-ext"],weight:["Default","200","300","400","600","700","800","900"],i:["normal"]},"Martel Sans":{v:["200","300","regular","600","700","800","900"],subset:["devanagari","latin","latin-ext"],weight:["Default","200","300","400","600","700","800","900"],i:["normal"]},"Martian Mono":{v:["100","200","300","regular","500","600","700","800"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal"]},Marvel:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},Mate:{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"Mate SC":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Material Icons":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Material Icons Outlined":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Material Icons Round":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Material Icons Sharp":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Material Icons Two Tone":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Material Symbols Outlined":{v:["100","200","300","regular","500","600","700"],subset:["latin"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},"Material Symbols Rounded":{v:["100","200","300","regular","500","600","700"],subset:["latin"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},"Material Symbols Sharp":{v:["100","200","300","regular","500","600","700"],subset:["latin"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},"Maven Pro":{v:["regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800","900"],i:["normal"]},McLaren:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Mea Culpa":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Meddon:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},MedievalSharp:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Medula One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Meera Inimai":{v:["regular"],subset:["latin","tamil"],weight:["Default","400"],i:["normal"]},Megrim:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Meie Script":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Meow Script":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Merienda:{v:["300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700","800","900"],i:["normal"]},Merriweather:{v:["300","300italic","regular","italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","300","400","700","900"],i:["normal","italic"]},"Merriweather Sans":{v:["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],subset:["cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700","800"],i:["normal","italic"]},Metal:{v:["regular"],subset:["khmer","latin"],weight:["Default","400"],i:["normal"]},"Metal Mania":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Metamorphous:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Metrophobic:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Michroma:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Milonga:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Miltonian:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Miltonian Tattoo":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Mina:{v:["regular","700"],subset:["bengali","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Mingzat:{v:["regular"],subset:["latin","latin-ext","lepcha"],weight:["Default","400"],i:["normal"]},Miniver:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Miriam Libre":{v:["regular","700"],subset:["hebrew","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Mirza:{v:["regular","500","600","700"],subset:["arabic","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},"Miss Fajardose":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Mitr:{v:["200","300","regular","500","600","700"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","200","300","400","500","600","700"],i:["normal"]},"Mochiy Pop One":{v:["regular"],subset:["japanese","latin"],weight:["Default","400"],i:["normal"]},"Mochiy Pop P One":{v:["regular"],subset:["japanese","latin"],weight:["Default","400"],i:["normal"]},Modak:{v:["regular"],subset:["devanagari","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Modern Antiqua":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Mogra:{v:["regular"],subset:["gujarati","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Mohave:{v:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],subset:["latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal","italic"]},Molengo:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Molle:{v:["italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},Monda:{v:["regular","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal"]},Monofett:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Monomaniac One":{v:["regular"],subset:["japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Monoton:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Monsieur La Doulaise":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Montaga:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Montagu Slab":{v:["100","200","300","regular","500","600","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},MonteCarlo:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Montez:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Montserrat:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Montserrat Alternates":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Montserrat Subrayada":{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},"Moo Lah Lah":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Moon Dance":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Moul:{v:["regular"],subset:["khmer","latin"],weight:["Default","400"],i:["normal"]},Moulpali:{v:["regular"],subset:["khmer","latin"],weight:["Default","400"],i:["normal"]},"Mountains of Christmas":{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},"Mouse Memoirs":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Mr Bedfort":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Mr Dafoe":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Mr De Haviland":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Mrs Saint Delafield":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Mrs Sheppards":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Ms Madi":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Mukta:{v:["200","300","regular","500","600","700","800"],subset:["devanagari","latin","latin-ext"],weight:["Default","200","300","400","500","600","700","800"],i:["normal"]},"Mukta Mahee":{v:["200","300","regular","500","600","700","800"],subset:["gurmukhi","latin","latin-ext"],weight:["Default","200","300","400","500","600","700","800"],i:["normal"]},"Mukta Malar":{v:["200","300","regular","500","600","700","800"],subset:["latin","latin-ext","tamil"],weight:["Default","200","300","400","500","600","700","800"],i:["normal"]},"Mukta Vaani":{v:["200","300","regular","500","600","700","800"],subset:["gujarati","latin","latin-ext"],weight:["Default","200","300","400","500","600","700","800"],i:["normal"]},Mulish:{v:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Murecho:{v:["100","200","300","regular","500","600","700","800","900"],subset:["cyrillic","cyrillic-ext","greek","japanese","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},MuseoModerno:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"My Soul":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Mynerve:{v:["regular"],subset:["greek","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Mystery Quest":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},NTR:{v:["regular"],subset:["latin","telugu"],weight:["Default","400"],i:["normal"]},Nabla:{v:["regular"],subset:["cyrillic-ext","latin","latin-ext","math","vietnamese"],weight:["Default","400"],i:["normal"]},"Nanum Brush Script":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},"Nanum Gothic":{v:["regular","700","800"],subset:["korean","latin"],weight:["Default","400","700","800"],i:["normal"]},"Nanum Gothic Coding":{v:["regular","700"],subset:["korean","latin"],weight:["Default","400","700"],i:["normal"]},"Nanum Myeongjo":{v:["regular","700","800"],subset:["korean","latin"],weight:["Default","400","700","800"],i:["normal"]},"Nanum Pen Script":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Neonderthaw:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Nerko One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Neucha:{v:["regular"],subset:["cyrillic","latin"],weight:["Default","400"],i:["normal"]},Neuton:{v:["200","300","regular","italic","700","800"],subset:["latin","latin-ext"],weight:["Default","200","300","400","700","800"],i:["normal","italic"]},"New Rocker":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"New Tegomin":{v:["regular"],subset:["japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"News Cycle":{v:["regular","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Newsreader:{v:["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800"],i:["normal","italic"]},Niconne:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Niramit:{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","200","300","400","500","600","700"],i:["normal","italic"]},"Nixie One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Nobile:{v:["regular","italic","500","500italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","400","500","700"],i:["normal","italic"]},Nokora:{v:["100","300","regular","700","900"],subset:["khmer","latin"],weight:["Default","100","300","400","700","900"],i:["normal"]},Norican:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Nosifer:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Notable:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Nothing You Could Do":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Noticia Text":{v:["regular","italic","700","700italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal","italic"]},"Noto Color Emoji":{v:["regular"],subset:["emoji"],weight:["Default","400"],i:["normal"]},"Noto Emoji":{v:["300","regular","500","600","700"],subset:["emoji"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Noto Kufi Arabic":{v:["100","200","300","regular","500","600","700","800","900"],subset:["arabic"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Music":{v:["regular"],subset:["latin","latin-ext","music"],weight:["Default","400"],i:["normal"]},"Noto Naskh Arabic":{v:["regular","500","600","700"],subset:["arabic","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Nastaliq Urdu":{v:["regular","500","600","700"],subset:["arabic","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Rashi Hebrew":{v:["100","200","300","regular","500","600","700","800","900"],subset:["hebrew","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans":{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["cyrillic","cyrillic-ext","devanagari","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Noto Sans Adlam":{v:["regular","500","600","700"],subset:["adlam","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans Adlam Unjoined":{v:["regular","500","600","700"],subset:["adlam","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans Anatolian Hieroglyphs":{v:["regular"],subset:["anatolian-hieroglyphs"],weight:["Default","400"],i:["normal"]},"Noto Sans Arabic":{v:["100","200","300","regular","500","600","700","800","900"],subset:["arabic"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Armenian":{v:["100","200","300","regular","500","600","700","800","900"],subset:["armenian","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Avestan":{v:["regular"],subset:["avestan","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Noto Sans Balinese":{v:["regular","500","600","700"],subset:["balinese","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans Bamum":{v:["regular","500","600","700"],subset:["bamum","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans Bassa Vah":{v:["regular","500","600","700"],subset:["bassa-vah","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans Batak":{v:["regular"],subset:["batak","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Noto Sans Bengali":{v:["100","200","300","regular","500","600","700","800","900"],subset:["bengali","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Bhaiksuki":{v:["regular"],subset:["bhaiksuki"],weight:["Default","400"],i:["normal"]},"Noto Sans Brahmi":{v:["regular"],subset:["brahmi"],weight:["Default","400"],i:["normal"]},"Noto Sans Buginese":{v:["regular"],subset:["buginese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Noto Sans Buhid":{v:["regular"],subset:["buhid","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Noto Sans Canadian Aboriginal":{v:["100","200","300","regular","500","600","700","800","900"],subset:["canadian-aboriginal","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Carian":{v:["regular"],subset:["carian"],weight:["Default","400"],i:["normal"]},"Noto Sans Caucasian Albanian":{v:["regular"],subset:["caucasian-albanian"],weight:["Default","400"],i:["normal"]},"Noto Sans Chakma":{v:["regular"],subset:["chakma","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Noto Sans Cham":{v:["100","200","300","regular","500","600","700","800","900"],subset:["cham","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Cherokee":{v:["100","200","300","regular","500","600","700","800","900"],subset:["cherokee","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Chorasmian":{v:["regular"],subset:["chorasmian","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Noto Sans Coptic":{v:["regular"],subset:["coptic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Noto Sans Cuneiform":{v:["regular"],subset:["cuneiform"],weight:["Default","400"],i:["normal"]},"Noto Sans Cypriot":{v:["regular"],subset:["cypriot"],weight:["Default","400"],i:["normal"]},"Noto Sans Deseret":{v:["regular"],subset:["deseret"],weight:["Default","400"],i:["normal"]},"Noto Sans Devanagari":{v:["100","200","300","regular","500","600","700","800","900"],subset:["devanagari","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Display":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Noto Sans Duployan":{v:["regular"],subset:["duployan"],weight:["Default","400"],i:["normal"]},"Noto Sans Egyptian Hieroglyphs":{v:["regular"],subset:["egyptian-hieroglyphs"],weight:["Default","400"],i:["normal"]},"Noto Sans Elbasan":{v:["regular"],subset:["elbasan","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Noto Sans Elymaic":{v:["regular"],subset:["elymaic"],weight:["Default","400"],i:["normal"]},"Noto Sans Ethiopic":{v:["100","200","300","regular","500","600","700","800","900"],subset:["ethiopic","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Georgian":{v:["100","200","300","regular","500","600","700","800","900"],subset:["georgian","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Glagolitic":{v:["regular"],subset:["glagolitic"],weight:["Default","400"],i:["normal"]},"Noto Sans Gothic":{v:["regular"],subset:["gothic"],weight:["Default","400"],i:["normal"]},"Noto Sans Grantha":{v:["regular"],subset:["grantha","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Noto Sans Gujarati":{v:["100","200","300","regular","500","600","700","800","900"],subset:["gujarati","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Gunjala Gondi":{v:["regular"],subset:["gunjala-gondi"],weight:["Default","400"],i:["normal"]},"Noto Sans Gurmukhi":{v:["100","200","300","regular","500","600","700","800","900"],subset:["gurmukhi","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans HK":{v:["100","300","regular","500","700","900"],subset:["chinese-hongkong","latin"],weight:["Default","100","300","400","500","700","900"],i:["normal"]},"Noto Sans Hanifi Rohingya":{v:["regular","500","600","700"],subset:["hanifi-rohingya","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans Hanunoo":{v:["regular"],subset:["hanunoo","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Noto Sans Hatran":{v:["regular"],subset:["hatran"],weight:["Default","400"],i:["normal"]},"Noto Sans Hebrew":{v:["100","200","300","regular","500","600","700","800","900"],subset:["hebrew","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Imperial Aramaic":{v:["regular"],subset:["imperial-aramaic"],weight:["Default","400"],i:["normal"]},"Noto Sans Indic Siyaq Numbers":{v:["regular"],subset:["indic-siyaq-numbers"],weight:["Default","400"],i:["normal"]},"Noto Sans Inscriptional Pahlavi":{v:["regular"],subset:["inscriptional-pahlavi"],weight:["Default","400"],i:["normal"]},"Noto Sans Inscriptional Parthian":{v:["regular"],subset:["inscriptional-parthian","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Noto Sans JP":{v:["100","200","300","regular","500","600","700","800","900"],subset:["cyrillic","japanese","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Javanese":{v:["regular","500","600","700"],subset:["javanese","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans KR":{v:["100","300","regular","500","700","900"],subset:["korean","latin"],weight:["Default","100","300","400","500","700","900"],i:["normal"]},"Noto Sans Kaithi":{v:["regular"],subset:["kaithi"],weight:["Default","400"],i:["normal"]},"Noto Sans Kannada":{v:["100","200","300","regular","500","600","700","800","900"],subset:["kannada","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Kayah Li":{v:["regular","500","600","700"],subset:["kayah-li","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans Kharoshthi":{v:["regular"],subset:["kharoshthi","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Noto Sans Khmer":{v:["100","200","300","regular","500","600","700","800","900"],subset:["khmer","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Khojki":{v:["regular"],subset:["khojki","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Noto Sans Khudawadi":{v:["regular"],subset:["khudawadi"],weight:["Default","400"],i:["normal"]},"Noto Sans Lao":{v:["100","200","300","regular","500","600","700","800","900"],subset:["lao","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Lao Looped":{v:["100","200","300","regular","500","600","700","800","900"],subset:["lao","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Lepcha":{v:["regular"],subset:["latin","latin-ext","lepcha"],weight:["Default","400"],i:["normal"]},"Noto Sans Limbu":{v:["regular"],subset:["latin","latin-ext","limbu"],weight:["Default","400"],i:["normal"]},"Noto Sans Linear A":{v:["regular"],subset:["linear-a"],weight:["Default","400"],i:["normal"]},"Noto Sans Linear B":{v:["regular"],subset:["linear-b"],weight:["Default","400"],i:["normal"]},"Noto Sans Lisu":{v:["regular","500","600","700"],subset:["latin","latin-ext","lisu"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans Lycian":{v:["regular"],subset:["lycian"],weight:["Default","400"],i:["normal"]},"Noto Sans Lydian":{v:["regular"],subset:["lydian"],weight:["Default","400"],i:["normal"]},"Noto Sans Mahajani":{v:["regular"],subset:["mahajani"],weight:["Default","400"],i:["normal"]},"Noto Sans Malayalam":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","malayalam"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Mandaic":{v:["regular"],subset:["mandaic"],weight:["Default","400"],i:["normal"]},"Noto Sans Manichaean":{v:["regular"],subset:["manichaean"],weight:["Default","400"],i:["normal"]},"Noto Sans Marchen":{v:["regular"],subset:["marchen"],weight:["Default","400"],i:["normal"]},"Noto Sans Masaram Gondi":{v:["regular"],subset:["latin","latin-ext","masaram-gondi"],weight:["Default","400"],i:["normal"]},"Noto Sans Math":{v:["regular"],subset:["math"],weight:["Default","400"],i:["normal"]},"Noto Sans Mayan Numerals":{v:["regular"],subset:["mayan-numerals"],weight:["Default","400"],i:["normal"]},"Noto Sans Medefaidrin":{v:["regular","500","600","700"],subset:["latin","latin-ext","medefaidrin"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans Meetei Mayek":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","meetei-mayek"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Mende Kikakui":{v:["regular"],subset:["latin","latin-ext","mende-kikakui"],weight:["Default","400"],i:["normal"]},"Noto Sans Meroitic":{v:["regular"],subset:["meroitic"],weight:["Default","400"],i:["normal"]},"Noto Sans Miao":{v:["regular"],subset:["latin","latin-ext","miao"],weight:["Default","400"],i:["normal"]},"Noto Sans Modi":{v:["regular"],subset:["latin","latin-ext","modi"],weight:["Default","400"],i:["normal"]},"Noto Sans Mongolian":{v:["regular"],subset:["latin","latin-ext","mongolian"],weight:["Default","400"],i:["normal"]},"Noto Sans Mono":{v:["100","200","300","regular","500","600","700","800","900"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Mro":{v:["regular"],subset:["latin","latin-ext","mro"],weight:["Default","400"],i:["normal"]},"Noto Sans Multani":{v:["regular"],subset:["latin","latin-ext","multani"],weight:["Default","400"],i:["normal"]},"Noto Sans Myanmar":{v:["100","200","300","regular","500","600","700","800","900"],subset:["myanmar"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans NKo":{v:["regular"],subset:["latin","latin-ext","nko"],weight:["Default","400"],i:["normal"]},"Noto Sans Nabataean":{v:["regular"],subset:["nabataean"],weight:["Default","400"],i:["normal"]},"Noto Sans Nag Mundari":{v:["regular","500","600","700"],subset:["latin","latin-ext","nag-mundari"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans Nandinagari":{v:["regular"],subset:["latin","latin-ext","nandinagari"],weight:["Default","400"],i:["normal"]},"Noto Sans New Tai Lue":{v:["regular","500","600","700"],subset:["latin","latin-ext","new-tai-lue"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans Newa":{v:["regular"],subset:["latin","latin-ext","newa"],weight:["Default","400"],i:["normal"]},"Noto Sans Nushu":{v:["regular"],subset:["latin","latin-ext","nushu"],weight:["Default","400"],i:["normal"]},"Noto Sans Ogham":{v:["regular"],subset:["ogham"],weight:["Default","400"],i:["normal"]},"Noto Sans Ol Chiki":{v:["regular","500","600","700"],subset:["latin","latin-ext","ol-chiki"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans Old Hungarian":{v:["regular"],subset:["old-hungarian"],weight:["Default","400"],i:["normal"]},"Noto Sans Old Italic":{v:["regular"],subset:["old-italic"],weight:["Default","400"],i:["normal"]},"Noto Sans Old North Arabian":{v:["regular"],subset:["old-north-arabian"],weight:["Default","400"],i:["normal"]},"Noto Sans Old Permic":{v:["regular"],subset:["old-permic"],weight:["Default","400"],i:["normal"]},"Noto Sans Old Persian":{v:["regular"],subset:["old-persian"],weight:["Default","400"],i:["normal"]},"Noto Sans Old Sogdian":{v:["regular"],subset:["old-sogdian"],weight:["Default","400"],i:["normal"]},"Noto Sans Old South Arabian":{v:["regular"],subset:["old-south-arabian"],weight:["Default","400"],i:["normal"]},"Noto Sans Old Turkic":{v:["regular"],subset:["old-turkic"],weight:["Default","400"],i:["normal"]},"Noto Sans Oriya":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","oriya"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Osage":{v:["regular"],subset:["latin","latin-ext","osage"],weight:["Default","400"],i:["normal"]},"Noto Sans Osmanya":{v:["regular"],subset:["latin","latin-ext","osmanya"],weight:["Default","400"],i:["normal"]},"Noto Sans Pahawh Hmong":{v:["regular"],subset:["latin","latin-ext","pahawh-hmong"],weight:["Default","400"],i:["normal"]},"Noto Sans Palmyrene":{v:["regular"],subset:["palmyrene"],weight:["Default","400"],i:["normal"]},"Noto Sans Pau Cin Hau":{v:["regular"],subset:["latin","latin-ext","pau-cin-hau"],weight:["Default","400"],i:["normal"]},"Noto Sans Phags Pa":{v:["regular"],subset:["phags-pa"],weight:["Default","400"],i:["normal"]},"Noto Sans Phoenician":{v:["regular"],subset:["phoenician"],weight:["Default","400"],i:["normal"]},"Noto Sans Psalter Pahlavi":{v:["regular"],subset:["psalter-pahlavi"],weight:["Default","400"],i:["normal"]},"Noto Sans Rejang":{v:["regular"],subset:["latin","latin-ext","rejang"],weight:["Default","400"],i:["normal"]},"Noto Sans Runic":{v:["regular"],subset:["runic"],weight:["Default","400"],i:["normal"]},"Noto Sans SC":{v:["100","300","regular","500","700","900"],subset:["chinese-simplified","latin"],weight:["Default","100","300","400","500","700","900"],i:["normal"]},"Noto Sans Samaritan":{v:["regular"],subset:["samaritan"],weight:["Default","400"],i:["normal"]},"Noto Sans Saurashtra":{v:["regular"],subset:["latin","latin-ext","saurashtra"],weight:["Default","400"],i:["normal"]},"Noto Sans Sharada":{v:["regular"],subset:["latin","latin-ext","sharada"],weight:["Default","400"],i:["normal"]},"Noto Sans Shavian":{v:["regular"],subset:["shavian"],weight:["Default","400"],i:["normal"]},"Noto Sans Siddham":{v:["regular"],subset:["latin","latin-ext","siddham"],weight:["Default","400"],i:["normal"]},"Noto Sans SignWriting":{v:["regular"],subset:["latin","latin-ext","signwriting"],weight:["Default","400"],i:["normal"]},"Noto Sans Sinhala":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","sinhala"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Sogdian":{v:["regular"],subset:["sogdian"],weight:["Default","400"],i:["normal"]},"Noto Sans Sora Sompeng":{v:["regular","500","600","700"],subset:["latin","latin-ext","sora-sompeng"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans Soyombo":{v:["regular"],subset:["soyombo"],weight:["Default","400"],i:["normal"]},"Noto Sans Sundanese":{v:["regular","500","600","700"],subset:["latin","latin-ext","sundanese"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans Syloti Nagri":{v:["regular"],subset:["latin","latin-ext","syloti-nagri"],weight:["Default","400"],i:["normal"]},"Noto Sans Symbols":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","symbols"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Symbols 2":{v:["regular"],subset:["latin","latin-ext","symbols"],weight:["Default","400"],i:["normal"]},"Noto Sans Syriac":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","syriac"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans TC":{v:["100","300","regular","500","700","900"],subset:["chinese-traditional","latin"],weight:["Default","100","300","400","500","700","900"],i:["normal"]},"Noto Sans Tagalog":{v:["regular"],subset:["latin","latin-ext","tagalog"],weight:["Default","400"],i:["normal"]},"Noto Sans Tagbanwa":{v:["regular"],subset:["latin","latin-ext","tagbanwa"],weight:["Default","400"],i:["normal"]},"Noto Sans Tai Le":{v:["regular"],subset:["latin","latin-ext","tai-le"],weight:["Default","400"],i:["normal"]},"Noto Sans Tai Tham":{v:["regular","500","600","700"],subset:["latin","latin-ext","tai-tham"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans Tai Viet":{v:["regular"],subset:["latin","latin-ext","tai-viet"],weight:["Default","400"],i:["normal"]},"Noto Sans Takri":{v:["regular"],subset:["latin","latin-ext","takri"],weight:["Default","400"],i:["normal"]},"Noto Sans Tamil":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","tamil"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Tamil Supplement":{v:["regular"],subset:["tamil-supplement"],weight:["Default","400"],i:["normal"]},"Noto Sans Tangsa":{v:["regular","500","600","700"],subset:["latin","latin-ext","tangsa"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Sans Telugu":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","telugu"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Thaana":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","thaana"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Thai":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","thai"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Thai Looped":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","thai"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Sans Tifinagh":{v:["regular"],subset:["latin","latin-ext","tifinagh"],weight:["Default","400"],i:["normal"]},"Noto Sans Tirhuta":{v:["regular"],subset:["tirhuta"],weight:["Default","400"],i:["normal"]},"Noto Sans Ugaritic":{v:["regular"],subset:["latin","latin-ext","ugaritic"],weight:["Default","400"],i:["normal"]},"Noto Sans Vai":{v:["regular"],subset:["latin","latin-ext","vai"],weight:["Default","400"],i:["normal"]},"Noto Sans Wancho":{v:["regular"],subset:["latin","latin-ext","wancho"],weight:["Default","400"],i:["normal"]},"Noto Sans Warang Citi":{v:["regular"],subset:["latin","latin-ext","warang-citi"],weight:["Default","400"],i:["normal"]},"Noto Sans Yi":{v:["regular"],subset:["latin","latin-ext","yi"],weight:["Default","400"],i:["normal"]},"Noto Sans Zanabazar Square":{v:["regular"],subset:["latin","latin-ext","zanabazar-square"],weight:["Default","400"],i:["normal"]},"Noto Serif":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal","italic"]},"Noto Serif Ahom":{v:["regular"],subset:["ahom","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Noto Serif Armenian":{v:["100","200","300","regular","500","600","700","800","900"],subset:["armenian","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif Balinese":{v:["regular"],subset:["balinese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Noto Serif Bengali":{v:["100","200","300","regular","500","600","700","800","900"],subset:["bengali","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif Devanagari":{v:["100","200","300","regular","500","600","700","800","900"],subset:["devanagari","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif Display":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Noto Serif Dogra":{v:["regular"],subset:["dogra"],weight:["Default","400"],i:["normal"]},"Noto Serif Ethiopic":{v:["100","200","300","regular","500","600","700","800","900"],subset:["ethiopic","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif Georgian":{v:["100","200","300","regular","500","600","700","800","900"],subset:["georgian","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif Grantha":{v:["regular"],subset:["grantha","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Noto Serif Gujarati":{v:["100","200","300","regular","500","600","700","800","900"],subset:["gujarati","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif Gurmukhi":{v:["100","200","300","regular","500","600","700","800","900"],subset:["gurmukhi","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif HK":{v:["200","300","regular","500","600","700","800","900"],subset:["chinese-hongkong","cyrillic","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif Hebrew":{v:["100","200","300","regular","500","600","700","800","900"],subset:["hebrew","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif JP":{v:["200","300","regular","500","600","700","900"],subset:["japanese","latin"],weight:["Default","200","300","400","500","600","700","900"],i:["normal"]},"Noto Serif KR":{v:["200","300","regular","500","600","700","900"],subset:["korean","latin"],weight:["Default","200","300","400","500","600","700","900"],i:["normal"]},"Noto Serif Kannada":{v:["100","200","300","regular","500","600","700","800","900"],subset:["kannada","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif Khmer":{v:["100","200","300","regular","500","600","700","800","900"],subset:["khmer","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif Khojki":{v:["regular","500","600","700"],subset:["khojki","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Serif Lao":{v:["100","200","300","regular","500","600","700","800","900"],subset:["lao","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif Malayalam":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","malayalam"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif Myanmar":{v:["100","200","300","regular","500","600","700","800","900"],subset:["myanmar"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif NP Hmong":{v:["regular","500","600","700"],subset:["latin","nyiakeng-puachue-hmong"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Serif Oriya":{v:["regular","500","600","700"],subset:["latin","latin-ext","oriya"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Serif SC":{v:["200","300","regular","500","600","700","900"],subset:["chinese-simplified","latin"],weight:["Default","200","300","400","500","600","700","900"],i:["normal"]},"Noto Serif Sinhala":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","sinhala"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif TC":{v:["200","300","regular","500","600","700","900"],subset:["chinese-traditional","latin"],weight:["Default","200","300","400","500","600","700","900"],i:["normal"]},"Noto Serif Tamil":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","tamil"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Noto Serif Tangut":{v:["regular"],subset:["latin","latin-ext","tangut"],weight:["Default","400"],i:["normal"]},"Noto Serif Telugu":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","telugu"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif Thai":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","thai"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif Tibetan":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","tibetan"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Noto Serif Toto":{v:["regular","500","600","700"],subset:["latin","latin-ext","toto"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Serif Yezidi":{v:["regular","500","600","700"],subset:["yezidi"],weight:["Default","400","500","600","700"],i:["normal"]},"Noto Traditional Nushu":{v:["300","regular","500","600","700"],subset:["latin","latin-ext","nushu"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Nova Cut":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Nova Flat":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Nova Mono":{v:["regular"],subset:["greek","latin"],weight:["Default","400"],i:["normal"]},"Nova Oval":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Nova Round":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Nova Script":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Nova Slim":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Nova Square":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Numans:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Nunito:{v:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Nunito Sans":{v:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Nuosu SIL":{v:["regular"],subset:["latin","latin-ext","yi"],weight:["Default","400"],i:["normal"]},"Odibee Sans":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Odor Mean Chey":{v:["regular"],subset:["khmer","latin"],weight:["Default","400"],i:["normal"]},Offside:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Oi:{v:["regular"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext","tamil","vietnamese"],weight:["Default","400"],i:["normal"]},"Old Standard TT":{v:["regular","italic","700"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal","italic"]},Oldenburg:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Ole:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Oleo Script":{v:["regular","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},"Oleo Script Swash Caps":{v:["regular","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},"Oooh Baby":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Open Sans":{v:["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700","800"],i:["normal","italic"]},Oranienbaum:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Orbitron:{v:["regular","500","600","700","800","900"],subset:["latin"],weight:["Default","400","500","600","700","800","900"],i:["normal"]},Oregano:{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"Orelega One":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Orienta:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Original Surfer":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Oswald:{v:["200","300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700"],i:["normal"]},Outfit:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Over the Rainbow":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Overlock:{v:["regular","italic","700","700italic","900","900italic"],subset:["latin","latin-ext"],weight:["Default","400","700","900"],i:["normal","italic"]},"Overlock SC":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Overpass:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Overpass Mono":{v:["300","regular","500","600","700"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal"]},Ovo:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Oxanium:{v:["200","300","regular","500","600","700","800"],subset:["latin","latin-ext"],weight:["Default","200","300","400","500","600","700","800"],i:["normal"]},Oxygen:{v:["300","regular","700"],subset:["latin","latin-ext"],weight:["Default","300","400","700"],i:["normal"]},"Oxygen Mono":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"PT Mono":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"PT Sans":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},"PT Sans Caption":{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},"PT Sans Narrow":{v:["regular","700"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},"PT Serif":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},"PT Serif Caption":{v:["regular","italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},Pacifico:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Padauk:{v:["regular","700"],subset:["latin","latin-ext","myanmar"],weight:["Default","400","700"],i:["normal"]},"Padyakke Expanded One":{v:["regular"],subset:["kannada","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Palanquin:{v:["100","200","300","regular","500","600","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700"],i:["normal"]},"Palanquin Dark":{v:["regular","500","600","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},Pangolin:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Paprika:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Parisienne:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Passero One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Passion One":{v:["regular","700","900"],subset:["latin","latin-ext"],weight:["Default","400","700","900"],i:["normal"]},"Passions Conflict":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Pathway Extreme":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Pathway Gothic One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Patrick Hand":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Patrick Hand SC":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Pattaya:{v:["regular"],subset:["cyrillic","latin","latin-ext","thai","vietnamese"],weight:["Default","400"],i:["normal"]},"Patua One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Pavanam:{v:["regular"],subset:["latin","latin-ext","tamil"],weight:["Default","400"],i:["normal"]},"Paytone One":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Peddana:{v:["regular"],subset:["latin","telugu"],weight:["Default","400"],i:["normal"]},Peralta:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Permanent Marker":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Petemoss:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Petit Formal Script":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Petrona:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Philosopher:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin","vietnamese"],weight:["Default","400","700"],i:["normal","italic"]},Phudu:{v:["300","regular","500","600","700","800","900"],subset:["cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700","800","900"],i:["normal"]},Piazzolla:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Piedra:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Pinyon Script":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Pirata One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Plaster:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Play:{v:["regular","700"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal"]},Playball:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Playfair:{v:["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700","800","900"],i:["normal","italic"]},"Playfair Display":{v:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800","900"],i:["normal","italic"]},"Playfair Display SC":{v:["regular","italic","700","700italic","900","900italic"],subset:["cyrillic","latin","latin-ext","vietnamese"],weight:["Default","400","700","900"],i:["normal","italic"]},"Plus Jakarta Sans":{v:["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],subset:["cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800"],i:["normal","italic"]},Podkova:{v:["regular","500","600","700","800"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Poiret One":{v:["regular"],subset:["cyrillic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Poller One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Poltawski Nowy":{v:["regular","500","600","700","italic","500italic","600italic","700italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700"],i:["normal","italic"]},Poly:{v:["regular","italic"],subset:["latin"],weight:["Default","400"],i:["normal","italic"]},Pompiere:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Pontano Sans":{v:["300","regular","500","600","700"],subset:["latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Poor Story":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Poppins:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["devanagari","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Port Lligat Sans":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Port Lligat Slab":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Potta One":{v:["regular"],subset:["japanese","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Pragati Narrow":{v:["regular","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Praise:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Prata:{v:["regular"],subset:["cyrillic","cyrillic-ext","latin","vietnamese"],weight:["Default","400"],i:["normal"]},Preahvihear:{v:["regular"],subset:["khmer","latin"],weight:["Default","400"],i:["normal"]},"Press Start 2P":{v:["regular"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Pridi:{v:["200","300","regular","500","600","700"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","200","300","400","500","600","700"],i:["normal"]},"Princess Sofia":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Prociono:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Prompt:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Prosto One":{v:["regular"],subset:["cyrillic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Proza Libre":{v:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["latin","latin-ext"],weight:["Default","400","500","600","700","800"],i:["normal","italic"]},"Public Sans":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Puppies Play":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Puritan:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},"Purple Purse":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Qahiri:{v:["regular"],subset:["arabic","latin"],weight:["Default","400"],i:["normal"]},Quando:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Quantico:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},Quattrocento:{v:["regular","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},"Quattrocento Sans":{v:["regular","italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},Questrial:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Quicksand:{v:["300","regular","500","600","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal"]},Quintessential:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Qwigley:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Qwitcher Grypen":{v:["regular","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal"]},"Racing Sans One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Radio Canada":{v:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],subset:["canadian-aboriginal","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal","italic"]},Radley:{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},Rajdhani:{v:["300","regular","500","600","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},Rakkas:{v:["regular"],subset:["arabic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Raleway:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Raleway Dots":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Ramabhadra:{v:["regular"],subset:["latin","telugu"],weight:["Default","400"],i:["normal"]},Ramaraja:{v:["regular"],subset:["latin","telugu"],weight:["Default","400"],i:["normal"]},Rambla:{v:["regular","italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},"Rammetto One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rampart One":{v:["regular"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Ranchers:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Rancho:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Ranga:{v:["regular","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Rasa:{v:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],subset:["gujarati","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal","italic"]},Rationale:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Ravi Prakash":{v:["regular"],subset:["latin","telugu"],weight:["Default","400"],i:["normal"]},"Readex Pro":{v:["200","300","regular","500","600","700"],subset:["arabic","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700"],i:["normal"]},Recursive:{v:["300","regular","500","600","700","800","900"],subset:["cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700","800","900"],i:["normal"]},"Red Hat Display":{v:["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext"],weight:["Default","300","400","500","600","700","800","900"],i:["normal","italic"]},"Red Hat Mono":{v:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],subset:["latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal","italic"]},"Red Hat Text":{v:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],subset:["latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal","italic"]},"Red Rose":{v:["300","regular","500","600","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal"]},Redacted:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Redacted Script":{v:["300","regular","700"],subset:["latin","latin-ext"],weight:["Default","300","400","700"],i:["normal"]},Redressed:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Reem Kufi":{v:["regular","500","600","700"],subset:["arabic","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700"],i:["normal"]},"Reem Kufi Fun":{v:["regular","500","600","700"],subset:["arabic","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700"],i:["normal"]},"Reem Kufi Ink":{v:["regular"],subset:["arabic","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Reenie Beanie":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Reggae One":{v:["regular"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Revalia:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rhodium Libre":{v:["regular"],subset:["devanagari","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Ribeye:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Ribeye Marrow":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Righteous:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Risque:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Road Rage":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Roboto:{v:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","100","300","400","500","700","900"],i:["normal","italic"]},"Roboto Condensed":{v:["300","300italic","regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","300","400","700"],i:["normal","italic"]},"Roboto Flex":{v:["regular"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Roboto Mono":{v:["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700"],i:["normal","italic"]},"Roboto Serif":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Roboto Slab":{v:["100","200","300","regular","500","600","700","800","900"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},Rochester:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Rock Salt":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"RocknRoll One":{v:["regular"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Rokkitt:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Romanesco:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Ropa Sans":{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},Rosario:{v:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal","italic"]},Rosarivo:{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"Rouge Script":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Rowdies:{v:["300","regular","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","300","400","700"],i:["normal"]},"Rozha One":{v:["regular"],subset:["devanagari","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Rubik:{v:["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","300","400","500","600","700","800","900"],i:["normal","italic"]},"Rubik 80s Fade":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Beastly":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Bubbles":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Burned":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Dirt":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Distressed":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Gemstones":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Glitch":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Iso":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Marker Hatch":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Maze":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Microbe":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Mono One":{v:["regular"],subset:["cyrillic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Moonrocks":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Pixels":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Puddles":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Spray Paint":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Storm":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Vinyl":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rubik Wet Paint":{v:["regular"],subset:["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Ruda:{v:["regular","500","600","700","800","900"],subset:["cyrillic","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800","900"],i:["normal"]},Rufina:{v:["regular","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},"Ruge Boogie":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Ruluko:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Rum Raisin":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Ruslan Display":{v:["regular"],subset:["cyrillic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Russo One":{v:["regular"],subset:["cyrillic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Ruthie:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Rye:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"STIX Two Text":{v:["regular","500","600","700","italic","500italic","600italic","700italic"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700"],i:["normal","italic"]},Sacramento:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Sahitya:{v:["regular","700"],subset:["devanagari","latin"],weight:["Default","400","700"],i:["normal"]},Sail:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Saira:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Saira Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Extra Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Semi Condensed":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Saira Stencil One":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Salsa:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Sanchez:{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},Sancreek:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Sansita:{v:["regular","italic","700","700italic","800","800italic","900","900italic"],subset:["latin","latin-ext"],weight:["Default","400","700","800","900"],i:["normal","italic"]},"Sansita Swashed":{v:["300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700","800","900"],i:["normal"]},Sarabun:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal","italic"]},Sarala:{v:["regular","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Sarina:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Sarpanch:{v:["regular","500","600","700","800","900"],subset:["devanagari","latin","latin-ext"],weight:["Default","400","500","600","700","800","900"],i:["normal"]},"Sassy Frass":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Satisfy:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Sawarabi Gothic":{v:["regular"],subset:["cyrillic","japanese","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Sawarabi Mincho":{v:["regular"],subset:["japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Scada:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},"Scheherazade New":{v:["regular","500","600","700"],subset:["arabic","latin","latin-ext"],weight:["Default","400","500","600","700"],i:["normal"]},"Schibsted Grotesk":{v:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext"],weight:["Default","400","500","600","700","800","900"],i:["normal","italic"]},Schoolbell:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Scope One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Seaweed Script":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Secular One":{v:["regular"],subset:["hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Sedgwick Ave":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Sedgwick Ave Display":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Sen:{v:["regular","700","800"],subset:["latin","latin-ext"],weight:["Default","400","700","800"],i:["normal"]},"Send Flowers":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Sevillana:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Seymour One":{v:["regular"],subset:["cyrillic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Shadows Into Light":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Shadows Into Light Two":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Shalimar:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Shantell Sans":{v:["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700","800"],i:["normal","italic"]},Shanti:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Share:{v:["regular","italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},"Share Tech":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Share Tech Mono":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Shippori Antique":{v:["regular"],subset:["japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Shippori Antique B1":{v:["regular"],subset:["japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Shippori Mincho":{v:["regular","500","600","700","800"],subset:["japanese","latin","latin-ext"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Shippori Mincho B1":{v:["regular","500","600","700","800"],subset:["japanese","latin","latin-ext"],weight:["Default","400","500","600","700","800"],i:["normal"]},Shojumaru:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Short Stack":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Shrikhand:{v:["regular"],subset:["gujarati","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Siemreap:{v:["regular"],subset:["khmer"],weight:["Default","400"],i:["normal"]},Sigmar:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Sigmar One":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Signika:{v:["300","regular","500","600","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Signika Negative":{v:["300","regular","500","600","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal"]},Silkscreen:{v:["regular","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Simonetta:{v:["regular","italic","900","900italic"],subset:["latin","latin-ext"],weight:["Default","400","900"],i:["normal","italic"]},"Single Day":{v:["regular"],subset:["korean"],weight:["Default","400"],i:["normal"]},Sintony:{v:["regular","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},"Sirin Stencil":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Six Caps":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Skranji:{v:["regular","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},"Slabo 13px":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Slabo 27px":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Slackey:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Slackside One":{v:["regular"],subset:["japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Smokum:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Smooch:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Smooch Sans":{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},Smythe:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Sniglet:{v:["regular","800"],subset:["latin","latin-ext"],weight:["Default","400","800"],i:["normal"]},Snippet:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Snowburst One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Sofadi One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Sofia:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Sofia Sans":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Sofia Sans Condensed":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Sofia Sans Extra Condensed":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Sofia Sans Semi Condensed":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Solitreo:{v:["regular"],subset:["hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Solway:{v:["300","regular","500","700","800"],subset:["latin"],weight:["Default","300","400","500","700","800"],i:["normal"]},"Song Myung":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},Sono:{v:["200","300","regular","500","600","700","800"],subset:["latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800"],i:["normal"]},"Sonsie One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Sora:{v:["100","200","300","regular","500","600","700","800"],subset:["latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal"]},"Sorts Mill Goudy":{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"Source Code Pro":{v:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Source Sans 3":{v:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Source Sans Pro":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","600","700","900"],i:["normal","italic"]},"Source Serif 4":{v:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Source Serif Pro":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","600","700","900"],i:["normal","italic"]},"Space Grotesk":{v:["300","regular","500","600","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Space Mono":{v:["regular","italic","700","700italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal","italic"]},"Special Elite":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Spectral:{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800"],i:["normal","italic"]},"Spectral SC":{v:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800"],i:["normal","italic"]},"Spicy Rice":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Spinnaker:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Spirax:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Splash:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Spline Sans":{v:["300","regular","500","600","700"],subset:["latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Spline Sans Mono":{v:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],subset:["latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal","italic"]},"Squada One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Square Peg":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Sree Krushnadevaraya":{v:["regular"],subset:["latin","telugu"],weight:["Default","400"],i:["normal"]},Sriracha:{v:["regular"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","400"],i:["normal"]},Srisakdi:{v:["regular","700"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","400","700"],i:["normal"]},Staatliches:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Stalemate:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Stalinist One":{v:["regular"],subset:["cyrillic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Stardos Stencil":{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},Stick:{v:["regular"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Stick No Bills":{v:["200","300","regular","500","600","700","800"],subset:["latin","latin-ext","sinhala"],weight:["Default","200","300","400","500","600","700","800"],i:["normal"]},"Stint Ultra Condensed":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Stint Ultra Expanded":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Stoke:{v:["300","regular"],subset:["latin","latin-ext"],weight:["Default","300","400"],i:["normal"]},Strait:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Style Script":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Stylish:{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},"Sue Ellen Francisco":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Suez One":{v:["regular"],subset:["hebrew","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Sulphur Point":{v:["300","regular","700"],subset:["latin","latin-ext"],weight:["Default","300","400","700"],i:["normal"]},Sumana:{v:["regular","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Sunflower:{v:["300","500","700"],subset:["korean","latin"],weight:["Default","300","400","500","700"],i:["normal"]},Sunshiney:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Supermercado One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Sura:{v:["regular","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","400","700"],i:["normal"]},Suranna:{v:["regular"],subset:["latin","telugu"],weight:["Default","400"],i:["normal"]},Suravaram:{v:["regular"],subset:["latin","telugu"],weight:["Default","400"],i:["normal"]},Suwannaphum:{v:["100","300","regular","700","900"],subset:["khmer","latin"],weight:["Default","100","300","400","700","900"],i:["normal"]},"Swanky and Moo Moo":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Syncopate:{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},Syne:{v:["regular","500","600","700","800"],subset:["greek","latin","latin-ext"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Syne Mono":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Syne Tactile":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Tai Heritage Pro":{v:["regular","700"],subset:["latin","latin-ext","tai-viet","vietnamese"],weight:["Default","400","700"],i:["normal"]},Tajawal:{v:["200","300","regular","500","700","800","900"],subset:["arabic","latin"],weight:["Default","200","300","400","500","700","800","900"],i:["normal"]},Tangerine:{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},Tapestry:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Taprom:{v:["regular"],subset:["khmer","latin"],weight:["Default","400"],i:["normal"]},Tauri:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Taviraj:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Teko:{v:["300","regular","500","600","700"],subset:["devanagari","latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},Telex:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Tenali Ramakrishna":{v:["regular"],subset:["latin","telugu"],weight:["Default","400"],i:["normal"]},"Tenor Sans":{v:["regular"],subset:["cyrillic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Text Me One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Texturina:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Thasadith:{v:["regular","italic","700","700italic"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","400","700"],i:["normal","italic"]},"The Girl Next Door":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"The Nautigal":{v:["regular","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal"]},Tienne:{v:["regular","700","900"],subset:["latin"],weight:["Default","400","700","900"],i:["normal"]},Tillana:{v:["regular","500","600","700","800"],subset:["devanagari","latin","latin-ext"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Tilt Neon":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Tilt Prism":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Tilt Warp":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Timmana:{v:["regular"],subset:["latin","telugu"],weight:["Default","400"],i:["normal"]},Tinos:{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"],weight:["Default","400","700"],i:["normal","italic"]},"Tiro Bangla":{v:["regular","italic"],subset:["bengali","latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"Tiro Devanagari Hindi":{v:["regular","italic"],subset:["devanagari","latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"Tiro Devanagari Marathi":{v:["regular","italic"],subset:["devanagari","latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"Tiro Devanagari Sanskrit":{v:["regular","italic"],subset:["devanagari","latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"Tiro Gurmukhi":{v:["regular","italic"],subset:["gurmukhi","latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"Tiro Kannada":{v:["regular","italic"],subset:["kannada","latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"Tiro Tamil":{v:["regular","italic"],subset:["latin","latin-ext","tamil"],weight:["Default","400"],i:["normal","italic"]},"Tiro Telugu":{v:["regular","italic"],subset:["latin","latin-ext","telugu"],weight:["Default","400"],i:["normal","italic"]},"Titan One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Titillium Web":{v:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],subset:["latin","latin-ext"],weight:["Default","200","300","400","600","700","900"],i:["normal","italic"]},Tomorrow:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Tourney:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Trade Winds":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Train One":{v:["regular"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Trirong:{v:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],subset:["latin","latin-ext","thai","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},Trispace:{v:["100","200","300","regular","500","600","700","800"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800"],i:["normal"]},Trocchi:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Trochut:{v:["regular","italic","700"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},Truculenta:{v:["100","200","300","regular","500","600","700","800","900"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},Trykker:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Tsukimi Rounded":{v:["300","regular","500","600","700"],subset:["japanese","latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Tulpen One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Turret Road":{v:["200","300","regular","500","700","800"],subset:["latin","latin-ext"],weight:["Default","200","300","400","500","700","800"],i:["normal"]},"Twinkle Star":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Ubuntu:{v:["300","300italic","regular","italic","500","500italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"],weight:["Default","300","400","500","700"],i:["normal","italic"]},"Ubuntu Condensed":{v:["regular"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Ubuntu Mono":{v:["regular","italic","700","700italic"],subset:["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},Uchen:{v:["regular"],subset:["latin","tibetan"],weight:["Default","400"],i:["normal"]},Ultra:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Unbounded:{v:["200","300","regular","500","600","700","800","900"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700","800","900"],i:["normal"]},"Uncial Antiqua":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Underdog:{v:["regular"],subset:["cyrillic","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Unica One":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},UnifrakturCook:{v:["700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},UnifrakturMaguntia:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Unkempt:{v:["regular","700"],subset:["latin"],weight:["Default","400","700"],i:["normal"]},Unlock:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Unna:{v:["regular","italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal","italic"]},Updock:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Urbanist:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},VT323:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Vampiro One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Varela:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Varela Round":{v:["regular"],subset:["hebrew","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Varta:{v:["300","regular","500","600","700"],subset:["latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal"]},"Vast Shadow":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Vazirmatn:{v:["100","200","300","regular","500","600","700","800","900"],subset:["arabic","latin","latin-ext"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal"]},"Vesper Libre":{v:["regular","500","700","900"],subset:["devanagari","latin","latin-ext"],weight:["Default","400","500","700","900"],i:["normal"]},"Viaoda Libre":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Vibes:{v:["regular"],subset:["arabic","latin"],weight:["Default","400"],i:["normal"]},Vibur:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Vidaloka:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Viga:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Vina Sans":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Voces:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Volkhov:{v:["regular","italic","700","700italic"],subset:["latin"],weight:["Default","400","700"],i:["normal","italic"]},Vollkorn:{v:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800","900"],i:["normal","italic"]},"Vollkorn SC":{v:["regular","600","700","900"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400","600","700","900"],i:["normal"]},Voltaire:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Vujahday Script":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},"Waiting for the Sunrise":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Wallpoet:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Walter Turncoat":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Warnes:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Water Brush":{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Waterfall:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Wellfleet:{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Wendy One":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Whisper:{v:["regular"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},WindSong:{v:["regular","500"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400","500"],i:["normal"]},"Wire One":{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Wix Madefor Display":{v:["regular","500","600","700","800"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800"],i:["normal"]},"Wix Madefor Text":{v:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400","500","600","700","800"],i:["normal","italic"]},"Work Sans":{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Xanh Mono":{v:["regular","italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal","italic"]},Yaldevi:{v:["200","300","regular","500","600","700"],subset:["latin","latin-ext","sinhala"],weight:["Default","200","300","400","500","600","700"],i:["normal"]},"Yanone Kaffeesatz":{v:["200","300","regular","500","600","700"],subset:["cyrillic","latin","latin-ext","vietnamese"],weight:["Default","200","300","400","500","600","700"],i:["normal"]},Yantramanav:{v:["100","300","regular","500","700","900"],subset:["devanagari","latin","latin-ext"],weight:["Default","100","300","400","500","700","900"],i:["normal"]},"Yatra One":{v:["regular"],subset:["devanagari","latin","latin-ext"],weight:["Default","400"],i:["normal"]},Yellowtail:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Yeon Sung":{v:["regular"],subset:["korean","latin"],weight:["Default","400"],i:["normal"]},"Yeseva One":{v:["regular"],subset:["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Yesteryear:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},Yomogi:{v:["regular"],subset:["cyrillic","japanese","latin","latin-ext","vietnamese"],weight:["Default","400"],i:["normal"]},Yrsa:{v:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],subset:["latin","latin-ext","vietnamese"],weight:["Default","300","400","500","600","700"],i:["normal","italic"]},Ysabeau:{v:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],subset:["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"],weight:["Default","100","200","300","400","500","600","700","800","900"],i:["normal","italic"]},"Yuji Boku":{v:["regular"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Yuji Mai":{v:["regular"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Yuji Syuku":{v:["regular"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Yusei Magic":{v:["regular"],subset:["japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"ZCOOL KuaiLe":{v:["regular"],subset:["chinese-simplified","latin"],weight:["Default","400"],i:["normal"]},"ZCOOL QingKe HuangYou":{v:["regular"],subset:["chinese-simplified","latin"],weight:["Default","400"],i:["normal"]},"ZCOOL XiaoWei":{v:["regular"],subset:["chinese-simplified","latin"],weight:["Default","400"],i:["normal"]},"Zen Antique":{v:["regular"],subset:["cyrillic","greek","japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Zen Antique Soft":{v:["regular"],subset:["cyrillic","greek","japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Zen Dots":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Zen Kaku Gothic Antique":{v:["300","regular","500","700","900"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","300","400","500","700","900"],i:["normal"]},"Zen Kaku Gothic New":{v:["300","regular","500","700","900"],subset:["cyrillic","japanese","latin","latin-ext"],weight:["Default","300","400","500","700","900"],i:["normal"]},"Zen Kurenaido":{v:["regular"],subset:["cyrillic","greek","japanese","latin","latin-ext"],weight:["Default","400"],i:["normal"]},"Zen Loop":{v:["regular","italic"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal","italic"]},"Zen Maru Gothic":{v:["300","regular","500","700","900"],subset:["cyrillic","greek","japanese","latin","latin-ext"],weight:["Default","300","400","500","700","900"],i:["normal"]},"Zen Old Mincho":{v:["regular","500","600","700","900"],subset:["cyrillic","greek","japanese","latin","latin-ext"],weight:["Default","400","500","600","700","900"],i:["normal"]},"Zen Tokyo Zoo":{v:["regular"],subset:["latin","latin-ext"],weight:["Default","400"],i:["normal"]},Zeyada:{v:["regular"],subset:["latin"],weight:["Default","400"],i:["normal"]},"Zhi Mang Xing":{v:["regular"],subset:["chinese-simplified","latin"],weight:["Default","400"],i:["normal"]},"Zilla Slab":{v:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],subset:["latin","latin-ext"],weight:["Default","300","400","500","600","700"],i:["normal","italic"]},"Zilla Slab Highlight":{v:["regular","700"],subset:["latin","latin-ext"],weight:["Default","400","700"],i:["normal"]}};var De=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Le(e,t){return e===t||!(!De(e)||!De(t))}function Be(e,t){if(e.length!==t.length)return!1;for(var a=0;ap)&&(I=(G=G.replace(" ",":")).length),0i&&(i=(t=t.trim()).charCodeAt(0)),i){case 38:return t.replace(b,"$1"+e.trim());case 58:return e.trim()+t.replace(b,"$1"+e.trim());default:if(0<1*a&&0s.charCodeAt(8))break;case 115:o=o.replace(s,"-webkit-"+s)+";"+o;break;case 207:case 102:o=o.replace(s,"-webkit-"+(102i.charCodeAt(0)&&(i=i.trim()),i=[i],01?l-1:0),o=1;o=4;)t=1540483477*(65535&(t=255&e.charCodeAt(l)|(255&e.charCodeAt(++l))<<8|(255&e.charCodeAt(++l))<<16|(255&e.charCodeAt(++l))<<24))+((1540483477*(t>>>16)&65535)<<16),i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),a-=4,++l;switch(a){case 3:i^=(255&e.charCodeAt(l+2))<<16;case 2:i^=(255&e.charCodeAt(l+1))<<8;case 1:i=1540483477*(65535&(i^=255&e.charCodeAt(l)))+((1540483477*(i>>>16)&65535)<<16)}return i=1540483477*(65535&(i^=i>>>13))+((1540483477*(i>>>16)&65535)<<16),((i^=i>>>15)>>>0).toString(36)}(e+t)+t}(a,i),a};function f(e,t){void 0===o.inserted[g]&&(a="",s(e,t),o.inserted[g]=a)}var v=function(){var e=b.apply(this,arguments),t=l+"-"+g;return void 0===o.registered[t]&&(o.registered[t]=d),f("."+t,e),t};function w(e,t){var a="";return t.split(" ").forEach(function(t){void 0!==o.registered[t]?e.push(t):a+=t+" "}),a}function y(e,t){var a=[],i=w(a,e);return a.length<2?e:i+v(a,t)}function x(e){o.inserted[e]=!0}if(We){var _=document.querySelectorAll("[data-emotion-"+l+"]");Array.prototype.forEach.call(_,function(e){r.tags[0].parentNode.insertBefore(e,r.tags[0]),e.getAttribute("data-emotion-"+l).split(" ").forEach(x)})}var k={flush:function(){We&&(r.flush(),r.inject()),o.inserted={},o.registered={}},hydrate:function(e){e.forEach(x)},cx:function(){for(var e=arguments.length,t=new Array(e),a=0;a=0||(l[a]=e[a]);return l}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}function gt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dt(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?gt(e):t}function pt(e){return function(e){if(Array.isArray(e)){for(var t=0,a=new Array(e.length);t-1}function wt(e){return vt(e)?window.pageYOffset:e.scrollTop}function yt(e,t){vt(e)?window.scrollTo(0,t):e.scrollTop=t}function xt(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ht,l=wt(e),n=t-l,o=0;!function t(){var r,s=n*((r=(r=o+=10)/a-1)*r*r+1)+l;yt(e,s),o=p)return{placement:"bottom",maxHeight:t};if(k>=p&&!o)return n&&xt(s,S,M),{placement:"bottom",maxHeight:t};if(!o&&k>=i||o&&x>=i)return n&&xt(s,S,M),{placement:"bottom",maxHeight:o?x-v:k-v};if("auto"===l||o){var T=t,E=o?y:_;return E>=i&&(T=Math.min(E-v-r.controlHeight,t)),{placement:"top",maxHeight:T}}if("bottom"===l)return yt(s,S),{placement:"bottom",maxHeight:t};break;case"top":if(y>=p)return{placement:"top",maxHeight:t};if(_>=p&&!o)return n&&xt(s,C,M),{placement:"top",maxHeight:t};if(!o&&_>=i||o&&y>=i){var D=t;return(!o&&_>=i||o&&y>=i)&&(D=o?y-w:_-w),n&&xt(s,C,M),{placement:"top",maxHeight:D}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(l,'".'))}return u}({maxHeight:l,menuEl:e,minHeight:i,placement:n,shouldScroll:r&&!c,isFixedPosition:c,theme:s});u&&u(g),a.setState(g)}}),lt(gt(gt(a)),"getUpdatedProps",function(){var e=a.props.menuPlacement,t=a.state.placement||kt(e);return ot({},a.props,{placement:t,maxHeight:a.state.maxHeight})}),a}return rt(t,e),it(t,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),t}(w.Component);lt(St,"contextTypes",{getPortalPlacement:j().func});var Ct=function(e){var t=e.theme,a=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*a,"px ").concat(3*a,"px"),textAlign:"center"}},Mt=Ct,Tt=Ct,Et=function(e){var t=e.children,a=e.className,i=e.cx,l=e.getStyles,n=e.innerProps;return y().createElement("div",nt({className:i(Ze(l("noOptionsMessage",e)),{"menu-notice":!0,"menu-notice--no-options":!0},a)},n),t)};Et.defaultProps={children:"No options"};var Dt=function(e){var t=e.children,a=e.className,i=e.cx,l=e.getStyles,n=e.innerProps;return y().createElement("div",nt({className:i(Ze(l("loadingMessage",e)),{"menu-notice":!0,"menu-notice--loading":!0},a)},n),t)};Dt.defaultProps={children:"Loading..."};var Lt=function(e){function t(){var e,a;tt(this,t);for(var i=arguments.length,l=new Array(i),n=0;n0,h=c-g-u,m=!1;h>t&&a.isBottom&&(n&&n(e),a.isBottom=!1),p&&a.isTop&&(r&&r(e),a.isTop=!1),p&&t>h?(l&&!a.isBottom&&l(e),d.scrollTop=c,m=!0,a.isBottom=!0):!p&&-t>u&&(o&&!a.isTop&&o(e),d.scrollTop=0,m=!0,a.isTop=!0),m&&a.cancelScroll(e)}),lt(gt(gt(a)),"onWheel",function(e){a.handleEventDelta(e,e.deltaY)}),lt(gt(gt(a)),"onTouchStart",function(e){a.touchStart=e.changedTouches[0].clientY}),lt(gt(gt(a)),"onTouchMove",function(e){var t=a.touchStart-e.changedTouches[0].clientY;a.handleEventDelta(e,t)}),lt(gt(gt(a)),"getScrollTarget",function(e){a.scrollTarget=e}),a}return rt(t,e),it(t,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(e){e&&(e.scrollHeight<=e.clientHeight||("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1)))}},{key:"stopListening",value:function(e){e.scrollHeight<=e.clientHeight||("function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return y().createElement(Gt,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(w.Component),ea=function(e){function t(){return tt(this,t),dt(this,st(t).apply(this,arguments))}return rt(t,e),it(t,[{key:"render",value:function(){var e=this.props,t=e.isEnabled,a=ct(e,["isEnabled"]);return t?y().createElement(Qt,a):this.props.children}}]),t}(w.Component);lt(ea,"defaultProps",{isEnabled:!0});var ta=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.isSearchable,i=t.isMulti,l=t.label,n=t.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options".concat(n?"":", press Enter to select the currently focused option",", press Escape to exit the menu, press Tab to select the option and exit the menu.");case"input":return"".concat(l||"Select"," is focused ").concat(a?",type to refine list":"",", press Down to open the menu, ").concat(i?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},aa=function(e,t){var a=t.value,i=t.isDisabled;if(a)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(a,", deselected.");case"select-option":return"option ".concat(a,i?" is disabled. Select another option.":", selected.")}},ia=function(e){return!!e.isDisabled},la=function(e){function t(){return tt(this,t),dt(this,st(t).apply(this,arguments))}return rt(t,e),it(t,[{key:"render",value:function(){var e=this.props,t=e.children,a=e.className,i=e.cx,l=e.isMulti,n=e.getStyles,o=e.hasValue;return y().createElement("div",{className:i(Ze(n("valueContainer",this.props)),{"value-container":!0,"value-container--is-multi":l,"value-container--has-value":o},a)},t)}}]),t}(w.Component),na=function(e){var t=e.size,a=ct(e,["size"]);return y().createElement("svg",nt({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:Ze({display:"inline-block",fill:"currentColor",lineHeight:1,stroke:"currentColor",strokeWidth:0})},a))},oa=function(e){return y().createElement(na,nt({size:20},e),y().createElement("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},ra=function(e){return y().createElement(na,nt({size:20},e),y().createElement("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},sa=function(e){var t=e.isFocused,a=e.theme,i=a.spacing.baseUnit,l=a.colors;return{label:"indicatorContainer",color:t?l.neutral60:l.neutral20,display:"flex",padding:2*i,transition:"color 150ms",":hover":{color:t?l.neutral80:l.neutral40}}},ua=sa,ca=sa,ga="react-select-loading-indicator",da=!1,pa=function(e){var t=e.color,a=e.delay,i=e.offset;return y().createElement("span",{className:Ze({animationDuration:"1s",animationDelay:"".concat(a,"ms"),animationIterationCount:"infinite",animationName:ga,animationTimingFunction:"ease-in-out",backgroundColor:t,borderRadius:"1em",display:"inline-block",marginLeft:i?"1em":null,height:"1em",verticalAlign:"top",width:"1em"})})},ha=function(e){var t=e.className,a=e.cx,i=e.getStyles,l=e.innerProps,n=e.isFocused,o=e.isRtl,r=e.theme.colors,s=n?r.neutral80:r.neutral20;return da||($e("@keyframes ",ga,"{0%,80%,100%{opacity:0;}40%{opacity:1;}};"),da=!0),y().createElement("div",nt({},l,{className:a(Ze(i("loadingIndicator",e)),{indicator:!0,"loading-indicator":!0},t)}),y().createElement(pa,{color:s,delay:0,offset:o}),y().createElement(pa,{color:s,delay:160,offset:!0}),y().createElement(pa,{color:s,delay:320,offset:!o}))};ha.defaultProps={size:4};var ma=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}},ba=function(e){var t=e.children,a=e.innerProps;return y().createElement("div",a,t)},fa=ba,va=ba,wa=function(e){function t(){return tt(this,t),dt(this,st(t).apply(this,arguments))}return rt(t,e),it(t,[{key:"render",value:function(){var e=this.props,t=e.children,a=e.innerProps;return y().createElement("div",a,t||y().createElement(oa,{size:14}))}}]),t}(w.Component),ya=function(e){function t(){return tt(this,t),dt(this,st(t).apply(this,arguments))}return rt(t,e),it(t,[{key:"render",value:function(){var e=this.props,t=e.children,a=e.className,i=e.components,l=e.cx,n=e.data,o=e.getStyles,r=e.innerProps,s=e.isDisabled,u=e.removeProps,c=e.selectProps,g=i.Container,d=i.Label,p=i.Remove,h=ot({className:l(Ze(o("multiValue",this.props)),{"multi-value":!0,"multi-value--is-disabled":s},a)},r),m={className:l(Ze(o("multiValueLabel",this.props)),{"multi-value__label":!0},a)},b=ot({className:l(Ze(o("multiValueRemove",this.props)),{"multi-value__remove":!0},a)},u);return y().createElement(g,{data:n,innerProps:h,selectProps:c},y().createElement(d,{data:n,innerProps:m,selectProps:c},t),y().createElement(p,{data:n,innerProps:b,selectProps:c}))}}]),t}(w.Component);lt(ya,"defaultProps",{cropWithEllipsis:!0});var xa={ClearIndicator:function(e){var t=e.children,a=e.className,i=e.cx,l=e.getStyles,n=e.innerProps;return y().createElement("div",nt({},n,{className:i(Ze(l("clearIndicator",e)),{indicator:!0,"clear-indicator":!0},a)}),t||y().createElement(oa,null))},Control:function(e){var t=e.children,a=e.cx,i=e.getStyles,l=e.className,n=e.isDisabled,o=e.isFocused,r=e.innerRef,s=e.innerProps,u=e.menuIsOpen;return y().createElement("div",nt({ref:r,className:a(Ze(i("control",e)),{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":u},l)},s),t)},DropdownIndicator:function(e){var t=e.children,a=e.className,i=e.cx,l=e.getStyles,n=e.innerProps;return y().createElement("div",nt({},n,{className:i(Ze(l("dropdownIndicator",e)),{indicator:!0,"dropdown-indicator":!0},a)}),t||y().createElement(ra,null))},DownChevron:ra,CrossIcon:oa,Group:function(e){var t=e.children,a=e.className,i=e.cx,l=e.getStyles,n=e.Heading,o=e.headingProps,r=e.label,s=e.theme,u=e.selectProps;return y().createElement("div",{className:i(Ze(l("group",e)),{group:!0},a)},y().createElement(n,nt({},o,{selectProps:u,theme:s,getStyles:l,cx:i}),r),y().createElement("div",null,t))},GroupHeading:function(e){var t=e.className,a=e.cx,i=e.getStyles,l=e.theme,n=(e.selectProps,ct(e,["className","cx","getStyles","theme","selectProps"]));return y().createElement("div",nt({className:a(Ze(i("groupHeading",ot({theme:l},n))),{"group-heading":!0},t)},n))},IndicatorsContainer:function(e){var t=e.children,a=e.className,i=e.cx,l=e.getStyles;return y().createElement("div",{className:i(Ze(l("indicatorsContainer",e)),{indicators:!0},a)},t)},IndicatorSeparator:function(e){var t=e.className,a=e.cx,i=e.getStyles,l=e.innerProps;return y().createElement("span",nt({},l,{className:a(Ze(i("indicatorSeparator",e)),{"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,a=e.cx,i=e.getStyles,l=e.innerRef,n=e.isHidden,o=e.isDisabled,r=e.theme,s=(e.selectProps,ct(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return y().createElement("div",{className:Ze(i("input",ot({theme:r},s)))},y().createElement(Xe.A,nt({className:a(null,{input:!0},t),inputRef:l,inputStyle:ma(n),disabled:o},s)))},LoadingIndicator:ha,Menu:function(e){var t=e.children,a=e.className,i=e.cx,l=e.getStyles,n=e.innerRef,o=e.innerProps,r=i(Ze(l("menu",e)),{menu:!0},a);return y().createElement("div",nt({className:r},o,{ref:n}),t)},MenuList:function(e){var t=e.children,a=e.className,i=e.cx,l=e.getStyles,n=e.isMulti,o=e.innerRef;return y().createElement("div",{className:i(Ze(l("menuList",e)),{"menu-list":!0,"menu-list--is-multi":n},a),ref:o},t)},MenuPortal:Lt,LoadingMessage:Dt,NoOptionsMessage:Et,MultiValue:ya,MultiValueContainer:fa,MultiValueLabel:va,MultiValueRemove:wa,Option:function(e){var t=e.children,a=e.className,i=e.cx,l=e.getStyles,n=e.isDisabled,o=e.isFocused,r=e.isSelected,s=e.innerRef,u=e.innerProps;return y().createElement("div",nt({ref:s,className:i(Ze(l("option",e)),{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":r},a)},u),t)},Placeholder:function(e){var t=e.children,a=e.className,i=e.cx,l=e.getStyles,n=e.innerProps;return y().createElement("div",nt({className:i(Ze(l("placeholder",e)),{placeholder:!0},a)},n),t)},SelectContainer:function(e){var t=e.children,a=e.className,i=e.cx,l=e.getStyles,n=e.innerProps,o=e.isDisabled,r=e.isRtl;return y().createElement("div",nt({className:i(Ze(l("container",e)),{"--is-disabled":o,"--is-rtl":r},a)},n),t)},SingleValue:function(e){var t=e.children,a=e.className,i=e.cx,l=e.getStyles,n=e.isDisabled,o=e.innerProps;return y().createElement("div",nt({className:i(Ze(l("singleValue",e)),{"single-value":!0,"single-value--is-disabled":n},a)},o),t)},ValueContainer:la},_a=function(e){return ot({},xa,e.components)},ka={clearIndicator:ca,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,a=e.isFocused,i=e.theme,l=i.colors,n=i.borderRadius,o=i.spacing;return{label:"control",alignItems:"center",backgroundColor:t?l.neutral5:l.neutral0,borderColor:t?l.neutral10:a?l.primary:l.neutral20,borderRadius:n,borderStyle:"solid",borderWidth:1,boxShadow:a?"0 0 0 1px ".concat(l.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:a?l.primary:l.neutral30}}},dropdownIndicator:ua,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,a=e.theme,i=a.spacing.baseUnit,l=a.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?l.neutral10:l.neutral20,marginBottom:2*i,marginTop:2*i,width:1}},input:function(e){var t=e.isDisabled,a=e.theme,i=a.spacing,l=a.colors;return{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,visibility:t?"hidden":"visible",color:l.neutral80}},loadingIndicator:function(e){var t=e.isFocused,a=e.size,i=e.theme,l=i.colors,n=i.spacing.baseUnit;return{label:"loadingIndicator",color:t?l.neutral60:l.neutral20,display:"flex",padding:2*n,transition:"color 150ms",alignSelf:"center",fontSize:a,lineHeight:1,marginRight:a,textAlign:"center",verticalAlign:"middle"}},loadingMessage:Tt,menu:function(e){var t,a=e.placement,i=e.theme,l=i.borderRadius,n=i.spacing,o=i.colors;return lt(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(a),"100%"),lt(t,"backgroundColor",o.neutral0),lt(t,"borderRadius",l),lt(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),lt(t,"marginBottom",n.menuGutter),lt(t,"marginTop",n.menuGutter),lt(t,"position","absolute"),lt(t,"width","100%"),lt(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,a=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:a,paddingTop:a,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,a=e.offset,i=e.position;return{left:t.left,position:i,top:a,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,a=t.spacing,i=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:i/2,display:"flex",margin:a.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,a=t.borderRadius,i=t.colors,l=e.cropWithEllipsis;return{borderRadius:a/2,color:i.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:l?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,a=t.spacing,i=t.borderRadius,l=t.colors;return{alignItems:"center",borderRadius:i/2,backgroundColor:e.isFocused&&l.dangerLight,display:"flex",paddingLeft:a.baseUnit,paddingRight:a.baseUnit,":hover":{backgroundColor:l.dangerLight,color:l.danger}}},noOptionsMessage:Mt,option:function(e){var t=e.isDisabled,a=e.isFocused,i=e.isSelected,l=e.theme,n=l.spacing,o=l.colors;return{label:"option",backgroundColor:i?o.primary:a?o.primary25:"transparent",color:t?o.neutral20:i?o.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*n.baseUnit,"px ").concat(3*n.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(i?o.primary:o.primary50)}}},placeholder:function(e){var t=e.theme,a=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,a=e.theme,i=a.spacing,l=a.colors;return{label:"singleValue",color:t?l.neutral40:l.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2,maxWidth:"calc(100% - ".concat(2*i.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}},Sa={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Ca={backspaceRemovesValue:!0,blurInputOnSelect:_t(),captureMenuScroll:!_t(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var a=ot({ignoreCase:!0,ignoreAccents:!0,stringify:It,trim:!0,matchFrom:"any"},void 0),i=a.ignoreCase,l=a.ignoreAccents,n=a.stringify,o=a.trim,r=a.matchFrom,s=o?Ft(t):t,u=o?Ft(n(e)):n(e);return i&&(s=s.toLowerCase(),u=u.toLowerCase()),l&&(s=Ot(s),u=Ot(u)),"start"===r?u.substr(0,s.length)===s:u.indexOf(s)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:ia,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},Ma=1,Ta=function(e){function t(e){var a;tt(this,t),lt(gt(gt(a=dt(this,st(t).call(this,e)))),"state",{ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]}),lt(gt(gt(a)),"blockOptionHover",!1),lt(gt(gt(a)),"isComposing",!1),lt(gt(gt(a)),"clearFocusValueOnUpdate",!1),lt(gt(gt(a)),"commonProps",void 0),lt(gt(gt(a)),"components",void 0),lt(gt(gt(a)),"hasGroups",!1),lt(gt(gt(a)),"initialTouchX",0),lt(gt(gt(a)),"initialTouchY",0),lt(gt(gt(a)),"inputIsHiddenAfterUpdate",void 0),lt(gt(gt(a)),"instancePrefix",""),lt(gt(gt(a)),"openAfterFocus",!1),lt(gt(gt(a)),"scrollToFocusedOptionOnUpdate",!1),lt(gt(gt(a)),"userIsDragging",void 0),lt(gt(gt(a)),"controlRef",null),lt(gt(gt(a)),"getControlRef",function(e){a.controlRef=e}),lt(gt(gt(a)),"focusedOptionRef",null),lt(gt(gt(a)),"getFocusedOptionRef",function(e){a.focusedOptionRef=e}),lt(gt(gt(a)),"menuListRef",null),lt(gt(gt(a)),"getMenuListRef",function(e){a.menuListRef=e}),lt(gt(gt(a)),"inputRef",null),lt(gt(gt(a)),"getInputRef",function(e){a.inputRef=e}),lt(gt(gt(a)),"cacheComponents",function(e){a.components=_a({components:e})}),lt(gt(gt(a)),"focus",a.focusInput),lt(gt(gt(a)),"blur",a.blurInput),lt(gt(gt(a)),"onChange",function(e,t){var i=a.props;(0,i.onChange)(e,ot({},t,{name:i.name}))}),lt(gt(gt(a)),"setValue",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",i=arguments.length>2?arguments[2]:void 0,l=a.props,n=l.closeMenuOnSelect,o=l.isMulti;a.onInputChange("",{action:"set-value"}),n&&(a.inputIsHiddenAfterUpdate=!o,a.onMenuClose()),a.clearFocusValueOnUpdate=!0,a.onChange(e,{action:t,option:i})}),lt(gt(gt(a)),"selectOption",function(e){var t=a.props,i=t.blurInputOnSelect,l=t.isMulti,n=a.state.selectValue;if(l)if(a.isOptionSelected(e,n)){var o=a.getOptionValue(e);a.setValue(n.filter(function(e){return a.getOptionValue(e)!==o}),"deselect-option",e),a.announceAriaLiveSelection({event:"deselect-option",context:{value:a.getOptionLabel(e)}})}else a.isOptionDisabled(e,n)?a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(e),isDisabled:!0}}):(a.setValue([].concat(pt(n),[e]),"select-option",e),a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(e)}}));else a.isOptionDisabled(e,n)?a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(e),isDisabled:!0}}):(a.setValue(e,"select-option"),a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(e)}}));i&&a.blurInput()}),lt(gt(gt(a)),"removeValue",function(e){var t=a.state.selectValue,i=a.getOptionValue(e);a.onChange(t.filter(function(e){return a.getOptionValue(e)!==i}),{action:"remove-value",removedValue:e}),a.announceAriaLiveSelection({event:"remove-value",context:{value:e?a.getOptionLabel(e):""}}),a.focusInput()}),lt(gt(gt(a)),"clearValue",function(){var e=a.props.isMulti;a.onChange(e?[]:null,{action:"clear"})}),lt(gt(gt(a)),"popValue",function(){var e=a.state.selectValue,t=e[e.length-1];a.announceAriaLiveSelection({event:"pop-value",context:{value:t?a.getOptionLabel(t):""}}),a.onChange(e.slice(0,e.length-1),{action:"pop-value",removedValue:t})}),lt(gt(gt(a)),"getOptionLabel",function(e){return a.props.getOptionLabel(e)}),lt(gt(gt(a)),"getOptionValue",function(e){return a.props.getOptionValue(e)}),lt(gt(gt(a)),"getStyles",function(e,t){var i=ka[e](t);i.boxSizing="border-box";var l=a.props.styles[e];return l?l(i,t):i}),lt(gt(gt(a)),"getElementId",function(e){return"".concat(a.instancePrefix,"-").concat(e)}),lt(gt(gt(a)),"getActiveDescendentId",function(){var e=a.props.menuIsOpen,t=a.state,i=t.menuOptions,l=t.focusedOption;if(l&&e){var n=i.focusable.indexOf(l),o=i.render[n];return o&&o.key}}),lt(gt(gt(a)),"announceAriaLiveSelection",function(e){var t=e.event,i=e.context;a.setState({ariaLiveSelection:aa(t,i)})}),lt(gt(gt(a)),"announceAriaLiveContext",function(e){var t=e.event,i=e.context;a.setState({ariaLiveContext:ta(t,ot({},i,{label:a.props["aria-label"]}))})}),lt(gt(gt(a)),"onMenuMouseDown",function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),a.focusInput())}),lt(gt(gt(a)),"onMenuMouseMove",function(e){a.blockOptionHover=!1}),lt(gt(gt(a)),"onControlMouseDown",function(e){var t=a.props.openMenuOnClick;a.state.isFocused?a.props.menuIsOpen?"INPUT"!==e.target.tagName&&a.onMenuClose():t&&a.openMenu("first"):(t&&(a.openAfterFocus=!0),a.focusInput()),"INPUT"!==e.target.tagName&&e.preventDefault()}),lt(gt(gt(a)),"onDropdownIndicatorMouseDown",function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||a.props.isDisabled)){var t=a.props,i=t.isMulti,l=t.menuIsOpen;a.focusInput(),l?(a.inputIsHiddenAfterUpdate=!i,a.onMenuClose()):a.openMenu("first"),e.preventDefault(),e.stopPropagation()}}),lt(gt(gt(a)),"onClearIndicatorMouseDown",function(e){e&&"mousedown"===e.type&&0!==e.button||(a.clearValue(),e.stopPropagation(),a.openAfterFocus=!1,setTimeout(function(){return a.focusInput()}))}),lt(gt(gt(a)),"onScroll",function(e){"boolean"==typeof a.props.closeMenuOnScroll?e.target instanceof HTMLElement&&vt(e.target)&&a.props.onMenuClose():"function"==typeof a.props.closeMenuOnScroll&&a.props.closeMenuOnScroll(e)&&a.props.onMenuClose()}),lt(gt(gt(a)),"onCompositionStart",function(){a.isComposing=!0}),lt(gt(gt(a)),"onCompositionEnd",function(){a.isComposing=!1}),lt(gt(gt(a)),"onTouchStart",function(e){var t=e.touches.item(0);t&&(a.initialTouchX=t.clientX,a.initialTouchY=t.clientY,a.userIsDragging=!1)}),lt(gt(gt(a)),"onTouchMove",function(e){var t=e.touches.item(0);if(t){var i=Math.abs(t.clientX-a.initialTouchX),l=Math.abs(t.clientY-a.initialTouchY);a.userIsDragging=i>5||l>5}}),lt(gt(gt(a)),"onTouchEnd",function(e){a.userIsDragging||(a.controlRef&&!a.controlRef.contains(e.target)&&a.menuListRef&&!a.menuListRef.contains(e.target)&&a.blurInput(),a.initialTouchX=0,a.initialTouchY=0)}),lt(gt(gt(a)),"onControlTouchEnd",function(e){a.userIsDragging||a.onControlMouseDown(e)}),lt(gt(gt(a)),"onClearIndicatorTouchEnd",function(e){a.userIsDragging||a.onClearIndicatorMouseDown(e)}),lt(gt(gt(a)),"onDropdownIndicatorTouchEnd",function(e){a.userIsDragging||a.onDropdownIndicatorMouseDown(e)}),lt(gt(gt(a)),"handleInputChange",function(e){var t=e.currentTarget.value;a.inputIsHiddenAfterUpdate=!1,a.onInputChange(t,{action:"input-change"}),a.onMenuOpen()}),lt(gt(gt(a)),"onInputFocus",function(e){var t=a.props,i=t.isSearchable,l=t.isMulti;a.props.onFocus&&a.props.onFocus(e),a.inputIsHiddenAfterUpdate=!1,a.announceAriaLiveContext({event:"input",context:{isSearchable:i,isMulti:l}}),a.setState({isFocused:!0}),(a.openAfterFocus||a.props.openMenuOnFocus)&&a.openMenu("first"),a.openAfterFocus=!1}),lt(gt(gt(a)),"onInputBlur",function(e){a.menuListRef&&a.menuListRef.contains(document.activeElement)?a.inputRef.focus():(a.props.onBlur&&a.props.onBlur(e),a.onInputChange("",{action:"input-blur"}),a.onMenuClose(),a.setState({focusedValue:null,isFocused:!1}))}),lt(gt(gt(a)),"onOptionHover",function(e){a.blockOptionHover||a.state.focusedOption===e||a.setState({focusedOption:e})}),lt(gt(gt(a)),"shouldHideSelectedOptions",function(){var e=a.props,t=e.hideSelectedOptions,i=e.isMulti;return void 0===t?i:t}),lt(gt(gt(a)),"onKeyDown",function(e){var t=a.props,i=t.isMulti,l=t.backspaceRemovesValue,n=t.escapeClearsValue,o=t.inputValue,r=t.isClearable,s=t.isDisabled,u=t.menuIsOpen,c=t.onKeyDown,g=t.tabSelectsValue,d=t.openMenuOnFocus,p=a.state,h=p.focusedOption,m=p.focusedValue,b=p.selectValue;if(!(s||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(a.blockOptionHover=!0,e.key){case"ArrowLeft":if(!i||o)return;a.focusValue("previous");break;case"ArrowRight":if(!i||o)return;a.focusValue("next");break;case"Delete":case"Backspace":if(o)return;if(m)a.removeValue(m);else{if(!l)return;i?a.popValue():r&&a.clearValue()}break;case"Tab":if(a.isComposing)return;if(e.shiftKey||!u||!g||!h||d&&a.isOptionSelected(h,b))return;a.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(u){if(!h)return;if(a.isComposing)return;a.selectOption(h);break}return;case"Escape":u?(a.inputIsHiddenAfterUpdate=!1,a.onInputChange("",{action:"menu-close"}),a.onMenuClose()):r&&n&&a.clearValue();break;case" ":if(o)return;if(!u){a.openMenu("first");break}if(!h)return;a.selectOption(h);break;case"ArrowUp":u?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":u?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!u)return;a.focusOption("pageup");break;case"PageDown":if(!u)return;a.focusOption("pagedown");break;case"Home":if(!u)return;a.focusOption("first");break;case"End":if(!u)return;a.focusOption("last");break;default:return}e.preventDefault()}});var i=e.value;a.cacheComponents=He(a.cacheComponents,Pt).bind(gt(gt(a))),a.cacheComponents(e.components),a.instancePrefix="react-select-"+(a.props.instanceId||++Ma);var l=ft(i),n=a.buildMenuOptions(e,l);return a.state.menuOptions=n,a.state.selectValue=l,a}return rt(t,e),it(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props,a=t.options,i=t.value,l=t.inputValue;if(this.cacheComponents(e.components),e.value!==i||e.options!==a||e.inputValue!==l){var n=ft(e.value),o=this.buildMenuOptions(e,n),r=this.getNextFocusedValue(n),s=this.getNextFocusedOption(o.focusable);this.setState({menuOptions:o,selectValue:n,focusedOption:s,focusedValue:r})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t,a,i,l,n,o=this.props,r=o.isDisabled,s=o.menuIsOpen,u=this.state.isFocused;(u&&!r&&e.isDisabled||u&&s&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,a=this.focusedOptionRef,i=t.getBoundingClientRect(),l=a.getBoundingClientRect(),n=a.offsetHeight/3,l.bottom+n>i.bottom?yt(t,Math.min(a.offsetTop+a.clientHeight-t.offsetHeight+n,t.scrollHeight)):l.top-n-1&&(o=r)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.onMenuOpen(),this.setState({focusedValue:null,focusedOption:a.focusable[o]}),this.announceAriaLiveContext({event:"menu"})}},{key:"focusValue",value:function(e){var t=this.props,a=t.isMulti,i=t.isSearchable,l=this.state,n=l.selectValue,o=l.focusedValue;if(a){this.setState({focusedOption:null});var r=n.indexOf(o);o||(r=-1,this.announceAriaLiveContext({event:"value"}));var s=n.length-1,u=-1;if(n.length){switch(e){case"previous":u=0===r?0:-1===r?s:r-1;break;case"next":r>-1&&r0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,a=this.state,i=a.focusedOption,l=a.menuOptions.focusable;if(l.length){var n=0,o=l.indexOf(i);i||(o=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?n=o>0?o-1:l.length-1:"down"===e?n=(o+1)%l.length:"pageup"===e?(n=o-t)<0&&(n=0):"pagedown"===e?(n=o+t)>l.length-1&&(n=l.length-1):"last"===e&&(n=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[n],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:ia(l[n])}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Sa):ot({},Sa,this.props.theme):Sa}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.getStyles,a=this.setValue,i=this.selectOption,l=this.props,n=l.classNamePrefix,o=l.isMulti,r=l.isRtl,s=l.options,u=this.state.selectValue,c=this.hasValue();return{cx:bt.bind(null,n),clearValue:e,getStyles:t,getValue:function(){return u},hasValue:c,isMulti:o,isRtl:r,options:s,selectOption:i,setValue:a,selectProps:l,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,a=t.focusedValue,i=t.selectValue.indexOf(a);if(i>-1){if(e.indexOf(a)>-1)return a;if(i-1?t:e[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,a=e.isMulti;return void 0===t?a:t}},{key:"isOptionDisabled",value:function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var a=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var i=this.getOptionValue(e);return t.some(function(e){return a.getOptionValue(e)===i})}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var a=this.props.inputValue,i=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:a,selectValue:i})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"buildMenuOptions",value:function(e,t){var a=this,i=e.inputValue,l=void 0===i?"":i,n=e.options,o=function(e,i){var n=a.isOptionDisabled(e,t),o=a.isOptionSelected(e,t),r=a.getOptionLabel(e),s=a.getOptionValue(e);if(!(a.shouldHideSelectedOptions()&&o||!a.filterOption({label:r,value:s,data:e},l))){var u=n?void 0:function(){return a.onOptionHover(e)},c=n?void 0:function(){return a.selectOption(e)},g="".concat(a.getElementId("option"),"-").concat(i);return{innerProps:{id:g,onClick:c,onMouseMove:u,onMouseOver:u,tabIndex:-1},data:e,isDisabled:n,isSelected:o,key:g,label:r,type:"option",value:s}}};return n.reduce(function(e,t,i){if(t.options){a.hasGroups||(a.hasGroups=!0);var l=t.options.map(function(t,a){var l=o(t,"".concat(i,"-").concat(a));return l&&e.focusable.push(t),l}).filter(Boolean);if(l.length){var n="".concat(a.getElementId("group"),"-").concat(i);e.render.push({type:"group",key:n,data:t,options:l})}}else{var r=o(t,"".concat(i));r&&(e.render.push(r),e.focusable.push(t))}return e},{render:[],focusable:[]})}},{key:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,a=e.selectValue,i=e.focusedValue,l=e.focusedOption,n=this.props,o=n.options,r=n.menuIsOpen,s=n.inputValue,u=n.screenReaderStatus,c=i?function(e){var t=e.focusedValue,a=e.selectValue;return"value ".concat((0,e.getOptionLabel)(t)," focused, ").concat(a.indexOf(t)+1," of ").concat(a.length,".")}({focusedValue:i,getOptionLabel:this.getOptionLabel,selectValue:a}):"",g=l&&r?function(e){var t=e.focusedOption,a=e.options;return"option ".concat((0,e.getOptionLabel)(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(a.indexOf(t)+1," of ").concat(a.length,".")}({focusedOption:l,getOptionLabel:this.getOptionLabel,options:o}):"",d=function(e){var t=e.inputValue;return"".concat(e.screenReaderMessage).concat(t?" for search term "+t:"",".")}({inputValue:s,screenReaderMessage:u({count:this.countOptions()})});return"".concat(c," ").concat(g," ").concat(d," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,a=e.isSearchable,i=e.inputId,l=e.inputValue,n=e.tabIndex,o=this.components.Input,r=this.state.inputIsHidden,s=i||this.getElementId("input");if(!a)return y().createElement(Vt,{id:s,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ht,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:n,value:""});var u={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},c=this.commonProps,g=c.cx,d=c.theme,p=c.selectProps;return y().createElement(o,nt({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:g,getStyles:this.getStyles,id:s,innerRef:this.getInputRef,isDisabled:t,isHidden:r,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:p,spellCheck:"false",tabIndex:n,theme:d,type:"text",value:l},u))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.components,a=t.MultiValue,i=t.MultiValueContainer,l=t.MultiValueLabel,n=t.MultiValueRemove,o=t.SingleValue,r=t.Placeholder,s=this.commonProps,u=this.props,c=u.controlShouldRenderValue,g=u.isDisabled,d=u.isMulti,p=u.inputValue,h=u.placeholder,m=this.state,b=m.selectValue,f=m.focusedValue,v=m.isFocused;if(!this.hasValue()||!c)return p?null:y().createElement(r,nt({},s,{key:"placeholder",isDisabled:g,isFocused:v}),h);if(d)return b.map(function(t){var o=t===f;return y().createElement(a,nt({},s,{components:{Container:i,Label:l,Remove:n},isFocused:o,isDisabled:g,key:e.getOptionValue(t),removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))});if(p)return null;var w=b[0];return y().createElement(o,nt({},s,{data:w,isDisabled:g}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,t=this.commonProps,a=this.props,i=a.isDisabled,l=a.isLoading,n=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||l)return null;var o={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return y().createElement(e,nt({},t,{innerProps:o,isFocused:n}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,t=this.commonProps,a=this.props,i=a.isDisabled,l=a.isLoading,n=this.state.isFocused;return e&&l?y().createElement(e,nt({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:n})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,t=e.DropdownIndicator,a=e.IndicatorSeparator;if(!t||!a)return null;var i=this.commonProps,l=this.props.isDisabled,n=this.state.isFocused;return y().createElement(a,nt({},i,{isDisabled:l,isFocused:n}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,a=this.props.isDisabled,i=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return y().createElement(e,nt({},t,{innerProps:l,isDisabled:a,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.components,a=t.Group,i=t.GroupHeading,l=t.Menu,n=t.MenuList,o=t.MenuPortal,r=t.LoadingMessage,s=t.NoOptionsMessage,u=t.Option,c=this.commonProps,g=this.state,d=g.focusedOption,p=g.menuOptions,h=this.props,m=h.captureMenuScroll,b=h.inputValue,f=h.isLoading,v=h.loadingMessage,w=h.minMenuHeight,x=h.maxMenuHeight,_=h.menuIsOpen,k=h.menuPlacement,S=h.menuPosition,C=h.menuPortalTarget,M=h.menuShouldBlockScroll,T=h.menuShouldScrollIntoView,E=h.noOptionsMessage,D=h.onMenuScrollToTop,L=h.onMenuScrollToBottom;if(!_)return null;var B,H=function(t){var a=d===t.data;return t.innerRef=a?e.getFocusedOptionRef:void 0,y().createElement(u,nt({},c,t,{isFocused:a}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())B=p.render.map(function(t){if("group"===t.type){t.type;var l=ct(t,["type"]),n="".concat(t.key,"-heading");return y().createElement(a,nt({},c,l,{Heading:i,headingProps:{id:n},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return H(e)}))}if("option"===t.type)return H(t)});else if(f){var A=v({inputValue:b});if(null===A)return null;B=y().createElement(r,c,A)}else{var R=E({inputValue:b});if(null===R)return null;B=y().createElement(s,c,R)}var P={minMenuHeight:w,maxMenuHeight:x,menuPlacement:k,menuPosition:S,menuShouldScrollIntoView:T},z=y().createElement(St,nt({},c,P),function(t){var a=t.ref,i=t.placerProps,o=i.placement,r=i.maxHeight;return y().createElement(l,nt({},c,P,{innerRef:a,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:f,placement:o}),y().createElement(ea,{isEnabled:m,onTopArrive:D,onBottomArrive:L},y().createElement(Xt,{isEnabled:M},y().createElement(n,nt({},c,{innerRef:e.getMenuListRef,isLoading:f,maxHeight:r}),B))))});return C||"fixed"===S?y().createElement(o,nt({},c,{appendTo:C,controlElement:this.controlRef,menuPlacement:k,menuPosition:S}),z):z}},{key:"renderFormField",value:function(){var e=this,t=this.props,a=t.delimiter,i=t.isDisabled,l=t.isMulti,n=t.name,o=this.state.selectValue;if(n&&!i){if(l){if(a){var r=o.map(function(t){return e.getOptionValue(t)}).join(a);return y().createElement("input",{name:n,type:"hidden",value:r})}var s=o.length>0?o.map(function(t,a){return y().createElement("input",{key:"i-".concat(a),name:n,type:"hidden",value:e.getOptionValue(t)})}):y().createElement("input",{name:n,type:"hidden"});return y().createElement("div",null,s)}var u=o[0]?this.getOptionValue(o[0]):"";return y().createElement("input",{name:n,type:"hidden",value:u})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?y().createElement(Nt,{"aria-live":"assertive"},y().createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),y().createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,t=e.Control,a=e.IndicatorsContainer,i=e.SelectContainer,l=e.ValueContainer,n=this.props,o=n.className,r=n.id,s=n.isDisabled,u=n.menuIsOpen,c=this.state.isFocused,g=this.commonProps=this.getCommonProps();return y().createElement(i,nt({},g,{className:o,innerProps:{id:r,onKeyDown:this.onKeyDown},isDisabled:s,isFocused:c}),this.renderLiveRegion(),y().createElement(t,nt({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:s,isFocused:c,menuIsOpen:u}),y().createElement(l,nt({},g,{isDisabled:s}),this.renderPlaceholderOrValue(),this.renderInput()),y().createElement(a,nt({},g,{isDisabled:s}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(w.Component);lt(Ta,"defaultProps",Ca);var Ea={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},Da=function(e){var t,a;return a=t=function(t){function a(){var e,t;tt(this,a);for(var i=arguments.length,l=new Array(i),n=0;n1?a-1:0),l=1;l1?arguments[1]:void 0,t=String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toLowerCase(),a=String(e.value).toLowerCase(),i=String(e.label).toLowerCase();return a===t||i===t}),Aa=ot({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,a){return!(!e||t.some(function(t){return Ha(e,t)})||a.some(function(t){return Ha(e,t)}))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),Ra=function(e){var t,a;return a=t=function(t){function a(e){var t;tt(this,a),lt(gt(gt(t=dt(this,st(a).call(this,e)))),"select",void 0),lt(gt(gt(t)),"onChange",function(e,a){var i=t.props,l=i.getNewOptionData,n=i.inputValue,o=i.isMulti,r=i.onChange,s=i.onCreateOption,u=i.value;if("select-option"!==a.action)return r(e,a);var c=t.state.newOption,g=Array.isArray(e)?e:[e];if(g[g.length-1]!==c)r(e,a);else if(s)s(n);else{var d=l(n,n);r(o?[].concat(pt(ft(u)),[d]):d,{action:"create-option"})}});var i=e.options||[];return t.state={newOption:void 0,options:i},t}return rt(a,t),it(a,[{key:"componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,a=e.createOptionPosition,i=e.formatCreateLabel,l=e.getNewOptionData,n=e.inputValue,o=e.isLoading,r=e.isValidNewOption,s=e.value,u=e.options||[],c=this.state.newOption;c=r(n,ft(s),u)?l(n,i(n)):void 0,this.setState({newOption:c,options:!t&&o||!c?u:"first"===a?[c].concat(pt(u)):[].concat(pt(u),[c])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var t=this,a=nt({},this.props),i=this.state.options;return y().createElement(e,nt({},a,{ref:function(e){t.select=e},options:i,onChange:this.onChange}))}}]),a}(w.Component),lt(t,"defaultProps",Aa),a},Pa=(Da(Ra(Ta)),Ba(Da(Ra(Ta))),function(e){var t=e.component,a=e.duration,i=void 0===a?1:a,l=e.in,n=(e.onExited,ct(e,["component","duration","in","onExited"])),o={entering:{opacity:0},entered:{opacity:1,transition:"opacity ".concat(i,"ms")},exiting:{opacity:0},exited:{opacity:0}};return y().createElement(Qe.Transition,{mountOnEnter:!0,unmountOnExit:!0,in:l,timeout:i},function(e){var a={style:ot({},o[e])};return y().createElement(t,nt({innerProps:a},n))})}),za=function(e){function t(){var e,a;tt(this,t);for(var i=arguments.length,l=new Array(i),n=0;n0&&void 0!==arguments[0]?arguments[0]:{}}),a=t.Input,i=t.MultiValue,l=t.Placeholder,n=t.SingleValue,o=t.ValueContainer,r=ct(t,["Input","MultiValue","Placeholder","SingleValue","ValueContainer"]);return ot({Input:(e=a,function(t){t.in,t.onExited,t.appear,t.enter,t.exit;var a=ct(t,["in","onExited","appear","enter","exit"]);return y().createElement(e,a)}),MultiValue:Oa(i),Placeholder:Fa(l),SingleValue:Ia(n),ValueContainer:Na(o)},r)},Ga=Va();Ga.Input,Ga.MultiValue,Ga.Placeholder,Ga.SingleValue,Ga.ValueContainer,He(Va,Pt);const Wa=Da(Ta),{uag_select_font_globally:Ua,uag_load_select_font_globally:ja}=srfm_spec_blocks_info,qa=function(e){const t=[{value:"Default",label:(0,M.__)("Default","sureforms"),weight:["Default","100","200","300","400","500","600","700","800","900"],google:!1},{value:"Arial",label:"Arial",weight:["Default","100","200","300","400","500","600","700","800","900"],google:!1},{value:"Helvetica",label:"Helvetica",weight:["Default","100","200","300","400","500","600","700","800","900"],google:!1},{value:"Times New Roman",label:"Times New Roman",weight:["Default","100","200","300","400","500","600","700","800","900"],google:!1},{value:"Georgia",label:"Georgia",weight:["Default","100","200","300","400","500","600","700","800","900"],google:!1}];let a="";const i=srfm_spec_blocks_info.spectra_custom_fonts;Object.keys(Ee).map(i=>{t.push({value:i,label:i,weight:Ee[i].weight}),i===e.fontFamily.value&&(a=Ee[i].weight)}),Object.keys(i).map(l=>{t.push({value:l,label:l,weight:i[l].weight}),l===e.fontFamily.value&&(a=i[l].weight)}),""===a&&(a=t[0].weight);const l=[];a.forEach(function(e){l.push({value:"Default"===e?"":e,label:e})});const n="enabled"===ja&&0!==Ua?Ua:t;let o,r;n&&n.map(t=>{e.fontFamily.weight||t.value!==e.fontFamily.value||(o={...e.fontFamily,weight:t.weight,label:t.value})});const s="em"===e.fontSizeType.value?.1:1,u="em"===e.fontSizeTypeMobile?.value?.1:1,c="em"===e.fontSizeTypeTablet?.value?.1:1;return!0!==e.disableFontSize&&(r=(0,w.createElement)(Te,{type:e.fontSizeType,typeLabel:e.fontSizeType.label,typeMobile:e.fontSizeTypeMobile?e.fontSizeTypeMobile:e.fontSizeType,typeLabelMobile:e.fontSizeTypeMobile?.label?e.fontSizeTypeMobile.label:e.fontSizeType.label,typeTablet:e.fontSizeTypeTablet?e.fontSizeTypeTablet:e.fontSizeType,typeLabelTablet:e.fontSizeTypeTablet?.label?e.fontSizeTypeTablet.label:e.fontSizeType.label,sizeMobile:e.fontSizeMobile,sizeMobileLabel:e.fontSizeMobile.label,sizeTablet:e.fontSizeTablet,sizeTabletLabel:e.fontSizeTablet.label,size:e.fontSize,sizeLabel:e.fontSize.label,min:0,sizeMobileText:e.fontSizeLabel?e.fontSizeLabel:(0,M.__)("Font Size","sureforms"),sizeTabletText:e.fontSizeLabel?e.fontSizeLabel:(0,M.__)("Font Size","sureforms"),sizeText:e.fontSizeLabel?e.fontSizeLabel:(0,M.__)("Font Size","sureforms"),step:s,stepMobile:u,stepTablet:c,...e})),(0,w.createElement)(w.Fragment,null,(0,w.createElement)("div",{className:"components-base-control uag-font-family-searchable-select__wrapper"},(0,w.createElement)("label",{className:"components-input-control__label",htmlFor:"font-family"},(0,M.__)("Font Family","sureforms")),(0,w.createElement)(Wa,{styles:{container:e=>({...e,width:"100%"}),control:e=>({...e,border:"1px solid #E6E7E9",boxShadow:"none",height:"30px",minHeight:"30px",borderRadius:"3px"}),placeholder:e=>({...e,color:"#50575E"}),menu:e=>({...e,color:"#50575E"}),singleValue:e=>({...e,color:"#50575E",top:"50%",transform:"translateY(-50%);"}),indicatorSeparator:e=>({...e,display:"none"}),dropdownIndicator:e=>({...e,color:"#50575E"}),valueContainer:e=>({...e,height:"30px",padding:"0px 8px"})},placeholder:(0,M.__)("Default","sureforms"),onChange:t=>{const a=t.value,{loadGoogleFonts:i,fontFamily:l}=e;e.setAttributes({[l.label]:a}),((t,a)=>{let i;i=""===a||"object"==typeof Ee[a],e.setAttributes({[t.label]:i})})(i,a)},options:n,value:o,defaultValue:o,isSearchable:!0,className:"uag-font-family-searchable-select",classNamePrefix:"uag-font-family-select"})),r,(0,w.createElement)(de,{label:(0,M.__)("Weight","sureforms"),data:{value:e.fontWeight.value,label:e.fontWeight.label},setAttributes:e.setAttributes,options:l}),e.fontStyle&&(0,w.createElement)(de,{label:(0,M.__)("Style","sureforms"),data:{value:e.fontStyle.value,label:e.fontStyle.label},setAttributes:e.setAttributes,options:[{value:"normal",label:(0,M.__)("Default","sureforms")},{value:"italic",label:(0,M.__)("Italic","sureforms")},{value:"oblique",label:(0,M.__)("Oblique","sureforms")}]}))};var $a=a(2854),Za={};$a.A&&$a.A.locals&&(Za.locals=$a.A.locals);var Ka,Ya=0,Ja={attributes:{id:"uagb-editor-styles"}};Ja.setAttributes=g(),Ja.insert=u().bind(null,"head"),Ja.domAPI=r(),Ja.insertStyleElement=p(),Za.use=function(e){return Ja.options=e||{},Ya++||(Ka=n()($a.A,Ja)),Za},Za.unuse=function(){Ya>0&&! --Ya&&(Ka(),Ka=null)};const Xa=Za,Qa=e=>{const[t,a]=(0,x.useState)(null),l=(0,x.useRef)(null),[n,o]=(0,x.useState)(!1),r=(0,O.applyFilters)("uagb.blocksAttributes",z);let s,u,c,g,d,p,h,m;(0,x.useLayoutEffect)(()=>(Xa.use(),()=>{Xa.unuse()}),[]),(0,x.useLayoutEffect)(()=>{window.addEventListener("click",function(t){const a=document.querySelector(`.active.popup-${e?.attributes?.block_id} .spectra-control-popup__options--action-button`),l=document.querySelector(`.active.popup-${e?.attributes?.block_id} .spectra-control-popup`);if(a&&!a?.contains(t.target)&&l&&!l?.contains(t.target)&&!t.target?.parentElement?.parentElement?.classList?.contains("uag-font-family-select__menu")&&!t.target?.classList?.contains("uag-responsive-common-button")&&!t.target?.closest(".uag-responsive-common-button")&&!t.target?.parentElement?.closest(".uagb-reset")){o(!1);const e=L()?.name,t=i("uagSettingState"),a={...t,[e]:{...t?.[e],selectedSetting:!1}},l=i();l&&l.setItem("uagSettingState",JSON.stringify(a))}})},[]);const b=n?"active":"",{disableFontFamily:f,disableFontSize:v,disableLineHeight:y,disableTransform:_,disableDecoration:k,disableAdvancedOptions:S=!1,help:C=!1}=e;!0!==f&&(u=(0,w.createElement)(qa,{...e}));const T="em"===e.lineHeightType?.value?.1:1,E="em"===e.letterSpacingType?.value?.1:1,D=[];f||D.push(e.fontFamily.label,e.fontWeight.label,e.fontStyle.label),v||(D.push(e.fontSizeType.label,e.fontSize.label,e.fontSizeMobile.label,e.fontSizeTablet.label),e.fontSizeTypeMobile&&e.fontSizeTypeTablet&&D.push(e.fontSizeTypeMobile.label,e.fontSizeTypeTablet.label)),y||D.push(e.lineHeightType.label,e.lineHeight.label,e.lineHeightMobile.label,e.lineHeightTablet.label),_||D.push(e.transform.label),k||D.push(e.decoration.label),e.letterSpacing&&D.push(e.letterSpacing.label,e.letterSpacingTablet.label,e.letterSpacingMobile.label,e.letterSpacingType.label);const{getSelectedBlock:L}=(0,V.select)("core/block-editor"),B=L()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(l))},[B]);const H=(()=>{const e=(()=>{const e=L()?.name.split("/").pop();let t=!1;return void 0!==r[e]&&D.forEach(a=>{if(a){const i=void 0!==r[e][a]?.default?r[e][a]?.default:"";t={...t,[a]:i}}}),t})(),t=L()?.attributes;let a=!1;return D.forEach(i=>{t?.[i]&&t?.[i]!==e?.[i]&&(a=!0)}),a})();!0!==y&&(s=(0,w.createElement)(Te,{type:e.lineHeightType,typeLabel:e.lineHeightType.label,sizeMobile:e.lineHeightMobile,sizeMobileLabel:e.lineHeightMobile.label,sizeTablet:e.lineHeightTablet,sizeTabletLabel:e.lineHeightTablet.label,size:e.lineHeight,sizeLabel:e.lineHeight.label,min:0,sizeMobileText:(0,M.__)("Line Height","sureforms"),sizeTabletText:(0,M.__)("Line Height","sureforms"),sizeText:(0,M.__)("Line Height","sureforms"),step:T,...e})),e.letterSpacing&&(m=(0,w.createElement)(Te,{type:e.letterSpacingType,typeLabel:e.letterSpacingType.label,sizeMobile:e.letterSpacingMobile,sizeMobileLabel:e.letterSpacingMobile.label,sizeTablet:e.letterSpacingTablet,sizeTabletLabel:e.letterSpacingTablet.label,size:e.letterSpacing,sizeLabel:e.letterSpacing.label,min:-50,sizeMobileText:(0,M.__)("Letter Spacing","sureforms"),sizeTabletText:(0,M.__)("Letter Spacing","sureforms"),sizeText:(0,M.__)("Letter Spacing","sureforms"),step:E,...e})),!_&&e.transform&&(p=(0,w.createElement)(de,{label:(0,M.__)("Transform","sureforms"),data:{value:e.transform.value,label:e.transform.label},setAttributes:e.setAttributes,options:[{value:"",label:(0,M.__)("Default","sureforms")},{value:"normal",label:(0,M.__)("Normal","sureforms")},{value:"capitalize",label:(0,M.__)("Capitalize","sureforms")},{value:"uppercase",label:(0,M.__)("Uppercase","sureforms")},{value:"lowercase",label:(0,M.__)("Lowercase","sureforms")}]})),!k&&e.decoration&&(h=(0,w.createElement)("div",{className:"uag-typography-decoration"},(0,w.createElement)(de,{label:(0,M.__)("Decoration","sureforms"),data:{value:e.decoration.value,label:e.decoration.label},setAttributes:e.setAttributes,options:[{value:"",label:(0,M.__)("Default","sureforms")},{value:"none",label:(0,M.__)("None","sureforms")},{value:"underline",label:(0,M.__)("Underline","sureforms")},{value:"overline",label:(0,M.__)("Overline","sureforms")},{value:"line-through",label:(0,M.__)("Line Through","sureforms")}]}))),!0!==f&&!0!==v?c=(0,w.createElement)(te.Button,{className:"uag-typography-button spectra-control-popup__options--action-button","aria-pressed":n,onClick:()=>{const e=document.querySelectorAll(".spectra-control-popup__options");if(e&&00&&! --ii&&(ai(),ai=null)};const ni=ti;var oi=a(6942),ri=a.n(oi);const si="general",ui="style",ci="advance",gi=e=>{(0,x.useLayoutEffect)(()=>(ni.use(),()=>{ni.unuse()}),[]);const t=i("uagSettingState"),{defaultTab:a,children:l,tabs:n}=e,[o,r]=(0,x.useState)(a||n[0]),s=(0,x.useRef)();let u;(0,x.useEffect)(()=>{u=s.current.closest(".components-panel")});const c=()=>{const e=document.querySelector(".uagb-inspector-tabs-container");let t=document.querySelector(".components-panel__body.uagb-dynamic-content-wrap"),a=document.querySelector(".uagb-tab-content-general"),i=document.querySelector(".uagb-tab-content-style"),l=document.querySelector(".uagb-tab-content-advance");if(e){const n=e.parentElement;n&&(t=t||"",a=a||"",i=i||"",l=l||"",n.prepend(t,e,a,i,l))}};(0,x.useEffect)(()=>{c();const{getSelectedBlock:e}=(0,V.select)("core/block-editor"),a=e()?.name;return t&&t[a]&&o!==t[a]?.selectedTab?(r(t[a]?.selectedTab||"general"),u&&u.setAttribute("data-uagb-tab",t[a]?.selectedTab||"general")):u&&u.setAttribute("data-uagb-tab","general"),()=>{if(u){const e=u.querySelector(".uagb-inspector-tabs-container");e&&null!==e||u.removeAttribute("data-uagb-tab")}}},[]);const g=e=>{c(),r(e),(0,O.doAction)("uag_inspector_change_tab",e),u&&u.setAttribute("data-uagb-tab",e);const{getSelectedBlock:a}=(0,V.select)("core/block-editor"),l=a()?.name,n={...t,[l]:{selectedTab:e}},o=i();o&&o.setItem("uagSettingState",JSON.stringify(n))};return(0,w.createElement)(w.Fragment,null,(0,w.createElement)("div",{className:"uagb-inspector-tabs-container"},(0,w.createElement)("div",{ref:s,className:ri()("uagb-inspector-tabs","uagb-inspector-tabs-count-"+n.length,o)},n.indexOf(si)>-1&&(0,w.createElement)("div",{className:ri()({"uagb-active":o===si}),onClick:()=>g(si)},(0,w.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",width:"16",height:"15"},(0,w.createElement)("path",{fillRule:"nonzero",d:"M14.346 0H1.654C1.017 0 .5.517.5 1.154v12.692C.5 14.483 1.017 15 1.654 15h12.692c.637 0 1.154-.517 1.154-1.154V1.154C15.5.517 14.983 0 14.346 0zm-5.77 13.846v-5.77h5.77v5.77h-5.77z"})),(0,w.createElement)("h5",null,(0,M.__)("General","sureforms"))),n.indexOf(ui)>-1&&(0,w.createElement)("div",{className:ri()({"uagb-active":o===ui}),onClick:()=>g(ui)},(0,w.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",width:"18",height:"21"},(0,w.createElement)("g",{fillRule:"nonzero"},(0,w.createElement)("path",{d:"M15.12 12.091a.814.814 0 00-.68-.378.814.814 0 00-.68.378c-.531.863-2.252 3.807-2.252 5.09 0 1.598 1.317 2.901 2.932 2.901s2.933-1.303 2.933-2.902c0-1.303-1.722-4.226-2.253-5.089zm-1.041 3.828c-.043.063-.744 1.198-.213 1.976a.52.52 0 01.064.358.409.409 0 01-.191.294.608.608 0 01-.255.084.476.476 0 01-.383-.21c-.871-1.283.149-2.902.192-2.986a.517.517 0 01.297-.21.534.534 0 01.361.063c.192.126.255.42.128.63zM13.314 10.388l1.36-.147c.446-.042.807-.337.935-.736.127-.4.042-.862-.276-1.157L7.258.294c-.255-.252-.68-.252-.957 0a.68.68 0 000 .947l.34.336-5.1 5.047C.82 7.339.5 8.348.67 9.379c.128.652.489 1.24.956 1.703l3.082 3.05c.467.462 1.062.82 1.72.946a3.134 3.134 0 002.785-.863l3.612-3.575a.74.74 0 01.489-.252zM7.576 2.502l5.759 5.7H2.073c.085-.232.212-.463.403-.653l5.1-5.047z"}))),(0,w.createElement)("h5",null,(0,M.__)("Style","sureforms"))),n.indexOf(ci)>-1&&(0,w.createElement)("div",{className:ri()({"uagb-active":o===ci}),onClick:()=>g(ci)},(0,w.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",width:"17",height:"16"},(0,w.createElement)("path",{fillRule:"nonzero",d:"M15.666 6.325c-.277-.05-.572-.082-.85-.115a6.385 6.385 0 00-.571-1.389c.18-.229.343-.457.523-.686a.994.994 0 00-.098-1.291l-.997-.997a.994.994 0 00-1.291-.098c-.23.163-.458.343-.687.523a6.954 6.954 0 00-1.39-.589c-.032-.277-.08-.572-.113-.85A.987.987 0 009.21 0H7.805a1 1 0 00-.98.834c-.05.277-.082.572-.115.85-.474.13-.947.326-1.389.571-.229-.18-.457-.343-.686-.523a.994.994 0 00-1.291.098l-.997.997a.994.994 0 00-.098 1.291c.163.23.343.458.523.687a6.954 6.954 0 00-.589 1.39c-.277.032-.572.08-.85.113A.987.987 0 00.5 7.29v1.406a1 1 0 00.834.98c.277.05.572.082.85.115.13.474.326.947.571 1.389-.18.229-.343.457-.523.686a.994.994 0 00.098 1.291l.997.997a.994.994 0 001.291.098c.23-.163.458-.343.687-.523.441.245.899.442 1.39.589.032.294.08.572.113.85.066.473.49.833.981.833h1.406a1 1 0 00.98-.834c.05-.277.082-.572.115-.85.474-.13.947-.326 1.389-.571.229.18.457.343.686.523a.994.994 0 001.291-.098l.997-.997a.994.994 0 00.098-1.291 19.095 19.095 0 00-.523-.687c.245-.441.442-.899.589-1.39.277-.032.572-.08.85-.113a.987.987 0 00.833-.981V7.305a1 1 0 00-.834-.98zM8.492 11.57a3.571 3.571 0 01-3.563-3.563 3.571 3.571 0 013.563-3.563 3.571 3.571 0 013.563 3.563 3.571 3.571 0 01-3.563 3.563z"})),(0,w.createElement)("h5",null,(0,M.__)("Advanced","sureforms"))))),Array.isArray(l)&&x.Children.map(l,(e,t)=>{if(!e)return e;if(!e.key)throw new Error("props.key not found in , you must use `key` prop");return(0,x.cloneElement)(e,{index:t,isActive:e.key===o})}))};gi.defaultProps={defaultTab:"general",tabs:["general","style","advance"]};const di=gi,pi=e=>{const{children:t,isActive:a,type:l}=e,n=(0,x.useRef)(null),{getSelectedBlock:o}=(0,V.select)("core/block-editor"),r=o()?.name;(0,x.useEffect)(()=>{const e=i("uagSettingState");if(e){const t=e[r]?.selectedTab,a=e[r]?.selectedPanel,i=e[r]?.selectedSetting,o=e[r]?.selectedInnerTab;if(t&&l===t){let e=!1;e=a?n.current.querySelector(`.${a}`):n.current.querySelector(".is-opened"),e&&(e.classList.contains("is-opened")||e.querySelector(".components-button").click(),o&&setTimeout(function(){const t=e.querySelector(o);t&&!t.classList.contains("active-tab")&&t.click()},100),i&&setTimeout(function(){const t=e.querySelector(i);t&&!t.classList.contains("active")&&t.querySelector(".components-button").click()},100))}}},[]);const s=r.split("/").pop(),u=(0,O.applyFilters)(`spectra.${s}.tab_${l}.before`,"",r),c=(0,O.applyFilters)(`spectra.${s}.tab_${l}`,"",r);return(0,w.createElement)("div",{style:{display:a?"block":"none"},className:`uagb-inspector-tab uagb-tab-content-${l}`,ref:n},u,Array.isArray(t)?t.map(e=>e):t,(0,O.applyFilters)(`uag_${l}_tab_content`,"",e.parentProps),c)},hi={key:"general",type:"general"},mi={key:"style",type:"style"},bi={key:"advance",type:"advance"},fi={};fi.inherit=(0,w.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",fillRule:"evenodd",width:"24",height:"24",strokeLinejoin:"round",strokeMiterlimit:"1.5",clipRule:"evenodd",viewBox:"0 0 24 24"},(0,w.createElement)("path",{fill:"none",stroke:"currentColor",strokeWidth:"1.5",d:"M12.383 26.976l2.01-.941 1.884.538 1.623 1.666-.692.236.281 1.539 1.552 1.35-1.552 2.153",transform:"matrix(.68343 0 0 .68343 -5.086 -1.48)"}),(0,w.createElement)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",d:"M12.016 24.355l.998-.952M33.573 26.085l-1.636-1.343-1.348-1.248M26.35 27.774l.332.37 1.349.756-.711 2.768 1.274 1.203.989-.449 3.933-6.226",transform:"matrix(.68343 0 0 .68343 -5.086 -1.48)"}),(0,w.createElement)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",d:"M29.519 9.539c5.298 1.881 9.099 6.977 9.099 12.961 0 7.582-6.102 13.737-13.618 13.737S11.382 30.082 11.382 22.5",transform:"matrix(.68343 0 0 .68343 -5.086 -1.48)"}),(0,w.createElement)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",d:"M20.684 3.211v9.433h4.179l-6.429 6.429-6.429-6.429h4.179V8.021",transform:"matrix(.68343 0 0 .68343 -5.086 -1.48) translate(-6.686 -1.321) scale(1.55693)"}),(0,w.createElement)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",d:"M32.994 21.014l.2.205 3.364.329 1.532 2.432M32.931 12.002l-3.219.944-1.054 1.996-.408-.003",transform:"matrix(.68343 0 0 .68343 -5.086 -1.48)"})),fi.globe=(0,w.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},(0,w.createElement)("circle",{cx:"12",cy:"12",r:"10"}),(0,w.createElement)("path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"}),(0,w.createElement)("path",{d:"M4 12h16"}),(0,w.createElement)("path",{d:"M4 8h16"}),(0,w.createElement)("path",{d:"M4 16h16"}));const vi=fi,wi=e=>{if(e&&e.includes("var")){const t=window.getComputedStyle(document.body);if((e=e.slice(4).slice(0,-1)).includes(","))return e.split(",").pop().trim();e=t.getPropertyValue(e).trim()}return e};var yi=a(3578),xi={};yi.A&&yi.A.locals&&(xi.locals=yi.A.locals);var _i,ki=0,Si={attributes:{id:"uagb-editor-styles"}};Si.setAttributes=g(),Si.insert=u().bind(null,"head"),Si.domAPI=r(),Si.insertStyleElement=p(),xi.use=function(e){return Si.options=e||{},ki++||(_i=n()(yi.A,Si)),xi},xi.unuse=function(){ki>0&&! --ki&&(_i(),_i=null)};const Ci=xi,Mi=e=>{const{colorValue:t,className:a,isGlobal:i}=e;let l="component-color-indicator uagb-advanced-color-indicate";return l=a?`${l} ${a}`:l,(0,w.createElement)("span",{className:l,style:{background:t}},i?vi.globe:"")},Ti=e=>{const[t,a]=(0,x.useState)(null),i=(0,x.useRef)(null);(0,x.useLayoutEffect)(()=>(Ci.use(),()=>{Ci.unuse()}),[]);const{getSelectedBlock:l}=(0,V.select)("core/block-editor"),n=l()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(i))},[n]);const{colors:o}=(0,V.useSelect)(e=>({colors:e("core/block-editor").getSettings().colors})),{alpha:r,colorValue:s,opacityValue:u,backgroundVideoOpacity:c,onOpacityChange:g,data:d,setAttributes:p,onColorChange:h,label:m,help:b}=e,[f,v]=(0,x.useState)({alpha:!1!==r,colors:[],classSat:"first",currentColor:s,inherit:!1,currentOpacity:void 0!==u?u:1,isPalette:!(!s||!s.startsWith("palette")),refresh:!1}),[y,_]=(0,x.useState)({isVisible:!1});(0,x.useEffect)(()=>{k(s,"")},[s]);const k=(e,t)=>{let a,i=c?.value;t?a=e:e?.rgb&&e?.rgb?.a&&1!==e?.rgb?.a?(g&&(i=e?.rgb?.a),a="rgba("+e?.rgb?.r+","+e?.rgb?.g+","+e?.rgb?.b+","+e?.rgb?.a+")"):a=e?.hex?e?.hex:e,v({currentColor:a,currentOpacity:i,isPalette:!!t}),!0===t&&v({refresh:!f?.refresh}),d&&p&&p({[d?.label]:a}),h&&h(a),g&&g(i)},S=()=>{!0===y.isVisible&&_({isVisible:!1})},C=f.currentColor?f.currentColor:s,T=(e=>{const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e),a=t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null;return a&&Math.round((299*a.r+587*a.g+114*a.b)/1e3)>125?"black":"white"})(wi(C)),E=C&&C.includes("var"),D=E?`uag-global-indicator uag-global-icon-${T}`:"",L=ce(e.label),B=(0,O.applyFilters)(`spectra.${n}.${t}.${L}.before`,"",n),H=(0,O.applyFilters)(`spectra.${n}.${t}.${L}`,"",n);return(0,w.createElement)("div",{ref:i,className:"components-base-control"},B,(0,w.createElement)("div",{className:"uagb-color-popover-container new-uagb-advanced-colors"},(0,w.createElement)("div",{className:"uagb-advanced-color-settings-container"},m&&(0,w.createElement)("span",{className:"uagb-beside-color-label uag-control-label"},m),(0,w.createElement)(ke,{onReset:e=>{v({...f,currentColor:e[d?.label]})},attributeNames:[d?.label],setAttributes:p}),(0,w.createElement)("div",{className:"uagb-beside-color-click"},y.isVisible&&(0,w.createElement)(te.Popover,{position:"top left",className:"uagb-popover-color new-uagb-advanced-colors-pop",onClose:S},f.refresh&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(te.ColorPicker,{color:wi(C),onChangeComplete:e=>k(e,"")})),!f.refresh&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(te.ColorPicker,{color:wi(C),onChangeComplete:e=>k(e,"")})),o&&(0,w.createElement)(te.ColorPalette,{color:C,colors:o,onChange:e=>k(e,!0),clearable:!1,disableCustomColors:!0}),(0,w.createElement)("button",{type:"button",onClick:()=>{k("",!0)},className:"uagb-clear-btn-inside-picker components-button components-circular-option-picker__clear is-secondary is-small"},(0,M.__)("Clear","sureforms"))),y.isVisible&&(0,w.createElement)(te.Tooltip,{text:(0,M.__)("Select Color","sureforms")},(0,w.createElement)(te.Button,{className:"uagb-color-icon-indicate uagb-has-alpha",onClick:S},(0,w.createElement)(Mi,{isGlobal:E,className:D,colorValue:C}),""===C&&f.inherit&&(0,w.createElement)("span",{className:"color-indicator-icon"},vi.inherit),s&&s.startsWith("palette")&&(0,w.createElement)("span",{className:"color-indicator-icon"},(0,w.createElement)(te.Dashicon,{icon:"admin-site"})))),!y.isVisible&&(0,w.createElement)(te.Tooltip,{text:(0,M.__)("Select Color","sureforms")},(0,w.createElement)(te.Button,{className:"uagb-color-icon-indicate uagb-has-alpha",onClick:()=>{_({isVisible:!0})}},(0,w.createElement)(Mi,{isGlobal:E,className:D,colorValue:C}),""===C&&f.inherit&&(0,w.createElement)("span",{className:"color-indicator-icon"},vi.inherit),s&&s.startsWith("palette")&&(0,w.createElement)("span",{className:"color-indicator-icon"},(0,w.createElement)(te.Dashicon,{icon:"admin-site"})))))),b&&(0,w.createElement)("p",{className:"components-base-control__help"},b)),H)};var Ei=a(4180),Di={};Ei.A&&Ei.A.locals&&(Di.locals=Ei.A.locals);var Li,Bi=0,Hi={attributes:{id:"uagb-editor-styles"}};Hi.setAttributes=g(),Hi.insert=u().bind(null,"head"),Hi.domAPI=r(),Hi.insertStyleElement=p(),Di.use=function(e){return Hi.options=e||{},Bi++||(Li=n()(Ei.A,Hi)),Di},Di.unuse=function(){Bi>0&&! --Bi&&(Li(),Li=null)};const Ai=Di,Ri=e=>{const[t,a]=(0,x.useState)(null),i=(0,x.useRef)(null);(0,x.useLayoutEffect)(()=>(Ai.use(),()=>{Ai.unuse()}),[]);const{getSelectedBlock:l}=(0,V.select)("core/block-editor"),n=l()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(i))},[n]);const{data:o,label:r,options:s,showIcons:u,responsive:c,onChange:g,colorVariant:d="primary",layoutVariant:p="full",help:h=!1}=e,m=!(!e.setAttributes||"function"!=typeof e.setAttributes)&&e.setAttributes,b=l()?.name.split("/").pop(),f=(0,O.applyFilters)("uagb.blocksAttributes",z),[v,y]=(0,x.useState)(!0),[_,k]=(0,x.useState)(!0),[S,C]=(0,x.useState)(!0),T=Q(),E=u?"uag-multibutton-icons":"";if(!s)return(0,M.__)("Please add a option props to MultiButtonsControl","sureforms");if(c){const e={};return e.Desktop=(0,w.createElement)(te.ButtonGroup,{className:"uagb-multi-button-button-group","aria-label":r},s.map(e=>(0,w.createElement)(te.Button,{key:`option-${e.value}`,className:"uagb-multi-button",isLarge:!0,isSecondary:o.desktop.value!==e.value||!v,isPrimary:o.desktop.value===e.value&&v,"aria-pressed":o.desktop.value===e.value,onClick:()=>{if(y(!0),e.value===o.desktop.value&&v)return y(!1),void(m&&m({[o.desktop.label]:f[b][o.desktop.label].default}));m&&m({[o.desktop.label]:e.value})},"aria-label":e.tooltip,label:e.tooltip,showTooltip:!!e.tooltip},u?e.icon:e.label))),e.Tablet=(0,w.createElement)(te.ButtonGroup,{className:"uagb-multi-button-button-group","aria-label":r},s.map(e=>(0,w.createElement)(te.Button,{key:`option-${e.value}`,className:"uagb-multi-button",isLarge:!0,isSecondary:o.tablet.value!==e.value||!_,isPrimary:o.tablet.value===e.value&&_,"aria-pressed":o.tablet.value===e.value,onClick:()=>{if(k(!0),e.value===o.tablet.value&&_)return k(!1),void(m&&m({[o.tablet.label]:f[b][o.tablet.label].default}));m&&m({[o.tablet.label]:e.value})},"aria-label":e.tooltip,label:e.tooltip,showTooltip:!!e.tooltip},u?e.icon:e.label))),e.Mobile=(0,w.createElement)(te.ButtonGroup,{className:"uagb-multi-button-button-group","aria-label":r},s.map(e=>(0,w.createElement)(te.Button,{key:`option-${e.value}`,className:"uagb-multi-button",isLarge:!0,isSecondary:o.mobile.value!==e.value||!S,isPrimary:o.mobile.value===e.value&&S,"aria-pressed":o.mobile.value===e.value,onClick:()=>{if(C(!0),e.value===o.mobile.value&&S)return C(!1),void(m&&m({[o.mobile.label]:f[b][o.mobile.label].default}));m&&m({[o.mobile.label]:e.value})},"aria-label":e.tooltip,label:e.tooltip,showTooltip:!!e.tooltip},u?e.icon:e.label))),(0,w.createElement)("div",{className:`components-base-control uagb-multi-buttons-control ${E} spectra-multi-buttons__color-scheme--${d} spectra-multi-buttons__layout--${p}`},(0,w.createElement)("div",{className:"uagb-control__header uagb-size-type-field-tabs"},(0,w.createElement)(he,{label:r,responsive:c})),e[T]?e[T]:e.Desktop,(0,w.createElement)(pe,{text:h}))}const D=ce(r),L=(0,O.applyFilters)(`spectra.${b}.${t}.${D}.before`,"",b),B=(0,O.applyFilters)(`spectra.${b}.${t}.${D}`,"",b),H=(0,O.applyFilters)(`spectra.${b}.${t}.${D}.options`,s,b);return(0,w.createElement)("div",{ref:i,className:"components-base-control"},L,(0,w.createElement)("div",{className:` uagb-multi-buttons-control ${E} spectra-multi-buttons__color-scheme--${d} spectra-multi-buttons__layout--${p}`},(0,w.createElement)("div",{className:"uagb-multi-buttons-control__label uag-control-label"},r),(0,w.createElement)(te.ButtonGroup,{className:"uagb-multi-button-button-group","aria-label":r},H.map(e=>(0,w.createElement)(te.Button,{key:`option-${e.value}`,className:"uagb-multi-button",isLarge:!0,isSecondary:o.value!==e.value||!v,isPrimary:o.value===e.value&&v,"aria-pressed":o.value===e.value,onClick:()=>(e=>{if(y(!0),g&&g(e),e===o.value&&v)return y(!1),void(m&&m({[o.label]:f[b][o.label].default}));m&&m({[o.label]:e})})(e.value),"aria-label":e.tooltip,label:e.tooltip,showTooltip:!!e.tooltip},u?e.icon:e.label))),(0,w.createElement)(pe,{text:h})),B)},Pi=window.wp.blockEditor,zi=function(e,t=!1){let a;if(e=function(e){return(e=(e=(e=(e=e.replace("far ","")).replace("fas ","")).replace("fab ","")).replace("fa-","")).replace("fa ","")}(e),0!==srfm_spec_blocks_info.font_awesome_5_polyfill.length&&(a=srfm_spec_blocks_info.uagb_svg_icons[e],a||(a=srfm_spec_blocks_info.uagb_svg_icons[srfm_spec_blocks_info.font_awesome_5_polyfill?.[e]])),!a)return null;const i=a.svg?.brands?a.svg.brands:a.svg.solid,l=`0 0 ${i.width} ${i.height}`,n=i.path;let o=null;switch(e){case"align-center":o={fillRule:"evenodd",clipRule:"evenodd",d:"M4 2H14V0H4V2ZM0 7H18V5H0V7ZM4 12H14V10H4V12Z"};break;case"align-left":o={fillRule:"evenodd",clipRule:"evenodd",d:"M10 2H0V0H10V2ZM18 7H0V5H18V7ZM10 12H0V10H10V12Z"};break;case"align-right":o={fillRule:"evenodd",clipRule:"evenodd",d:"M8 2H18V0H8V2ZM0 7H18V5H0V7ZM8 12H18V10H8V12Z"};break;case"align-justify":o={d:"M0 0H18V2H0V0ZM0 5.00001H18V7.00001H0V5.00001ZM0 10H18V12H0V10Z"}}return o?(0,w.createElement)("svg",{width:"18",height:"12",viewBox:"0 0 18 12",xmlns:"http://www.w3.org/2000/svg"},(0,w.createElement)("path",{...o})):t&&"not_set"!==t?(0,w.createElement)("svg",{width:"20",height:"20",xmlns:"https://www.w3.org/2000/svg",viewBox:l},(0,w.createElement)("path",{d:n})):(0,w.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",viewBox:l},(0,w.createElement)("path",{d:n}))};var Oi=a(3942),Fi={};Oi.A&&Oi.A.locals&&(Fi.locals=Oi.A.locals);var Ii,Ni=0,Vi={attributes:{id:"uagb-editor-styles"}};Vi.setAttributes=g(),Vi.insert=u().bind(null,"head"),Vi.domAPI=r(),Vi.insertStyleElement=p(),Fi.use=function(e){return Vi.options=e||{},Ni++||(Ii=n()(Oi.A,Vi)),Fi},Fi.unuse=function(){Ni>0&&! --Ni&&(Ii(),Ii=null)};const Gi=Fi,Wi={disabledTopSpace:j().bool};function Ui({disabledTopSpace:e}){const[t,a]=(0,x.useState)(null),i=(0,x.useRef)(null);(0,x.useLayoutEffect)(()=>(Gi.use(),()=>{Gi.unuse()}),[]);const{getSelectedBlock:l}=(0,V.select)("core/block-editor"),n=l()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(i))},[n]);const o="separator",r=(0,O.applyFilters)(`spectra.${n}.${t}.${o}.before`,"",n),s=(0,O.applyFilters)(`spectra.${n}.${t}.${o}`,"",n);return(0,w.createElement)("div",{ref:i},r,(0,w.createElement)("div",{className:"spectra-separator "+(e?"spectra-separator--removed-top-space":"")}),s)}Ui.propTypes=Wi,Ui.defaultProps={disabledTopSpace:!1};var ji=a(9380),qi={};ji.A&&ji.A.locals&&(qi.locals=ji.A.locals);var $i,Zi=0,Ki={attributes:{id:"uagb-editor-styles"}};Ki.setAttributes=g(),Ki.insert=u().bind(null,"head"),Ki.domAPI=r(),Ki.insertStyleElement=p(),qi.use=function(e){return Ki.options=e||{},Zi++||($i=n()(ji.A,Ki)),qi},qi.unuse=function(){Zi>0&&! --Zi&&($i(),$i=null)};const Yi=qi,Ji=e=>{const[t,a]=(0,x.useState)(null),i=(0,x.useRef)(null);(0,x.useLayoutEffect)(()=>(Yi.use(),()=>{Yi.unuse()}),[]);const l=(0,V.useSelect)(e=>e("core/block-editor").getSelectedBlock(),[]),n=l?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(i))},[n]);const o=e.enableDynamicContent&&e.name?(0,O.applyFilters)("uagb.registerTextExtender","",l?.name,e.name,e.dynamicContentType):null,r=()=>{if(!e.enableDynamicContent||!e.name)return!1;const t=l?.attributes?.dynamicContent;return!(!t||!0!==t?.[e.name]?.enable)},s=t=>{e.name&&e?.setAttributes?e.setAttributes({[e.name]:t}):e?.setAttributes&&e?.setAttributes({[e?.data?.label]:t}),e?.onChange&&e?.onChange(t)},u=t=>{e?.onChange&&e?.onChange(t[e?.data?.label])},c=ce(e.label),g=(0,O.applyFilters)(`spectra.${n}.${t}.${c}.before`,"",n),d=(0,O.applyFilters)(`spectra.${n}.${t}.${c}`,"",n);return(0,w.createElement)("div",{ref:i,className:"components-base-control"},g,(0,w.createElement)("div",{className:ri()("components-base-control uagb-text-control uagb-size-type-field-tabs",r()?" uagb-text-control--open-dynamic-content":"",e.className)},"inline"!==e?.variant&&e?.showHeaderControls&&(0,w.createElement)(()=>(0,w.createElement)("div",{className:"uagb-control__header"},(0,w.createElement)(he,{label:e?.label}),(0,w.createElement)("div",{className:"uagb-number-control__actions uagb-control__actions"},(0,w.createElement)(ke,{onReset:u,attributeNames:[e?.data?.label],setAttributes:e?.setAttributes}))),null),(0,w.createElement)("div",{className:ri()("uagb-text-control__controls","uagb-text-control__controls-"+e?.variant)},!r()&&(0,w.createElement)(w.Fragment,null,"textarea"!==e?.variant&&(0,w.createElement)(te.TextControl,{label:("inline"===e?.variant||"inline"!==e?.variant&&!e?.showHeaderControls)&&e?.label,type:e?.type,value:e?.value,onChange:s,autoComplete:e?.autoComplete,readOnly:r(),placeholder:e?.placeholder}),"textarea"===e?.variant&&(0,w.createElement)(te.TextareaControl,{label:!e?.showHeaderControls&&e?.label,value:e?.value,onChange:s,autoComplete:e?.autoComplete,readOnly:r()})),r()&&"inline"===e?.variant&&(0,w.createElement)("div",{className:"components-base-control"},(0,w.createElement)("div",{className:"components-base-control__field"},(0,w.createElement)("label",{className:"components-base-control__label"},e.label))),o),(0,w.createElement)(pe,{text:e.help}),r()&&(0,w.createElement)(Ui,null)),d)};Ji.defaultProps={label:"",type:"text",className:"",allowReset:!0,resetFallbackValue:"",placeholder:null,variant:"full-width",autoComplete:"off",showHeaderControls:!0,dynamicContentType:"url",enableDynamicContent:!1,help:!1};const Xi=Ji,Qi=e=>{const[t,a]=(0,x.useState)(null),i=(0,x.useRef)(null),l=Q(),{getSelectedBlock:n}=(0,V.select)("core/block-editor"),o=n()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(i))},[o]);const r={},s=xe(e.data.desktop.unit?.value,e,!0),u=xe(e.data.tablet.unit?.value,e,!0),c=xe(e.data.mobile.unit?.value,e,!0),g=_e(e.data.desktop.unit?.value,e,!0),d=_e(e.data.tablet.unit?.value,e,!0),p=_e(e.data.mobile.unit?.value,e,!0);r.Desktop=(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Me,{...e,label:e.label,value:isNaN(e.data.desktop.value)?"":e.data.desktop.value,data:{value:e.data.desktop.value,label:e.data.desktop.label},onChange:!!e?.onChange&&(t=>{e?.onChange&&e.onChange(t)}),min:g,max:s,unit:e.data.desktop.unit||e.unit,responsive:!0,units:e.units})),r.Tablet=(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Me,{...e,label:e.label,value:isNaN(e.data.tablet.value)?"":e.data.tablet.value,data:{value:e.data.tablet.value,label:e.data.tablet.label},onChange:!!e?.onChange&&(t=>{e?.onChange&&e.onChange(t)}),min:d,max:u,unit:e.data.tablet.unit||e.unit,responsive:!0,units:e.units})),r.Mobile=(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Me,{...e,label:e.label,value:isNaN(e.data.mobile.value)?"":e.data.mobile.value,data:{value:e.data.mobile.value,label:e.data.mobile.label},onChange:!!e?.onChange&&(t=>{e?.onChange&&e.onChange(t)}),min:p,max:c,unit:e.data.mobile.unit||e.unit,responsive:!0,units:e.units}));const h=ce(e.label),m=(0,O.applyFilters)(`spectra.${o}.${t}.${h}.before`,"",o),b=(0,O.applyFilters)(`spectra.${o}.${t}.${h}`,"",o);return(0,w.createElement)("div",{ref:i,className:"components-base-control"},m,(0,w.createElement)("div",{className:"uagb-responsive-range"},(0,w.createElement)("div",{className:"uagb-responsive-control-inner"},r[l]?r[l]:r.Desktop)),b)};var el=a(3307),tl={};el.A&&el.A.locals&&(tl.locals=el.A.locals);var al,il=0,ll={attributes:{id:"uagb-editor-styles"}};ll.setAttributes=g(),ll.insert=u().bind(null,"head"),ll.domAPI=r(),ll.insertStyleElement=p(),tl.use=function(e){return ll.options=e||{},il++||(al=n()(el.A,ll)),tl},tl.unuse=function(){il>0&&! --il&&(al(),al=null)};const nl=tl;function ol(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rl(e){return rl="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},rl(e)}function sl(e){var t=function(e){if("object"!=rl(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var a=t.call(e,"string");if("object"!=rl(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rl(t)?t:t+""}function ul(e,t){for(var a=0;a div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',i=t.head||t.getElementsByTagName("head")[0],l=t.createElement("style");l.id="detectElementResize",l.type="text/css",null!=e&&l.setAttribute("nonce",e),l.styleSheet?l.styleSheet.cssText=a:l.appendChild(t.createTextNode(a)),i.appendChild(l)}}(n),t.__resizeLast__={},t.__resizeListeners__=[],(t.__resizeTriggers__=n.createElement("div")).className="resize-triggers";var u=n.createElement("div");u.className="expand-trigger",u.appendChild(n.createElement("div"));var g=n.createElement("div");g.className="contract-trigger",t.__resizeTriggers__.appendChild(u),t.__resizeTriggers__.appendChild(g),t.appendChild(t.__resizeTriggers__),o(t),t.addEventListener("scroll",r,!0),c&&(t.__resizeTriggers__.__animationListener__=function(e){e.animationName==m&&o(t)},t.__resizeTriggers__.addEventListener(c,t.__resizeTriggers__.__animationListener__))}t.__resizeListeners__.push(l)}},removeResizeListener:function(e,t){if(i)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",r,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(c,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}function kl(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function Sl(e){for(var t=1;t0&&void 0!==arguments[0])||arguments[0],t={};return function(a){var i=a.callback,l=a.indices,n=Object.keys(l),o=!e||n.every(function(e){var t=l[e];return Array.isArray(t)?t.length>0:t>=0}),r=n.length!==Object.keys(t).length||n.some(function(e){var a=t[e],i=l[e];return Array.isArray(i)?a.join(",")!==i.join(","):a!==i});t=l,o&&r&&i(l)}}const Pl=!("undefined"==typeof window||!window.document||!window.document.createElement);var zl;function Ol(e){if((!zl&&0!==zl||e)&&Pl){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),zl=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return zl}function Fl(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function Il(e){for(var t=1;t=0){var c=a.getScrollPositionForCell({align:l,cellIndex:n,height:i,scrollLeft:s,scrollTop:u,width:o});c.scrollLeft===s&&c.scrollTop===u||e._setScrollPosition(c)}}),ml(e,"_onScroll",function(t){if(t.target===e._scrollingContainer){e._enablePointerEventsAfterDelay();var a=e.props,i=a.cellLayoutManager,l=a.height,n=a.isScrollingChange,o=a.width,r=e._scrollbarSize,s=i.getTotalSize(),u=s.height,c=s.width,g=Math.max(0,Math.min(c-o+r,t.target.scrollLeft)),d=Math.max(0,Math.min(u-l+r,t.target.scrollTop));if(e.state.scrollLeft!==g||e.state.scrollTop!==d){var p=t.cancelable?"observed":Gl;e.state.isScrolling||n(!0),e.setState({isScrolling:!0,scrollLeft:g,scrollPositionChangeReason:p,scrollTop:d})}e._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:d,totalWidth:c,totalHeight:u})}}),e._scrollbarSize=Ol(),void 0===e._scrollbarSize?(e._scrollbarSizeMeasured=!1,e._scrollbarSize=0):e._scrollbarSizeMeasured=!0,e}return hl(t,e),cl(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,t=e.cellLayoutManager,a=e.scrollLeft,i=e.scrollToCell,l=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=Ol(),this._scrollbarSizeMeasured=!0,this.setState({})),i>=0?this._updateScrollPositionForScrollToCell():(a>=0||l>=0)&&this._setScrollPosition({scrollLeft:a,scrollTop:l}),this._invokeOnSectionRenderedHelper();var n=t.getTotalSize(),o=n.height,r=n.width;this._invokeOnScrollMemoizer({scrollLeft:a||0,scrollTop:l||0,totalHeight:o,totalWidth:r})}},{key:"componentDidUpdate",value:function(e,t){var a=this.props,i=a.height,l=a.scrollToAlignment,n=a.scrollToCell,o=a.width,r=this.state,s=r.scrollLeft,u=r.scrollPositionChangeReason,c=r.scrollTop;u===Gl&&(s>=0&&s!==t.scrollLeft&&s!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=s),c>=0&&c!==t.scrollTop&&c!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=c)),i===e.height&&l===e.scrollToAlignment&&n===e.scrollToCell&&o===e.width||this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoHeight,a=e.cellCount,i=e.cellLayoutManager,l=e.className,n=e.height,o=e.horizontalOverscanSize,r=e.id,s=e.noContentRenderer,u=e.style,c=e.verticalOverscanSize,g=e.width,d=this.state,p=d.isScrolling,h=d.scrollLeft,m=d.scrollTop;(this._lastRenderedCellCount!==a||this._lastRenderedCellLayoutManager!==i||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=a,this._lastRenderedCellLayoutManager=i,this._calculateSizeAndPositionDataOnNextUpdate=!1,i.calculateSizeAndPositionData());var b=i.getTotalSize(),f=b.height,v=b.width,y=Math.max(0,h-o),x=Math.max(0,m-c),_=Math.min(v,h+g+o),k=Math.min(f,m+n+c),S=n>0&&g>0?i.cellRenderers({height:k-x,isScrolling:p,width:_-y,x:y,y:x}):[],C={boxSizing:"border-box",direction:"ltr",height:t?"auto":n,position:"relative",WebkitOverflowScrolling:"touch",width:g,willChange:"transform"},M=f>n?this._scrollbarSize:0,T=v>g?this._scrollbarSize:0;return C.overflowX=v+M<=g?"hidden":"auto",C.overflowY=f+T<=n?"hidden":"auto",w.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:Al("ReactVirtualized__Collection",l),id:r,onScroll:this._onScroll,role:"grid",style:Il(Il({},C),u),tabIndex:0},a>0&&w.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:f,maxHeight:f,maxWidth:v,overflow:"hidden",pointerEvents:p?"none":"",width:v}},S),0===a&&s())}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){(0,e.props.isScrollingChange)(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})},150)}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,a=e.scrollLeft,i=e.scrollTop,l=e.totalHeight,n=e.totalWidth;this._onScrollMemoizer({callback:function(e){var a=e.scrollLeft,i=e.scrollTop,o=t.props,r=o.height;(0,o.onScroll)({clientHeight:r,clientWidth:o.width,scrollHeight:l,scrollLeft:a,scrollTop:i,scrollWidth:n})},indices:{scrollLeft:a,scrollTop:i}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,a=e.scrollTop,i={scrollPositionChangeReason:Gl};t>=0&&(i.scrollLeft=t),a>=0&&(i.scrollTop=a),(t>=0&&t!==this.state.scrollLeft||a>=0&&a!==this.state.scrollTop)&&this.setState(i)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 0!==e.cellCount||0===t.scrollLeft&&0===t.scrollTop?e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop?e.scrollTop:t.scrollTop,scrollPositionChangeReason:Gl}:null:{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:Gl}}}])}(w.PureComponent);ml(Wl,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0}),Wl.propTypes={},(0,bl.polyfill)(Wl);const Ul=Wl;var jl=function(){return cl(function e(t){var a=t.height,i=t.width,l=t.x,n=t.y;ol(this,e),this.height=a,this.width=i,this.x=l,this.y=n,this._indexMap={},this._indices=[]},[{key:"addCellIndex",value:function(e){var t=e.index;this._indexMap[t]||(this._indexMap[t]=!0,this._indices.push(t))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}])}(),ql=function(){return cl(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;ol(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}},[{key:"getCellIndices",value:function(e){var t=e.height,a=e.width,i=e.x,l=e.y,n={};return this.getSections({height:t,width:a,x:i,y:l}).forEach(function(e){return e.getCellIndices().forEach(function(e){n[e]=e})}),Object.keys(n).map(function(e){return n[e]})}},{key:"getCellMetadata",value:function(e){var t=e.index;return this._cellMetadata[t]}},{key:"getSections",value:function(e){for(var t=e.height,a=e.width,i=e.x,l=e.y,n=Math.floor(i/this._sectionSize),o=Math.floor((i+a-1)/this._sectionSize),r=Math.floor(l/this._sectionSize),s=Math.floor((l+t-1)/this._sectionSize),u=[],c=n;c<=o;c++)for(var g=r;g<=s;g++){var d="".concat(c,".").concat(g);this._sections[d]||(this._sections[d]=new jl({height:this._sectionSize,width:this._sectionSize,x:c*this._sectionSize,y:g*this._sectionSize})),u.push(this._sections[d])}return u}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var e=this;return Object.keys(this._sections).map(function(t){return e._sections[t].toString()})}},{key:"registerCell",value:function(e){var t=e.cellMetadatum,a=e.index;this._cellMetadata[a]=t,this.getSections(t).forEach(function(e){return e.addCellIndex({index:a})})}}])}();function $l(e){var t=e.align,a=void 0===t?"auto":t,i=e.cellOffset,l=e.cellSize,n=e.containerSize,o=e.currentOffset,r=i,s=r-n+l;switch(a){case"start":return r;case"end":return s;case"center":return r-(n-l)/2;default:return Math.max(s,Math.min(r,o))}}function Zl(e,t,a){return t=dl(t),gl(e,Kl()?Reflect.construct(t,a||[],dl(e).constructor):t.apply(e,a))}function Kl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kl=function(){return!!e})()}var Yl=function(e){function t(e,a){var i;return ol(this,t),(i=Zl(this,t,[e,a]))._cellMetadata=[],i._lastRenderedCellIndices=[],i._cellCache=[],i._isScrollingChange=i._isScrollingChange.bind(i),i._setCollectionViewRef=i._setCollectionViewRef.bind(i),i}return hl(t,e),cl(t,[{key:"forceUpdate",value:function(){void 0!==this._collectionView&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function(){var e=Bl({},(function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(this.props),this.props));return w.createElement(Ul,Bl({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},e))}},{key:"calculateSizeAndPositionData",value:function(){var e=this.props,t=function(e){for(var t=e.cellCount,a=e.cellSizeAndPositionGetter,i=[],l=new ql(e.sectionSize),n=0,o=0,r=0;r=0&&a=0&&s===r&&u())}function en(e,t){if(null==e)return{};var a,i,l=function(e,t){if(null==e)return{};var a={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;a[i]=e[i]}return a}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(i=0;i=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),a=t.offset+t.size,i=this._lastMeasuredIndex+1;i<=e;i++){var l=this._cellSizeGetter({index:i});if(void 0===l||isNaN(l))throw Error("Invalid size returned for cell ".concat(i," of value ").concat(l));null===l?(this._cellSizeAndPositionData[i]={offset:a,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[i]={offset:a,size:l},a+=l,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,a=void 0===t?"auto":t,i=e.containerSize,l=e.currentOffset,n=e.targetIndex;if(i<=0)return 0;var o,r=this.getSizeAndPositionOfCell(n),s=r.offset,u=s-i+r.size;switch(a){case"start":o=s;break;case"end":o=u;break;case"center":o=s-(i-r.size)/2;break;default:o=Math.max(u,Math.min(s,l))}var c=this.getTotalSize();return Math.max(0,Math.min(c-i,o))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,a=e.offset;if(0===this.getTotalSize())return{};var i=a+t,l=this._findNearestCell(a),n=this.getSizeAndPositionOfCell(l);a=n.offset+n.size;for(var o=l;aa&&(e=i-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var a=1;e=e?this._binarySearch(a,0,e):this._exponentialSearch(a,e)}}])}(),ln=["maxScrollSize"],nn=function(){return cl(function e(t){var a=t.maxScrollSize,i=void 0===a?"undefined"!=typeof window&&window.chrome?16777100:15e5:a,l=en(t,ln);ol(this,e),ml(this,"_cellSizeAndPositionManager",void 0),ml(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new an(l),this._maxScrollSize=i},[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,a=e.offset,i=this._cellSizeAndPositionManager.getTotalSize(),l=this.getTotalSize(),n=this._getOffsetPercentage({containerSize:t,offset:a,totalSize:l});return Math.round(n*(l-i))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,a=void 0===t?"auto":t,i=e.containerSize,l=e.currentOffset,n=e.targetIndex;l=this._safeOffsetToOffset({containerSize:i,offset:l});var o=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:a,containerSize:i,currentOffset:l,targetIndex:n});return this._offsetToSafeOffset({containerSize:i,offset:o})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,a=e.offset;return a=this._safeOffsetToOffset({containerSize:t,offset:a}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:a})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,a=e.offset,i=e.totalSize;return i<=t?0:a/(i-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,a=e.offset,i=this._cellSizeAndPositionManager.getTotalSize(),l=this.getTotalSize();if(i===l)return a;var n=this._getOffsetPercentage({containerSize:t,offset:a,totalSize:i});return Math.round(n*(l-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,a=e.offset,i=this._cellSizeAndPositionManager.getTotalSize(),l=this.getTotalSize();if(i===l)return a;var n=this._getOffsetPercentage({containerSize:t,offset:a,totalSize:l});return Math.round(n*(i-t))}}])}();function on(e){var t=e.cellSize,a=e.cellSizeAndPositionManager,i=e.previousCellsCount,l=e.previousCellSize,n=e.previousScrollToAlignment,o=e.previousScrollToIndex,r=e.previousSize,s=e.scrollOffset,u=e.scrollToAlignment,c=e.scrollToIndex,g=e.size,d=e.sizeJustIncreasedFromZero,p=e.updateScrollIndexCallback,h=a.getCellCount(),m=c>=0&&c0&&(ga.getTotalSize()-g&&p(h-1)}var rn=(tn="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||tn.webkitRequestAnimationFrame||tn.mozRequestAnimationFrame||tn.oRequestAnimationFrame||tn.msRequestAnimationFrame||function(e){return tn.setTimeout(e,1e3/60)},sn=tn.cancelAnimationFrame||tn.webkitCancelAnimationFrame||tn.mozCancelAnimationFrame||tn.oCancelAnimationFrame||tn.msCancelAnimationFrame||function(e){tn.clearTimeout(e)},un=rn,cn=sn,gn=function(e){return cn(e.id)},dn=function(e,t){var a;Promise.resolve().then(function(){a=Date.now()});var i=function(){Date.now()-a>=t?e.call():l.id=un(i)},l={id:un(i)};return l};function pn(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function hn(e){for(var t=1;t0&&(a._initialScrollTop=a._getCalculatedScrollTop(e,a.state)),e.scrollToColumn>0&&(a._initialScrollLeft=a._getCalculatedScrollLeft(e,a.state)),a}return hl(t,e),cl(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,a=void 0===t?this.props.scrollToAlignment:t,i=e.columnIndex,l=void 0===i?this.props.scrollToColumn:i,n=e.rowIndex,o=void 0===n?this.props.scrollToRow:n,r=hn(hn({},this.props),{},{scrollToAlignment:a,scrollToColumn:l,scrollToRow:o});return{scrollLeft:this._getCalculatedScrollLeft(r),scrollTop:this._getCalculatedScrollTop(r)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,a=void 0===t?0:t,i=e.scrollTop,l=void 0===i?0:i;if(!(l<0)){this._debounceScrollEnded();var n=this.props,o=n.autoHeight,r=n.autoWidth,s=n.height,u=n.width,c=this.state.instanceProps,g=c.scrollbarSize,d=c.rowSizeAndPositionManager.getTotalSize(),p=c.columnSizeAndPositionManager.getTotalSize(),h=Math.min(Math.max(0,p-u+g),a),m=Math.min(Math.max(0,d-s+g),l);if(this.state.scrollLeft!==h||this.state.scrollTop!==m){var b={isScrolling:!0,scrollDirectionHorizontal:h!==this.state.scrollLeft?h>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:m!==this.state.scrollTop?m>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:"observed"};o||(b.scrollTop=m),r||(b.scrollLeft=h),b.needToResetStyleCache=!1,this.setState(b)}this._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:m,totalColumnsWidth:p,totalRowsHeight:d})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,a=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,a):a}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,a=e.rowCount,i=this.state.instanceProps;i.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),i.rowSizeAndPositionManager.getSizeAndPositionOfCell(a-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,a=void 0===t?0:t,i=e.rowIndex,l=void 0===i?0:i,n=this.props,o=n.scrollToColumn,r=n.scrollToRow,s=this.state.instanceProps;s.columnSizeAndPositionManager.resetCell(a),s.rowSizeAndPositionManager.resetCell(l),this._recomputeScrollLeftFlag=o>=0&&(1===this.state.scrollDirectionHorizontal?a<=o:a>=o),this._recomputeScrollTopFlag=r>=0&&(1===this.state.scrollDirectionVertical?l<=r:l>=r),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,a=e.rowIndex,i=this.props.columnCount,l=this.props;i>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(hn(hn({},l),{},{scrollToColumn:t})),void 0!==a&&this._updateScrollTopForScrollToRow(hn(hn({},l),{},{scrollToRow:a}))}},{key:"componentDidMount",value:function(){var e=this.props,a=e.getScrollbarSize,i=e.height,l=e.scrollLeft,n=e.scrollToColumn,o=e.scrollTop,r=e.scrollToRow,s=e.width,u=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),u.scrollbarSizeMeasured||this.setState(function(e){var t=hn(hn({},e),{},{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=a(),t.instanceProps.scrollbarSizeMeasured=!0,t}),"number"==typeof l&&l>=0||"number"==typeof o&&o>=0){var c=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:l,scrollTop:o});c&&(c.needToResetStyleCache=!1,this.setState(c))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var g=i>0&&s>0;n>=0&&g&&this._updateScrollLeftForScrollToColumn(),r>=0&&g&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:l||0,scrollTop:o||0,totalColumnsWidth:u.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:u.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var a=this,i=this.props,l=i.autoHeight,n=i.autoWidth,o=i.columnCount,r=i.height,s=i.rowCount,u=i.scrollToAlignment,c=i.scrollToColumn,g=i.scrollToRow,d=i.width,p=this.state,h=p.scrollLeft,m=p.scrollPositionChangeReason,b=p.scrollTop,f=p.instanceProps;this._handleInvalidatedGridSize();var v=o>0&&0===e.columnCount||s>0&&0===e.rowCount;m===fn&&(!n&&h>=0&&(h!==this._scrollingContainer.scrollLeft||v)&&(this._scrollingContainer.scrollLeft=h),!l&&b>=0&&(b!==this._scrollingContainer.scrollTop||v)&&(this._scrollingContainer.scrollTop=b));var w=(0===e.width||0===e.height)&&r>0&&d>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):on({cellSizeAndPositionManager:f.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:h,scrollToAlignment:u,scrollToIndex:c,size:d,sizeJustIncreasedFromZero:w,updateScrollIndexCallback:function(){return a._updateScrollLeftForScrollToColumn(a.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):on({cellSizeAndPositionManager:f.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:b,scrollToAlignment:u,scrollToIndex:g,size:r,sizeJustIncreasedFromZero:w,updateScrollIndexCallback:function(){return a._updateScrollTopForScrollToRow(a.props)}}),this._invokeOnGridRenderedHelper(),h!==t.scrollLeft||b!==t.scrollTop){var y=f.rowSizeAndPositionManager.getTotalSize(),x=f.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:b,totalColumnsWidth:x,totalRowsHeight:y})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&gn(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,a=e.autoHeight,i=e.autoWidth,l=e.className,n=e.containerProps,o=e.containerRole,r=e.containerStyle,s=e.height,u=e.id,c=e.noContentRenderer,g=e.role,d=e.style,p=e.tabIndex,h=e.width,m=this.state,b=m.instanceProps,f=m.needToResetStyleCache,v=this._isScrolling(),y={boxSizing:"border-box",direction:"ltr",height:a?"auto":s,position:"relative",width:i?"auto":h,WebkitOverflowScrolling:"touch",willChange:"transform"};f&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var x=b.columnSizeAndPositionManager.getTotalSize(),_=b.rowSizeAndPositionManager.getTotalSize(),k=_>s?b.scrollbarSize:0,S=x>h?b.scrollbarSize:0;S===this._horizontalScrollBarSize&&k===this._verticalScrollBarSize||(this._horizontalScrollBarSize=S,this._verticalScrollBarSize=k,this._scrollbarPresenceChanged=!0),y.overflowX=x+k<=h?"hidden":"auto",y.overflowY=_+S<=s?"hidden":"auto";var C=this._childrenToDisplay,M=0===C.length&&s>0&&h>0;return w.createElement("div",Bl({ref:this._setScrollingContainerRef},n,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:Al("ReactVirtualized__Grid",l),id:u,onScroll:this._onScroll,role:g,style:hn(hn({},y),d),tabIndex:p}),C.length>0&&w.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:o,style:hn({width:t?"auto":x,height:_,maxWidth:x,maxHeight:_,overflow:"hidden",pointerEvents:v?"none":"",position:"relative"},r)},C),M&&c())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,a=e.cellRenderer,i=e.cellRangeRenderer,l=e.columnCount,n=e.deferredMeasurementCache,o=e.height,r=e.overscanColumnCount,s=e.overscanIndicesGetter,u=e.overscanRowCount,c=e.rowCount,g=e.width,d=e.isScrollingOptOut,p=t.scrollDirectionHorizontal,h=t.scrollDirectionVertical,m=t.instanceProps,b=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,f=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,v=this._isScrolling(e,t);if(this._childrenToDisplay=[],o>0&&g>0){var w=m.columnSizeAndPositionManager.getVisibleCellRange({containerSize:g,offset:f}),y=m.rowSizeAndPositionManager.getVisibleCellRange({containerSize:o,offset:b}),x=m.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:g,offset:f}),_=m.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:o,offset:b});this._renderedColumnStartIndex=w.start,this._renderedColumnStopIndex=w.stop,this._renderedRowStartIndex=y.start,this._renderedRowStopIndex=y.stop;var k=s({direction:"horizontal",cellCount:l,overscanCellsCount:r,scrollDirection:p,startIndex:"number"==typeof w.start?w.start:0,stopIndex:"number"==typeof w.stop?w.stop:-1}),S=s({direction:"vertical",cellCount:c,overscanCellsCount:u,scrollDirection:h,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),C=k.overscanStartIndex,M=k.overscanStopIndex,T=S.overscanStartIndex,E=S.overscanStopIndex;if(n){if(!n.hasFixedHeight())for(var D=T;D<=E;D++)if(!n.has(D,0)){C=0,M=l-1;break}if(!n.hasFixedWidth())for(var L=C;L<=M;L++)if(!n.has(0,L)){T=0,E=c-1;break}}this._childrenToDisplay=i({cellCache:this._cellCache,cellRenderer:a,columnSizeAndPositionManager:m.columnSizeAndPositionManager,columnStartIndex:C,columnStopIndex:M,deferredMeasurementCache:n,horizontalOffsetAdjustment:x,isScrolling:v,isScrollingOptOut:d,parent:this,rowSizeAndPositionManager:m.rowSizeAndPositionManager,rowStartIndex:T,rowStopIndex:E,scrollLeft:f,scrollTop:b,styleCache:this._styleCache,verticalOffsetAdjustment:_,visibleColumnIndices:w,visibleRowIndices:y}),this._columnStartIndex=C,this._columnStopIndex=M,this._rowStartIndex=T,this._rowStopIndex=E}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&gn(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=dn(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,a=e.scrollLeft,i=e.scrollTop,l=e.totalColumnsWidth,n=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var a=e.scrollLeft,i=e.scrollTop,o=t.props,r=o.height;(0,o.onScroll)({clientHeight:r,clientWidth:o.width,scrollHeight:n,scrollLeft:a,scrollTop:i,scrollWidth:l})},indices:{scrollLeft:a,scrollTop:i}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(t.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var a=e.scrollLeft,i=e.scrollTop,l=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:a,scrollTop:i});l&&(l.needToResetStyleCache=!1,this.setState(l))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,a)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,i=t._getScrollLeftForScrollToColumnStateUpdate(e,a);i&&(i.needToResetStyleCache=!1,this.setState(i))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,a)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,a=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var i=this._rowStartIndex;i<=this._rowStopIndex;i++)for(var l=this._columnStartIndex;l<=this._columnStopIndex;l++){var n="".concat(i,"-").concat(l);this._styleCache[n]=e[n],a&&(this._cellCache[n]=t[n])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,i=t._getScrollTopForScrollToRowStateUpdate(e,a);i&&(i.needToResetStyleCache=!1,this.setState(i))}}],[{key:"getDerivedStateFromProps",value:function(e,a){var i={};0===e.columnCount&&0!==a.scrollLeft||0===e.rowCount&&0!==a.scrollTop?(i.scrollLeft=0,i.scrollTop=0):(e.scrollLeft!==a.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==a.scrollTop&&e.scrollToRow<0)&&Object.assign(i,t._getScrollToPositionStateUpdate({prevState:a,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var l,n,o=a.instanceProps;return i.needToResetStyleCache=!1,e.columnWidth===o.prevColumnWidth&&e.rowHeight===o.prevRowHeight||(i.needToResetStyleCache=!0),o.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),o.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==o.prevColumnCount&&0!==o.prevRowCount||(o.prevColumnCount=0,o.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===o.prevIsScrolling&&Object.assign(i,{isScrolling:!1}),Ql({cellCount:o.prevColumnCount,cellSize:"number"==typeof o.prevColumnWidth?o.prevColumnWidth:null,computeMetadataCallback:function(){return o.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:o.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){l=t._getScrollLeftForScrollToColumnStateUpdate(e,a)}}),Ql({cellCount:o.prevRowCount,cellSize:"number"==typeof o.prevRowHeight?o.prevRowHeight:null,computeMetadataCallback:function(){return o.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:o.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){n=t._getScrollTopForScrollToRowStateUpdate(e,a)}}),o.prevColumnCount=e.columnCount,o.prevColumnWidth=e.columnWidth,o.prevIsScrolling=!0===e.isScrolling,o.prevRowCount=e.rowCount,o.prevRowHeight=e.rowHeight,o.prevScrollToColumn=e.scrollToColumn,o.prevScrollToRow=e.scrollToRow,o.scrollbarSize=e.getScrollbarSize(),void 0===o.scrollbarSize?(o.scrollbarSizeMeasured=!1,o.scrollbarSize=0):o.scrollbarSizeMeasured=!0,i.instanceProps=o,hn(hn(hn({},i),l),n)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,a=e.scrollLeft,i=e.scrollTop,l={scrollPositionChangeReason:fn};return"number"==typeof a&&a>=0&&(l.scrollDirectionHorizontal=a>t.scrollLeft?1:-1,l.scrollLeft=a),"number"==typeof i&&i>=0&&(l.scrollDirectionVertical=i>t.scrollTop?1:-1,l.scrollTop=i),"number"==typeof a&&a>=0&&a!==t.scrollLeft||"number"==typeof i&&i>=0&&i!==t.scrollTop?l:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var a=e.columnCount,i=e.height,l=e.scrollToAlignment,n=e.scrollToColumn,o=e.width,r=t.scrollLeft,s=t.instanceProps;if(a>0){var u=a-1,c=n<0?u:Math.min(u,n),g=s.rowSizeAndPositionManager.getTotalSize(),d=s.scrollbarSizeMeasured&&g>i?s.scrollbarSize:0;return s.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:l,containerSize:o-d,currentOffset:r,targetIndex:c})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,a){var i=a.scrollLeft,l=t._getCalculatedScrollLeft(e,a);return"number"==typeof l&&l>=0&&i!==l?t._getScrollToPositionStateUpdate({prevState:a,scrollLeft:l,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var a=e.height,i=e.rowCount,l=e.scrollToAlignment,n=e.scrollToRow,o=e.width,r=t.scrollTop,s=t.instanceProps;if(i>0){var u=i-1,c=n<0?u:Math.min(u,n),g=s.columnSizeAndPositionManager.getTotalSize(),d=s.scrollbarSizeMeasured&&g>o?s.scrollbarSize:0;return s.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:l,containerSize:a-d,currentOffset:r,targetIndex:c})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,a){var i=a.scrollTop,l=t._getCalculatedScrollTop(e,a);return"number"==typeof l&&l>=0&&i!==l?t._getScrollToPositionStateUpdate({prevState:a,scrollLeft:-1,scrollTop:l}):{}}}])}(w.PureComponent);ml(vn,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var t=e.cellCache,a=e.cellRenderer,i=e.columnSizeAndPositionManager,l=e.columnStartIndex,n=e.columnStopIndex,o=e.deferredMeasurementCache,r=e.horizontalOffsetAdjustment,s=e.isScrolling,u=e.isScrollingOptOut,c=e.parent,g=e.rowSizeAndPositionManager,d=e.rowStartIndex,p=e.rowStopIndex,h=e.styleCache,m=e.verticalOffsetAdjustment,b=e.visibleColumnIndices,f=e.visibleRowIndices,v=[],w=i.areOffsetsAdjusted()||g.areOffsetsAdjusted(),x=!s&&!w,_=d;_<=p;_++)for(var k=g.getSizeAndPositionOfCell(_),S=l;S<=n;S++){var C=i.getSizeAndPositionOfCell(S),M=S>=b.start&&S<=b.stop&&_>=f.start&&_<=f.stop,T="".concat(_,"-").concat(S),E=void 0;x&&h[T]?E=h[T]:o&&!o.has(_,S)?E={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(E={height:k.size,left:C.offset+r,position:"absolute",top:k.offset+m,width:C.size},h[T]=E);var D={columnIndex:S,isScrolling:s,isVisible:M,key:T,parent:c,rowIndex:_,style:E},L=void 0;!u&&!s||r||m?L=a(D):(t[T]||(t[T]=a(D)),L=t[T]),null!=L&&!1!==L&&(L.props.role||(L=y().cloneElement(L,{role:"gridcell"})),v.push(L))}return v},containerRole:"row",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:Ol,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var t=e.cellCount,a=e.overscanCellsCount,i=e.scrollDirection,l=e.startIndex,n=e.stopIndex;return 1===i?{overscanStartIndex:Math.max(0,l),overscanStopIndex:Math.min(t-1,n+a)}:{overscanStartIndex:Math.max(0,l-a),overscanStopIndex:Math.min(t-1,n)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),(0,bl.polyfill)(vn);const wn=vn;function yn(e){var t=e.cellCount,a=e.overscanCellsCount,i=e.scrollDirection,l=e.startIndex,n=e.stopIndex;return a=Math.max(1,a),1===i?{overscanStartIndex:Math.max(0,l-1),overscanStopIndex:Math.min(t-1,n+a)}:{overscanStartIndex:Math.max(0,l-a),overscanStopIndex:Math.min(t-1,n+1)}}function xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,i=Array(t);aa.lastRenderedStopIndex||a.stopIndex1&&void 0!==arguments[1]?arguments[1]:0,a="function"==typeof e.recomputeGridSize?e.recomputeGridSize:e.recomputeRowHeights;a?a.call(e,t):e.forceUpdate()}(t._registeredChild,t._lastRenderedStartIndex)})})}},{key:"_onRowsRendered",value:function(e){var t=e.startIndex,a=e.stopIndex;this._lastRenderedStartIndex=t,this._lastRenderedStopIndex=a,this._doStuff(t,a)}},{key:"_doStuff",value:function(e,t){var a,i=this,l=this.props,n=l.isRowLoaded,o=l.minimumBatchSize,r=l.rowCount,s=l.threshold,u=function(e){for(var t=e.isRowLoaded,a=e.minimumBatchSize,i=e.rowCount,l=e.stopIndex,n=[],o=null,r=null,s=e.startIndex;s<=l;s++)t({index:s})?null!==r&&(n.push({startIndex:o,stopIndex:r}),o=r=null):(r=s,null===o&&(o=s));if(null!==r){for(var u=Math.min(Math.max(r,o+a-1),i-1),c=r+1;c<=u&&!t({index:c});c++)r=c;n.push({startIndex:o,stopIndex:r})}if(n.length)for(var g=n[0];g.stopIndex-g.startIndex+10;){var d=g.startIndex-1;if(t({index:d}))break;g.startIndex=d}return n}({isRowLoaded:n,minimumBatchSize:o,rowCount:r,startIndex:Math.max(0,e-s),stopIndex:Math.min(r-1,t+s)}),c=(a=[]).concat.apply(a,function(e){return function(e){if(Array.isArray(e))return xn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||kn(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.")}()}(u.map(function(e){return[e.startIndex,e.stopIndex]})));this._loadMoreRowsMemoizer({callback:function(){i._loadUnloadedRanges(u)},indices:{squashedUnloadedRanges:c}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}])}(w.PureComponent);function Tn(e,t,a){return t=dl(t),gl(e,En()?Reflect.construct(t,a||[],dl(e).constructor):t.apply(e,a))}function En(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(En=function(){return!!e})()}ml(Mn,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),Mn.propTypes={};var Dn=function(e){function t(){var e;ol(this,t);for(var a=arguments.length,i=new Array(a),l=0;l0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,a=void 0===t?0:t,i=e.rowIndex,l=void 0===i?0:i;this.Grid&&this.Grid.recomputeGridSize({rowIndex:l,columnIndex:a})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,a=e.noRowsRenderer,i=e.scrollToIndex,l=e.width,n=Al("ReactVirtualized__List",t);return w.createElement(wn,Bl({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:n,columnWidth:l,columnCount:1,noContentRenderer:a,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:i}))}}])}(w.PureComponent);ml(Dn,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:yn,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});const Ln=function(e,t,a,i,l){return"function"==typeof a?function(e,t,a,i,l){for(var n=a+1;t<=a;){var o=t+a>>>1;l(e[o],i)>=0?(n=o,a=o-1):t=o+1}return n}(e,void 0===i?0:0|i,void 0===l?e.length-1:0|l,t,a):function(e,t,a,i){for(var l=a+1;t<=a;){var n=t+a>>>1;e[n]>=i?(l=n,a=n-1):t=n+1}return l}(e,void 0===a?0:0|a,void 0===i?e.length-1:0|i,t)};function Bn(e,t,a,i,l){this.mid=e,this.left=t,this.right=a,this.leftPoints=i,this.rightPoints=l,this.count=(t?t.count:0)+(a?a.count:0)+i.length}var Hn=Bn.prototype;function An(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function Rn(e,t){var a=Wn(t);e.mid=a.mid,e.left=a.left,e.right=a.right,e.leftPoints=a.leftPoints,e.rightPoints=a.rightPoints,e.count=a.count}function Pn(e,t){var a=e.intervals([]);a.push(t),Rn(e,a)}function zn(e,t){var a=e.intervals([]),i=a.indexOf(t);return i<0?0:(a.splice(i,1),Rn(e,a),1)}function On(e,t,a){for(var i=0;i=0&&e[i][1]>=t;--i){var l=a(e[i]);if(l)return l}}function In(e,t){for(var a=0;a>1],l=[],n=[],o=[];for(a=0;a3*(t+1)?Pn(this,e):this.left.insert(e):this.left=Wn([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?Pn(this,e):this.right.insert(e):this.right=Wn([e]);else{var a=Ln(this.leftPoints,e,Vn),i=Ln(this.rightPoints,e,Gn);this.leftPoints.splice(a,0,e),this.rightPoints.splice(i,0,e)}},Hn.remove=function(e){var t=this.count-this.leftPoints;if(e[1]3*(t-1)?zn(this,e):2===(n=this.left.remove(e))?(this.left=null,this.count-=1,1):(1===n&&(this.count-=1),n):0;if(e[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(t-1)?zn(this,e):2===(n=this.right.remove(e))?(this.right=null,this.count-=1,1):(1===n&&(this.count-=1),n):0;if(1===this.count)return this.leftPoints[0]===e?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===e){if(this.left&&this.right){for(var a=this,i=this.left;i.right;)a=i,i=i.right;if(a===this)i.right=this.right;else{var l=this.left,n=this.right;a.count-=i.count,a.right=i.left,i.left=l,i.right=n}An(this,i),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?An(this,this.left):An(this,this.right);return 1}for(l=Ln(this.leftPoints,e,Vn);lthis.mid?this.right&&(a=this.right.queryPoint(e,t))?a:Fn(this.rightPoints,e,t):In(this.leftPoints,t);var a},Hn.queryInterval=function(e,t,a){var i;return ethis.mid&&this.right&&(i=this.right.queryInterval(e,t,a))?i:tthis.mid?Fn(this.rightPoints,e,a):In(this.leftPoints,a)};var jn=Un.prototype;jn.insert=function(e){this.root?this.root.insert(e):this.root=new Bn(e[0],null,null,[e],[e])},jn.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},jn.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},jn.queryInterval=function(e,t,a){if(e<=t&&this.root)return this.root.queryInterval(e,t,a)},Object.defineProperty(jn,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(jn,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var qn=function(){return cl(function e(){ol(this,e),ml(this,"_columnSizeMap",{}),ml(this,"_intervalTree",new Un(null)),ml(this,"_leftMap",{})},[{key:"estimateTotalHeight",value:function(e,t,a){var i=e-this.count;return this.tallestColumnSize+Math.ceil(i/t)*a}},{key:"range",value:function(e,t,a){var i=this;this._intervalTree.queryInterval(e,e+t,function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var i,l,n,o,r=[],s=!0,u=!1;try{if(n=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;s=!1}else for(;!(s=(i=n.call(a)).done)&&(r.push(i.value),r.length!==t);s=!0);}catch(e){u=!0,l=e}finally{try{if(!s&&null!=a.return&&(o=a.return(),Object(o)!==o))return}finally{if(u)throw l}}return r}}(e,t)||kn(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.")}()}(e,3),l=t[0],n=(t[1],t[2]);return a(n,i._leftMap[n],l)})}},{key:"setPosition",value:function(e,t,a,i){this._intervalTree.insert([a,a+i,e]),this._leftMap[e]=t;var l=this._columnSizeMap,n=l[t];l[t]=void 0===n?a+i:Math.max(n,a+i)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var a in e){var i=e[a];t=0===t?i:Math.min(t,i)}return t}},{key:"tallestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var a in e){var i=e[a];t=Math.max(t,i)}return t}}])}();function $n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function Zn(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};ol(this,e),ml(this,"_cellMeasurerCache",void 0),ml(this,"_columnIndexOffset",void 0),ml(this,"_rowIndexOffset",void 0),ml(this,"columnWidth",function(e){var a=e.index;t._cellMeasurerCache.columnWidth({index:a+t._columnIndexOffset})}),ml(this,"rowHeight",function(e){var a=e.index;t._cellMeasurerCache.rowHeight({index:a+t._rowIndexOffset})});var i=a.cellMeasurerCache,l=a.columnIndexOffset,n=void 0===l?0:l,o=a.rowIndexOffset,r=void 0===o?0:o;this._cellMeasurerCache=i,this._columnIndexOffset=n,this._rowIndexOffset=r},[{key:"clear",value:function(e,t){this._cellMeasurerCache.clear(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getHeight(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getWidth(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.has(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"set",value:function(e,t,a,i){this._cellMeasurerCache.set(e+this._rowIndexOffset,t+this._columnIndexOffset,a,i)}}])}(),eo=["rowIndex"],to=["columnIndex","rowIndex"],ao=["columnIndex"],io=["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"];function lo(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function no(e){for(var t=1;t0?new Qn({cellMeasurerCache:l,columnIndexOffset:0,rowIndexOffset:o}):l,i._deferredMeasurementCacheBottomRightGrid=n>0||o>0?new Qn({cellMeasurerCache:l,columnIndexOffset:n,rowIndexOffset:o}):l,i._deferredMeasurementCacheTopRightGrid=n>0?new Qn({cellMeasurerCache:l,columnIndexOffset:n,rowIndexOffset:0}):l),i}return hl(t,e),cl(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,a=void 0===t?0:t,i=e.rowIndex,l=void 0===i?0:i;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,a):a,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,l):l}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,a=void 0===t?0:t,i=e.rowIndex,l=void 0===i?0:i,n=this.props,o=n.fixedColumnCount,r=n.fixedRowCount,s=Math.max(0,a-o),u=Math.max(0,l-r);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:a,rowIndex:u}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:s,rowIndex:u}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:a,rowIndex:l}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:s,rowIndex:l}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.scrollLeft,a=e.scrollTop;if(t>0||a>0){var i={};t>0&&(i.scrollLeft=t),a>0&&(i.scrollTop=a),this.setState(i)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,t=e.onScroll,a=e.onSectionRendered,i=(e.onScrollbarPresenceChange,e.scrollLeft,e.scrollToColumn),l=(e.scrollTop,e.scrollToRow),n=en(e,io);if(this._prepareForRender(),0===this.props.width||0===this.props.height)return null;var o=this.state,r=o.scrollLeft,s=o.scrollTop;return w.createElement("div",{style:this._containerOuterStyle},w.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(n),this._renderTopRightGrid(no(no({},n),{},{onScroll:t,scrollLeft:r}))),w.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(no(no({},n),{},{onScroll:t,scrollTop:s})),this._renderBottomRightGrid(no(no({},n),{},{onScroll:t,onSectionRendered:a,scrollLeft:r,scrollToColumn:i,scrollToRow:l,scrollTop:s}))))}},{key:"_getBottomGridHeight",value:function(e){return e.height-this._getTopGridHeight(e)}},{key:"_getLeftGridWidth",value:function(e){var t=e.fixedColumnCount,a=e.columnWidth;if(null==this._leftGridWidth)if("function"==typeof a){for(var i=0,l=0;l=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}])}(w.PureComponent);function uo(e,t,a){return t=dl(t),gl(e,co()?Reflect.construct(t,a||[],dl(e).constructor):t.apply(e,a))}function co(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(co=function(){return!!e})()}ml(so,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1}),so.propTypes={},(0,bl.polyfill)(so),(function(e){function t(e,a){var i;return ol(this,t),(i=uo(this,t,[e,a])).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},i._onScroll=i._onScroll.bind(i),i}return hl(t,e),cl(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,a=t.clientHeight,i=t.clientWidth,l=t.scrollHeight,n=t.scrollLeft,o=t.scrollTop,r=t.scrollWidth;return e({clientHeight:a,clientWidth:i,onScroll:this._onScroll,scrollHeight:l,scrollLeft:n,scrollTop:o,scrollWidth:r})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,a=e.clientWidth,i=e.scrollHeight,l=e.scrollLeft,n=e.scrollTop,o=e.scrollWidth;this.setState({clientHeight:t,clientWidth:a,scrollHeight:i,scrollLeft:l,scrollTop:n,scrollWidth:o})}}])}(w.PureComponent)).propTypes={};const go="ASC",po="DESC";function ho(e){var t=e.sortDirection,a=Al("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===go,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===po});return w.createElement("svg",{className:a,width:18,height:18,viewBox:"0 0 24 24"},t===go?w.createElement("path",{d:"M7 14l5-5 5 5z"}):w.createElement("path",{d:"M7 10l5 5 5-5z"}),w.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function mo(e,t,a){return t=dl(t),gl(e,bo()?Reflect.construct(t,a||[],dl(e).constructor):t.apply(e,a))}function bo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bo=function(){return!!e})()}ho.propTypes={};var fo=function(e){function t(){return ol(this,t),mo(this,t,arguments)}return hl(t,e),cl(t)}(w.Component);function vo(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function wo(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,a=void 0===t?0:t,i=e.rowIndex,l=void 0===i?0:i;this.Grid&&this.Grid.recomputeGridSize({rowIndex:l,columnIndex:a})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.GridElement){var e=this.GridElement,t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,a=t.children,i=t.className,l=t.disableHeader,n=t.gridClassName,o=t.gridStyle,r=t.headerHeight,s=t.headerRowRenderer,u=t.height,c=t.id,g=t.noRowsRenderer,d=t.rowClassName,p=t.rowStyle,h=t.scrollToIndex,m=t.style,b=t.width,f=this.state.scrollbarWidth,v=l?u:u-r,y="function"==typeof d?d({index:-1}):d,x="function"==typeof p?p({index:-1}):p;return this._cachedColumnStyles=[],w.Children.toArray(a).forEach(function(t,a){var i=e._getFlexStyleForColumn(t,t.props.style||fo.defaultProps.style);e._cachedColumnStyles[a]=wo({overflow:"hidden"},i)}),w.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":w.Children.toArray(a).length,"aria-rowcount":this.props.rowCount,className:Al("ReactVirtualized__Table",i),id:c,role:"grid",style:m},!l&&s({className:Al("ReactVirtualized__Table__headerRow",y),columns:this._getHeaderColumns(),style:wo({height:r,overflow:"hidden",paddingRight:f,width:b},x)}),w.createElement(wn,Bl({},this.props,{elementRef:this._setGridElementRef,"aria-readonly":null,autoContainerWidth:!0,className:Al("ReactVirtualized__Table__Grid",n),cellRenderer:this._createRow,columnWidth:b,columnCount:1,height:v,id:void 0,noContentRenderer:g,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:f,scrollToRow:h,style:wo(wo({},o),{},{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,a=e.columnIndex,i=e.isScrolling,l=e.parent,n=e.rowData,o=e.rowIndex,r=this.props.onColumnClick,s=t.props,u=s.cellDataGetter,c=s.cellRenderer,g=s.className,d=s.columnData,p=s.dataKey,h=s.id,m=c({cellData:u({columnData:d,dataKey:p,rowData:n}),columnData:d,columnIndex:a,dataKey:p,isScrolling:i,parent:l,rowData:n,rowIndex:o}),b=this._cachedColumnStyles[a],f="string"==typeof m?m:null;return w.createElement("div",{"aria-colindex":a+1,"aria-describedby":h,className:Al("ReactVirtualized__Table__rowColumn",g),key:"Row"+o+"-Col"+a,onClick:function(e){r&&r({columnData:d,dataKey:p,event:e})},role:"gridcell",style:b,title:f},m)}},{key:"_createHeader",value:function(e){var t,a,i,l,n,o=e.column,r=e.index,s=this.props,u=s.headerClassName,c=s.headerStyle,g=s.onHeaderClick,d=s.sort,p=s.sortBy,h=s.sortDirection,m=o.props,b=m.columnData,f=m.dataKey,v=m.defaultSortDirection,y=m.disableSort,x=m.headerRenderer,_=m.id,k=m.label,S=!y&&d,C=Al("ReactVirtualized__Table__headerColumn",u,o.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:S}),M=this._getFlexStyleForColumn(o,wo(wo({},c),o.props.headerStyle)),T=x({columnData:b,dataKey:f,disableSort:y,label:k,sortBy:p,sortDirection:h});if(S||g){var E=p!==f?v:h===po?go:po,D=function(e){S&&d({defaultSortDirection:v,event:e,sortBy:f,sortDirection:E}),g&&g({columnData:b,dataKey:f,event:e})};n=o.props["aria-label"]||k||f,l="none",i=0,t=D,a=function(e){"Enter"!==e.key&&" "!==e.key||D(e)}}return p===f&&(l=h===go?"ascending":"descending"),w.createElement("div",{"aria-label":n,"aria-sort":l,className:C,id:_,key:"Header-Col"+r,onClick:t,onKeyDown:a,role:"columnheader",style:M,tabIndex:i},T)}},{key:"_createRow",value:function(e){var t=this,a=e.rowIndex,i=e.isScrolling,l=e.key,n=e.parent,o=e.style,r=this.props,s=r.children,u=r.onRowClick,c=r.onRowDoubleClick,g=r.onRowRightClick,d=r.onRowMouseOver,p=r.onRowMouseOut,h=r.rowClassName,m=r.rowGetter,b=r.rowRenderer,f=r.rowStyle,v=this.state.scrollbarWidth,y="function"==typeof h?h({index:a}):h,x="function"==typeof f?f({index:a}):f,_=m({index:a}),k=w.Children.toArray(s).map(function(e,l){return t._createColumn({column:e,columnIndex:l,isScrolling:i,parent:n,rowData:_,rowIndex:a,scrollbarWidth:v})}),S=Al("ReactVirtualized__Table__row",y),C=wo(wo({},o),{},{height:this._getRowHeight(a),overflow:"hidden",paddingRight:v},x);return b({className:S,columns:k,index:a,isScrolling:i,key:l,onRowClick:u,onRowDoubleClick:c,onRowRightClick:g,onRowMouseOver:d,onRowMouseOut:p,rowData:_,style:C})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),i=wo(wo({},t),{},{flex:a,msFlex:a,WebkitFlex:a});return e.props.maxWidth&&(i.maxWidth=e.props.maxWidth),e.props.minWidth&&(i.minWidth=e.props.minWidth),i}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,a=t.children;return(t.disableHeader?[]:w.Children.toArray(a)).map(function(t,a){return e._createHeader({column:t,index:a})})}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return"function"==typeof t?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,a=e.scrollHeight,i=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:a,scrollTop:i})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,a=e.rowOverscanStopIndex,i=e.rowStartIndex,l=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:a,startIndex:i,stopIndex:l})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setGridElementRef",value:function(e){this.GridElement=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}])}(w.PureComponent);ml(_o,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:yn,overscanRowCount:10,rowRenderer:function(e){var t=e.className,a=e.columns,i=e.index,l=e.key,n=e.onRowClick,o=e.onRowDoubleClick,r=e.onRowMouseOut,s=e.onRowMouseOver,u=e.onRowRightClick,c=e.rowData,g=e.style,d={"aria-rowindex":i+1};return(n||o||r||s||u)&&(d["aria-label"]="row",d.tabIndex=0,n&&(d.onClick=function(e){return n({event:e,index:i,rowData:c})}),o&&(d.onDoubleClick=function(e){return o({event:e,index:i,rowData:c})}),r&&(d.onMouseOut=function(e){return r({event:e,index:i,rowData:c})}),s&&(d.onMouseOver=function(e){return s({event:e,index:i,rowData:c})}),u&&(d.onContextMenu=function(e){return u({event:e,index:i,rowData:c})})),w.createElement("div",Bl({},d,{className:t,key:l,role:"row",style:g}),a)},headerRowRenderer:function(e){var t=e.className,a=e.columns,i=e.style;return w.createElement("div",{className:t,role:"row",style:i},a)},rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),_o.propTypes={};var ko=[],So=null,Co=null;function Mo(){Co&&(Co=null,document.body&&null!=So&&(document.body.style.pointerEvents=So),So=null)}function To(){Mo(),ko.forEach(function(e){return e.__resetIsScrolling()})}function Eo(e){e.currentTarget===window&&null==So&&document.body&&(So=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),function(){Co&&gn(Co);var e=0;ko.forEach(function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)}),Co=dn(To,e)}(),ko.forEach(function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()})}function Do(e,t){ko.some(function(e){return e.props.scrollElement===t})||t.addEventListener("scroll",Eo),ko.push(e)}function Lo(e,t){(ko=ko.filter(function(t){return t!==e})).length||(t.removeEventListener("scroll",Eo),Co&&(gn(Co),Mo()))}var Bo=function(e){return e===window},Ho=function(e){return e.getBoundingClientRect()};function Ao(e,t){if(e){if(Bo(e)){var a=window,i=a.innerHeight,l=a.innerWidth;return{height:"number"==typeof i?i:0,width:"number"==typeof l?l:0}}return Ho(e)}return{height:t.serverHeight,width:t.serverWidth}}function Ro(e){return Bo(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}function Po(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)}return a}function zo(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,a=this.state,i=a.height,l=a.width,n=this._child||this._windowScrollerRef.current;if(n instanceof Element&&e){var o=function(e,t){if(Bo(t)&&document.documentElement){var a=document.documentElement,i=Ho(e),l=Ho(a);return{top:i.top-l.top,left:i.left-l.left}}var n=Ro(t),o=Ho(e),r=Ho(t);return{top:o.top+n.top-r.top,left:o.left+n.left-r.left}}(n,e);this._positionFromTop=o.top,this._positionFromLeft=o.left}var r=Ao(e,this.props);i===r.height&&l===r.width||(this.setState({height:r.height,width:r.width}),t({height:r.height,width:r.width})),!0===this.props.updateScrollTopOnUpdatePosition&&(this.__handleWindowScrollEvent(),this.__resetIsScrolling())}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=_l(),this.updatePosition(e),e&&(Do(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var a=this.props.scrollElement,i=e.scrollElement;i!==a&&null!=i&&null!=a&&(this.updatePosition(a),Lo(this,i),Do(this,a),this._unregisterResizeListener(i),this._registerResizeListener(a))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(Lo(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,t=this.state,a=t.isScrolling,i=t.scrollTop,l=t.scrollLeft,n=t.height,o=t.width;return w.createElement("div",{ref:this._windowScrollerRef},e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:n,isScrolling:a,scrollLeft:l,scrollTop:i,width:o}))}}])}(w.PureComponent);ml(No,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Io(),serverHeight:0,serverWidth:0});const Vo=e=>{const{searchIconInputValue:t,onClickRemoveSearch:a,searchIcon:i,inputElement:l}=e;return(0,w.createElement)("section",{className:"uagb-ip-header"},(0,w.createElement)("h2",null,(0,M.__)("Icon Library","sureforms")),(0,w.createElement)("div",{className:"uagb-ip-search-container"},(0,w.createElement)("div",{className:"uagb-ip-search-bar"},""===t?zi("sistrix"):(0,w.createElement)("span",{onClick:a,className:"dashicons dashicons-no-alt"}),(0,w.createElement)("input",{type:"text",placeholder:(0,M.__)("Search","sureforms"),value:t,onChange:i,ref:l}))))},Go=e=>{const{value:t,onChange:a,closeModal:i,defaultIcons:l,iconCategoryList:n}=e,o={...srfm_spec_blocks_info.uagb_svg_icons},r=e=>((e,t)=>Array.from({length:Math.ceil(e.length/t)},(a,i)=>e.slice(i*t,i*t+t)))(e,8),[s,u]=(0,x.useState)(""),[c,g]=(0,x.useState)(r(l)),[d,p]=(0,x.useState)("all"),[h,m]=(0,x.useState)(l),[b,f]=(0,x.useState)(""),v=(0,x.useRef)(),y=(0,x.useRef)(),[_,k]=(0,x.useState)(null),[S,C]=(0,x.useState)(null),[T,E]=(0,x.useState)(null),D=e=>{const t=y?.current;return t?"w"===e?t.offsetWidth:t.offsetHeight:null};(0,x.useEffect)(()=>{v.current.focus(),k(D("h")),C(D("w"));const e=c.findIndex(e=>e.includes(t));E(e)},[]);const L=e=>{let t=[];if("all"===e)t=l;else if("no-category"===e)for(const e in o)0===o[e].custom_categories.length&&t.push(e);else for(const a in o)o[a].custom_categories.includes(e)&&t.push(a);p(e),m(t),E(null),g(r(t)),u("")};return(0,w.createElement)(te.Modal,{className:"uagb-ip-modal-wrapper",onRequestClose:i,overlayClassName:"uagb-ip-modal-wrapper-overlay",shouldCloseOnClickOutside:!1,closeButtonLabel:(0,M.__)("Close","sureforms")},(0,w.createElement)(Vo,{searchIconInputValue:s,onClickRemoveSearch:()=>{L(d),u("")},searchIcon:e=>{const t=e.target.value.toLowerCase();if(""!==t){const e=[...h].filter(e=>!!o[e]?.label&&-1!==o[e].label.toLowerCase().indexOf(t));g(r(e))}else L(d);u(t)},inputElement:v}),(0,w.createElement)("section",{className:"uagb-ip-lr-container"},(0,w.createElement)("div",{className:"uagb-ip-left"},(0,w.createElement)("div",{className:"uagb-ip-categories-list"},(0,w.createElement)("div",{key:"all",className:"all"===d?"selected":null,onClick:()=>L("all")},(0,M.__)("All Icons","sureforms")),n.map((e,t)=>(0,w.createElement)("div",{key:t,className:e.slug===d?"selected":null,onClick:()=>L(e.slug)},e.title)),(0,w.createElement)("div",{key:"no-category",className:"no-category"===d?"selected":null,onClick:()=>L("no-category")},(0,M.__)("Other","sureforms")))),(0,w.createElement)("div",{className:"uagb-ip-right"},(0,w.createElement)("div",{className:"uagb-ip-modal-container",ref:y},(()=>{if(!c.length)return(0,w.createElement)("div",{className:"uagb-ip-icons icon-not-found"},(0,w.createElement)("div",{className:"uagb-icon-not-available"},(0,w.createElement)("span",null,(0,M.__)("No Icons Found","sureforms"))));const e=S/8;return(0,w.createElement)("div",{className:"uagb-ip-icons"},(0,w.createElement)(wn,{cellRenderer:function(e){const{columnIndex:a,key:i,rowIndex:l,style:n}=e,r=c[l][a];if(!r)return null;const s=ue(["uagb-icon-item",t===r&&"default",r===b&&"selected"]),u=o[r]?.label?o[r].label:"";return(0,w.createElement)("div",{key:i,style:n},(0,w.createElement)("div",{className:s,onClick:()=>{t!==r&&f(r)}},zi(r),(0,w.createElement)(te.Tooltip,{text:u},(0,w.createElement)("span",null,(e=>e?e.length<11?e:e.slice(0,10)+"..":"")(u)))))},columnCount:c[0].length,columnWidth:8===c[0].length?e-2:100,height:_,rowCount:c.length,rowHeight:8===c[0].length?e:100,width:S,scrollToRow:T,autoContainerWidth:!0}))})()))),(0,w.createElement)("section",{className:"uagb-ip-footer"},(0,w.createElement)("button",{className:""===b?"disable":null,onClick:""!==b?()=>{a(b),i()}:null},(0,M.__)("Insert Icon","sureforms"))))},Wo=e=>{(0,x.useLayoutEffect)(()=>(nl.use(),()=>{nl.unuse()}),[]);const{label:t,value:a,onChange:i,help:l=!1}=e,n=[...wp.UAGBSvgIcons],o=[...wp.uagb_icon_category_list],[r,s]=(0,x.useState)(!1),u=()=>s(!0),c=a&&""!==a,g=(0,w.createElement)("div",{className:"uag-ip-placeholder-wrap"},c&&(0,w.createElement)("div",{className:"uag-ip-remove-icon",onClick:()=>{i("")}},zi("xmark")),(0,w.createElement)("div",{className:"uag-ip-selected-icon",onClick:u},(0,w.createElement)("div",{className:"uag-ip-selected-icon-overlay"},!c&&zi("plus")),c&&(0,w.createElement)("div",{className:"uag-ip-selected-icon-value"},zi(a))),(0,w.createElement)("div",{className:"uag-ip-actions"},(0,w.createElement)("span",{onClick:u},c?(0,M.__)("Change Icon","sureforms"):(0,M.__)("Choose Icon","sureforms"))));return(0,w.createElement)("div",{className:"uag-custom-ip components-base-control"},(0,w.createElement)("span",{className:"uag-control-label"},t||(0,M.__)("Icon","sureforms")),g,r&&(0,w.createElement)(Go,{...e,closeModal:()=>s(!1),defaultIcons:n,iconCategoryList:o}),(0,w.createElement)(pe,{text:l}))};var Uo=a(420),jo={};Uo.A&&Uo.A.locals&&(jo.locals=Uo.A.locals);var qo,$o=0,Zo={attributes:{id:"uagb-editor-styles"}};Zo.setAttributes=g(),Zo.insert=u().bind(null,"head"),Zo.domAPI=r(),Zo.insertStyleElement=p(),jo.use=function(e){return Zo.options=e||{},$o++||(qo=n()(Uo.A,Zo)),jo},jo.unuse=function(){$o>0&&! --$o&&(qo(),qo=null)};const Ko=jo,Yo=e=>{const[t,a]=(0,x.useState)(null),i=(0,x.useRef)(null);(0,x.useLayoutEffect)(()=>(Ko.use(),()=>{Ko.unuse()}),[]);const{getSelectedBlock:l}=(0,V.select)("core/block-editor"),n=l()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(i))},[n]);const o=Q(),{label:r,unit:s,mUnit:u,tUnit:c,disableUnits:g,valueBottom:d,valueLeft:p,valueRight:h,valueTop:m,valueBottomTablet:b,valueLeftTablet:f,valueRightTablet:v,valueTopTablet:y,valueBottomMobile:_,valueLeftMobile:k,valueRightMobile:S,valueTopMobile:C,link:T,setAttributes:E,help:D=!1,min:L=-50}=e,B=(e,t)=>{switch(t){case"desktop":E({[m.label]:e}),E({[h.label]:e}),E({[d.label]:e}),E({[p.label]:e});break;case"tablet":E({[y.label]:e}),E({[v.label]:e}),E({[b.label]:e}),E({[f.label]:e});break;case"mobile":E({[C.label]:e}),E({[S.label]:e}),E({[_.label]:e}),E({[k.label]:e})}},H=(e,t,a="",i=!1)=>{let l=a;switch(""===a&&""!==e&&(l=""===e.target.value?0:Number(e.target.value)),i||(T.value?B(l,t):A(t)),t){case"desktop":E({[m.label]:l});break;case"tablet":E({[y.label]:l});break;case"mobile":E({[C.label]:l})}},A=e=>{switch(e){case"desktop":E({[m.label]:""===m.value||void 0===m.value?0:m.value}),E({[h.label]:""===h.value||void 0===h.value?0:h.value}),E({[d.label]:""===d.value||void 0===d.value?0:d.value}),E({[p.label]:""===p.value||void 0===p.value?0:p.value});break;case"tablet":E({[y.label]:void 0===y.value||""===y.value?0:y.value}),E({[v.label]:void 0===v.value||""===v.value?0:v.value}),E({[b.label]:void 0===b.value||""===b.value?0:b.value}),E({[f.label]:void 0===f.value||""===f.value?0:f.value});break;case"mobile":E({[C.label]:""===C.value||void 0===C.value?0:C.value}),E({[S.label]:""===S.value||void 0===S.value?0:S.value}),E({[_.label]:""===_.value||void 0===_.value?0:_.value}),E({[k.label]:""===k.value||void 0===k.value?0:k.value})}},R=(e,t,a="",i=!1)=>{let l=a;switch(""===a&&""!==e&&(l=""===e.target.value?0:Number(e.target.value)),i||(T.value?B(l,t):A(t)),t){case"desktop":E({[h.label]:l});break;case"tablet":E({[v.label]:l});break;case"mobile":E({[S.label]:l})}},P=(e,t,a="",i=!1)=>{let l=a;switch(""===a&&""!==e&&(l=""===e.target.value?0:Number(e.target.value)),i||(T.value?B(l,t):A(o)),t){case"desktop":E({[d.label]:l});break;case"tablet":E({[b.label]:l});break;case"mobile":E({[_.label]:l})}},z=(e,t,a="",i=!1)=>{let l=a;switch(""===a&&""!==e&&(l=""===e.target.value?0:Number(e.target.value)),i||(T.value&&!i?B(l,t):A(o)),t){case"desktop":E({[p.label]:l});break;case"tablet":E({[f.label]:l});break;case"mobile":E({[k.label]:l})}};let F=[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"},{name:(0,M.__)("Em","sureforms"),unitValue:"em"},{name:(0,M.__)("%","sureforms"),unitValue:"%"}];e.units&&(F=e.units);let I="";T&&(I=(0,w.createElement)("span",{className:"uagb-spacing-control__link uagb-spacing-control-connected dashicons dashicons-admin-links ",onClick:()=>{A(o.toLowerCase()),E({[T.label]:!1})}}),T.value||(I=(0,w.createElement)("span",{className:"uagb-spacing-control__link uagb-spacing-control-disconnected dashicons dashicons-editor-unlink",onClick:()=>{N(),E({[T.label]:!0})}})));const N=()=>{let e;const t=o.toLowerCase();switch(t){case"desktop":e=m.value;break;case"tablet":e=y.value;break;case"mobile":e=C.value}B(e,t)},G={};G.Desktop=(0,w.createElement)(w.Fragment,null,(0,w.createElement)("div",{className:"uagb-spacing-control__inputs"},(0,w.createElement)("input",{className:"uagb-spacing-control__number",type:"number",min:L,onChange:e=>H(e,"desktop"),value:void 0!==m.value?m.value:""}),(0,w.createElement)("input",{className:"uagb-spacing-control__number",type:"number",min:L,onChange:e=>R(e,"desktop"),value:void 0!==h.value?h.value:""}),(0,w.createElement)("input",{className:"uagb-spacing-control__number",type:"number",min:L,onChange:e=>P(e,"desktop"),value:void 0!==d.value?d.value:""}),(0,w.createElement)("input",{className:"uagb-spacing-control__number",type:"number",min:L,onChange:e=>z(e,"desktop"),value:void 0!==p.value?p.value:""}),I)),G.Tablet=(0,w.createElement)(w.Fragment,null,(0,w.createElement)("div",{className:"uagb-spacing-control__inputs"},(0,w.createElement)("input",{className:"uagb-spacing-control__number",type:"number",min:L,onChange:e=>H(e,"tablet"),value:void 0!==y.value?y.value:""}),(0,w.createElement)("input",{className:"uagb-spacing-control__number",type:"number",min:L,onChange:e=>R(e,"tablet"),value:void 0!==v.value?v.value:""}),(0,w.createElement)("input",{className:"uagb-spacing-control__number",type:"number",min:L,onChange:e=>P(e,"tablet"),value:void 0!==b.value?b.value:""}),(0,w.createElement)("input",{className:"uagb-spacing-control__number",type:"number",min:L,onChange:e=>z(e,"tablet"),value:void 0!==f.value?f.value:""}),I)),G.Mobile=(0,w.createElement)(w.Fragment,null,(0,w.createElement)("div",{className:"uagb-spacing-control__inputs"},(0,w.createElement)("input",{className:"uagb-spacing-control__number",type:"number",min:L,onChange:e=>H(e,"mobile"),value:void 0!==C.value?C.value:""}),(0,w.createElement)("input",{className:"uagb-spacing-control__number",type:"number",min:L,onChange:e=>R(e,"mobile"),value:void 0!==S.value?S.value:""}),(0,w.createElement)("input",{className:"uagb-spacing-control__number",type:"number",min:L,onChange:e=>P(e,"mobile"),value:void 0!==_.value?_.value:""}),(0,w.createElement)("input",{className:"uagb-spacing-control__number",type:"number",min:L,onChange:e=>z(e,"mobile"),value:void 0!==k.value?k.value:""}),I));const W=ce(e.label),U=(0,O.applyFilters)(`spectra.${n}.${t}.${W}.before`,"",n),j=(0,O.applyFilters)(`spectra.${n}.${t}.${W}`,"",n);return(0,w.createElement)("div",{ref:i,className:"components-base-control"},U,(0,w.createElement)("div",{className:"uagb-spacing-control"},(0,w.createElement)("div",{className:"uagb-size-type-field-tabs"},(0,w.createElement)("div",{className:"uagb-control__header"},(0,w.createElement)(he,{label:r,responsive:!0}),(0,w.createElement)("div",{className:"uagb-control__actions"},(0,w.createElement)(ke,{onReset:e=>{switch(o.toLowerCase()){case"desktop":H("","desktop",e[m.label],!0),R("","desktop",e[h.label],!0),P("","desktop",e[d.label],!0),z("","desktop",e[p.label],!0),E({[s?.label]:e[s?.label]});break;case"tablet":H("","tablet",e[y.label],!0),R("","tablet",e[v.label],!0),P("","tablet",e[b.label],!0),z("","tablet",e[f.label],!0),E({[c?.label]:e[c?.label]});break;case"mobile":H("","mobile",e[C.label],!0),R("","mobile",e[S.label],!0),P("","mobile",e[_.label],!0),z("","mobile",e[k.label],!0),E({[u?.label]:e[u?.label]})}},attributeNames:[m?.label,h?.label,d?.label,p?.label,y?.label,v?.label,b?.label,f?.label,C?.label,S?.label,_?.label,k?.label,s?.label,c?.label,u?.label]}),(0,w.createElement)(te.ButtonGroup,{className:"uagb-control__units","aria-label":(0,M.__)("Select Units","sureforms")},!g&&(e=>{const t=[];return e.map(e=>t.push((0,w.createElement)(te.Tooltip,{text:(0,M.sprintf)(/* translators: abbreviation for units */ /* translators: abbreviation for units */ (0,M.__)("%s units","sureforms"),e.name)},(0,w.createElement)(te.Button,{key:e.unitValue,className:"uagb-range-control__units--"+e.name,isSmall:!0,isPrimary:"Desktop"===o&&s.value===e.unitValue||"Mobile"===o&&u.value===e.unitValue||"Tablet"===o&&c.value===e.unitValue,isSecondary:s.value!==e.unitValue||u.value!==e.unitValue||c.value!==e.unitValue,"aria-pressed":"Desktop"===o&&s.value===e.unitValue||"Mobile"===o&&u.value===e.unitValue||"Tablet"===o&&c.value===e.unitValue,"data-device-type":o,"aria-label":(0,M.sprintf)(/* translators: abbreviation for units */ /* translators: abbreviation for units */ -(0,M.__)("%s units","sureforms"),e.name),onClick:()=>{return t=e,void E("Mobile"===o?{[u.label]:t.unitValue}:"Tablet"===o?{[c.label]:t.unitValue}:{[s.label]:t.unitValue});var t}},e.unitValue)))),t})(F)))),G[o]?G[o]:G.Desktop,(0,w.createElement)("div",{className:"uagb-spacing-control__input-labels"},(0,w.createElement)("span",{className:"uagb-spacing-control__number-label"},(0,M.__)("Top","sureforms")),(0,w.createElement)("span",{className:"uagb-spacing-control__number-label"},(0,M.__)("Right","sureforms")),(0,w.createElement)("span",{className:"uagb-spacing-control__number-label"},(0,M.__)("Bottom","sureforms")),(0,w.createElement)("span",{className:"uagb-spacing-control__number-label"},(0,M.__)("Left","sureforms")),(0,w.createElement)("span",{className:"uagb-spacing-control__number-label uagb-spacing-control__link-label"}))),(0,w.createElement)(pe,{text:D})),j)},Jo=(0,x.memo)(e=>{const{children:t}=e,a=(0,x.useRef)(null),{getSelectedBlock:l}=(0,V.select)("core/block-editor"),n=l()?.name,o=i("uagSettingState"),[r,s]=(0,x.useState)("style");(0,x.useEffect)(()=>{s((()=>{let e="style";return a?.current?.parentElement?.classList.contains("uagb-tab-content-general")&&(e="general"),a?.current?.parentElement?.classList.contains("uagb-tab-content-advance")&&(e="advance"),e})())},[a]);const u=e?.title?e?.title.toLowerCase().replace(/[^a-zA-Z ]/g,"").replace(/\s+/g,"-"):"",c=n.split("/").pop(),g=(0,O.applyFilters)(`spectra.${c}.${r}.${u}.before`,"",n),d=(0,O.applyFilters)(`spectra.${c}.${r}.${u}`,"",n);return(0,w.createElement)(te.PanelBody,{...e,onToggle:()=>{"enabled"===srfm_spec_blocks_info.collapse_panels&&function(e){const t=[];let a=e.parentNode.firstChild;for(;a;)1===a.nodeType&&a!==e&&a.classList.contains("is-opened")&&t.push(a),a=a.nextSibling;return t}(a.current).forEach(e=>{e.querySelector(".components-button").click()});let e=!1;a?.current?.classList.forEach(function(t){t.includes("uag-advance-panel-body")&&(e=t)});let t="style";a?.current?.parentElement?.classList.contains("uagb-tab-content-general")&&(t="general"),a?.current?.parentElement?.classList.contains("uagb-tab-content-advance")&&(t="advance");const l={...o,[n]:{...o?.[n],selectedPanel:e,selectedTab:t}},r=i();r&&r.setItem("uagSettingState",JSON.stringify(l))},ref:a,className:`uag-advance-panel-body-${u}`},g,t,d)}),Xo=(0,x.memo)(e=>{const{attributes:t,setAttributes:a,deviceType:i}=e,{separatorStyle:l,separatorAlign:n,separatorAlignTablet:o,separatorAlignMobile:r,separatorWidth:s,separatorWidthTablet:u,separatorWidthMobile:c,separatorWidthType:g,separatorColor:d,separatorBorderHeight:p,separatorBorderHeightMobile:h,separatorBorderHeightTablet:m,separatorBorderHeightUnit:b,separatorSize:f,separatorSizeMobile:v,separatorSizeTablet:y,separatorSizeType:x,elementType:_,separatorText:k,separatorTextTag:S,separatorIcon:C,elementPosition:T,elementSpacing:E,elementSpacingTablet:D,elementSpacingMobile:L,elementSpacingUnit:B,elementTextLoadGoogleFonts:H,elementTextFontFamily:A,elementTextFontWeight:R,elementTextFontSize:P,elementTextFontSizeType:z,elementTextFontSizeTablet:O,elementTextFontSizeMobile:F,elementTextLineHeightType:I,elementTextLineHeight:N,elementTextLineHeightTablet:V,elementTextLineHeightMobile:G,elementTextFontStyle:W,elementTextLetterSpacing:U,elementTextLetterSpacingTablet:j,elementTextLetterSpacingMobile:q,elementTextLetterSpacingType:$,elementTextDecoration:Z,elementTextTransform:K,elementColor:Y,elementIconWidth:J,elementIconWidthTablet:X,elementIconWidthMobile:Q,elementIconWidthType:ee,blockTopPadding:ae,blockRightPadding:ie,blockLeftPadding:le,blockBottomPadding:ne,blockTopPaddingTablet:oe,blockRightPaddingTablet:re,blockLeftPaddingTablet:se,blockBottomPaddingTablet:ue,blockTopPaddingMobile:ce,blockRightPaddingMobile:ge,blockLeftPaddingMobile:pe,blockBottomPaddingMobile:he,blockPaddingUnit:me,blockPaddingUnitTablet:be,blockPaddingUnitMobile:fe,blockPaddingLink:ve,blockTopMargin:we,blockRightMargin:ye,blockLeftMargin:xe,blockBottomMargin:_e,blockTopMarginTablet:ke,blockRightMarginTablet:Se,blockLeftMarginTablet:Ce,blockBottomMarginTablet:Me,blockTopMarginMobile:Te,blockRightMarginMobile:Ee,blockLeftMarginMobile:De,blockBottomMarginMobile:Le,blockMarginUnit:Be,blockMarginUnitTablet:He,blockMarginUnitMobile:Ae,blockMarginLink:Re}=t;return(0,w.createElement)("div",null,(0,w.createElement)(Pi.InspectorControls,null,(0,w.createElement)(di,null,(0,w.createElement)(pi,{...hi},(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Jo,{title:(0,M.__)("Separator","sureforms"),initialOpen:!0},(0,w.createElement)(de,{label:(0,M.__)("Style","sureforms"),data:{value:l,label:"separatorStyle"},help:"none"!==l&&"dotted"!==l&&"dashed"!==l&&"double"!==l&&"solid"!==l&&(0,M.__)("Note: Please set Separator Height for proper thickness.","sureforms"),setAttributes:a,options:[{value:"none",label:(0,M.__)("None","sureforms")},{value:"dotted",label:(0,M.__)("Dotted","sureforms")},{value:"dashed",label:(0,M.__)("Dashed","sureforms")},{value:"double",label:(0,M.__)("Double","sureforms")},{value:"solid",label:(0,M.__)("Solid","sureforms")},{value:"rectangles",label:(0,M.__)("Rectangles","sureforms")},{value:"parallelogram",label:(0,M.__)("Parallelogram","sureforms")},{value:"slash",label:(0,M.__)("Slash","sureforms")},{value:"leaves",label:(0,M.__)("Leaves","sureforms")}]}),(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Add Element","sureforms"),data:{value:_,label:"elementType"},options:[{value:"none",label:(0,M.__)("None","sureforms")},{value:"text",label:(0,M.__)("Text","sureforms")},{value:"icon",label:(0,M.__)("Icon","sureforms")}],showIcons:!1,responsive:!1}),"text"===_&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Xi,{label:(0,M.__)("Text","sureforms"),data:{value:k,label:"separatorText"},setAttributes:a,value:k}),(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Heading Tag","sureforms"),data:{value:S,label:"separatorTextTag"},options:[{value:"h1",label:(0,M.__)("H1","sureforms")},{value:"h2",label:(0,M.__)("H2","sureforms")},{value:"h3",label:(0,M.__)("H3","sureforms")},{value:"h4",label:(0,M.__)("H4","sureforms")},{value:"h5",label:(0,M.__)("H5","sureforms")},{value:"h6",label:(0,M.__)("H6","sureforms")},{value:"span",label:(0,M.__)("Span","sureforms")},{value:"p",label:(0,M.__)("P","sureforms")}]})),"icon"===_&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Wo,{label:(0,M.__)("Icon","sureforms"),value:C,onChange:e=>a({separatorIcon:e})}))))),(0,w.createElement)(pi,{...mi},(0,w.createElement)(Jo,{title:"Separator",initialOpen:!0},(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Alignment","sureforms"),data:{desktop:{value:n,label:"separatorAlign"},tablet:{value:o,label:"separatorAlignTablet"},mobile:{value:r,label:"separatorAlignMobile"}},className:"uagb-multi-button-alignment-control",options:[{value:"left",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-left")}),tooltip:(0,M.__)("Left","sureforms")},{value:"center",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-center")}),tooltip:(0,M.__)("Center","sureforms")},{value:"right",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-right")}),tooltip:(0,M.__)("Right","sureforms")}],showIcons:!0,responsive:!0}),(0,w.createElement)(Qi,{label:(0,M.__)("Width","sureforms"),data:{desktop:{value:s,label:"separatorWidth"},tablet:{value:u,label:"separatorWidthTablet"},mobile:{value:c,label:"separatorWidthMobile"}},min:0,max:"%"===g?100:500,unit:{value:g,label:"separatorWidthType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"},{name:(0,M.__)("%","sureforms"),unitValue:"%"}],setAttributes:a}),"solid"!==l&&"double"!==l&&"dotted"!==l&&"dashed"!==l&&"none"!==l&&(0,w.createElement)(Qi,{label:(0,M.__)("Size","sureforms"),data:{desktop:{value:f,label:"separatorSize"},tablet:{value:y,label:"separatorSizeTablet"},mobile:{value:v,label:"separatorSizeMobile"}},min:0,max:"%"===x?100:500,unit:{value:x,label:"separatorSizeType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"},{name:(0,M.__)("%","sureforms"),unitValue:"%"}],setAttributes:a}),"none"!==l&&(0,w.createElement)(Qi,{label:(0,M.__)("Separator Height","sureforms"),data:{desktop:{value:p,label:"separatorBorderHeight"},tablet:{value:m,label:"separatorBorderHeightTablet"},mobile:{value:h,label:"separatorBorderHeightMobile"}},min:0,max:"%"===x?100:500,unit:{value:b,label:"separatorBorderHeightUnit"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"},{name:(0,M.__)("%","sureforms"),unitValue:"%"}],setAttributes:a}),"none"!==l&&(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:d||"",data:{value:d,label:"separatorColor"},setAttributes:a})),"none"!==_&&(0,w.createElement)(Jo,{title:"text"===_?(0,M.__)("Text","sureforms"):(0,M.__)("Icon","sureforms"),initialOpen:!1},(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Alignment","sureforms"),responsive:!0,data:{desktop:{value:T,label:"elementPosition"},tablet:{value:T,label:"elementPosition"},mobile:{value:T,label:"elementPosition"}},className:"uagb-multi-button-alignment-control",options:[{value:"left",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-left")}),tooltip:(0,M.__)("Left","sureforms")},{value:"center",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-center")}),tooltip:(0,M.__)("Center","sureforms")},{value:"right",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-right")}),tooltip:(0,M.__)("Right","sureforms")}],showIcons:!0}),(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:Y||"",data:{value:Y,label:"elementColor"},setAttributes:a}),"text"===_&&(0,w.createElement)(Qa,{label:(0,M.__)("Typography","sureforms"),attributes:t,setAttributes:a,loadGoogleFonts:{value:H,label:"elementTextLoadGoogleFonts"},fontFamily:{value:A,label:"elementTextFontFamily"},fontWeight:{value:R,label:"elementTextFontWeight"},fontStyle:{value:W,label:"elementTextFontStyle"},fontSizeType:{value:z,label:"elementTextFontSizeType"},fontSize:{value:P,label:"elementTextFontSize"},fontSizeMobile:{value:F,label:"elementTextFontSizeMobile"},fontSizeTablet:{value:O,label:"elementTextFontSizeTablet"},lineHeightType:{value:I,label:"elementTextLineHeightType"},lineHeight:{value:N,label:"elementTextLineHeight"},lineHeightMobile:{value:G,label:"elementTextLineHeightMobile"},lineHeightTablet:{value:V,label:"elementTextLineHeightTablet"},letterSpacing:{value:U,label:"elementTextLetterSpacing"},letterSpacingTablet:{value:j,label:"elementTextLetterSpacingTablet"},letterSpacingMobile:{value:q,label:"elementTextLetterSpacingMobile"},letterSpacingType:{value:$,label:"elementTextLetterSpacingType"},transform:{value:K,label:"elementTextTransform"},decoration:{value:Z,label:"elementTextDecoration"}}),"icon"===_&&(0,w.createElement)(Qi,{label:(0,M.__)("Icon Size","sureforms"),data:{desktop:{value:J,label:"elementIconWidth"},tablet:{value:X,label:"elementIconWidthTablet"},mobile:{value:Q,label:"elementIconWidthMobile"}},min:0,max:100,unit:{value:ee,label:"elementIconWidthType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"},{name:(0,M.__)("EM","sureforms"),unitValue:"em"}],setAttributes:a}),(0,w.createElement)(Qi,{label:(0,M.__)("Spacing","sureforms"),data:{desktop:{value:E,label:"elementSpacing"},tablet:{value:D,label:"elementSpacingTablet"},mobile:{value:L,label:"elementSpacingMobile"}},min:0,max:500,unit:{value:B,label:"elementSpacingUnit"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"}],setAttributes:a})),(0,w.createElement)(Jo,{title:(0,M.__)("Spacing","sureforms"),initialOpen:!1},(0,w.createElement)(Yo,{label:(0,M.__)("Padding","sureforms"),valueTop:{value:ae,label:"blockTopPadding"},valueRight:{value:ie,label:"blockRightPadding"},valueBottom:{value:ne,label:"blockBottomPadding"},valueLeft:{value:le,label:"blockLeftPadding"},valueTopTablet:{value:oe,label:"blockTopPaddingTablet"},valueRightTablet:{value:re,label:"blockRightPaddingTablet"},valueBottomTablet:{value:ue,label:"blockBottomPaddingTablet"},valueLeftTablet:{value:se,label:"blockLeftPaddingTablet"},valueTopMobile:{value:ce,label:"blockTopPaddingMobile"},valueRightMobile:{value:ge,label:"blockRightPaddingMobile"},valueBottomMobile:{value:he,label:"blockBottomPaddingMobile"},valueLeftMobile:{value:pe,label:"blockLeftPaddingMobile"},unit:{value:me,label:"blockPaddingUnit"},mUnit:{value:fe,label:"blockPaddingUnitMobile"},tUnit:{value:be,label:"blockPaddingUnitTablet"},deviceType:i,attributes:t,setAttributes:a,link:{value:ve,label:"blockPaddingLink"}}),(0,w.createElement)(Yo,{label:(0,M.__)("Margin","sureforms"),valueTop:{value:we,label:"blockTopMargin"},valueRight:{value:ye,label:"blockRightMargin"},valueBottom:{value:_e,label:"blockBottomMargin"},valueLeft:{value:xe,label:"blockLeftMargin"},valueTopTablet:{value:ke,label:"blockTopMarginTablet"},valueRightTablet:{value:Se,label:"blockRightMarginTablet"},valueBottomTablet:{value:Me,label:"blockBottomMarginTablet"},valueLeftTablet:{value:Ce,label:"blockLeftMarginTablet"},valueTopMobile:{value:Te,label:"blockTopMarginMobile"},valueRightMobile:{value:Ee,label:"blockRightMarginMobile"},valueBottomMobile:{value:Le,label:"blockBottomMarginMobile"},valueLeftMobile:{value:De,label:"blockLeftMarginMobile"},unit:{value:Be,label:"blockMarginUnit"},mUnit:{value:Ae,label:"blockMarginUnitMobile"},tUnit:{value:He,label:"blockMarginUnitTablet"},deviceType:i,attributes:t,setAttributes:a,link:{value:Re,label:"blockMarginLink"}}))))))}),Qo=(0,x.memo)(e=>{const{attributes:{block_id:t,elementType:a,separatorText:i,separatorTextTag:l,separatorStyle:n,separatorIcon:o},className:r,deviceType:s}=e,u=function(e){const t={rectangles:"url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.4 0H16L9.6 16H0L6.4 0Z' fill='black'/%3E%3C/svg%3E\")",parallelogram:"url(\"data:image/svg+xml,%3Csvg width='8' height='16' viewBox='0 0 8 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='8' height='16' fill='black'/%3E%3C/svg%3E\")",slash:"url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.29312 16.9999L17 6.29302M14.2931 16.9999L17 14.293M-0.707031 15.9999L16.0002 -0.707153M8.00017 -0.707153L-0.706882 7.9999' stroke='black'/%3E%3C/svg%3E\")",leaves:"url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2356_5631)'%3E%3Cpath d='M15 1C10.5 1 9 2.5 9 7C13.5 7 15 5.5 15 1Z' stroke='black'/%3E%3Cpath d='M1 1C5.5 1 7 2.5 7 7C2.5 7 1 5.5 1 1Z' stroke='black'/%3E%3Cpath d='M15 15C10.5 15 9 13.5 9 9C13.5 9 15 10.5 15 15Z' stroke='black'/%3E%3Cpath d='M1 15C5.5 15 7 13.5 7 9C2.5 9 1 10.5 1 15Z' stroke='black'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2356_5631'%3E%3Crect width='16' height='16' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E\")"};return e in t?t[e]:""}(n),c=`${l}`,g="none"!==a?"wp-block-uagb-separator--"+a:"",d=(0,Pi.useBlockProps)({className:ue([r,`uagb-editor-preview-mode-${s.toLowerCase()}`,`uagb-block-${t}`,g])});return(0,w.createElement)("div",{...d},(0,w.createElement)("div",{className:ue([`uagb-editor-preview-mode-${s.toLowerCase()}`,`uagb-block-${t}`,"wp-block-uagb-separator","none"!==a?"wp-block-uagb-separator--"+a:""])},(0,w.createElement)("div",{className:"wp-block-uagb-separator__inner",style:{"--my-background-image":`${u}`}},"none"!==a&&(0,w.createElement)("div",{className:"wp-block-uagb-separator-element"},"icon"===a?zi(o):(0,w.createElement)(c,{className:"uagb-html-tag"},i)))))}),er=e=>e.reduce((e,t)=>{if(t?.attributes?.block_id&&t.name.includes("srfm")&&(e.blockIds.push(t.attributes.block_id),e.clientIds.push(t.clientId)),t.innerBlocks){const{blockIds:a,clientIds:i}=er(t.innerBlocks);e.blockIds=[...e.blockIds,...a],e.clientIds=[...e.clientIds,...i]}return e},{blockIds:[],clientIds:[]}),tr=e=>t=>{const{name:a,setAttributes:i,clientId:l,attributes:{block_id:n}}=t,o=["uagb/faq","uagb/buttons","uagb/icon-list","uagb/restaurant-menu","uagb/social-share","uagb/content-timeline","uagb/tabs","uagb/how-to"];return(0,x.useEffect)(()=>{srfm_spec_blocks_info.is_customize_preview&&("0"===n||void 0===n)&&o.includes(a)&&document.addEventListener(`UAG-${a}-${l.substr(0,8)}-BlockCustomizeWidgetEditor`,function(e){i({block_id:e.detail.id,classMigrate:e.detail.classMigrate,childMigrate:e.detail.childMigrate})})},[]),(0,x.useEffect)(()=>{if(srfm_spec_blocks_info.is_customize_preview&&("0"===n||void 0===n)&&o.includes(a)){const e=new CustomEvent(`UAG-${a}-${l.substr(0,8)}-BlockCustomizeWidgetEditor`,{detail:{id:l.substr(0,8),classMigrate:!0,childMigrate:!0}});document.dispatchEvent(e)}},[t.attributes]),(0,x.useEffect)(()=>{const e={block_id:l.substr(0,8)};if(["uagb/post-carousel","uagb/post-grid","uagb/post-masonry"].includes(a)&&(e.allTaxonomyStore=void 0),["uagb/countdown"].includes(a)&&(e.editorInnerblocksPreview=!1),["uagb/cf7-styler","uagb/gf-styler"].includes(a)&&(e.isHtml=!1),["uagb/buttons","uagb/icon-list","uagb/restaurant-menu","uagb/social-share","uagb/content-timeline","uagb/instagram-feed"].includes(a)&&(e.childMigrate=!0),["uagb/advanced-heading","uagb/blockquote","uagb/buttons","uagb/call-to-action","uagb/column","uagb/columns","uagb/icon-list","uagb/marketing-button","uagb/image-gallery","uagb/info-box","uagb/lottie","uagb/restaurant-menu","uagb/section","uagb/social-share","uagb/content-timeline","uagb/table-of-contents","uagb/team","uagb/testimonial","uagb/instagram-feed","uagb/login","uagb/register"].includes(a)&&(e.classMigrate=!0),["uagb/image-gallery","srfm/separator","srfm/icon","srfm/image"].includes(a))i(e);else{const t=(0,V.select)("core/editor")?.getBlocks(),{blockIds:a,clientIds:o}=t?er(t):{blockIds:[],clientIds:[]};"not_set"!==n&&"0"!==n&&n&&!((e,t,a)=>e.filter(e=>e===t).length>1&&a===e.lastIndexOf(t))(a,n,o.indexOf(l))||i(e)}},[l]),(0,w.createElement)(e,{...t})},ar=(0,X.compose)(ee,tr)(e=>{const{isSelected:t,attributes:a,attributes:{UAGHideDesktop:i,UAGHideTab:l,UAGHideMob:n},name:o,clientId:r,deviceType:s}=e;(0,x.useEffect)(()=>{N(e)},[i,l,n,s]),(0,x.useEffect)(()=>{G()},[s]);const u=(0,x.useMemo)(()=>function(e,t,a,i){const l=a.replace("srfm/",""),n=i.toLowerCase(),{block_id:o,separatorAlign:r,separatorAlignTablet:s,separatorAlignMobile:u,separatorStyle:c,separatorColor:g,separatorWidth:d,separatorWidthTablet:p,separatorWidthMobile:h,separatorWidthType:m,separatorBorderHeight:b,separatorBorderHeightMobile:f,separatorBorderHeightTablet:v,separatorBorderHeightUnit:w,separatorSize:y,separatorSizeTablet:x,separatorSizeMobile:_,separatorSizeType:k,elementType:S,elementPosition:C,elementSpacing:M,elementSpacingTablet:T,elementSpacingMobile:L,elementSpacingUnit:B,elementTextFontFamily:H,elementTextFontWeight:A,elementTextFontSize:R,elementTextFontSizeType:P,elementTextFontSizeTablet:z,elementTextFontSizeMobile:O,elementTextLineHeightType:N,elementTextLineHeight:V,elementTextLineHeightTablet:G,elementTextLineHeightMobile:W,elementTextFontStyle:U,elementTextLetterSpacing:j,elementTextLetterSpacingTablet:q,elementTextLetterSpacingMobile:$,elementTextLetterSpacingType:Z,elementTextDecoration:K,elementTextTransform:Y,elementColor:J,elementIconWidth:X,elementIconWidthTablet:Q,elementIconWidthMobile:ee,elementIconWidthType:te,blockTopPadding:ae,blockRightPadding:ie,blockLeftPadding:le,blockBottomPadding:ne,blockTopPaddingTablet:oe,blockRightPaddingTablet:re,blockLeftPaddingTablet:se,blockBottomPaddingTablet:ue,blockTopPaddingMobile:ce,blockRightPaddingMobile:ge,blockLeftPaddingMobile:de,blockBottomPaddingMobile:pe,blockPaddingUnit:he,blockPaddingUnitTablet:me,blockPaddingUnitMobile:be,blockTopMargin:fe,blockRightMargin:ve,blockLeftMargin:we,blockBottomMargin:ye,blockTopMarginTablet:xe,blockRightMarginTablet:_e,blockLeftMarginTablet:ke,blockBottomMarginTablet:Se,blockTopMarginMobile:Ce,blockRightMarginMobile:Me,blockLeftMarginMobile:Te,blockBottomMarginMobile:Ee,blockMarginUnit:De,blockMarginUnitTablet:Le,blockMarginUnitMobile:Be}=e,He=F(d,"separatorWidth",l),Ae=F(p,"separatorWidthTablet",l),Re=F(h,"separatorWidthMobile",l),Pe=F(b,"separatorBorderHeight",l),ze=F(f,"separatorBorderHeightMobile",l),Oe=F(v,"separatorBorderHeightTablet",l),Fe=F(y,"separatorSize",l),Ie=F(x,"separatorSizeTablet",l),Ne=F(_,"separatorSizeMobile",l),Ve={"border-top-width":D(Pe,w),"-webkit-mask-size":`${D(Fe,k)} 100%`,width:D(He,m),"border-top-color":g,"border-top-style":c};let Ge={};const We={};if("none"===S)Ge={".wp-block-uagb-separator .wp-block-uagb-separator__inner":{"margin-top":"5px","margin-bottom":"5px",...Ve}};else{const e=I(r);Ge={".wp-block-uagb-separator .wp-block-uagb-separator__inner":{width:D(He,m),...e},".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::before":Ve,".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::before":Ve,".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::after":Ve,".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::after":Ve},"left"===C&&(We[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-right":D(M,B)},Ge[".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::before"]={display:"none"},Ge[".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::before"]={display:"none"}),"right"===C&&(We[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-left":D(M,B)},Ge[".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::after"]={display:"none"},Ge[".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::after"]={display:"none"}),"center"===C&&(We[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-right":D(M,B),"margin-left":D(M,B)})}const Ue={...Ge,...We,".wp-block-uagb-separator--text .wp-block-uagb-separator-element .uagb-html-tag":{"font-family":H,"font-style":U,"text-decoration":K,"text-transform":Y,"font-weight":A,"font-size":D(R,P),"line-height":D(V,N),"letter-spacing":D(j,Z),color:J,margin:0},".wp-block-uagb-separator--icon .wp-block-uagb-separator-element svg":{"font-size":D(X,te),width:D(X,te),height:D(X,te),"line-height":D(X,te),color:J,fill:J},".wp-block-srfm-separator":{"margin-top":D(fe,De||"px"),"margin-right":D(ve,De||"px"),"margin-bottom":D(ye,De||"px"),"margin-left":D(we,De||"px")},".wp-block-uagb-separator":{"padding-top":D(ae,he||"px"),"padding-right":D(ie,he||"px"),"padding-bottom":D(ne,he||"px"),"padding-left":D(le,he||"px"),"text-align":r}},je={"border-top-width":D(Oe,w),"-webkit-mask-size":`${D(Ie,k)} 100%`,width:D(Ae,m),"border-top-color":g,"border-top-style":c};let qe={};const $e={};if("none"===S)qe={".wp-block-uagb-separator .wp-block-uagb-separator__inner":{"margin-top":"5px","margin-bottom":"5px",...je}};else{const e=I(s);qe={".wp-block-uagb-separator .wp-block-uagb-separator__inner":{width:D(Ae,m),...e},".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::before":je,".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::before":je,".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::after":je,".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::after":je},"left"===C&&($e[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-right":D(T,B)},qe[".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::before"]={display:"none"},qe[".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::before"]={display:"none"}),"center"===C&&($e[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-left":D(T,B),"margin-right":D(T,B)}),"right"===C&&($e[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-left":D(T,B)},qe[".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::after"]={display:"none"},qe[".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::after"]={display:"none"})}const Ze={...qe,...$e,".wp-block-uagb-separator--text .wp-block-uagb-separator-element .uagb-html-tag":{"font-family":H,"font-style":U,"text-decoration":K,"text-transform":Y,"font-weight":A,"font-size":D(z,P),"line-height":D(G,N),"letter-spacing":D(q,Z),color:J,margin:0},".wp-block-uagb-separator--icon .wp-block-uagb-separator-element svg":{"font-size":D(Q,te),width:D(Q,te),height:D(Q,te),"line-height":D(Q,te),color:J,fill:J},".wp-block-srfm-separator":{"margin-top":D(xe,Le||"px"),"margin-right":D(_e,Le||"px"),"margin-bottom":D(Se,Le||"px"),"margin-left":D(ke,Le||"px")},".wp-block-uagb-separator":{"padding-top":D(oe,me||"px"),"padding-right":D(re,me||"px"),"padding-bottom":D(ue,me||"px"),"padding-left":D(se,me||"px"),"text-align":s}},Ke={"border-top-width":D(ze,w),"-webkit-mask-size":`${D(Ne,k)} 100%`,width:D(Re,m),"border-top-color":g,"border-top-style":c};let Ye={};const Je={};if("none"===S)Ye={".wp-block-uagb-separator .wp-block-uagb-separator__inner":{"margin-top":"5px","margin-bottom":"5px",...Ke}};else{const e=I(u);Ye={".wp-block-uagb-separator .wp-block-uagb-separator__inner":{width:D(Re,m),...e},".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::before":Ke,".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::before":Ke,".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::after":Ke,".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::after":Ke},"left"===C&&(Je[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-right":D(L,B)},Ye[".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::before"]={display:"none"},Ye[".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::before"]={display:"none"}),"center"===C&&(Je[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-left":D(L,B),"margin-right":D(L,B)}),"right"===C&&(Je[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-left":D(L,B)},Ye[".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::after"]={display:"none"},Ye[".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::after"]={display:"none"})}const Xe={...Ye,...Je,".wp-block-uagb-separator--text .wp-block-uagb-separator-element .uagb-html-tag":{"font-family":H,"font-style":U,"text-decoration":K,"text-transform":Y,"font-weight":A,"font-size":D(O,P),"line-height":D(W,N),"letter-spacing":D($,Z),color:J,margin:0},".wp-block-uagb-separator--icon .wp-block-uagb-separator-element svg":{"font-size":D(ee,te),width:D(ee,te),height:D(ee,te),"line-height":D(ee,te),color:J,fill:J},".wp-block-srfm-separator":{"margin-top":D(Ce,Be||"px"),"margin-right":D(Me,Be||"px"),"margin-bottom":D(Ee,Be||"px"),"margin-left":D(Te,Be||"px")},".wp-block-uagb-separator":{"padding-top":D(ce,be||"px"),"padding-right":D(ge,be||"px"),"padding-bottom":D(pe,be||"px"),"padding-left":D(de,be||"px"),"text-align":u}},Qe=`.editor-styles-wrapper .uagb-block-${o}`;let et=E(Ue,Qe);return"tablet"!==n&&"mobile"!==n||(et+=E(Ze,`${Qe}`,!0,"tablet"),"mobile"===n&&(et+=E(Xe,`${Qe}`,!0,"mobile"))),et}(a,0,o,s),[a,s]);return(0,w.createElement)(w.Fragment,null,(0,w.createElement)(W,{blockStyling:u}),(0,w.createElement)(J,{attributes:a}),t&&(0,w.createElement)(Xo,{...e}),(0,w.createElement)(Qo,{...e}))}),ir=window.wp.blocks,lr=({image:e,isChildren:t=!1})=>{e||console.error(__("Please add preview image.","sureforms"));let a=srfm_spec_blocks_info.srfm_url;return a+="/images/field-previews/",t&&(a+="children/"),a+=e+".svg",(0,w.createElement)("img",{width:"100%",src:a,alt:""})},nr=function(e={}){let t={example:{attributes:{isPreview:!0}},usesContext:["postId","postType"]};return"site-editor"===srfm_spec_blocks_info.is_site_editor&&(t={}),(0,O.applyFilters)("addCommonDataToSpectraBlocks",{...e,...t})},or=(0,O.applyFilters)("srfm/separator",nr({}));(0,ir.registerBlockType)("srfm/separator",{...or,apiVersion:3,title:(0,M.__)("Separator","sureforms"),description:(0,M.__)("Add a modern separator to divide your page content with icon/text.","sureforms"),supports:{html:!1},icon:C.separator,category:srfm_spec_blocks_info.category,keywords:[(0,M.__)("divider","sureforms"),(0,M.__)("separator","sureforms")],attributes:T,edit:e=>e.attributes.isPreview?(0,w.createElement)(lr,{image:"separator"}):(0,w.createElement)(ar,{...e}),save:()=>null});var rr=a(6323),sr={};rr.A&&rr.A.locals&&(sr.locals=rr.A.locals);var ur,cr=0,gr={attributes:{id:"uagb-editor-styles"}};gr.setAttributes=g(),gr.insert=u().bind(null,"head"),gr.domAPI=r(),gr.insertStyleElement=p(),sr.use=function(e){return gr.options=e||{},cr++||(ur=n()(rr.A,gr)),sr},sr.unuse=function(){cr>0&&! --cr&&(ur(),ur=null)};const dr=sr,pr=e=>{const[t,a]=(0,x.useState)(null),i=(0,x.useRef)(null),{getSelectedBlock:l}=(0,V.select)("core/block-editor");(0,x.useLayoutEffect)(()=>(dr.use(),()=>{dr.unuse()}),[]);const{setAttributes:n,gradientType:o,backgroundGradient:r,backgroundGradientColor2:s,backgroundGradientColor1:u,backgroundGradientType:c,backgroundGradientLocation1:g,backgroundGradientLocation2:d,backgroundGradientAngle:p}=e,h=l()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(i))},[h]);const m="gradient-settings",b=(0,O.applyFilters)(`spectra.${h}.${t}.${m}.before`,"",h),f=(0,O.applyFilters)(`spectra.${h}.${t}.${m}`,"",h),v=void 0!==o?o.value:"basic";return(0,w.createElement)(w.Fragment,null,void 0!==o&&(0,w.createElement)(Ri,{setAttributes:n,label:"Select Gradient",data:{value:o.value,label:o.label},options:[{value:"basic",label:(0,M.__)("Basic","sureforms")},{value:"advanced",label:(0,M.__)("Advanced","sureforms")}],showIcons:!1}),(0,w.createElement)("div",{ref:i},b,"basic"===v&&(0,w.createElement)(te.GradientPicker,{__nextHasNoMargin:!0,value:r?.value||null,onChange:e=>{n({[r.label]:e})},className:"uagb-gradient-picker",gradients:[]}),f),"advanced"===v&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Ti,{label:(0,M.__)("Color 1","sureforms"),colorValue:u.value?u.value:"",data:{value:u.value,label:u.label},setAttributes:n}),(0,w.createElement)(Ti,{label:(0,M.__)("Color 2","sureforms"),colorValue:s.value?s.value:"",data:{value:s.value,label:s.label},setAttributes:n}),(0,w.createElement)(Ri,{setAttributes:n,label:(0,M.__)("Type","sureforms"),data:{value:c.value,label:c.label},className:"uagb-multi-button-alignment-control",options:[{value:"linear",label:(0,M.__)("Linear","sureforms")},{value:"radial",label:(0,M.__)("Radial","sureforms")}]}),(0,w.createElement)(Me,{label:(0,M.__)("Location 1","sureforms"),setAttributes:n,value:g.value,data:{value:g.value,label:g.label},min:0,max:100,displayUnit:!1}),(0,w.createElement)(Me,{label:(0,M.__)("Location 2","sureforms"),setAttributes:n,value:d.value,data:{value:d.value,label:d.label},min:0,max:100,displayUnit:!1}),"linear"===c.value&&(0,w.createElement)(Me,{label:(0,M.__)("Angle","sureforms"),setAttributes:n,value:p.value,data:{value:p.value,label:p.label},min:0,max:360,displayUnit:!1})))};var hr=a(5001),mr={};hr.A&&hr.A.locals&&(mr.locals=hr.A.locals);var br,fr=0,vr={attributes:{id:"uagb-editor-styles"}};vr.setAttributes=g(),vr.insert=u().bind(null,"head"),vr.domAPI=r(),vr.insertStyleElement=p(),mr.use=function(e){return vr.options=e||{},fr++||(br=n()(hr.A,vr)),mr},mr.unuse=function(){fr>0&&! --fr&&(br(),br=null)};const wr=mr;function yr({label:e,type:t,classic:a,gradient:i,setAttributes:l}){const[n,o]=(0,x.useState)(null),r=(0,x.useRef)(null);(0,x.useLayoutEffect)(()=>(wr.use(),()=>{wr.unuse()}),[]);const{getSelectedBlock:s}=(0,V.select)("core/block-editor"),u=s()?.name.split("/").pop();(0,x.useEffect)(()=>{o(se(r))},[u]);const c=ce(e),g=(0,O.applyFilters)(`spectra.${u}.${n}.${c}.before`,"",u),d=(0,O.applyFilters)(`spectra.${u}.${n}.${c}`,"",u);return(0,w.createElement)("div",{ref:r,className:"components-base-control"},g,(0,w.createElement)("div",{className:"uagb-color-switch-control-container"},(0,w.createElement)(Ri,{setAttributes:l,label:e,data:t,className:"uagb-multi-button-alignment-control",options:[{value:"classic",label:(0,M.__)("Classic","sureforms")},{value:"gradient",label:(0,M.__)("Gradient","sureforms")}],showIcons:!1}),"classic"===t.value?(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:a.value,data:{value:a.value,label:a.label},setAttributes:l}):(0,w.createElement)(pr,{backgroundGradient:i,setAttributes:l})),d)}const xr=e=>{const[t,a]=(0,x.useState)(!1),[l,n]=(0,x.useState)(null),o=(0,x.useRef)(null),{setAttributes:r,textShadowColor:s,textShadowHOffset:u,textShadowVOffset:c,textShadowBlur:g,label:d=(0,M.__)("Text Shadow","sureforms"),popup:p=!1,blockId:h,help:m=!1}=e;let b;const f=t?"active":"";(0,x.useLayoutEffect)(()=>{window.addEventListener("click",function(e){const t=document.querySelector(`.active.popup-${h} .spectra-control-popup__options--action-button`),l=document.querySelector(`.active.popup-${h} .spectra-control-popup`);if(t&&!t?.contains(e.target)&&!e.target?.classList?.contains("uagb-advanced-color-indicate")&&!e.target?.parentElement?.closest(".uagb-popover-color")&&l&&!l?.contains(e.target)&&!e.target?.parentElement?.closest(".uagb-reset")){a(!1);const e=y()?.name,t=i("uagSettingState"),l={...t,[e]:{...t?.[e],selectedSetting:!1}},n=i();n&&n.setItem("uagSettingState",JSON.stringify(l))}})},[]);const v=[s.label,u.label,c.label,g.label],{getSelectedBlock:y}=(0,V.select)("core/block-editor"),_=y()?.name.split("/").pop();(0,x.useEffect)(()=>{n(se(o))},[_]);const k=p&&(()=>{const e=(()=>{const e=y()?.name.split("/").pop();let t=!1;return void 0!==z[e]&&v.forEach(a=>{if(a){const i=void 0!==z[e][a]?.default?z[e][a]?.default:"";t={...t,[a]:i}}}),t})(),t=y()?.attributes;let a=!1;return v.forEach(i=>{t?.[i]&&t?.[i]!==e?.[i]&&(a=!0)}),a})(),S=(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Ti,{label:s.title,colorValue:s.value,data:{value:s.value,label:s.label},setAttributes:r}),(0,w.createElement)(Me,{label:u.title,value:u.value,min:-100,max:100,displayUnit:!1,setAttributes:r,data:{value:u.value,label:u.label}}),(0,w.createElement)(Me,{label:c.title,value:c.value,min:-100,max:100,displayUnit:!1,setAttributes:r,data:{value:c.value,label:c.label}}),(0,w.createElement)(Me,{label:g.title,value:g.value,min:0,max:100,displayUnit:!1,setAttributes:r,data:{value:g.value,label:g.label}}));t&&(b=(0,w.createElement)("div",{className:"uagb-text-shadow-advanced spectra-control-popup"},S));const C=(0,w.createElement)("div",{className:"spectra-control-popup__options--action-wrapper"},(0,w.createElement)("span",{className:"uag-control-label"},d,k&&(0,w.createElement)("div",{className:"spectra__change-indicator--dot-right"})),(0,w.createElement)(te.Button,{className:"uag-text-shadow-button spectra-control-popup__options--action-button","aria-pressed":t,onClick:()=>{const e=document.querySelectorAll(".spectra-control-popup__options");if(e&&00&&! --Cr&&(Sr(),Sr=null)};const Tr=kr,Er=e=>{const[t,a]=(0,x.useState)(null),l=(0,x.useRef)(null);(0,x.useLayoutEffect)(()=>(Tr.use(),()=>{Tr.unuse()}),[]);const{getSelectedBlock:n}=(0,V.select)("core/block-editor"),o=n()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(l))},[o]);const r=(0,x.useRef)(null),s=3===e.tabs.length?"uag-control-tabs-three-tabs ":"",u=e.tabs.map((e,t)=>({...e,className:`uagb-tab-${t+1} ${e?.name}`})),c="tabs",g=(0,O.applyFilters)(`spectra.${o}.${t}.${c}.before`,"",o),d=(0,O.applyFilters)(`spectra.${o}.${t}.${c}`,"",o);return(0,w.createElement)("div",{ref:l},g,(0,w.createElement)(te.TabPanel,{className:`uag-control-tabs ${s}`,activeClass:"active-tab",tabs:u,ref:r,onSelect:e=>{const t=document.getElementsByClassName("uag-control-tabs")[0]?.querySelector(`.${e}`);let a=!1;t&&t?.classList&&t?.classList.forEach(e=>{e.includes("uagb-tab")&&(a=`.${e}`)});const l=n()?.name,o=i("uagSettingState"),r={...o,[l]:{...o?.[l],selectedInnerTab:a}},s=i();s&&s.setItem("uagSettingState",JSON.stringify(r))}},t=>(0,w.createElement)("div",{className:"uag-control-tabs-output"},e[t.name])),!e?.disableBottomSeparator&&(0,w.createElement)(Ui,null),(0,w.createElement)(pe,{text:e.help}),d)},Dr={prefix:j().string,borderStyleLabel:j().string,borderWidthLabel:j().string,borderRadiusLabel:j().string,borderColorLabel:j().string},Lr={borderStyleLabel:(0,M.__)("Style","sureforms"),borderWidthLabel:(0,M.__)("Width","sureforms"),borderRadiusLabel:(0,M.__)("Radius","sureforms"),borderColorLabel:(0,M.__)("Color","sureforms"),borderHoverColorLabel:(0,M.__)("Color","sureforms")},Br=e=>{const[t,a]=(0,x.useState)(null),i=(0,x.useRef)(null),{attributes:l,setAttributes:n,disabledBorderTitle:o,disableBottomSeparator:r,deviceType:s,prefix:u,borderStyleLabel:c,borderWidthLabel:g,borderRadiusLabel:d,borderColorLabel:p,borderHoverColorLabel:h,showWidth:m,label:b=(0,M.__)("Border","sureforms"),normalTabLabel:f=(0,M.__)("Normal","sureforms"),hoverTabLabel:v=(0,M.__)("Hover","sureforms"),borderRadiusHelp:y,help:_=!1}=e,{getSelectedBlock:k}=(0,V.select)("core/block-editor"),S=k()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(i))},[S]);const C=[{name:"normal",title:f}];C.push({name:"hover",title:v});const T=l[u+"BorderStyle"],E=(0,w.createElement)(Ti,{label:p,colorValue:l[u+"BorderColor"]?l[u+"BorderColor"]:"",data:{value:l[u+"BorderColor"],label:u+"BorderColor"},setAttributes:n}),D=(0,w.createElement)(Ti,{label:h,colorValue:l[u+"BorderHColor"]?l[u+"BorderHColor"]:"",data:{value:l[u+"BorderHColor"],label:u+"BorderHColor"},setAttributes:n}),L=(0,w.createElement)(w.Fragment,null,!o&&(0,w.createElement)("p",{className:"spectra-panel__body-sub-heading"},b),(0,w.createElement)(de,{label:c,data:{value:T,label:u+"BorderStyle"},setAttributes:n,options:[{value:"default",label:(0,M.__)("Default","sureforms")},{value:"none",label:(0,M.__)("None","sureforms")},{value:"solid",label:(0,M.__)("Solid","sureforms")},{value:"dotted",label:(0,M.__)("Dotted","sureforms")},{value:"dashed",label:(0,M.__)("Dashed","sureforms")},{value:"double",label:(0,M.__)("Double","sureforms")},{value:"groove",label:(0,M.__)("Groove","sureforms")},{value:"inset",label:(0,M.__)("Inset","sureforms")},{value:"outset",label:(0,M.__)("Outset","sureforms")},{value:"ridge",label:(0,M.__)("Ridge","sureforms")}]}),"default"!==T&&"none"!==T&&!1!==m&&(0,w.createElement)(Yo,{label:g,valueTop:{value:l[u+"BorderTopWidth"],label:u+"BorderTopWidth"},valueRight:{value:l[u+"BorderRightWidth"],label:u+"BorderRightWidth"},valueBottom:{value:l[u+"BorderBottomWidth"],label:u+"BorderBottomWidth"},valueLeft:{value:l[u+"BorderLeftWidth"],label:u+"BorderLeftWidth"},valueTopTablet:{value:l[u+"BorderTopWidthTablet"],label:u+"BorderTopWidthTablet"},valueRightTablet:{value:l[u+"BorderRightWidthTablet"],label:u+"BorderRightWidthTablet"},valueBottomTablet:{value:l[u+"BorderBottomWidthTablet"],label:u+"BorderBottomWidthTablet"},valueLeftTablet:{value:l[u+"BorderLeftWidthTablet"],label:u+"BorderLeftWidthTablet"},valueTopMobile:{value:l[u+"BorderTopWidthMobile"],label:u+"BorderTopWidthMobile"},valueRightMobile:{value:l[u+"BorderRightWidthMobile"],label:u+"BorderRightWidthMobile"},valueBottomMobile:{value:l[u+"BorderBottomWidthMobile"],label:u+"BorderBottomWidthMobile"},valueLeftMobile:{value:l[u+"BorderLeftWidthMobile"],label:u+"BorderLeftWidthMobile"},disableUnits:!0,deviceType:s,attributes:l,setAttributes:n,link:{value:l[u+"BorderLink"],label:u+"BorderLink"},min:0}),"default"!==T&&(0,w.createElement)(Yo,{label:d,valueTop:{value:l[u+"BorderTopLeftRadius"],label:u+"BorderTopLeftRadius"},valueRight:{value:l[u+"BorderTopRightRadius"],label:u+"BorderTopRightRadius"},valueBottom:{value:l[u+"BorderBottomRightRadius"],label:u+"BorderBottomRightRadius"},valueLeft:{value:l[u+"BorderBottomLeftRadius"],label:u+"BorderBottomLeftRadius"},valueTopTablet:{value:l[u+"BorderTopLeftRadiusTablet"],label:u+"BorderTopLeftRadiusTablet"},valueRightTablet:{value:l[u+"BorderTopRightRadiusTablet"],label:u+"BorderTopRightRadiusTablet"},valueBottomTablet:{value:l[u+"BorderBottomRightRadiusTablet"],label:u+"BorderBottomRightRadiusTablet"},valueLeftTablet:{value:l[u+"BorderBottomLeftRadiusTablet"],label:u+"BorderBottomLeftRadiusTablet"},valueTopMobile:{value:l[u+"BorderTopLeftRadiusMobile"],label:u+"BorderTopLeftRadiusMobile"},valueRightMobile:{value:l[u+"BorderTopRightRadiusMobile"],label:u+"BorderTopRightRadiusMobile"},valueBottomMobile:{value:l[u+"BorderBottomRightRadiusMobile"],label:u+"BorderBottomRightRadiusMobile"},valueLeftMobile:{value:l[u+"BorderBottomLeftRadiusMobile"],label:u+"BorderBottomLeftRadiusMobile"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"},{name:(0,M.__)("%","sureforms"),unitValue:"%"}],unit:{value:l[u+"BorderRadiusUnit"],label:u+"BorderRadiusUnit"},mUnit:{value:l[u+"BorderRadiusUnitMobile"],label:u+"BorderRadiusUnitMobile"},tUnit:{value:l[u+"BorderRadiusUnitTablet"],label:u+"BorderRadiusUnitTablet"},deviceType:s,attributes:l,setAttributes:n,link:{value:l[u+"BorderRadiusLink"],label:u+"BorderRadiusLink"},help:y||!1,min:0}),"none"!==T&&"default"!==T&&(0,w.createElement)(Er,{tabs:C,normal:E,hover:D,active:"",disableBottomSeparator:!0}),!r&&(0,w.createElement)(Ui,null),(0,w.createElement)(pe,{text:_})),B=ce(e.label),H=(0,O.applyFilters)(`spectra.${S}.${t}.${B}.before`,"",S),A=(0,O.applyFilters)(`spectra.${S}.${t}.${B}`,"",S);return(0,w.createElement)("div",{ref:i},H,L,A)},Hr=Br;Br.propTypes=Dr,Br.defaultProps=Lr;const Ar=(0,x.memo)(e=>{const{attributes:t,deviceType:a,setAttributes:i}=e,{block_id:l,headingTitleToggle:n,headingAlign:o,headingAlignTablet:r,headingAlignMobile:s,headingColorType:u,headingColor:c,headingGradientColor:g,blockBackgroundType:d,blockBackground:p,blockGradientBackground:h,subHeadingColor:m,subHeadSpace:b,subHeadSpaceTablet:f,subHeadSpaceMobile:v,subHeadSpaceType:y,separatorColor:x,headingTag:_,headingWrapper:k,headFontFamily:S,headFontWeight:C,headFontStyle:T,headFontSizeType:E,headFontSizeTypeMobile:D,headFontSizeTypeTablet:L,headFontSize:B,headFontSizeMobile:H,headFontSizeTablet:A,headLineHeightType:R,headLineHeight:P,headLineHeightMobile:z,headLineHeightTablet:F,headLetterSpacing:I,headLetterSpacingTablet:N,headLetterSpacingMobile:V,headLetterSpacingType:G,headShadowColor:W,headShadowHOffset:U,headShadowVOffset:j,headShadowBlur:q,headingDescToggle:$,headingDescPosition:Z,subHeadFontFamily:K,subHeadFontWeight:Y,subHeadFontStyle:J,subHeadFontSize:X,subHeadFontSizeType:Q,subHeadFontSizeTypeMobile:ee,subHeadFontSizeTypeTablet:ae,subHeadFontSizeMobile:ie,subHeadFontSizeTablet:le,subHeadLineHeight:ne,subHeadLineHeightType:oe,subHeadLineHeightMobile:re,subHeadLineHeightTablet:se,headTransform:ue,headDecoration:ce,subHeadTransform:ge,subHeadDecoration:pe,separatorWidth:he,separatorWidthTablet:me,separatorWidthMobile:be,separatorWidthType:fe,separatorStyle:ve,separatorPosition:we,separatorHeight:ye,separatorHeightType:xe,headSpace:_e,headSpaceTablet:ke,headSpaceMobile:Se,headSpaceType:Ce,separatorSpace:Te,separatorSpaceTablet:Ee,separatorSpaceMobile:De,separatorSpaceType:Le,headLoadGoogleFonts:Be,subHeadLoadGoogleFonts:He,subHeadLetterSpacing:Ae,subHeadLetterSpacingTablet:Re,subHeadLetterSpacingMobile:Pe,subHeadLetterSpacingType:ze,blockTopPadding:Oe,blockRightPadding:Fe,blockLeftPadding:Ie,blockBottomPadding:Ne,blockTopPaddingTablet:Ve,blockRightPaddingTablet:Ge,blockLeftPaddingTablet:We,blockBottomPaddingTablet:Ue,blockTopPaddingMobile:je,blockRightPaddingMobile:qe,blockLeftPaddingMobile:$e,blockBottomPaddingMobile:Ze,blockPaddingUnit:Ke,blockPaddingUnitTablet:Ye,blockPaddingUnitMobile:Je,blockPaddingLink:Xe,blockTopMargin:Qe,blockRightMargin:et,blockLeftMargin:tt,blockBottomMargin:at,blockTopMarginTablet:it,blockRightMarginTablet:lt,blockLeftMarginTablet:nt,blockBottomMarginTablet:ot,blockTopMarginMobile:rt,blockRightMarginMobile:st,blockLeftMarginMobile:ut,blockBottomMarginMobile:ct,blockMarginUnit:gt,blockMarginUnitTablet:dt,blockMarginUnitMobile:pt,blockMarginLink:ht,linkColor:mt,linkHColor:bt,highLightColor:ft,highLightBackground:vt,highLightLoadGoogleFonts:wt,highLightFontFamily:yt,highLightFontWeight:xt,highLightFontStyle:_t,highLightTransform:kt,highLightDecoration:St,highLightFontSizeType:Ct,highLightFontSizeTypeMobile:Mt,highLightFontSizeTypeTablet:Tt,highLightLineHeightType:Et,highLightFontSize:Dt,highLightFontSizeTablet:Lt,highLightFontSizeMobile:Bt,highLightLineHeight:Ht,highLightLineHeightTablet:At,highLightLineHeightMobile:Rt,highLightLetterSpacing:Pt,highLightLetterSpacingTablet:zt,highLightLetterSpacingMobile:Ot,highLightLetterSpacingType:Ft,highLightTopPadding:It,highLightRightPadding:Nt,highLightLeftPadding:Vt,highLightBottomPadding:Gt,highLightTopPaddingTablet:Wt,highLightRightPaddingTablet:Ut,highLightLeftPaddingTablet:jt,highLightBottomPaddingTablet:qt,highLightTopPaddingMobile:$t,highLightRightPaddingMobile:Zt,highLightLeftPaddingMobile:Kt,highLightBottomPaddingMobile:Yt,highLightPaddingUnit:Jt,highLightPaddingUnitTablet:Xt,highLightPaddingUnitMobile:Qt,highLightPaddingLink:ea}=t;let ta=[{value:"above-heading",label:(0,M.__)("Above Heading","sureforms")},{value:"below-heading",label:(0,M.__)("Below Heading","sureforms")},{value:"above-sub-heading",label:(0,M.__)("Above Sub-heading","sureforms")},{value:"below-sub-heading",label:(0,M.__)("Below Sub-heading","sureforms")}];n||(ta=[{value:"above-sub-heading",label:(0,M.__)("Above Sub-heading","sureforms")},{value:"below-sub-heading",label:(0,M.__)("Below Sub-heading","sureforms")}]),$||(ta=[{value:"above-heading",label:(0,M.__)("Above Heading","sureforms")},{value:"below-heading",label:(0,M.__)("Below Heading","sureforms")}]),$&&"above-heading"===Z&&(ta=[{value:"above-heading",label:(0,M.__)("Above Heading","sureforms")},{value:"below-heading",label:(0,M.__)("Below Heading","sureforms")},{value:"above-sub-heading",label:(0,M.__)("Above Sub-heading","sureforms")}]),$&&"below-heading"===Z&&(ta=[{value:"above-heading",label:(0,M.__)("Above Heading","sureforms")},{value:"below-heading",label:(0,M.__)("Below Heading","sureforms")},{value:"below-sub-heading",label:(0,M.__)("Below Sub-heading","sureforms")}]);const aa=[{id:"alignment",component:(0,w.createElement)(Ri,{setAttributes:i,label:(0,M.__)("Alignment","sureforms"),data:{desktop:{value:o,label:"headingAlign"},tablet:{value:r,label:"headingAlignTablet"},mobile:{value:s,label:"headingAlignMobile"}},options:[{value:"left",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-left")}),tooltip:(0,M.__)("Left","sureforms")},{value:"center",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-center")}),tooltip:(0,M.__)("Center","sureforms")},{value:"right",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-right")}),tooltip:(0,M.__)("Right","sureforms")}],showIcons:!0,responsive:!0})},{id:"heading",component:(0,w.createElement)(te.ToggleControl,{label:(0,M.__)("Heading","sureforms"),checked:n,onChange:()=>i({headingTitleToggle:!n})})},{id:"heading-tag",component:n&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Ri,{setAttributes:i,label:(0,M.__)("Heading Tag","sureforms"),data:{value:_,label:"headingTag"},options:[{value:"h1",label:(0,M.__)("H1","sureforms")},{value:"h2",label:(0,M.__)("H2","sureforms")},{value:"h3",label:(0,M.__)("H3","sureforms")},{value:"h4",label:(0,M.__)("H4","sureforms")},{value:"h5",label:(0,M.__)("H5","sureforms")},{value:"h6",label:(0,M.__)("H6","sureforms")},{value:"p",label:(0,M.__)("P","sureforms")},{value:"div",label:(0,M.__)("Div","sureforms")}]}),(0,w.createElement)(Ri,{setAttributes:i,label:(0,M.__)("Heading Wrapper","sureforms"),data:{value:k,label:"headingWrapper"},options:[{value:"div",label:(0,M.__)("Div","sureforms")},{value:"header",label:(0,M.__)("Header","sureforms")}]}))}],ia=(0,O.applyFilters)("srfm.block.heading.content",aa,e),la=(0,O.applyFilters)("srfm.advanced-heading.settings.advance",[],e);return(0,w.createElement)("div",null,(0,w.createElement)(Pi.InspectorControls,null,(0,w.createElement)(di,null,(0,w.createElement)(pi,{...hi,parentProps:e},(0,w.createElement)(Jo,{title:(0,M.__)("Content","sureforms"),initialOpen:!0},ia.map(e=>e.component)),(0,w.createElement)(Jo,{title:(0,M.__)("Sub Heading","sureforms"),initialOpen:!1},(0,w.createElement)(te.ToggleControl,{label:(0,M.__)("Enable Sub Heading","sureforms"),checked:$,onChange:()=>i({headingDescToggle:!$})}),$&&(0,w.createElement)(de,{label:(0,M.__)("Position","sureforms"),data:{value:Z,label:"headingDescPosition"},setAttributes:i,options:[{value:"above-heading",label:(0,M.__)("Above Heading","sureforms")},{value:"below-heading",label:(0,M.__)("Below Heading","sureforms")}]})),(0,w.createElement)(Jo,{title:(0,M.__)("Separator","sureforms"),initialOpen:!1},(0,w.createElement)(de,{label:(0,M.__)("Style","sureforms"),data:{value:ve,label:"separatorStyle"},setAttributes:i,options:[{value:"none",label:(0,M.__)("None","sureforms")},{value:"solid",label:(0,M.__)("Solid","sureforms")},{value:"double",label:(0,M.__)("Double","sureforms")},{value:"dashed",label:(0,M.__)("Dashed","sureforms")},{value:"dotted",label:(0,M.__)("Dotted","sureforms")}]}),"none"!==ve&&(0,w.createElement)(de,{label:(0,M.__)("Position","sureforms"),data:{value:we,label:"separatorPosition"},setAttributes:i,options:ta}))),(0,w.createElement)(pi,{...mi,parentProps:e},n&&(0,w.createElement)(Jo,{title:(0,M.__)("Heading","sureforms"),initialOpen:!0},(0,w.createElement)(yr,{label:(0,M.__)("Text Color","sureforms"),type:{value:u,label:"headingColorType"},classic:{value:c,label:"headingColor"},gradient:{value:g,label:"headingGradientColor"},setAttributes:i}),(0,w.createElement)(Qa,{label:(0,M.__)("Typography","sureforms"),attributes:t,setAttributes:i,loadGoogleFonts:{value:Be,label:"headLoadGoogleFonts"},fontFamily:{value:S,label:"headFontFamily"},fontWeight:{value:C,label:"headFontWeight"},fontStyle:{value:T,label:"headFontStyle"},transform:{value:ue,label:"headTransform"},decoration:{value:ce,label:"headDecoration"},fontSizeType:{value:E,label:"headFontSizeType"},fontSizeTypeMobile:{value:D,label:"headFontSizeTypeMobile"},fontSizeTypeTablet:{value:L,label:"headFontSizeTypeTablet"},fontSize:{value:B,label:"headFontSize"},fontSizeMobile:{value:H,label:"headFontSizeMobile"},fontSizeTablet:{value:A,label:"headFontSizeTablet"},lineHeightType:{value:R,label:"headLineHeightType"},lineHeight:{value:P,label:"headLineHeight"},lineHeightMobile:{value:z,label:"headLineHeightMobile"},lineHeightTablet:{value:F,label:"headLineHeightTablet"},letterSpacing:{value:I,label:"headLetterSpacing"},letterSpacingTablet:{value:N,label:"headLetterSpacingTablet"},letterSpacingMobile:{value:V,label:"headLetterSpacingMobile"},letterSpacingType:{value:G,label:"headLetterSpacingType"}}),(0,w.createElement)(xr,{blockId:l,setAttributes:i,label:(0,M.__)("Text Shadow","sureforms"),textShadowColor:{value:W,label:"headShadowColor",title:(0,M.__)("Color","sureforms")},textShadowHOffset:{value:U,label:"headShadowHOffset",title:(0,M.__)("Horizontal","sureforms")},textShadowVOffset:{value:j,label:"headShadowVOffset",title:(0,M.__)("Vertical","sureforms")},textShadowBlur:{value:q,label:"headShadowBlur",title:(0,M.__)("Blur","sureforms")},popup:!0}),($||"none"!==ve)&&(0,w.createElement)(Qi,{label:(0,M.__)("Bottom Spacing","sureforms"),data:{desktop:{value:_e,label:"headSpace"},tablet:{value:ke,label:"headSpaceTablet"},mobile:{value:Se,label:"headSpaceMobile"}},min:0,max:200,unit:{value:Ce,label:"headSpaceType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"}],setAttributes:i})),"none"!==ve&&(0,w.createElement)(Jo,{title:(0,M.__)("Separator","sureforms"),initialOpen:!1},(0,w.createElement)(Qi,{label:(0,M.__)("Width","sureforms"),data:{desktop:{value:he,label:"separatorWidth"},tablet:{value:me,label:"separatorWidthTablet"},mobile:{value:be,label:"separatorWidthMobile"}},min:0,max:"%"===fe?100:500,unit:{value:fe,label:"separatorWidthType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"},{name:(0,M.__)("%","sureforms"),unitValue:"%"}],setAttributes:i}),(0,w.createElement)(Me,{label:(0,M.__)("Thickness","sureforms"),setAttributes:i,value:ye,data:{value:ye,label:"separatorHeight"},min:0,max:20,unit:{value:xe,label:"separatorHeightType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"}]}),(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:x||"",data:{value:x,label:"separatorColor"},setAttributes:i}),(0,w.createElement)(Qi,{label:(0,M.__)("Bottom Spacing","sureforms"),data:{desktop:{value:Te,label:"separatorSpace"},tablet:{value:Ee,label:"separatorSpaceTablet"},mobile:{value:De,label:"separatorSpaceMobile"}},min:0,max:200,unit:{value:Le,label:"separatorSpaceType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"}],setAttributes:i})),$&&(0,w.createElement)(Jo,{title:(0,M.__)("Sub Heading","sureforms"),initialOpen:!1},(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:m||"",data:{value:m,label:"subHeadingColor"},setAttributes:i}),(0,w.createElement)(Qa,{label:(0,M.__)("Typography","sureforms"),attributes:t,setAttributes:i,loadGoogleFonts:{value:He,label:"subHeadLoadGoogleFonts"},fontFamily:{value:K,label:"subHeadFontFamily"},fontWeight:{value:Y,label:"subHeadFontWeight"},fontStyle:{value:J,label:"subHeadFontStyle"},transform:{value:ge,label:"subHeadTransform"},decoration:{value:pe,label:"subHeadDecoration"},fontSizeType:{value:Q,label:"subHeadFontSizeType"},fontSizeTypeMobile:{value:ee,label:"subHeadFontSizeTypeMobile"},fontSizeTypeTablet:{value:ae,label:"subHeadFontSizeTypeTablet"},fontSize:{value:X,label:"subHeadFontSize"},fontSizeMobile:{value:ie,label:"subHeadFontSizeMobile"},fontSizeTablet:{value:le,label:"subHeadFontSizeTablet"},lineHeightType:{value:oe,label:"subHeadLineHeightType"},lineHeight:{value:ne,label:"subHeadLineHeight"},lineHeightMobile:{value:re,label:"subHeadLineHeightMobile"},lineHeightTablet:{value:se,label:"subHeadLineHeightTablet"},letterSpacing:{value:Ae,label:"subHeadLetterSpacing"},letterSpacingTablet:{value:Re,label:"subHeadLetterSpacingTablet"},letterSpacingMobile:{value:Pe,label:"subHeadLetterSpacingMobile"},letterSpacingType:{value:ze,label:"subHeadLetterSpacingType"}}),(0,w.createElement)(Qi,{label:(0,M.__)("Bottom Spacing","sureforms"),data:{desktop:{value:b,label:"subHeadSpace"},tablet:{value:f,label:"subHeadSpaceTablet"},mobile:{value:v,label:"subHeadSpaceMobile"}},min:0,max:200,unit:{value:y,label:"subHeadSpaceType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"}],setAttributes:i})),(0,w.createElement)(Jo,{title:(0,M.__)("Link","sureforms"),initialOpen:!1},(0,w.createElement)("p",{className:"components-base-control__help"},(0,M.__)("Below settings will apply to the heading text to which a link is applied.","sureforms")),(0,w.createElement)(Er,{tabs:[{name:"normal",title:(0,M.__)("Normal","sureforms")},{name:"hover",title:(0,M.__)("Hover","sureforms")}],normal:(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:mt,data:{value:mt,label:"linkColor"},setAttributes:i}),hover:(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:bt,data:{value:bt,label:"linkHColor"},setAttributes:i}),disableBottomSeparator:!0})),(0,w.createElement)(Jo,{title:(0,M.__)("Highlight","sureforms"),initialOpen:!1},(0,w.createElement)("p",{className:"components-base-control__help"},(0,M.__)("Highlight heading text from toolbar to see the below controls working.","sureforms")),(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:ft,data:{value:ft,label:"highLightColor"},setAttributes:i}),(0,w.createElement)(Ti,{label:(0,M.__)("Background","sureforms"),colorValue:vt,data:{value:vt,label:"highLightBackground"},setAttributes:i}),(0,w.createElement)(Qa,{label:(0,M.__)("Typography","sureforms"),attributes:t,setAttributes:i,loadGoogleFonts:{value:wt,label:"highLightLoadGoogleFonts"},fontFamily:{value:yt,label:"highLightFontFamily"},fontWeight:{value:xt,label:"highLightFontWeight"},fontStyle:{value:_t,label:"highLightFontStyle"},transform:{value:kt,label:"highLightTransform"},decoration:{value:St,label:"highLightDecoration"},fontSizeType:{value:Ct,label:"highLightFontSizeType"},fontSizeTypeMobile:{value:Mt,label:"highLightFontSizeTypeMobile"},fontSizeTypeTablet:{value:Tt,label:"highLightFontSizeTypeTablet"},fontSize:{value:Dt,label:"highLightFontSize"},fontSizeMobile:{value:Bt,label:"highLightFontSizeMobile"},fontSizeTablet:{value:Lt,label:"highLightFontSizeTablet"},lineHeightType:{value:Et,label:"highLightLineHeightType"},lineHeight:{value:Ht,label:"highLightLineHeight"},lineHeightMobile:{value:Rt,label:"highLightLineHeightMobile"},lineHeightTablet:{value:At,label:"highLightLineHeightTablet"},letterSpacing:{value:Pt,label:"highLightLetterSpacing"},letterSpacingTablet:{value:zt,label:"highLightLetterSpacingTablet"},letterSpacingMobile:{value:Ot,label:"highLightLetterSpacingMobile"},letterSpacingType:{value:Ft,label:"highLightLetterSpacingType"}}),(0,w.createElement)(Yo,{label:(0,M.__)("Padding","sureforms"),valueTop:{value:It,label:"highLightTopPadding"},valueRight:{value:Nt,label:"highLightRightPadding"},valueBottom:{value:Gt,label:"highLightBottomPadding"},valueLeft:{value:Vt,label:"highLightLeftPadding"},valueTopTablet:{value:Wt,label:"highLightTopPaddingTablet"},valueRightTablet:{value:Ut,label:"highLightRightPaddingTablet"},valueBottomTablet:{value:qt,label:"highLightBottomPaddingTablet"},valueLeftTablet:{value:jt,label:"highLightLeftPaddingTablet"},valueTopMobile:{value:$t,label:"highLightTopPaddingMobile"},valueRightMobile:{value:Zt,label:"highLightRightPaddingMobile"},valueBottomMobile:{value:Yt,label:"highLightBottomPaddingMobile"},valueLeftMobile:{value:Kt,label:"highLightLeftPaddingMobile"},unit:{value:Jt,label:"highLightPaddingUnit"},mUnit:{value:Qt,label:"highLightPaddingUnitMobile"},tUnit:{value:Xt,label:"highLightPaddingUnitTablet"},deviceType:a,attributes:t,setAttributes:i,link:{value:ea,label:"highLightPaddingLink"}}),(0,w.createElement)(Hr,{setAttributes:i,prefix:"highLight",attributes:t,deviceType:a,disableBottomSeparator:!0})),(0,w.createElement)(Jo,{title:(0,M.__)("Background","sureforms"),initialOpen:!1},(0,w.createElement)(yr,{label:(0,M.__)("Background Color","sureforms"),type:{value:d,label:"blockBackgroundType"},classic:{value:p,label:"blockBackground"},gradient:{value:h,label:"blockGradientBackground"},setAttributes:i})),(0,w.createElement)(Jo,{title:(0,M.__)("Spacing","sureforms"),initialOpen:!1},(0,w.createElement)(Yo,{label:(0,M.__)("Padding","sureforms"),valueTop:{value:Oe,label:"blockTopPadding"},valueRight:{value:Fe,label:"blockRightPadding"},valueBottom:{value:Ne,label:"blockBottomPadding"},valueLeft:{value:Ie,label:"blockLeftPadding"},valueTopTablet:{value:Ve,label:"blockTopPaddingTablet"},valueRightTablet:{value:Ge,label:"blockRightPaddingTablet"},valueBottomTablet:{value:Ue,label:"blockBottomPaddingTablet"},valueLeftTablet:{value:We,label:"blockLeftPaddingTablet"},valueTopMobile:{value:je,label:"blockTopPaddingMobile"},valueRightMobile:{value:qe,label:"blockRightPaddingMobile"},valueBottomMobile:{value:Ze,label:"blockBottomPaddingMobile"},valueLeftMobile:{value:$e,label:"blockLeftPaddingMobile"},unit:{value:Ke,label:"blockPaddingUnit"},mUnit:{value:Je,label:"blockPaddingUnitMobile"},tUnit:{value:Ye,label:"blockPaddingUnitTablet"},deviceType:a,attributes:t,setAttributes:i,link:{value:Xe,label:"blockPaddingLink"}}),(0,w.createElement)(Yo,{label:(0,M.__)("Margin","sureforms"),valueTop:{value:Qe,label:"blockTopMargin"},valueRight:{value:et,label:"blockRightMargin"},valueBottom:{value:at,label:"blockBottomMargin"},valueLeft:{value:tt,label:"blockLeftMargin"},valueTopTablet:{value:it,label:"blockTopMarginTablet"},valueRightTablet:{value:lt,label:"blockRightMarginTablet"},valueBottomTablet:{value:ot,label:"blockBottomMarginTablet"},valueLeftTablet:{value:nt,label:"blockLeftMarginTablet"},valueTopMobile:{value:rt,label:"blockTopMarginMobile"},valueRightMobile:{value:st,label:"blockRightMarginMobile"},valueBottomMobile:{value:ct,label:"blockBottomMarginMobile"},valueLeftMobile:{value:ut,label:"blockLeftMarginMobile"},unit:{value:gt,label:"blockMarginUnit"},mUnit:{value:pt,label:"blockMarginUnitMobile"},tUnit:{value:dt,label:"blockMarginUnitTablet"},deviceType:a,attributes:t,setAttributes:i,link:{value:ht,label:"blockMarginLink"}}))),(0,w.createElement)(pi,{...bi},la.map(e=>e.content)))))}),Rr=e=>{const{setAttributes:t,attributes:a,context:i,onReplace:l,mergeBlocks:n,headingHasDynamicContent:o}=e;let{headingTitle:r,headingTag:s}=a,u=!1;if(o){const e=(0,O.applyFilters)("uag_render_text_loop_data",r,i);""!==e&&(u=["srfm/dynamic-content"],r=e)}return(0,w.createElement)(Pi.RichText,{tagName:s,placeholder:(0,M.__)("Write a Heading","sureforms"),value:r,className:"uagb-heading-text",onChange:e=>{t({headingTitle:e})},allowedFormats:u,onMerge:n,onSplit:e=>e?(0,ir.createBlock)("srfm/advanced-heading",{...a,headingTitle:e}):(0,ir.createBlock)("core/paragraph"),onReplace:l,onRemove:()=>l([])})},Pr=e=>{const{setAttributes:t,attributes:a,context:i,onReplace:l,mergeBlocks:n,descriptionHasDynamicContent:o}=e;let{headingDesc:r}=e.attributes,s=!1;if(o){const e=(0,O.applyFilters)("uag_render_text_loop_data",r,i);""!==e&&(s=["srfm/dynamic-content"],r=e)}return(0,w.createElement)(Pi.RichText,{tagName:"p",placeholder:(0,M.__)("Write a Description","sureforms"),value:r,className:"uagb-desc-text",onChange:e=>t({headingDesc:e}),allowedFormats:s,onMerge:n,onSplit:e=>e?(0,ir.createBlock)("srfm/advanced-heading",{...a,headingDesc:e}):(0,ir.createBlock)("core/paragraph"),onReplace:l,onRemove:()=>l([])})},zr=(0,x.memo)(e=>{const{attributes:{block_id:t,headingTitleToggle:a,headingDescToggle:i,separatorStyle:l,separatorPosition:n,headingDescPosition:o,headingWrapper:r},className:s,deviceType:u}=e,c=r||"div",g="none"!==l&&(0,w.createElement)("div",{className:"uagb-separator-wrap"},(0,w.createElement)("div",{className:"uagb-separator"})),d=(0,w.createElement)(w.Fragment,null,"above-heading"===n?g:"",(0,w.createElement)(Rr,{...e}),"below-heading"===n?g:""),p=(0,w.createElement)(w.Fragment,null,"above-sub-heading"===n?g:"",(0,w.createElement)(Pr,{...e}),"below-sub-heading"===n?g:"");return(0,w.createElement)(c,{className:ue([s,"wp-block-uagb-advanced-heading","uagb-block",`uagb-editor-preview-mode-${u.toLowerCase()}`,`uagb-block-${t}`])},i&&"above-heading"===o?p:"",a&&d,i&&"below-heading"===o?p:"",i||a?"":g)}),Or=(e,t,a="desktop")=>{if("default"!==e[t+"BorderStyle"]){switch(a){case"tablet":a="Tablet";break;case"mobile":a="Mobile";break;default:a=""}const i={},l=e[t+"BorderStyle"],n=e[t+"BorderColor"],o=D(e[t+"BorderTopWidth"+a],"px"),r=D(e[t+"BorderRightWidth"+a],"px"),s=D(e[t+"BorderBottomWidth"+a],"px"),u=D(e[t+"BorderLeftWidth"+a],"px"),c=e[t+"BorderRadiusUnit"+a]||"px",g=D(e[t+"BorderTopLeftRadius"+a],c),d=D(e[t+"BorderTopRightRadius"+a],c),p=D(e[t+"BorderBottomRightRadius"+a],c),h=D(e[t+"BorderBottomLeftRadius"+a],c);return"none"!==e[t+"BorderStyle"]&&""!==e[t+"BorderStyle"]&&(i["border-top-width"]=o,i["border-right-width"]=r,i["border-bottom-width"]=s,i["border-left-width"]=u,i["border-color"]=n),i["border-style"]=l,i["border-top-left-radius"]=g,i["border-top-right-radius"]=d,i["border-bottom-right-radius"]=p,i["border-bottom-left-radius"]=h,i}return{}},Fr=(0,x.memo)(({attributes:e})=>{const{headLoadGoogleFonts:t,headFontFamily:a,headFontWeight:i,subHeadLoadGoogleFonts:l,subHeadFontFamily:n,subHeadFontWeight:o,highLightLoadGoogleFonts:r,highLightFontFamily:s,highLightFontWeight:u}=e;let c,g,d;if(!0===t){const e={google:{families:[a+(i?":"+i:"")]}};c=(0,w.createElement)(Y,{config:e})}if(!0===l){const e={google:{families:[n+(o?":"+o:"")]}};g=(0,w.createElement)(Y,{config:e})}if(!0===r){const e={google:{families:[s+(u?":"+u:"")]}};d=(0,w.createElement)(Y,{config:e})}return(0,w.createElement)(w.Fragment,null,c,g,d)}),Ir=(0,X.compose)(tr,ee)(e=>{const{attributes:t,attributes:{UAGHideDesktop:a,UAGHideTab:i,UAGHideMob:l,headingTitle:n,headingDesc:o,formId:r},isSelected:s,clientId:u,name:c,deviceType:g,context:d,setAttributes:p}=e,h=-1!==n.indexOf('(0,V.useSelect)(t=>{const a=t(Pi.store).getBlockParents(e),i=t(Pi.store).getBlocksByClientId(a?.[0]),l=t("core/editor").getCurrentPostId();return i?.[0]?.attributes?.id||l}))(u);e={...e,headingHasDynamicContent:h,descriptionHasDynamicContent:m};const f=(0,Pi.useBlockProps)();(0,x.useEffect)(()=>{N(e)},[a,i,l,g]),(0,x.useEffect)(()=>{!h&&!m||t?.context||p({context:d})},[d]),(0,x.useEffect)(()=>{G()},[g]),(0,x.useEffect)(()=>{r!==b&&p({formId:b})},[r,b]);const v=(0,x.useMemo)(()=>function(e,t,a,i,l=!1){const n=i.toLowerCase(),o=a.replace("srfm/",""),{block_id:r,headingAlign:s,headingAlignTablet:u,headingAlignMobile:c,headingTag:g,headingColor:d,headingColorType:p,headingGradientColor:h,blockBackgroundType:m,blockBackground:b,blockGradientBackground:f,headSpace:v,headSpaceTablet:w,headSpaceMobile:y,separatorStyle:x,separatorHeight:_,separatorHeightType:k,separatorWidth:S,separatorWidthTablet:C,separatorWidthMobile:M,separatorWidthType:T,separatorColor:L,separatorSpace:B,separatorSpaceTablet:H,separatorSpaceMobile:A,separatorSpaceType:R,subHeadingColor:P,headFontFamily:z,headFontStyle:I,headFontWeight:N,headFontSize:V,headFontSizeType:G,headFontSizeTypeMobile:W,headFontSizeTypeTablet:U,headFontSizeMobile:j,headFontSizeTablet:q,headLineHeight:$,headLineHeightType:Z,headLineHeightMobile:K,headLineHeightTablet:Y,headLetterSpacing:J,headLetterSpacingTablet:X,headLetterSpacingMobile:Q,headLetterSpacingType:ee,headShadowColor:te,headShadowHOffset:ae,headShadowVOffset:ie,headShadowBlur:le,subHeadFontFamily:ne,subHeadFontStyle:oe,subHeadFontWeight:re,subHeadFontSize:se,subHeadFontSizeType:ue,subHeadFontSizeTypeMobile:ce,subHeadFontSizeTypeTablet:ge,subHeadFontSizeMobile:de,subHeadFontSizeTablet:pe,subHeadLineHeight:he,subHeadLineHeightType:me,subHeadLineHeightMobile:be,subHeadLineHeightTablet:fe,headTransform:ve,headDecoration:we,subHeadTransform:ye,subHeadDecoration:xe,subHeadLetterSpacing:_e,subHeadLetterSpacingTablet:ke,subHeadLetterSpacingMobile:Se,subHeadLetterSpacingType:Ce,blockTopPadding:Me,blockRightPadding:Te,blockLeftPadding:Ee,blockBottomPadding:De,blockTopPaddingTablet:Le,blockRightPaddingTablet:Be,blockLeftPaddingTablet:He,blockBottomPaddingTablet:Ae,blockTopPaddingMobile:Re,blockRightPaddingMobile:Pe,blockLeftPaddingMobile:ze,blockBottomPaddingMobile:Oe,blockPaddingUnit:Fe,blockPaddingUnitTablet:Ie,blockPaddingUnitMobile:Ne,blockTopMargin:Ve,blockRightMargin:Ge,blockLeftMargin:We,blockBottomMargin:Ue,blockTopMarginTablet:je,blockRightMarginTablet:qe,blockLeftMarginTablet:$e,blockBottomMarginTablet:Ze,blockTopMarginMobile:Ke,blockRightMarginMobile:Ye,blockLeftMarginMobile:Je,blockBottomMarginMobile:Xe,blockMarginUnit:Qe,blockMarginUnitTablet:et,blockMarginUnitMobile:tt,linkColor:at,linkHColor:it,highLightBorderHColor:lt,highLightColor:nt,highLightBackground:ot,highLightFontFamily:rt,highLightFontWeight:st,highLightFontStyle:ut,highLightTransform:ct,highLightDecoration:gt,highLightFontSizeType:dt,highLightFontSizeTypeTablet:pt,highLightFontSizeTypeMobile:ht,highLightLineHeightType:mt,highLightFontSize:bt,highLightFontSizeTablet:ft,highLightFontSizeMobile:vt,highLightLineHeight:wt,highLightLineHeightTablet:yt,highLightLineHeightMobile:xt,highLightLetterSpacing:_t,highLightLetterSpacingTablet:kt,highLightLetterSpacingMobile:St,highLightLetterSpacingType:Ct,highLightTopPadding:Mt,highLightRightPadding:Tt,highLightLeftPadding:Et,highLightBottomPadding:Dt,highLightTopPaddingTablet:Lt,highLightRightPaddingTablet:Bt,highLightLeftPaddingTablet:Ht,highLightBottomPaddingTablet:At,highLightTopPaddingMobile:Rt,highLightRightPaddingMobile:Pt,highLightLeftPaddingMobile:zt,highLightBottomPaddingMobile:Ot,highLightPaddingUnit:Ft,highLightPaddingUnitTablet:It,highLightPaddingUnitMobile:Nt,subHeadSpace:Vt,subHeadSpaceTablet:Gt,subHeadSpaceMobile:Wt,headingDescToggle:Ut}=e;let jt={},qt={},$t={},Zt={};"gradient"===p&&($t={"-webkit-text-fill-color":at},Zt={"-webkit-text-fill-color":it});const Kt=Or(e,"highLight"),Yt=Or(e,"highLight","tablet"),Jt=Or(e,"highLight","mobile");let Xt={".wp-block-uagb-advanced-heading ":{background:"classic"===m?b:f,"text-align":s,"margin-top":D(Ve,Qe),"margin-right":D(Ge,Qe),"margin-bottom":D(Ue,Qe),"margin-left":D(We,Qe),"padding-top":D(Me,Fe),"padding-right":D(Te,Fe),"padding-bottom":D(De,Fe),"padding-left":D(Ee,Fe)}," p.uagb-desc-text":{"font-family":ne,"font-style":oe,"text-decoration":xe,"text-transform":ye,"font-weight":re,"font-size":D(se,ue),"line-height":D(he,me),"letter-spacing":D(_e,Ce),color:P,"margin-bottom":D(F(Vt,"subHeadSpace",o),"px")},".wp-block-uagb-advanced-heading a":{color:at,...$t},".wp-block-uagb-advanced-heading a:hover":{color:it,...Zt},".wp-block-uagb-advanced-heading .srfm-highlight":{background:ot,color:nt,"-webkit-text-fill-color":nt,"font-family":rt,"font-style":ut,"text-decoration":gt,"text-transform":ct,"font-weight":st,"font-size":D(bt,dt),"line-height":D(wt,mt),"letter-spacing":D(_t,Ct),"padding-top":D(Mt,Ft),"padding-right":D(Tt,Ft),"padding-bottom":D(Dt,Ft),"padding-left":D(Et,Ft),...Kt},".wp-block-uagb-advanced-heading .srfm-highlight:hover":{"border-color":lt}},Qt={};"gradient"===p&&(Qt={background:h,"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"});const ea={color:nt,background:ot,"-webkit-text-fill-color":nt};Xt[".wp-block-uagb-advanced-heading .srfm-highlight::-moz-selection"]=ea,Xt[".wp-block-uagb-advanced-heading .srfm-highlight::selection"]=ea,Xt[" "+g+".uagb-heading-text"]={"font-family":z,"font-style":I,"text-decoration":we,"text-transform":ve,"font-weight":N,"font-size":D(V,G),"line-height":D($,Z),color:d,"letter-spacing":D(J,ee),...Qt};const ta=te&&D(ae,"px")+" "+D(ie,"px")+" "+D(le,"px")+" "+te;"gradient"===p?Xt[" "+g+".uagb-heading-text"].filter=`drop-shadow(${ta})`:Xt[" "+g+".uagb-heading-text"]["text-shadow"]=ta,"none"!==x&&(Xt[" .uagb-separator"]={"border-top-style":x,"border-top-width":D(F(_,"separatorHeight",o),k),width:D(F(S,"separatorWidth",o),T),"border-color":L,"margin-bottom":D(F(B,"separatorSpace",o),R)}),jt[".wp-block-uagb-advanced-heading "]={"text-align":u,"margin-top":D(je,et),"margin-right":D(qe,et),"margin-bottom":D(Ze,et),"margin-left":D($e,et),"padding-top":D(Le,Ie),"padding-right":D(Be,Ie),"padding-bottom":D(Ae,Ie),"padding-left":D(He,Ie)},jt[" "+g+".uagb-heading-text"]={"font-size":D(q,U),"line-height":D(Y,Z),"letter-spacing":D(X,ee)},jt[" p.uagb-desc-text"]={"font-size":D(pe,ge),"line-height":D(fe,me),"letter-spacing":D(ke,Ce),"margin-bottom":D(F(Gt,"subHeadSpaceTablet",o),"px")},jt[".wp-block-uagb-advanced-heading .srfm-highlight"]={"font-size":D(ft,pt),"line-height":D(yt,mt),"letter-spacing":D(kt,Ct),"padding-top":D(Lt,It),"padding-right":D(Bt,It),"padding-bottom":D(At,It),"padding-left":D(Ht,It),...Yt},qt[".wp-block-uagb-advanced-heading "]={"text-align":c,"margin-top":D(Ke,tt),"margin-right":D(Ye,tt),"margin-bottom":D(Xe,tt),"margin-left":D(Je,tt),"padding-top":D(Re,Ne),"padding-right":D(Pe,Ne),"padding-bottom":D(Oe,Ne),"padding-left":D(ze,Ne)},jt[" .uagb-separator"]={width:D(F(C,"separatorWidthTablet",o),T),"margin-bottom":D(F(H,"separatorSpaceTablet",o),R)},qt[" "+g+".uagb-heading-text"]={"font-size":D(j,W),"line-height":D(K,Z),"letter-spacing":D(Q,ee)},qt[" p.uagb-desc-text"]={"font-size":D(de,ce),"line-height":D(be,me),"letter-spacing":D(Se,Ce),"margin-bottom":D(F(Wt,"subHeadSpaceMobile",o),"px")},qt[".wp-block-uagb-advanced-heading .srfm-highlight"]={"font-size":D(vt,ht),"line-height":D(xt,mt),"letter-spacing":D(St,Ct),"padding-top":D(Rt,Nt),"padding-right":D(Pt,Nt),"padding-bottom":D(Ot,Nt),"padding-left":D(zt,Nt),...Jt},qt[" .uagb-separator"]={width:D(F(M,"separatorWidthMobile",o),T),"margin-bottom":D(F(A,"separatorSpaceMobile",o),R)},(Ut||"none"!==x)&&(Xt[" .uagb-heading-text"]={"margin-bottom":D(F(v,"headSpace",o),"px")},jt[" .uagb-heading-text"]={"margin-bottom":D(F(w,"headSpaceTablet",o),"px")},qt[" .uagb-heading-text"]={"margin-bottom":D(F(y,"headSpaceMobile",o),"px")});const aa=".editor-styles-wrapper "+(l?l+" ":`#block-${t} .uagb-block-${r}`);Xt=(0,O.applyFilters)(`spectra.${o}.styling`,Xt,e),jt=(0,O.applyFilters)(`spectra.${o}.tabletStyling`,jt,e),qt=(0,O.applyFilters)(`spectra.${o}.mobileStyling`,qt,e);let ia=E(Xt,aa);return("tablet"===n||"mobile"===n||l)&&(ia+=E(jt,`${aa}`,!0,"tablet"),("mobile"===n||l)&&(ia+=E(qt,`${aa}`,!0,"mobile"))),ia}(t,u,c,g),[t,g]);return(0,w.createElement)("div",{...f},(0,w.createElement)(W,{blockStyling:v}),(0,w.createElement)(Fr,{attributes:t}),s&&(0,w.createElement)(Ar,{...e}),(0,w.createElement)(zr,{...e}))}),Nr=window.wp.richText,Vr="srfm/advanced-heading-highlight";(0,Nr.registerFormatType)(Vr,{title:"Spectra Highlight",tagName:"mark",className:"srfm-highlight",edit:function({isActive:e,onChange:t,value:a}){const i=(0,V.useSelect)(e=>e("core/block-editor").getSelectedBlock(),[]);return(0,w.createElement)(Pi.BlockControls,null,i&&"srfm/advanced-heading"===i.name&&(0,w.createElement)(te.ToolbarGroup,{className:"uag-highlight-toolbar",label:"Options"},(0,w.createElement)(te.Tooltip,{text:(0,M.__)("Highlight Text","sureforms")},(0,w.createElement)(te.Button,{isPrimary:e,onClick:()=>{t((0,Nr.toggleFormat)(a,{type:Vr}))}},(0,w.createElement)("span",{className:"dashicons dashicons-admin-customizer"})))))}});const Gr=function(e){let t;const a={black:"#000000","cyan-bluish-gray":"#abb8c3",white:"#ffffff","pale-pink":"#f78da7","luminous-vivid-orange":"#ff6900","luminous-vivid-amber":"#fcb900","light-green-cyan":"#7bdcb5","vivid-green-cyan":"#00d084","pale-cyan-blue":"#8ed1fc","vivid-cyan-blue":"#0693e3","vivid-purple":"#9b51e0","vivid-red":"#cf2e2e"};return t=void 0!==a[e?.toLowerCase()]?a[e?.toLowerCase()]:wi(`var(--wp--preset--color--${e})`),t};let Wr={};Wr=(0,O.applyFilters)("srfm/advanced-heading",nr(Wr)),(0,ir.registerBlockType)("srfm/advanced-heading",{...Wr,apiVersion:3,title:(0,M.__)("Heading","sureforms"),description:(0,M.__)("Add heading, sub heading and a separator using one block.","sureforms"),icon:C.advanced_heading,keywords:[(0,M.__)("creative heading","sureforms"),(0,M.__)("uag","sureforms"),(0,M.__)("heading","sureforms")],supports:{anchor:!0,html:!1},attributes:P,category:srfm_spec_blocks_info.category,edit:e=>e.attributes.isPreview?(0,w.createElement)(lr,{image:"advanced-heading"}):(0,w.createElement)(Ir,{...e}),save:()=>null,__experimentalLabel:e=>(0,O.applyFilters)("uag_loop_data_source_label",(0,M.__)("Heading","sureforms"),e),usesContext:["postId","postType"],transforms:{from:[{type:"block",blocks:["core/heading"],transform:e=>(0,ir.createBlock)("srfm/advanced-heading",{headingTitle:e.content,headingAlign:e.textAlign,headingColor:Gr(e.textColor),blockBackground:Gr(e.backgroundColor)})},{type:"block",blocks:["core/quote"],transform:e=>(0,ir.createBlock)("srfm/advanced-heading",{headingTitle:e.value,headingDesc:e.citation,headingAlign:e.align,headingColor:Gr(e.textColor),blockBackground:Gr(e.backgroundColor)})},{type:"block",blocks:["core/paragraph"],transform:e=>(0,ir.createBlock)("srfm/advanced-heading",{headingTitle:e.content,headingAlign:e.align,headingColor:Gr(e.textColor),blockBackground:Gr(e.backgroundColor)})},{type:"block",blocks:["core/list"],transform:(e,t)=>{const a=[];return t.forEach((e,i)=>{a.push({text:t[i].attributes.content})}),a.map(t=>(0,ir.createBlock)("srfm/advanced-heading",{headingTitle:t.text,headingColor:Gr(e.textColor),blockBackground:Gr(e.backgroundColor)}))}}],to:[{type:"block",blocks:["core/heading"],transform:e=>(0,ir.createBlock)("core/heading",{content:e.headingTitle,align:e.headingAlign})},{type:"block",blocks:["core/quote"],transform:e=>(0,ir.createBlock)("core/quote",{value:e.headingTitle,citation:e.headingDesc})},{type:"block",blocks:["core/paragraph"],transform:e=>(0,ir.createBlock)("core/paragraph",{content:e.headingTitle})}]}});const Ur=e=>{let{horizontal:t,vertical:a,blur:i,spread:l,horizontalUnit:n="px",verticalUnit:o="px",blurUnit:r="px",spreadUnit:s="px",color:u,position:c="outset",altColor:g=""}=e;return u||g?(t=D(t,n),""===t&&(t=0),a=D(a,o),""===a&&(a=0),i=D(i,r),""===i&&(i=0),l=D(l,s),""===l&&(l=0),0===t&&0===a&&0===i&&0===l?"":`${t} ${a} ${i}${l?` ${l}`:""} ${u||g}${"outset"===c?"":` ${c}`}`):""};var jr=a(1388),qr={};jr.A&&jr.A.locals&&(qr.locals=jr.A.locals);var $r,Zr=0,Kr={attributes:{id:"uagb-editor-styles"}};Kr.setAttributes=g(),Kr.insert=u().bind(null,"head"),Kr.domAPI=r(),Kr.insertStyleElement=p(),qr.use=function(e){return Kr.options=e||{},Zr++||($r=n()(jr.A,Kr)),qr},qr.unuse=function(){Zr>0&&! --Zr&&($r(),$r=null)};const Yr=qr,Jr=e=>{const[t,a]=(0,x.useState)(null),i=(0,x.useRef)(null);(0,x.useLayoutEffect)(()=>(Yr.use(),()=>{Yr.unuse()}),[]);const{getSelectedBlock:l}=(0,V.select)("core/block-editor"),n=l()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(i))},[n]);const{label:o,data:r,setAttributes:s,options:u,help:c=!1}=e,g=Q(),d={};d.Desktop=(0,w.createElement)(te.SelectControl,{value:r.desktop.value,onChange:e=>s({[r.desktop.label]:e}),options:u.desktop}),d.Tablet=(0,w.createElement)(te.SelectControl,{value:r.tablet.value,onChange:e=>s({[r.tablet.label]:e}),options:u.tablet||u.desktop}),d.Mobile=(0,w.createElement)(te.SelectControl,{value:r.mobile.value,onChange:e=>s({[r.mobile.label]:e}),options:u.mobile||u.desktop});const p=ce(e.label),h=(0,O.applyFilters)(`spectra.${n}.${t}.${p}.before`,"",n),m=(0,O.applyFilters)(`spectra.${n}.${t}.${p}`,"",n);return(0,w.createElement)("div",{ref:i,className:"uagb-responsive-select-control components-base-control"},h,(0,w.createElement)("div",{className:"uagb-size-type-field-tabs"},(0,w.createElement)("div",{className:"uagb-control__header"},(0,w.createElement)(he,{label:o,responsive:!0})),d[g]?d[g]:d.Desktop),(0,w.createElement)(pe,{text:c}),m)};var Xr=a(9194),Qr={};Xr.A&&Xr.A.locals&&(Qr.locals=Xr.A.locals);var es,ts=0,as={attributes:{id:"uagb-editor-styles"}};as.setAttributes=g(),as.insert=u().bind(null,"head"),as.domAPI=r(),as.insertStyleElement=p(),Qr.use=function(e){return as.options=e||{},ts++||(es=n()(Xr.A,as)),Qr},Qr.unuse=function(){ts>0&&! --ts&&(es(),es=null)};const is=Qr,ls=e=>{const{isOpen:t,setOpen:a,onConfirm:i,title:l,description:n,confirmLabel:o=(0,M.__)("Confirm","sureforms"),cancelLabel:r=(0,M.__)("Cancel","sureforms"),processingLabel:s=(0,M.__)("Processing…","sureforms"),icon:u="",executable:c=!1}=e;(0,x.useLayoutEffect)(()=>(is.use(),()=>{is.unuse()}),[]);const[g,d]=(0,x.useState)(!1),p=()=>{a(!1),d(!1)};return(0,w.createElement)(w.Fragment,null,t&&(0,w.createElement)(te.Modal,{onRequestClose:p,className:"uag-confirm-popup-wrapper",overlayClassName:"uag-confirm-popup-overlay"},(0,w.createElement)("div",{className:"uag-confirm-popup-icon"},""!==u?zi(u):(0,w.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor"},(0,w.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z"}))),(0,w.createElement)("div",{className:"uag-confirm-popup-content"},(0,w.createElement)("div",{className:"uag-confirm-popup-text"},(0,w.createElement)("span",{className:"uag-confirm-popup-title"},l),(0,w.createElement)("span",{className:"uag-confirm-popup-description"},n)),(0,w.createElement)("div",{className:"uag-confirm-popup-controls"},!1===g?(0,w.createElement)(w.Fragment,null,(0,w.createElement)(te.Button,{className:"uag-confirm-popup-buttons uag-popup-confirmation-button",onClick:()=>{d(!0),c?i(c):i()}},o),(0,w.createElement)(te.Button,{className:"uag-confirm-popup-buttons uag-popup-cancellation-button",onClick:p},r)):(0,w.createElement)(te.Button,{isBusy:!0,className:"uag-confirm-popup-buttons uag-popup-confirmation-button"},s)))))};ls.defaultProps={};const ns=ls,os=window.wp.apiFetch;var rs=a.n(os);const ss=e=>{const[t,a]=(0,x.useState)(null),l=(0,x.useRef)(null),n=(0,V.useSelect)(e=>e("core/block-editor").getSelectedBlock(),[]),o=i(),r=n?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(l))},[r]);const[s,u]=(0,x.useState)(!1),{onSelectImage:c,backgroundImage:g,onRemoveImage:d,slug:p="image",label:h=(0,M.__)("Image","sureforms"),disableLabel:m=!1,disableRemove:b=!1,allow:f=["image"],disableDynamicContent:v=!1,help:y=!1}=e;let _,k,S;switch(p){case"video":k=(0,M.__)("Select Video","sureforms"),S=(0,M.__)("Change Video","sureforms"),_=C.video_placeholder;break;case"lottie":k=(0,M.__)("Select Lottie Animation","sureforms"),S=(0,M.__)("Change Lottie Animation","sureforms"),_=C.lottie;break;case"svg":k=(0,M.__)("Upload SVG","sureforms"),S=(0,M.__)("Change SVG","sureforms");break;default:k=(0,M.__)("Select Image","sureforms"),S=(0,M.__)("Change Image","sureforms")}const T=v?null:(0,O.applyFilters)("uagb.registerImageExtender","",n?.name,c),E=v?null:(0,O.applyFilters)("uagb.registerImageLinkExtender","",n?.name,"bgImageLink","url"),D=e=>{const t={svg_nonce:srfm_spec_blocks_info.uagb_svg_confirmation_nonce,confirmation:"yes"};(async({url:e,action:t,data:a})=>{if(!((i=a)&&Object.keys(i).length>0&&Object.getPrototypeOf(i)===Object.prototype))return Promise.reject(new Error((0,M.__)("data object is empty","sureforms")));var i;const l=new window.FormData;l.append("action",t);for(const e in a){const t=a[e];l.append(e,t)}return await rs()({url:e,method:"POST",body:l})})({url:srfm_spec_blocks_info.ajax_url,action:"uagb_svg_confirmation",data:t}).then(t=>{t.success&&(o.setItem("uagSvgConfirmation",JSON.stringify("yes")),e())})},L=e=>{const t=i("uagSvgConfirmation");"svg"===p&&"yes"!==t?u(!0):e()},B=e=>(0,w.createElement)("div",{className:`spectra-media-control__button spectra-media-control__button--${e}`},C[e]),H=ce(e?.label),A=(0,O.applyFilters)(`spectra.${r}.${t}.${H}.before`,"",r),R=(0,O.applyFilters)(`spectra.${r}.${t}.${H}`,"",r);return(0,w.createElement)("div",{ref:l,className:"components-base-control"},A,(0,w.createElement)(te.BaseControl,{className:"spectra-media-control",id:`uagb-option-selector-${p}`,label:h,hideLabelFromVision:m},(()=>{if(v)return!0;const e=n?.attributes?.dynamicContent;return!e||!0!==e?.bgImage?.enable})()?(0,w.createElement)(w.Fragment,null,(0,w.createElement)("div",{className:"spectra-media-control__wrapper",style:{backgroundImage:!_&&g?.url&&!g?.svg&&`url("${(e=>{let t=e;switch(/(?:\.([^.]+))?$/.exec(String(t))[1]){case"json":case"avi":case"mpg":case"mp4":case"m4v":case"mov":case"ogv":case"vtt":case"wmv":case"3gp":case"3g2":t=""}return t})(g?.url)}")`}},_&&g?.url&&(0,w.createElement)("div",{className:"spectra-media-control__icon spectra-media-control__icon--stroke"},_),g?.svg&&(0,w.createElement)("div",{className:"spectra-media-control__icon spectra-media-control__icon--stroke",dangerouslySetInnerHTML:{__html:g.svg}}),(0,w.createElement)(Pi.MediaUpload,{title:k,onSelect:c,allowedTypes:f,value:g,render:({open:e})=>(e=>{const t=g?.url?"replace":"add";return(0,w.createElement)(w.Fragment,null,"add"===t&&(0,w.createElement)("button",{className:`spectra-media-control__clickable spectra-media-control__clickable--${t}`,onClick:()=>L(e)},B(t)),(0,w.createElement)("div",{className:"spectra-media-control__footer"},(0,w.createElement)("button",{className:"uag-control-label",onClick:()=>L(e)},S),T),"svg"===p&&(0,w.createElement)(ns,{isOpen:s,setOpen:u,onConfirm:D,title:(0,M.__)("Upload SVG?","sureforms"),description:(0,M.__)("Upload SVG can be potentially risky. Are you sure?","sureforms"),confirmLabel:(0,M.__)("Upload Anyway","sureforms"),cancelLabel:(0,M.__)("Cancel","sureforms"),executable:e}))})(e)}),!b&&g?.url&&(0,w.createElement)("button",{className:"spectra-media-control__clickable spectra-media-control__clickable--close",onClick:d},B("close"))),(0,w.createElement)(pe,{text:y})):T),E,R)},us=e=>{const[t,a]=(0,x.useState)(null),l=(0,x.useRef)(null),[n,o]=(0,x.useState)(!1),r=(0,O.applyFilters)("uagb.blocksAttributes",z),{getSelectedBlock:s}=(0,V.select)("core/block-editor");(0,x.useLayoutEffect)(()=>{window.addEventListener("click",function(e){const t=document.querySelector(`.active.popup-${y} .spectra-control-popup__options--action-button`),a=document.querySelector(`.active.popup-${y} .spectra-control-popup`);if(t&&!t?.contains(e.target)&&a&&!a?.contains(e.target)&&!e.target?.classList?.contains("uagb-advanced-color-indicate")&&!e.target?.parentElement?.closest(".uagb-popover-color")&&!e.target?.parentElement?.closest(".uagb-reset")){o(!1);const e=s()?.name,t=i("uagSettingState"),a={...t,[e]:{...t?.[e],selectedSetting:!1}},l=i();l&&l.setItem("uagSettingState",JSON.stringify(a))}})},[]);const u=s()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(l))},[u]);const{setAttributes:c,boxShadowColor:g,boxShadowHOffset:d,boxShadowVOffset:p,boxShadowBlur:h,boxShadowSpread:m,boxShadowPosition:b,label:f=(0,M.__)("Box Shadow","sureforms"),popup:v=!1,blockId:y,help:_=!1}=e;let k;const S=n?"active":"",C=[g.label,d.label,p.label,h.label,m.label,b.label],T=v&&(()=>{const e=(()=>{const e=s()?.name.split("/").pop();let t=!1;return void 0!==r[e]&&C.forEach(a=>{if(a){const i=void 0!==r[e][a]?.default?r[e][a]?.default:"";t={...t,[a]:i}}}),t})(),t=s()?.attributes;let a=!1;return C.forEach(i=>{t?.[i]&&t?.[i]!==e?.[i]&&(a=!0)}),a})(),E=(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Ti,{label:g.title,colorValue:g.value,data:{value:g.value,label:g.label},setAttributes:c}),(0,w.createElement)(Me,{label:d.title,value:d.value,min:-100,max:100,displayUnit:!1,setAttributes:c,data:{value:d.value,label:d.label}}),(0,w.createElement)(Me,{label:p.title,value:p.value,min:-100,max:100,displayUnit:!1,setAttributes:c,data:{value:p.value,label:p.label}}),(0,w.createElement)(Me,{label:h.title,value:h.value,min:0,max:100,displayUnit:!1,setAttributes:c,data:{value:h.value,label:h.label}}),(0,w.createElement)(Me,{label:m.title,value:m.value,min:-100,max:100,displayUnit:!1,setAttributes:c,data:{value:m.value,label:m.label}}),(0,w.createElement)(Ri,{setAttributes:c,label:b.title,data:{value:b.value,label:b.label},options:[{value:"outset",label:(0,M.__)("Outset","sureforms"),tooltip:(0,M.__)("Outset","sureforms")},{value:"inset",label:(0,M.__)("Inset","sureforms"),tooltip:(0,M.__)("Inset (10px)","sureforms")}],showIcons:!1}));n&&(k=(0,w.createElement)("div",{className:"uagb-box-shadow-advanced spectra-control-popup"},E));const D=(0,w.createElement)("div",{className:"spectra-control-popup__options--action-wrapper"},(0,w.createElement)("span",{className:"uag-control-label"},f,T&&(0,w.createElement)("div",{className:"spectra__change-indicator--dot-right"})),(0,w.createElement)(te.Button,{className:"uag-box-shadow-button spectra-control-popup__options--action-button","aria-pressed":n,onClick:()=>{const e=document.querySelectorAll(".spectra-control-popup__options");if(e&&00&&! --ps&&(ds(),ds=null)};const ms=gs;var bs=a(9810),fs={};bs.A&&bs.A.locals&&(fs.locals=bs.A.locals);var vs,ws=0,ys={attributes:{id:"uagb-editor-styles"}};ys.setAttributes=g(),ys.insert=u().bind(null,"head"),ys.domAPI=r(),ys.insertStyleElement=p(),fs.use=function(e){return ys.options=e||{},ws++||(vs=n()(bs.A,ys)),fs},fs.unuse=function(){ws>0&&! --ws&&(vs(),vs=null)};const xs=fs,_s=e=>{const[t,a]=(0,x.useState)(null),i=(0,x.useRef)(null);(0,x.useLayoutEffect)(()=>(xs.use(),()=>{xs.unuse()}),[]);const{getSelectedBlock:l}=(0,V.select)("core/block-editor"),n=l()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(i))},[n]);const o=(0,V.useSelect)(()=>(0,V.select)("core/block-editor").getSelectedBlock(),[]),r=e.enableDynamicContent&&e.name?wp.hooks.applyFilters("uagb.registerTextExtender","",o?.name,e.name,e.dynamicContentType):null,s=()=>{if(!e.enableDynamicContent||!e.name)return!1;const t=o?.attributes?.dynamicContent;return!(!t||!0!==t?.[e.name]?.enable)},{isShiftStepEnabled:u}=e;let c=xe(e.unit?.value,e),g=_e(e.unit?.value,e);const d=isNaN(e?.value)?"":e?.value;let p=[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"},{name:(0,M.__)("Em","sureforms"),unitValue:"em"}];e.units&&(p=e.units);const h=t=>{const a=parseFloat(t);e.setAttributes&&e.setAttributes({[e.data.label]:a}),e?.onChange&&e.onChange(a)},m=t=>{e?.onChange&&e?.onChange(t[e?.data?.label]),e.displayUnit&&b(t[e?.unit?.label])},b=t=>{e.setAttributes({[e.unit.label]:t}),c=xe(t,e),g=_e(t,e),e.value>c&&h(c),e.value(0,w.createElement)("div",{className:"uagb-control__header"},(0,w.createElement)("div",{className:"uagb-number-control__actions uagb-control__actions"},(0,w.createElement)(ke,{onReset:m,attributeNames:[e.data.label,!!e.displayUnit&&e.unit.label],setAttributes:e.setAttributes}),e.displayUnit&&(0,w.createElement)(te.ButtonGroup,{className:"uagb-control__units","aria-label":(0,M.__)("Select Units","sureforms")},(t=>{const a=[];return t.map(t=>a.push((0,w.createElement)(te.Tooltip,{text:(0,M.sprintf)(/* translators: abbreviation for units */ /* translators: abbreviation for units */ +(0,M.__)("%s units","sureforms"),e.name),onClick:()=>{return t=e,void E("Mobile"===o?{[u.label]:t.unitValue}:"Tablet"===o?{[c.label]:t.unitValue}:{[s.label]:t.unitValue});var t}},e.unitValue)))),t})(F)))),G[o]?G[o]:G.Desktop,(0,w.createElement)("div",{className:"uagb-spacing-control__input-labels"},(0,w.createElement)("span",{className:"uagb-spacing-control__number-label"},(0,M.__)("Top","sureforms")),(0,w.createElement)("span",{className:"uagb-spacing-control__number-label"},(0,M.__)("Right","sureforms")),(0,w.createElement)("span",{className:"uagb-spacing-control__number-label"},(0,M.__)("Bottom","sureforms")),(0,w.createElement)("span",{className:"uagb-spacing-control__number-label"},(0,M.__)("Left","sureforms")),(0,w.createElement)("span",{className:"uagb-spacing-control__number-label uagb-spacing-control__link-label"}))),(0,w.createElement)(pe,{text:D})),j)},Jo=(0,x.memo)(e=>{const{children:t}=e,a=(0,x.useRef)(null),{getSelectedBlock:l}=(0,V.select)("core/block-editor"),n=l()?.name,o=i("uagSettingState"),[r,s]=(0,x.useState)("style");(0,x.useEffect)(()=>{s((()=>{let e="style";return a?.current?.parentElement?.classList.contains("uagb-tab-content-general")&&(e="general"),a?.current?.parentElement?.classList.contains("uagb-tab-content-advance")&&(e="advance"),e})())},[a]);const u=e?.title?e?.title.toLowerCase().replace(/[^a-zA-Z ]/g,"").replace(/\s+/g,"-"):"",c=n.split("/").pop(),g=(0,O.applyFilters)(`spectra.${c}.${r}.${u}.before`,"",n),d=(0,O.applyFilters)(`spectra.${c}.${r}.${u}`,"",n);return(0,w.createElement)(te.PanelBody,{...e,onToggle:()=>{"enabled"===srfm_spec_blocks_info.collapse_panels&&function(e){const t=[];let a=e.parentNode.firstChild;for(;a;)1===a.nodeType&&a!==e&&a.classList.contains("is-opened")&&t.push(a),a=a.nextSibling;return t}(a.current).forEach(e=>{e.querySelector(".components-button").click()});let e=!1;a?.current?.classList.forEach(function(t){t.includes("uag-advance-panel-body")&&(e=t)});let t="style";a?.current?.parentElement?.classList.contains("uagb-tab-content-general")&&(t="general"),a?.current?.parentElement?.classList.contains("uagb-tab-content-advance")&&(t="advance");const l={...o,[n]:{...o?.[n],selectedPanel:e,selectedTab:t}},r=i();r&&r.setItem("uagSettingState",JSON.stringify(l))},ref:a,className:`uag-advance-panel-body-${u}`},g,t,d)}),Xo=(0,x.memo)(e=>{const{attributes:t,setAttributes:a,deviceType:i}=e,{separatorStyle:l,separatorAlign:n,separatorAlignTablet:o,separatorAlignMobile:r,separatorWidth:s,separatorWidthTablet:u,separatorWidthMobile:c,separatorWidthType:g,separatorColor:d,separatorBorderHeight:p,separatorBorderHeightMobile:h,separatorBorderHeightTablet:m,separatorBorderHeightUnit:b,separatorSize:f,separatorSizeMobile:v,separatorSizeTablet:y,separatorSizeType:x,elementType:_,separatorText:k,separatorTextTag:S,separatorIcon:C,elementPosition:T,elementSpacing:E,elementSpacingTablet:D,elementSpacingMobile:L,elementSpacingUnit:B,elementTextLoadGoogleFonts:H,elementTextFontFamily:A,elementTextFontWeight:R,elementTextFontSize:P,elementTextFontSizeType:z,elementTextFontSizeTablet:O,elementTextFontSizeMobile:F,elementTextLineHeightType:I,elementTextLineHeight:N,elementTextLineHeightTablet:V,elementTextLineHeightMobile:G,elementTextFontStyle:W,elementTextLetterSpacing:U,elementTextLetterSpacingTablet:j,elementTextLetterSpacingMobile:q,elementTextLetterSpacingType:$,elementTextDecoration:Z,elementTextTransform:K,elementColor:Y,elementIconWidth:J,elementIconWidthTablet:X,elementIconWidthMobile:Q,elementIconWidthType:ee,blockTopPadding:ae,blockRightPadding:ie,blockLeftPadding:le,blockBottomPadding:ne,blockTopPaddingTablet:oe,blockRightPaddingTablet:re,blockLeftPaddingTablet:se,blockBottomPaddingTablet:ue,blockTopPaddingMobile:ce,blockRightPaddingMobile:ge,blockLeftPaddingMobile:pe,blockBottomPaddingMobile:he,blockPaddingUnit:me,blockPaddingUnitTablet:be,blockPaddingUnitMobile:fe,blockPaddingLink:ve,blockTopMargin:we,blockRightMargin:ye,blockLeftMargin:xe,blockBottomMargin:_e,blockTopMarginTablet:ke,blockRightMarginTablet:Se,blockLeftMarginTablet:Ce,blockBottomMarginTablet:Me,blockTopMarginMobile:Te,blockRightMarginMobile:Ee,blockLeftMarginMobile:De,blockBottomMarginMobile:Le,blockMarginUnit:Be,blockMarginUnitTablet:He,blockMarginUnitMobile:Ae,blockMarginLink:Re}=t;return(0,w.createElement)("div",null,(0,w.createElement)(Pi.InspectorControls,null,(0,w.createElement)(di,null,(0,w.createElement)(pi,{...hi},(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Jo,{title:(0,M.__)("Separator","sureforms"),initialOpen:!0},(0,w.createElement)(de,{label:(0,M.__)("Style","sureforms"),data:{value:l,label:"separatorStyle"},help:"none"!==l&&"dotted"!==l&&"dashed"!==l&&"double"!==l&&"solid"!==l&&(0,M.__)("Note: Please set Separator Height for proper thickness.","sureforms"),setAttributes:a,options:[{value:"none",label:(0,M.__)("None","sureforms")},{value:"dotted",label:(0,M.__)("Dotted","sureforms")},{value:"dashed",label:(0,M.__)("Dashed","sureforms")},{value:"double",label:(0,M.__)("Double","sureforms")},{value:"solid",label:(0,M.__)("Solid","sureforms")},{value:"rectangles",label:(0,M.__)("Rectangles","sureforms")},{value:"parallelogram",label:(0,M.__)("Parallelogram","sureforms")},{value:"slash",label:(0,M.__)("Slash","sureforms")},{value:"leaves",label:(0,M.__)("Leaves","sureforms")}]}),(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Add Element","sureforms"),data:{value:_,label:"elementType"},options:[{value:"none",label:(0,M.__)("None","sureforms")},{value:"text",label:(0,M.__)("Text","sureforms")},{value:"icon",label:(0,M.__)("Icon","sureforms")}],showIcons:!1,responsive:!1}),"text"===_&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Xi,{label:(0,M.__)("Text","sureforms"),data:{value:k,label:"separatorText"},setAttributes:a,value:k}),(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Heading Tag","sureforms"),data:{value:S,label:"separatorTextTag"},options:[{value:"h1",label:(0,M.__)("H1","sureforms")},{value:"h2",label:(0,M.__)("H2","sureforms")},{value:"h3",label:(0,M.__)("H3","sureforms")},{value:"h4",label:(0,M.__)("H4","sureforms")},{value:"h5",label:(0,M.__)("H5","sureforms")},{value:"h6",label:(0,M.__)("H6","sureforms")},{value:"span",label:(0,M.__)("Span","sureforms")},{value:"p",label:(0,M.__)("P","sureforms")}]})),"icon"===_&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Wo,{label:(0,M.__)("Icon","sureforms"),value:C,onChange:e=>a({separatorIcon:e})}))))),(0,w.createElement)(pi,{...mi},(0,w.createElement)(Jo,{title:"Separator",initialOpen:!0},(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Alignment","sureforms"),data:{desktop:{value:n,label:"separatorAlign"},tablet:{value:o,label:"separatorAlignTablet"},mobile:{value:r,label:"separatorAlignMobile"}},className:"uagb-multi-button-alignment-control",options:[{value:"left",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-left")}),tooltip:(0,M.__)("Left","sureforms")},{value:"center",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-center")}),tooltip:(0,M.__)("Center","sureforms")},{value:"right",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-right")}),tooltip:(0,M.__)("Right","sureforms")}],showIcons:!0,responsive:!0}),(0,w.createElement)(Qi,{label:(0,M.__)("Width","sureforms"),data:{desktop:{value:s,label:"separatorWidth"},tablet:{value:u,label:"separatorWidthTablet"},mobile:{value:c,label:"separatorWidthMobile"}},min:0,max:"%"===g?100:500,unit:{value:g,label:"separatorWidthType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"},{name:(0,M.__)("%","sureforms"),unitValue:"%"}],setAttributes:a}),"solid"!==l&&"double"!==l&&"dotted"!==l&&"dashed"!==l&&"none"!==l&&(0,w.createElement)(Qi,{label:(0,M.__)("Size","sureforms"),data:{desktop:{value:f,label:"separatorSize"},tablet:{value:y,label:"separatorSizeTablet"},mobile:{value:v,label:"separatorSizeMobile"}},min:0,max:"%"===x?100:500,unit:{value:x,label:"separatorSizeType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"},{name:(0,M.__)("%","sureforms"),unitValue:"%"}],setAttributes:a}),"none"!==l&&(0,w.createElement)(Qi,{label:(0,M.__)("Separator Height","sureforms"),data:{desktop:{value:p,label:"separatorBorderHeight"},tablet:{value:m,label:"separatorBorderHeightTablet"},mobile:{value:h,label:"separatorBorderHeightMobile"}},min:0,max:"%"===x?100:500,unit:{value:b,label:"separatorBorderHeightUnit"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"},{name:(0,M.__)("%","sureforms"),unitValue:"%"}],setAttributes:a}),"none"!==l&&(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:d||"",data:{value:d,label:"separatorColor"},setAttributes:a})),"none"!==_&&(0,w.createElement)(Jo,{title:"text"===_?(0,M.__)("Text","sureforms"):(0,M.__)("Icon","sureforms"),initialOpen:!1},(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Alignment","sureforms"),responsive:!0,data:{desktop:{value:T,label:"elementPosition"},tablet:{value:T,label:"elementPosition"},mobile:{value:T,label:"elementPosition"}},className:"uagb-multi-button-alignment-control",options:[{value:"left",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-left")}),tooltip:(0,M.__)("Left","sureforms")},{value:"center",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-center")}),tooltip:(0,M.__)("Center","sureforms")},{value:"right",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-right")}),tooltip:(0,M.__)("Right","sureforms")}],showIcons:!0}),(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:Y||"",data:{value:Y,label:"elementColor"},setAttributes:a}),"text"===_&&(0,w.createElement)(Qa,{label:(0,M.__)("Typography","sureforms"),attributes:t,setAttributes:a,loadGoogleFonts:{value:H,label:"elementTextLoadGoogleFonts"},fontFamily:{value:A,label:"elementTextFontFamily"},fontWeight:{value:R,label:"elementTextFontWeight"},fontStyle:{value:W,label:"elementTextFontStyle"},fontSizeType:{value:z,label:"elementTextFontSizeType"},fontSize:{value:P,label:"elementTextFontSize"},fontSizeMobile:{value:F,label:"elementTextFontSizeMobile"},fontSizeTablet:{value:O,label:"elementTextFontSizeTablet"},lineHeightType:{value:I,label:"elementTextLineHeightType"},lineHeight:{value:N,label:"elementTextLineHeight"},lineHeightMobile:{value:G,label:"elementTextLineHeightMobile"},lineHeightTablet:{value:V,label:"elementTextLineHeightTablet"},letterSpacing:{value:U,label:"elementTextLetterSpacing"},letterSpacingTablet:{value:j,label:"elementTextLetterSpacingTablet"},letterSpacingMobile:{value:q,label:"elementTextLetterSpacingMobile"},letterSpacingType:{value:$,label:"elementTextLetterSpacingType"},transform:{value:K,label:"elementTextTransform"},decoration:{value:Z,label:"elementTextDecoration"}}),"icon"===_&&(0,w.createElement)(Qi,{label:(0,M.__)("Icon Size","sureforms"),data:{desktop:{value:J,label:"elementIconWidth"},tablet:{value:X,label:"elementIconWidthTablet"},mobile:{value:Q,label:"elementIconWidthMobile"}},min:0,max:100,unit:{value:ee,label:"elementIconWidthType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"},{name:(0,M.__)("EM","sureforms"),unitValue:"em"}],setAttributes:a}),(0,w.createElement)(Qi,{label:(0,M.__)("Spacing","sureforms"),data:{desktop:{value:E,label:"elementSpacing"},tablet:{value:D,label:"elementSpacingTablet"},mobile:{value:L,label:"elementSpacingMobile"}},min:0,max:500,unit:{value:B,label:"elementSpacingUnit"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"}],setAttributes:a})),(0,w.createElement)(Jo,{title:(0,M.__)("Spacing","sureforms"),initialOpen:!1},(0,w.createElement)(Yo,{label:(0,M.__)("Padding","sureforms"),valueTop:{value:ae,label:"blockTopPadding"},valueRight:{value:ie,label:"blockRightPadding"},valueBottom:{value:ne,label:"blockBottomPadding"},valueLeft:{value:le,label:"blockLeftPadding"},valueTopTablet:{value:oe,label:"blockTopPaddingTablet"},valueRightTablet:{value:re,label:"blockRightPaddingTablet"},valueBottomTablet:{value:ue,label:"blockBottomPaddingTablet"},valueLeftTablet:{value:se,label:"blockLeftPaddingTablet"},valueTopMobile:{value:ce,label:"blockTopPaddingMobile"},valueRightMobile:{value:ge,label:"blockRightPaddingMobile"},valueBottomMobile:{value:he,label:"blockBottomPaddingMobile"},valueLeftMobile:{value:pe,label:"blockLeftPaddingMobile"},unit:{value:me,label:"blockPaddingUnit"},mUnit:{value:fe,label:"blockPaddingUnitMobile"},tUnit:{value:be,label:"blockPaddingUnitTablet"},deviceType:i,attributes:t,setAttributes:a,link:{value:ve,label:"blockPaddingLink"}}),(0,w.createElement)(Yo,{label:(0,M.__)("Margin","sureforms"),valueTop:{value:we,label:"blockTopMargin"},valueRight:{value:ye,label:"blockRightMargin"},valueBottom:{value:_e,label:"blockBottomMargin"},valueLeft:{value:xe,label:"blockLeftMargin"},valueTopTablet:{value:ke,label:"blockTopMarginTablet"},valueRightTablet:{value:Se,label:"blockRightMarginTablet"},valueBottomTablet:{value:Me,label:"blockBottomMarginTablet"},valueLeftTablet:{value:Ce,label:"blockLeftMarginTablet"},valueTopMobile:{value:Te,label:"blockTopMarginMobile"},valueRightMobile:{value:Ee,label:"blockRightMarginMobile"},valueBottomMobile:{value:Le,label:"blockBottomMarginMobile"},valueLeftMobile:{value:De,label:"blockLeftMarginMobile"},unit:{value:Be,label:"blockMarginUnit"},mUnit:{value:Ae,label:"blockMarginUnitMobile"},tUnit:{value:He,label:"blockMarginUnitTablet"},deviceType:i,attributes:t,setAttributes:a,link:{value:Re,label:"blockMarginLink"}}))))))}),Qo=(0,x.memo)(e=>{const{attributes:{block_id:t,elementType:a,separatorText:i,separatorTextTag:l,separatorStyle:n,separatorIcon:o},className:r,deviceType:s}=e,u=function(e){const t={rectangles:"url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.4 0H16L9.6 16H0L6.4 0Z' fill='black'/%3E%3C/svg%3E\")",parallelogram:"url(\"data:image/svg+xml,%3Csvg width='8' height='16' viewBox='0 0 8 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='8' height='16' fill='black'/%3E%3C/svg%3E\")",slash:"url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.29312 16.9999L17 6.29302M14.2931 16.9999L17 14.293M-0.707031 15.9999L16.0002 -0.707153M8.00017 -0.707153L-0.706882 7.9999' stroke='black'/%3E%3C/svg%3E\")",leaves:"url(\"data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2356_5631)'%3E%3Cpath d='M15 1C10.5 1 9 2.5 9 7C13.5 7 15 5.5 15 1Z' stroke='black'/%3E%3Cpath d='M1 1C5.5 1 7 2.5 7 7C2.5 7 1 5.5 1 1Z' stroke='black'/%3E%3Cpath d='M15 15C10.5 15 9 13.5 9 9C13.5 9 15 10.5 15 15Z' stroke='black'/%3E%3Cpath d='M1 15C5.5 15 7 13.5 7 9C2.5 9 1 10.5 1 15Z' stroke='black'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2356_5631'%3E%3Crect width='16' height='16' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E\")"};return e in t?t[e]:""}(n),c=`${l}`,g="none"!==a?"wp-block-uagb-separator--"+a:"",d=(0,Pi.useBlockProps)({className:ue([r,`uagb-editor-preview-mode-${s.toLowerCase()}`,`uagb-block-${t}`,g])});return(0,w.createElement)("div",{...d},(0,w.createElement)("div",{className:ue([`uagb-editor-preview-mode-${s.toLowerCase()}`,`uagb-block-${t}`,"wp-block-uagb-separator","none"!==a?"wp-block-uagb-separator--"+a:""])},(0,w.createElement)("div",{className:"wp-block-uagb-separator__inner",style:{"--my-background-image":`${u}`}},"none"!==a&&(0,w.createElement)("div",{className:"wp-block-uagb-separator-element"},"icon"===a?zi(o):(0,w.createElement)(c,{className:"uagb-html-tag"},i)))))}),er=e=>e.reduce((e,t)=>{if(t?.attributes?.block_id&&t.name.includes("srfm")&&(e.blockIds.push(t.attributes.block_id),e.clientIds.push(t.clientId)),t.innerBlocks){const{blockIds:a,clientIds:i}=er(t.innerBlocks);e.blockIds=[...e.blockIds,...a],e.clientIds=[...e.clientIds,...i]}return e},{blockIds:[],clientIds:[]}),tr=e=>t=>{const{name:a,setAttributes:i,clientId:l,attributes:{block_id:n}}=t,o=["uagb/faq","uagb/buttons","uagb/icon-list","uagb/restaurant-menu","uagb/social-share","uagb/content-timeline","uagb/tabs","uagb/how-to"];return(0,x.useEffect)(()=>{srfm_spec_blocks_info.is_customize_preview&&("0"===n||void 0===n)&&o.includes(a)&&document.addEventListener(`UAG-${a}-${l.substr(0,8)}-BlockCustomizeWidgetEditor`,function(e){i({block_id:e.detail.id,classMigrate:e.detail.classMigrate,childMigrate:e.detail.childMigrate})})},[]),(0,x.useEffect)(()=>{if(srfm_spec_blocks_info.is_customize_preview&&("0"===n||void 0===n)&&o.includes(a)){const e=new CustomEvent(`UAG-${a}-${l.substr(0,8)}-BlockCustomizeWidgetEditor`,{detail:{id:l.substr(0,8),classMigrate:!0,childMigrate:!0}});document.dispatchEvent(e)}},[t.attributes]),(0,x.useEffect)(()=>{const e={block_id:l.substr(0,8)};if(["uagb/post-carousel","uagb/post-grid","uagb/post-masonry"].includes(a)&&(e.allTaxonomyStore=void 0),["uagb/countdown"].includes(a)&&(e.editorInnerblocksPreview=!1),["uagb/cf7-styler","uagb/gf-styler"].includes(a)&&(e.isHtml=!1),["uagb/buttons","uagb/icon-list","uagb/restaurant-menu","uagb/social-share","uagb/content-timeline","uagb/instagram-feed"].includes(a)&&(e.childMigrate=!0),["uagb/advanced-heading","uagb/blockquote","uagb/buttons","uagb/call-to-action","uagb/column","uagb/columns","uagb/icon-list","uagb/marketing-button","uagb/image-gallery","uagb/info-box","uagb/lottie","uagb/restaurant-menu","uagb/section","uagb/social-share","uagb/content-timeline","uagb/table-of-contents","uagb/team","uagb/testimonial","uagb/instagram-feed","uagb/login","uagb/register"].includes(a)&&(e.classMigrate=!0),["uagb/image-gallery","srfm/separator","srfm/icon","srfm/image"].includes(a))i(e);else{const t=(0,V.select)("core/block-editor")?.getBlocks(),{blockIds:a,clientIds:o}=t?er(t):{blockIds:[],clientIds:[]};"not_set"!==n&&"0"!==n&&n&&!((e,t,a)=>e.filter(e=>e===t).length>1&&a===e.lastIndexOf(t))(a,n,o.indexOf(l))||i(e)}},[l]),(0,w.createElement)(e,{...t})},ar=(0,X.compose)(ee,tr)(e=>{const{isSelected:t,attributes:a,attributes:{UAGHideDesktop:i,UAGHideTab:l,UAGHideMob:n},name:o,clientId:r,deviceType:s}=e;(0,x.useEffect)(()=>{N(e)},[i,l,n,s]),(0,x.useEffect)(()=>{G()},[s]);const u=(0,x.useMemo)(()=>function(e,t,a,i){const l=a.replace("srfm/",""),n=i.toLowerCase(),{block_id:o,separatorAlign:r,separatorAlignTablet:s,separatorAlignMobile:u,separatorStyle:c,separatorColor:g,separatorWidth:d,separatorWidthTablet:p,separatorWidthMobile:h,separatorWidthType:m,separatorBorderHeight:b,separatorBorderHeightMobile:f,separatorBorderHeightTablet:v,separatorBorderHeightUnit:w,separatorSize:y,separatorSizeTablet:x,separatorSizeMobile:_,separatorSizeType:k,elementType:S,elementPosition:C,elementSpacing:M,elementSpacingTablet:T,elementSpacingMobile:L,elementSpacingUnit:B,elementTextFontFamily:H,elementTextFontWeight:A,elementTextFontSize:R,elementTextFontSizeType:P,elementTextFontSizeTablet:z,elementTextFontSizeMobile:O,elementTextLineHeightType:N,elementTextLineHeight:V,elementTextLineHeightTablet:G,elementTextLineHeightMobile:W,elementTextFontStyle:U,elementTextLetterSpacing:j,elementTextLetterSpacingTablet:q,elementTextLetterSpacingMobile:$,elementTextLetterSpacingType:Z,elementTextDecoration:K,elementTextTransform:Y,elementColor:J,elementIconWidth:X,elementIconWidthTablet:Q,elementIconWidthMobile:ee,elementIconWidthType:te,blockTopPadding:ae,blockRightPadding:ie,blockLeftPadding:le,blockBottomPadding:ne,blockTopPaddingTablet:oe,blockRightPaddingTablet:re,blockLeftPaddingTablet:se,blockBottomPaddingTablet:ue,blockTopPaddingMobile:ce,blockRightPaddingMobile:ge,blockLeftPaddingMobile:de,blockBottomPaddingMobile:pe,blockPaddingUnit:he,blockPaddingUnitTablet:me,blockPaddingUnitMobile:be,blockTopMargin:fe,blockRightMargin:ve,blockLeftMargin:we,blockBottomMargin:ye,blockTopMarginTablet:xe,blockRightMarginTablet:_e,blockLeftMarginTablet:ke,blockBottomMarginTablet:Se,blockTopMarginMobile:Ce,blockRightMarginMobile:Me,blockLeftMarginMobile:Te,blockBottomMarginMobile:Ee,blockMarginUnit:De,blockMarginUnitTablet:Le,blockMarginUnitMobile:Be}=e,He=F(d,"separatorWidth",l),Ae=F(p,"separatorWidthTablet",l),Re=F(h,"separatorWidthMobile",l),Pe=F(b,"separatorBorderHeight",l),ze=F(f,"separatorBorderHeightMobile",l),Oe=F(v,"separatorBorderHeightTablet",l),Fe=F(y,"separatorSize",l),Ie=F(x,"separatorSizeTablet",l),Ne=F(_,"separatorSizeMobile",l),Ve={"border-top-width":D(Pe,w),"-webkit-mask-size":`${D(Fe,k)} 100%`,width:D(He,m),"border-top-color":g,"border-top-style":c};let Ge={};const We={};if("none"===S)Ge={".wp-block-uagb-separator .wp-block-uagb-separator__inner":{"margin-top":"5px","margin-bottom":"5px",...Ve}};else{const e=I(r);Ge={".wp-block-uagb-separator .wp-block-uagb-separator__inner":{width:D(He,m),...e},".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::before":Ve,".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::before":Ve,".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::after":Ve,".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::after":Ve},"left"===C&&(We[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-right":D(M,B)},Ge[".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::before"]={display:"none"},Ge[".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::before"]={display:"none"}),"right"===C&&(We[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-left":D(M,B)},Ge[".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::after"]={display:"none"},Ge[".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::after"]={display:"none"}),"center"===C&&(We[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-right":D(M,B),"margin-left":D(M,B)})}const Ue={...Ge,...We,".wp-block-uagb-separator--text .wp-block-uagb-separator-element .uagb-html-tag":{"font-family":H,"font-style":U,"text-decoration":K,"text-transform":Y,"font-weight":A,"font-size":D(R,P),"line-height":D(V,N),"letter-spacing":D(j,Z),color:J,margin:0},".wp-block-uagb-separator--icon .wp-block-uagb-separator-element svg":{"font-size":D(X,te),width:D(X,te),height:D(X,te),"line-height":D(X,te),color:J,fill:J},".wp-block-srfm-separator":{"margin-top":D(fe,De||"px"),"margin-right":D(ve,De||"px"),"margin-bottom":D(ye,De||"px"),"margin-left":D(we,De||"px")},".wp-block-uagb-separator":{"padding-top":D(ae,he||"px"),"padding-right":D(ie,he||"px"),"padding-bottom":D(ne,he||"px"),"padding-left":D(le,he||"px"),"text-align":r}},je={"border-top-width":D(Oe,w),"-webkit-mask-size":`${D(Ie,k)} 100%`,width:D(Ae,m),"border-top-color":g,"border-top-style":c};let qe={};const $e={};if("none"===S)qe={".wp-block-uagb-separator .wp-block-uagb-separator__inner":{"margin-top":"5px","margin-bottom":"5px",...je}};else{const e=I(s);qe={".wp-block-uagb-separator .wp-block-uagb-separator__inner":{width:D(Ae,m),...e},".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::before":je,".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::before":je,".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::after":je,".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::after":je},"left"===C&&($e[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-right":D(T,B)},qe[".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::before"]={display:"none"},qe[".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::before"]={display:"none"}),"center"===C&&($e[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-left":D(T,B),"margin-right":D(T,B)}),"right"===C&&($e[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-left":D(T,B)},qe[".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::after"]={display:"none"},qe[".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::after"]={display:"none"})}const Ze={...qe,...$e,".wp-block-uagb-separator--text .wp-block-uagb-separator-element .uagb-html-tag":{"font-family":H,"font-style":U,"text-decoration":K,"text-transform":Y,"font-weight":A,"font-size":D(z,P),"line-height":D(G,N),"letter-spacing":D(q,Z),color:J,margin:0},".wp-block-uagb-separator--icon .wp-block-uagb-separator-element svg":{"font-size":D(Q,te),width:D(Q,te),height:D(Q,te),"line-height":D(Q,te),color:J,fill:J},".wp-block-srfm-separator":{"margin-top":D(xe,Le||"px"),"margin-right":D(_e,Le||"px"),"margin-bottom":D(Se,Le||"px"),"margin-left":D(ke,Le||"px")},".wp-block-uagb-separator":{"padding-top":D(oe,me||"px"),"padding-right":D(re,me||"px"),"padding-bottom":D(ue,me||"px"),"padding-left":D(se,me||"px"),"text-align":s}},Ke={"border-top-width":D(ze,w),"-webkit-mask-size":`${D(Ne,k)} 100%`,width:D(Re,m),"border-top-color":g,"border-top-style":c};let Ye={};const Je={};if("none"===S)Ye={".wp-block-uagb-separator .wp-block-uagb-separator__inner":{"margin-top":"5px","margin-bottom":"5px",...Ke}};else{const e=I(u);Ye={".wp-block-uagb-separator .wp-block-uagb-separator__inner":{width:D(Re,m),...e},".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::before":Ke,".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::before":Ke,".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::after":Ke,".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::after":Ke},"left"===C&&(Je[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-right":D(L,B)},Ye[".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::before"]={display:"none"},Ye[".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::before"]={display:"none"}),"center"===C&&(Je[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-left":D(L,B),"margin-right":D(L,B)}),"right"===C&&(Je[".wp-block-uagb-separator .wp-block-uagb-separator__inner .wp-block-uagb-separator-element"]={"margin-left":D(L,B)},Ye[".wp-block-uagb-separator--text .wp-block-uagb-separator__inner::after"]={display:"none"},Ye[".wp-block-uagb-separator--icon .wp-block-uagb-separator__inner::after"]={display:"none"})}const Xe={...Ye,...Je,".wp-block-uagb-separator--text .wp-block-uagb-separator-element .uagb-html-tag":{"font-family":H,"font-style":U,"text-decoration":K,"text-transform":Y,"font-weight":A,"font-size":D(O,P),"line-height":D(W,N),"letter-spacing":D($,Z),color:J,margin:0},".wp-block-uagb-separator--icon .wp-block-uagb-separator-element svg":{"font-size":D(ee,te),width:D(ee,te),height:D(ee,te),"line-height":D(ee,te),color:J,fill:J},".wp-block-srfm-separator":{"margin-top":D(Ce,Be||"px"),"margin-right":D(Me,Be||"px"),"margin-bottom":D(Ee,Be||"px"),"margin-left":D(Te,Be||"px")},".wp-block-uagb-separator":{"padding-top":D(ce,be||"px"),"padding-right":D(ge,be||"px"),"padding-bottom":D(pe,be||"px"),"padding-left":D(de,be||"px"),"text-align":u}},Qe=`.editor-styles-wrapper .uagb-block-${o}`;let et=E(Ue,Qe);return"tablet"!==n&&"mobile"!==n||(et+=E(Ze,`${Qe}`,!0,"tablet"),"mobile"===n&&(et+=E(Xe,`${Qe}`,!0,"mobile"))),et}(a,0,o,s),[a,s]);return(0,w.createElement)(w.Fragment,null,(0,w.createElement)(W,{blockStyling:u}),(0,w.createElement)(J,{attributes:a}),t&&(0,w.createElement)(Xo,{...e}),(0,w.createElement)(Qo,{...e}))}),ir=window.wp.blocks,lr=({image:e,isChildren:t=!1})=>{e||console.error(__("Please add preview image.","sureforms"));let a=srfm_spec_blocks_info.srfm_url;return a+="/images/field-previews/",t&&(a+="children/"),a+=e+".svg",(0,w.createElement)("img",{width:"100%",src:a,alt:""})},nr=function(e={}){let t={example:{attributes:{isPreview:!0}},usesContext:["postId","postType"]};return"site-editor"===srfm_spec_blocks_info.is_site_editor&&(t={}),(0,O.applyFilters)("addCommonDataToSpectraBlocks",{...e,...t})},or=(0,O.applyFilters)("srfm/separator",nr({}));(0,ir.registerBlockType)("srfm/separator",{...or,apiVersion:3,title:(0,M.__)("Separator","sureforms"),description:(0,M.__)("Add a modern separator to divide your page content with icon/text.","sureforms"),supports:{html:!1},icon:C.separator,category:srfm_spec_blocks_info.category,keywords:[(0,M.__)("divider","sureforms"),(0,M.__)("separator","sureforms")],attributes:T,edit:e=>e.attributes.isPreview?(0,w.createElement)(lr,{image:"separator"}):(0,w.createElement)(ar,{...e}),save:()=>null});var rr=a(6323),sr={};rr.A&&rr.A.locals&&(sr.locals=rr.A.locals);var ur,cr=0,gr={attributes:{id:"uagb-editor-styles"}};gr.setAttributes=g(),gr.insert=u().bind(null,"head"),gr.domAPI=r(),gr.insertStyleElement=p(),sr.use=function(e){return gr.options=e||{},cr++||(ur=n()(rr.A,gr)),sr},sr.unuse=function(){cr>0&&! --cr&&(ur(),ur=null)};const dr=sr,pr=e=>{const[t,a]=(0,x.useState)(null),i=(0,x.useRef)(null),{getSelectedBlock:l}=(0,V.select)("core/block-editor");(0,x.useLayoutEffect)(()=>(dr.use(),()=>{dr.unuse()}),[]);const{setAttributes:n,gradientType:o,backgroundGradient:r,backgroundGradientColor2:s,backgroundGradientColor1:u,backgroundGradientType:c,backgroundGradientLocation1:g,backgroundGradientLocation2:d,backgroundGradientAngle:p}=e,h=l()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(i))},[h]);const m="gradient-settings",b=(0,O.applyFilters)(`spectra.${h}.${t}.${m}.before`,"",h),f=(0,O.applyFilters)(`spectra.${h}.${t}.${m}`,"",h),v=void 0!==o?o.value:"basic";return(0,w.createElement)(w.Fragment,null,void 0!==o&&(0,w.createElement)(Ri,{setAttributes:n,label:"Select Gradient",data:{value:o.value,label:o.label},options:[{value:"basic",label:(0,M.__)("Basic","sureforms")},{value:"advanced",label:(0,M.__)("Advanced","sureforms")}],showIcons:!1}),(0,w.createElement)("div",{ref:i},b,"basic"===v&&(0,w.createElement)(te.GradientPicker,{__nextHasNoMargin:!0,value:r?.value||null,onChange:e=>{n({[r.label]:e})},className:"uagb-gradient-picker",gradients:[]}),f),"advanced"===v&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Ti,{label:(0,M.__)("Color 1","sureforms"),colorValue:u.value?u.value:"",data:{value:u.value,label:u.label},setAttributes:n}),(0,w.createElement)(Ti,{label:(0,M.__)("Color 2","sureforms"),colorValue:s.value?s.value:"",data:{value:s.value,label:s.label},setAttributes:n}),(0,w.createElement)(Ri,{setAttributes:n,label:(0,M.__)("Type","sureforms"),data:{value:c.value,label:c.label},className:"uagb-multi-button-alignment-control",options:[{value:"linear",label:(0,M.__)("Linear","sureforms")},{value:"radial",label:(0,M.__)("Radial","sureforms")}]}),(0,w.createElement)(Me,{label:(0,M.__)("Location 1","sureforms"),setAttributes:n,value:g.value,data:{value:g.value,label:g.label},min:0,max:100,displayUnit:!1}),(0,w.createElement)(Me,{label:(0,M.__)("Location 2","sureforms"),setAttributes:n,value:d.value,data:{value:d.value,label:d.label},min:0,max:100,displayUnit:!1}),"linear"===c.value&&(0,w.createElement)(Me,{label:(0,M.__)("Angle","sureforms"),setAttributes:n,value:p.value,data:{value:p.value,label:p.label},min:0,max:360,displayUnit:!1})))};var hr=a(5001),mr={};hr.A&&hr.A.locals&&(mr.locals=hr.A.locals);var br,fr=0,vr={attributes:{id:"uagb-editor-styles"}};vr.setAttributes=g(),vr.insert=u().bind(null,"head"),vr.domAPI=r(),vr.insertStyleElement=p(),mr.use=function(e){return vr.options=e||{},fr++||(br=n()(hr.A,vr)),mr},mr.unuse=function(){fr>0&&! --fr&&(br(),br=null)};const wr=mr;function yr({label:e,type:t,classic:a,gradient:i,setAttributes:l}){const[n,o]=(0,x.useState)(null),r=(0,x.useRef)(null);(0,x.useLayoutEffect)(()=>(wr.use(),()=>{wr.unuse()}),[]);const{getSelectedBlock:s}=(0,V.select)("core/block-editor"),u=s()?.name.split("/").pop();(0,x.useEffect)(()=>{o(se(r))},[u]);const c=ce(e),g=(0,O.applyFilters)(`spectra.${u}.${n}.${c}.before`,"",u),d=(0,O.applyFilters)(`spectra.${u}.${n}.${c}`,"",u);return(0,w.createElement)("div",{ref:r,className:"components-base-control"},g,(0,w.createElement)("div",{className:"uagb-color-switch-control-container"},(0,w.createElement)(Ri,{setAttributes:l,label:e,data:t,className:"uagb-multi-button-alignment-control",options:[{value:"classic",label:(0,M.__)("Classic","sureforms")},{value:"gradient",label:(0,M.__)("Gradient","sureforms")}],showIcons:!1}),"classic"===t.value?(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:a.value,data:{value:a.value,label:a.label},setAttributes:l}):(0,w.createElement)(pr,{backgroundGradient:i,setAttributes:l})),d)}const xr=e=>{const[t,a]=(0,x.useState)(!1),[l,n]=(0,x.useState)(null),o=(0,x.useRef)(null),{setAttributes:r,textShadowColor:s,textShadowHOffset:u,textShadowVOffset:c,textShadowBlur:g,label:d=(0,M.__)("Text Shadow","sureforms"),popup:p=!1,blockId:h,help:m=!1}=e;let b;const f=t?"active":"";(0,x.useLayoutEffect)(()=>{window.addEventListener("click",function(e){const t=document.querySelector(`.active.popup-${h} .spectra-control-popup__options--action-button`),l=document.querySelector(`.active.popup-${h} .spectra-control-popup`);if(t&&!t?.contains(e.target)&&!e.target?.classList?.contains("uagb-advanced-color-indicate")&&!e.target?.parentElement?.closest(".uagb-popover-color")&&l&&!l?.contains(e.target)&&!e.target?.parentElement?.closest(".uagb-reset")){a(!1);const e=y()?.name,t=i("uagSettingState"),l={...t,[e]:{...t?.[e],selectedSetting:!1}},n=i();n&&n.setItem("uagSettingState",JSON.stringify(l))}})},[]);const v=[s.label,u.label,c.label,g.label],{getSelectedBlock:y}=(0,V.select)("core/block-editor"),_=y()?.name.split("/").pop();(0,x.useEffect)(()=>{n(se(o))},[_]);const k=p&&(()=>{const e=(()=>{const e=y()?.name.split("/").pop();let t=!1;return void 0!==z[e]&&v.forEach(a=>{if(a){const i=void 0!==z[e][a]?.default?z[e][a]?.default:"";t={...t,[a]:i}}}),t})(),t=y()?.attributes;let a=!1;return v.forEach(i=>{t?.[i]&&t?.[i]!==e?.[i]&&(a=!0)}),a})(),S=(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Ti,{label:s.title,colorValue:s.value,data:{value:s.value,label:s.label},setAttributes:r}),(0,w.createElement)(Me,{label:u.title,value:u.value,min:-100,max:100,displayUnit:!1,setAttributes:r,data:{value:u.value,label:u.label}}),(0,w.createElement)(Me,{label:c.title,value:c.value,min:-100,max:100,displayUnit:!1,setAttributes:r,data:{value:c.value,label:c.label}}),(0,w.createElement)(Me,{label:g.title,value:g.value,min:0,max:100,displayUnit:!1,setAttributes:r,data:{value:g.value,label:g.label}}));t&&(b=(0,w.createElement)("div",{className:"uagb-text-shadow-advanced spectra-control-popup"},S));const C=(0,w.createElement)("div",{className:"spectra-control-popup__options--action-wrapper"},(0,w.createElement)("span",{className:"uag-control-label"},d,k&&(0,w.createElement)("div",{className:"spectra__change-indicator--dot-right"})),(0,w.createElement)(te.Button,{className:"uag-text-shadow-button spectra-control-popup__options--action-button","aria-pressed":t,onClick:()=>{const e=document.querySelectorAll(".spectra-control-popup__options");if(e&&00&&! --Cr&&(Sr(),Sr=null)};const Tr=kr,Er=e=>{const[t,a]=(0,x.useState)(null),l=(0,x.useRef)(null);(0,x.useLayoutEffect)(()=>(Tr.use(),()=>{Tr.unuse()}),[]);const{getSelectedBlock:n}=(0,V.select)("core/block-editor"),o=n()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(l))},[o]);const r=(0,x.useRef)(null),s=3===e.tabs.length?"uag-control-tabs-three-tabs ":"",u=e.tabs.map((e,t)=>({...e,className:`uagb-tab-${t+1} ${e?.name}`})),c="tabs",g=(0,O.applyFilters)(`spectra.${o}.${t}.${c}.before`,"",o),d=(0,O.applyFilters)(`spectra.${o}.${t}.${c}`,"",o);return(0,w.createElement)("div",{ref:l},g,(0,w.createElement)(te.TabPanel,{className:`uag-control-tabs ${s}`,activeClass:"active-tab",tabs:u,ref:r,onSelect:e=>{const t=document.getElementsByClassName("uag-control-tabs")[0]?.querySelector(`.${e}`);let a=!1;t&&t?.classList&&t?.classList.forEach(e=>{e.includes("uagb-tab")&&(a=`.${e}`)});const l=n()?.name,o=i("uagSettingState"),r={...o,[l]:{...o?.[l],selectedInnerTab:a}},s=i();s&&s.setItem("uagSettingState",JSON.stringify(r))}},t=>(0,w.createElement)("div",{className:"uag-control-tabs-output"},e[t.name])),!e?.disableBottomSeparator&&(0,w.createElement)(Ui,null),(0,w.createElement)(pe,{text:e.help}),d)},Dr={prefix:j().string,borderStyleLabel:j().string,borderWidthLabel:j().string,borderRadiusLabel:j().string,borderColorLabel:j().string},Lr={borderStyleLabel:(0,M.__)("Style","sureforms"),borderWidthLabel:(0,M.__)("Width","sureforms"),borderRadiusLabel:(0,M.__)("Radius","sureforms"),borderColorLabel:(0,M.__)("Color","sureforms"),borderHoverColorLabel:(0,M.__)("Color","sureforms")},Br=e=>{const[t,a]=(0,x.useState)(null),i=(0,x.useRef)(null),{attributes:l,setAttributes:n,disabledBorderTitle:o,disableBottomSeparator:r,deviceType:s,prefix:u,borderStyleLabel:c,borderWidthLabel:g,borderRadiusLabel:d,borderColorLabel:p,borderHoverColorLabel:h,showWidth:m,label:b=(0,M.__)("Border","sureforms"),normalTabLabel:f=(0,M.__)("Normal","sureforms"),hoverTabLabel:v=(0,M.__)("Hover","sureforms"),borderRadiusHelp:y,help:_=!1}=e,{getSelectedBlock:k}=(0,V.select)("core/block-editor"),S=k()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(i))},[S]);const C=[{name:"normal",title:f}];C.push({name:"hover",title:v});const T=l[u+"BorderStyle"],E=(0,w.createElement)(Ti,{label:p,colorValue:l[u+"BorderColor"]?l[u+"BorderColor"]:"",data:{value:l[u+"BorderColor"],label:u+"BorderColor"},setAttributes:n}),D=(0,w.createElement)(Ti,{label:h,colorValue:l[u+"BorderHColor"]?l[u+"BorderHColor"]:"",data:{value:l[u+"BorderHColor"],label:u+"BorderHColor"},setAttributes:n}),L=(0,w.createElement)(w.Fragment,null,!o&&(0,w.createElement)("p",{className:"spectra-panel__body-sub-heading"},b),(0,w.createElement)(de,{label:c,data:{value:T,label:u+"BorderStyle"},setAttributes:n,options:[{value:"default",label:(0,M.__)("Default","sureforms")},{value:"none",label:(0,M.__)("None","sureforms")},{value:"solid",label:(0,M.__)("Solid","sureforms")},{value:"dotted",label:(0,M.__)("Dotted","sureforms")},{value:"dashed",label:(0,M.__)("Dashed","sureforms")},{value:"double",label:(0,M.__)("Double","sureforms")},{value:"groove",label:(0,M.__)("Groove","sureforms")},{value:"inset",label:(0,M.__)("Inset","sureforms")},{value:"outset",label:(0,M.__)("Outset","sureforms")},{value:"ridge",label:(0,M.__)("Ridge","sureforms")}]}),"default"!==T&&"none"!==T&&!1!==m&&(0,w.createElement)(Yo,{label:g,valueTop:{value:l[u+"BorderTopWidth"],label:u+"BorderTopWidth"},valueRight:{value:l[u+"BorderRightWidth"],label:u+"BorderRightWidth"},valueBottom:{value:l[u+"BorderBottomWidth"],label:u+"BorderBottomWidth"},valueLeft:{value:l[u+"BorderLeftWidth"],label:u+"BorderLeftWidth"},valueTopTablet:{value:l[u+"BorderTopWidthTablet"],label:u+"BorderTopWidthTablet"},valueRightTablet:{value:l[u+"BorderRightWidthTablet"],label:u+"BorderRightWidthTablet"},valueBottomTablet:{value:l[u+"BorderBottomWidthTablet"],label:u+"BorderBottomWidthTablet"},valueLeftTablet:{value:l[u+"BorderLeftWidthTablet"],label:u+"BorderLeftWidthTablet"},valueTopMobile:{value:l[u+"BorderTopWidthMobile"],label:u+"BorderTopWidthMobile"},valueRightMobile:{value:l[u+"BorderRightWidthMobile"],label:u+"BorderRightWidthMobile"},valueBottomMobile:{value:l[u+"BorderBottomWidthMobile"],label:u+"BorderBottomWidthMobile"},valueLeftMobile:{value:l[u+"BorderLeftWidthMobile"],label:u+"BorderLeftWidthMobile"},disableUnits:!0,deviceType:s,attributes:l,setAttributes:n,link:{value:l[u+"BorderLink"],label:u+"BorderLink"},min:0}),"default"!==T&&(0,w.createElement)(Yo,{label:d,valueTop:{value:l[u+"BorderTopLeftRadius"],label:u+"BorderTopLeftRadius"},valueRight:{value:l[u+"BorderTopRightRadius"],label:u+"BorderTopRightRadius"},valueBottom:{value:l[u+"BorderBottomRightRadius"],label:u+"BorderBottomRightRadius"},valueLeft:{value:l[u+"BorderBottomLeftRadius"],label:u+"BorderBottomLeftRadius"},valueTopTablet:{value:l[u+"BorderTopLeftRadiusTablet"],label:u+"BorderTopLeftRadiusTablet"},valueRightTablet:{value:l[u+"BorderTopRightRadiusTablet"],label:u+"BorderTopRightRadiusTablet"},valueBottomTablet:{value:l[u+"BorderBottomRightRadiusTablet"],label:u+"BorderBottomRightRadiusTablet"},valueLeftTablet:{value:l[u+"BorderBottomLeftRadiusTablet"],label:u+"BorderBottomLeftRadiusTablet"},valueTopMobile:{value:l[u+"BorderTopLeftRadiusMobile"],label:u+"BorderTopLeftRadiusMobile"},valueRightMobile:{value:l[u+"BorderTopRightRadiusMobile"],label:u+"BorderTopRightRadiusMobile"},valueBottomMobile:{value:l[u+"BorderBottomRightRadiusMobile"],label:u+"BorderBottomRightRadiusMobile"},valueLeftMobile:{value:l[u+"BorderBottomLeftRadiusMobile"],label:u+"BorderBottomLeftRadiusMobile"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"},{name:(0,M.__)("%","sureforms"),unitValue:"%"}],unit:{value:l[u+"BorderRadiusUnit"],label:u+"BorderRadiusUnit"},mUnit:{value:l[u+"BorderRadiusUnitMobile"],label:u+"BorderRadiusUnitMobile"},tUnit:{value:l[u+"BorderRadiusUnitTablet"],label:u+"BorderRadiusUnitTablet"},deviceType:s,attributes:l,setAttributes:n,link:{value:l[u+"BorderRadiusLink"],label:u+"BorderRadiusLink"},help:y||!1,min:0}),"none"!==T&&"default"!==T&&(0,w.createElement)(Er,{tabs:C,normal:E,hover:D,active:"",disableBottomSeparator:!0}),!r&&(0,w.createElement)(Ui,null),(0,w.createElement)(pe,{text:_})),B=ce(e.label),H=(0,O.applyFilters)(`spectra.${S}.${t}.${B}.before`,"",S),A=(0,O.applyFilters)(`spectra.${S}.${t}.${B}`,"",S);return(0,w.createElement)("div",{ref:i},H,L,A)},Hr=Br;Br.propTypes=Dr,Br.defaultProps=Lr;const Ar=(0,x.memo)(e=>{const{attributes:t,deviceType:a,setAttributes:i}=e,{block_id:l,headingTitleToggle:n,headingAlign:o,headingAlignTablet:r,headingAlignMobile:s,headingColorType:u,headingColor:c,headingGradientColor:g,blockBackgroundType:d,blockBackground:p,blockGradientBackground:h,subHeadingColor:m,subHeadSpace:b,subHeadSpaceTablet:f,subHeadSpaceMobile:v,subHeadSpaceType:y,separatorColor:x,headingTag:_,headingWrapper:k,headFontFamily:S,headFontWeight:C,headFontStyle:T,headFontSizeType:E,headFontSizeTypeMobile:D,headFontSizeTypeTablet:L,headFontSize:B,headFontSizeMobile:H,headFontSizeTablet:A,headLineHeightType:R,headLineHeight:P,headLineHeightMobile:z,headLineHeightTablet:F,headLetterSpacing:I,headLetterSpacingTablet:N,headLetterSpacingMobile:V,headLetterSpacingType:G,headShadowColor:W,headShadowHOffset:U,headShadowVOffset:j,headShadowBlur:q,headingDescToggle:$,headingDescPosition:Z,subHeadFontFamily:K,subHeadFontWeight:Y,subHeadFontStyle:J,subHeadFontSize:X,subHeadFontSizeType:Q,subHeadFontSizeTypeMobile:ee,subHeadFontSizeTypeTablet:ae,subHeadFontSizeMobile:ie,subHeadFontSizeTablet:le,subHeadLineHeight:ne,subHeadLineHeightType:oe,subHeadLineHeightMobile:re,subHeadLineHeightTablet:se,headTransform:ue,headDecoration:ce,subHeadTransform:ge,subHeadDecoration:pe,separatorWidth:he,separatorWidthTablet:me,separatorWidthMobile:be,separatorWidthType:fe,separatorStyle:ve,separatorPosition:we,separatorHeight:ye,separatorHeightType:xe,headSpace:_e,headSpaceTablet:ke,headSpaceMobile:Se,headSpaceType:Ce,separatorSpace:Te,separatorSpaceTablet:Ee,separatorSpaceMobile:De,separatorSpaceType:Le,headLoadGoogleFonts:Be,subHeadLoadGoogleFonts:He,subHeadLetterSpacing:Ae,subHeadLetterSpacingTablet:Re,subHeadLetterSpacingMobile:Pe,subHeadLetterSpacingType:ze,blockTopPadding:Oe,blockRightPadding:Fe,blockLeftPadding:Ie,blockBottomPadding:Ne,blockTopPaddingTablet:Ve,blockRightPaddingTablet:Ge,blockLeftPaddingTablet:We,blockBottomPaddingTablet:Ue,blockTopPaddingMobile:je,blockRightPaddingMobile:qe,blockLeftPaddingMobile:$e,blockBottomPaddingMobile:Ze,blockPaddingUnit:Ke,blockPaddingUnitTablet:Ye,blockPaddingUnitMobile:Je,blockPaddingLink:Xe,blockTopMargin:Qe,blockRightMargin:et,blockLeftMargin:tt,blockBottomMargin:at,blockTopMarginTablet:it,blockRightMarginTablet:lt,blockLeftMarginTablet:nt,blockBottomMarginTablet:ot,blockTopMarginMobile:rt,blockRightMarginMobile:st,blockLeftMarginMobile:ut,blockBottomMarginMobile:ct,blockMarginUnit:gt,blockMarginUnitTablet:dt,blockMarginUnitMobile:pt,blockMarginLink:ht,linkColor:mt,linkHColor:bt,highLightColor:ft,highLightBackground:vt,highLightLoadGoogleFonts:wt,highLightFontFamily:yt,highLightFontWeight:xt,highLightFontStyle:_t,highLightTransform:kt,highLightDecoration:St,highLightFontSizeType:Ct,highLightFontSizeTypeMobile:Mt,highLightFontSizeTypeTablet:Tt,highLightLineHeightType:Et,highLightFontSize:Dt,highLightFontSizeTablet:Lt,highLightFontSizeMobile:Bt,highLightLineHeight:Ht,highLightLineHeightTablet:At,highLightLineHeightMobile:Rt,highLightLetterSpacing:Pt,highLightLetterSpacingTablet:zt,highLightLetterSpacingMobile:Ot,highLightLetterSpacingType:Ft,highLightTopPadding:It,highLightRightPadding:Nt,highLightLeftPadding:Vt,highLightBottomPadding:Gt,highLightTopPaddingTablet:Wt,highLightRightPaddingTablet:Ut,highLightLeftPaddingTablet:jt,highLightBottomPaddingTablet:qt,highLightTopPaddingMobile:$t,highLightRightPaddingMobile:Zt,highLightLeftPaddingMobile:Kt,highLightBottomPaddingMobile:Yt,highLightPaddingUnit:Jt,highLightPaddingUnitTablet:Xt,highLightPaddingUnitMobile:Qt,highLightPaddingLink:ea}=t;let ta=[{value:"above-heading",label:(0,M.__)("Above Heading","sureforms")},{value:"below-heading",label:(0,M.__)("Below Heading","sureforms")},{value:"above-sub-heading",label:(0,M.__)("Above Sub-heading","sureforms")},{value:"below-sub-heading",label:(0,M.__)("Below Sub-heading","sureforms")}];n||(ta=[{value:"above-sub-heading",label:(0,M.__)("Above Sub-heading","sureforms")},{value:"below-sub-heading",label:(0,M.__)("Below Sub-heading","sureforms")}]),$||(ta=[{value:"above-heading",label:(0,M.__)("Above Heading","sureforms")},{value:"below-heading",label:(0,M.__)("Below Heading","sureforms")}]),$&&"above-heading"===Z&&(ta=[{value:"above-heading",label:(0,M.__)("Above Heading","sureforms")},{value:"below-heading",label:(0,M.__)("Below Heading","sureforms")},{value:"above-sub-heading",label:(0,M.__)("Above Sub-heading","sureforms")}]),$&&"below-heading"===Z&&(ta=[{value:"above-heading",label:(0,M.__)("Above Heading","sureforms")},{value:"below-heading",label:(0,M.__)("Below Heading","sureforms")},{value:"below-sub-heading",label:(0,M.__)("Below Sub-heading","sureforms")}]);const aa=[{id:"alignment",component:(0,w.createElement)(Ri,{setAttributes:i,label:(0,M.__)("Alignment","sureforms"),data:{desktop:{value:o,label:"headingAlign"},tablet:{value:r,label:"headingAlignTablet"},mobile:{value:s,label:"headingAlignMobile"}},options:[{value:"left",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-left")}),tooltip:(0,M.__)("Left","sureforms")},{value:"center",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-center")}),tooltip:(0,M.__)("Center","sureforms")},{value:"right",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-right")}),tooltip:(0,M.__)("Right","sureforms")}],showIcons:!0,responsive:!0})},{id:"heading",component:(0,w.createElement)(te.ToggleControl,{label:(0,M.__)("Heading","sureforms"),checked:n,onChange:()=>i({headingTitleToggle:!n})})},{id:"heading-tag",component:n&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Ri,{setAttributes:i,label:(0,M.__)("Heading Tag","sureforms"),data:{value:_,label:"headingTag"},options:[{value:"h1",label:(0,M.__)("H1","sureforms")},{value:"h2",label:(0,M.__)("H2","sureforms")},{value:"h3",label:(0,M.__)("H3","sureforms")},{value:"h4",label:(0,M.__)("H4","sureforms")},{value:"h5",label:(0,M.__)("H5","sureforms")},{value:"h6",label:(0,M.__)("H6","sureforms")},{value:"p",label:(0,M.__)("P","sureforms")},{value:"div",label:(0,M.__)("Div","sureforms")}]}),(0,w.createElement)(Ri,{setAttributes:i,label:(0,M.__)("Heading Wrapper","sureforms"),data:{value:k,label:"headingWrapper"},options:[{value:"div",label:(0,M.__)("Div","sureforms")},{value:"header",label:(0,M.__)("Header","sureforms")}]}))}],ia=(0,O.applyFilters)("srfm.block.heading.content",aa,e),la=(0,O.applyFilters)("srfm.advanced-heading.settings.advance",[],e);return(0,w.createElement)("div",null,(0,w.createElement)(Pi.InspectorControls,null,(0,w.createElement)(di,null,(0,w.createElement)(pi,{...hi,parentProps:e},(0,w.createElement)(Jo,{title:(0,M.__)("Content","sureforms"),initialOpen:!0},ia.map(e=>e.component)),(0,w.createElement)(Jo,{title:(0,M.__)("Sub Heading","sureforms"),initialOpen:!1},(0,w.createElement)(te.ToggleControl,{label:(0,M.__)("Enable Sub Heading","sureforms"),checked:$,onChange:()=>i({headingDescToggle:!$})}),$&&(0,w.createElement)(de,{label:(0,M.__)("Position","sureforms"),data:{value:Z,label:"headingDescPosition"},setAttributes:i,options:[{value:"above-heading",label:(0,M.__)("Above Heading","sureforms")},{value:"below-heading",label:(0,M.__)("Below Heading","sureforms")}]})),(0,w.createElement)(Jo,{title:(0,M.__)("Separator","sureforms"),initialOpen:!1},(0,w.createElement)(de,{label:(0,M.__)("Style","sureforms"),data:{value:ve,label:"separatorStyle"},setAttributes:i,options:[{value:"none",label:(0,M.__)("None","sureforms")},{value:"solid",label:(0,M.__)("Solid","sureforms")},{value:"double",label:(0,M.__)("Double","sureforms")},{value:"dashed",label:(0,M.__)("Dashed","sureforms")},{value:"dotted",label:(0,M.__)("Dotted","sureforms")}]}),"none"!==ve&&(0,w.createElement)(de,{label:(0,M.__)("Position","sureforms"),data:{value:we,label:"separatorPosition"},setAttributes:i,options:ta}))),(0,w.createElement)(pi,{...mi,parentProps:e},n&&(0,w.createElement)(Jo,{title:(0,M.__)("Heading","sureforms"),initialOpen:!0},(0,w.createElement)(yr,{label:(0,M.__)("Text Color","sureforms"),type:{value:u,label:"headingColorType"},classic:{value:c,label:"headingColor"},gradient:{value:g,label:"headingGradientColor"},setAttributes:i}),(0,w.createElement)(Qa,{label:(0,M.__)("Typography","sureforms"),attributes:t,setAttributes:i,loadGoogleFonts:{value:Be,label:"headLoadGoogleFonts"},fontFamily:{value:S,label:"headFontFamily"},fontWeight:{value:C,label:"headFontWeight"},fontStyle:{value:T,label:"headFontStyle"},transform:{value:ue,label:"headTransform"},decoration:{value:ce,label:"headDecoration"},fontSizeType:{value:E,label:"headFontSizeType"},fontSizeTypeMobile:{value:D,label:"headFontSizeTypeMobile"},fontSizeTypeTablet:{value:L,label:"headFontSizeTypeTablet"},fontSize:{value:B,label:"headFontSize"},fontSizeMobile:{value:H,label:"headFontSizeMobile"},fontSizeTablet:{value:A,label:"headFontSizeTablet"},lineHeightType:{value:R,label:"headLineHeightType"},lineHeight:{value:P,label:"headLineHeight"},lineHeightMobile:{value:z,label:"headLineHeightMobile"},lineHeightTablet:{value:F,label:"headLineHeightTablet"},letterSpacing:{value:I,label:"headLetterSpacing"},letterSpacingTablet:{value:N,label:"headLetterSpacingTablet"},letterSpacingMobile:{value:V,label:"headLetterSpacingMobile"},letterSpacingType:{value:G,label:"headLetterSpacingType"}}),(0,w.createElement)(xr,{blockId:l,setAttributes:i,label:(0,M.__)("Text Shadow","sureforms"),textShadowColor:{value:W,label:"headShadowColor",title:(0,M.__)("Color","sureforms")},textShadowHOffset:{value:U,label:"headShadowHOffset",title:(0,M.__)("Horizontal","sureforms")},textShadowVOffset:{value:j,label:"headShadowVOffset",title:(0,M.__)("Vertical","sureforms")},textShadowBlur:{value:q,label:"headShadowBlur",title:(0,M.__)("Blur","sureforms")},popup:!0}),($||"none"!==ve)&&(0,w.createElement)(Qi,{label:(0,M.__)("Bottom Spacing","sureforms"),data:{desktop:{value:_e,label:"headSpace"},tablet:{value:ke,label:"headSpaceTablet"},mobile:{value:Se,label:"headSpaceMobile"}},min:0,max:200,unit:{value:Ce,label:"headSpaceType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"}],setAttributes:i})),"none"!==ve&&(0,w.createElement)(Jo,{title:(0,M.__)("Separator","sureforms"),initialOpen:!1},(0,w.createElement)(Qi,{label:(0,M.__)("Width","sureforms"),data:{desktop:{value:he,label:"separatorWidth"},tablet:{value:me,label:"separatorWidthTablet"},mobile:{value:be,label:"separatorWidthMobile"}},min:0,max:"%"===fe?100:500,unit:{value:fe,label:"separatorWidthType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"},{name:(0,M.__)("%","sureforms"),unitValue:"%"}],setAttributes:i}),(0,w.createElement)(Me,{label:(0,M.__)("Thickness","sureforms"),setAttributes:i,value:ye,data:{value:ye,label:"separatorHeight"},min:0,max:20,unit:{value:xe,label:"separatorHeightType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"}]}),(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:x||"",data:{value:x,label:"separatorColor"},setAttributes:i}),(0,w.createElement)(Qi,{label:(0,M.__)("Bottom Spacing","sureforms"),data:{desktop:{value:Te,label:"separatorSpace"},tablet:{value:Ee,label:"separatorSpaceTablet"},mobile:{value:De,label:"separatorSpaceMobile"}},min:0,max:200,unit:{value:Le,label:"separatorSpaceType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"}],setAttributes:i})),$&&(0,w.createElement)(Jo,{title:(0,M.__)("Sub Heading","sureforms"),initialOpen:!1},(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:m||"",data:{value:m,label:"subHeadingColor"},setAttributes:i}),(0,w.createElement)(Qa,{label:(0,M.__)("Typography","sureforms"),attributes:t,setAttributes:i,loadGoogleFonts:{value:He,label:"subHeadLoadGoogleFonts"},fontFamily:{value:K,label:"subHeadFontFamily"},fontWeight:{value:Y,label:"subHeadFontWeight"},fontStyle:{value:J,label:"subHeadFontStyle"},transform:{value:ge,label:"subHeadTransform"},decoration:{value:pe,label:"subHeadDecoration"},fontSizeType:{value:Q,label:"subHeadFontSizeType"},fontSizeTypeMobile:{value:ee,label:"subHeadFontSizeTypeMobile"},fontSizeTypeTablet:{value:ae,label:"subHeadFontSizeTypeTablet"},fontSize:{value:X,label:"subHeadFontSize"},fontSizeMobile:{value:ie,label:"subHeadFontSizeMobile"},fontSizeTablet:{value:le,label:"subHeadFontSizeTablet"},lineHeightType:{value:oe,label:"subHeadLineHeightType"},lineHeight:{value:ne,label:"subHeadLineHeight"},lineHeightMobile:{value:re,label:"subHeadLineHeightMobile"},lineHeightTablet:{value:se,label:"subHeadLineHeightTablet"},letterSpacing:{value:Ae,label:"subHeadLetterSpacing"},letterSpacingTablet:{value:Re,label:"subHeadLetterSpacingTablet"},letterSpacingMobile:{value:Pe,label:"subHeadLetterSpacingMobile"},letterSpacingType:{value:ze,label:"subHeadLetterSpacingType"}}),(0,w.createElement)(Qi,{label:(0,M.__)("Bottom Spacing","sureforms"),data:{desktop:{value:b,label:"subHeadSpace"},tablet:{value:f,label:"subHeadSpaceTablet"},mobile:{value:v,label:"subHeadSpaceMobile"}},min:0,max:200,unit:{value:y,label:"subHeadSpaceType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"}],setAttributes:i})),(0,w.createElement)(Jo,{title:(0,M.__)("Link","sureforms"),initialOpen:!1},(0,w.createElement)("p",{className:"components-base-control__help"},(0,M.__)("Below settings will apply to the heading text to which a link is applied.","sureforms")),(0,w.createElement)(Er,{tabs:[{name:"normal",title:(0,M.__)("Normal","sureforms")},{name:"hover",title:(0,M.__)("Hover","sureforms")}],normal:(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:mt,data:{value:mt,label:"linkColor"},setAttributes:i}),hover:(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:bt,data:{value:bt,label:"linkHColor"},setAttributes:i}),disableBottomSeparator:!0})),(0,w.createElement)(Jo,{title:(0,M.__)("Highlight","sureforms"),initialOpen:!1},(0,w.createElement)("p",{className:"components-base-control__help"},(0,M.__)("Highlight heading text from toolbar to see the below controls working.","sureforms")),(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:ft,data:{value:ft,label:"highLightColor"},setAttributes:i}),(0,w.createElement)(Ti,{label:(0,M.__)("Background","sureforms"),colorValue:vt,data:{value:vt,label:"highLightBackground"},setAttributes:i}),(0,w.createElement)(Qa,{label:(0,M.__)("Typography","sureforms"),attributes:t,setAttributes:i,loadGoogleFonts:{value:wt,label:"highLightLoadGoogleFonts"},fontFamily:{value:yt,label:"highLightFontFamily"},fontWeight:{value:xt,label:"highLightFontWeight"},fontStyle:{value:_t,label:"highLightFontStyle"},transform:{value:kt,label:"highLightTransform"},decoration:{value:St,label:"highLightDecoration"},fontSizeType:{value:Ct,label:"highLightFontSizeType"},fontSizeTypeMobile:{value:Mt,label:"highLightFontSizeTypeMobile"},fontSizeTypeTablet:{value:Tt,label:"highLightFontSizeTypeTablet"},fontSize:{value:Dt,label:"highLightFontSize"},fontSizeMobile:{value:Bt,label:"highLightFontSizeMobile"},fontSizeTablet:{value:Lt,label:"highLightFontSizeTablet"},lineHeightType:{value:Et,label:"highLightLineHeightType"},lineHeight:{value:Ht,label:"highLightLineHeight"},lineHeightMobile:{value:Rt,label:"highLightLineHeightMobile"},lineHeightTablet:{value:At,label:"highLightLineHeightTablet"},letterSpacing:{value:Pt,label:"highLightLetterSpacing"},letterSpacingTablet:{value:zt,label:"highLightLetterSpacingTablet"},letterSpacingMobile:{value:Ot,label:"highLightLetterSpacingMobile"},letterSpacingType:{value:Ft,label:"highLightLetterSpacingType"}}),(0,w.createElement)(Yo,{label:(0,M.__)("Padding","sureforms"),valueTop:{value:It,label:"highLightTopPadding"},valueRight:{value:Nt,label:"highLightRightPadding"},valueBottom:{value:Gt,label:"highLightBottomPadding"},valueLeft:{value:Vt,label:"highLightLeftPadding"},valueTopTablet:{value:Wt,label:"highLightTopPaddingTablet"},valueRightTablet:{value:Ut,label:"highLightRightPaddingTablet"},valueBottomTablet:{value:qt,label:"highLightBottomPaddingTablet"},valueLeftTablet:{value:jt,label:"highLightLeftPaddingTablet"},valueTopMobile:{value:$t,label:"highLightTopPaddingMobile"},valueRightMobile:{value:Zt,label:"highLightRightPaddingMobile"},valueBottomMobile:{value:Yt,label:"highLightBottomPaddingMobile"},valueLeftMobile:{value:Kt,label:"highLightLeftPaddingMobile"},unit:{value:Jt,label:"highLightPaddingUnit"},mUnit:{value:Qt,label:"highLightPaddingUnitMobile"},tUnit:{value:Xt,label:"highLightPaddingUnitTablet"},deviceType:a,attributes:t,setAttributes:i,link:{value:ea,label:"highLightPaddingLink"}}),(0,w.createElement)(Hr,{setAttributes:i,prefix:"highLight",attributes:t,deviceType:a,disableBottomSeparator:!0})),(0,w.createElement)(Jo,{title:(0,M.__)("Background","sureforms"),initialOpen:!1},(0,w.createElement)(yr,{label:(0,M.__)("Background Color","sureforms"),type:{value:d,label:"blockBackgroundType"},classic:{value:p,label:"blockBackground"},gradient:{value:h,label:"blockGradientBackground"},setAttributes:i})),(0,w.createElement)(Jo,{title:(0,M.__)("Spacing","sureforms"),initialOpen:!1},(0,w.createElement)(Yo,{label:(0,M.__)("Padding","sureforms"),valueTop:{value:Oe,label:"blockTopPadding"},valueRight:{value:Fe,label:"blockRightPadding"},valueBottom:{value:Ne,label:"blockBottomPadding"},valueLeft:{value:Ie,label:"blockLeftPadding"},valueTopTablet:{value:Ve,label:"blockTopPaddingTablet"},valueRightTablet:{value:Ge,label:"blockRightPaddingTablet"},valueBottomTablet:{value:Ue,label:"blockBottomPaddingTablet"},valueLeftTablet:{value:We,label:"blockLeftPaddingTablet"},valueTopMobile:{value:je,label:"blockTopPaddingMobile"},valueRightMobile:{value:qe,label:"blockRightPaddingMobile"},valueBottomMobile:{value:Ze,label:"blockBottomPaddingMobile"},valueLeftMobile:{value:$e,label:"blockLeftPaddingMobile"},unit:{value:Ke,label:"blockPaddingUnit"},mUnit:{value:Je,label:"blockPaddingUnitMobile"},tUnit:{value:Ye,label:"blockPaddingUnitTablet"},deviceType:a,attributes:t,setAttributes:i,link:{value:Xe,label:"blockPaddingLink"}}),(0,w.createElement)(Yo,{label:(0,M.__)("Margin","sureforms"),valueTop:{value:Qe,label:"blockTopMargin"},valueRight:{value:et,label:"blockRightMargin"},valueBottom:{value:at,label:"blockBottomMargin"},valueLeft:{value:tt,label:"blockLeftMargin"},valueTopTablet:{value:it,label:"blockTopMarginTablet"},valueRightTablet:{value:lt,label:"blockRightMarginTablet"},valueBottomTablet:{value:ot,label:"blockBottomMarginTablet"},valueLeftTablet:{value:nt,label:"blockLeftMarginTablet"},valueTopMobile:{value:rt,label:"blockTopMarginMobile"},valueRightMobile:{value:st,label:"blockRightMarginMobile"},valueBottomMobile:{value:ct,label:"blockBottomMarginMobile"},valueLeftMobile:{value:ut,label:"blockLeftMarginMobile"},unit:{value:gt,label:"blockMarginUnit"},mUnit:{value:pt,label:"blockMarginUnitMobile"},tUnit:{value:dt,label:"blockMarginUnitTablet"},deviceType:a,attributes:t,setAttributes:i,link:{value:ht,label:"blockMarginLink"}}))),(0,w.createElement)(pi,{...bi},la.map(e=>e.content)))))}),Rr=e=>{const{setAttributes:t,attributes:a,context:i,onReplace:l,mergeBlocks:n,headingHasDynamicContent:o}=e;let{headingTitle:r,headingTag:s}=a,u=!1;if(o){const e=(0,O.applyFilters)("uag_render_text_loop_data",r,i);""!==e&&(u=["srfm/dynamic-content"],r=e)}return(0,w.createElement)(Pi.RichText,{tagName:s,placeholder:(0,M.__)("Write a Heading","sureforms"),value:r,className:"uagb-heading-text",onChange:e=>{t({headingTitle:e})},allowedFormats:u,onMerge:n,onSplit:e=>e?(0,ir.createBlock)("srfm/advanced-heading",{...a,headingTitle:e}):(0,ir.createBlock)("core/paragraph"),onReplace:l,onRemove:()=>l([])})},Pr=e=>{const{setAttributes:t,attributes:a,context:i,onReplace:l,mergeBlocks:n,descriptionHasDynamicContent:o}=e;let{headingDesc:r}=e.attributes,s=!1;if(o){const e=(0,O.applyFilters)("uag_render_text_loop_data",r,i);""!==e&&(s=["srfm/dynamic-content"],r=e)}return(0,w.createElement)(Pi.RichText,{tagName:"p",placeholder:(0,M.__)("Write a Description","sureforms"),value:r,className:"uagb-desc-text",onChange:e=>t({headingDesc:e}),allowedFormats:s,onMerge:n,onSplit:e=>e?(0,ir.createBlock)("srfm/advanced-heading",{...a,headingDesc:e}):(0,ir.createBlock)("core/paragraph"),onReplace:l,onRemove:()=>l([])})},zr=(0,x.memo)(e=>{const{attributes:{block_id:t,headingTitleToggle:a,headingDescToggle:i,separatorStyle:l,separatorPosition:n,headingDescPosition:o,headingWrapper:r},className:s,deviceType:u}=e,c=r||"div",g="none"!==l&&(0,w.createElement)("div",{className:"uagb-separator-wrap"},(0,w.createElement)("div",{className:"uagb-separator"})),d=(0,w.createElement)(w.Fragment,null,"above-heading"===n?g:"",(0,w.createElement)(Rr,{...e}),"below-heading"===n?g:""),p=(0,w.createElement)(w.Fragment,null,"above-sub-heading"===n?g:"",(0,w.createElement)(Pr,{...e}),"below-sub-heading"===n?g:"");return(0,w.createElement)(c,{className:ue([s,"wp-block-uagb-advanced-heading","uagb-block",`uagb-editor-preview-mode-${u.toLowerCase()}`,`uagb-block-${t}`])},i&&"above-heading"===o?p:"",a&&d,i&&"below-heading"===o?p:"",i||a?"":g)}),Or=(e,t,a="desktop")=>{if("default"!==e[t+"BorderStyle"]){switch(a){case"tablet":a="Tablet";break;case"mobile":a="Mobile";break;default:a=""}const i={},l=e[t+"BorderStyle"],n=e[t+"BorderColor"],o=D(e[t+"BorderTopWidth"+a],"px"),r=D(e[t+"BorderRightWidth"+a],"px"),s=D(e[t+"BorderBottomWidth"+a],"px"),u=D(e[t+"BorderLeftWidth"+a],"px"),c=e[t+"BorderRadiusUnit"+a]||"px",g=D(e[t+"BorderTopLeftRadius"+a],c),d=D(e[t+"BorderTopRightRadius"+a],c),p=D(e[t+"BorderBottomRightRadius"+a],c),h=D(e[t+"BorderBottomLeftRadius"+a],c);return"none"!==e[t+"BorderStyle"]&&""!==e[t+"BorderStyle"]&&(i["border-top-width"]=o,i["border-right-width"]=r,i["border-bottom-width"]=s,i["border-left-width"]=u,i["border-color"]=n),i["border-style"]=l,i["border-top-left-radius"]=g,i["border-top-right-radius"]=d,i["border-bottom-right-radius"]=p,i["border-bottom-left-radius"]=h,i}return{}},Fr=(0,x.memo)(({attributes:e})=>{const{headLoadGoogleFonts:t,headFontFamily:a,headFontWeight:i,subHeadLoadGoogleFonts:l,subHeadFontFamily:n,subHeadFontWeight:o,highLightLoadGoogleFonts:r,highLightFontFamily:s,highLightFontWeight:u}=e;let c,g,d;if(!0===t){const e={google:{families:[a+(i?":"+i:"")]}};c=(0,w.createElement)(Y,{config:e})}if(!0===l){const e={google:{families:[n+(o?":"+o:"")]}};g=(0,w.createElement)(Y,{config:e})}if(!0===r){const e={google:{families:[s+(u?":"+u:"")]}};d=(0,w.createElement)(Y,{config:e})}return(0,w.createElement)(w.Fragment,null,c,g,d)}),Ir=(0,X.compose)(tr,ee)(e=>{const{attributes:t,attributes:{UAGHideDesktop:a,UAGHideTab:i,UAGHideMob:l,headingTitle:n,headingDesc:o,formId:r},isSelected:s,clientId:u,name:c,deviceType:g,context:d,setAttributes:p}=e,h=-1!==n.indexOf('(0,V.useSelect)(t=>{const a=t(Pi.store).getBlockParents(e),i=t(Pi.store).getBlocksByClientId(a?.[0]),l=t("core/editor").getCurrentPostId();return i?.[0]?.attributes?.id||l}))(u);e={...e,headingHasDynamicContent:h,descriptionHasDynamicContent:m};const f=(0,Pi.useBlockProps)();(0,x.useEffect)(()=>{N(e)},[a,i,l,g]),(0,x.useEffect)(()=>{!h&&!m||t?.context||p({context:d})},[d]),(0,x.useEffect)(()=>{G()},[g]),(0,x.useEffect)(()=>{r!==b&&p({formId:b})},[r,b]);const v=(0,x.useMemo)(()=>function(e,t,a,i,l=!1){const n=i.toLowerCase(),o=a.replace("srfm/",""),{block_id:r,headingAlign:s,headingAlignTablet:u,headingAlignMobile:c,headingTag:g,headingColor:d,headingColorType:p,headingGradientColor:h,blockBackgroundType:m,blockBackground:b,blockGradientBackground:f,headSpace:v,headSpaceTablet:w,headSpaceMobile:y,separatorStyle:x,separatorHeight:_,separatorHeightType:k,separatorWidth:S,separatorWidthTablet:C,separatorWidthMobile:M,separatorWidthType:T,separatorColor:L,separatorSpace:B,separatorSpaceTablet:H,separatorSpaceMobile:A,separatorSpaceType:R,subHeadingColor:P,headFontFamily:z,headFontStyle:I,headFontWeight:N,headFontSize:V,headFontSizeType:G,headFontSizeTypeMobile:W,headFontSizeTypeTablet:U,headFontSizeMobile:j,headFontSizeTablet:q,headLineHeight:$,headLineHeightType:Z,headLineHeightMobile:K,headLineHeightTablet:Y,headLetterSpacing:J,headLetterSpacingTablet:X,headLetterSpacingMobile:Q,headLetterSpacingType:ee,headShadowColor:te,headShadowHOffset:ae,headShadowVOffset:ie,headShadowBlur:le,subHeadFontFamily:ne,subHeadFontStyle:oe,subHeadFontWeight:re,subHeadFontSize:se,subHeadFontSizeType:ue,subHeadFontSizeTypeMobile:ce,subHeadFontSizeTypeTablet:ge,subHeadFontSizeMobile:de,subHeadFontSizeTablet:pe,subHeadLineHeight:he,subHeadLineHeightType:me,subHeadLineHeightMobile:be,subHeadLineHeightTablet:fe,headTransform:ve,headDecoration:we,subHeadTransform:ye,subHeadDecoration:xe,subHeadLetterSpacing:_e,subHeadLetterSpacingTablet:ke,subHeadLetterSpacingMobile:Se,subHeadLetterSpacingType:Ce,blockTopPadding:Me,blockRightPadding:Te,blockLeftPadding:Ee,blockBottomPadding:De,blockTopPaddingTablet:Le,blockRightPaddingTablet:Be,blockLeftPaddingTablet:He,blockBottomPaddingTablet:Ae,blockTopPaddingMobile:Re,blockRightPaddingMobile:Pe,blockLeftPaddingMobile:ze,blockBottomPaddingMobile:Oe,blockPaddingUnit:Fe,blockPaddingUnitTablet:Ie,blockPaddingUnitMobile:Ne,blockTopMargin:Ve,blockRightMargin:Ge,blockLeftMargin:We,blockBottomMargin:Ue,blockTopMarginTablet:je,blockRightMarginTablet:qe,blockLeftMarginTablet:$e,blockBottomMarginTablet:Ze,blockTopMarginMobile:Ke,blockRightMarginMobile:Ye,blockLeftMarginMobile:Je,blockBottomMarginMobile:Xe,blockMarginUnit:Qe,blockMarginUnitTablet:et,blockMarginUnitMobile:tt,linkColor:at,linkHColor:it,highLightBorderHColor:lt,highLightColor:nt,highLightBackground:ot,highLightFontFamily:rt,highLightFontWeight:st,highLightFontStyle:ut,highLightTransform:ct,highLightDecoration:gt,highLightFontSizeType:dt,highLightFontSizeTypeTablet:pt,highLightFontSizeTypeMobile:ht,highLightLineHeightType:mt,highLightFontSize:bt,highLightFontSizeTablet:ft,highLightFontSizeMobile:vt,highLightLineHeight:wt,highLightLineHeightTablet:yt,highLightLineHeightMobile:xt,highLightLetterSpacing:_t,highLightLetterSpacingTablet:kt,highLightLetterSpacingMobile:St,highLightLetterSpacingType:Ct,highLightTopPadding:Mt,highLightRightPadding:Tt,highLightLeftPadding:Et,highLightBottomPadding:Dt,highLightTopPaddingTablet:Lt,highLightRightPaddingTablet:Bt,highLightLeftPaddingTablet:Ht,highLightBottomPaddingTablet:At,highLightTopPaddingMobile:Rt,highLightRightPaddingMobile:Pt,highLightLeftPaddingMobile:zt,highLightBottomPaddingMobile:Ot,highLightPaddingUnit:Ft,highLightPaddingUnitTablet:It,highLightPaddingUnitMobile:Nt,subHeadSpace:Vt,subHeadSpaceTablet:Gt,subHeadSpaceMobile:Wt,headingDescToggle:Ut}=e;let jt={},qt={},$t={},Zt={};"gradient"===p&&($t={"-webkit-text-fill-color":at},Zt={"-webkit-text-fill-color":it});const Kt=Or(e,"highLight"),Yt=Or(e,"highLight","tablet"),Jt=Or(e,"highLight","mobile");let Xt={".wp-block-uagb-advanced-heading ":{background:"classic"===m?b:f,"text-align":s,"margin-top":D(Ve,Qe),"margin-right":D(Ge,Qe),"margin-bottom":D(Ue,Qe),"margin-left":D(We,Qe),"padding-top":D(Me,Fe),"padding-right":D(Te,Fe),"padding-bottom":D(De,Fe),"padding-left":D(Ee,Fe)}," p.uagb-desc-text":{"font-family":ne,"font-style":oe,"text-decoration":xe,"text-transform":ye,"font-weight":re,"font-size":D(se,ue),"line-height":D(he,me),"letter-spacing":D(_e,Ce),color:P,"margin-bottom":D(F(Vt,"subHeadSpace",o),"px")},".wp-block-uagb-advanced-heading a":{color:at,...$t},".wp-block-uagb-advanced-heading a:hover":{color:it,...Zt},".wp-block-uagb-advanced-heading .srfm-highlight":{background:ot,color:nt,"-webkit-text-fill-color":nt,"font-family":rt,"font-style":ut,"text-decoration":gt,"text-transform":ct,"font-weight":st,"font-size":D(bt,dt),"line-height":D(wt,mt),"letter-spacing":D(_t,Ct),"padding-top":D(Mt,Ft),"padding-right":D(Tt,Ft),"padding-bottom":D(Dt,Ft),"padding-left":D(Et,Ft),...Kt},".wp-block-uagb-advanced-heading .srfm-highlight:hover":{"border-color":lt}},Qt={};"gradient"===p&&(Qt={background:h,"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"});const ea={color:nt,background:ot,"-webkit-text-fill-color":nt};Xt[".wp-block-uagb-advanced-heading .srfm-highlight::-moz-selection"]=ea,Xt[".wp-block-uagb-advanced-heading .srfm-highlight::selection"]=ea,Xt[" "+g+".uagb-heading-text"]={"font-family":z,"font-style":I,"text-decoration":we,"text-transform":ve,"font-weight":N,"font-size":D(V,G),"line-height":D($,Z),color:d,"letter-spacing":D(J,ee),...Qt};const ta=te&&D(ae,"px")+" "+D(ie,"px")+" "+D(le,"px")+" "+te;"gradient"===p?Xt[" "+g+".uagb-heading-text"].filter=`drop-shadow(${ta})`:Xt[" "+g+".uagb-heading-text"]["text-shadow"]=ta,"none"!==x&&(Xt[" .uagb-separator"]={"border-top-style":x,"border-top-width":D(F(_,"separatorHeight",o),k),width:D(F(S,"separatorWidth",o),T),"border-color":L,"margin-bottom":D(F(B,"separatorSpace",o),R)}),jt[".wp-block-uagb-advanced-heading "]={"text-align":u,"margin-top":D(je,et),"margin-right":D(qe,et),"margin-bottom":D(Ze,et),"margin-left":D($e,et),"padding-top":D(Le,Ie),"padding-right":D(Be,Ie),"padding-bottom":D(Ae,Ie),"padding-left":D(He,Ie)},jt[" "+g+".uagb-heading-text"]={"font-size":D(q,U),"line-height":D(Y,Z),"letter-spacing":D(X,ee)},jt[" p.uagb-desc-text"]={"font-size":D(pe,ge),"line-height":D(fe,me),"letter-spacing":D(ke,Ce),"margin-bottom":D(F(Gt,"subHeadSpaceTablet",o),"px")},jt[".wp-block-uagb-advanced-heading .srfm-highlight"]={"font-size":D(ft,pt),"line-height":D(yt,mt),"letter-spacing":D(kt,Ct),"padding-top":D(Lt,It),"padding-right":D(Bt,It),"padding-bottom":D(At,It),"padding-left":D(Ht,It),...Yt},qt[".wp-block-uagb-advanced-heading "]={"text-align":c,"margin-top":D(Ke,tt),"margin-right":D(Ye,tt),"margin-bottom":D(Xe,tt),"margin-left":D(Je,tt),"padding-top":D(Re,Ne),"padding-right":D(Pe,Ne),"padding-bottom":D(Oe,Ne),"padding-left":D(ze,Ne)},jt[" .uagb-separator"]={width:D(F(C,"separatorWidthTablet",o),T),"margin-bottom":D(F(H,"separatorSpaceTablet",o),R)},qt[" "+g+".uagb-heading-text"]={"font-size":D(j,W),"line-height":D(K,Z),"letter-spacing":D(Q,ee)},qt[" p.uagb-desc-text"]={"font-size":D(de,ce),"line-height":D(be,me),"letter-spacing":D(Se,Ce),"margin-bottom":D(F(Wt,"subHeadSpaceMobile",o),"px")},qt[".wp-block-uagb-advanced-heading .srfm-highlight"]={"font-size":D(vt,ht),"line-height":D(xt,mt),"letter-spacing":D(St,Ct),"padding-top":D(Rt,Nt),"padding-right":D(Pt,Nt),"padding-bottom":D(Ot,Nt),"padding-left":D(zt,Nt),...Jt},qt[" .uagb-separator"]={width:D(F(M,"separatorWidthMobile",o),T),"margin-bottom":D(F(A,"separatorSpaceMobile",o),R)},(Ut||"none"!==x)&&(Xt[" .uagb-heading-text"]={"margin-bottom":D(F(v,"headSpace",o),"px")},jt[" .uagb-heading-text"]={"margin-bottom":D(F(w,"headSpaceTablet",o),"px")},qt[" .uagb-heading-text"]={"margin-bottom":D(F(y,"headSpaceMobile",o),"px")});const aa=".editor-styles-wrapper "+(l?l+" ":`#block-${t} .uagb-block-${r}`);Xt=(0,O.applyFilters)(`spectra.${o}.styling`,Xt,e),jt=(0,O.applyFilters)(`spectra.${o}.tabletStyling`,jt,e),qt=(0,O.applyFilters)(`spectra.${o}.mobileStyling`,qt,e);let ia=E(Xt,aa);return("tablet"===n||"mobile"===n||l)&&(ia+=E(jt,`${aa}`,!0,"tablet"),("mobile"===n||l)&&(ia+=E(qt,`${aa}`,!0,"mobile"))),ia}(t,u,c,g),[t,g]);return(0,w.createElement)("div",{...f},(0,w.createElement)(W,{blockStyling:v}),(0,w.createElement)(Fr,{attributes:t}),s&&(0,w.createElement)(Ar,{...e}),(0,w.createElement)(zr,{...e}))}),Nr=window.wp.richText,Vr="srfm/advanced-heading-highlight";(0,Nr.registerFormatType)(Vr,{title:"Spectra Highlight",tagName:"mark",className:"srfm-highlight",edit:function({isActive:e,onChange:t,value:a}){const i=(0,V.useSelect)(e=>e("core/block-editor").getSelectedBlock(),[]);return(0,w.createElement)(Pi.BlockControls,null,i&&"srfm/advanced-heading"===i.name&&(0,w.createElement)(te.ToolbarGroup,{className:"uag-highlight-toolbar",label:"Options"},(0,w.createElement)(te.Tooltip,{text:(0,M.__)("Highlight Text","sureforms")},(0,w.createElement)(te.Button,{isPrimary:e,onClick:()=>{t((0,Nr.toggleFormat)(a,{type:Vr}))}},(0,w.createElement)("span",{className:"dashicons dashicons-admin-customizer"})))))}});const Gr=function(e){let t;const a={black:"#000000","cyan-bluish-gray":"#abb8c3",white:"#ffffff","pale-pink":"#f78da7","luminous-vivid-orange":"#ff6900","luminous-vivid-amber":"#fcb900","light-green-cyan":"#7bdcb5","vivid-green-cyan":"#00d084","pale-cyan-blue":"#8ed1fc","vivid-cyan-blue":"#0693e3","vivid-purple":"#9b51e0","vivid-red":"#cf2e2e"};return t=void 0!==a[e?.toLowerCase()]?a[e?.toLowerCase()]:wi(`var(--wp--preset--color--${e})`),t};let Wr={};Wr=(0,O.applyFilters)("srfm/advanced-heading",nr(Wr)),(0,ir.registerBlockType)("srfm/advanced-heading",{...Wr,apiVersion:3,title:(0,M.__)("Heading","sureforms"),description:(0,M.__)("Add heading, sub heading and a separator using one block.","sureforms"),icon:C.advanced_heading,keywords:[(0,M.__)("creative heading","sureforms"),(0,M.__)("uag","sureforms"),(0,M.__)("heading","sureforms")],supports:{anchor:!0,html:!1},attributes:P,category:srfm_spec_blocks_info.category,edit:e=>e.attributes.isPreview?(0,w.createElement)(lr,{image:"advanced-heading"}):(0,w.createElement)(Ir,{...e}),save:()=>null,__experimentalLabel:e=>(0,O.applyFilters)("uag_loop_data_source_label",(0,M.__)("Heading","sureforms"),e),usesContext:["postId","postType"],transforms:{from:[{type:"block",blocks:["core/heading"],transform:e=>(0,ir.createBlock)("srfm/advanced-heading",{headingTitle:e.content,headingAlign:e.textAlign,headingColor:Gr(e.textColor),blockBackground:Gr(e.backgroundColor)})},{type:"block",blocks:["core/quote"],transform:e=>(0,ir.createBlock)("srfm/advanced-heading",{headingTitle:e.value,headingDesc:e.citation,headingAlign:e.align,headingColor:Gr(e.textColor),blockBackground:Gr(e.backgroundColor)})},{type:"block",blocks:["core/paragraph"],transform:e=>(0,ir.createBlock)("srfm/advanced-heading",{headingTitle:e.content,headingAlign:e.align,headingColor:Gr(e.textColor),blockBackground:Gr(e.backgroundColor)})},{type:"block",blocks:["core/list"],transform:(e,t)=>{const a=[];return t.forEach((e,i)=>{a.push({text:t[i].attributes.content})}),a.map(t=>(0,ir.createBlock)("srfm/advanced-heading",{headingTitle:t.text,headingColor:Gr(e.textColor),blockBackground:Gr(e.backgroundColor)}))}}],to:[{type:"block",blocks:["core/heading"],transform:e=>(0,ir.createBlock)("core/heading",{content:e.headingTitle,align:e.headingAlign})},{type:"block",blocks:["core/quote"],transform:e=>(0,ir.createBlock)("core/quote",{value:e.headingTitle,citation:e.headingDesc})},{type:"block",blocks:["core/paragraph"],transform:e=>(0,ir.createBlock)("core/paragraph",{content:e.headingTitle})}]}});const Ur=e=>{let{horizontal:t,vertical:a,blur:i,spread:l,horizontalUnit:n="px",verticalUnit:o="px",blurUnit:r="px",spreadUnit:s="px",color:u,position:c="outset",altColor:g=""}=e;return u||g?(t=D(t,n),""===t&&(t=0),a=D(a,o),""===a&&(a=0),i=D(i,r),""===i&&(i=0),l=D(l,s),""===l&&(l=0),0===t&&0===a&&0===i&&0===l?"":`${t} ${a} ${i}${l?` ${l}`:""} ${u||g}${"outset"===c?"":` ${c}`}`):""};var jr=a(1388),qr={};jr.A&&jr.A.locals&&(qr.locals=jr.A.locals);var $r,Zr=0,Kr={attributes:{id:"uagb-editor-styles"}};Kr.setAttributes=g(),Kr.insert=u().bind(null,"head"),Kr.domAPI=r(),Kr.insertStyleElement=p(),qr.use=function(e){return Kr.options=e||{},Zr++||($r=n()(jr.A,Kr)),qr},qr.unuse=function(){Zr>0&&! --Zr&&($r(),$r=null)};const Yr=qr,Jr=e=>{const[t,a]=(0,x.useState)(null),i=(0,x.useRef)(null);(0,x.useLayoutEffect)(()=>(Yr.use(),()=>{Yr.unuse()}),[]);const{getSelectedBlock:l}=(0,V.select)("core/block-editor"),n=l()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(i))},[n]);const{label:o,data:r,setAttributes:s,options:u,help:c=!1}=e,g=Q(),d={};d.Desktop=(0,w.createElement)(te.SelectControl,{value:r.desktop.value,onChange:e=>s({[r.desktop.label]:e}),options:u.desktop}),d.Tablet=(0,w.createElement)(te.SelectControl,{value:r.tablet.value,onChange:e=>s({[r.tablet.label]:e}),options:u.tablet||u.desktop}),d.Mobile=(0,w.createElement)(te.SelectControl,{value:r.mobile.value,onChange:e=>s({[r.mobile.label]:e}),options:u.mobile||u.desktop});const p=ce(e.label),h=(0,O.applyFilters)(`spectra.${n}.${t}.${p}.before`,"",n),m=(0,O.applyFilters)(`spectra.${n}.${t}.${p}`,"",n);return(0,w.createElement)("div",{ref:i,className:"uagb-responsive-select-control components-base-control"},h,(0,w.createElement)("div",{className:"uagb-size-type-field-tabs"},(0,w.createElement)("div",{className:"uagb-control__header"},(0,w.createElement)(he,{label:o,responsive:!0})),d[g]?d[g]:d.Desktop),(0,w.createElement)(pe,{text:c}),m)};var Xr=a(9194),Qr={};Xr.A&&Xr.A.locals&&(Qr.locals=Xr.A.locals);var es,ts=0,as={attributes:{id:"uagb-editor-styles"}};as.setAttributes=g(),as.insert=u().bind(null,"head"),as.domAPI=r(),as.insertStyleElement=p(),Qr.use=function(e){return as.options=e||{},ts++||(es=n()(Xr.A,as)),Qr},Qr.unuse=function(){ts>0&&! --ts&&(es(),es=null)};const is=Qr,ls=e=>{const{isOpen:t,setOpen:a,onConfirm:i,title:l,description:n,confirmLabel:o=(0,M.__)("Confirm","sureforms"),cancelLabel:r=(0,M.__)("Cancel","sureforms"),processingLabel:s=(0,M.__)("Processing…","sureforms"),icon:u="",executable:c=!1}=e;(0,x.useLayoutEffect)(()=>(is.use(),()=>{is.unuse()}),[]);const[g,d]=(0,x.useState)(!1),p=()=>{a(!1),d(!1)};return(0,w.createElement)(w.Fragment,null,t&&(0,w.createElement)(te.Modal,{onRequestClose:p,className:"uag-confirm-popup-wrapper",overlayClassName:"uag-confirm-popup-overlay"},(0,w.createElement)("div",{className:"uag-confirm-popup-icon"},""!==u?zi(u):(0,w.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor"},(0,w.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z"}))),(0,w.createElement)("div",{className:"uag-confirm-popup-content"},(0,w.createElement)("div",{className:"uag-confirm-popup-text"},(0,w.createElement)("span",{className:"uag-confirm-popup-title"},l),(0,w.createElement)("span",{className:"uag-confirm-popup-description"},n)),(0,w.createElement)("div",{className:"uag-confirm-popup-controls"},!1===g?(0,w.createElement)(w.Fragment,null,(0,w.createElement)(te.Button,{className:"uag-confirm-popup-buttons uag-popup-confirmation-button",onClick:()=>{d(!0),c?i(c):i()}},o),(0,w.createElement)(te.Button,{className:"uag-confirm-popup-buttons uag-popup-cancellation-button",onClick:p},r)):(0,w.createElement)(te.Button,{isBusy:!0,className:"uag-confirm-popup-buttons uag-popup-confirmation-button"},s)))))};ls.defaultProps={};const ns=ls,os=window.wp.apiFetch;var rs=a.n(os);const ss=e=>{const[t,a]=(0,x.useState)(null),l=(0,x.useRef)(null),n=(0,V.useSelect)(e=>e("core/block-editor").getSelectedBlock(),[]),o=i(),r=n?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(l))},[r]);const[s,u]=(0,x.useState)(!1),{onSelectImage:c,backgroundImage:g,onRemoveImage:d,slug:p="image",label:h=(0,M.__)("Image","sureforms"),disableLabel:m=!1,disableRemove:b=!1,allow:f=["image"],disableDynamicContent:v=!1,help:y=!1}=e;let _,k,S;switch(p){case"video":k=(0,M.__)("Select Video","sureforms"),S=(0,M.__)("Change Video","sureforms"),_=C.video_placeholder;break;case"lottie":k=(0,M.__)("Select Lottie Animation","sureforms"),S=(0,M.__)("Change Lottie Animation","sureforms"),_=C.lottie;break;case"svg":k=(0,M.__)("Upload SVG","sureforms"),S=(0,M.__)("Change SVG","sureforms");break;default:k=(0,M.__)("Select Image","sureforms"),S=(0,M.__)("Change Image","sureforms")}const T=v?null:(0,O.applyFilters)("uagb.registerImageExtender","",n?.name,c),E=v?null:(0,O.applyFilters)("uagb.registerImageLinkExtender","",n?.name,"bgImageLink","url"),D=e=>{const t={svg_nonce:srfm_spec_blocks_info.uagb_svg_confirmation_nonce,confirmation:"yes"};(async({url:e,action:t,data:a})=>{if(!((i=a)&&Object.keys(i).length>0&&Object.getPrototypeOf(i)===Object.prototype))return Promise.reject(new Error((0,M.__)("data object is empty","sureforms")));var i;const l=new window.FormData;l.append("action",t);for(const e in a){const t=a[e];l.append(e,t)}return await rs()({url:e,method:"POST",body:l})})({url:srfm_spec_blocks_info.ajax_url,action:"uagb_svg_confirmation",data:t}).then(t=>{t.success&&(o.setItem("uagSvgConfirmation",JSON.stringify("yes")),e())})},L=e=>{const t=i("uagSvgConfirmation");"svg"===p&&"yes"!==t?u(!0):e()},B=e=>(0,w.createElement)("div",{className:`spectra-media-control__button spectra-media-control__button--${e}`},C[e]),H=ce(e?.label),A=(0,O.applyFilters)(`spectra.${r}.${t}.${H}.before`,"",r),R=(0,O.applyFilters)(`spectra.${r}.${t}.${H}`,"",r);return(0,w.createElement)("div",{ref:l,className:"components-base-control"},A,(0,w.createElement)(te.BaseControl,{className:"spectra-media-control",id:`uagb-option-selector-${p}`,label:h,hideLabelFromVision:m},(()=>{if(v)return!0;const e=n?.attributes?.dynamicContent;return!e||!0!==e?.bgImage?.enable})()?(0,w.createElement)(w.Fragment,null,(0,w.createElement)("div",{className:"spectra-media-control__wrapper",style:{backgroundImage:!_&&g?.url&&!g?.svg&&`url("${(e=>{let t=e;switch(/(?:\.([^.]+))?$/.exec(String(t))[1]){case"json":case"avi":case"mpg":case"mp4":case"m4v":case"mov":case"ogv":case"vtt":case"wmv":case"3gp":case"3g2":t=""}return t})(g?.url)}")`}},_&&g?.url&&(0,w.createElement)("div",{className:"spectra-media-control__icon spectra-media-control__icon--stroke"},_),g?.svg&&(0,w.createElement)("div",{className:"spectra-media-control__icon spectra-media-control__icon--stroke",dangerouslySetInnerHTML:{__html:g.svg}}),(0,w.createElement)(Pi.MediaUpload,{title:k,onSelect:c,allowedTypes:f,value:g,render:({open:e})=>(e=>{const t=g?.url?"replace":"add";return(0,w.createElement)(w.Fragment,null,"add"===t&&(0,w.createElement)("button",{className:`spectra-media-control__clickable spectra-media-control__clickable--${t}`,onClick:()=>L(e)},B(t)),(0,w.createElement)("div",{className:"spectra-media-control__footer"},(0,w.createElement)("button",{className:"uag-control-label",onClick:()=>L(e)},S),T),"svg"===p&&(0,w.createElement)(ns,{isOpen:s,setOpen:u,onConfirm:D,title:(0,M.__)("Upload SVG?","sureforms"),description:(0,M.__)("Upload SVG can be potentially risky. Are you sure?","sureforms"),confirmLabel:(0,M.__)("Upload Anyway","sureforms"),cancelLabel:(0,M.__)("Cancel","sureforms"),executable:e}))})(e)}),!b&&g?.url&&(0,w.createElement)("button",{className:"spectra-media-control__clickable spectra-media-control__clickable--close",onClick:d},B("close"))),(0,w.createElement)(pe,{text:y})):T),E,R)},us=e=>{const[t,a]=(0,x.useState)(null),l=(0,x.useRef)(null),[n,o]=(0,x.useState)(!1),r=(0,O.applyFilters)("uagb.blocksAttributes",z),{getSelectedBlock:s}=(0,V.select)("core/block-editor");(0,x.useLayoutEffect)(()=>{window.addEventListener("click",function(e){const t=document.querySelector(`.active.popup-${y} .spectra-control-popup__options--action-button`),a=document.querySelector(`.active.popup-${y} .spectra-control-popup`);if(t&&!t?.contains(e.target)&&a&&!a?.contains(e.target)&&!e.target?.classList?.contains("uagb-advanced-color-indicate")&&!e.target?.parentElement?.closest(".uagb-popover-color")&&!e.target?.parentElement?.closest(".uagb-reset")){o(!1);const e=s()?.name,t=i("uagSettingState"),a={...t,[e]:{...t?.[e],selectedSetting:!1}},l=i();l&&l.setItem("uagSettingState",JSON.stringify(a))}})},[]);const u=s()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(l))},[u]);const{setAttributes:c,boxShadowColor:g,boxShadowHOffset:d,boxShadowVOffset:p,boxShadowBlur:h,boxShadowSpread:m,boxShadowPosition:b,label:f=(0,M.__)("Box Shadow","sureforms"),popup:v=!1,blockId:y,help:_=!1}=e;let k;const S=n?"active":"",C=[g.label,d.label,p.label,h.label,m.label,b.label],T=v&&(()=>{const e=(()=>{const e=s()?.name.split("/").pop();let t=!1;return void 0!==r[e]&&C.forEach(a=>{if(a){const i=void 0!==r[e][a]?.default?r[e][a]?.default:"";t={...t,[a]:i}}}),t})(),t=s()?.attributes;let a=!1;return C.forEach(i=>{t?.[i]&&t?.[i]!==e?.[i]&&(a=!0)}),a})(),E=(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Ti,{label:g.title,colorValue:g.value,data:{value:g.value,label:g.label},setAttributes:c}),(0,w.createElement)(Me,{label:d.title,value:d.value,min:-100,max:100,displayUnit:!1,setAttributes:c,data:{value:d.value,label:d.label}}),(0,w.createElement)(Me,{label:p.title,value:p.value,min:-100,max:100,displayUnit:!1,setAttributes:c,data:{value:p.value,label:p.label}}),(0,w.createElement)(Me,{label:h.title,value:h.value,min:0,max:100,displayUnit:!1,setAttributes:c,data:{value:h.value,label:h.label}}),(0,w.createElement)(Me,{label:m.title,value:m.value,min:-100,max:100,displayUnit:!1,setAttributes:c,data:{value:m.value,label:m.label}}),(0,w.createElement)(Ri,{setAttributes:c,label:b.title,data:{value:b.value,label:b.label},options:[{value:"outset",label:(0,M.__)("Outset","sureforms"),tooltip:(0,M.__)("Outset","sureforms")},{value:"inset",label:(0,M.__)("Inset","sureforms"),tooltip:(0,M.__)("Inset (10px)","sureforms")}],showIcons:!1}));n&&(k=(0,w.createElement)("div",{className:"uagb-box-shadow-advanced spectra-control-popup"},E));const D=(0,w.createElement)("div",{className:"spectra-control-popup__options--action-wrapper"},(0,w.createElement)("span",{className:"uag-control-label"},f,T&&(0,w.createElement)("div",{className:"spectra__change-indicator--dot-right"})),(0,w.createElement)(te.Button,{className:"uag-box-shadow-button spectra-control-popup__options--action-button","aria-pressed":n,onClick:()=>{const e=document.querySelectorAll(".spectra-control-popup__options");if(e&&00&&! --ps&&(ds(),ds=null)};const ms=gs;var bs=a(9810),fs={};bs.A&&bs.A.locals&&(fs.locals=bs.A.locals);var vs,ws=0,ys={attributes:{id:"uagb-editor-styles"}};ys.setAttributes=g(),ys.insert=u().bind(null,"head"),ys.domAPI=r(),ys.insertStyleElement=p(),fs.use=function(e){return ys.options=e||{},ws++||(vs=n()(bs.A,ys)),fs},fs.unuse=function(){ws>0&&! --ws&&(vs(),vs=null)};const xs=fs,_s=e=>{const[t,a]=(0,x.useState)(null),i=(0,x.useRef)(null);(0,x.useLayoutEffect)(()=>(xs.use(),()=>{xs.unuse()}),[]);const{getSelectedBlock:l}=(0,V.select)("core/block-editor"),n=l()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(i))},[n]);const o=(0,V.useSelect)(()=>(0,V.select)("core/block-editor").getSelectedBlock(),[]),r=e.enableDynamicContent&&e.name?wp.hooks.applyFilters("uagb.registerTextExtender","",o?.name,e.name,e.dynamicContentType):null,s=()=>{if(!e.enableDynamicContent||!e.name)return!1;const t=o?.attributes?.dynamicContent;return!(!t||!0!==t?.[e.name]?.enable)},{isShiftStepEnabled:u}=e;let c=xe(e.unit?.value,e),g=_e(e.unit?.value,e);const d=isNaN(e?.value)?"":e?.value;let p=[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"},{name:(0,M.__)("Em","sureforms"),unitValue:"em"}];e.units&&(p=e.units);const h=t=>{const a=parseFloat(t);e.setAttributes&&e.setAttributes({[e.data.label]:a}),e?.onChange&&e.onChange(a)},m=t=>{e?.onChange&&e?.onChange(t[e?.data?.label]),e.displayUnit&&b(t[e?.unit?.label])},b=t=>{e.setAttributes({[e.unit.label]:t}),c=xe(t,e),g=_e(t,e),e.value>c&&h(c),e.value(0,w.createElement)("div",{className:"uagb-control__header"},(0,w.createElement)("div",{className:"uagb-number-control__actions uagb-control__actions"},(0,w.createElement)(ke,{onReset:m,attributeNames:[e.data.label,!!e.displayUnit&&e.unit.label],setAttributes:e.setAttributes}),e.displayUnit&&(0,w.createElement)(te.ButtonGroup,{className:"uagb-control__units","aria-label":(0,M.__)("Select Units","sureforms")},(t=>{const a=[];return t.map(t=>a.push((0,w.createElement)(te.Tooltip,{text:(0,M.sprintf)(/* translators: abbreviation for units */ /* translators: abbreviation for units */ (0,M.__)("%s units","sureforms"),t.name),key:t.name},(0,w.createElement)(te.Button,{key:t.unitValue,className:"uagb-number-control__units--"+t.name,isSmall:!0,isPrimary:e.unit.value===t.unitValue,isSecondary:e.unit.value!==t.unitValue,"aria-pressed":e.unit.value===t.unitValue,"aria-label":(0,M.sprintf)(/* translators: abbreviation for units */ /* translators: abbreviation for units */ (0,M.__)("%s units","sureforms"),t.name),onClick:()=>b(t.unitValue)},t.unitValue)))),a})(p)))),null),(0,w.createElement)("div",{className:ri()("uagb-number-control__mobile-controls","uag-number-control__"+f)},(0,w.createElement)(he,{label:e.label,responsive:e.responsive}),!s()&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(te.__experimentalNumberControl,{labelPosition:"edge",disabled:e.disabled,isShiftStepEnabled:u,max:c,min:g,onChange:h,value:d,step:e?.step||1,required:e?.required,readOnly:s()})),r),(0,w.createElement)(pe,{text:e.help}),s()&&(0,w.createElement)(Ui,null),_)};_s.defaultProps={label:(0,M.__)("Margin","sureforms"),className:"",allowReset:!0,isShiftStepEnabled:!0,max:1/0,min:-1/0,resetFallbackValue:"",placeholder:null,unit:["px","em"],displayUnit:!0,responsive:!1,showControlHeader:!0,inlineControl:!0,dynamicContentType:"text",enableDynamicContent:!1,help:!1};const ks=_s;function Ss({imageWidth:e,imageHeight:t,imageSizeOptions:a=[],isResizable:i=!0,data:l,width:n,widthTablet:o,widthMobile:r,height:s,heightTablet:u,heightMobile:c,setAttributes:g,onChange:d,help:p}){const[h,m]=(0,x.useState)(null),b=(0,x.useRef)(null);(0,x.useLayoutEffect)(()=>(ms.use(),()=>{ms.unuse()}),[]);const{getSelectedBlock:f}=(0,V.select)("core/block-editor"),v=f()?.name.split("/").pop();(0,x.useEffect)(()=>{m(se(b))},[v]);const y=Q();let _,k;switch(y){case"Tablet":_=u,k=o;break;case"Mobile":_=c,k=r;break;default:_=s,k=n}const{currentHeight:S,currentWidth:C,updateDimension:T}=function(e,t,a,i,l){const[n,o]=(0,x.useState)(t||i||""),[r,s]=(0,x.useState)(e||a||"");return(0,x.useEffect)(()=>{void 0===t&&void 0!==i&&o(i),void 0===e&&void 0!==a&&s(a)},[i,a]),(0,x.useEffect)(()=>{void 0!==t&&Number.parseInt(t)!==Number.parseInt(n)&&o(t),void 0!==e&&Number.parseInt(e)!==Number.parseInt(r)&&s(e)},[t,e]),{currentHeight:r,currentWidth:n,updateDimension:(e,t)=>{"width"===e?o(t):s(t),l({[e]:""===t?void 0:parseInt(t,10)})},updateDimensions:(e,t)=>{s(e||a||""),s(t||i||""),l({height:e,width:t})}}}(_,k,t,e,d),E={};E.Desktop=(0,w.createElement)(w.Fragment,null,(0,w.createElement)(ks,{label:(0,M.__)("Width","sureforms"),value:C,data:{value:n,label:"width"},displayUnit:!1,setAttributes:g,min:1/0,step:1,max:-1/0,showControlHeader:!1,onChange:e=>T("width",e)}),(0,w.createElement)(ks,{label:(0,M.__)("Height","sureforms"),value:S,data:{value:s,label:"height"},displayUnit:!1,setAttributes:g,min:1/0,step:1,max:-1/0,showControlHeader:!1,onChange:e=>{T("height",e),isNaN(e)||""===e?g({customHeightSetDesktop:!1}):g({customHeightSetDesktop:!0})}})),E.Tablet=(0,w.createElement)(w.Fragment,null,(0,w.createElement)(ks,{label:(0,M.__)("Width","sureforms"),value:C,data:{value:o,label:"widthTablet"},displayUnit:!1,setAttributes:g,min:1/0,step:1,max:-1/0,showControlHeader:!1,onChange:e=>T("widthTablet",e)}),(0,w.createElement)(ks,{label:(0,M.__)("Height","sureforms"),value:S,data:{value:u,label:"heightTablet"},displayUnit:!1,setAttributes:g,min:1/0,step:1,max:-1/0,showControlHeader:!1,onChange:e=>{T("heightTablet",e),isNaN(e)||""===e?g({customHeightSetTablet:!1}):g({customHeightSetTablet:!0})}})),E.Mobile=(0,w.createElement)(w.Fragment,null,(0,w.createElement)(ks,{label:(0,M.__)("Width","sureforms"),value:C,data:{value:r,label:"widthMobile"},displayUnit:!1,setAttributes:g,min:1/0,step:1,max:-1/0,showControlHeader:!1,onChange:e=>T("widthMobile",e)}),(0,w.createElement)(ks,{label:(0,M.__)("Height","sureforms"),value:S,data:{value:c,label:"heightMobile"},displayUnit:!1,setAttributes:g,min:1/0,step:1,max:-1/0,showControlHeader:!1,onChange:e=>{T("heightMobile",e),isNaN(e)||""===e?g({customHeightSetMobile:!1}):g({customHeightSetMobile:!0})}}));const D="image-size",L=(0,O.applyFilters)(`spectra.${v}.${h}.${D}.before`,"",v),B=(0,O.applyFilters)(`spectra.${v}.${h}.${D}`,"",v);return(0,w.createElement)("div",{ref:b,className:"components-base-control"},L,0!==a.length&&(0,w.createElement)(Jr,{label:(0,M.__)("Image Size","sureforms"),options:{desktop:a,tablet:a,mobile:a},data:{desktop:{label:l.sizeSlug.label,value:l.sizeSlug.value},tablet:{label:l.sizeSlugTablet.label,value:l.sizeSlugTablet.value},mobile:{label:l.sizeSlugMobile.label,value:l.sizeSlugMobile.value}},setAttributes:g}),i&&(0,w.createElement)("div",{className:"block-editor-image-size-control"},(0,w.createElement)("div",{className:"uagb-size-type-field-tabs"},(0,w.createElement)("div",{className:"uagb-control__header"},(0,w.createElement)(he,{label:(0,M.__)("Image Dimensions","sureforms"),responsive:!0})),(0,w.createElement)("div",{className:"block-editor-image-size-control__row"},E[y])),p&&(0,w.createElement)("p",{className:"components-base-control__help"},p)),B)}var Cs=a(3790),Ms={};Cs.A&&Cs.A.locals&&(Ms.locals=Cs.A.locals);var Ts,Es=0,Ds={attributes:{id:"uagb-editor-styles"}};Ds.setAttributes=g(),Ds.insert=u().bind(null,"head"),Ds.domAPI=r(),Ds.insertStyleElement=p(),Ms.use=function(e){return Ds.options=e||{},Es++||(Ts=n()(Cs.A,Ds)),Ms},Ms.unuse=function(){Es>0&&! --Es&&(Ts(),Ts=null)};const Ls=Ms,Bs={label:j().string,data:j().object,onChange:j().func,setAttributes:j().func},Hs={label:(0,M.__)("Alignment","sureforms")},As=e=>{(0,x.useLayoutEffect)(()=>(Ls.use(),()=>{Ls.unuse()}),[]);const{label:t,data:a,onChange:i,setAttributes:l,help:n=!1}=e;return(0,w.createElement)(w.Fragment,null,(0,w.createElement)("div",{className:"components-base-control spectra__matrix-control"},(0,w.createElement)("div",{className:"uag-control-label"},t),(0,w.createElement)(te.__experimentalAlignmentMatrixControl,{className:"spectra__matrix-control--box",label:t,value:a?.value,onChange:!(!i&&!l)&&(e=>(e=>{l?l({[a?.label]:e}):i&&i(e)})(e))})),(0,w.createElement)(pe,{text:n}))};As.propTypes=Bs,As.defaultProps=Hs;const Rs=As,Ps=window.wp.coreData,zs=[{defaultAttributes:H},{value:"preset-1",label:(0,M.__)("Preset 1","sureforms"),attributes:[{label:"imageBoxShadowHOffset",value:3},{label:"imageBoxShadowVOffset",value:8},{label:"imageBoxShadowBlur",value:12},{label:"imageBoxShadowSpread",value:0},{label:"imageBoxShadowPosition",value:"outset"}],icon:' '},{value:"preset-2",label:(0,M.__)("Preset 2","sureforms"),attributes:[{label:"imageBoxShadowHOffset",value:0},{label:"imageBoxShadowVOffset",value:18},{label:"imageBoxShadowBlur",value:40},{label:"imageBoxShadowSpread",value:-10},{label:"imageBoxShadowPosition",value:"outset"}],icon:' '},{value:"preset-3",label:(0,M.__)("Preset 3","sureforms"),attributes:[{label:"imageBoxShadowHOffset",value:0},{label:"imageBoxShadowVOffset",value:4},{label:"imageBoxShadowBlur",value:12},{label:"imageBoxShadowSpread",value:0},{label:"imageBoxShadowPosition",value:"outset"}],icon:' '},{value:"preset-4",label:(0,M.__)("Preset 4","sureforms"),attributes:[{label:"imageBoxShadowHOffset",value:0},{label:"imageBoxShadowVOffset",value:2},{label:"imageBoxShadowBlur",value:5},{label:"imageBoxShadowSpread",value:-1},{label:"imageBoxShadowPosition",value:"outset"}],icon:' '},{value:"preset-5",label:(0,M.__)("Preset 5","sureforms"),attributes:[{label:"imageBoxShadowHOffset",value:0},{label:"imageBoxShadowVOffset",value:50},{label:"imageBoxShadowBlur",value:50},{label:"imageBoxShadowSpread",value:-30},{label:"imageBoxShadowPosition",value:"outset"}],icon:' '},{value:"preset-6",label:(0,M.__)("Preset 6","sureforms"),attributes:[{label:"imageBoxShadowHOffset",value:0},{label:"imageBoxShadowVOffset",value:20},{label:"imageBoxShadowBlur",value:30},{label:"imageBoxShadowSpread",value:0},{label:"imageBoxShadowPosition",value:"outset"}],icon:' '}],Os=[{defaultAttributes:H},{value:"preset-1",label:(0,M.__)("Preset 1","sureforms"),attributes:[{label:"imageBoxShadowHOffsetHover",value:3},{label:"imageBoxShadowVOffsetHover",value:8},{label:"imageBoxShadowBlurHover",value:12},{label:"imageBoxShadowSpreadHover",value:0},{label:"imageBoxShadowPositionHover",value:"outset"}],icon:' '},{value:"preset-2",label:(0,M.__)("Preset 2","sureforms"),attributes:[{label:"imageBoxShadowHOffsetHover",value:0},{label:"imageBoxShadowVOffsetHover",value:18},{label:"imageBoxShadowBlurHover",value:40},{label:"imageBoxShadowSpreadHover",value:-10},{label:"imageBoxShadowPositionHover",value:"outset"}],icon:' '},{value:"preset-3",label:(0,M.__)("Preset 3","sureforms"),attributes:[{label:"imageBoxShadowHOffsetHover",value:0},{label:"imageBoxShadowVOffsetHover",value:4},{label:"imageBoxShadowBlurHover",value:12},{label:"imageBoxShadowSpreadHover",value:0},{label:"imageBoxShadowPositionHover",value:"outset"}],icon:' '},{value:"preset-4",label:(0,M.__)("Preset 4","sureforms"),attributes:[{label:"imageBoxShadowHOffsetHover",value:0},{label:"imageBoxShadowVOffsetHover",value:2},{label:"imageBoxShadowBlurHover",value:5},{label:"imageBoxShadowSpreadHover",value:-1},{label:"imageBoxShadowPositionHover",value:"outset"}],icon:' '},{value:"preset-5",label:(0,M.__)("Preset 5","sureforms"),attributes:[{label:"imageBoxShadowHOffsetHover",value:0},{label:"imageBoxShadowVOffsetHover",value:50},{label:"imageBoxShadowBlurHover",value:50},{label:"imageBoxShadowSpreadHover",value:-30},{label:"imageBoxShadowPositionHover",value:"outset"}],icon:' '},{value:"preset-6",label:(0,M.__)("Preset 6","sureforms"),attributes:[{label:"imageBoxShadowHOffsetHover",value:0},{label:"imageBoxShadowVOffsetHover",value:20},{label:"imageBoxShadowBlurHover",value:30},{label:"imageBoxShadowSpreadHover",value:0},{label:"imageBoxShadowPositionHover",value:"outset"}],icon:' '}],Fs=(0,O.applyFilters)("uag_image_presets",zs);var Is=a(5621),Ns={};Is.A&&Is.A.locals&&(Ns.locals=Is.A.locals);var Vs,Gs=0,Ws={attributes:{id:"uagb-editor-styles"}};Ws.setAttributes=g(),Ws.insert=u().bind(null,"head"),Ws.domAPI=r(),Ws.insertStyleElement=p(),Ns.use=function(e){return Ws.options=e||{},Gs++||(Vs=n()(Is.A,Ws)),Ns},Ns.unuse=function(){Gs>0&&! --Gs&&(Vs(),Vs=null)};const Us=Ns,js=e=>{const[t,a]=(0,x.useState)(null),i=(0,x.useRef)(null);(0,x.useLayoutEffect)(()=>(Us.use(),()=>{Us.unuse()}),[]);const{getSelectedBlock:l}=(0,V.select)("core/block-editor"),n=l()?.name.split("/").pop();(0,x.useEffect)(()=>{a(se(i))},[n]);const{setAttributes:o,presets:r,presetInputType:s,label:u,className:c,help:g=!1}=e,d=[];r&&r.map(e=>{if(e?.attributes)for(const t of e?.attributes)d.includes(t?.label)||d.push(t?.label);return e});const[p,h]=(0,x.useState)(""),m=e=>{h(e),r&&r.map(t=>(t.value&&("default"!==e&&"default"===t.value&&t.attributes&&t.attributes.map(e=>(o({[e.label]:e.value}),e)),t.value&&t.value===e&&t.attributes&&(r[1]?.defaultPresetAttributes?.map(e=>(o({[e.label]:r[0]?.defaultAttributes[e.label]?.default}),e)),t.attributes.map(e=>(o({[e.label]:e.value}),e)),t.childAttributes&&b(t))),t))},b=e=>{let t=[];l().innerBlocks&&(t=l().innerBlocks);const a=[];t.map(e=>(e.clientId&&a.push(e.clientId),e));const i={};e.childAttributes.map(e=>(i[e.label]=e.value,e)),a.map(e=>((0,V.dispatch)("core/block-editor").updateBlockAttributes(e,i),e))},f=r.map(e=>{if(!e.value)return"";const t=e.value,a=p===t;return(0,w.createElement)(w.Fragment,null,(0,w.createElement)("input",{key:t,className:"uag-presets-radio-input",type:"radio",value:t,checked:a,onChange:()=>m(t),onClick:()=>m(t)}),(0,w.createElement)("label",{htmlFor:t,className:"uag-presets-radio-input-label",dangerouslySetInnerHTML:{__html:e.icon},onClick:()=>m(t)}))}),v=(0,w.createElement)(te.SelectControl,{className:"uagb-presets-dropdown",onChange:m,options:r,label:u}),y=(0,w.createElement)(w.Fragment,null,(0,w.createElement)("div",{className:"uagb-presets-radio-image-wrap"},f)),_=ce(u),k=(0,O.applyFilters)(`spectra.${n}.${t}.${_}.before`,"",n),S=(0,O.applyFilters)(`spectra.${n}.${t}.${_}`,"",n);return(0,w.createElement)("div",{ref:i,className:"components-base-control"},k,(0,w.createElement)("div",{className:ri()(c,"uagb-presets-main-wrap")},(0,w.createElement)("div",{className:"uagb-presets-label-reset-wrap"},(0,w.createElement)("label",{htmlFor:"uag-presets-label",className:"uag-presets-label"},u),(0,w.createElement)(ke,{attributeNames:d,setAttributes:o,onReset:()=>{h(""),(()=>{let e=[];l().innerBlocks&&(e=l().innerBlocks);const t=[];e.map(e=>(e.clientId&&t.push(e.clientId),e));const a={};r.map(e=>(e?.childAttributes&&e?.childAttributes.map(e=>(r[1]?.defaultChildAttributes&&r[1]?.defaultChildAttributes[e.label]&&void 0!==r[1]?.defaultChildAttributes[e.label].default&&(a[e.label]=r[1]?.defaultChildAttributes[e.label].default),e)),e)),t.map(e=>((0,V.dispatch)("core/block-editor").updateBlockAttributes(e,a),e))})()}})),"dropdown"===s&&v,"radioImage"===s&&y,(0,w.createElement)(pe,{text:g})),S)};js.defaultProps={presetInputType:"dropdown",label:(0,M.__)("Select Preset","sureforms")};const qs=(0,x.memo)(js),$s=window.wp.blob,Zs=(e,t)=>{const{alt:a,id:i,link:l,caption:n}=e,o={alt:a,id:i,link:l,caption:n};return e?.sizes&&e?.sizes[t]?{...o,width:e?.sizes[t]?.width,height:e?.sizes[t]?.height,url:e?.sizes[t]?.url}:e?.media_details&&e?.media_details?.sizes[t]?{...o,width:e?.media_details?.sizes[t]?.width,height:e?.media_details?.sizes[t]?.height,url:e?.media_details?.sizes[t]?.source_url}:{...o,url:e?.url}},Ks=(e,t)=>t&&!e&&!(0,$s.isBlobURL)(t),Ys=(e,t)=>!(!e?.sizes?.[t]&&!e?.media_details?.sizes?.[t]),Js=e=>(wp?.media?.attachment(e)||{}).destroyed,Xs=(e,t)=>{const a="url"+t,i="height"+t,l="width"+t,n="sizeSlug"+t,o=Zs(e,n),r={};return o.url&&(r[a]=o.url),"custom"!==n?(o.height&&(r[i]=o.height),o.width&&(r[l]=o.width)):(r[i]=void 0,r[l]=void 0),r};function Qs(e){const{attributes:t,setAttributes:a,context:i,isSelected:l,clientId:n,deviceType:o}=e,{block_id:r,objectFit:s,objectFitTablet:u,objectFitMobile:c,layout:g,id:d,url:p,urlTablet:h,urlMobile:m,width:b,widthTablet:f,widthMobile:v,height:y,heightTablet:_,heightMobile:k,align:S,alignTablet:C,alignMobile:T,alt:E,sizeSlug:D,sizeSlugTablet:L,sizeSlugMobile:B,enableCaption:H,naturalWidth:A,naturalHeight:R,imageTopMargin:P,imageRightMargin:z,imageLeftMargin:O,imageBottomMargin:F,imageTopMarginTablet:I,imageRightMarginTablet:N,imageLeftMarginTablet:G,imageBottomMarginTablet:W,imageTopMarginMobile:U,imageRightMarginMobile:j,imageLeftMarginMobile:q,imageBottomMarginMobile:$,imageMarginUnit:Z,imageMarginUnitTablet:K,imageMarginUnitMobile:Y,imageMarginLink:J,captionShowOn:Q,captionLoadGoogleFonts:ee,captionAlign:ae,captionFontFamily:ie,captionFontWeight:le,captionFontStyle:ne,captionFontSize:oe,captionColor:re,captionTransform:se,captionDecoration:ue,captionFontSizeType:ce,captionFontSizeTypeMobile:ge,captionFontSizeTypeTablet:pe,captionFontSizeMobile:he,captionFontSizeTablet:me,captionLineHeight:be,captionLineHeightType:fe,captionLineHeightMobile:ve,captionLineHeightTablet:we,captionTopMargin:ye,captionRightMargin:xe,captionLeftMargin:_e,captionBottomMargin:ke,captionTopMarginTablet:Se,captionRightMarginTablet:Ce,captionLeftMarginTablet:Te,captionBottomMarginTablet:Ee,captionTopMarginMobile:De,captionRightMarginMobile:Le,captionLeftMarginMobile:Be,captionBottomMarginMobile:He,captionMarginUnit:Ae,captionMarginUnitTablet:Re,captionMarginUnitMobile:Pe,captionMarginLink:ze,headingTag:Oe,headingShowOn:Fe,headingLoadGoogleFonts:Ie,headingFontFamily:Ne,headingFontWeight:Ve,headingFontStyle:Ge,headingFontSize:We,headingColor:Ue,headingTransform:je,headingDecoration:qe,headingFontSizeType:$e,headingFontSizeTypeMobile:Ze,headingFontSizeTypeTablet:Ke,headingFontSizeMobile:Ye,headingFontSizeTablet:Je,headingLineHeight:Xe,headingLineHeightType:Qe,headingLineHeightMobile:et,headingLineHeightTablet:tt,headingTopMargin:at,headingRightMargin:it,headingLeftMargin:lt,headingBottomMargin:nt,headingTopMarginTablet:ot,headingRightMarginTablet:rt,headingLeftMarginTablet:st,headingBottomMarginTablet:ut,headingTopMarginMobile:ct,headingRightMarginMobile:gt,headingLeftMarginMobile:dt,headingBottomMarginMobile:pt,headingMarginUnit:ht,headingMarginUnitTablet:mt,headingMarginUnitMobile:bt,headingMarginLink:ft,overlayPositionFromEdge:vt,overlayPositionFromEdgeUnit:wt,overlayContentPosition:yt,overlayBackground:xt,overlayOpacity:_t,overlayHoverOpacity:kt,separatorShowOn:St,separatorStyle:Ct,separatorWidth:Mt,separatorWidthType:Tt,separatorThickness:Et,separatorThicknessUnit:Dt,separatorPosition:Lt,separatorColor:Bt,separatorTopMargin:Ht,separatorRightMargin:At,separatorLeftMargin:Rt,separatorBottomMargin:Pt,separatorTopMarginTablet:zt,separatorRightMarginTablet:Ot,separatorLeftMarginTablet:Ft,separatorBottomMarginTablet:It,separatorTopMarginMobile:Nt,separatorRightMarginMobile:Vt,separatorLeftMarginMobile:Gt,separatorBottomMarginMobile:Wt,separatorMarginUnit:Ut,separatorMarginUnitTablet:jt,separatorMarginUnitMobile:qt,separatorMarginLink:$t,imageHoverEffect:Zt,useSeparateBoxShadows:Kt,imageBoxShadowColor:Yt,imageBoxShadowHOffset:Jt,imageBoxShadowVOffset:Xt,imageBoxShadowBlur:Qt,imageBoxShadowSpread:ea,imageBoxShadowPosition:ta,imageBoxShadowColorHover:aa,imageBoxShadowHOffsetHover:ia,imageBoxShadowVOffsetHover:la,imageBoxShadowBlurHover:na,imageBoxShadowSpreadHover:oa,imageBoxShadowPositionHover:ra,maskShape:sa,maskCustomShape:ua,maskSize:ca,maskPosition:ga,maskRepeat:da,headingLetterSpacing:pa,headingLetterSpacingTablet:ha,headingLetterSpacingMobile:ma,headingLetterSpacingType:ba,captionLetterSpacing:fa,captionLetterSpacingTablet:va,captionLetterSpacingMobile:wa,captionLetterSpacingType:ya,disableLazyLoad:xa}=t,{imageSizes:_a}=(0,V.useSelect)(e=>{const{getSettings:t}=e(Pi.store),{imageSizes:a}=t();return{imageSizes:a}},[n]),{image:ka}=(0,V.useSelect)(e=>{const{getMedia:t}=e(Ps.store);return{image:d&&l?t(d):null}},[d,l]),{imageDefaultSize:Sa}=(0,V.useSelect)(e=>{const{getSettings:t}=e(Pi.store),{imageDefaultSize:a}=t();return{imageDefaultSize:a}},[]),[Ca,Ma]=(0,x.useState)({desktop:D,tablet:L,mobile:B});(0,x.useEffect)(()=>{if(D)switch(o){case"Mobile":"custom"===B&&Ca.mobile!==B?a({objectFitMobile:"cover"}):"custom"!==B&&Ra(B),Ma({...Ca,mobile:B});break;case"Tablet":"custom"===L&&Ca.tablet!==L?a({objectFitTablet:"cover"}):"custom"!==L&&Aa(L),Ma({...Ca,tablet:L});break;default:"custom"===D&&Ca.desktop!==D?a({objectFit:"cover"}):"custom"!==D&&Ha(D),Ma({...Ca,desktop:D})}},[D,L,B]);const{allowResize:Ta=!0}=i,Ea=(0,X.useViewportMatch)("medium"),Da=["wide","full"].includes(S),La=Ta&&!(Da&&Ea),Ba=ka?.media_details&&_a.reduce((e,t)=>{if(ka?.media_details?.sizes[t.slug]){const a=e.pop();e.push({value:t.slug,label:t.name},a)}return e},[{value:"custom",label:"Custom"}]),Ha=e=>{const t=ka?.media_details?.sizes[e];if(!t||t?.source_url===p)return null;a({url:t?.source_url,width:t?.width,height:t?.height,sizeSlug:e})},Aa=e=>{const t=ka?.media_details?.sizes[e];if(!t||t?.source_url===h)return null;a({urlTablet:t?.source_url,widthTablet:t?.width,heightTablet:t?.height,sizeSlugTablet:e})},Ra=e=>{const t=ka?.media_details?.sizes[e];if(!t||t?.source_url===m)return null;a({urlMobile:t?.source_url,widthMobile:t?.width,heightMobile:t?.height,sizeSlugMobile:e})},Pa={desktop:[{value:"",label:(0,M.__)("Default","sureforms")},{value:"fill",label:(0,M.__)("Fill","sureforms")},{value:"cover",label:(0,M.__)("Cover","sureforms")},{value:"contain",label:(0,M.__)("Contain","sureforms")}],tablet:[{value:"",label:(0,M.__)("Default","sureforms")},{value:"fill",label:(0,M.__)("Fill","sureforms")},{value:"cover",label:(0,M.__)("Cover","sureforms")},{value:"contain",label:(0,M.__)("Contain","sureforms")}],mobile:[{value:"",label:(0,M.__)("Default","sureforms")},{value:"fill",label:(0,M.__)("Fill","sureforms")},{value:"cover",label:(0,M.__)("Cover","sureforms")},{value:"contain",label:(0,M.__)("Contain","sureforms")}]},za=(0,w.createElement)(Jo,{title:(0,M.__)("Image","sureforms"),initialOpen:!0},(0,w.createElement)(ss,{onSelectImage:e=>{if(!e||!e.url)return void a({url:void 0,alt:void 0,id:void 0,title:void 0,caption:void 0});let t=Zs(e,Sa);t={...t,...Xs(e,"Tablet"),...Xs(e,"Mobile")},"custom"===D&&(delete t.width,delete t.height),a(t)},backgroundImage:{url:p},onRemoveImage:()=>{a({url:void 0,urlTablet:void 0,urlMobile:void 0,alt:void 0,id:void 0,title:void 0,caption:void 0,width:void 0,widthTablet:void 0,widthMobile:void 0,height:void 0,heightTablet:void 0,heightMobile:void 0})},disableLabel:!0}),(0,w.createElement)(te.ToggleControl,{label:(0,M.__)("Disable Lazy Loading","sureforms"),checked:xa,onChange:()=>{a({disableLazyLoad:!xa})}}),(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Alignment","sureforms"),data:{desktop:{value:S,label:"align"},tablet:{value:C,label:"alignTablet"},mobile:{value:T,label:"alignMobile"}},className:"uagb-multi-button-alignment-control",options:[{value:"left",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-left")}),tooltip:(0,M.__)("Left","sureforms")},{value:"center",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-center")}),tooltip:(0,M.__)("Center","sureforms")},{value:"right",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-right")}),tooltip:(0,M.__)("Right","sureforms")}],showIcons:!0,responsive:!0}),(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Layout","sureforms"),data:{value:g,label:"layout"},className:"uagb-multi-button-alignment-control",options:[{value:"default",label:(0,M.__)("Normal","sureforms")},{value:"overlay",label:(0,M.__)("Overlay","sureforms")}],showIcons:!1}),"overlay"===g&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Rs,{label:(0,M.__)("Content Position","sureforms"),data:{label:"overlayContentPosition",value:yt},setAttributes:a}),(0,w.createElement)(Hr,{setAttributes:a,prefix:"overlay",attributes:t,deviceType:o}),(0,w.createElement)(Me,{label:(0,M.__)("Border Distance From EDGE","sureforms"),setAttributes:a,value:vt,data:{value:vt,label:"overlayPositionFromEdge"},min:-100,max:100,unit:{value:wt,label:"overlayPositionFromEdgeUnit"}})),l&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Ss,{onChange:e=>a(e),data:{sizeSlug:{label:"sizeSlug",value:D},sizeSlugTablet:{label:"sizeSlugTablet",value:L},sizeSlugMobile:{label:"sizeSlugMobile",value:B}},width:b||A,widthTablet:f,widthMobile:v,height:y||R,heightTablet:_,heightMobile:k,setAttributes:a,imageSizeOptions:Ba,isResizable:La,imageWidth:A,imageHeight:R}),(0,w.createElement)(Xi,{label:(0,M.__)("Alt Text","sureforms"),enableDynamicContent:!0,dynamicContentType:"text",value:E,name:"alt",setAttributes:a,data:{value:E,label:"alt"}})),(0,w.createElement)(Jr,{label:(0,M.__)("Object Fit","sureforms"),data:{desktop:{value:s,label:"objectFit"},tablet:{value:u,label:"objectFitTablet"},mobile:{value:c,label:"objectFitMobile"}},options:Pa,setAttributes:a}),(0,w.createElement)(de,{label:(0,M.__)("On Hover Image","sureforms"),data:{value:Zt,label:"imageHoverEffect"},setAttributes:a,options:[{value:"static",label:(0,M.__)("Static","sureforms")},{value:"zoomin",label:(0,M.__)("Zoom In","sureforms")},{value:"slide",label:(0,M.__)("Slide","sureforms")},{value:"grayscale",label:(0,M.__)("Gray Scale","sureforms")},{value:"blur",label:(0,M.__)("Blur","sureforms")}]}),"overlay"!==g&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(te.ToggleControl,{label:(0,M.__)("Enable Caption","sureforms"),checked:H,onChange:()=>{a({enableCaption:!H})}}),H&&(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Alignment","sureforms"),data:{value:ae,label:"captionAlign"},className:"uagb-multi-button-alignment-control",options:[{value:"left",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-left")}),tooltip:(0,M.__)("Left","sureforms")},{value:"center",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-center")}),tooltip:(0,M.__)("Center","sureforms")},{value:"right",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-right")}),tooltip:(0,M.__)("Right","sureforms")}],showIcons:!0}))),Oa=(0,w.createElement)(Jo,{title:(0,M.__)("Mask","sureforms"),initialOpen:!1},(0,w.createElement)(de,{label:(0,M.__)("Mask Shape","sureforms"),data:{value:sa,label:"maskShape"},setAttributes:a,options:[{value:"none",label:(0,M.__)("None","sureforms")},{value:"circle",label:(0,M.__)("Circle","sureforms")},{value:"diamond",label:(0,M.__)("Diamond","sureforms")},{value:"hexagon",label:(0,M.__)("Hexagon","sureforms")},{value:"rounded",label:(0,M.__)("Rounded","sureforms")},{value:"blob1",label:(0,M.__)("Blob 1","sureforms")},{value:"blob2",label:(0,M.__)("Blob 2","sureforms")},{value:"blob3",label:(0,M.__)("Blob 3","sureforms")},{value:"blob4",label:(0,M.__)("Blob 4","sureforms")},{value:"custom",label:(0,M.__)("Custom","sureforms")}]}),"custom"===sa&&(0,w.createElement)(ss,{onSelectImage:e=>{e&&e.url?e.type&&"image"===e.type&&a({maskCustomShape:e}):a({maskCustomShape:null})},backgroundImage:ua,onRemoveImage:()=>{a({maskCustomShape:null})},label:(0,M.__)("Custom Mask Image","sureforms"),slug:"custom-mask-image"}),"none"!==sa&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(de,{label:(0,M.__)("Mask Size","sureforms"),data:{value:ca,label:"maskSize"},setAttributes:a,options:[{value:"auto",label:(0,M.__)("Auto","sureforms")},{value:"contain",label:(0,M.__)("Contain","sureforms")},{value:"cover",label:(0,M.__)("Cover","sureforms")}]}),(0,w.createElement)(de,{label:(0,M.__)("Mask Position","sureforms"),data:{value:ga,label:"maskPosition"},setAttributes:a,options:[{value:"center top",label:(0,M.__)("Center Top","sureforms")},{value:"center center",label:(0,M.__)("Center Center","sureforms")},{value:"center bottom",label:(0,M.__)("Center Bottom","sureforms")},{value:"left top",label:(0,M.__)("Left Top","sureforms")},{value:"left center",label:(0,M.__)("Left Center","sureforms")},{value:"left bottom",label:(0,M.__)("Left Bottom","sureforms")},{value:"right top",label:(0,M.__)("Right Top","sureforms")},{value:"right center",label:(0,M.__)("Right Center","sureforms")},{value:"right bottom",label:(0,M.__)("Right Bottom","sureforms")}]}),(0,w.createElement)(de,{label:(0,M.__)("Mask Repeat","sureforms"),data:{value:da,label:"maskRepeat"},setAttributes:a,options:[{value:"no-repeat",label:(0,M.__)("No Repeat","sureforms")},{value:"repeat",label:(0,M.__)("Repeat","sureforms")},{value:"repeat-x",label:(0,M.__)("Repeat-X","sureforms")},{value:"repeat-y",label:(0,M.__)("Repeat-Y","sureforms")}]}))),Fa=(0,w.createElement)(Jo,{title:(0,M.__)("Separator","sureforms"),initialOpen:!1},"none"!==Ct&&(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Show On","sureforms"),data:{value:St,label:"separatorShowOn"},className:"uagb-multi-button-alignment-control",options:[{value:"always",label:(0,M.__)("Always","sureforms")},{value:"hover",label:(0,M.__)("Hover","sureforms")}],showIcons:!1}),(0,w.createElement)(de,{label:(0,M.__)("Style","sureforms"),data:{value:Ct,label:"separatorStyle"},setAttributes:a,options:[{value:"none",label:(0,M.__)("None","sureforms")},{value:"solid",label:(0,M.__)("Solid","sureforms")},{value:"double",label:(0,M.__)("Double","sureforms")},{value:"dashed",label:(0,M.__)("Dashed","sureforms")},{value:"dotted",label:(0,M.__)("Dotted","sureforms")}]}),"none"!==Ct&&(0,w.createElement)(de,{label:(0,M.__)("Position","sureforms"),data:{value:Lt,label:"separatorPosition"},setAttributes:a,options:[{value:"before_title",label:(0,M.__)("Before Title","sureforms")},{value:"after_title",label:(0,M.__)("After Title","sureforms")},{value:"after_sub_title",label:(0,M.__)("After Sub Title","sureforms")}]})),Ia=(0,w.createElement)(Jo,{title:(0,M.__)("Heading","sureforms"),initialOpen:!1},(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Show On","sureforms"),data:{value:Fe,label:"headingShowOn"},className:"uagb-multi-button-alignment-control",options:[{value:"always",label:(0,M.__)("Always","sureforms")},{value:"hover",label:(0,M.__)("Hover","sureforms")}],showIcons:!1})),Na=(0,w.createElement)(Jo,{title:(0,M.__)("Description","sureforms"),initialOpen:!1},(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Show On","sureforms"),data:{value:Q,label:"captionShowOn"},className:"uagb-multi-button-alignment-control",options:[{value:"always",label:(0,M.__)("Always","sureforms")},{value:"hover",label:(0,M.__)("Hover","sureforms")}],showIcons:!1})),Va=(0,w.createElement)(Jo,{title:(0,M.__)("Heading","sureforms"),initialOpen:!1},(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Heading Tag","sureforms"),data:{value:Oe,label:"headingTag"},options:[{value:"h1",label:(0,M.__)("H1","sureforms")},{value:"h2",label:(0,M.__)("H2","sureforms")},{value:"h3",label:(0,M.__)("H3","sureforms")},{value:"h4",label:(0,M.__)("H4","sureforms")},{value:"h5",label:(0,M.__)("H5","sureforms")},{value:"h6",label:(0,M.__)("H6","sureforms")}]}),(0,w.createElement)(Qa,{label:(0,M.__)("Typography","sureforms"),setAttributes:a,loadGoogleFonts:{value:Ie,label:"headingLoadGoogleFonts"},fontFamily:{value:Ne,label:"headingFontFamily"},fontWeight:{value:Ve,label:"headingFontWeight"},fontStyle:{value:Ge,label:"headingFontStyle"},transform:{value:je,label:"headingTransform"},decoration:{value:qe,label:"headingDecoration"},fontSizeType:{value:$e,label:"headingFontSizeType"},fontSizeTypeTablet:{value:Ke,label:"headingFontSizeTypeTablet"},fontSizeTypeMobile:{value:Ze,label:"headingFontSizeTypeMobile"},fontSize:{value:We,label:"headingFontSize"},fontSizeMobile:{value:Ye,label:"headingFontSizeMobile"},fontSizeTablet:{value:Je,label:"headingFontSizeTablet"},lineHeightType:{value:Qe,label:"headingLineHeightType"},lineHeight:{value:Xe,label:"headingLineHeight"},lineHeightMobile:{value:et,label:"headingLineHeightMobile"},lineHeightTablet:{value:tt,label:"headingLineHeightTablet"},letterSpacing:{value:pa,label:"headingLetterSpacing"},letterSpacingTablet:{value:ha,label:"headingLetterSpacingTablet"},letterSpacingMobile:{value:ma,label:"headingLetterSpacingMobile"},letterSpacingType:{value:ba,label:"headingLetterSpacingType"}}),(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:Ue||"",data:{value:Ue,label:"headingColor"},setAttributes:a}),(0,w.createElement)(Yo,{label:(0,M.__)("Margin","sureforms"),valueTop:{value:at,label:"headingTopMargin"},valueRight:{value:it,label:"headingRightMargin"},valueBottom:{value:nt,label:"headingBottomMargin"},valueLeft:{value:lt,label:"headingLeftMargin"},valueTopTablet:{value:ot,label:"headingTopMarginTablet"},valueRightTablet:{value:rt,label:"headingRightMarginTablet"},valueBottomTablet:{value:ut,label:"headingBottomMarginTablet"},valueLeftTablet:{value:st,label:"headingLeftMarginTablet"},valueTopMobile:{value:ct,label:"headingTopMarginMobile"},valueRightMobile:{value:gt,label:"headingRightMarginMobile"},valueBottomMobile:{value:pt,label:"headingBottomMarginMobile"},valueLeftMobile:{value:dt,label:"headingLeftMarginMobile"},unit:{value:ht,label:"headingMarginUnit"},mUnit:{value:bt,label:"headingMarginUnitMobile"},tUnit:{value:mt,label:"headingMarginUnitTablet"},deviceType:o,attributes:t,setAttributes:a,link:{value:ft,label:"headingMarginLink"}})),Ga=(0,w.createElement)(Jo,{title:"overlay"===g?(0,M.__)("Description","sureforms"):(0,M.__)("Caption","sureforms"),initialOpen:!1},(0,w.createElement)(Qa,{label:(0,M.__)("Typography","sureforms"),setAttributes:a,loadGoogleFonts:{value:ee,label:"captionLoadGoogleFonts"},fontFamily:{value:ie,label:"captionFontFamily"},fontWeight:{value:le,label:"captionFontWeight"},fontStyle:{value:ne,label:"captionFontStyle"},transform:{value:se,label:"captionTransform"},decoration:{value:ue,label:"captionDecoration"},fontSizeType:{value:ce,label:"captionFontSizeType"},fontSizeTypeTablet:{value:pe,label:"captionFontSizeTypeTablet"},fontSizeTypeMobile:{value:ge,label:"captionFontSizeTypeMobile"},fontSize:{value:oe,label:"captionFontSize"},fontSizeMobile:{value:he,label:"captionFontSizeMobile"},fontSizeTablet:{value:me,label:"captionFontSizeTablet"},lineHeightType:{value:fe,label:"captionLineHeightType"},lineHeight:{value:be,label:"captionLineHeight"},lineHeightMobile:{value:ve,label:"captionLineHeightMobile"},lineHeightTablet:{value:we,label:"captionLineHeightTablet"},letterSpacing:{value:fa,label:"captionLetterSpacing"},letterSpacingTablet:{value:va,label:"captionLetterSpacingTablet"},letterSpacingMobile:{value:wa,label:"captionLetterSpacingMobile"},letterSpacingType:{value:ya,label:"captionLetterSpacingType"}}),(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:re||"",data:{value:re,label:"captionColor"},setAttributes:a}),(0,w.createElement)(Yo,{label:(0,M.__)("Margin","sureforms"),valueTop:{value:ye,label:"captionTopMargin"},valueRight:{value:xe,label:"captionRightMargin"},valueBottom:{value:ke,label:"captionBottomMargin"},valueLeft:{value:_e,label:"captionLeftMargin"},valueTopTablet:{value:Se,label:"captionTopMarginTablet"},valueRightTablet:{value:Ce,label:"captionRightMarginTablet"},valueBottomTablet:{value:Ee,label:"captionBottomMarginTablet"},valueLeftTablet:{value:Te,label:"captionLeftMarginTablet"},valueTopMobile:{value:De,label:"captionTopMarginMobile"},valueRightMobile:{value:Le,label:"captionRightMarginMobile"},valueBottomMobile:{value:He,label:"captionBottomMarginMobile"},valueLeftMobile:{value:Be,label:"captionLeftMarginMobile"},unit:{value:Ae,label:"captionMarginUnit"},mUnit:{value:Pe,label:"captionMarginUnitMobile"},tUnit:{value:Re,label:"captionMarginUnitTablet"},deviceType:o,attributes:t,setAttributes:a,link:{value:ze,label:"captionMarginLink"}})),Wa=(0,w.createElement)(Jo,{title:(0,M.__)("Image","sureforms"),initialOpen:!0},(0,w.createElement)(Hr,{setAttributes:a,prefix:"image",attributes:t,deviceType:o}),(0,w.createElement)(Yo,{label:(0,M.__)("Margin","sureforms"),valueTop:{value:P,label:"imageTopMargin"},valueRight:{value:z,label:"imageRightMargin"},valueBottom:{value:F,label:"imageBottomMargin"},valueLeft:{value:O,label:"imageLeftMargin"},valueTopTablet:{value:I,label:"imageTopMarginTablet"},valueRightTablet:{value:N,label:"imageRightMarginTablet"},valueBottomTablet:{value:W,label:"imageBottomMarginTablet"},valueLeftTablet:{value:G,label:"imageLeftMarginTablet"},valueTopMobile:{value:U,label:"imageTopMarginMobile"},valueRightMobile:{value:j,label:"imageRightMarginMobile"},valueBottomMobile:{value:$,label:"imageBottomMarginMobile"},valueLeftMobile:{value:q,label:"imageLeftMarginMobile"},unit:{value:Z,label:"imageMarginUnit"},mUnit:{value:Y,label:"imageMarginUnitMobile"},tUnit:{value:K,label:"imageMarginUnitTablet"},deviceType:o,attributes:t,setAttributes:a,link:{value:J,label:"imageMarginLink"}})),Ua=(0,w.createElement)(Jo,{title:(0,M.__)("Box Shadow","sureforms"),initialOpen:!1},(0,w.createElement)(te.ToggleControl,{label:(0,M.__)("Separate Hover Shadow","sureforms"),checked:Kt,onChange:()=>a({useSeparateBoxShadows:!Kt})}),Kt?(0,w.createElement)(Er,{tabs:[{name:"normal",title:(0,M.__)("Normal","sureforms")},{name:"hover",title:(0,M.__)("Hover","sureforms")}],normal:(0,w.createElement)(w.Fragment,null,(0,w.createElement)(qs,{setAttributes:a,presets:Fs,presetInputType:"radioImage"}),(0,w.createElement)(us,{blockId:r,setAttributes:a,label:(0,M.__)("Box Shadow","sureforms"),boxShadowColor:{value:Yt,label:"imageBoxShadowColor",title:(0,M.__)("Color","sureforms")},boxShadowHOffset:{value:Jt,label:"imageBoxShadowHOffset",title:(0,M.__)("Horizontal","sureforms")},boxShadowVOffset:{value:Xt,label:"imageBoxShadowVOffset",title:(0,M.__)("Vertical","sureforms")},boxShadowBlur:{value:Qt,label:"imageBoxShadowBlur",title:(0,M.__)("Blur","sureforms")},boxShadowSpread:{value:ea,label:"imageBoxShadowSpread",title:(0,M.__)("Spread","sureforms")},boxShadowPosition:{value:ta,label:"imageBoxShadowPosition",title:(0,M.__)("Position","sureforms")},popup:!1})),hover:(0,w.createElement)(w.Fragment,null,(0,w.createElement)(qs,{setAttributes:a,presets:Os,presetInputType:"radioImage"}),(0,w.createElement)(us,{blockId:r,setAttributes:a,label:(0,M.__)("Box Shadow","sureforms"),boxShadowColor:{value:aa,label:"imageBoxShadowColorHover",title:(0,M.__)("Color","sureforms")},boxShadowHOffset:{value:ia,label:"imageBoxShadowHOffsetHover",title:(0,M.__)("Horizontal","sureforms")},boxShadowVOffset:{value:la,label:"imageBoxShadowVOffsetHover",title:(0,M.__)("Vertical","sureforms")},boxShadowBlur:{value:na,label:"imageBoxShadowBlurHover",title:(0,M.__)("Blur","sureforms")},boxShadowSpread:{value:oa,label:"imageBoxShadowSpreadHover",title:(0,M.__)("Spread","sureforms")},boxShadowPosition:{value:ra,label:"imageBoxShadowPositionHover",title:(0,M.__)("Position","sureforms")},popup:!1})),disableBottomSeparator:!0}):(0,w.createElement)(w.Fragment,null,(0,w.createElement)(qs,{setAttributes:a,presets:Fs,presetInputType:"radioImage"}),(0,w.createElement)(us,{blockId:r,setAttributes:a,label:(0,M.__)("Box Shadow","sureforms"),boxShadowColor:{value:Yt,label:"imageBoxShadowColor",title:(0,M.__)("Color","sureforms")},boxShadowHOffset:{value:Jt,label:"imageBoxShadowHOffset",title:(0,M.__)("Horizontal","sureforms")},boxShadowVOffset:{value:Xt,label:"imageBoxShadowVOffset",title:(0,M.__)("Vertical","sureforms")},boxShadowBlur:{value:Qt,label:"imageBoxShadowBlur",title:(0,M.__)("Blur","sureforms")},boxShadowSpread:{value:ea,label:"imageBoxShadowSpread",title:(0,M.__)("Spread","sureforms")},boxShadowPosition:{value:ta,label:"imageBoxShadowPosition",title:(0,M.__)("Position","sureforms")},popup:!1}))),ja=(0,w.createElement)(Jo,{title:(0,M.__)("Overlay","sureforms"),initialOpen:!1},(0,w.createElement)(Ti,{label:(0,M.__)("Background","sureforms"),colorValue:xt||"",data:{value:xt,label:"overlayBackground"},setAttributes:a}),(0,w.createElement)(Me,{label:(0,M.__)("Overlay Opacity","sureforms"),setAttributes:a,value:_t,data:{value:_t,label:"overlayOpacity"},min:0,max:1,step:.1,displayUnit:!1}),(0,w.createElement)(Me,{label:(0,M.__)("Overlay Hover Opacity","sureforms"),setAttributes:a,value:kt,data:{value:kt,label:"overlayHoverOpacity"},min:0,max:1,step:.1,displayUnit:!1})),qa=(0,w.createElement)(Jo,{title:"Separator",initialOpen:!1},(0,w.createElement)(Me,{label:(0,M.__)("Width","sureforms"),setAttributes:a,value:Mt,data:{value:Mt,label:"separatorWidth"},min:0,max:"%"===Tt?100:500,unit:{value:Tt,label:"separatorWidthType"},units:[{name:(0,M.__)("Pixel","sureforms"),unitValue:"px"},{name:(0,M.__)("Em","sureforms"),unitValue:"em"},{name:(0,M.__)("%","sureforms"),unitValue:"%"}]}),(0,w.createElement)(Me,{label:(0,M.__)("Thickness","sureforms"),setAttributes:a,value:Et,data:{value:Et,label:"separatorThickness"},min:0,max:10,unit:{value:Dt,label:"separatorThicknessUnit"}}),(0,w.createElement)(Ti,{label:(0,M.__)("Color","sureforms"),colorValue:Bt||"",data:{value:Bt,label:"separatorColor"},setAttributes:a}),(0,w.createElement)(Yo,{...e,label:(0,M.__)("Margin","sureforms"),valueTop:{value:Ht,label:"separatorTopMargin"},valueRight:{value:At,label:"separatorRightMargin"},valueBottom:{value:Pt,label:"separatorBottomMargin"},valueLeft:{value:Rt,label:"separatorLeftMargin"},valueTopTablet:{value:zt,label:"separatorTopMarginTablet"},valueRightTablet:{value:Ot,label:"separatorRightMarginTablet"},valueBottomTablet:{value:It,label:"separatorBottomMarginTablet"},valueLeftTablet:{value:Ft,label:"separatorLeftMarginTablet"},valueTopMobile:{value:Nt,label:"separatorTopMarginMobile"},valueRightMobile:{value:Vt,label:"separatorRightMarginMobile"},valueBottomMobile:{value:Wt,label:"separatorBottomMarginMobile"},valueLeftMobile:{value:Gt,label:"separatorLeftMarginMobile"},unit:{value:Ut,label:"separatorMarginUnit"},mUnit:{value:qt,label:"separatorMarginUnitMobile"},tUnit:{value:jt,label:"separatorMarginUnitTablet"},deviceType:o,attributes:t,setAttributes:a,link:{value:$t,label:"separatorMarginLink"}}));return(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Pi.InspectorControls,null,(0,w.createElement)(di,null,(0,w.createElement)(pi,{...hi,parentProps:e},za,Oa,"overlay"===g&&(0,w.createElement)(w.Fragment,null,Ia,Na,Fa)),(0,w.createElement)(pi,{...mi,parentProps:e},Wa,"static"===Zt&&Ua,"overlay"===g&&(0,w.createElement)(w.Fragment,null,ja,Va,Ga),H&&"overlay"!==g&&Ga,"none"!==Ct&&"overlay"===g&&qa))))}const eu=window.wp.primitives,tu=(0,x.createElement)(eu.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,x.createElement)(eu.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"})),au=window.wp.url,iu=(0,x.createElement)(eu.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,x.createElement)(eu.Path,{d:"M16.5 7.8v7H18v-7c0-1-.8-1.8-1.8-1.8h-7v1.5h7c.2 0 .3.1.3.3zm-8.7 8.7c-.1 0-.2-.1-.2-.2V2H6v4H2v1.5h4v8.8c0 1 .8 1.8 1.8 1.8h8.8v4H18v-4h4v-1.5H7.8z"})),lu="none",nu="media",ou="attachment",ru="custom",su=["image"];function uu({temporaryURL:e,attributes:t,attributes:{url:a="",urlTablet:i="",urlMobile:l="",alt:n,align:o,id:r,width:s,widthTablet:u,widthMobile:c,height:g,heightTablet:d,heightMobile:p,disableLazyLoad:h},setAttributes:m,isSelected:b,onCloseModal:f,onSelectImage:v,onSelectURL:y,onUploadError:_,containerRef:k,context:S,clientId:C,onImageLoadError:T}){const E=(0,x.useRef)(),{allowResize:D=!0}=S,{toggleSelection:L}=(0,V.useDispatch)(Pi.store),B=Q(),{multiImageSelection:H}=(0,V.useSelect)(e=>{const{getMultiSelectedBlockClientIds:t,getBlockName:a}=e(Pi.store),i=t();return{multiImageSelection:i.length&&i.every(e=>"srfm/image"===a(e))}},[r,b]),{imageEditing:A,maxWidth:R}=(0,V.useSelect)(e=>{const{getSettings:t}=e(Pi.store),{imageEditing:a,maxWidth:i}=t();return{imageEditing:a,maxWidth:i}},[C]),P=(0,X.useViewportMatch)("medium"),z=["wide","full"].includes(o),[{loadedNaturalWidth:O,loadedNaturalHeight:F},I]=(0,x.useState)({}),[N,G]=(0,x.useState)(!1),W=function(e,t){const[a,i]=(0,x.useState)();function l(){i(e.current.clientWidth)}return(0,x.useEffect)(l,t),(0,x.useEffect)(()=>{const{defaultView:t}=e.current.ownerDocument;return t.addEventListener("resize",l),()=>{t.removeEventListener("resize",l)}},[]),a}(k,[o]),U=D&&!(z&&P),{naturalWidth:j,naturalHeight:q}=(0,x.useMemo)(()=>{const e=E.current?.naturalWidth||O||void 0,a=E.current?.naturalHeight||F||void 0;return t.naturalWidth&&t.naturalHeight||m({naturalWidth:e,naturalHeight:a}),{naturalWidth:e,naturalHeight:a}},[O,F,E.current?.complete]),$=(0,au.getFilename)(a);let Z;Z=n||($?(0,M.sprintf)(/* translators: %s: file name */ /* translators: %s: file name */ (0,M.__)("This image has an empty alt attribute; its file name is %s","sureforms"),$):(0,M.__)("This image has an empty alt attribute","sureforms"));let K,Y,J=(0,w.createElement)(w.Fragment,null,(0,w.createElement)("img",{srcSet:`${e||a} ${i?","+i+" 780w":""}${l?", "+l+" 360w":""}`,src:e||a,alt:Z,onLoad:e=>{I({loadedNaturalWidth:e.target?.naturalWidth,loadedNaturalHeight:e.target?.naturalHeight})},ref:E,loading:h?"eager":"lazy"}),e&&(0,w.createElement)(te.Spinner,null));if(W&&j&&q){const e=j>W;K=e?W:j,Y=e?W*(q/j):q}(0,x.useEffect)(()=>{b||G(!1),b&&Js(r)&&T()},[b]);const ee=r&&j&&q&&A,ae=!H&&ee&&!N;if(ee&&N)J=(0,w.createElement)(Pi.__experimentalImageEditor,{id:r,url:a,width:s,height:g,clientWidth:W,naturalHeight:q,naturalWidth:j,onSaveImage:e=>m(e),onFinishEditing:()=>{G(!1)}});else if(U&&K){const e=s||K,t=g||Y,a=j/q,i=j{if(L(!0),"Tablet"===B){const e=u||780;m({widthTablet:Math.abs(parseInt(e+n.width,10)),heightTablet:Math.abs(parseInt(d+n.height,10))})}else if("Mobile"===B){const e=c||320;m({widthMobile:Math.abs(parseInt(e+n.width,10)),heightMobile:Math.abs(parseInt(p+n.height,10))})}else m({width:Math.abs(parseInt(e+n.width,10)),height:Math.abs(parseInt(t+n.height,10))})}},J)}else"full"!==o&&(J=(0,w.createElement)("div",null,J));const ie=(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Pi.BlockControls,{group:"block"},ae&&(0,w.createElement)(te.ToolbarButton,{onClick:()=>G(!0),icon:iu,label:(0,M.__)("Crop","sureforms")})),!H&&!N&&(0,w.createElement)(Pi.BlockControls,{group:"other"},(0,w.createElement)(Pi.MediaReplaceFlow,{mediaId:r,mediaURL:a,allowedTypes:su,accept:"image/*",onSelect:v,onSelectURL:y,onError:_,onCloseModal:f})));return(0,w.createElement)(w.Fragment,null,!e&&ie,J)}function cu({attributes:e,isSelected:t,setAttributes:a,captionRef:i}){const{caption:l,enableCaption:n,heading:o,headingTag:r,layout:s,overlayContentPosition:u,separatorStyle:c,separatorPosition:g}=e,d=(0,x.useRef)();(0,x.useEffect)(()=>{d.current=o},[l]);const p=(0,w.createElement)(w.Fragment,null,(!Pi.RichText.isEmpty(o)||t)&&(0,w.createElement)(Pi.RichText,{ref:d,tagName:r,className:"uagb-image-heading","aria-label":(0,M.__)("Image overlay heading text","sureforms"),placeholder:(0,M.__)("Add Heading","sureforms"),value:o,onChange:e=>a({heading:e})})),h=(0,w.createElement)(w.Fragment,null,(!Pi.RichText.isEmpty(l)||t)&&(0,w.createElement)(Pi.RichText,{ref:i,tagName:"figcaption",className:"uagb-image-caption","aria-label":(0,M.__)("Image caption text","sureforms"),placeholder:(0,M.__)("Add caption","sureforms"),value:l,onChange:e=>a({caption:e})})),m="none"!==c&&(0,w.createElement)("div",{className:"uagb-image-separator"});return(0,w.createElement)(w.Fragment,null,"overlay"===s?(0,w.createElement)(w.Fragment,null,(0,w.createElement)("div",{className:"wp-block-uagb-image--layout-overlay__color-wrapper"}),(0,w.createElement)("div",{className:`wp-block-uagb-image--layout-overlay__inner ${u.replace(" ","-")}`},"before_title"===g&&m,p,"after_title"===g&&m,h,"after_sub_title"===g&&m)):(0,w.createElement)(w.Fragment,null,n&&h))}var gu=a(4486),du={};gu.A&&gu.A.locals&&(du.locals=gu.A.locals);var pu,hu=0,mu={attributes:{id:"uagb-editor-styles"}};mu.setAttributes=g(),mu.insert=u().bind(null,"head"),mu.domAPI=r(),mu.insertStyleElement=p(),du.use=function(e){return mu.options=e||{},hu++||(pu=n()(gu.A,mu)),du},du.unuse=function(){hu>0&&! --hu&&(pu(),pu=null)};const bu=du,fu=e=>{let{attributes:t}=e;const{setAttributes:a,className:i,isSelected:l,insertBlocksAfter:n,onReplace:o,context:r,clientId:s,deviceType:u}=e;e?.loopUrl&&(t={...t,url:e.loopUrl}),e?.loopAlt&&(t={...t,alt:e.loopAlt}),e?.loopWidth&&(t={...t,width:e.loopWidth});const{block_id:c,layout:g,url:d,alt:p,caption:h,align:m,id:b,linkTarget:f,linkClass:v,rel:y,imageHoverEffect:_,href:k,linkDestination:S,sizeSlug:T,sizeSlugTablet:E,sizeSlugMobile:D}=t;(0,x.useLayoutEffect)(()=>(bu.use(),()=>{bu.unuse()}),[]);const{createNotice:L}=(0,V.useDispatch)("core/notices"),[B,H]=(0,x.useState)(),[A,R]=(0,x.useState)(),P=(0,x.useRef)();(0,x.useEffect)(()=>{P.current=p},[p]);const z=(0,x.useRef)();(0,x.useEffect)(()=>{z.current=h},[h]);const O=(0,x.useRef)(),{imageDefaultSize:F,mediaUpload:I}=(0,V.useSelect)(e=>{const{getSettings:t}=e(Pi.store),{imageDefaultSize:a,mediaUpload:i}=t();return{imageDefaultSize:a,mediaUpload:i}},[]),{image:N}=(0,V.useSelect)(e=>{const{getMedia:t}=e(Ps.store);return{image:b&&l?t(b):null}},[b,l]);function G(){Js(t?.id)&&a({url:void 0,id:void 0})}function W(e){L("error",e,{type:"snackbar"})}function U(e){if(!e||!e.url)return void a({url:void 0,alt:void 0,id:void 0,title:void 0,caption:void 0});if((0,$s.isBlobURL)(e.url))return void H(e.url);H();let i=Zs(e,F);"custom"===T&&(delete i.width,delete i.height),z.current&&!i.caption&&(i={...i,alt:i.alt,id:i.id,link:i.link});let l={};e.id&&e.id===b?l={url:d}:("custom"!==T&&(l={width:void 0,height:void 0,sizeSlug:Ys(e,F)?F:"full",...l}),"custom"!==E&&(l={...l,sizeSlugTablet:Ys(e,F)?F:"full"}),"custom"!==D&&(l={...l,sizeSlugMobile:Ys(e,F)?F:"full"}));let n,o=t.linkDestination;if(!o)switch(wp?.media?.view?.settings?.defaultProps?.link||lu){case"file":case nu:o=nu;break;case"post":case ou:o=ou;break;case ru:o=ru;break;case lu:o=lu}switch(o){case nu:n=e.url;break;case ou:n=e.link}i.href=n,i={...i,...Xs(e,"Tablet"),...Xs(e,"Mobile")};const r={...i,...l,linkDestination:o};a(r)}function j(e){if(e!==d){let t={url:e,urlTablet:e,urlMobile:e,id:void 0};"custom"!==T&&(t={...t,width:void 0,height:void 0,sizeSlug:F}),"custom"!==E&&(t={...t,widthTablet:void 0,heightTablet:void 0,sizeSlugTablet:F}),"custom"!==D&&(t={...t,heightMobile:void 0,widthMobile:void 0,sizeSlugMobile:F}),a(t)}}let q=((e,t)=>!e&&(0,$s.isBlobURL)(t))(b,d);(0,x.useEffect)(()=>{if(!q)return;const e=(0,$s.getBlobByURL)(d);e&&I({filesList:[e],onFileChange:([e])=>{U(e)},allowedTypes:su,onError:e=>{q=!1,L("error",e,{type:"snackbar"}),a({src:void 0,id:void 0,url:void 0})}})},[]),(0,x.useEffect)(()=>{q?H(d):(0,$s.revokeBlobURL)(B)},[q,d]);const $=Ks(b,d)?d:void 0,Z=!!d&&(0,w.createElement)("img",{alt:(0,M.__)("Edit image","sureforms"),title:(0,M.__)("Edit image","sureforms"),className:"edit-image-preview",src:d});return(0,x.useEffect)(()=>{Ks(b,d)&&l&&!A&&window.fetch(d).then(e=>e.blob()).then(e=>R(e)).catch(()=>{})},[b,d,l,A]),(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Pi.BlockControls,{group:"block"},(0,w.createElement)(Pi.__experimentalImageURLInputUI,{url:k||"",onChangeUrl:function(e){a(e)},linkDestination:S,mediaUrl:N&&N.source_url||d,mediaLink:N&&N.link,linkTarget:f,linkClass:v,rel:y}),A&&(0,w.createElement)(te.ToolbarButton,{onClick:function(){I({filesList:[A],onFileChange([e]){U(e),(0,$s.isBlobURL)(e?.url)||(R(),L("success",(0,M.__)("Image uploaded.","sureforms"),{type:"snackbar"}))},allowedTypes:su,onError(e){L("error",e,{type:"snackbar"})}})},icon:tu,label:(0,M.__)("Upload external image","sureforms")})),(0,w.createElement)("div",{ref:O,className:ri()(i,"wp-block-uagb-image","uagb-block",`uagb-editor-preview-mode-${u.toLowerCase()}`,`uagb-block-${c}`,`wp-block-uagb-image--layout-${g}`,`wp-block-uagb-image--effect-${_}`,`wp-block-uagb-image--align-${m||"none"}`)},(B||d)&&(0,w.createElement)("figure",{className:"wp-block-uagb-image__figure"},(0,w.createElement)(uu,{temporaryURL:B,attributes:t,setAttributes:a,isSelected:l,insertBlocksAfter:n,onReplace:o,onSelectImage:U,onSelectURL:j,onUploadError:W,containerRef:O,context:r,clientId:s,onCloseModal:G,onImageLoadError:function(e=!1){e||a({url:void 0,id:void 0})}}),(0,w.createElement)(cu,{captionRef:z,attributes:t,setAttributes:a,isSelected:l})),(0,w.createElement)(Pi.MediaPlaceholder,{icon:(0,w.createElement)(Pi.BlockIcon,{icon:C.image}),labels:{title:(0,M.__)("Image","sureforms"),instructions:(0,M.__)("Upload an image file, pick one from your media library, or add one with a URL.","sureforms")},onSelect:U,onSelectURL:j,onError:W,onClose:G,accept:"image/*",allowedTypes:su,value:{id:b,src:$},mediaPreview:Z,disableMediaButtons:B||d})))};fu.propTypes={},fu.defaultProps={};const vu=(0,x.memo)(fu),wu=(0,X.compose)(function(e){return t=>{const{attributes:a,context:i}=t,l=a?.dynamicContent?.bgImage?.enable;if(t={...t,hasDynamicContent:l},!l)return(0,w.createElement)(e,{...t});const n=(0,O.applyFilters)("spectra_filter_dc_image",a,i);return t={...t,attributes:n},(0,w.createElement)(e,{...t})}},tr,ee)(function(e){const{isSelected:t,attributes:a,name:i,attributes:{UAGHideDesktop:l,UAGHideTab:n,UAGHideMob:o},deviceType:r,context:s,setAttributes:u,clientId:c,hasDynamicContent:g}=e,d=(0,Pi.useBlockProps)();(0,x.useEffect)(()=>{g&&!a?.context&&u({context:s})},[s]),(0,x.useEffect)(()=>{G()},[r]);const p=(0,x.useMemo)(()=>function(e,t,a,i,l=!1){const n=a.replace("srfm/",""),o=i.toLowerCase(),{block_id:r,width:s,widthTablet:u,widthMobile:c,height:g,heightTablet:d,heightMobile:p,align:h,alignTablet:m,alignMobile:b,imageTopMargin:f,imageRightMargin:v,imageLeftMargin:w,imageBottomMargin:y,imageTopMarginTablet:x,imageRightMarginTablet:_,imageLeftMarginTablet:k,imageBottomMarginTablet:S,imageTopMarginMobile:C,imageRightMarginMobile:M,imageLeftMarginMobile:T,imageBottomMarginMobile:L,imageMarginUnit:B,imageMarginUnitTablet:H,imageMarginUnitMobile:A,captionShowOn:R,captionAlign:P,captionFontFamily:z,captionFontWeight:O,captionFontStyle:I,captionFontSize:N,captionColor:V,captionTransform:G,captionDecoration:W,captionFontSizeType:U,captionFontSizeTypeMobile:j,captionFontSizeTypeTablet:q,captionFontSizeMobile:$,captionFontSizeTablet:Z,captionLineHeight:K,captionLineHeightType:Y,captionLineHeightMobile:J,captionLineHeightTablet:X,captionTopMargin:Q,captionRightMargin:ee,captionLeftMargin:te,captionBottomMargin:ae,captionTopMarginTablet:ie,captionRightMarginTablet:le,captionLeftMarginTablet:ne,captionBottomMarginTablet:oe,captionTopMarginMobile:re,captionRightMarginMobile:se,captionLeftMarginMobile:ue,captionBottomMarginMobile:ce,captionMarginUnit:ge,captionMarginUnitTablet:de,captionMarginUnitMobile:pe,headingShowOn:he,headingFontFamily:me,headingFontWeight:be,headingFontStyle:fe,headingFontSize:ve,headingColor:we,headingTransform:ye,headingDecoration:xe,headingFontSizeType:_e,headingFontSizeTypeMobile:ke,headingFontSizeTypeTablet:Se,headingFontSizeMobile:Ce,headingFontSizeTablet:Me,headingLineHeight:Te,headingLineHeightType:Ee,headingLineHeightMobile:De,headingLineHeightTablet:Le,headingTopMargin:Be,headingRightMargin:He,headingLeftMargin:Ae,headingBottomMargin:Re,headingTopMarginTablet:Pe,headingRightMarginTablet:ze,headingLeftMarginTablet:Oe,headingBottomMarginTablet:Fe,headingTopMarginMobile:Ie,headingRightMarginMobile:Ne,headingLeftMarginMobile:Ve,headingBottomMarginMobile:Ge,headingMarginUnit:We,headingMarginUnitTablet:Ue,headingMarginUnitMobile:je,objectFit:qe,objectFitTablet:$e,objectFitMobile:Ze,overlayOpacity:Ke,overlayHoverOpacity:Ye,overlayPositionFromEdge:Je,overlayPositionFromEdgeUnit:Xe,overlayBackground:Qe,overlayBorderHColor:et,separatorShowOn:tt,separatorStyle:at,separatorWidth:it,separatorWidthType:lt,separatorThickness:nt,separatorThicknessUnit:ot,separatorColor:rt,separatorTopMargin:st,separatorRightMargin:ut,separatorLeftMargin:ct,separatorBottomMargin:gt,separatorTopMarginTablet:dt,separatorRightMarginTablet:pt,separatorLeftMarginTablet:ht,separatorBottomMarginTablet:mt,separatorTopMarginMobile:bt,separatorRightMarginMobile:ft,separatorLeftMarginMobile:vt,separatorBottomMarginMobile:wt,separatorMarginUnit:yt,separatorMarginUnitTablet:xt,separatorMarginUnitMobile:_t,imageBorderHColor:kt,useSeparateBoxShadows:St,imageBoxShadowColor:Ct,imageBoxShadowHOffset:Mt,imageBoxShadowVOffset:Tt,imageBoxShadowBlur:Et,imageBoxShadowSpread:Dt,imageBoxShadowPosition:Lt,imageBoxShadowColorHover:Bt,imageBoxShadowHOffsetHover:Ht,imageBoxShadowVOffsetHover:At,imageBoxShadowBlurHover:Rt,imageBoxShadowSpreadHover:Pt,imageBoxShadowPositionHover:zt,maskShape:Ot,maskCustomShape:Ft,maskSize:It,maskPosition:Nt,maskRepeat:Vt,headingLetterSpacing:Gt,headingLetterSpacingTablet:Wt,headingLetterSpacingMobile:Ut,headingLetterSpacingType:jt,captionLetterSpacing:qt,captionLetterSpacingTablet:$t,captionLetterSpacingMobile:Zt,captionLetterSpacingType:Kt,customHeightSetDesktop:Yt,customHeightSetTablet:Jt,customHeightSetMobile:Xt}=e,Qt=F(it,"separatorWidth",n),ea=F(Je,"overlayPositionFromEdge",n),ta=F(nt,"separatorThickness",n),aa=F(Ke,"overlayOpacity",n),ia=F(Ye,"overlayHoverOpacity",n),la=Or(e,"overlay"),na=Or(e,"overlay","tablet"),oa=Or(e,"overlay","mobile"),ra=Or(e,"image"),sa=Or(e,"image","tablet"),ua=Or(e,"image","mobile"),ca=""!==u?u:s,ga=""!==c?c:ca,da=""!==d?d:g,pa=""!==p?p:da,ha=Ur({horizontal:Mt,vertical:Tt,blur:Et,spread:Dt,color:Ct,position:Lt}),ma=Ur({horizontal:Ht,vertical:At,blur:Rt,spread:Pt,color:Bt,position:zt,altColor:Ct});function ba(e){switch(e){case"center":return"center";case"left":return"flex-start";case"right":return"flex-end";default:return""}}const fa=ba(h),va=ba(m),wa=ba(b),ya={".wp-block-uagb-image":{"margin-top":D(f,B),"margin-right":D(v,B),"margin-bottom":D(y,B),"margin-left":D(w,B),"text-align":h,"justify-content":fa}," .wp-block-uagb-image__figure":{"align-items":fa},".wp-block-uagb-image--layout-default figure img":{width:"inherit",height:"inherit","box-shadow":ha,...ra},".wp-block-uagb-image .wp-block-uagb-image__figure img:hover":{"border-color":kt},".wp-block-uagb-image .wp-block-uagb-image__figure figcaption":{"font-family":z,"font-style":I,"text-decoration":W,"text-transform":G,"font-weight":O,"font-size":D(N,U),"line-height":D(K,Y),"letter-spacing":D(qt,Kt),color:V,"margin-top":D(Q,ge),"margin-right":D(ee,ge),"margin-bottom":D(ae,ge),"margin-left":D(te,ge),"text-align":P},".wp-block-uagb-image .wp-block-uagb-image__figure figcaption a":{color:V},".wp-block-uagb-image--layout-overlay figure img":{width:"inherit",height:"inherit","box-shadow":ha,...ra},".wp-block-uagb-image--layout-overlay .wp-block-uagb-image--layout-overlay__color-wrapper":{background:Qe,opacity:aa,...ra},".wp-block-uagb-image--layout-overlay .wp-block-uagb-image--layout-overlay__color-wrapper:hover":{"border-color":kt},".wp-block-uagb-image--layout-overlay .wp-block-uagb-image--layout-overlay__inner":{left:D(ea,Xe),right:D(ea,Xe),top:D(ea,Xe),bottom:D(ea,Xe),...la},".wp-block-uagb-image--layout-overlay .wp-block-uagb-image--layout-overlay__inner .uagb-image-heading":{"font-family":me,"font-style":fe,"text-decoration":xe,"text-transform":ye,"font-weight":be,"font-size":D(ve,_e),"line-height":D(Te,Ee),"letter-spacing":D(Gt,jt),color:we,"margin-top":D(Be,We),"margin-right":D(He,We),"margin-bottom":D(Re,We),"margin-left":D(Ae,We),opacity:"always"===he?1:0},".wp-block-uagb-image--layout-overlay .wp-block-uagb-image--layout-overlay__inner .uagb-image-heading a":{color:we},".wp-block-uagb-image--layout-overlay .wp-block-uagb-image--layout-overlay__inner .uagb-image-caption":{opacity:"always"===R?1:0},".wp-block-uagb-image--layout-overlay .wp-block-uagb-image__figure:hover .wp-block-uagb-image--layout-overlay__inner":{"border-color":et},".wp-block-uagb-image--layout-overlay .wp-block-uagb-image__figure:hover .wp-block-uagb-image--layout-overlay__color-wrapper":{opacity:ia},".wp-block-uagb-image .wp-block-uagb-image--layout-overlay__inner .uagb-image-separator":{width:D(Qt,lt),"border-top-width":D(ta,ot),"border-top-color":rt,"border-top-style":at,"margin-bottom":D(gt,yt),"margin-top":D(st,yt),"margin-left":D(ct,yt),"margin-right":D(ut,yt),opacity:"always"===tt?1:0}};if(ya[".wp-block-uagb-image .wp-block-uagb-image__figure img"]={"object-fit":qe,width:s+"px",height:"auto"},Yt&&(ya[".wp-block-uagb-image .wp-block-uagb-image__figure img"].height=g+"px"),"hover"===he&&(ya[".wp-block-uagb-image .wp-block-uagb-image__figure:hover .wp-block-uagb-image--layout-overlay__inner .uagb-image-heading"]={opacity:1}),"hover"===R&&(ya[".wp-block-uagb-image .wp-block-uagb-image__figure:hover .wp-block-uagb-image--layout-overlay__inner .uagb-image-caption"]={opacity:1}),"hover"===tt&&(ya[".wp-block-uagb-image .wp-block-uagb-image__figure:hover .wp-block-uagb-image--layout-overlay__inner .uagb-image-separator"]={opacity:1}),St&&(ya[".wp-block-uagb-image--layout-default figure img:hover"]={"box-shadow":ma},ya[".wp-block-uagb-image--layout-overlay figure img:hover"]={"box-shadow":ma}),"none"!==Ot){let e=`${window?.srfm_spec_blocks_info?.uagb_url}assets/images/masks/${Ot}.svg`;"custom"===Ot&&(e=`${Ft?.url}`),void 0!==e&&e&&(ya[`.wp-block-uagb-image .wp-block-uagb-image__figure img, .uagb-block-${r} .wp-block-uagb-image--layout-overlay__color-wrapper`]={"mask-image":`url(${e})`,"-webkit-mask-image":`url(${e})`,"mask-size":It,"-webkit-mask-size":It,"mask-repeat":Vt,"-webkit-mask-repeat":Vt,"mask-position":Nt,"-webkit-mask-position":Nt})}const xa={},_a={};xa[".wp-block-uagb-image .components-resizable-box__container"]={width:D(u,"px"),height:D(d,"px")},xa[".wp-block-uagb-image--layout-default figure img"]=sa,xa[".wp-block-uagb-image--layout-overlay figure img"]=sa,xa[".wp-block-uagb-image"]={"margin-top":D(x,H),"margin-right":D(_,H),"margin-bottom":D(S,H),"margin-left":D(k,H),"text-align":m,"justify-content":va},xa[" .wp-block-uagb-image__figure"]={"align-items":va},xa[".wp-block-uagb-image .wp-block-uagb-image__figure figcaption"]={"font-size":D(Z,q),"line-height":D(X,Y),"letter-spacing":D($t,Kt),"margin-top":D(ie,de),"margin-right":D(le,de),"margin-bottom":D(oe,de),"margin-left":D(ne,de)},xa[".wp-block-uagb-image--layout-overlay .wp-block-uagb-image--layout-overlay__inner"]=na,xa[".wp-block-uagb-image .wp-block-uagb-image--layout-overlay__inner .uagb-image-heading"]={"font-size":D(Me,Se),"line-height":D(Le,Ee),"letter-spacing":D(Wt,jt),"margin-top":D(Pe,Ue),"margin-right":D(ze,Ue),"margin-bottom":D(Fe,Ue),"margin-left":D(Oe,Ue)},xa[".wp-block-uagb-image .wp-block-uagb-image--layout-overlay__inner .uagb-image-separator"]={"margin-bottom":D(mt,xt),"margin-top":D(dt,xt),"margin-left":D(ht,xt),"margin-right":D(pt,xt)},xa[".wp-block-uagb-image .wp-block-uagb-image__figure img"]={"object-fit":$e,width:ca+"px",height:"auto"},Jt&&(xa[".wp-block-uagb-image .wp-block-uagb-image__figure img"].height=da+"px"),_a[".wp-block-uagb-image .components-resizable-box__container"]={width:D(c,"px"),height:D(p,"px")},_a[".wp-block-uagb-image--layout-default figure img"]=ua,_a[".wp-block-uagb-image--layout-overlay figure img"]=ua,_a[".wp-block-uagb-image"]={"margin-top":D(C,A),"margin-right":D(M,A),"margin-bottom":D(L,A),"margin-left":D(T,A),"text-align":b,"justify-content":wa},_a[" .wp-block-uagb-image__figure"]={"align-items":wa},_a[".wp-block-uagb-image .wp-block-uagb-image__figure figcaption"]={"font-size":D($,j),"line-height":D(J,Y),"letter-spacing":D(Zt,Kt),"margin-top":D(re,pe),"margin-right":D(se,pe),"margin-bottom":D(ce,pe),"margin-left":D(ue,pe)},_a[".wp-block-uagb-image--layout-overlay .wp-block-uagb-image--layout-overlay__inner"]=oa,_a[".wp-block-uagb-image .wp-block-uagb-image--layout-overlay__inner .uagb-image-heading"]={"font-size":D(Ce,ke),"line-height":D(De,Ee),"letter-spacing":D(Ut,jt),"margin-top":D(Ie,je),"margin-right":D(Ne,je),"margin-bottom":D(Ge,je),"margin-left":D(Ve,je)},_a[".wp-block-uagb-image .wp-block-uagb-image--layout-overlay__inner .uagb-image-separator"]={"margin-bottom":D(wt,_t),"margin-top":D(bt,_t),"margin-left":D(vt,_t),"margin-right":D(ft,_t)},_a[".wp-block-uagb-image .wp-block-uagb-image__figure img"]={"object-fit":Ze,width:ga+"px",height:"auto"},Xt&&(_a[".wp-block-uagb-image .wp-block-uagb-image__figure img"].height=pa+"px");const ka=l?`.editor-styles-wrapper ${l} `:`.editor-styles-wrapper .uagb-block-${r}`;let Sa=E(ya,ka);return("tablet"===o||"mobile"===o||l)&&(Sa+=E(xa,`${ka}`,!0,"tablet"),("mobile"===o||l)&&(Sa+=E(_a,`${ka}`,!0,"mobile"))),Sa}(a,0,i,r),[a,r]);return(0,x.useEffect)(()=>{N(e)},[l,n,o,r]),(0,w.createElement)("div",{...d},(0,w.createElement)(W,{blockStyling:p}),t&&(0,w.createElement)(Qs,{...e}),(0,w.createElement)(vu,{...e}))});let yu={};yu=(0,O.applyFilters)("srfm/image",nr(yu)),(0,ir.registerBlockType)("srfm/image",{...yu,apiVersion:3,title:(0,M.__)("Image","sureforms"),description:(0,M.__)("Add images on your webpage with multiple customization options.","sureforms"),icon:C.image,keywords:[(0,M.__)("image","sureforms"),(0,M.__)("advance image","sureforms"),(0,M.__)("caption","sureforms"),(0,M.__)("overlay image","sureforms")],supports:{anchor:!0,color:{__experimentalDuotone:"img",text:!1,background:!1},align:!0,html:!1},attributes:H,category:srfm_spec_blocks_info.category,edit:e=>e.attributes.isPreview?(0,w.createElement)(lr,{image:"image"}):(0,w.createElement)(wu,{...e}),save:()=>null,__experimentalLabel:e=>(0,O.applyFilters)("uag_loop_data_source_label",(0,M.__)("Image","sureforms"),e),usesContext:["postId","postType"],transforms:{from:[{type:"block",blocks:["core/image"],transform:({url:e,sizeSlug:t})=>(0,ir.createBlock)("srfm/image",{url:e,sizeSlug:t})},{type:"block",blocks:["core/post-featured-image"],transform:({sizeSlug:e})=>(0,ir.createBlock)("srfm/image",{useDynamicData:!0,dynamicContentType:"featured-image",sizeSlug:e})}],to:[{type:"block",blocks:["core/image"],transform:({url:e,sizeSlug:t})=>(0,ir.createBlock)("core/image",{url:e,sizeSlug:t})}]}});const xu=[{defaultAttributes:A},{value:"preset-1",label:(0,M.__)("Preset 1","sureforms"),attributes:[{label:"iconShadowHOffset",value:2},{label:"iconShadowVOffset",value:4},{label:"iconShadowBlur",value:3}],icon:' '},{value:"preset-2",label:(0,M.__)("Preset 2","sureforms"),attributes:[{label:"iconShadowHOffset",value:0},{label:"iconShadowVOffset",value:5},{label:"iconShadowBlur",value:5}],icon:' '},{value:"preset-3",label:(0,M.__)("Preset 3","sureforms"),attributes:[{label:"iconShadowHOffset",value:0},{label:"iconShadowVOffset",value:2},{label:"iconShadowBlur",value:3}],icon:' '},{value:"preset-4",label:(0,M.__)("Preset 4","sureforms"),attributes:[{label:"iconShadowHOffset",value:0},{label:"iconShadowVOffset",value:1},{label:"iconShadowBlur",value:3}],icon:' '},{value:"preset-5",label:(0,M.__)("Preset 5","sureforms"),attributes:[{label:"iconShadowHOffset",value:0},{label:"iconShadowVOffset",value:5},{label:"iconShadowBlur",value:5}],icon:' '},{value:"preset-6",label:(0,M.__)("Preset 6","sureforms"),attributes:[{label:"iconShadowHOffset",value:0},{label:"iconShadowVOffset",value:5},{label:"iconShadowBlur",value:8}],icon:' '}],_u=[{defaultAttributes:A},{value:"preset-1",label:(0,M.__)("Preset 1","sureforms"),attributes:[{label:"iconBoxShadowHOffset",value:3},{label:"iconBoxShadowVOffset",value:8},{label:"iconBoxShadowBlur",value:12},{label:"iconBoxShadowSpread",value:0},{label:"iconBoxShadowPosition",value:"outset"}],icon:' '},{value:"preset-2",label:(0,M.__)("Preset 2","sureforms"),attributes:[{label:"iconBoxShadowHOffset",value:0},{label:"iconBoxShadowVOffset",value:18},{label:"iconBoxShadowBlur",value:40},{label:"iconBoxShadowSpread",value:-10},{label:"iconBoxShadowPosition",value:"outset"}],icon:' '},{value:"preset-3",label:(0,M.__)("Preset 3","sureforms"),attributes:[{label:"iconBoxShadowHOffset",value:0},{label:"iconBoxShadowVOffset",value:4},{label:"iconBoxShadowBlur",value:12},{label:"iconBoxShadowSpread",value:0},{label:"iconBoxShadowPosition",value:"outset"}],icon:' '},{value:"preset-4",label:(0,M.__)("Preset 4","sureforms"),attributes:[{label:"iconBoxShadowHOffset",value:0},{label:"iconBoxShadowVOffset",value:2},{label:"iconBoxShadowBlur",value:5},{label:"iconBoxShadowSpread",value:-1},{label:"iconBoxShadowPosition",value:"outset"}],icon:' '},{value:"preset-5",label:(0,M.__)("Preset 5","sureforms"),attributes:[{label:"iconBoxShadowHOffset",value:0},{label:"iconBoxShadowVOffset",value:50},{label:"iconBoxShadowBlur",value:50},{label:"iconBoxShadowSpread",value:-30},{label:"iconBoxShadowPosition",value:"outset"}],icon:' '},{value:"preset-6",label:(0,M.__)("Preset 6","sureforms"),attributes:[{label:"iconBoxShadowHOffset",value:0},{label:"iconBoxShadowVOffset",value:20},{label:"iconBoxShadowBlur",value:30},{label:"iconBoxShadowSpread",value:0},{label:"iconBoxShadowPosition",value:"outset"}],icon:' '}],ku=[{defaultAttributes:A},{value:"preset-1",label:(0,M.__)("Preset 1","sureforms"),attributes:[{label:"iconBoxShadowHOffsetHover",value:3},{label:"iconBoxShadowVOffsetHover",value:8},{label:"iconBoxShadowBlurHover",value:12},{label:"iconBoxShadowSpreadHover",value:0},{label:"iconBoxShadowPositionHover",value:"outset"}],icon:' '},{value:"preset-2",label:(0,M.__)("Preset 2","sureforms"),attributes:[{label:"iconBoxShadowHOffsetHover",value:0},{label:"iconBoxShadowVOffsetHover",value:18},{label:"iconBoxShadowBlurHover",value:40},{label:"iconBoxShadowSpreadHover",value:-10},{label:"iconBoxShadowPositionHover",value:"outset"}],icon:' '},{value:"preset-3",label:(0,M.__)("Preset 3","sureforms"),attributes:[{label:"iconBoxShadowHOffsetHover",value:0},{label:"iconBoxShadowVOffsetHover",value:4},{label:"iconBoxShadowBlurHover",value:12},{label:"iconBoxShadowSpreadHover",value:0},{label:"iconBoxShadowPositionHover",value:"outset"}],icon:' '},{value:"preset-4",label:(0,M.__)("Preset 4","sureforms"),attributes:[{label:"iconBoxShadowHOffsetHover",value:0},{label:"iconBoxShadowVOffsetHover",value:2},{label:"iconBoxShadowBlurHover",value:5},{label:"iconBoxShadowSpreadHover",value:-1},{label:"iconBoxShadowPositionHover",value:"outset"}],icon:' '},{value:"preset-5",label:(0,M.__)("Preset 5","sureforms"),attributes:[{label:"iconBoxShadowHOffsetHover",value:0},{label:"iconBoxShadowVOffsetHover",value:50},{label:"iconBoxShadowBlurHover",value:50},{label:"iconBoxShadowSpreadHover",value:-30},{label:"iconBoxShadowPositionHover",value:"outset"}],icon:' '},{value:"preset-6",label:(0,M.__)("Preset 6","sureforms"),attributes:[{label:"iconBoxShadowHOffsetHover",value:0},{label:"iconBoxShadowVOffsetHover",value:20},{label:"iconBoxShadowBlurHover",value:30},{label:"iconBoxShadowSpreadHover",value:0},{label:"iconBoxShadowPositionHover",value:"outset"}],icon:' '}],Su=[{defaultAttributes:A},{defaultPresetAttributes:[{label:"iconBackgroundColor"},{label:"iconBorderTopLeftRadius"},{label:"iconBorderTopRightRadius"},{label:"iconBorderBottomRightRadius"},{label:"iconBorderBottomLeftRadius"},{label:"iconBorderTopWidth"},{label:"iconBorderRightWidth"},{label:"iconBorderBottomWidth"},{label:"iconBorderLeftWidth"},{label:"iconBorderStyle"}]},{value:"preset-1",label:(0,M.__)("Preset 1","sureforms"),attributes:[{label:"iconBackgroundColor",value:"#DCF1FF"},{label:"iconBorderStyle",value:""},{label:"iconBorderTopLeftRadius",value:50},{label:"iconBorderTopRightRadius",value:50},{label:"iconBorderBottomRightRadius",value:50},{label:"iconBorderBottomLeftRadius",value:50},{label:"iconTopPadding",value:12},{label:"iconRightPadding",value:12},{label:"iconBottomPadding",value:12},{label:"iconLeftPadding",value:12}],icon:''},{value:"preset-2",label:(0,M.__)("Preset 2","sureforms"),attributes:[{label:"iconBackgroundColor",value:""},{label:"iconBorderStyle",value:"solid"},{label:"iconBorderTopLeftRadius",value:50},{label:"iconBorderTopRightRadius",value:50},{label:"iconBorderBottomRightRadius",value:50},{label:"iconBorderBottomLeftRadius",value:50},{label:"iconBorderTopWidth",value:2},{label:"iconBorderRightWidth",value:2},{label:"iconBorderBottomWidth",value:2},{label:"iconBorderLeftWidth",value:2},{label:"iconTopPadding",value:12},{label:"iconRightPadding",value:12},{label:"iconBottomPadding",value:12},{label:"iconLeftPadding",value:12}],icon:''},{value:"preset-3",label:(0,M.__)("Preset 3","sureforms"),attributes:[{label:"iconBackgroundColor",value:"#DCF1FF"},{label:"iconBorderStyle",value:""},{label:"iconBorderTopLeftRadius",value:6},{label:"iconBorderTopRightRadius",value:6},{label:"iconBorderBottomRightRadius",value:6},{label:"iconBorderBottomLeftRadius",value:6},{label:"iconTopPadding",value:12},{label:"iconRightPadding",value:12},{label:"iconBottomPadding",value:12},{label:"iconLeftPadding",value:12}],icon:''},{value:"preset-4",label:(0,M.__)("Preset 4","sureforms"),attributes:[{label:"iconBackgroundColor",value:""},{label:"iconBorderStyle",value:"solid"},{label:"iconBorderTopWidth",value:2},{label:"iconBorderRightWidth",value:2},{label:"iconBorderBottomWidth",value:2},{label:"iconBorderLeftWidth",value:2},{label:"iconTopPadding",value:12},{label:"iconRightPadding",value:12},{label:"iconBottomPadding",value:12},{label:"iconLeftPadding",value:12}],icon:''}],Cu=(0,x.memo)(e=>{const{attributes:t,setAttributes:a}=e,{icon:i,iconSize:l,iconSizeTablet:n,iconSizeMobile:o,iconSizeUnit:r,align:s,alignTablet:u,alignMobile:c,rotation:g,rotationUnit:d,link:p,target:h,disableLink:m,iconAccessabilityMode:b,iconAccessabilityDesc:f}=t;return(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Jo,{title:(0,M.__)("Icon","sureforms"),initialOpen:!0},(0,w.createElement)(Wo,{label:(0,M.__)("Icon","sureforms"),value:i,onChange:e=>a({icon:e})}),(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Accessibility Mode","sureforms"),data:{value:b,label:"iconAccessabilityMode"},options:[{value:"svg",label:(0,M.__)("SVG","sureforms")},{value:"image",label:(0,M.__)("Image","sureforms")},{value:"presentation",label:(0,M.__)("Decorative","sureforms")}]}),"presentation"!==b&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Xi,{label:(0,M.__)("Accessibility Label","sureforms"),data:{value:f,label:"iconAccessabilityDesc"},value:f,setAttributes:a,onChange:e=>a({iconAccessabilityDesc:e})})),(0,w.createElement)(Qi,{label:(0,M.__)("Size","sureforms"),data:{desktop:{value:l,label:"iconSize"},tablet:{value:n,label:"iconSizeTablet"},mobile:{value:o,label:"iconSizeMobile"}},min:0,max:200,unit:{value:r,label:"iconSizeUnit"},setAttributes:a}),(0,w.createElement)(Ri,{setAttributes:a,label:(0,M.__)("Alignment","sureforms"),data:{desktop:{value:s,label:"align"},tablet:{value:u,label:"alignTablet"},mobile:{value:c,label:"alignMobile"}},options:[{value:"left",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-left")}),tooltip:(0,M.__)("Left","sureforms")},{value:"center",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-center")}),tooltip:(0,M.__)("Center","sureforms")},{value:"right",icon:(0,w.createElement)(te.Icon,{icon:zi("fa fa-align-right")}),tooltip:(0,M.__)("Right","sureforms")}],showIcons:!0,responsive:!0}),(0,w.createElement)(Me,{label:(0,M.__)("Rotation","sureforms"),setAttributes:a,value:g,data:{value:g,label:"rotation"},min:-180,max:180,unit:{value:d,label:"rotationUnit"},units:[{name:(0,M.__)("Degree","sureforms"),unitValue:"deg"}]}),(0,w.createElement)(te.ToggleControl,{label:(0,M.__)("Link","sureforms"),checked:m,onChange:()=>a({disableLink:!m})}),m&&(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Xi,{label:(0,M.__)("URL","sureforms"),value:p,data:{value:p,label:"link"},setAttributes:a,onChange:e=>a({link:e}),placeholder:(0,M.__)("Enter URL","sureforms")}),(0,w.createElement)(te.ToggleControl,{label:(0,M.__)("Open in New Tab","sureforms"),checked:h,onChange:()=>a({target:!h})}))),(0,w.createElement)(Jo,{title:(0,M.__)("Presets","sureforms"),initialOpen:!1},(0,w.createElement)(qs,{setAttributes:a,presets:Su,presetInputType:"radioImage"})))}),Mu=(0,x.memo)(e=>{const{attributes:t,setAttributes:a,deviceType:i}=e,{block_id:l,iconColor:n,iconBackgroundColorType:o,iconBackgroundColor:r,iconBackgroundGradientColor:s,iconHoverColor:u,iconHoverBackgroundColorType:c,iconHoverBackgroundColor:g,iconHoverBackgroundGradientColor:d,iconTopPadding:p,iconRightPadding:h,iconBottomPadding:m,iconLeftPadding:b,iconTopTabletPadding:f,iconRightTabletPadding:v,iconBottomTabletPadding:y,iconLeftTabletPadding:x,iconTopMobilePadding:_,iconRightMobilePadding:k,iconBottomMobilePadding:S,iconLeftMobilePadding:C,iconPaddingUnit:T,iconMobilePaddingUnit:E,iconTabletPaddingUnit:D,iconPaddingLink:L,iconTopMargin:B,iconRightMargin:H,iconBottomMargin:A,iconLeftMargin:R,iconTopTabletMargin:P,iconRightTabletMargin:z,iconBottomTabletMargin:O,iconLeftTabletMargin:F,iconTopMobileMargin:I,iconRightMobileMargin:N,iconBottomMobileMargin:V,iconLeftMobileMargin:G,iconMarginUnit:W,iconMobileMarginUnit:U,iconTabletMarginUnit:j,iconMarginLink:q,iconShadowColor:$,iconShadowHOffset:Z,iconShadowVOffset:K,iconShadowBlur:Y,useSeparateBoxShadows:J,iconBoxShadowColor:X,iconBoxShadowHOffset:Q,iconBoxShadowVOffset:ee,iconBoxShadowBlur:ae,iconBoxShadowSpread:ie,iconBoxShadowPosition:le,iconBoxShadowColorHover:ne,iconBoxShadowHOffsetHover:oe,iconBoxShadowVOffsetHover:re,iconBoxShadowBlurHover:se,iconBoxShadowSpreadHover:ue,iconBoxShadowPositionHover:ce}=t;return(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Jo,{title:(0,M.__)("Icon","sureforms"),initialOpen:!0},(0,w.createElement)(Er,{tabs:[{name:"normal",title:(0,M.__)("Normal","sureforms")},{name:"hover",title:(0,M.__)("Hover","sureforms")}],normal:(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Ti,{label:(0,M.__)("Icon Color","sureforms"),colorValue:n||"",data:{value:n,label:"iconColor"},setAttributes:a}),(0,w.createElement)(yr,{label:(0,M.__)("Background Type","sureforms"),type:{value:o,label:"iconBackgroundColorType"},classic:{value:r,label:"iconBackgroundColor"},gradient:{value:s,label:"iconBackgroundGradientColor"},setAttributes:a})),hover:(0,w.createElement)(w.Fragment,null,(0,w.createElement)(Ti,{label:(0,M.__)("Icon Color","sureforms"),colorValue:u||"",data:{value:u,label:"iconHoverColor"},setAttributes:a}),(0,w.createElement)(yr,{label:(0,M.__)("Background Type","sureforms"),type:{value:c,label:"iconHoverBackgroundColorType"},classic:{value:g,label:"iconHoverBackgroundColor"},gradient:{value:d,label:"iconHoverBackgroundGradientColor"},setAttributes:a})),disableBottomSeparator:!1}),(0,w.createElement)(Hr,{setAttributes:a,prefix:"icon",attributes:t,deviceType:i,disableBottomSeparator:!0})),(0,w.createElement)(Jo,{title:(0,M.__)("Drop Shadow","sureforms"),initialOpen:!1},(0,w.createElement)(qs,{setAttributes:a,presets:xu,presetInputType:"radioImage"}),(0,w.createElement)(xr,{blockId:l,setAttributes:a,textShadowColor:{value:$,label:"iconShadowColor",title:(0,M.__)("Color","sureforms")},textShadowHOffset:{value:Z,label:"iconShadowHOffset",title:(0,M.__)("Horizontal","sureforms")},textShadowVOffset:{value:K,label:"iconShadowVOffset",title:(0,M.__)("Vertical","sureforms")},textShadowBlur:{value:Y,label:"iconShadowBlur",title:(0,M.__)("Blur","sureforms")},popup:!1})),(0,w.createElement)(Jo,{title:(0,M.__)("Box Shadow","sureforms"),initialOpen:!1},(0,w.createElement)(te.ToggleControl,{label:(0,M.__)("Separate Hover Shadow","sureforms"),checked:J,onChange:()=>a({useSeparateBoxShadows:!J})}),J?(0,w.createElement)(Er,{tabs:[{name:"normal",title:(0,M.__)("Normal","sureforms")},{name:"hover",title:(0,M.__)("Hover","sureforms")}],normal:(0,w.createElement)(w.Fragment,null,(0,w.createElement)(qs,{setAttributes:a,presets:_u,presetInputType:"radioImage"}),(0,w.createElement)(us,{blockId:l,setAttributes:a,boxShadowColor:{value:X,label:"iconBoxShadowColor",title:(0,M.__)("Color","sureforms")},boxShadowHOffset:{value:Q,label:"iconBoxShadowHOffset",title:(0,M.__)("Horizontal","sureforms")},boxShadowVOffset:{value:ee,label:"iconBoxShadowVOffset",title:(0,M.__)("Vertical","sureforms")},boxShadowBlur:{value:ae,label:"iconBoxShadowBlur",title:(0,M.__)("Blur","sureforms")},boxShadowSpread:{value:ie,label:"iconBoxShadowSpread",title:(0,M.__)("Spread","sureforms")},boxShadowPosition:{value:le,label:"iconBoxShadowPosition",title:(0,M.__)("Position","sureforms")}})),hover:(0,w.createElement)(w.Fragment,null,(0,w.createElement)(qs,{setAttributes:a,presets:ku,presetInputType:"radioImage"}),(0,w.createElement)(us,{blockId:l,setAttributes:a,boxShadowColor:{value:ne,label:"iconBoxShadowColorHover",title:(0,M.__)("Color","sureforms")},boxShadowHOffset:{value:oe,label:"iconBoxShadowHOffsetHover",title:(0,M.__)("Horizontal","sureforms")},boxShadowVOffset:{value:re,label:"iconBoxShadowVOffsetHover",title:(0,M.__)("Vertical","sureforms")},boxShadowBlur:{value:se,label:"iconBoxShadowBlurHover",title:(0,M.__)("Blur","sureforms")},boxShadowSpread:{value:ue,label:"iconBoxShadowSpreadHover",title:(0,M.__)("Spread","sureforms")},boxShadowPosition:{value:ce,label:"iconBoxShadowPositionHover",title:(0,M.__)("Position","sureforms")}})),disableBottomSeparator:!0}):(0,w.createElement)(w.Fragment,null,(0,w.createElement)(qs,{setAttributes:a,presets:_u,presetInputType:"radioImage"}),(0,w.createElement)(us,{blockId:l,setAttributes:a,boxShadowColor:{value:X,label:"iconBoxShadowColor",title:(0,M.__)("Color","sureforms")},boxShadowHOffset:{value:Q,label:"iconBoxShadowHOffset",title:(0,M.__)("Horizontal","sureforms")},boxShadowVOffset:{value:ee,label:"iconBoxShadowVOffset",title:(0,M.__)("Vertical","sureforms")},boxShadowBlur:{value:ae,label:"iconBoxShadowBlur",title:(0,M.__)("Blur","sureforms")},boxShadowSpread:{value:ie,label:"iconBoxShadowSpread",title:(0,M.__)("Spread","sureforms")},boxShadowPosition:{value:le,label:"iconBoxShadowPosition",title:(0,M.__)("Position","sureforms")}}))),(0,w.createElement)(Jo,{title:(0,M.__)("Spacing","sureforms"),initialOpen:!1},(0,w.createElement)(Yo,{...e,label:(0,M.__)("Padding","sureforms"),valueTop:{value:p,label:"iconTopPadding"},valueRight:{value:h,label:"iconRightPadding"},valueBottom:{value:m,label:"iconBottomPadding"},valueLeft:{value:b,label:"iconLeftPadding"},valueTopTablet:{value:f,label:"iconTopTabletPadding"},valueRightTablet:{value:v,label:"iconRightTabletPadding"},valueBottomTablet:{value:y,label:"iconBottomTabletPadding"},valueLeftTablet:{value:x,label:"iconLeftTabletPadding"},valueTopMobile:{value:_,label:"iconTopMobilePadding"},valueRightMobile:{value:k,label:"iconRightMobilePadding"},valueBottomMobile:{value:S,label:"iconBottomMobilePadding"},valueLeftMobile:{value:C,label:"iconLeftMobilePadding"},unit:{value:T,label:"iconPaddingUnit"},mUnit:{value:E,label:"iconMobilePaddingUnit"},tUnit:{value:D,label:"iconTabletPaddingUnit"},attributes:t,setAttributes:a,link:{value:L,label:"iconPaddingLink"}}),(0,w.createElement)(Yo,{...e,label:(0,M.__)("Margin","sureforms"),valueTop:{value:B,label:"iconTopMargin"},valueRight:{value:H,label:"iconRightMargin"},valueBottom:{value:A,label:"iconBottomMargin"},valueLeft:{value:R,label:"iconLeftMargin"},valueTopTablet:{value:P,label:"iconTopTabletMargin"},valueRightTablet:{value:z,label:"iconRightTabletMargin"},valueBottomTablet:{value:O,label:"iconBottomTabletMargin"},valueLeftTablet:{value:F,label:"iconLeftTabletMargin"},valueTopMobile:{value:I,label:"iconTopMobileMargin"},valueRightMobile:{value:N,label:"iconRightMobileMargin"},valueBottomMobile:{value:V,label:"iconBottomMobileMargin"},valueLeftMobile:{value:G,label:"iconLeftMobileMargin"},unit:{value:W,label:"iconMarginUnit"},mUnit:{value:U,label:"iconMobileMarginUnit"},tUnit:{value:j,label:"iconTabletMarginUnit"},attributes:t,setAttributes:a,link:{value:q,label:"iconMarginLink"}})))}),Tu=(0,x.memo)(e=>(0,w.createElement)(Pi.InspectorControls,null,(0,w.createElement)(di,null,(0,w.createElement)(pi,{...hi,parentProps:e},(0,w.createElement)(Cu,{...e})),(0,w.createElement)(pi,{...mi,parentProps:e},(0,w.createElement)(Mu,{...e}))))),Eu=(0,x.memo)(e=>{const{attributes:t,setAttributes:a,deviceType:i}=e,{icon:l,block_id:n,iconAccessabilityMode:o,iconAccessabilityDesc:r}=t,s=zi(l||"circle-check",a),u=(0,Pi.useBlockProps)({className:`uagb-block-${n} uagb-icon-wrapper uagb-editor-preview-mode-${i.toLowerCase()}`});return(0,w.createElement)("div",{...u},(0,w.createElement)("span",{className:"uagb-svg-wrapper"},s))}),Du=(0,X.compose)(tr,ee)(e=>{const{attributes:t,attributes:{UAGHideDesktop:a,UAGHideTab:i,UAGHideMob:l},isSelected:n,name:o,deviceType:r,clientId:s}=e,u=(0,x.useMemo)(()=>function(e,t,a,i,l=!1){const n=a.replace("srfm/",""),o=i.toLowerCase(),{block_id:r,iconSize:s,iconSizeTablet:u,iconSizeMobile:c,iconSizeUnit:g,align:d,alignTablet:p,alignMobile:h,rotation:m,rotationUnit:b,iconColor:f,iconBackgroundColorType:v,iconBackgroundColor:w,iconBackgroundGradientColor:y,iconHoverColor:x,iconHoverBackgroundColorType:_,iconHoverBackgroundColor:k,iconHoverBackgroundGradientColor:S,iconTopPadding:C,iconRightPadding:M,iconBottomPadding:T,iconLeftPadding:L,iconTopTabletPadding:B,iconRightTabletPadding:H,iconBottomTabletPadding:A,iconLeftTabletPadding:R,iconTopMobilePadding:P,iconRightMobilePadding:z,iconBottomMobilePadding:O,iconLeftMobilePadding:I,iconPaddingUnit:N,iconMobilePaddingUnit:V,iconTabletPaddingUnit:G,iconTopMargin:W,iconRightMargin:U,iconBottomMargin:j,iconLeftMargin:q,iconTopTabletMargin:$,iconRightTabletMargin:Z,iconBottomTabletMargin:K,iconLeftTabletMargin:Y,iconTopMobileMargin:J,iconRightMobileMargin:X,iconBottomMobileMargin:Q,iconLeftMobileMargin:ee,iconMarginUnit:te,iconMobileMarginUnit:ae,iconTabletMarginUnit:ie,iconBorderStyle:le,iconBorderColor:ne,iconBorderHColor:oe,iconShadowColor:re,iconShadowHOffset:se,iconShadowVOffset:ue,iconShadowBlur:ce,useSeparateBoxShadows:ge,iconBoxShadowColor:de,iconBoxShadowHOffset:pe,iconBoxShadowVOffset:he,iconBoxShadowBlur:me,iconBoxShadowSpread:be,iconBoxShadowPosition:fe,iconBoxShadowColorHover:ve,iconBoxShadowHOffsetHover:we,iconBoxShadowVOffsetHover:ye,iconBoxShadowBlurHover:xe,iconBoxShadowSpreadHover:_e,iconBoxShadowPositionHover:ke}=e,Se=F(s,"iconSize",n),Ce=D(F(m,"rotation",n),b),Me="classic"===v?w:y,Te="classic"===_?k:S,Ee=Ur({horizontal:se,vertical:ue,blur:ce,color:re}),De=Ur({horizontal:pe,vertical:he,blur:me,spread:be,color:de,position:fe}),Le=Ur({horizontal:we,vertical:ye,blur:xe,spread:_e,color:ve,position:ke,altColor:de}),Be={".uagb-icon-wrapper":{"text-align":d},".uagb-icon-wrapper svg":{width:D(Se,g),height:D(Se,g),"box-sizing":"content-box",transform:`rotate(${Ce})`,fill:f,filter:Ee?`drop-shadow( ${Ee} )`:""},".uagb-icon-wrapper .uagb-svg-wrapper":{display:"inline-flex",background:Me,"padding-top":D(C,N),"padding-right":D(M,N),"padding-bottom":D(T,N),"padding-left":D(L,N),"margin-top":D(W,te),"margin-right":D(U,te),"margin-bottom":D(j,te),"margin-left":D(q,te),"border-style":le,"border-color":ne,...Or(e,"icon"),"box-shadow":De},".uagb-icon-wrapper .uagb-svg-wrapper:hover":{"border-color":oe,background:Te},".uagb-icon-wrapper .uagb-svg-wrapper:hover svg":{fill:x}};ge&&(Be[".uagb-icon-wrapper .uagb-svg-wrapper:hover"]={"box-shadow":Le,background:Te,"border-color":oe});const He={".uagb-icon-wrapper":{"text-align":p},".uagb-icon-wrapper .uagb-svg-wrapper":{"padding-top":D(B,G),"padding-right":D(H,G),"padding-bottom":D(A,G),"padding-left":D(R,G),"margin-top":D($,ie),"margin-right":D(Z,ie),"margin-bottom":D(K,ie),"margin-left":D(Y,ie),...Or(e,"icon","tablet")},".uagb-icon-wrapper .uagb-svg-wrapper svg":{width:D(u,g),height:D(u,g)}},Ae={".uagb-icon-wrapper":{"text-align":h},".uagb-icon-wrapper .uagb-svg-wrapper":{"padding-top":D(P,V),"padding-right":D(z,V),"padding-bottom":D(O,V),"padding-left":D(I,V),"margin-top":D(J,ae),"margin-right":D(X,ae),"margin-bottom":D(Q,ae),"margin-left":D(ee,ae),...Or(e,"icon","mobile")},".uagb-icon-wrapper .uagb-svg-wrapper svg":{width:D(c,g),height:D(c,g)}};let Re="";const Pe=l||`.uagb-block-${r}`;return Re=E(Be,Pe),("tablet"===o||"mobile"===o||l)&&(Re+=E(He,`${Pe}`,!0,"tablet"),("mobile"===o||l)&&(Re+=E(Ae,`${Pe}`,!0,"mobile"))),Re}(t,0,o,r),[t,r]);return(0,x.useEffect)(()=>{G()},[r]),(0,x.useEffect)(()=>{N(e)},[a,i,l,r]),(0,w.createElement)(w.Fragment,null,(0,w.createElement)(W,{blockStyling:u}),n&&(0,w.createElement)(Tu,{...e}),(0,w.createElement)(Eu,{...e}))});let Lu={};Lu=(0,O.applyFilters)("srfm/icon",nr(Lu)),(0,ir.registerBlockType)("srfm/icon",{...Lu,apiVersion:3,title:(0,M.__)("Icon","sureforms"),description:(0,M.__)("Add stunning customizable icons to your website.","sureforms"),icon:C.icon,keywords:[(0,M.__)("icon","sureforms"),(0,M.__)("uag","sureforms")],supports:{anchor:!0,html:!1},attributes:A,category:srfm_spec_blocks_info.category,edit:e=>e.attributes.isPreview?(0,w.createElement)(lr,{image:"icon"}):(0,w.createElement)(Du,{...e}),save:()=>null});const Bu=i();if(Bu&&(Bu.removeItem("uagSettingState"),Bu.removeItem("isSpectraFontAwesomeAPILoading")),a.p=srfm_spec_blocks_info.uagb_url+"dist/",srfm_spec_blocks_info.uagb_svg_icons={},srfm_spec_blocks_info?.number_of_icon_chunks)for(let e=0;er});var i=a(1601),l=a.n(i),n=a(6314),o=a.n(n)()(l());o.push([e.id,".uag-custom-ip .uag-control-label{padding-bottom:4px;display:block}.uag-custom-ip .uag-ip-placeholder-wrap{width:256px;max-width:100%;min-height:96px;display:flex;background-color:#fff;border:1px solid #e6e7e9;border-radius:3px;position:relative;overflow:hidden}.uag-custom-ip .uag-ip-placeholder-wrap:hover .uag-ip-actions{transform:translate(0, 0)}.uag-custom-ip .uag-ip-placeholder-wrap .uag-ip-remove-icon>svg,.uag-custom-ip .uag-ip-placeholder-wrap .uag-ip-selected-icon-overlay>svg{fill:#fff;width:18px;height:18px;background-color:#ccc;padding:2.4px;border-radius:50%}.uag-custom-ip .uag-ip-placeholder-wrap .uag-ip-remove-icon{position:absolute;right:5px;top:5px;line-height:0;cursor:pointer;z-index:6}.uag-custom-ip .uag-ip-placeholder-wrap .uag-ip-remove-icon>svg{transition:.3s background-color linear}.uag-custom-ip .uag-ip-placeholder-wrap .uag-ip-remove-icon>svg:hover{background-color:#959494}.uag-custom-ip .uag-ip-placeholder-wrap .uag-ip-selected-icon{width:100%;display:flex;cursor:pointer}.uag-custom-ip .uag-ip-placeholder-wrap .uag-ip-selected-icon-overlay{display:flex;width:100%;justify-content:center;align-items:center}.uag-custom-ip .uag-ip-placeholder-wrap .uag-ip-selected-icon-value{position:absolute;z-index:1;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.uag-custom-ip .uag-ip-placeholder-wrap .uag-ip-selected-icon-value>svg{height:30px;width:30px;fill:#50575e}.uag-custom-ip .uag-ip-placeholder-wrap .uag-ip-actions{position:absolute;bottom:0;width:100%;display:flex;z-index:2;transform:translate(0, 24px);transition:.2s all ease-in-out}.uag-custom-ip .uag-ip-placeholder-wrap .uag-ip-actions>span{background-color:#f0f0f1;flex:1;font-size:13px;font-weight:400;text-align:center;line-height:24px;color:#50575e;cursor:pointer}.components-modal__screen-overlay.uagb-ip-modal-wrapper-overlay{background-color:rgba(0,0,0,.7)}.components-modal__frame.uagb-ip-modal-wrapper{width:1080px;height:796px;max-height:80%;max-width:80%;overflow:unset;box-sizing:border-box}.components-modal__frame.uagb-ip-modal-wrapper *{box-sizing:border-box}.components-modal__frame.uagb-ip-modal-wrapper .components-modal__content{padding:30px 24px;margin:0;background-color:#fff;overflow:unset;border-radius:2px}.components-modal__frame.uagb-ip-modal-wrapper .components-modal__content>div:not(.components-modal__header){height:100%}.components-modal__frame.uagb-ip-modal-wrapper .components-modal__content .components-modal__header{height:0}.components-modal__frame.uagb-ip-modal-wrapper .components-modal__content .components-modal__header .components-modal__header-heading-container{display:none !important}.components-modal__frame.uagb-ip-modal-wrapper .components-modal__content .components-modal__header .components-button{color:#aaa;position:absolute;width:12px;height:12px;top:4px;right:-32px;transition:.2s color linear;left:auto}.components-modal__frame.uagb-ip-modal-wrapper .components-modal__content .components-modal__header .components-button:hover{color:#fff}.components-modal__frame.uagb-ip-modal-wrapper .components-modal__content .uagb-ip-header{display:flex;align-items:baseline;height:64px}.components-modal__frame.uagb-ip-modal-wrapper .components-modal__content .uagb-ip-header>h2{width:156px;margin:0;font-size:20px;font-weight:400;color:#1e1e1e}.components-modal__frame.uagb-ip-modal-wrapper .components-modal__content .uagb-ip-footer{height:68px;text-align:right;display:flex;align-items:flex-end;justify-content:flex-end}.components-modal__frame.uagb-ip-modal-wrapper .components-modal__content .uagb-ip-footer>button{font-size:13px;color:#fff;border:none;background-color:#007cba;border-radius:2px;width:89px;height:36px;cursor:pointer}.components-modal__frame.uagb-ip-modal-wrapper .components-modal__content .uagb-ip-footer>button.disable{opacity:.7;cursor:not-allowed}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-lr-container{display:flex;height:calc(100% - 134px);grid-gap:24px}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-lr-container .uagb-ip-left{width:156px;overflow:auto}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-lr-container .uagb-ip-right{flex:1;padding:14px;padding-right:0;border:1px solid #e6e7e9;border-radius:2px}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-lr-container .uagb-ip-right .uagb-ip-modal-container{height:100%}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-lr-container .uagb-ip-right .uagb-ip-modal-container .ReactVirtualized__Grid__innerScrollContainer>div{display:flex;justify-content:center;align-items:center}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-categories-list>div{padding:9px 10px;cursor:pointer;border-radius:2px;color:#1d2327;display:flex;justify-content:space-between;font-size:13px}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-categories-list>div.selected{background-color:#dcf2ff;color:#0063a1}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-search-container{flex:1;padding-left:24px}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-search-container .uagb-ip-search-bar{position:relative}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-search-container .uagb-ip-search-bar>svg,.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-search-container .uagb-ip-search-bar>span{width:14px;height:14px;position:absolute;top:11px;color:#555d66;fill:#555d66;transform:rotateZ(90deg);left:12px}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-search-container .uagb-ip-search-bar>span{width:unset;cursor:pointer}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-search-container .uagb-ip-search-bar input{height:36px;width:100%;padding:7px 12px 7px 38px;border:1px solid #e6e7e9;margin:0;border-radius:2px;color:#1d2327}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-search-container .uagb-ip-search-bar input::placeholder{color:#50575e}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-search-container .uagb-ip-search-bar input:focus{border:1.5px solid #007cba}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-icons .ReactVirtualized__Grid__innerScrollContainer{overflow-x:hidden !important;max-width:inherit !important}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-icons.icon-not-found{display:flex;align-items:center;justify-content:center}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-icons .uagb-icon-item{width:80px;height:80px;background-color:#fff;border:1px solid #e6e7e9;border-radius:3px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.2s transform ease;flex-direction:column;grid-gap:6px;max-width:90%;max-height:90%}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-icons .uagb-icon-item.default{border-color:#007cba;box-shadow:0 0 0 2px #007cba;pointer-events:none}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-icons .uagb-icon-item.selected{border-color:#007cba;box-shadow:0 0 0 2px #dcf2ff;pointer-events:none}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-icons .uagb-icon-item>svg{width:20.9px;height:20.27px}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-icons .uagb-icon-item>span{font-size:11px;text-align:center}.components-modal__frame.uagb-ip-modal-wrapper .uagb-ip-icons .uagb-icon-item:hover{border-color:#e6e7e9;box-shadow:0 0 0 4px #f0f0f1}",""]);const r=o},3491(e){(function(){var t,a,i,l,n,o;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-n)/1e6},a=process.hrtime,l=(t=function(){var e;return 1e9*(e=a())[0]+e[1]})(),o=1e9*process.uptime(),n=l-o):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)},3578(e,t,a){"use strict";a.d(t,{A:()=>r});var i=a(1601),l=a.n(i),n=a(6314),o=a.n(n)()(l());o.push([e.id,".uagb-advanced-color-settings-container{display:flex;align-items:center}.uagb-advanced-color-settings-container .uagb-beside-color-click{display:flex;align-items:center}.uagb-advanced-color-settings-container .uagb-color-icon-indicate{height:auto;position:relative;transform:scale(1);transition:transform .1s ease;border-radius:50%;padding:0}.uagb-advanced-color-settings-container .uagb-has-alpha{background-image:linear-gradient(45deg, #ddd 25%, transparent 0),linear-gradient(-45deg, #ddd 25%, transparent 0),linear-gradient(45deg, transparent 75%, #ddd 0),linear-gradient(-45deg, transparent 75%, #ddd 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.uagb-advanced-color-settings-container .uagb-beside-color-label{flex-grow:1;margin:0}.uagb-advanced-color-settings-container .uagb-color-icon-indicate .component-color-indicator.uagb-advanced-color-indicate{width:28px;height:28px;border-radius:50%;margin:0;background:none;display:flex;justify-content:center;align-items:center}.uagb-advanced-color-settings-container .uagb-color-icon-indicate .component-color-indicator.uagb-advanced-color-indicate>svg{fill:rgba(0,0,0,0)}.uagb-advanced-color-settings-container .uag-global-icon-black{color:#000}.uagb-advanced-color-settings-container .uag-global-icon-white{color:#fff}.uagb-popover-color .components-popover__content{overflow-x:hidden;overflow-y:auto}.uagb-popover-color .components-circular-option-picker{padding:2px 0 10px 5px}.uagb-popover-color .components-circular-option-picker .components-circular-option-picker__swatches{margin-right:0;text-align:left;padding-left:10px}.uagb-popover-color .uagb-clear-btn-inside-picker{margin:5px 20px 20px 15px;padding:0 8px;border:1px solid #ccc;box-shadow:none}",""]);const r=o},3790(e,t,a){"use strict";a.d(t,{A:()=>r});var i=a(1601),l=a.n(i),n=a(6314),o=a.n(n)()(l());o.push([e.id,".uagb-inspector-tab .spectra__matrix-control{display:flex;justify-content:space-between;align-items:flex-start}.uagb-inspector-tab .spectra__matrix-control--box{border:1px solid #e6e7e9;border-radius:3px}.uagb-inspector-tab .spectra__matrix-control .uag-control-label{margin:0}",""]);const r=o},3942(e,t,a){"use strict";a.d(t,{A:()=>r});var i=a(1601),l=a.n(i),n=a(6314),o=a.n(n)()(l());o.push([e.id,".spectra-separator{width:100%;height:1px;margin:25px 0;background-color:#e6e7e9}.spectra-separator--removed-top-space{margin-top:0 !important}.uagb-inspector-tab .components-panel__body .spectra-separator{width:auto;margin:25px -16px}",""]);const r=o},4180(e,t,a){"use strict";a.d(t,{A:()=>r});var i=a(1601),l=a.n(i),n=a(6314),o=a.n(n)()(l());o.push([e.id,".uagb-multi-button-button-group{display:flex !important;width:100%}.uagb-multi-button-button-group .uagb-multi-button{width:100%;justify-content:center;height:unset;padding:6px;line-height:16px;min-height:30px}.uagb-multi-button-button-group .uagb-multi-button:first-child{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.uagb-multi-button-button-group .uagb-multi-button:last-child{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.uagb-multi-button-button-group button.uagb-multi-button.is-secondary{color:#50575e;box-shadow:inset 0 0 0 1px #e6e7e9}.uagb-multi-button-button-group .uagb-multi-button.is-secondary:hover:not(:disabled),.uagb-multi-button-button-group .uagb-multi-button-grou[aria-label=Gap] .uagb-multi-button.is-tertiary:hover:not(:disabled){color:#1d2327;box-shadow:inset 0 0 0 1px #e6e7e9}.uagb-multi-button-button-group .uagb-multi-button.is-secondary,.uagb-multi-button-button-group .uagb-multi-button.is-tertiary{color:#50575e}.uagb-multi-button-button-group .uagb-multi-button.is-secondary:active:not(:disabled),.uagb-multi-button-button-group .uagb-multi-button-grou[aria-label=Gap] .uagb-multi-button.is-tertiary:active:not(:disabled){background:#fff;box-shadow:inset 0 0 0 1px #e6e7e9}.uagb-multi-button-button-group button.uagb-multi-button{font-size:13px;font-weight:400}.uagb-multi-button-button-group svg{width:18px;fill:#50575e}.uagb-multi-button-button-group svg path{fill:inherit}.uagb-multi-buttons-control.uag-multibutton-icons .uagb-multi-button{padding:3px}.spectra-multi-buttons__color-scheme--primary button.uagb-multi-button.is-primary.is-primary{color:#007cba;background-color:#dcf2ff;border-color:#cde9f9;box-shadow:inset 0 0 0 1px #cde9f9}.spectra-multi-buttons__color-scheme--primary button.uagb-multi-button.is-primary.is-primary svg{fill:#007cba}.spectra-multi-buttons__color-scheme--secondary button.uagb-multi-button.is-primary.is-primary{color:#fff;background-color:#959595;border-color:#959595;box-shadow:inset 0 0 0 1px #959595}.spectra-multi-buttons__color-scheme--secondary button.uagb-multi-button.is-primary.is-primary svg{fill:#fff}.spectra-multi-buttons__layout--inline{align-items:center;display:grid;grid-template-columns:50% 50%}.spectra-multi-buttons__layout--inline .uagb-control__header,.spectra-multi-buttons__layout--inline .uag-control-label{margin-bottom:0}",""]);const r=o},4284(e){"use strict";var t,a=(t=[],function(e,a){return t[e]=a,t.filter(Boolean).join("\n")});function i(e,t,i,l){var n;if(i)n="";else{n="",l.supports&&(n+="@supports (".concat(l.supports,") {")),l.media&&(n+="@media ".concat(l.media," {"));var o=void 0!==l.layer;o&&(n+="@layer".concat(l.layer.length>0?" ".concat(l.layer):""," {")),n+=l.css,o&&(n+="}"),l.media&&(n+="}"),l.supports&&(n+="}")}if(e.styleSheet)e.styleSheet.cssText=a(t,n);else{var r=document.createTextNode(n),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(r,s[t]):e.appendChild(r)}}var l={singleton:null,singletonCounter:0};e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=l.singletonCounter++,a=l.singleton||(l.singleton=e.insertStyleElement(e));return{update:function(e){i(a,t,!1,e)},remove:function(e){i(a,t,!0,e)}}}},4486(e,t,a){"use strict";a.d(t,{A:()=>r});var i=a(1601),l=a.n(i),n=a(6314),o=a.n(n)()(l());o.push([e.id,'.uagb-inspector-tab.uagb-tab-content-general .uag-advance-panel-body-image .editor-bg-image-control{margin-top:-35px}.uagb-inspector-tab .block-editor-image-size-control .block-editor-image-size-control__row{text-transform:capitalize}.uagb-inspector-tab .components-base-control label.components-input-control__label{text-transform:capitalize}.uagb-inspector-tab .block-editor-image-size-control__row .components-button-group .components-button{border:1px solid #8f9395;box-shadow:none;font-size:13px;font-weight:400;height:26px}.uagb-inspector-tab .block-editor-image-size-control__row .components-button-group .components-button.is-pressed{background:#0085ba;border-color:#0085ba}.uagb-inspector-tab .block-editor-image-size-control__row .components-button span.dashicons-image-rotate{font-size:9px;display:flex;justify-content:center;align-items:center;color:#2e92c4}.block-editor-block-list__block.wp-block[data-type="srfm/image"]{width:inherit}.wp-block-uagb-image--effect-slide .wp-block-uagb-image__figure img,.wp-block-uagb-image--effect-slide .wp-block-uagb-image__figure .wp-block-uagb-image--layout-overlay__color-wrapper{width:calc(100% + 40px) !important;max-width:none !important;transform:translate3d(-40px, 0, 0);transition:transform .35s ease-in-out}.wp-block-uagb-image--effect-slide .wp-block-uagb-image__figure:hover img,.wp-block-uagb-image--effect-slide .wp-block-uagb-image__figure:hover .wp-block-uagb-image--layout-overlay__color-wrapper{transform:translate3d(0, 0, 0)}.wp-block-uagb-image .components-placeholder.block-editor-media-placeholder{box-shadow:none;border:1px dashed #555d66}.wp-block-uagb-image .components-placeholder.block-editor-media-placeholder .components-placeholder__label{margin-left:auto;margin-right:auto;margin-bottom:8px}.wp-block-uagb-image .components-placeholder.block-editor-media-placeholder .components-placeholder__label .block-editor-block-icon svg.uagb-editor-icons path{stroke:#0063a1}.wp-block-uagb-image .components-placeholder.block-editor-media-placeholder .components-placeholder__fieldset{justify-content:center}.wp-block-uagb-image .components-placeholder.block-editor-media-placeholder .components-placeholder__fieldset .components-placeholder__instructions{width:100%;text-align:center;margin-bottom:32px}.wp-block-uagb-image .components-placeholder.block-editor-media-placeholder .components-button.is-tertiary{box-shadow:inset 0 0 0 1px var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));color:var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));padding:6px 12px}.wp-block-uagb-image .components-placeholder.block-editor-media-placeholder .components-button.is-tertiary:hover{box-shadow:inset 0 0 0 1px var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #006ba1));color:var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #006ba1))}.wp-block-uagb-image .components-resizable-box__container{max-width:100% !important;height:auto !important}.wp-block-uagb-image .components-resizable-box__container img{max-width:100% !important}.wp-block-uagb-image .components-placeholder.is-medium .components-placeholder__instructions{display:block !important}.wp-block-uagb-image .components-placeholder.is-medium .components-placeholder__fieldset{flex-direction:row}.wp-block-uagb-image .components-placeholder.is-medium .components-placeholder__fieldset .components-button{margin-right:10px}',""]);const r=o},4676(e,t,a){"use strict";a.d(t,{A:()=>r});var i=a(1601),l=a.n(i),n=a(6314),o=a.n(n)()(l());o.push([e.id,".uag-range-control .uagb-range-control__mobile-controls{display:flex;width:100%;align-items:center}.uag-range-control .uagb-range-control__mobile-controls .components-base-control.components-range-control{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing:border-box;align-items:flex-start;-webkit-box-pack:start;justify-content:flex-start;margin-right:20px;position:relative;width:100%;margin-bottom:0;max-height:30px}.uag-range-control .uagb-range-control__mobile-controls .components-base-control.components-range-control .components-range-control__tooltip{left:45%}.uag-range-control .uagb-range-control__mobile-controls .components-input-control__container{flex:0 0 0%;width:100%}.uag-range-control .uagb-range-control__mobile-controls .components-number-control{width:35%;margin-left:10px}.uag-range-control .uagb-range-control__mobile-controls .components-number-control .components-input-control__input{padding:0 1px 0 8px !important;text-align:left;font-size:14px}.uag-range-control .uagb-range-control__mobile-controls .components-range-control__marks{top:13px}",""]);const r=o},4868(e){"use strict";e.exports=function(e,t){Object.keys(t).forEach(function(a){e.setAttribute(a,t[a])})}},4994(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},5001(e,t,a){"use strict";a.d(t,{A:()=>r});var i=a(1601),l=a.n(i),n=a(6314),o=a.n(n)()(l());o.push([e.id,".uagb-color-switch-control-container .components-flex.components-angle-picker-control{margin-bottom:0}.uagb-color-switch-control-container .uagb-multi-buttons-control{margin-bottom:5px}.uagb-color-switch-control-container .uagb-color-popover-container{margin-top:25px}.uagb-color-switch-control-container .components-custom-gradient-picker{margin-top:25px}.uagb-color-switch-control-container .uagb-advanced-color-settings-container{justify-content:flex-end}",""]);const r=o},5072(e){"use strict";var t=[];function a(e){for(var a=-1,i=0;i=t.f?l():e.fonts.load(function(e){return C(e)+" "+e.f+"00 300px "+k(e.c)}(t.a),t.h).then(function(e){1<=e.length?i():setTimeout(n,25)},function(){l()})}()}),l=null,n=new Promise(function(e,a){l=setTimeout(a,t.f)});Promise.race([n,i]).then(function(){l&&(clearTimeout(l),l=null),t.g(t.a)},function(){t.j(t.a)})};var z={D:"serif",C:"sans-serif"},O=null;function F(){if(null===O){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);O=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return O}function I(e,t,a){for(var i in z)if(z.hasOwnProperty(i)&&t===e.f[z[i]]&&a===e.f[z[i]])return!0;return!1}function N(e){var t,a=e.g.a.offsetWidth,i=e.h.a.offsetWidth;(t=a===e.f.serif&&i===e.f["sans-serif"])||(t=F()&&I(e,a,i)),t?r()-e.A>=e.w?F()&&I(e,a,i)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?V(e,e.v):V(e,e.B):function(e){setTimeout(o(function(){N(this)},e),50)}(e):V(e,e.v)}function V(e,t){setTimeout(o(function(){d(this.g.a),d(this.h.a),d(this.j.a),d(this.m.a),t(this.a)},e),0)}function G(e,t,a){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=a}P.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=r(),N(this)};var W=null;function U(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&p(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),D(e,"active")):E(e.a))}function j(e){this.j=e,this.a=new L,this.h=0,this.f=this.g=!0}function q(e,t,a,i,l){var n=0==--e.h;(e.f||e.g)&&setTimeout(function(){var e=l||null,r=i||{};if(0===a.length&&n)E(t.a);else{t.f+=a.length,n&&(t.j=n);var s,u=[];for(s=0;sr});var i=a(1601),l=a.n(i),n=a(6314),o=a.n(n)()(l());o.push([e.id,".uagb-presets-radio-image-wrap{display:grid;grid-column-gap:16px;grid-template-columns:repeat(2, 1fr);grid-row-gap:14px}.uagb-presets-radio-image-wrap .uag-presets-radio-input{display:none}.uagb-presets-radio-image-wrap .uag-presets-radio-input-label{position:relative;display:inline-block}.uagb-presets-radio-image-wrap svg{width:100%;height:auto;fill:#898e95;border:1px solid #dadada;color:#898e95;background-color:#f0f0f1;transition:background .08s ease,box-shadow .08s ease;border-radius:5px 5px 3px 3px}.uagb-presets-radio-image-wrap svg>path:first-child{scale:1.129 1.085;transform-origin:center bottom}.uagb-presets-radio-image-wrap .uag-presets-radio-input:checked+.uag-presets-radio-input-label svg{background-color:#007cba;border:1px solid #00608f}.uagb-presets-radio-image-wrap .uag-presets-radio-image-clickable{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.uagb-inspector-tab .components-panel__body .uag-presets-label{line-height:2.4}.uagb-presets-label-reset-wrap{display:flex;justify-content:space-between}.uagb-presets-main-wrap.border-none svg{border:none}",""]);const r=o},5795(e){"use strict";e.exports=window.ReactDOM},6314(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var a="",i=void 0!==t[5];return t[4]&&(a+="@supports (".concat(t[4],") {")),t[2]&&(a+="@media ".concat(t[2]," {")),i&&(a+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),a+=e(t),i&&(a+="}"),t[2]&&(a+="}"),t[4]&&(a+="}"),a}).join("")},t.i=function(e,a,i,l,n){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(i)for(var r=0;r0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=n),a&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=a):c[2]=a),l&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=l):c[4]="".concat(l)),t.push(c))}},t}},6323(e,t,a){"use strict";a.d(t,{A:()=>r});var i=a(1601),l=a.n(i),n=a(6314),o=a.n(n)()(l());o.push([e.id,".uagb-gradient-picker .components-custom-gradient-picker__gradient-bar{border-radius:5px;height:30px}.uagb-gradient-picker .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button{top:9px;width:12px;height:12px}.uagb-gradient-picker .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point{top:7px}.block-editor-block-inspector .uagb-inspector-tab .uag-background-gradient .uagb-color-popover-container,.block-editor-block-inspector .uagb-inspector-tab .uag-background-gradient .uagb-multi-buttons-control,.block-editor-block-inspector .uagb-inspector-tab .uag-background-gradient .uagb-size-type-field-tabs,.block-editor-block-inspector .uagb-inspector-tab .uag-background-gradient .components-button-group,.block-editor-block-inspector .uag-background-image-overlay-gradient .uagb-color-popover-container,.block-editor-block-inspector .uag-background-image-overlay-gradient .uagb-multi-buttons-control,.block-editor-block-inspector .uag-background-image-overlay-gradient .uagb-size-type-field-tabs,.block-editor-block-inspector .uag-background-image-overlay-gradient .components-button-group{margin-bottom:24px}.block-editor-block-inspector .uagb-inspector-tab .uag-background-gradient .uagb-size-type-field-tabs,.block-editor-block-inspector .uag-background-image-overlay-gradient .uagb-size-type-field-tabs{display:block}.block-editor-block-inspector .uagb-inspector-tab .uag-background-gradient .uagb-gradient-advanced-option,.block-editor-block-inspector .uag-background-image-overlay-gradient .uagb-gradient-advanced-option{width:100%;justify-content:right;margin-bottom:5px;padding-right:0}",""]);const r=o},6359(e,t,a){"use strict";a.d(t,{A:()=>r});var i=a(1601),l=a.n(i),n=a(6314),o=a.n(n)()(l());o.push([e.id,'.components-panel[data-uagb-tab]{z-index:99}.components-panel[data-uagb-tab]:not([data-uagb-tab=advance]) .components-panel__body.block-editor-block-inspector__advanced,.components-panel[data-uagb-tab]:not([data-uagb-tab=advance]) .components-panel__body.editor-block-inspector__advanced.block-editor-block-inspector__advanced,.components-panel[data-uagb-tab]:not([data-uagb-tab=advance]) .block-editor-block-inspector>div>.components-panel__body{display:none}.components-panel[data-uagb-tab]:not([data-uagb-tab=advance]) .block-editor-block-inspector>div>.components-panel__body.uagb-dynamic-content-wrap{display:block;border-bottom:1px solid #e0e0e0 !important}.components-panel[data-uagb-tab] .block-editor-block-card{position:relative;z-index:1;overflow:hidden}.components-panel[data-uagb-tab] .block-editor-block-card::before{content:"";position:absolute;top:0;left:-16px;right:-16px;bottom:0;background:#fff;z-index:-1}.components-panel[data-uagb-tab] .components-panel__body.edit-post-settings-sidebar__panel-block .block-editor-block-card{overflow:unset}.components-panel[data-uagb-tab] .components-panel__body.edit-post-settings-sidebar__panel-block .block-editor-block-card::before{top:-16px}.components-panel[data-uagb-tab=advance] .block-editor-block-inspector__advanced{border-color:rgba(0,0,0,0)}[dir=rtl] .uagb-inspector-tabs{direction:rtl}[dir=rtl] .uagb-inspector-tabs>div:first-child.uagb-active::after{border-left:1px solid #d6d9dd;border-right:0}[dir=rtl] .uagb-inspector-tabs>div:last-child.uagb-active::after{border-left:0;border-right:1px solid #d6d9dd}.uagb-inspector-tabs{display:flex;position:relative;background:#fff;z-index:9;height:65px}.uagb-inspector-tabs>div{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;background:#fff;cursor:pointer}.uagb-inspector-tabs>div::after,.uagb-inspector-tabs>div::before{content:"";position:absolute;display:block;top:0;left:0;width:100%}.uagb-inspector-tabs>div::after{border-bottom:1px solid #d6d9dd;height:100%;z-index:1}.uagb-inspector-tabs>div:first-child.uagb-active::after{border-left:0;box-shadow:inset 0 -3px 0 0 #007cba;color:#007cba}.uagb-inspector-tabs>div:last-child.uagb-active::after{border-right:0;box-shadow:inset 0 -3px 0 0 #007cba;color:#007cba}.uagb-inspector-tabs>div.uagb-active::after{border-left:1px solid #d6d9dd;border-right:1px solid #d6d9dd;border-bottom:0;box-shadow:inset 0 -3px 0 0 #007cba;color:#007cba}.uagb-inspector-tabs>div.uagb-active::before{height:0;background-color:rgba(0,0,0,0);z-index:2}.uagb-inspector-tabs>div h5{margin:6px 0 0;font-size:13px;font-weight:400;line-height:1.2}.uagb-inspector-tabs>div h5,.uagb-inspector-tabs>div svg{z-index:2;fill:#585858}.uagb-inspector-tabs>div.uagb-active h5{color:#0085ba}.uagb-inspector-tabs>div.uagb-active path{fill:#0085ba}.components-panel .components-panel__body .uagb-inspector-tabs-container{position:static !important;margin-left:-16px;margin-right:-16px;border-top:0 !important;top:0 !important}.uagb-inspector-tabs-container{position:sticky;top:-3px;z-index:9;border-top:calc(.1em + 1px) solid #f2f4f5;direction:initial}.customize-widgets-layout__inspector .uagb-inspector-tabs-container{top:-12px;margin-left:-12px;margin-right:-12px}.uagb-inspector-tab .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .uagb-inspector-tab .components-panel__body:first-child{margin-top:0;border-top:none !important}',""]);const r=o},6925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6942(e,t){var a;!function(){"use strict";var i={}.hasOwnProperty;function l(){for(var e="",t=0;t=0||Object.prototype.hasOwnProperty.call(e,i)&&(a[i]=e[i]);return a}(this.props,[]);return function(e){c.forEach(function(t){return delete e[t]})}(l),l.className=this.props.inputClassName,l.id=this.state.inputId,l.style=a,o.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),o.default.createElement("input",i({},l,{ref:this.inputRef})),o.default.createElement("div",{ref:this.sizerRef,style:u},e),this.props.placeholder?o.default.createElement("div",{ref:this.placeHolderSizerRef,style:u},this.props.placeholder):null)}}]),t}(n.Component);h.propTypes={className:r.default.string,defaultValue:r.default.any,extraWidth:r.default.oneOfType([r.default.number,r.default.string]),id:r.default.string,injectStyles:r.default.bool,inputClassName:r.default.string,inputRef:r.default.func,inputStyle:r.default.object,minWidth:r.default.oneOfType([r.default.number,r.default.string]),onAutosize:r.default.func,onChange:r.default.func,placeholder:r.default.string,placeholderIsMinWidth:r.default.bool,style:r.default.object,value:r.default.any},h.defaultProps={minWidth:1,injectStyles:!0},t.A=h},8226(e){e.exports=function(){"use strict";return function(e){var t="/*|*/",a=t+"}";function i(t){if(t)try{e(t+"}")}catch(e){}}return function(l,n,o,r,s,u,c,g,d,p){switch(l){case 1:if(0===d&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===g)return n+t;break;case 3:switch(g){case 102:case 112:return e(o[0]+n),"";default:return n+(0===p?t:"")}case-2:n.split(a).forEach(i)}}}}()},8514(e,t,a){"use strict";t.__esModule=!0,t.default=void 0,function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,a):{};i.get||i.set?Object.defineProperty(t,a,i):t[a]=e[a]}t.default=e}(a(5556));var i=r(a(2963)),l=r(a(788)),n=r(a(1609)),o=r(a(495));function r(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign||function(e){for(var t=1;tr});var i=a(1601),l=a.n(i),n=a(6314),o=a.n(n)()(l());o.push([e.id,".block-editor-image-size-control{margin-bottom:1em}.block-editor-image-size-control .block-editor-image-size-control__row{display:flex;justify-content:space-between;flex-direction:column}.block-editor-image-size-control .block-editor-image-size-control__row .uag-number-control .uag-number-control__inline,.block-editor-image-size-control .block-editor-image-size-control__row .uag-number-control .uag-number-control__full-width{margin-bottom:10px}",""]);const r=o},8619(e,t,a){"use strict";a.d(t,{A:()=>r});var i=a(1601),l=a.n(i),n=a(6314),o=a.n(n)()(l());o.push([e.id,".uag-control-tabs{margin:0 -16px;padding:0 16px}.uag-control-tabs.uag-control-tabs-three-tabs .components-tab-panel__tabs>.components-button{width:31.3%}.uag-control-tabs>.components-tab-panel__tabs{justify-content:space-between;margin:0 -16px 25px;padding:0 16px;border-bottom:1px solid #e6e7e9}.uag-control-tabs>.components-tab-panel__tabs>.components-button{width:47%;text-align:center;justify-content:center;border:1px solid #e6e7e9;border-radius:3px 3px 0 0;color:#50575e;background-color:#f0f0f1;max-height:30px;font-size:13px;border-bottom:0;margin-bottom:-1px}.uag-control-tabs>.components-tab-panel__tabs>.components-button.active-tab{color:#007cba;background:#fff}.uag-control-tabs>.components-tab-panel__tabs>.components-button:focus:not(:disabled){box-shadow:none}.uag-control-tabs .components-base-control{margin-bottom:25px}.uag-control-tabs .components-base-control .components-base-control,.uag-control-tabs .components-base-control .components-base-control__field{padding-top:0;margin-bottom:0}.uag-control-tabs .components-base-control:last-child{margin-bottom:0}",""]);const r=o},9194(e,t,a){"use strict";a.d(t,{A:()=>r});var i=a(1601),l=a.n(i),n=a(6314),o=a.n(n)()(l());o.push([e.id,".uag-confirm-popup-wrapper{display:flex;flex-direction:row;align-items:flex-start;padding:24px;width:612px;height:166px;background:#fff;box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04);border-radius:2px}.uag-confirm-popup-wrapper .components-modal__content{margin:0;padding:0;display:flex;flex-direction:row;gap:20px}.uag-confirm-popup-wrapper .components-modal__content .components-modal__header{display:none}.uag-confirm-popup-wrapper .components-modal__content .uag-confirm-popup-icon{display:flex;flex-direction:row;align-items:flex-start;padding:12px;gap:8px;width:54px;height:54px;background:#dcf2ff;border-radius:32px;flex:none;order:0;flex-grow:0}.uag-confirm-popup-wrapper .components-modal__content .uag-confirm-popup-icon svg{stroke:#007cba}.uag-confirm-popup-wrapper .components-modal__content .uag-confirm-popup-content{box-sizing:border-box;display:flex;flex-direction:column;gap:24px}.uag-confirm-popup-wrapper .components-modal__content .uag-confirm-popup-content .uag-confirm-popup-text{display:flex;flex-direction:column;order:1;gap:4px}.uag-confirm-popup-wrapper .components-modal__content .uag-confirm-popup-content .uag-confirm-popup-text .uag-confirm-popup-title{width:480px;height:28px;font-style:normal;font-weight:500;font-size:20px;line-height:28px;color:#1d2327;flex:none;order:0;flex-grow:0}.uag-confirm-popup-wrapper .components-modal__content .uag-confirm-popup-content .uag-confirm-popup-text .uag-confirm-popup-description{width:480px;height:20px;font-style:normal;font-weight:400;font-size:13px;line-height:20px;display:flex;align-items:center;color:#50575e;flex:none;order:1;flex-grow:0}.uag-confirm-popup-wrapper .components-modal__content .uag-confirm-popup-content .uag-confirm-popup-controls{display:flex;flex-direction:row;align-items:flex-start;gap:12px;flex:none;order:2}.uag-confirm-popup-wrapper .components-modal__content .uag-confirm-popup-content .uag-confirm-popup-controls .uag-confirm-popup-buttons{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:9px 17px;box-shadow:0 1px 2px rgba(0,0,0,.05)}.uag-confirm-popup-wrapper .components-modal__content .uag-confirm-popup-content .uag-confirm-popup-controls .uag-popup-confirmation-button{background:#007cba;color:#fff;border-radius:2px;flex:none;order:0}.uag-confirm-popup-wrapper .components-modal__content .uag-confirm-popup-content .uag-confirm-popup-controls .uag-popup-cancellation-button{background:#fff;border:1px solid #e6e7e9;border-radius:2px;flex:none;order:1}.uag-confirm-popup-overlay{background-color:rgba(0,0,0,.4392156863)}",""]);const r=o},9380(e,t,a){"use strict";a.d(t,{A:()=>r});var i=a(1601),l=a.n(i),n=a(6314),o=a.n(n)()(l());o.push([e.id,".uagb-text-control{position:relative}.uagb-text-control--open-dynamic-content{flex-direction:column;align-items:unset}.uagb-text-control .components-base-control__field{margin-bottom:0}.uagb-text-control .components-text-control__input{padding-right:30px;margin-left:0;margin-right:0;color:#50575e;border-color:#e6e7e9}.uagb-text-control .components-text-control__input:focus{border-color:#959595;box-shadow:unset}.uagb-text-control .uagb-control__header .uagb-number-control__actions .uagb-reset{height:fit-content}.uagb-text-control__controls>.components-button{position:absolute;right:0;bottom:0;padding:0 8px;border-radius:2px;height:30px}.uagb-text-control__controls>.components-button svg{width:18px;stroke:#555d66;stroke-width:1.4;fill:none}.uagb-text-control__controls-inline .components-base-control__field{display:flex;align-items:center}.uagb-text-control__controls-inline .components-base-control__field>label{flex:50%;margin-bottom:unset}.uagb-text-control__controls-inline .components-base-control__field>input{flex:50%}.uagb-text-control__controls-textarea{position:relative}.uagb-text-control__controls-textarea>.components-button{top:2px;bottom:auto}.uagb-text-control__controls-textarea textarea{color:#50575e;border-color:#e6e7e9}.uagb-text-control__controls-textarea textarea:focus{border-color:#959595;box-shadow:unset}.uagb-text-control.components-base-control>.components-base-control__help{margin-top:10px}",""]);const r=o},9790(e,t,a){"use strict";var i=r(a(8514)),l=r(a(1369)),n=r(a(2312)),o=r(a(495));function r(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:o.default,TransitionGroup:n.default,ReplaceTransition:l.default,CSSTransition:i.default}},9810(e,t,a){"use strict";a.d(t,{A:()=>r});var i=a(1601),l=a.n(i),n=a(6314),o=a.n(n)()(l());o.push([e.id,".uag-number-control .uagb-number-control__mobile-controls.uag-number-control__full-width{position:relative;color:#50575e}.uag-number-control .uagb-number-control__mobile-controls.uag-number-control__full-width .uag-control-label{margin-bottom:10px}.uag-number-control .uagb-number-control__mobile-controls.uag-number-control__full-width .components-number-control .components-input-control__input{padding:0 7px 0 12px !important}.uag-number-control .uagb-number-control__mobile-controls.uag-number-control__full-width>.components-button{position:absolute;left:75%;bottom:0%;height:30px;z-index:1}.uag-number-control .uagb-number-control__mobile-controls.uag-number-control__inline{align-items:center;display:grid;grid-template-columns:repeat(3, 1fr);color:#50575e}.uag-number-control .uagb-number-control__mobile-controls.uag-number-control__inline .uag-control-label{margin-bottom:0}.uag-number-control .uagb-number-control__mobile-controls.uag-number-control__inline .components-number-control .components-input-control__input{padding:0 7px 0 12px !important}.uag-number-control .uagb-number-control__mobile-controls.uag-number-control__inline .components-input-control__container{width:100%}.uag-number-control .uagb-number-control__mobile-controls.uag-number-control__inline .uagb-dynamic-content-wrap{width:245%;margin-top:20px}.uag-number-control .uagb-number-control__mobile-controls.uag-number-control__inline>.components-button{position:absolute;right:34%}.uag-number-control .uagb-number-control__mobile-controls>.components-button svg{width:18px;stroke:#555d66;stroke-width:1.4;fill:none;z-index:1}.uag-number-control .uagb-control__header{display:grid;grid-template-columns:100%;justify-items:end;justify-content:end}.uag-number-control .uag-responsive-label-wrap{grid-column:1/span 2}.uag-number-control .uagb-dynamic-content-wrap{margin-top:20px}.uag-number-control.uagb-text-control--open-dynamic-content .uag-number-control__inline{display:block}.uag-number-control.uagb-text-control--open-dynamic-content .uag-number-control__inline .uagb-dynamic-content-wrap{width:100%;margin-top:20px}.uag-number-control input[type=number]::-webkit-inner-spin-button,.uag-number-control input[type=number]::-webkit-outer-spin-button{opacity:1}",""]);const r=o}},a={};function i(e){var l=a[e];if(void 0!==l)return l.exports;var n=a[e]={id:e,exports:{}};return t[e].call(n.exports,n,n.exports,i),n.exports}i.m=t,e=[],i.O=(t,a,l,n)=>{if(!a){var o=1/0;for(c=0;c=n)&&Object.keys(i.O).every(e=>i.O[e](a[s]))?a.splice(s--,1):(r=!1,n0&&e[c-1][2]>n;c--)e[c]=e[c-1];e[c]=[a,l,n]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var a in t)i.o(t,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var t=globalThis.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var a=t.getElementsByTagName("script");if(a.length)for(var l=a.length-1;l>-1&&(!e||!/^http(s?):/.test(e));)e=a[l--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{var e={617:0,232:0};i.O.j=t=>0===e[t];var t=(t,a)=>{var l,n,[o,r,s]=a,u=0;if(o.some(t=>0!==e[t])){for(l in r)i.o(r,l)&&(i.m[l]=r[l]);if(s)var c=s(i)}for(t&&t(a);ui(3216));l=i.O(l)})(); \ No newline at end of file diff --git a/modules/gutenberg/src/controls/addInitialAttr.js b/modules/gutenberg/src/controls/addInitialAttr.js index 37111a048..e5b4d5190 100644 --- a/modules/gutenberg/src/controls/addInitialAttr.js +++ b/modules/gutenberg/src/controls/addInitialAttr.js @@ -175,7 +175,7 @@ const addInitialAttr = ( ChildComponent ) => { ]; if ( ! REUSABLE_BLOCK_ISSUE_RESOLVED_BLOCKS.includes( name ) ) { - const getAllBlocks = select( 'core/editor' )?.getBlocks(); + const getAllBlocks = select( 'core/block-editor' )?.getBlocks(); const { blockIds, clientIds } = getAllBlocks ? getUniqId( getAllBlocks ) : { blockIds: [], clientIds: [] }; diff --git a/modules/quick-action-sidebar/components/Sidebar.js b/modules/quick-action-sidebar/components/Sidebar.js index fe7509ed3..52f9eff64 100644 --- a/modules/quick-action-sidebar/components/Sidebar.js +++ b/modules/quick-action-sidebar/components/Sidebar.js @@ -150,7 +150,7 @@ const Sidebar = () => { width="24" height="24" aria-hidden="true" - fill="#fff" + fill="currentColor" focusable="false" > @@ -217,7 +217,7 @@ const Sidebar = () => { width="24" height="24" aria-hidden="true" - fill="#fff" + fill="currentColor" focusable="false" > diff --git a/modules/quick-action-sidebar/components/blocks.js b/modules/quick-action-sidebar/components/blocks.js index 08947c294..5c3e389cb 100644 --- a/modules/quick-action-sidebar/components/blocks.js +++ b/modules/quick-action-sidebar/components/blocks.js @@ -6,6 +6,10 @@ import { createBlock, getBlockTypes } from '@wordpress/blocks'; import DraggableBlock from './draggable-block'; import DragAndDropComponent from './move-up-down'; +// Stable reference so `useSelect` doesn't return a fresh empty array on every +// call when no allowed blocks are resolved, which would trigger needless re-renders. +const EMPTY_ALLOWED_BLOCKS = []; + const Blocks = ( { defaultAllowedQuickSidebarBlocks, updateDefaultAllowedQuickSidebarBlocks, @@ -22,17 +26,15 @@ const Blocks = ( { const blockEditor = select( 'core/block-editor' ); const { index } = blockEditor.getBlockInsertionPoint(); const clientId = blockEditor.getSelectedBlockClientId(); - const rootClientId = blockEditor.getBlockRootClientId( - getSelectedBlockClientId - ); + const rootClientId = blockEditor.getBlockRootClientId( clientId ); const allowedBlocks = blockEditor.getAllowedBlocks( clientId ); return { blockInsertionPoint: index, getBlockRootClientId: rootClientId, getSelectedBlockClientId: clientId, - getSelectedBlockAllowedBlocks: allowedBlocks || [], + getSelectedBlockAllowedBlocks: allowedBlocks || EMPTY_ALLOWED_BLOCKS, }; - } ); + }, [] ); const srfmBlocks = blocks.filter( ( block ) => { return defaultAllowedQuickSidebarBlocks.includes( block.name ); } ); diff --git a/modules/quick-action-sidebar/editor.lazy.scss b/modules/quick-action-sidebar/editor.lazy.scss index 9cbfe1dc1..f10827000 100644 --- a/modules/quick-action-sidebar/editor.lazy.scss +++ b/modules/quick-action-sidebar/editor.lazy.scss @@ -473,3 +473,15 @@ div#widgets-editor { .srfm-ee-quick-access__sidebar--prevent-editor-interactions { pointer-events: none; } + +/** + * WP 7.1 Distraction Free mode. + * + * The quick-action sidebar is a fixed element inserted into + * `.interface-interface-skeleton__body`, so core's distraction-free chrome + * hiding never reaches it and it lingers as a floating artifact. Hide it while + * distraction-free is active; toggling the mode off restores it. + */ +.is-distraction-free .srfm-ee-quick-access-container { + display: none; +} diff --git a/package-lock.json b/package-lock.json index 261dce2cb..8df6b1197 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "sureforms", - "version": "2.12.3", + "version": "2.12.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "sureforms", - "version": "2.12.3", + "version": "2.12.4", "license": "GPL", "dependencies": { "@bsf/force-ui": "git+https://github.com/brainstormforce/bsf-admin-ui#v1.7.7", diff --git a/package.json b/package.json index f126f825e..6ec8dc47f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sureforms", - "version": "2.12.3", + "version": "2.12.4", "description": "A simple yet powerful way to add forms to your website.", "main": "index.js", "scripts": { diff --git a/readme.txt b/readme.txt index 2c493bedd..ce8fe7c3c 100644 --- a/readme.txt +++ b/readme.txt @@ -2,9 +2,9 @@ Contributors: brainstormforce Tags: forms, ai forms, contact form, form builder, payment form Requires at least: 6.4 -Tested up to: 7.0.2 +Tested up to: 7.1 Requires PHP: 7.4 -Stable tag: 2.12.3 +Stable tag: 2.12.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -426,6 +426,9 @@ Visit the [SureForms features page](https://sureforms.com/features/?utm_source=w You can report security issues through our [Bug Bounty Program](https://brainstormforce.com/bug-bounty-program/). We collaborate with Patchstack to validate, triage, and handle security reports. == Changelog == += 2.12.4 - 19th August 2026 = +* Improvement: Email notification images are now saved to the Media Library instead of being embedded as base64, improving email deliverability and reducing message size. +* Fix: Compatibility with WordPress 7.1. = 2.12.3 - 6th August 2026 = * New: Added an "Entries" shortcut in the Instant Form admin bar to open a form's entries in one click. * Improvement: Enhanced WPML compatibility. [https://wpml.org/plugin/sureforms/](https://wpml.org/plugin/sureforms/) @@ -440,12 +443,6 @@ You can report security issues through our [Bug Bounty Program](https://brainsto = 2.12.2 - 20th July 2026 = * New: Added a Payment History widget for Elementor and Bricks. * Fix: Custom CSS now applies correctly on the single form view. -= 2.12.1 - 8th July 2026 = -* New: Added an AI-powered quick draft flow on the dashboard to generate forms faster, with built-in usage tracking. -* Improvement: Email fields now enforce standard RFC 5321 length limits (a 64-character local part and 255-character domain) to prevent oversized submissions, with a filter to customize the limits. -* Fix: Reset form option not working for some fields. -* Fix: Resolved a Stripe one-time payment error that could cause card payments to fail with an HTTP 400 response. -* Fix: Restored bullet point visibility in the rich text admin editor so formatted lists display correctly. The full changelog is available [here](https://sureforms.com/whats-new/?utm_source=wordpress.org&utm_medium=whats_new). == Upgrade Notice == \ No newline at end of file diff --git a/sass/header-styles.scss b/sass/header-styles.scss index 512cf7644..a625a82f6 100644 --- a/sass/header-styles.scss +++ b/sass/header-styles.scss @@ -33,6 +33,49 @@ body.post-type-sureforms_form .edit-post-header .edit-post-fullscreen-mode-close box-shadow: none; } +// WP 7.1: the `.edit-post-fullscreen-mode-close` button was replaced by the +// generic `.editor-header__back-button` wrapper, so the selectors above no +// longer match and the SureForms logo fell back to the default back chevron. +// Re-apply the logo to the new markup (the rules above stay for WP < 7.1). + +// styles the back-button wrapper as the logo tile. +body.post-type-sureforms_form .editor-header__back-button { + // WP 7.1 gives the wrapper its own margin, which broke the tile's flush fit + // against the header edge. + margin: 0; + align-items: center; + align-self: stretch; + background: #1e1e1e; + border-radius: 0; + display: flex; + justify-content: center; + position: relative; + width: 60px; +} + +// keeps the (now icon-less) back link filling the tile and clickable. +body.post-type-sureforms_form .editor-header__back-button a.components-button { + color: #fff; + height: 100%; + justify-content: center; + width: 60px; +} + +// hides the default back chevron. +body.post-type-sureforms_form .editor-header__back-button a.components-button svg { + display: none; +} + +// adds the SureForms logo on top of the back link. +body.post-type-sureforms_form .editor-header__back-button:before { + content: url( 'data:image/svg+xml;utf8,' ); + left: 50%; + pointer-events: none; + position: absolute; + top: 50%; + transform: translate( -50%, -50% ); +} + // hides the pinned items other than settings. // When the block is not selected aria-controls is set to edit-post:document. // When the block is selected aria-controls is set to edit-post:block. So we need to exclude these two. diff --git a/src/admin/single-form-settings/Editor.js b/src/admin/single-form-settings/Editor.js index 5aa7be11f..76e529751 100644 --- a/src/admin/single-form-settings/Editor.js +++ b/src/admin/single-form-settings/Editor.js @@ -9,7 +9,12 @@ import { import { __ } from '@wordpress/i18n'; import { useState, useEffect, createRoot } from '@wordpress/element'; -import { useSelect, useDispatch } from '@wordpress/data'; +import { + useSelect, + useDispatch, + select as dataSelect, + dispatch as dataDispatch, +} from '@wordpress/data'; import { store as editorStore, PluginDocumentSettingPanel, @@ -19,6 +24,11 @@ import { store as blockEditorStore } from '@wordpress/block-editor'; import { store as preferencesStore } from '@wordpress/preferences'; import GeneralSettings from './tabs/GeneralSettings.js'; +import { + srfmDeepLinkFocus, + SRFM_DEEP_LINK_TABS, + deepLinkState, +} from './deep-link'; import StyleSettings from './tabs/StyleSettings.js'; import InspectorTabs from '@Components/inspector-tabs/InspectorTabs.js'; import InspectorTab, { @@ -76,6 +86,74 @@ const SureformsFormSpecificSettings = () => { const [ rootHtmlTag, setRootHtmlTag ] = useState( null ); const [ documentBody, setDocumentBody ] = useState( null ); + // Deep-link support (#3030): when the editor is opened with ?srfm_focus=…, + // make sure the settings sidebar is open. GeneralSettings — which hosts the + // Form Settings dialog and self-opens the target tab on mount — only renders + // while that sidebar is open, and it can be collapsed by user preference. This + // runs from the always-mounted plugin root so the deep-link works regardless + // of the user's saved sidebar state. + // + // GeneralSettings hosts the Form Settings dialog and self-opens the target tab, + // but it only mounts when the Document sidebar is open AND the "Form Options" + // panel is expanded — both user preferences that can be off, and an early open + // during boot gets reverted by the editor's preference restore. So drive it + // from a timer tick (outside the store's notification cycle, where the dispatch + // would be swallowed): switch to the Document tab, forcePanel() to enable+open + // the panel, and stop the moment GeneralSettings signals it consumed the deep + // link — a direct signal rather than inferring success from churning selectors. + // Bounded so it can never run away. + useEffect( () => { + if ( + ! Object.prototype.hasOwnProperty.call( + SRFM_DEEP_LINK_TABS, + srfmDeepLinkFocus + ) + ) { + return undefined; + } + + let elapsed = 0; + const ensureOpen = setInterval( () => { + // Bound + clear FIRST, so a throwing store method can never keep the + // interval alive for the rest of the session. + elapsed += 300; + if ( deepLinkState.consumed || elapsed > 6000 ) { + clearInterval( ensureOpen ); + return; + } + + // forcePanel() only opens the sidebar when it is fully closed, so it + // won't switch away from the Block tab; force the Document tab first + // (core registers the editor's complementary area under the 'core' + // scope). Skip the dispatch when already there to avoid fighting the + // user each tick. + const iface = dataSelect( 'core/interface' ); + // The area name is 'edit-post/document' on every supported version, but + // the scope it is registered under is not: current WP uses 'core', + // while 6.4 — our declared minimum — used 'core/edit-post'. Checking + // only 'core' means this never matches on 6.4, so the early-exit below + // never fires and the tick re-dispatches openGeneralSidebar 20 times + // over 6s, fighting the user's own tab choice and rewriting their + // panel preferences on every pass. + const activeArea = + iface && typeof iface.getActiveComplementaryArea === 'function' + ? iface.getActiveComplementaryArea( 'core' ) ?? + iface.getActiveComplementaryArea( 'core/edit-post' ) + : null; + const onDocument = 'edit-post/document' === activeArea; + + if ( ! onDocument ) { + dataDispatch( 'core/edit-post' )?.openGeneralSidebar?.( + 'edit-post/document' + ); + } + + forcePanel(); + }, 300 ); + + return () => clearInterval( ensureOpen ); + }, [] ); + useEffect( () => { let intervalId = null; let timeoutId = null; diff --git a/src/admin/single-form-settings/components/dialog/Dialog.js b/src/admin/single-form-settings/components/dialog/Dialog.js index cba6527b6..0c95d1e90 100644 --- a/src/admin/single-form-settings/components/dialog/Dialog.js +++ b/src/admin/single-form-settings/components/dialog/Dialog.js @@ -183,6 +183,22 @@ const Dialog = ( { return width + 40; }; + /** + * Measured height of the WP admin bar, or 0 when there isn't one. + * + * Measured rather than derived from fullscreen mode: up to WP 7.0 fullscreen + * hid the admin bar, but from 7.1 the bar stays visible in fullscreen, so + * assuming "fullscreen means nothing above us" slid the dialog's top edge + * (and its close button) underneath the bar. offsetHeight is 0 whenever the + * bar is hidden, which keeps the pre-7.1 behaviour intact. + * + * @return {number} Admin bar height in pixels. + */ + const getAdminBarHeight = () => { + const adminBar = document.getElementById( 'wpadminbar' ); + return adminBar ? adminBar.offsetHeight : 0; + }; + const isFullscreen = useSelect( // Param renamed to `wpSelect` to avoid shadowing the imported // `select` from `@wordpress/data` used by the toast listener below. @@ -221,10 +237,22 @@ const Dialog = ( { if ( ! dialogWrapper ) { return; } - if ( ! isFullscreen ) { - dialogWrapper.style.marginTop = '40px'; + + // Outside fullscreen the offset stays 40px (admin bar plus the editor + // header). In fullscreen, clear whatever admin bar is actually on screen: + // WP 7.1 keeps the bar in fullscreen mode, so removing the offset outright + // put the dialog header — and its close button — behind it. Pre-7.1 the bar + // is hidden there and this measures 0, giving the previous no-offset layout. + const topOffset = isFullscreen ? getAdminBarHeight() : 40; + + if ( topOffset > 0 ) { + dialogWrapper.style.marginTop = `${ topOffset }px`; + // The panel is h-full, so the offset has to come off its height too or + // the same number of pixels drops off the bottom of the viewport. + dialogWrapper.style.height = `calc(100% - ${ topOffset }px)`; } else { dialogWrapper.style.removeProperty( 'margin-top' ); + dialogWrapper.style.removeProperty( 'height' ); } }, [ open, isFullscreen ] ); diff --git a/src/admin/single-form-settings/components/email-settings/EditorToolbar.js b/src/admin/single-form-settings/components/email-settings/EditorToolbar.js index 8bacb33cc..6f9b912dc 100644 --- a/src/admin/single-form-settings/components/email-settings/EditorToolbar.js +++ b/src/admin/single-form-settings/components/email-settings/EditorToolbar.js @@ -1,6 +1,8 @@ import { __, _x } from '@wordpress/i18n'; import parse from 'html-react-parser'; import svgIcons from '@Svg/svgs.json'; +import apiFetch from '@wordpress/api-fetch'; +import { notify } from '@Utils/notify'; // Undo and redo functions for Custom Toolbar function undoChange() { @@ -10,33 +12,70 @@ function redoChange() { this.quill.history.redo(); } -// Custom image handler to add attributes to the image tag. +// Custom image handler — uploads the file to the WordPress Media Library +// and inserts the returned URL. This avoids base64 data URLs which are +// stripped by wp_kses_post() on the PHP save path. function imageHandler() { + const quill = this.quill; const input = document.createElement( 'input' ); input.setAttribute( 'type', 'file' ); input.setAttribute( 'accept', 'image/*' ); input.click(); input.onchange = ( e ) => { - const file = e.target.files[ 0 ]; - if ( /^image\//.test( file.type ) ) { - const reader = new FileReader(); - reader.onload = () => { - const base64Image = reader.result; - const range = this.quill.getSelection(); - this.quill.insertEmbed( range.index, 'image', { - src: base64Image, - alt: '', + const file = e.target.files?.[ 0 ]; + if ( ! file ) { + return; + } + + if ( ! /^image\//.test( file.type ) ) { + notify.error( __( 'Please choose an image file.', 'sureforms' ) ); + return; + } + + const formData = new window.FormData(); + formData.append( 'file', file ); + + apiFetch( { + path: '/wp/v2/media', + method: 'POST', + body: formData, + } ) + .then( ( response ) => { + const url = + response?.source_url || + response?.media_details?.sizes?.full?.source_url; + if ( ! url ) { + notify.error( + __( + 'The image uploaded but could not be inserted. Please try again.', + 'sureforms' + ) + ); + return; + } + const range = quill.getSelection( true ); + quill.insertEmbed( range.index, 'image', { + src: url, + alt: response?.alt_text || '', 'aria-hidden': 'true', } ); - }; - reader.onerror = () => { - console.error( 'Error while reading the file.' ); - }; - reader.readAsDataURL( file ); - } else { - console.warn( 'You could only upload images.' ); - } + } ) + .catch( ( err ) => { + // Surface the failure — 413 (post_max_size), 403 (no upload_files) + // and network errors all landed here silently, so picking an + // oversized photo looked like nothing happened at all. WP sends a + // human-readable `message` for REST-level errors; a request that + // never reached the API (size cap, connection drop) has none, so + // fall back to generic copy rather than printing an object. + notify.error( + err?.message || + __( + 'The image could not be uploaded. It may be too large, or you may not have permission to upload files.', + 'sureforms' + ) + ); + } ); }; } diff --git a/src/admin/single-form-settings/components/email-settings/EmailNotification.js b/src/admin/single-form-settings/components/email-settings/EmailNotification.js index 739224daf..ef4ac78f6 100644 --- a/src/admin/single-form-settings/components/email-settings/EmailNotification.js +++ b/src/admin/single-form-settings/components/email-settings/EmailNotification.js @@ -16,6 +16,13 @@ import { Copy, PenLine, Trash } from 'lucide-react'; import TabContentWrapper from '@Components/tab-content-wrapper'; import { notify } from '@Utils/notify'; import { applyFilters, doAction } from '@wordpress/hooks'; +import { srfmDeepLinkFocus } from '../../deep-link'; + +// One-shot guard: when the editor is reached via the "Set where replies go" +// deep-link (?srfm_focus=notifications), jump straight into the notification +// editor instead of landing on the list. Module-scoped so a later tab remount +// does not reopen it. +let srfmRepliesDeepLinkConsumed = false; const CustomButton = forwardRef( ( @@ -206,6 +213,26 @@ const EmailNotification = ( { }, ]; + // Deep-link: open the notification editor directly when arriving via "Set + // where replies go". The replies step shows precisely when the form has no + // reply destination — routinely zero notifications — so this must act on an + // empty array too, landing on the Add-New form (a bare object is + // EmailConfirmation's documented add shape: initFormData falls back on + // data.id || false). Consume as soon as data is an array so it can't re-fire + // when the user saves their first notification and the array flips [] -> [x]. + useEffect( () => { + if ( srfmRepliesDeepLinkConsumed ) { + return; + } + if ( srfmDeepLinkFocus !== 'notifications' ) { + return; + } + if ( Array.isArray( emailNotificationData ) ) { + srfmRepliesDeepLinkConsumed = true; + handleEdit( emailNotificationData[ 0 ] ?? {} ); + } + }, [ emailNotificationData ] ); + useEffect( () => { function handleClickOutside() { setIsPopup( null ); diff --git a/src/admin/single-form-settings/deep-link.js b/src/admin/single-form-settings/deep-link.js new file mode 100644 index 000000000..b8b3669d8 --- /dev/null +++ b/src/admin/single-form-settings/deep-link.js @@ -0,0 +1,41 @@ +/** + * Shared deep-link contract for the form editor's "Finish setting up" CTAs (#3030). + * + * The dashboard notice opens the editor with ?srfm_focus=… to auto-open a Form + * Settings tab. Gutenberg strips unrecognised query args client-side before the + * bundle can reliably read them, so PHP surfaces the value as + * `window.srfmDeepLinkFocus` (printed before this bundle); read that first, URL + * as fallback. + * + * Kept in its own dependency-free module so Editor.js, GeneralSettings.js and + * EmailNotification.js share one source: no import cycle and one place to reason + * about the contract. + */ + +// Maps the ?srfm_focus value to a Form Settings tab id. +export const SRFM_DEEP_LINK_TABS = { + thankyou: 'form_confirmation', + notifications: 'email_notification', +}; + +// Raw target, guarded so importing this module in a non-browser context +// (jsdom / unit tests) can't ReferenceError on `window`. +const rawDeepLinkFocus = + typeof window === 'undefined' + ? null + : window.srfmDeepLinkFocus || + new URLSearchParams( window.location.search ).get( 'srfm_focus' ); + +// Expose only a value the map recognises (resolved via hasOwnProperty so +// ?srfm_focus=constructor can't reach a prototype member); anything else is ''. +// This keeps the downstream guards belt-and-braces rather than the sole defence. +export const srfmDeepLinkFocus = + rawDeepLinkFocus && + Object.prototype.hasOwnProperty.call( SRFM_DEEP_LINK_TABS, rawDeepLinkFocus ) + ? rawDeepLinkFocus + : ''; + +// Shared signal: GeneralSettings sets `consumed` true once it has mounted and +// dispatched the deep-link, so the editor root's opener loop can stop +// deterministically instead of inferring success from churning store selectors. +export const deepLinkState = { consumed: false }; diff --git a/src/admin/single-form-settings/tabs/GeneralSettings.js b/src/admin/single-form-settings/tabs/GeneralSettings.js index d79e053aa..a36589a87 100644 --- a/src/admin/single-form-settings/tabs/GeneralSettings.js +++ b/src/admin/single-form-settings/tabs/GeneralSettings.js @@ -12,6 +12,11 @@ import { applyFilters } from '@wordpress/hooks'; import Dialog from '../components/dialog/Dialog'; import { FormRestrictionProvider } from '../components/form-restrictions/context'; import { prepareBlockSlugs } from '@Utils/Helpers'; +import { + srfmDeepLinkFocus, + SRFM_DEEP_LINK_TABS, + deepLinkState, +} from '../deep-link'; let prevMetaHash = ''; @@ -48,7 +53,7 @@ function GeneralSettings( props ) { setOpen( false ); - if ( btoa( JSON.stringify( sureformsKeys ) ) !== prevMetaHash ) { + if ( JSON.stringify( sureformsKeys ) !== prevMetaHash ) { createNotice( 'warning', __( @@ -219,7 +224,7 @@ function GeneralSettings( props ) { if ( tabId ) { setPopupTab( tabId ); setOpen( true ); - prevMetaHash = btoa( JSON.stringify( sureformsKeys ) ); + prevMetaHash = JSON.stringify( sureformsKeys ); } }; @@ -238,6 +243,41 @@ function GeneralSettings( props ) { }; }, [ sureformsKeys ] ); + // Deep-link support: open a specific Form Settings tab when the editor is + // reached with ?srfm_focus=... — the dashboard "Finish setting up" notice CTA + // uses this so "Edit the thank-you message" lands on Form Confirmation. + // + // This component only mounts once the Form Options panel is open; the editor + // root (Editor.js) is responsible for ensuring that (sidebar + panel). Once + // mounted, this fires a single synchronous dispatch to the sibling listener + // effect above (declared first, so React registers it before this one runs) + // and sets the shared deepLinkState.consumed — which stops the root's opener + // loop and prevents a later panel remount reopening the dialog over the user's + // work. + useEffect( () => { + if ( deepLinkState.consumed ) { + return; + } + + const tabId = Object.prototype.hasOwnProperty.call( + SRFM_DEEP_LINK_TABS, + srfmDeepLinkFocus + ) + ? SRFM_DEEP_LINK_TABS[ srfmDeepLinkFocus ] + : null; + + if ( ! tabId ) { + return; + } + + deepLinkState.consumed = true; + window.dispatchEvent( + new CustomEvent( 'srfm-open-form-settings', { + detail: { tabId }, + } ) + ); + }, [] ); + return ( <> { className={ `srfm-input-common srfm-input-${ slug }` } placeholder={ placeholder } required={ required } + readOnly={ true } />
@@ -80,6 +81,7 @@ export const EmailComponent = ( { attributes, blockID, setAttributes } ) => { className={ `srfm-input-common srfm-${ slug }-email-confirm` } placeholder={ placeholder } required={ required } + readOnly={ true } />
diff --git a/src/blocks/input/components/default.js b/src/blocks/input/components/default.js index 427b23193..a9c82fb3e 100644 --- a/src/blocks/input/components/default.js +++ b/src/blocks/input/components/default.js @@ -39,7 +39,7 @@ export const InputComponent = ( { attributes, blockID, setAttributes } ) => { className={ `srfm-input-common srfm-input-${ slug }` } placeholder={ placeholder } required={ required } - readOnly={ readOnly } + readOnly={ true } /> diff --git a/src/blocks/sureforms-form/components/Edit.js b/src/blocks/sureforms-form/components/Edit.js index 4aceae9b8..af5446663 100644 --- a/src/blocks/sureforms-form/components/Edit.js +++ b/src/blocks/sureforms-form/components/Edit.js @@ -39,6 +39,9 @@ export default ( { attributes, setAttributes, clientId } ) => { const iframeRef = useRef( null ); const iframeContainerRef = useRef( null ); + // Last height written to the frame, so an unchanged measurement is a no-op + // rather than another resize → reflow → report cycle. + const appliedHeightRef = useRef( 0 ); const [ loading, setLoading ] = useState( false ); const [ formIframeHeight, setFormIframeHeight ] = useState( 0 ); const [ showUpgradeModal, setShowUpgradeModal ] = useState( false ); @@ -106,9 +109,27 @@ export default ( { attributes, setAttributes, clientId } ) => { [ id ] ); - // Remove unwanted elements from the iframe and add styling for the form - const modifyIframeContent = () => { - const iframeDocument = iframeRef.current.contentDocument; + /** + * Read the preview document, when the browser lets us. + * + * Returns null instead of throwing: from WP 7.1 the editor canvas is a + * cross-origin-isolated document, so this iframe is treated as cross-origin + * and both `contentDocument` and any property access on it are unavailable. + * + * @return {Document|null} The preview document, or null when unreachable. + */ + const getPreviewDocument = () => { + try { + return iframeRef.current?.contentDocument ?? null; + } catch ( error ) { + // Cross-origin (or isolated) preview — nothing readable here. + return null; + } + }; + + // Sync the iframe height from the preview document, where that is readable. + const syncHeightFromDocument = () => { + const iframeDocument = getPreviewDocument(); if ( ! iframeDocument ) { return; @@ -121,14 +142,29 @@ export default ( { attributes, setAttributes, clientId } ) => { if ( formOuterContainerSelector ) { const getHeight = formOuterContainerSelector.offsetHeight; - if ( getHeight && 0 !== getHeight ) { - // set height of iframe if form is not empty. + // set height of iframe if form is not empty, and only when it actually + // changed — writing the same height back reflows the preview for nothing. + if ( + getHeight && + 0 !== getHeight && + appliedHeightRef.current !== getHeight + ) { + appliedHeightRef.current = getHeight; setFormIframeHeight( getHeight ); iframeRef.current.height = getHeight; } } + }; + // Remove unwanted elements from the iframe and add styling for the form + const modifyIframeContent = () => { + // Clear the loader first, unconditionally. Height measurement below is + // best-effort — when the preview document is unreadable (WP 7.1's isolated + // canvas) the height instead arrives over the srfm-preview-height message. + // Clearing last, behind that guard, is what left the spinner up forever. setLoading( false ); + + syncHeightFromDocument(); }; useEffect( () => { @@ -147,25 +183,12 @@ export default ( { attributes, setAttributes, clientId } ) => { const observerCallback = ( entries ) => { entries.forEach( ( entry ) => { - // Check if form is visible and iframe height hasn't been set + // Check if form is visible and iframe height hasn't been set. + // syncHeightFromDocument() no-ops when the preview document is + // unreachable; reading `.contentDocument.querySelector()` directly + // threw a TypeError there. if ( ! formIframeHeight && entry.isIntersecting ) { - // Access the iframe's content - const iframeDocument = iframeRef.current.contentDocument; - - // Find the form container inside the iframe - const formOuterContainerSelector = - iframeDocument.querySelector( '.srfm-form-container' ); - - if ( formOuterContainerSelector ) { - const getHeight = - formOuterContainerSelector.offsetHeight; - - // Set iframe height if a valid height is found - if ( getHeight && getHeight !== 0 ) { - setFormIframeHeight( getHeight ); - iframeRef.current.height = getHeight; - } - } + syncHeightFromDocument(); } } ); }; @@ -181,15 +204,71 @@ export default ( { attributes, setAttributes, clientId } ) => { }, [] ); useEffect( () => { - if ( iframeRef && iframeRef.current ) { - setLoading( true ); - - iframeRef.current.onload = () => { - modifyIframeContent(); - }; + if ( ! iframeRef?.current ) { + return; } + + setLoading( true ); + + iframeRef.current.onload = () => { + modifyIframeContent(); + }; + + // The load event can be missed entirely: the iframe is `loading="eager"` + // so it may already have loaded before this effect runs, and a preview + // blocked by the embedder's isolation policy never fires load at all. + // Without this the loader would stay up for the rest of the session. + const loaderFallback = setTimeout( () => { + setLoading( false ); + syncHeightFromDocument(); + }, 3000 ); + + return () => clearTimeout( loaderFallback ); }, [ id, iframeRef, hasResolved, attributes.formTheme ] ); + // Height over postMessage — the only channel that survives a cross-origin + // preview (WP 7.1's isolated editor canvas), where the document cannot be + // measured from here. The preview page posts its own height on load/resize. + // Identity is checked by comparing the event source against this iframe's + // contentWindow: a reference comparison needs no cross-origin access, and is + // stricter than an origin check when the embedder origin is opaque. + useEffect( () => { + const onPreviewMessage = ( event ) => { + if ( + 'srfm-preview-height' !== event.data?.type || + event.source !== iframeRef.current?.contentWindow + ) { + return; + } + + const height = Number( event.data.height ); + + if ( ! Number.isFinite( height ) || height <= 0 ) { + return; + } + + setLoading( false ); + + // Ignore a height we have already applied. Applying it resizes the + // frame, which reflows the preview and can prompt another report, so + // this is the second half of the loop guard (the first is in + // preview-styling.js) and keeps repeated messages from re-rendering. + if ( appliedHeightRef.current === height ) { + return; + } + + appliedHeightRef.current = height; + setFormIframeHeight( height ); + + if ( iframeRef.current ) { + iframeRef.current.height = height; + } + }; + + window.addEventListener( 'message', onPreviewMessage ); + return () => window.removeEventListener( 'message', onPreviewMessage ); + }, [] ); + // Send styling updates to iframe via PostMessage const sendStylingToIframe = useCallback( () => { if ( ! iframeRef.current?.contentWindow || ! formUrl ) { diff --git a/src/blocks/textarea/components/default.js b/src/blocks/textarea/components/default.js index 6e41578a1..856f8ba6a 100644 --- a/src/blocks/textarea/components/default.js +++ b/src/blocks/textarea/components/default.js @@ -65,6 +65,7 @@ export const TextareaComponent = ( { attributes, blockID, setAttributes } ) => { formats={ formats } value={ defaultValue } modules={ quillModules } + readOnly={ true } /> ) } @@ -74,6 +75,7 @@ export const TextareaComponent = ( { attributes, blockID, setAttributes } ) => { label={ label } placeholder={ placeholder } value={ defaultValue } + readOnly={ true } rows={ rows } cols={ cols } data-minlength={ minLength || undefined } diff --git a/src/blocks/url/components/default.js b/src/blocks/url/components/default.js index a97d56613..d04da3ea5 100644 --- a/src/blocks/url/components/default.js +++ b/src/blocks/url/components/default.js @@ -38,6 +38,7 @@ export const UrlComponent = ( { attributes, blockID, setAttributes } ) => { className={ `srfm-input-common srfm-input-${ slug }` } placeholder={ placeholder } required={ required } + readOnly={ true } /> diff --git a/src/components/matrix-alignment-control/index.js b/src/components/matrix-alignment-control/index.js index 439b08e66..035e5cf84 100644 --- a/src/components/matrix-alignment-control/index.js +++ b/src/components/matrix-alignment-control/index.js @@ -14,10 +14,6 @@ const propTypes = { }; // Set the Required Default Values. -const defaultProps = { - label: __( 'Alignment', 'sureforms' ), -}; - // Create the SRFM Control. const SRFMMatrixControl = ( props ) => { // Add and remove the CSS on the drop and remove of the component. @@ -29,7 +25,13 @@ const SRFMMatrixControl = ( props ) => { }, [] ); // Extract all props. - const { label, data, onChange, setAttributes, help = false } = props; + const { + label = __( 'Alignment', 'sureforms' ), + data, + onChange, + setAttributes, + help = false, + } = props; // Handle the Appropriate const onChangeHandler = ( newValue ) => { @@ -62,6 +64,5 @@ const SRFMMatrixControl = ( props ) => { }; SRFMMatrixControl.propTypes = propTypes; -SRFMMatrixControl.defaultProps = defaultProps; export default SRFMMatrixControl; diff --git a/src/components/multi-select-control/index.js b/src/components/multi-select-control/index.js index 22ce3b6c7..79b8e6390 100644 --- a/src/components/multi-select-control/index.js +++ b/src/components/multi-select-control/index.js @@ -13,19 +13,14 @@ const propTypes = { setAttributes: PropTypes.func, }; -const defaultProps = { - label: '', - options: [], - data: { - label: '', - value: [], - }, - isSearchable: false, - setAttributes: () => {}, -}; - export default function SRFMMultiSelectControl( props ) { - const { label, options, data, isSearchable, setAttributes } = props; + const { + label = '', + options = [], + data = { label: '', value: [] }, + isSearchable = false, + setAttributes = () => {}, + } = props; const [ panelNameForHook, setPanelNameForHook ] = useState( null ); const panelRef = useRef( null ); const { getSelectedBlock } = select( 'core/block-editor' ); @@ -85,4 +80,3 @@ export default function SRFMMultiSelectControl( props ) { } SRFMMultiSelectControl.propTypes = propTypes; -SRFMMultiSelectControl.defaultProps = defaultProps; diff --git a/src/components/number-control/index.js b/src/components/number-control/index.js index 529c982d8..91210882e 100644 --- a/src/components/number-control/index.js +++ b/src/components/number-control/index.js @@ -22,7 +22,31 @@ import Separator from '@Components/separator'; import { applyFilters } from '@wordpress/hooks'; import SRFMHelpText from '@Components/help-text'; -const SRFMNumberControl = ( props ) => { +const SRFM_NUMBER_CONTROL_DEFAULTS = { + label: __( 'Margin', 'sureforms' ), + className: '', + allowReset: true, + isShiftStepEnabled: true, + max: Infinity, + min: -Infinity, + resetFallbackValue: '', + placeholder: null, + unit: [ 'px', 'em' ], + displayUnit: true, + responsive: false, + showControlHeader: true, + inlineControl: true, + dynamicContentType: 'text', + enableDynamicContent: false, + // name: attribute name as a string, // a prop used when dynamic content support needs to be added to an instance of this control. + help: false, +}; + +// Reads `props.*` throughout and forwards the whole object, so the defaults-merge +// idiom is kept deliberately rather than destructuring every reference. No call +// site passes an explicit `undefined` for a defaulted key. +const SRFMNumberControl = ( rawProps ) => { + const props = { ...SRFM_NUMBER_CONTROL_DEFAULTS, ...rawProps }; const [ panelNameForHook, setPanelNameForHook ] = useState( null ); const panelRef = useRef( null ); // Add and remove the CSS on the drop and remove of the component. @@ -259,24 +283,4 @@ const SRFMNumberControl = ( props ) => { ); }; -SRFMNumberControl.defaultProps = { - label: __( 'Margin', 'sureforms' ), - className: '', - allowReset: true, - isShiftStepEnabled: true, - max: Infinity, - min: -Infinity, - resetFallbackValue: '', - placeholder: null, - unit: [ 'px', 'em' ], - displayUnit: true, - responsive: false, - showControlHeader: true, - inlineControl: true, - dynamicContentType: 'text', - enableDynamicContent: false, - // name: attribute name as a string, // a prop used when dynamic content support needs to be added to an instance of this control. - help: false, -}; - export default SRFMNumberControl; diff --git a/src/components/popup-confirm/index.js b/src/components/popup-confirm/index.js index 9f7ed2b84..248fb65f0 100644 --- a/src/components/popup-confirm/index.js +++ b/src/components/popup-confirm/index.js @@ -110,6 +110,4 @@ const SRFMConfirmPopup = ( props ) => { ); }; -SRFMConfirmPopup.defaultProps = {}; - export default SRFMConfirmPopup; diff --git a/src/components/presets/index.js b/src/components/presets/index.js index 499b4a7c9..f5aadc14c 100644 --- a/src/components/presets/index.js +++ b/src/components/presets/index.js @@ -15,7 +15,13 @@ import { getIdFromString, getPanelIdFromRef } from '@Utils/Helpers'; import SRFMReset from '../reset'; import SRFMHelpText from '@Components/help-text'; -const SRFMPresets = ( props ) => { +const SRFM_PRESETS_DEFAULTS = { + presetInputType: 'dropdown', + label: __( 'Select Preset', 'sureforms' ), +}; + +const SRFMPresets = ( rawProps ) => { + const props = { ...SRFM_PRESETS_DEFAULTS, ...rawProps }; const [ panelNameForHook, setPanelNameForHook ] = useState( null ); const panelRef = useRef( null ); @@ -286,9 +292,4 @@ const SRFMPresets = ( props ) => { ); }; -SRFMPresets.defaultProps = { - presetInputType: 'dropdown', - label: __( 'Select Preset', 'sureforms' ), -}; - export default memo( SRFMPresets ); diff --git a/src/components/range/Range.js b/src/components/range/Range.js index 4d1e7375a..25d440a1e 100644 --- a/src/components/range/Range.js +++ b/src/components/range/Range.js @@ -23,7 +23,31 @@ import SRFMHelpText from '@Components/help-text'; const isNumberControlSupported = !! NumberControl; -const Range = ( props ) => { +const RANGE_DEFAULTS = { + label: __( 'Margin', 'sureforms' ), + className: '', + allowReset: true, + withInputField: true, + isShiftStepEnabled: true, + max: Infinity, + min: -Infinity, + resetFallbackValue: '', + placeholder: null, + unit: [ 'px', 'em' ], + displayUnit: true, + responsive: false, + help: false, + marks: false, + isFormSpecific: false, +}; + +// This component reads `props.*` throughout and forwards the whole object, so +// the defaults-merge idiom is kept deliberately rather than destructuring ~30 +// references. No call site passes an explicit `undefined` for a defaulted key +// (verified across responsive-slider and range-typography), so the +// spread-vs-destructure difference for `undefined` is not reachable here. +const Range = ( rawProps ) => { + const props = { ...RANGE_DEFAULTS, ...rawProps }; const [ panelNameForHook, setPanelNameForHook ] = useState( null ); const panelRef = useRef( null ); @@ -243,22 +267,4 @@ const Range = ( props ) => { ); }; -Range.defaultProps = { - label: __( 'Margin', 'sureforms' ), - className: '', - allowReset: true, - withInputField: true, - isShiftStepEnabled: true, - max: Infinity, - min: -Infinity, - resetFallbackValue: '', - placeholder: null, - unit: [ 'px', 'em' ], - displayUnit: true, - responsive: false, - help: false, - marks: false, - isFormSpecific: false, -}; - export default Range; diff --git a/src/components/responsive-border/index.js b/src/components/responsive-border/index.js index 07683e5cb..24130b57b 100644 --- a/src/components/responsive-border/index.js +++ b/src/components/responsive-border/index.js @@ -31,7 +31,8 @@ const defaultProps = { borderHoverColorLabel: __( 'Hover Color', 'sureforms' ), }; -const ResponsiveBorder = ( props ) => { +const ResponsiveBorder = ( rawProps ) => { + const props = { ...defaultProps, ...rawProps }; const [ panelNameForHook, setPanelNameForHook ] = useState( null ); const panelRef = useRef( null ); @@ -380,4 +381,3 @@ const ResponsiveBorder = ( props ) => { export default ResponsiveBorder; ResponsiveBorder.propTypes = propTypes; -ResponsiveBorder.defaultProps = defaultProps; diff --git a/src/components/select-control/index.js b/src/components/select-control/index.js index 9f5402937..82324d913 100644 --- a/src/components/select-control/index.js +++ b/src/components/select-control/index.js @@ -24,18 +24,13 @@ const propTypes = { help: PropTypes.string, }; -const defaultProps = { - layout: 'inline', - onChange: null, -}; - export default function SRFMSelectControl( { - layout, + layout = 'inline', label, options, data, setAttributes, - onChange, + onChange = null, help, children, } ) { @@ -125,4 +120,3 @@ export default function SRFMSelectControl( { } SRFMSelectControl.propTypes = propTypes; -SRFMSelectControl.defaultProps = defaultProps; diff --git a/src/components/separator/index.js b/src/components/separator/index.js index e6c47e9c6..da73c61f7 100644 --- a/src/components/separator/index.js +++ b/src/components/separator/index.js @@ -17,10 +17,7 @@ const propTypes = { disabledTopSpace: PropTypes.bool, }; -const defaultProps = { - disabledTopSpace: false, -}; -export default function Separator( { disabledTopSpace } ) { +export default function Separator( { disabledTopSpace = false } ) { const [ panelNameForHook, setPanelNameForHook ] = useState( null ); const panelRef = useRef( null ); // Add and remove the CSS on the drop and remove of the component. @@ -62,4 +59,3 @@ export default function Separator( { disabledTopSpace } ) { } Separator.propTypes = propTypes; -Separator.defaultProps = defaultProps; diff --git a/src/components/spectra-helper-panel/index.js b/src/components/spectra-helper-panel/index.js index 166cc6791..3e0351bab 100644 --- a/src/components/spectra-helper-panel/index.js +++ b/src/components/spectra-helper-panel/index.js @@ -10,13 +10,9 @@ const propTypes = { message: PropTypes.string, }; -const defaultProps = { - useLogo: true, -}; - // The SRFM Helper Panel Component. const SRFMHelperPanel = ( props ) => { - const { useLogo, message } = props; + const { useLogo = true, message } = props; // Add and remove the CSS on the drop and remove of the component. useLayoutEffect( () => { @@ -70,4 +66,3 @@ const SRFMHelperPanel = ( props ) => { export default SRFMHelperPanel; SRFMHelperPanel.propTypes = propTypes; -SRFMHelperPanel.defaultProps = defaultProps; diff --git a/src/components/text-control/index.js b/src/components/text-control/index.js index 4dde907a9..b4eca087a 100644 --- a/src/components/text-control/index.js +++ b/src/components/text-control/index.js @@ -2,6 +2,7 @@ import { useLayoutEffect, useEffect, + useMemo, useState, useRef, } from '@wordpress/element'; @@ -17,7 +18,34 @@ import SRFMHelpText from '@Components/help-text'; import { applyFilters } from '@wordpress/hooks'; import EditorSmartTagList from '@Components/misc/EditorSmartTagList'; -const SRFMTextControl = ( props ) => { +const SRFM_TEXT_CONTROL_DEFAULTS = { + label: '', + type: 'text', + className: '', + allowReset: true, + resetFallbackValue: '', + placeholder: null, + variant: 'full-width', + autoComplete: 'off', + showHeaderControls: true, + dynamicContentType: 'url', // url | text + enableDynamicContent: false, + help: false, + isFormSpecific: false, + withSmartTagDropdown: false, + disabled: false, +}; + +const SRFMTextControl = ( rawProps ) => { + // Memoize the defaults-merged props on rawProps identity so `props` keeps a + // stable reference across the component's own re-renders — matching how React + // reused the single defaultProps-merged object before this refactor. Without + // this, a fresh object every render makes the [ props ] effect below fire on + // self-renders and overwrite in-progress input (e.g. the Slug field). + const props = useMemo( + () => ( { ...SRFM_TEXT_CONTROL_DEFAULTS, ...rawProps } ), + [ rawProps ] + ); const [ panelNameForHook, setPanelNameForHook ] = useState( null ); const panelRef = useRef( null ); const [ inputData, setInputData ] = useState( props?.value ); @@ -225,22 +253,4 @@ const SRFMTextControl = ( props ) => { ); }; -SRFMTextControl.defaultProps = { - label: '', - type: 'text', - className: '', - allowReset: true, - resetFallbackValue: '', - placeholder: null, - variant: 'full-width', - autoComplete: 'off', - showHeaderControls: true, - dynamicContentType: 'url', // url | text - enableDynamicContent: false, - help: false, - isFormSpecific: false, - withSmartTagDropdown: false, - disabled: false, -}; - export default SRFMTextControl; diff --git a/src/components/typography/fontloader.js b/src/components/typography/fontloader.js index 74db6ed44..1afde76b1 100644 --- a/src/components/typography/fontloader.js +++ b/src/components/typography/fontloader.js @@ -3,7 +3,7 @@ if ( googlefonts === undefined ) { } import PropTypes from 'prop-types'; import WebFont from 'webfontloader'; -import { useState, useEffect } from '@wordpress/element'; +import { useState, useEffect, useMemo } from '@wordpress/element'; const statuses = { inactive: 'inactive', active: 'active', @@ -11,7 +11,20 @@ const statuses = { }; const noop = () => {}; -const WebfontLoader = ( props ) => { +const WEBFONT_LOADER_DEFAULTS = { + onStatus: noop, +}; + +const WebfontLoader = ( rawProps ) => { + // Memoize on rawProps identity so `props` is stable across this component's + // own re-renders. The [ props ] effect below calls loadFonts(), whose WebFont + // callbacks setValue({ status }) and re-render; a fresh props object each + // render would make that effect re-fire every time, an unbounded + // render→loadFonts→setValue loop in the same-origin iframe path. + const props = useMemo( + () => ( { ...WEBFONT_LOADER_DEFAULTS, ...rawProps } ), + [ rawProps ] + ); const [ value, setValue ] = useState( [] ); const status = undefined; @@ -96,11 +109,9 @@ const WebfontLoader = ( props ) => { WebfontLoader.propTypes = { config: PropTypes.object?.isRequired, children: PropTypes.element, - onStatus: PropTypes.func?.isRequired, -}; - -WebfontLoader.defaultProps = { - onStatus: noop, + // Optional: the component falls back to a noop via WEBFONT_LOADER_DEFAULTS, + // so callers may omit it without a "required but undefined" dev warning. + onStatus: PropTypes.func, }; export default WebfontLoader; diff --git a/src/srfm-controls/addInitialAttr.js b/src/srfm-controls/addInitialAttr.js index 8dbdef846..cb8c91063 100644 --- a/src/srfm-controls/addInitialAttr.js +++ b/src/srfm-controls/addInitialAttr.js @@ -46,7 +46,7 @@ const addInitialAttr = ( ChildComponent ) => { useEffect( () => { const newBlockId = clientId.substr( 0, 8 ); const attributeObject = { block_id: newBlockId }; - const getAllBlocks = select( 'core/editor' )?.getBlocks(); + const getAllBlocks = select( 'core/block-editor' )?.getBlocks(); const { blockIds, clientIds } = getAllBlocks ? getUniqId( getAllBlocks ) : { blockIds: [], clientIds: [] }; diff --git a/src/utils/Helpers.js b/src/utils/Helpers.js index 07a8d1003..610ad49d0 100644 --- a/src/utils/Helpers.js +++ b/src/utils/Helpers.js @@ -2,6 +2,7 @@ import apiFetch from '@wordpress/api-fetch'; import { __, sprintf } from '@wordpress/i18n'; import { Toaster, ToastBar } from 'react-hot-toast'; import { store as editorStore } from '@wordpress/editor'; +import { store as blockEditorStore } from '@wordpress/block-editor'; import { select, useSelect } from '@wordpress/data'; import { addQueryArgs, cleanForSlug } from '@wordpress/url'; import clsx from 'clsx'; @@ -440,7 +441,11 @@ export const flattenBlocks = ( blocks, { excludeChildrenOf = [] } = {} ) => }, [] ); export const setFormSpecificSmartTags = ( updateBlockAttributes ) => { - const { getBlocks } = select( editorStore ); + // Read the block list from core/block-editor rather than core/editor: WP 7.1 + // deprecates the getBlocks() forwarder on core/editor (TC-004), and this call + // destructures it without optional chaining, so a removed forwarder would be a + // hard TypeError. core/block-editor returns the same list here. + const { getBlocks } = select( blockEditorStore ); let savedBlocks = getBlocks(); const blockSlugs = prepareBlockSlugs( updateBlockAttributes, savedBlocks ); diff --git a/sureforms.php b/sureforms.php index 50eb202f2..d52728b8b 100644 --- a/sureforms.php +++ b/sureforms.php @@ -7,7 +7,7 @@ * Requires PHP: 7.4 * Author: SureForms * Author URI: https://sureforms.com/ - * Version: 2.12.3 + * Version: 2.12.4 * License: GPLv2 or later * Text Domain: sureforms * @@ -25,7 +25,7 @@ define( 'SRFM_BASENAME', plugin_basename( SRFM_FILE ) ); define( 'SRFM_DIR', plugin_dir_path( SRFM_FILE ) ); define( 'SRFM_URL', plugins_url( '/', SRFM_FILE ) ); -define( 'SRFM_VER', '2.12.3' ); +define( 'SRFM_VER', '2.12.4' ); define( 'SRFM_SLUG', 'srfm' ); // ------ ADDITIONAL CONSTANTS ------- // define( 'SRFM_FORMS_POST_TYPE', 'sureforms_form' ); @@ -35,7 +35,7 @@ define( 'SRFM_AI_MIDDLEWARE', 'https://credits.startertemplates.com/sureforms/' ); define( 'SRFM_MIDDLEWARE_BASE_URL', 'https://api.sureforms.com/' ); define( 'SRFM_BILLING_PORTAL', 'https://billing.sureforms.com/' ); -define( 'SRFM_PRO_RECOMMENDED_VER', '2.12.3' ); +define( 'SRFM_PRO_RECOMMENDED_VER', '2.12.4' ); define( 'SRFM_SURETRIGGERS_INTEGRATION_BASE_URL', 'https://app.ottokit.com/' ); diff --git a/tests/unit/admin/test-admin.php b/tests/unit/admin/test-admin.php index c3f2d23e5..0bcd74e05 100644 --- a/tests/unit/admin/test-admin.php +++ b/tests/unit/admin/test-admin.php @@ -935,4 +935,649 @@ public function test_is_sureforms_owned_notice_callback() { 'A null callback should not be recognised as owned.' ); } + + /** + * The first-form-created flag follows the stored timestamp option. + * + * Suffixed name so it doesn't collide with #3040's same-named test on merge + * (both append to Test_Getting_Started_Notice); the coverage grep still matches. + */ + public function test_is_first_form_created_reflects_stored_timestamp() { + // No stored timestamp → first form not yet created. + Helper::update_srfm_option( 'first_form_created_at', false ); + $this->assertFalse( Admin::is_first_form_created() ); + + // A positive integer timestamp → first form has been created. + Helper::update_srfm_option( 'first_form_created_at', time() ); + $this->assertTrue( Admin::is_first_form_created() ); + + // A zero/invalid timestamp does not count as created. + Helper::update_srfm_option( 'first_form_created_at', 0 ); + $this->assertFalse( Admin::is_first_form_created() ); + + Helper::update_srfm_option( 'first_form_created_at', false ); + } + + /** + * The card is populated for a starter-template form, with deep-link URLs (#3031). + * + * Seeds the trigger meta and resets the request memo so the populated path runs + * on CI — otherwise get_form_setup_card() returns null (nothing stamps the + * marker) and the assertions never execute. + */ + public function test_get_form_setup_card() { + if ( ! defined( 'SRFM_FORMS_POST_TYPE' ) ) { + $this->markTestSkipped( 'SRFM_FORMS_POST_TYPE not defined' ); + } + remove_all_actions( 'wp_insert_post_data' ); + + $admin_user = wp_insert_user( + [ + 'user_login' => 'srfm_card_admin_' . wp_rand(), + 'user_pass' => 'password', + 'user_email' => 'srfm_card_admin_' . wp_rand() . '@example.com', + 'role' => 'administrator', + ] + ); + wp_set_current_user( is_wp_error( $admin_user ) ? 0 : (int) $admin_user ); + + $form_id = wp_insert_post( [ 'post_type' => SRFM_FORMS_POST_TYPE, 'post_status' => 'publish', 'post_title' => 'Card Form' ] ); + update_post_meta( $form_id, Admin::ASTRA_SITES_IMPORT_META, 1 ); + // The negative cache is site-wide, so clear it after stamping the marker — + // a previous test may have recorded that no imported forms exist. + delete_transient( Admin::NO_IMPORTED_FORMS_TRANSIENT ); + + try { + Admin::reset_form_setup_card_cache(); + $card = Admin::get_form_setup_card(); + + $this->assertIsArray( $card, 'A starter-template form must yield a card.' ); + $this->assertSame( $form_id, $card['id'] ); + $this->assertNotEmpty( $card['edit_url'] ); + $this->assertStringContainsString( 'srfm_focus=notifications', (string) $card['email_url'] ); + $this->assertStringContainsString( 'srfm_focus=thankyou', (string) $card['thankyou_url'] ); + + // A non-editor gets no card. + wp_set_current_user( 0 ); + Admin::reset_form_setup_card_cache(); + $this->assertNull( Admin::get_form_setup_card(), 'A user who cannot edit the form gets no card.' ); + } finally { + Admin::reset_form_setup_card_cache(); + wp_delete_post( $form_id, true ); + wp_set_current_user( 0 ); + if ( ! is_wp_error( $admin_user ) ) { + wp_delete_user( (int) $admin_user ); + } + } + } + + /** + * Resetting the card memo lets a later read recompute (#3031). + */ + public function test_reset_form_setup_card_cache() { + Admin::reset_form_setup_card_cache(); + $this->assertTrue( null === Admin::get_form_setup_card() || is_array( Admin::get_form_setup_card() ) ); + Admin::reset_form_setup_card_cache(); + $this->assertTrue( null === Admin::get_form_setup_card() || is_array( Admin::get_form_setup_card() ) ); + } + + /** + * The negative cache short-circuits both payload builders (#3031, #3030). + * + * This is the branch that keeps the marker query off installs that can never + * match it. It is deliberately a transient rather than a + * `defined( 'ASTRA_SITES_VER' )` check — Starter Templates defines that constant + * in its main plugin file, so it disappears when the plugin is deactivated, while + * the import marker it stamps stays on the forms. Gating on the constant would + * silently disable both features for exactly the people who imported a template + * and then removed the importer. + */ + public function test_negative_cache_short_circuits_the_marker_query() { + if ( ! defined( 'SRFM_FORMS_POST_TYPE' ) ) { + $this->markTestSkipped( 'SRFM_FORMS_POST_TYPE not defined' ); + } + remove_all_actions( 'wp_insert_post_data' ); + + $admin_user = wp_insert_user( + [ + 'user_login' => 'srfm_negcache_' . wp_rand(), + 'user_pass' => 'password', + 'user_email' => 'srfm_negcache_' . wp_rand() . '@example.com', + 'role' => 'administrator', + ] + ); + wp_set_current_user( is_wp_error( $admin_user ) ? 0 : (int) $admin_user ); + + // A form that would otherwise qualify. + $form_id = wp_insert_post( [ 'post_type' => SRFM_FORMS_POST_TYPE, 'post_status' => 'publish', 'post_title' => 'Cached Away' ] ); + update_post_meta( $form_id, Admin::ASTRA_SITES_IMPORT_META, 1 ); + + try { + // Cache says "nothing imported here" → both builders bail without querying. + set_transient( Admin::NO_IMPORTED_FORMS_TRANSIENT, 'no', HOUR_IN_SECONDS ); + Admin::reset_form_setup_card_cache(); + Admin::reset_thankyou_prompt_cache(); + $this->assertNull( Admin::get_form_setup_card(), 'The negative cache must short-circuit the setup card.' ); + $this->assertSame( [], Admin::get_thankyou_prompt_forms(), 'The negative cache must short-circuit the Thank You prompt.' ); + + // Clearing it restores the populated path, so the bail really was the cache + // and not a missing prerequisite. + delete_transient( Admin::NO_IMPORTED_FORMS_TRANSIENT ); + Admin::reset_form_setup_card_cache(); + Admin::reset_thankyou_prompt_cache(); + $card = Admin::get_form_setup_card(); + $this->assertIsArray( $card, 'With the cache cleared the qualifying form is found.' ); + $this->assertSame( $form_id, $card['id'] ); + } finally { + delete_transient( Admin::NO_IMPORTED_FORMS_TRANSIENT ); + Admin::reset_form_setup_card_cache(); + Admin::reset_thankyou_prompt_cache(); + wp_delete_post( $form_id, true ); + wp_set_current_user( 0 ); + if ( ! is_wp_error( $admin_user ) ) { + wp_delete_user( (int) $admin_user ); + } + } + } + + /** + * Stamping the import marker drops the negative cache (#3031, #3030). + * + * Without this, a starter template imported after the cache was written would + * show neither feature until the transient expired a week later. Narrowed to our + * post type on purpose: a full-site import stamps this marker on every post it + * creates, and both features only ever query sureforms_form. + */ + public function test_invalidate_starter_template_cache() { + if ( ! defined( 'SRFM_FORMS_POST_TYPE' ) ) { + $this->markTestSkipped( 'SRFM_FORMS_POST_TYPE not defined' ); + } + remove_all_actions( 'wp_insert_post_data' ); + + $admin = Admin::get_instance(); + $form_id = wp_insert_post( [ 'post_type' => SRFM_FORMS_POST_TYPE, 'post_status' => 'publish', 'post_title' => 'Marker Form' ] ); + $page_id = wp_insert_post( [ 'post_type' => 'page', 'post_status' => 'publish', 'post_title' => 'Imported Page' ] ); + + try { + // The marker on one of our forms drops the cache. + set_transient( Admin::NO_IMPORTED_FORMS_TRANSIENT, 'no', HOUR_IN_SECONDS ); + $admin->invalidate_starter_template_cache( 0, $form_id, Admin::ASTRA_SITES_IMPORT_META ); + $this->assertFalse( + get_transient( Admin::NO_IMPORTED_FORMS_TRANSIENT ), + 'Stamping the marker on a form must drop the negative cache.' + ); + + // An unrelated meta key leaves it alone. + set_transient( Admin::NO_IMPORTED_FORMS_TRANSIENT, 'no', HOUR_IN_SECONDS ); + $admin->invalidate_starter_template_cache( 0, $form_id, '_srfm_unrelated_key' ); + $this->assertSame( + 'no', + get_transient( Admin::NO_IMPORTED_FORMS_TRANSIENT ), + 'An unrelated meta key must not drop the cache.' + ); + + // The same marker on a non-form post leaves it alone — a full-site import + // stamps pages and products too, and neither feature queries those. + set_transient( Admin::NO_IMPORTED_FORMS_TRANSIENT, 'no', HOUR_IN_SECONDS ); + $admin->invalidate_starter_template_cache( 0, $page_id, Admin::ASTRA_SITES_IMPORT_META ); + $this->assertSame( + 'no', + get_transient( Admin::NO_IMPORTED_FORMS_TRANSIENT ), + 'The marker on a non-form post must not drop the cache.' + ); + } finally { + delete_transient( Admin::NO_IMPORTED_FORMS_TRANSIENT ); + wp_delete_post( $form_id, true ); + wp_delete_post( $page_id, true ); + } + } + + /** + * The setup-card REST handler records a CTA click without error (#3031). + * + * A CTA/analytics action ("edit_form") records telemetry and returns success; + * the handler no longer writes any per-user state. + */ + public function test_dismiss_form_setup_card() { + $admin = Admin::get_instance(); + $this->assertTrue( method_exists( $admin, 'dismiss_form_setup_card' ) ); + + if ( ! defined( 'SRFM_FORMS_POST_TYPE' ) || ! class_exists( '\WP_REST_Request' ) ) { + $this->markTestSkipped( 'REST/CPT environment not available' ); + } + remove_all_actions( 'wp_insert_post_data' ); + + $user = wp_insert_user( + [ + 'user_login' => 'srfm_widget_admin_' . wp_rand(), + 'user_pass' => 'password', + 'user_email' => 'srfm_widget_admin_' . wp_rand() . '@example.com', + 'role' => 'administrator', + ] + ); + wp_set_current_user( is_wp_error( $user ) ? 0 : (int) $user ); + + $form_id = wp_insert_post( [ 'post_type' => SRFM_FORMS_POST_TYPE, 'post_status' => 'publish', 'post_title' => 'Widget form' ] ); + + $req = new \WP_REST_Request( 'POST', '/sureforms/v1/dismiss-form-setup-card' ); + $req->set_param( 'form_id', $form_id ); + $req->set_param( 'action', 'edit_form' ); + $res = $admin->dismiss_form_setup_card( $req ); + $this->assertFalse( is_wp_error( $res ), 'A valid CTA action should not error.' ); + + wp_delete_post( $form_id, true ); + wp_set_current_user( 0 ); + if ( ! is_wp_error( $user ) ) { + wp_delete_user( (int) $user ); + } + } + + /** + * The dashboard-widget registrar is callable (#3031). + */ + public function test_register_form_setup_widget() { + $this->assertTrue( method_exists( Admin::get_instance(), 'register_form_setup_widget' ) ); + } + + /** + * The renderer prints the checklist markup for a qualifying form, and nothing + * without one (#3031). Seeds the trigger so the populated path runs on CI. + */ + public function test_render_form_setup_widget() { + if ( ! defined( 'SRFM_FORMS_POST_TYPE' ) ) { + $this->markTestSkipped( 'SRFM_FORMS_POST_TYPE not defined' ); + } + remove_all_actions( 'wp_insert_post_data' ); + $admin = Admin::get_instance(); + + $admin_user = wp_insert_user( + [ + 'user_login' => 'srfm_render_admin_' . wp_rand(), + 'user_pass' => 'password', + 'user_email' => 'srfm_render_admin_' . wp_rand() . '@example.com', + 'role' => 'administrator', + ] + ); + wp_set_current_user( is_wp_error( $admin_user ) ? 0 : (int) $admin_user ); + + $form_id = wp_insert_post( [ 'post_type' => SRFM_FORMS_POST_TYPE, 'post_status' => 'publish', 'post_title' => 'Render Form' ] ); + update_post_meta( $form_id, Admin::ASTRA_SITES_IMPORT_META, 1 ); + // The negative cache is site-wide, so clear it after stamping the marker — + // a previous test may have recorded that no imported forms exist. + delete_transient( Admin::NO_IMPORTED_FORMS_TRANSIENT ); + + try { + // Positive: a qualifying form renders the full checklist. + Admin::reset_form_setup_card_cache(); + ob_start(); + $admin->render_form_setup_widget(); + $output = (string) ob_get_clean(); + + $this->assertStringContainsString( 'srfm-setup-checklist', $output ); + $this->assertStringContainsString( 'srfm-setup-checklist__cta', $output ); + $this->assertStringContainsString( 'Render Form', $output ); + + // Negative: no card → nothing rendered. + wp_set_current_user( 0 ); + Admin::reset_form_setup_card_cache(); + ob_start(); + $admin->render_form_setup_widget(); + $this->assertSame( '', (string) ob_get_clean(), 'No card → the widget renders nothing.' ); + } finally { + Admin::reset_form_setup_card_cache(); + wp_delete_post( $form_id, true ); + wp_set_current_user( 0 ); + if ( ! is_wp_error( $admin_user ) ) { + wp_delete_user( (int) $admin_user ); + } + } + } + + /** + * Widget assets never load off the dashboard screen (#3031). + */ + public function test_enqueue_form_setup_widget_assets() { + $admin = Admin::get_instance(); + + wp_dequeue_style( 'srfm-setup-checklist-widget' ); + wp_deregister_style( 'srfm-setup-checklist-widget' ); + + // Wrong hook → the method returns before querying or enqueuing anything. + $admin->enqueue_form_setup_widget_assets( 'edit.php' ); + $this->assertFalse( wp_style_is( 'srfm-setup-checklist-widget', 'enqueued' ), 'Assets must not load outside the dashboard.' ); + } +} + +/** + * Tests for the "Finish setting up" Thank You prompt (#3030). + * + * Separate class (not appended to Test_Getting_Started_Notice) so it doesn't + * collide with #3031's tests on merge — both branches otherwise declare + * test_is_first_form_created() in the same class. + */ +class Test_Thankyou_Prompt_Notice extends TestCase { + use Astra_Notices_Helper; + + /** + * Reset shared state between tests — this file has no WP_UnitTestCase rollback. + * + * @return void + */ + protected function tearDown(): void { + wp_set_current_user( 0 ); + Admin::reset_thankyou_prompt_cache(); + remove_all_filters( 'srfm_thankyou_prompt_forms' ); + remove_all_filters( 'srfm_show_thankyou_prompt' ); + parent::tearDown(); + } + + /** + * The first-form-created flag follows the stored timestamp option. + */ + public function test_is_first_form_created() { + // No stored timestamp → first form not yet created. + Helper::update_srfm_option( 'first_form_created_at', false ); + $this->assertFalse( Admin::is_first_form_created() ); + + // A positive integer timestamp → first form has been created. + Helper::update_srfm_option( 'first_form_created_at', time() ); + $this->assertTrue( Admin::is_first_form_created() ); + + // A zero/invalid timestamp does not count as created. + Helper::update_srfm_option( 'first_form_created_at', 0 ); + $this->assertFalse( Admin::is_first_form_created() ); + + Helper::update_srfm_option( 'first_form_created_at', false ); + } + + /** + * A form with no stored confirmation is not the shipped default (#3030). + */ + public function test_is_default_confirmation_message() { + // No confirmation meta → nothing to compare → not the default. + $this->assertFalse( Admin::is_default_confirmation_message( 0 ) ); + + if ( ! defined( 'SRFM_FORMS_POST_TYPE' ) ) { + $this->markTestSkipped( 'SRFM_FORMS_POST_TYPE not defined' ); + } + remove_all_actions( 'wp_insert_post_data' ); + + $form_id = wp_insert_post( + [ + 'post_type' => SRFM_FORMS_POST_TYPE, + 'post_status' => 'publish', + 'post_title' => 'TY detect', + ] + ); + + $default_message = \SRFM\Inc\Global_Settings\Global_Settings::get_default_confirmation_message(); + + // The shipped default message on a "same page" confirmation is the default. + update_post_meta( $form_id, '_srfm_form_confirmation', [ [ 'confirmation_type' => 'same page', 'message' => $default_message ] ] ); + $this->assertTrue( Admin::is_default_confirmation_message( $form_id ) ); + + // The same default with entities decoded — as a starter-template import can + // store it (literal apostrophe vs the generated ') — still matches. + update_post_meta( + $form_id, + '_srfm_form_confirmation', + [ [ 'confirmation_type' => 'same page', 'message' => html_entity_decode( $default_message, ENT_QUOTES, 'UTF-8' ) ] ] + ); + $this->assertTrue( Admin::is_default_confirmation_message( $form_id ) ); + + // A redirect confirmation never renders the message, so even the default + // string must NOT be flagged (it would otherwise nag with no way to clear). + update_post_meta( $form_id, '_srfm_form_confirmation', [ [ 'confirmation_type' => 'different page', 'message' => $default_message ] ] ); + $this->assertFalse( Admin::is_default_confirmation_message( $form_id ) ); + + // Any real edit to the message flips it to non-default (the auto-clear path). + update_post_meta( $form_id, '_srfm_form_confirmation', [ [ 'confirmation_type' => 'same page', 'message' => 'Thanks so much - we will be in touch!' ] ] ); + $this->assertFalse( Admin::is_default_confirmation_message( $form_id ) ); + + wp_delete_post( $form_id, true ); + } + + /** + * A form with no enabled email notification has no reply destination (#3030). + */ + public function test_form_has_reply_destination() { + $this->assertFalse( Admin::form_has_reply_destination( 0 ) ); + + if ( ! defined( 'SRFM_FORMS_POST_TYPE' ) ) { + $this->markTestSkipped( 'SRFM_FORMS_POST_TYPE not defined' ); + } + remove_all_actions( 'wp_insert_post_data' ); + + $form_id = wp_insert_post( + [ + 'post_type' => SRFM_FORMS_POST_TYPE, + 'post_status' => 'publish', + 'post_title' => 'Reply dest', + ] + ); + + // Enabled notification with a recipient → has a destination. + update_post_meta( $form_id, '_srfm_email_notification', [ [ 'status' => true, 'email_to' => 'admin@example.com' ] ] ); + $this->assertTrue( Admin::form_has_reply_destination( $form_id ) ); + + // A disabled notification does not count. + update_post_meta( $form_id, '_srfm_email_notification', [ [ 'status' => false, 'email_to' => 'admin@example.com' ] ] ); + $this->assertFalse( Admin::form_has_reply_destination( $form_id ) ); + + // An enabled notification with no recipient does not count. + update_post_meta( $form_id, '_srfm_email_notification', [ [ 'status' => true, 'email_to' => '' ] ] ); + $this->assertFalse( Admin::form_has_reply_destination( $form_id ) ); + + wp_delete_post( $form_id, true ); + } + + /** + * The notice markup renders the title, message and all three CTAs (#3030). + */ + public function test_thankyou_notice_markup_renders_ctas() { + $build = new \ReflectionMethod( Admin::class, 'build_thankyou_notice_markup' ); + $build->setAccessible( true ); + + $markup = $build->invoke( + null, + [ + 'title' => 'Sample Form', + 'days_ago' => 2, + 'steps' => [ 'replies' => true, 'thankyou' => true ], + 'edit_url' => 'https://example.com/e', + 'replies_url' => 'https://example.com/r', + 'thankyou_url' => 'https://example.com/t', + ] + ); + + // Title carries the form name; body is the (accurate, step-agnostic) message. + $this->assertStringContainsString( 'Sample Form', $markup ); + $this->assertStringContainsString( 'already created this form for you', $markup ); + + // All three CTAs, each with its tracking class and deep-link target. + $this->assertStringContainsString( 'srfm-ty-edit-form', $markup ); + $this->assertStringContainsString( 'srfm-ty-set-replies', $markup ); + $this->assertStringContainsString( 'srfm-ty-edit-thankyou', $markup ); + $this->assertStringContainsString( 'https://example.com/t', $markup ); + } + + /** + * The Thank You prompt query always returns an array (#3030). + */ + public function test_get_thankyou_prompt_forms() { + if ( ! defined( 'SRFM_FORMS_POST_TYPE' ) ) { + $this->markTestSkipped( 'SRFM_FORMS_POST_TYPE not defined' ); + } + remove_all_actions( 'wp_insert_post_data' ); + + // The sureforms_form CPT maps edit_post to manage_options, so an admin. + $admin = wp_insert_user( + [ + 'user_login' => 'srfm_ty_admin_' . wp_rand(), + 'user_pass' => 'password', + 'user_email' => 'srfm_ty_admin_' . wp_rand() . '@example.com', + 'role' => 'administrator', + ] + ); + wp_set_current_user( is_wp_error( $admin ) ? 0 : (int) $admin ); + + $default_message = \SRFM\Inc\Global_Settings\Global_Settings::get_default_confirmation_message(); + + // Starter-template import still on the default message → targeted. + $imported = wp_insert_post( [ 'post_type' => SRFM_FORMS_POST_TYPE, 'post_status' => 'publish', 'post_title' => 'Imported TY' ] ); + update_post_meta( $imported, '_srfm_form_confirmation', [ [ 'confirmation_type' => 'same page', 'message' => $default_message ] ] ); + update_post_meta( $imported, Admin::ASTRA_SITES_IMPORT_META, 1 ); + // The negative cache is site-wide, so clear it after stamping the marker — + // a previous test may have recorded that no imported forms exist. + delete_transient( Admin::NO_IMPORTED_FORMS_TRANSIENT ); + + // Same default message but NOT an Astra Sites import → excluded by the gate. + $plain = wp_insert_post( [ 'post_type' => SRFM_FORMS_POST_TYPE, 'post_status' => 'publish', 'post_title' => 'Plain TY' ] ); + update_post_meta( $plain, '_srfm_form_confirmation', [ [ 'confirmation_type' => 'same page', 'message' => $default_message ] ] ); + + // Drive the uncached builder to bypass the request-memoized cache. + $compute = new \ReflectionMethod( Admin::class, 'compute_thankyou_prompt_forms' ); + $compute->setAccessible( true ); + $prompts = $compute->invoke( null ); + $ids = wp_list_pluck( $prompts, 'id' ); + + $this->assertContains( $imported, $ids, 'An Astra Sites imported form on the default message must be targeted.' ); + $this->assertNotContains( $plain, $ids, 'A non-imported form must not be targeted.' ); + + // The surfaced payload carries the deep-link CTA target (?srfm_focus=thankyou). + $this->assertStringContainsString( 'srfm_focus=thankyou', (string) ( $prompts[0]['thankyou_url'] ?? '' ) ); + + wp_delete_post( $imported, true ); + wp_delete_post( $plain, true ); + wp_set_current_user( 0 ); + if ( ! is_wp_error( $admin ) ) { + wp_delete_user( (int) $admin ); + } + } + + /** + * The registrar adds nothing without a qualifying form, and exactly one notice + * with it — asserted on the Astra_Notices registry, with real preconditions so + * the method doesn't just return on its first guard (#3030). + */ + public function test_render_thankyou_prompt_notice() { + $admin = Admin::get_instance(); + + if ( ! class_exists( '\Astra_Notices' ) || ! defined( 'SRFM_FORMS_POST_TYPE' ) ) { + $this->markTestSkipped( 'Astra_Notices / CPT not available.' ); + } + remove_all_actions( 'wp_insert_post_data' ); + + $prop = new \ReflectionProperty( \Astra_Notices::class, 'notices' ); + $prop->setAccessible( true ); + $original = $prop->getValue(); + + // A capable user on a NON-dashboard screen with no prior dismissal — the + // preconditions the method needs before it ever reaches the query. + $admin_user = wp_insert_user( + [ + 'user_login' => 'srfm_ty_render_' . wp_rand(), + 'user_pass' => 'password', + 'user_email' => 'srfm_ty_render_' . wp_rand() . '@example.com', + 'role' => 'administrator', + ] + ); + wp_set_current_user( is_wp_error( $admin_user ) ? 0 : (int) $admin_user ); + set_current_screen( 'plugins' ); + delete_user_meta( is_wp_error( $admin_user ) ? 0 : (int) $admin_user, 'srfm-thankyou-prompt' ); + + try { + // Negative: no qualifying starter-template form → nothing registered. + Admin::reset_thankyou_prompt_cache(); + $prop->setValue( null, [] ); + $admin->render_thankyou_prompt_notice(); + $this->assertSame( [], $prop->getValue(), 'No qualifying form → no notice registered.' ); + + // Positive: a starter-template import still on the default Thank You + // message → exactly the srfm-thankyou-prompt notice is registered. + $form_id = wp_insert_post( [ 'post_type' => SRFM_FORMS_POST_TYPE, 'post_status' => 'publish', 'post_title' => 'Positive TY' ] ); + update_post_meta( $form_id, Admin::ASTRA_SITES_IMPORT_META, 1 ); + // The negative cache is site-wide, so clear it after stamping the marker — + // a previous test may have recorded that no imported forms exist. + delete_transient( Admin::NO_IMPORTED_FORMS_TRANSIENT ); + update_post_meta( + $form_id, + '_srfm_form_confirmation', + [ [ 'confirmation_type' => 'same page', 'message' => \SRFM\Inc\Global_Settings\Global_Settings::get_default_confirmation_message() ] ] + ); + + Admin::reset_thankyou_prompt_cache(); + $prop->setValue( null, [] ); + $admin->render_thankyou_prompt_notice(); + $ids = wp_list_pluck( (array) $prop->getValue(), 'id' ); + $this->assertContains( 'srfm-thankyou-prompt', $ids, 'A qualifying form registers exactly the prompt notice.' ); + + wp_delete_post( $form_id, true ); + } finally { + $prop->setValue( null, is_array( $original ) ? $original : [] ); + Admin::reset_thankyou_prompt_cache(); + wp_set_current_user( 0 ); + if ( ! is_wp_error( $admin_user ) ) { + wp_delete_user( (int) $admin_user ); + } + } + } + + /** + * The Thank You notice styling prints the brand accent colour (#3030). + */ + public function test_print_thankyou_notice_styles() { + $admin = Admin::get_instance(); + + ob_start(); + $admin->print_thankyou_notice_styles(); + $output = (string) ob_get_clean(); + + $this->assertStringContainsString( 'srfm-thankyou-notice', $output ); + $this->assertStringContainsString( '#D54407', $output ); + // The SureForms mark is a data-URI background; assert the URI itself so a + // dropped esc_url() protocol allowlist (which blanks it) is caught. + $this->assertStringContainsString( "background: url('data:image/svg+xml,", $output ); + } + + /** + * The prompt cache reset clears the request memo (#3030). + */ + public function test_reset_thankyou_prompt_cache() { + Admin::reset_thankyou_prompt_cache(); + $this->assertIsArray( Admin::get_thankyou_prompt_forms() ); + + // After a reset the next read recomputes rather than returning a pinned value. + Admin::reset_thankyou_prompt_cache(); + $this->assertIsArray( Admin::get_thankyou_prompt_forms() ); + } + + /** + * The Thank You notice click-tracking enqueues a delegated dismiss beacon (#3030). + * + * Regression guard: the ✕ is injected by core on DOMContentLoaded, after this + * inline script parses, so it must be caught by delegation from the wrapper — + * a direct .notice-dismiss lookup would bind to nothing. + */ + public function test_enqueue_thankyou_notice_tracking() { + $admin = Admin::get_instance(); + + wp_dequeue_script( 'srfm-thankyou-notice-track' ); + wp_deregister_script( 'srfm-thankyou-notice-track' ); + + $admin->enqueue_thankyou_notice_tracking(); + + $this->assertTrue( wp_script_is( 'srfm-thankyou-notice-track', 'enqueued' ) ); + + $after = wp_scripts()->get_data( 'srfm-thankyou-notice-track', 'after' ); + $body = is_array( $after ) ? implode( "\n", $after ) : (string) $after; + + // Dismissal is delegated from the wrapper, not bound to .notice-dismiss. + $this->assertStringContainsString( "addEventListener( 'click'", $body ); + $this->assertStringContainsString( "closest( '.notice-dismiss' )", $body ); + $this->assertStringContainsString( 'dismissed', $body ); + + wp_dequeue_script( 'srfm-thankyou-notice-track' ); + wp_deregister_script( 'srfm-thankyou-notice-track' ); + } } diff --git a/tests/unit/inc/test-generate-form-markup.php b/tests/unit/inc/test-generate-form-markup.php index 3587d6c31..37f2080f3 100644 --- a/tests/unit/inc/test-generate-form-markup.php +++ b/tests/unit/inc/test-generate-form-markup.php @@ -16,6 +16,15 @@ protected function setUp(): void { $this->generate_form_markup = new Generate_Form_Markup(); } + protected function tearDown(): void { + // Reset state a failing assertion mid-test could otherwise leak into the + // rest of the process — a logged-in admin, or the Edit Form filters. + wp_set_current_user( 0 ); + remove_all_filters( 'srfm_show_edit_form_button' ); + remove_all_filters( 'srfm_edit_form_button_link' ); + parent::tearDown(); + } + public function test_get_form_markup_empty_id() { $result = Generate_Form_Markup::get_form_markup( 0 ); $this->assertIsString( $result ); @@ -46,6 +55,60 @@ public function test_get_form_markup_with_valid_form() { wp_delete_post( $form_id, true ); } + /** + * The admin-only "Edit Form" pill (#3029) is capability-gated and per-form. + * + * The sureforms_form CPT maps edit_post to manage_options, so only + * administrators qualify: the pill is absent for anonymous visitors and + * subscribers, present for an administrator with an href bound to THIS form, + * enqueues its stylesheet via a registered handle, a second form links to its + * own editor (AC #5, multiple forms on a page), and the suppression filter + * removes it. `tearDown()` resets the current user and filters. + */ + public function test_render_edit_form_button() { + if ( ! defined( 'SRFM_FORMS_POST_TYPE' ) ) { + $this->markTestSkipped( 'SRFM_FORMS_POST_TYPE not defined' ); + } + + remove_all_actions( 'wp_insert_post_data' ); + + // A block is required so the container opens and the pill is emitted. + $block = 'x'; + $form_id = wp_insert_post( [ 'post_title' => 'Edit Pill A', 'post_type' => SRFM_FORMS_POST_TYPE, 'post_status' => 'publish', 'post_content' => $block ] ); + $form_id2 = wp_insert_post( [ 'post_title' => 'Edit Pill B', 'post_type' => SRFM_FORMS_POST_TYPE, 'post_status' => 'publish', 'post_content' => $block ] ); + + // Anonymous visitors never receive the shortcut. + wp_set_current_user( 0 ); + $this->assertStringNotContainsString( 'srfm-edit-form-btn', Generate_Form_Markup::get_form_markup( $form_id ) ); + + // A subscriber cannot edit the form, so still no shortcut. + $subscriber = $this->set_current_user_with_role( 'subscriber' ); + $this->assertStringNotContainsString( 'srfm-edit-form-btn', Generate_Form_Markup::get_form_markup( $form_id ) ); + + // An administrator gets the pill, its href bound to THIS form, with the + // stylesheet enqueued via its registered handle. + $admin = $this->set_current_user_with_role( 'administrator' ); + $markup = Generate_Form_Markup::get_form_markup( $form_id ); + $this->assertStringContainsString( 'class="srfm-edit-form-btn"', $markup ); + $this->assertStringContainsString( 'href="' . esc_url( get_edit_post_link( $form_id ) ) . '"', $markup ); + $this->assertTrue( wp_style_is( 'srfm-edit-form-btn', 'enqueued' ), 'The Edit Form stylesheet should be enqueued.' ); + + // A second form links to its OWN editor, not the first — the multiple-forms + // acceptance criterion, and a guard against passing the wrong post ID. + $markup2 = Generate_Form_Markup::get_form_markup( $form_id2 ); + $this->assertStringContainsString( 'href="' . esc_url( get_edit_post_link( $form_id2 ) ) . '"', $markup2 ); + $this->assertStringNotContainsString( 'href="' . esc_url( get_edit_post_link( $form_id ) ) . '"', $markup2 ); + + // A suppression filter removes it even for an administrator. + add_filter( 'srfm_show_edit_form_button', '__return_false' ); + $this->assertStringNotContainsString( 'srfm-edit-form-btn', Generate_Form_Markup::get_form_markup( $form_id ) ); + + wp_delete_user( $subscriber ); + wp_delete_user( $admin ); + wp_delete_post( $form_id, true ); + wp_delete_post( $form_id2, true ); + } + public function test_add_entries_admin_bar_node() { if ( ! defined( 'SRFM_FORMS_POST_TYPE' ) || ! defined( 'SRFM_ENTRIES' ) ) { $this->markTestSkipped( 'SureForms constants not defined' ); diff --git a/tests/unit/inc/test-post-types.php b/tests/unit/inc/test-post-types.php index 2e0f31fc8..37ec81286 100644 --- a/tests/unit/inc/test-post-types.php +++ b/tests/unit/inc/test-post-types.php @@ -235,4 +235,125 @@ public function test_register_post_metas_instant_form_returns_empty_for_non_arra $this->assertSame( [], $result ); } + + /** + * The admin bar "+ New" menu gets a Form node for users who can create forms (#3026). + */ + public function test_add_new_form_to_admin_bar_menu_adds_node() { + if ( ! defined( 'SRFM_FORMS_POST_TYPE' ) ) { + $this->markTestSkipped( 'SRFM_FORMS_POST_TYPE not defined' ); + } + if ( ! class_exists( 'WP_Admin_Bar' ) ) { + require_once ABSPATH . WPINC . '/class-wp-admin-bar.php'; + } + + $post_types = Post_Types::get_instance(); + $post_types->register_post_types(); + add_filter( 'show_admin_bar', '__return_true' ); + + // An admin can create forms (the CPT maps create_posts to manage_options). + $admin = wp_insert_user( + [ + 'user_login' => 'srfm_bar_admin_' . wp_rand(), + 'user_pass' => 'password', + 'user_email' => 'srfm_bar_admin_' . wp_rand() . '@example.com', + 'role' => 'administrator', + ] + ); + wp_set_current_user( is_wp_error( $admin ) ? 0 : (int) $admin ); + + $bar = new WP_Admin_Bar(); + $post_types->add_new_form_to_admin_bar_menu( $bar ); + + $node = $bar->get_node( 'new-' . SRFM_FORMS_POST_TYPE ); + $this->assertNotNull( $node, 'Admin should get a Form node under "+ New".' ); + $this->assertSame( 'new-content', $node->parent ); + $this->assertSame( 'Form', (string) $node->title, 'Node uses the admin-bar label.' ); + $this->assertStringContainsString( 'post-new.php?post_type=' . SRFM_FORMS_POST_TYPE, (string) $node->href ); + + // A user without the create capability gets no node. + $subscriber = wp_insert_user( + [ + 'user_login' => 'srfm_bar_sub_' . wp_rand(), + 'user_pass' => 'password', + 'user_email' => 'srfm_bar_sub_' . wp_rand() . '@example.com', + 'role' => 'subscriber', + ] + ); + wp_set_current_user( is_wp_error( $subscriber ) ? 0 : (int) $subscriber ); + + $bar_sub = new WP_Admin_Bar(); + $post_types->add_new_form_to_admin_bar_menu( $bar_sub ); + $this->assertNull( $bar_sub->get_node( 'new-' . SRFM_FORMS_POST_TYPE ), 'A non-privileged user must not get the Form node.' ); + + remove_filter( 'show_admin_bar', '__return_true' ); + unset( $GLOBALS['show_admin_bar'] ); + wp_set_current_user( 0 ); + if ( function_exists( 'wp_delete_user' ) ) { + if ( ! is_wp_error( $admin ) ) { + wp_delete_user( (int) $admin ); + } + if ( ! is_wp_error( $subscriber ) ) { + wp_delete_user( (int) $subscriber ); + } + } + } + + /** + * The admin bar gets an "Edit Form" node only while viewing a form (#3026 sibling). + */ + public function test_add_edit_form_to_admin_bar_menu() { + if ( ! defined( 'SRFM_FORMS_POST_TYPE' ) ) { + $this->markTestSkipped( 'SRFM_FORMS_POST_TYPE not defined' ); + } + if ( ! class_exists( 'WP_Admin_Bar' ) ) { + require_once ABSPATH . WPINC . '/class-wp-admin-bar.php'; + } + + $post_types = Post_Types::get_instance(); + $post_types->register_post_types(); + add_filter( 'show_admin_bar', '__return_true' ); + + $admin = wp_insert_user( + [ + 'user_login' => 'srfm_edit_bar_' . wp_rand(), + 'user_pass' => 'password', + 'user_email' => 'srfm_edit_bar_' . wp_rand() . '@example.com', + 'role' => 'administrator', + ] + ); + wp_set_current_user( is_wp_error( $admin ) ? 0 : (int) $admin ); + + global $post; + $original_post = $post; + + // Viewing a form → an "Edit Form" node is added. + $form_id = wp_insert_post( [ 'post_type' => SRFM_FORMS_POST_TYPE, 'post_status' => 'publish', 'post_title' => 'Bar edit form' ] ); + $post = get_post( $form_id ); + + $bar = new WP_Admin_Bar(); + $post_types->add_edit_form_to_admin_bar_menu( $bar ); + + $node = $bar->get_node( 'edit-form' ); + $this->assertNotNull( $node, 'Viewing a form should add an Edit Form node.' ); + $this->assertStringContainsString( 'Edit Form', (string) $node->title ); + + // Viewing a non-form post → no node. + $page_id = wp_insert_post( [ 'post_type' => 'post', 'post_status' => 'publish', 'post_title' => 'Not a form' ] ); + $post = get_post( $page_id ); + + $bar_other = new WP_Admin_Bar(); + $post_types->add_edit_form_to_admin_bar_menu( $bar_other ); + $this->assertNull( $bar_other->get_node( 'edit-form' ), 'A non-form post must not add the Edit Form node.' ); + + $post = $original_post; + remove_filter( 'show_admin_bar', '__return_true' ); + unset( $GLOBALS['show_admin_bar'] ); + wp_delete_post( $form_id, true ); + wp_delete_post( $page_id, true ); + wp_set_current_user( 0 ); + if ( function_exists( 'wp_delete_user' ) && ! is_wp_error( $admin ) ) { + wp_delete_user( (int) $admin ); + } + } }