diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bc713b..1a89d02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,37 +5,6 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.20.2-alpha] - unreleased - -This is an alpha version! The changes listed here are not final. - -### Fixed -- Fix block icons for display on wp.org - -## [0.20.1] - 2023-08-28 -### Changed -- Updated package dependencies. [#32605] - -## [0.20.0] - 2023-08-21 -### Added -- Add block.json file to Contact Form block [#32583] -- Forms block - allow transforming to a subscribe block. [#32478] - -### Changed -- Forms block: rename "Newsletter Connection" to "Creative Mail" to avoid confusing with "Jetpack Newsletters" and subscription block. Call the block a "Lead Capture" block (not sign up). [#32481] - -## [0.19.11] - 2023-08-14 -### Changed -- Add a unified/consistent visual aid for focused elements. [#30219] - -## [0.19.10] - 2023-08-09 -### Changed -- Updated package dependencies. [#32166] - -## [0.19.9] - 2023-08-07 -### Added -- Added SIG modal ui [#31665] - ## [0.19.8] - 2023-07-25 ### Changed - Updated package dependencies. [#32040] @@ -323,12 +292,6 @@ This is an alpha version! The changes listed here are not final. - Added a new jetpack/forms package [#28409] - Added a public load_contact_form method for initializing the contact form module. [#28416] -[0.20.2-alpha]: https://github.com/automattic/jetpack-forms/compare/v0.20.1...v0.20.2-alpha -[0.20.1]: https://github.com/automattic/jetpack-forms/compare/v0.20.0...v0.20.1 -[0.20.0]: https://github.com/automattic/jetpack-forms/compare/v0.19.11...v0.20.0 -[0.19.11]: https://github.com/automattic/jetpack-forms/compare/v0.19.10...v0.19.11 -[0.19.10]: https://github.com/automattic/jetpack-forms/compare/v0.19.9...v0.19.10 -[0.19.9]: https://github.com/automattic/jetpack-forms/compare/v0.19.8...v0.19.9 [0.19.8]: https://github.com/automattic/jetpack-forms/compare/v0.19.7...v0.19.8 [0.19.7]: https://github.com/automattic/jetpack-forms/compare/v0.19.6...v0.19.7 [0.19.6]: https://github.com/automattic/jetpack-forms/compare/v0.19.5...v0.19.6 diff --git a/composer.json b/composer.json index 821b11f..41cb83a 100644 --- a/composer.json +++ b/composer.json @@ -4,15 +4,15 @@ "type": "jetpack-library", "license": "GPL-2.0-or-later", "require": { - "automattic/jetpack-blocks": "^1.4.23", - "automattic/jetpack-assets": "^1.18.9", - "automattic/jetpack-connection": "^1.57.1", - "automattic/jetpack-status": "^1.18.2-alpha" + "automattic/jetpack-blocks": "^1.4.22", + "automattic/jetpack-assets": "^1.18.7", + "automattic/jetpack-connection": "^1.56.0-alpha", + "automattic/jetpack-status": "^1.18.0" }, "require-dev": { - "yoast/phpunit-polyfills": "1.1.0", - "automattic/jetpack-changelogger": "^3.3.8", - "automattic/jetpack-connection": "^1.57.1", + "yoast/phpunit-polyfills": "1.0.4", + "automattic/jetpack-changelogger": "^3.3.7", + "automattic/jetpack-connection": "^1.56.0-alpha", "automattic/wordbless": "^0.4.1" }, "suggest": { @@ -52,7 +52,7 @@ "link-template": "https://github.com/automattic/jetpack-forms/compare/v${old}...v${new}" }, "branch-alias": { - "dev-trunk": "0.20.x-dev" + "dev-trunk": "0.19.x-dev" }, "textdomain": "jetpack-forms", "version-constants": { diff --git a/dist/blocks/block.json b/dist/blocks/block.json deleted file mode 100644 index 68b83f0..0000000 --- a/dist/blocks/block.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "$schema": "https://schemas.wp.org/trunk/block.json", - "apiVersion": 3, - "name": "jetpack/contact-form", - "title": "Form", - "description": "Create forms to collect data from site visitors and manage their responses.", - "keywords": [ "email", "feedback", "contact form" ], - "version": "12.5.0", - "textdomain": "jetpack", - "category": "contact-form", - "icon": "", - "supports": { - "color": { - "link": true, - "gradients": true - }, - "html": false, - "spacing": { - "padding": true, - "margin": true - }, - "align": [ "wide", "full" ] - }, - "attributes": {}, - "editorScript": "file:./editor.js" -} diff --git a/dist/blocks/editor.asset.php b/dist/blocks/editor.asset.php index 2f4669f..1d30baa 100644 --- a/dist/blocks/editor.asset.php +++ b/dist/blocks/editor.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '6a8ad48ac537397478d8'); + array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-url'), 'version' => 'f6eec5bff51a3cc5a138'); diff --git a/dist/blocks/editor.css b/dist/blocks/editor.css index 9efd7d2..432dc74 100644 --- a/dist/blocks/editor.css +++ b/dist/blocks/editor.css @@ -1 +1 @@ -.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-editor-panel-logo{margin-left:.5em}.wp-block-jetpack-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{margin:0;max-width:unset}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations{gap:20px 0;justify-content:center;margin:16px auto;max-width:560px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations>li{flex:0;margin:0;max-width:none;width:unset}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{margin-left:4px;margin-right:4px;padding:22px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation svg{height:auto;width:24px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label{margin-right:0}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--wp--style--block-gap,1.5rem);justify-content:flex-start}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-25{flex:1 1 calc(25% - var(--wp--style--block-gap, 1.5rem)*1);max-width:25%}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-50{flex:1 1 calc(50% - var(--wp--style--block-gap, 1.5rem)*1);max-width:50%}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-75{flex:1 1 calc(75% - var(--wp--style--block-gap, 1.5rem)*1);max-width:75%}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.wp-block-jetpack-contact-form [data-type="jetpack/field-checkbox-multiple"] .wp-block,.wp-block-jetpack-contact-form [data-type="jetpack/field-radio"] .wp-block{margin:unset}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{max-width:none;text-align:left}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form.is-placeholder{background-color:#fff;border:1px solid #1e1e1e;padding:24px}.jetpack-contact-form.is-placeholder .components-placeholder{box-shadow:unset;margin-bottom:16px;padding:0}.jetpack-contact-form.is-placeholder .block-editor-block-variation-picker__variation svg path:not(.icon-filler){fill:currentColor}.jetpack-contact-form.is-placeholder .form-placeholder__footer{align-items:center;display:flex;flex-direction:column;gap:12px;justify-content:center}@media(min-width:600px){.jetpack-contact-form.is-placeholder .form-placeholder__footer{flex-direction:row;justify-content:space-between}}.jetpack-contact-form.is-placeholder .form-placeholder__footer-links{align-items:center;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}@media(min-width:600px){.jetpack-contact-form.is-placeholder .form-placeholder__footer-links{align-items:flex-end}}.jetpack-contact-form.is-placeholder .form-placeholder__external-link{font-size:13px;padding:0}.jetpack-contact-form.is-placeholder .form-placeholder__external-link,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:active,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:focus,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:hover{background-color:unset;color:var(--wp-admin-theme-color)}.jetpack-contact-form.is-placeholder .form-placeholder__external-link svg{height:1.4em;margin-left:2px;width:1.4em}.form-placeholder__patterns-modal{max-width:1200px}@media(min-width:600px){.form-placeholder__patterns-modal{height:calc(100% - 120px);width:calc(100% - 32px)}}@media(min-width:782px){.form-placeholder__patterns-modal{width:750px}}@media(min-width:960px){.form-placeholder__patterns-modal{height:80%;max-height:none;width:80%}}.form-placeholder__patterns-modal .components-modal__content{margin-bottom:60px;padding:0}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .carousel-container{margin-bottom:20px}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .pattern-slide{border:1px solid #ddd}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .block-editor-block-pattern-setup__container{padding:0 32px}.form-placeholder__patterns-modal .block-editor-block-pattern-setup__grid .block-editor-block-pattern-setup__container{padding-bottom:72px}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-contact-form__integration-panel button{margin-top:1em}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 16px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;font-weight:700;margin-bottom:.25em}.jetpack-field-label .required{color:unset;font-size:85%;font-weight:400;margin-left:.25em;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}.jetpack-field__textarea{min-height:200px}.jetpack-field .jetpack-field__input,.jetpack-field .jetpack-field__textarea{border:1px solid #8c8f94;border-radius:0;box-shadow:unset;box-sizing:border-box;font:inherit;margin:0;padding:16px;width:100%}.jetpack-field .jetpack-field__textarea{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size)}.jetpack-field .components-base-control__field{margin-bottom:0}.jetpack-field.jetpack-field-checkbox .jetpack-field-checkbox__checkbox,.jetpack-field.jetpack-field-consent .jetpack-field-consent__checkbox{border-color:currentColor;margin:0 .75rem 0 0;opacity:1}.jetpack-field .jetpack-option__type.jetpack-option__type{all:initial;align-items:center;-webkit-appearance:none;appearance:none;border:none;color:var(--jetpack--contact-form--text-color);display:flex;font-family:var(--jetpack--contact-form--font-family);font-size:var(--jetpack--contact-form--font-size);height:var(--jetpack--contact-form--font-size);justify-content:center;margin:0 10px 0 0;outline:none;pointer-events:none;position:relative;width:var(--jetpack--contact-form--font-size)}.jetpack-field .jetpack-option__type.jetpack-option__type:after,.jetpack-field .jetpack-option__type.jetpack-option__type:before{all:initial;color:inherit;font-family:inherit;font-size:inherit}.jetpack-field .jetpack-option__type.jetpack-option__type:before{align-items:center;border:1px solid;border-radius:min(var(--jetpack--contact-form--button-outline--border-radius,0px),4px);box-sizing:border-box;content:" ";display:flex;font-weight:700;height:var(--jetpack--contact-form--font-size);justify-content:center;width:var(--jetpack--contact-form--font-size)}.jetpack-field .jetpack-option__type.jetpack-option__type[type=radio]:before{border-radius:50%}.jetpack-field.jetpack-field-multiple .block-editor-block-list__layout{align-items:flex-start;display:flex;flex-direction:column;gap:12px}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option{background:var(--jetpack--contact-form--button-outline--background-color);border:var(--jetpack--contact-form--button-outline--border);border-color:currentColor;border-radius:var(--jetpack--contact-form--button-outline--border-radius);border-width:var(--jetpack--contact-form--button-outline--border-size);color:var(--jetpack--contact-form--button-outline--text-color);line-height:var(--jetpack--contact-form--button-outline--line-height);padding:var(--jetpack--contact-form--button-outline--padding)}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option.field-option-radio{flex-direction:row-reverse;gap:16px;position:relative}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option.field-option-radio .jetpack-option__type{display:none}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option .jetpack-option__type{color:var(--jetpack--contact-form--button-outline--color)}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option{margin:0;padding:0}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option .dashicon{display:flex;height:1rem;margin-left:0;margin-right:.75rem;width:1rem}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option .dashicon:before{font-size:1rem}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .jetpack-field-consent__checkbox+.jetpack-field-label{line-height:normal}.jetpack-field .jetpack-field-option{align-items:center;display:flex;justify-content:flex-start}.jetpack-field .jetpack-field-option>input{margin:0 5px 0 0}:where(:not(.contact-form))>.jetpack-field .jetpack-field__input,:where(:not(.contact-form))>.jetpack-field .jetpack-field__textarea{padding-left:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius));padding-right:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius))}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-multiple__list.jetpack-field-multiple__list{display:flex;flex:1;flex-direction:column;gap:.25em;list-style-type:none;margin:0;padding-left:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border:none;border-radius:0;color:inherit;flex-grow:1;font-size:inherit;line-height:1.5;padding:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{box-shadow:none}.jetpack-field-multiple.components-base-control{font-size:inherit}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox,.jetpack-field-consent{align-items:center;display:flex}.jetpack-field-checkbox .jetpack-field-label,.jetpack-field-consent .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .jetpack-field-label .jetpack-field-label__input,.jetpack-field-consent .jetpack-field-label .jetpack-field-label__input{font-weight:400}.jetpack-field-consent .jetpack-field-label__input{font-size:13px;text-transform:uppercase}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px}.jetpack-contact-form__popover .components-popover__content .components-base-control{margin-bottom:24px}.jetpack-contact-form__popover .components-popover__content .components-base-control:last-child{margin-bottom:8px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__content{padding:12px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__close-icon{height:24px;justify-content:center;padding:0;width:24px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__item svg{fill:none;margin-right:8px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom:0}.jetpack-field-dropdown{display:inline-flex;flex-direction:column;font-family:var(--jetpack--contact-form--font-family);width:100%}.jetpack-field-dropdown__wrapper{position:relative}.jetpack-field-dropdown__toggle{align-items:center;background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);color:var(--jetpack--contact-form--text-color);display:flex;font-size:var(--jetpack--contact-form--font-size);justify-content:space-between;line-height:var(--jetpack--contact-form--line-height);padding:var(--jetpack--contact-form--input-padding)}.jetpack-field-dropdown__icon{align-items:center;border:2px solid transparent;box-sizing:border-box;display:flex;height:.8em;justify-content:center;margin-right:4px;overflow:visible;position:relative;width:.8em}.jetpack-field-dropdown__icon:after{border-bottom:2px solid;border-right:2px solid;box-sizing:border-box;content:"";display:block;height:100%;margin-top:-2px;transform:rotate(45deg);width:100%}.jetpack-field-dropdown__popover{background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);box-shadow:0 2px 6px rgba(0,0,0,.05);color:var(--jetpack--contact-form--text-color);font-size:var(--jetpack--contact-form--font-size);line-height:normal;margin-top:8px;max-height:165px;overflow:auto;padding:0}.jetpack-field-dropdown__popover .rich-text{padding:var(--jetpack--contact-form--input-padding)}.jetpack-contact-form .jetpack-field .jetpack-field__input,.jetpack-contact-form .jetpack-field .jetpack-field__textarea{color:#787c82}.jetpack-contact-form.is-style-animated .jetpack-field,.jetpack-contact-form.is-style-outlined .jetpack-field{position:relative}.jetpack-contact-form.is-style-outlined .block-editor-block-list__block:not([contenteditable]):focus:after{bottom:-10px;left:-10px;right:-10px;top:-10px}.jetpack-contact-form.is-style-outlined .jetpack-field{--notch-width:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius));display:flex;margin-top:8px}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label{box-sizing:border-box;display:flex;height:100%;left:0;max-width:100%;position:absolute;text-align:left;top:0;width:100%;z-index:1}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__leading{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-bottom-right-radius:unset;border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-right:none;border-top-right-radius:unset;width:var(--notch-width)}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__notch{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:unset;border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-left:none;border-right:none;padding:0 4px;transition:border .15s linear}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__label{margin:0;position:relative;top:50%;transform:translateY(-50%);transition:all .15s cubic-bezier(.4,0,.2,1);will-change:transform}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__label label{font-weight:300}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__trailing{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-left:none;border-radius:var(--jetpack--contact-form--border-radius);border-bottom-left-radius:unset;border-top-left-radius:unset;flex-grow:1}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-textarea .notched-label__label{top:var(--jetpack--contact-form--input-padding-top,16px);transform:unset}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder .notched-label__notch,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected .notched-label__notch{border-top-color:transparent}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder .notched-label__label,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected .notched-label__label{font-size:.8em;top:calc(var(--jetpack--contact-form--border-size)*-1);transform:translateY(-50%)}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder.jetpack-field-dropdown .jetpack-field-dropdown__toggle,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected.jetpack-field-dropdown .jetpack-field-dropdown__toggle{border-color:transparent;padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple{background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-top:none;padding:var(--jetpack--contact-form--input-padding,16px);padding-top:calc(var(--jetpack--contact-form--input-padding, 16px) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label{height:unset}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__leading,.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__notch,.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__trailing{border-bottom:none;border-left:none;border-right:none}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-checkbox{margin-top:0}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field-dropdown__popover .rich-text{padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field-dropdown__icon{margin-right:0}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field__input,.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field__textarea{border-top-color:transparent!important;display:flex;outline:none;padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-animated .jetpack-field{--left-offset:calc(var(--jetpack--contact-form--input-padding-left, 16px) + var(--jetpack--contact-form--border-size));--label-left:max(var(--left-offset),var(--jetpack--contact-form--border-radius));--field-padding:calc(var(--label-left) - var(--jetpack--contact-form--border-size))}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__input{outline:none}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__textarea{outline:none;padding:var(--jetpack--contact-form--input-padding,16px)}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field-dropdown__toggle,.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__input,.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__textarea{padding-left:var(--field-padding);padding-right:var(--field-padding);padding-top:1.4em}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-dropdown .jetpack-field-dropdown__popover .rich-text{padding-left:var(--field-padding);padding-right:var(--field-padding)}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-multiple{padding-bottom:var(--jetpack--contact-form--input-padding,16px);padding-top:1.8em}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-multiple.has-placeholder .animated-label__label{font-size:1em;left:0;top:0}.jetpack-contact-form.is-style-animated .jetpack-field .animated-label__label{box-sizing:border-box;left:var(--label-left);margin:0;max-width:100%;position:absolute;top:50%;transform:translateY(-50%);transition:all .15s cubic-bezier(.4,0,.2,1);width:100%;z-index:1}.jetpack-contact-form.is-style-animated .jetpack-field .animated-label__label .jetpack-field-label__input{margin:0}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-textarea .animated-label__label{top:var(--jetpack--contact-form--input-padding-top,16px);transform:unset}.jetpack-contact-form.is-style-animated .jetpack-field.has-placeholder .animated-label__label,.jetpack-contact-form.is-style-animated .jetpack-field.is-selected .animated-label__label{font-size:.75em;top:calc(2px + var(--jetpack--contact-form--border-size));transform:translateY(0)}.jetpack-contact-form.is-style-below .jetpack-field:not(.jetpack-field-checkbox){display:flex;flex-direction:column-reverse}.block-editor-block-inspector .components-base-control .components-base-control:last-child{margin-bottom:0}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:var(--color-error)}.help-message.help-message-is-error svg{fill:var(--color-error)} \ No newline at end of file +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.wp-block-jetpack-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{margin:0;max-width:unset}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations{gap:20px 0;justify-content:center;margin:16px auto;max-width:560px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations>li{flex:0;margin:0;max-width:none;width:unset}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{margin-left:4px;margin-right:4px;padding:22px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation svg{height:auto;width:24px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label{margin-right:0}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--wp--style--block-gap,1.5rem);justify-content:flex-start}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-25{flex:1 1 calc(25% - var(--wp--style--block-gap, 1.5rem)*1);max-width:25%}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-50{flex:1 1 calc(50% - var(--wp--style--block-gap, 1.5rem)*1);max-width:50%}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-75{flex:1 1 calc(75% - var(--wp--style--block-gap, 1.5rem)*1);max-width:75%}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.wp-block-jetpack-contact-form [data-type="jetpack/field-checkbox-multiple"] .wp-block,.wp-block-jetpack-contact-form [data-type="jetpack/field-radio"] .wp-block{margin:unset}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{max-width:none;text-align:left}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form.is-placeholder{background-color:#fff;border:1px solid #1e1e1e;padding:24px}.jetpack-contact-form.is-placeholder .components-placeholder{box-shadow:unset;margin-bottom:16px;padding:0}.jetpack-contact-form.is-placeholder .block-editor-block-variation-picker__variation svg path:not(.icon-filler){fill:currentColor}.jetpack-contact-form.is-placeholder .form-placeholder__footer{align-items:center;display:flex;flex-direction:column;gap:12px;justify-content:center}@media(min-width:600px){.jetpack-contact-form.is-placeholder .form-placeholder__footer{flex-direction:row;justify-content:space-between}}.jetpack-contact-form.is-placeholder .form-placeholder__footer-links{align-items:center;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}@media(min-width:600px){.jetpack-contact-form.is-placeholder .form-placeholder__footer-links{align-items:flex-end}}.jetpack-contact-form.is-placeholder .form-placeholder__external-link{font-size:13px;padding:0}.jetpack-contact-form.is-placeholder .form-placeholder__external-link,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:active,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:focus,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:hover{background-color:unset;color:var(--wp-admin-theme-color)}.jetpack-contact-form.is-placeholder .form-placeholder__external-link svg{height:1.4em;margin-left:2px;width:1.4em}.form-placeholder__patterns-modal{max-width:1200px}@media(min-width:600px){.form-placeholder__patterns-modal{height:calc(100% - 120px);width:calc(100% - 32px)}}@media(min-width:782px){.form-placeholder__patterns-modal{width:750px}}@media(min-width:960px){.form-placeholder__patterns-modal{height:80%;max-height:none;width:80%}}.form-placeholder__patterns-modal .components-modal__content{margin-bottom:60px;padding:0}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .carousel-container{margin-bottom:20px}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .pattern-slide{border:1px solid #ddd}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .block-editor-block-pattern-setup__container{padding:0 32px}.form-placeholder__patterns-modal .block-editor-block-pattern-setup__grid .block-editor-block-pattern-setup__container{padding-bottom:72px}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-contact-form__integration-panel button{margin-top:1em}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 16px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;font-weight:700;margin-bottom:.25em}.jetpack-field-label .required{color:unset;font-size:85%;font-weight:400;margin-left:.25em;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}.jetpack-field__textarea{min-height:200px}.jetpack-field .jetpack-field__input,.jetpack-field .jetpack-field__textarea{border:1px solid #8c8f94;border-radius:0;box-shadow:unset;box-sizing:border-box;font:inherit;margin:0;padding:16px;width:100%}.jetpack-field .jetpack-field__textarea{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size)}.jetpack-field .components-base-control__field{margin-bottom:0}.jetpack-field.jetpack-field-checkbox .jetpack-field-checkbox__checkbox,.jetpack-field.jetpack-field-consent .jetpack-field-consent__checkbox{border-color:currentColor;margin:0 .75rem 0 0;opacity:1}.jetpack-field .jetpack-option__type.jetpack-option__type{all:initial;align-items:center;-webkit-appearance:none;appearance:none;border:none;color:var(--jetpack--contact-form--text-color);display:flex;font-family:var(--jetpack--contact-form--font-family);font-size:var(--jetpack--contact-form--font-size);height:var(--jetpack--contact-form--font-size);justify-content:center;margin:0 10px 0 0;outline:none;pointer-events:none;position:relative;width:var(--jetpack--contact-form--font-size)}.jetpack-field .jetpack-option__type.jetpack-option__type:after,.jetpack-field .jetpack-option__type.jetpack-option__type:before{all:initial;color:inherit;font-family:inherit;font-size:inherit}.jetpack-field .jetpack-option__type.jetpack-option__type:before{align-items:center;border:1px solid;border-radius:min(var(--jetpack--contact-form--button-outline--border-radius,0px),4px);box-sizing:border-box;content:" ";display:flex;font-weight:700;height:var(--jetpack--contact-form--font-size);justify-content:center;width:var(--jetpack--contact-form--font-size)}.jetpack-field .jetpack-option__type.jetpack-option__type[type=radio]:before{border-radius:50%}.jetpack-field.jetpack-field-multiple .block-editor-block-list__layout{align-items:flex-start;display:flex;flex-direction:column;gap:12px}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option{background:var(--jetpack--contact-form--button-outline--background-color);border:var(--jetpack--contact-form--button-outline--border);border-color:currentColor;border-radius:var(--jetpack--contact-form--button-outline--border-radius);border-width:var(--jetpack--contact-form--button-outline--border-size);color:var(--jetpack--contact-form--button-outline--text-color);line-height:var(--jetpack--contact-form--button-outline--line-height);padding:var(--jetpack--contact-form--button-outline--padding)}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option.field-option-radio{flex-direction:row-reverse;gap:16px;position:relative}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option.field-option-radio .jetpack-option__type{display:none}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option .jetpack-option__type{color:var(--jetpack--contact-form--button-outline--color)}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option{margin:0;padding:0}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option .dashicon{display:flex;height:1rem;margin-left:0;margin-right:.75rem;width:1rem}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option .dashicon:before{font-size:1rem}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .jetpack-field-consent__checkbox+.jetpack-field-label{line-height:normal}.jetpack-field .jetpack-field-option{align-items:center;display:flex;justify-content:flex-start}.jetpack-field .jetpack-field-option>input{margin:0 5px 0 0}:where(:not(.contact-form))>.jetpack-field .jetpack-field__input,:where(:not(.contact-form))>.jetpack-field .jetpack-field__textarea{padding-left:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius));padding-right:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius))}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-multiple__list.jetpack-field-multiple__list{display:flex;flex:1;flex-direction:column;gap:.25em;list-style-type:none;margin:0;padding-left:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border:none;border-radius:0;color:inherit;flex-grow:1;font-size:inherit;line-height:1.5;padding:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{box-shadow:none}.jetpack-field-multiple.components-base-control{font-size:inherit}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox,.jetpack-field-consent{align-items:center;display:flex}.jetpack-field-checkbox .jetpack-field-label,.jetpack-field-consent .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .jetpack-field-label .jetpack-field-label__input,.jetpack-field-consent .jetpack-field-label .jetpack-field-label__input{font-weight:400}.jetpack-field-consent .jetpack-field-label__input{font-size:13px;text-transform:uppercase}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px}.jetpack-contact-form__popover .components-popover__content .components-base-control{margin-bottom:24px}.jetpack-contact-form__popover .components-popover__content .components-base-control:last-child{margin-bottom:8px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__content{padding:12px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__close-icon{height:24px;justify-content:center;padding:0;width:24px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__item svg{fill:none;margin-right:8px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom:0}.jetpack-field-dropdown{display:inline-flex;flex-direction:column;font-family:var(--jetpack--contact-form--font-family);width:100%}.jetpack-field-dropdown__wrapper{position:relative}.jetpack-field-dropdown__toggle{align-items:center;background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);color:var(--jetpack--contact-form--text-color);display:flex;font-size:var(--jetpack--contact-form--font-size);justify-content:space-between;line-height:var(--jetpack--contact-form--line-height);padding:var(--jetpack--contact-form--input-padding)}.jetpack-field-dropdown__icon{align-items:center;border:2px solid transparent;box-sizing:border-box;display:flex;height:.8em;justify-content:center;margin-right:4px;overflow:visible;position:relative;width:.8em}.jetpack-field-dropdown__icon:after{border-bottom:2px solid;border-right:2px solid;box-sizing:border-box;content:"";display:block;height:100%;margin-top:-2px;transform:rotate(45deg);width:100%}.jetpack-field-dropdown__popover{background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);box-shadow:0 2px 6px rgba(0,0,0,.05);color:var(--jetpack--contact-form--text-color);font-size:var(--jetpack--contact-form--font-size);line-height:normal;margin-top:8px;max-height:165px;overflow:auto;padding:0}.jetpack-field-dropdown__popover .rich-text{padding:var(--jetpack--contact-form--input-padding)}.jetpack-contact-form .jetpack-field .jetpack-field__input,.jetpack-contact-form .jetpack-field .jetpack-field__textarea{color:#787c82}.jetpack-contact-form.is-style-animated .jetpack-field,.jetpack-contact-form.is-style-outlined .jetpack-field{position:relative}.jetpack-contact-form.is-style-outlined .block-editor-block-list__block:not([contenteditable]):focus:after{bottom:-10px;left:-10px;right:-10px;top:-10px}.jetpack-contact-form.is-style-outlined .jetpack-field{--notch-width:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius));display:flex;margin-top:8px}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label{box-sizing:border-box;display:flex;height:100%;left:0;max-width:100%;position:absolute;text-align:left;top:0;width:100%;z-index:1}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__leading{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-bottom-right-radius:unset;border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-right:none;border-top-right-radius:unset;width:var(--notch-width)}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__notch{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:unset;border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-left:none;border-right:none;padding:0 4px;transition:border .15s linear}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__label{margin:0;position:relative;top:50%;transform:translateY(-50%);transition:all .15s cubic-bezier(.4,0,.2,1);will-change:transform}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__label label{font-weight:300}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__trailing{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-left:none;border-radius:var(--jetpack--contact-form--border-radius);border-bottom-left-radius:unset;border-top-left-radius:unset;flex-grow:1}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-textarea .notched-label__label{top:var(--jetpack--contact-form--input-padding-top,16px);transform:unset}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder .notched-label__notch,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected .notched-label__notch{border-top-color:transparent}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder .notched-label__label,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected .notched-label__label{font-size:.8em;top:calc(var(--jetpack--contact-form--border-size)*-1);transform:translateY(-50%)}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder.jetpack-field-dropdown .jetpack-field-dropdown__toggle,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected.jetpack-field-dropdown .jetpack-field-dropdown__toggle{border-color:transparent;padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple{background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-top:none;padding:var(--jetpack--contact-form--input-padding,16px);padding-top:calc(var(--jetpack--contact-form--input-padding, 16px) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label{height:unset}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__leading,.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__notch,.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__trailing{border-bottom:none;border-left:none;border-right:none}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-checkbox{margin-top:0}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field-dropdown__popover .rich-text{padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field-dropdown__icon{margin-right:0}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field__input,.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field__textarea{border-top-color:transparent!important;display:flex;outline:none;padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-animated .jetpack-field{--left-offset:calc(var(--jetpack--contact-form--input-padding-left, 16px) + var(--jetpack--contact-form--border-size));--label-left:max(var(--left-offset),var(--jetpack--contact-form--border-radius));--field-padding:calc(var(--label-left) - var(--jetpack--contact-form--border-size))}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__input{outline:none}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__textarea{outline:none;padding:var(--jetpack--contact-form--input-padding,16px)}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field-dropdown__toggle,.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__input,.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__textarea{padding-left:var(--field-padding);padding-right:var(--field-padding);padding-top:1.4em}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-dropdown .jetpack-field-dropdown__popover .rich-text{padding-left:var(--field-padding);padding-right:var(--field-padding)}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-multiple{padding-bottom:var(--jetpack--contact-form--input-padding,16px);padding-top:1.8em}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-multiple.has-placeholder .animated-label__label{font-size:1em;left:0;top:0}.jetpack-contact-form.is-style-animated .jetpack-field .animated-label__label{box-sizing:border-box;left:var(--label-left);margin:0;max-width:100%;position:absolute;top:50%;transform:translateY(-50%);transition:all .15s cubic-bezier(.4,0,.2,1);width:100%;z-index:1}.jetpack-contact-form.is-style-animated .jetpack-field .animated-label__label .jetpack-field-label__input{margin:0}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-textarea .animated-label__label{top:var(--jetpack--contact-form--input-padding-top,16px);transform:unset}.jetpack-contact-form.is-style-animated .jetpack-field.has-placeholder .animated-label__label,.jetpack-contact-form.is-style-animated .jetpack-field.is-selected .animated-label__label{font-size:.75em;top:calc(2px + var(--jetpack--contact-form--border-size));transform:translateY(0)}.jetpack-contact-form.is-style-below .jetpack-field:not(.jetpack-field-checkbox){display:flex;flex-direction:column-reverse}.block-editor-block-inspector .components-base-control .components-base-control:last-child{margin-bottom:0}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:var(--color-error)}.help-message.help-message-is-error svg{fill:var(--color-error)} \ No newline at end of file diff --git a/dist/blocks/editor.js b/dist/blocks/editor.js index 8c4a5ad..9ded490 100644 --- a/dist/blocks/editor.js +++ b/dist/blocks/editor.js @@ -1,6 +1,6 @@ /*! For license information please see editor.js.LICENSE.txt */ -(()=>{var e={4955:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(9307),o=r(444);const n=(0,a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(o.Path,{d:"M15.5 9.5a1 1 0 100-2 1 1 0 000 2zm0 1.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zm-2.25 6v-2a2.75 2.75 0 00-2.75-2.75h-4A2.75 2.75 0 003.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0120.25 15zM9.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z",fillRule:"evenodd"}))},5235:(e,t)=>{var r;!function(){"use strict";var a={}.hasOwnProperty;function o(){for(var e=[],t=0;t{"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!r.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},2746:(e,t,r)=>{"use strict";const a=r(7811),o=Symbol("max"),n=Symbol("length"),l=Symbol("lengthCalculator"),i=Symbol("allowStale"),s=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),p=Symbol("lruList"),d=Symbol("cache"),m=Symbol("updateAgeOnGet"),f=()=>1;const h=(e,t,r)=>{const a=e[d].get(t);if(a){const t=a.value;if(b(e,t)){if(k(e,a),!e[i])return}else r&&(e[m]&&(a.value.now=Date.now()),e[p].unshiftNode(a));return t.value}},b=(e,t)=>{if(!t||!t.maxAge&&!e[s])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[s]&&r>e[s]},g=e=>{if(e[n]>e[o])for(let t=e[p].tail;e[n]>e[o]&&null!==t;){const r=t.prev;k(e,t),t=r}},k=(e,t)=>{if(t){const r=t.value;e[c]&&e[c](r.key,r.value),e[n]-=r.length,e[d].delete(r.key),e[p].removeNode(t)}};class E{constructor(e,t,r,a,o){this.key=e,this.value=t,this.length=r,this.now=a,this.maxAge=o||0}}const C=(e,t,r,a)=>{let o=r.value;b(e,o)&&(k(e,r),e[i]||(o=void 0)),o&&t.call(a,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||f;if(this[l]="function"!=typeof t?f:t,this[i]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[s]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[m]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,g(this)}get max(){return this[o]}set allowStale(e){this[i]=!!e}get allowStale(){return this[i]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[s]=e,g(this)}get maxAge(){return this[s]}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[l]&&(this[l]=e,this[n]=0,this[p].forEach((e=>{e.length=this[l](e.value,e.key),this[n]+=e.length}))),g(this)}get lengthCalculator(){return this[l]}get length(){return this[n]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let r=this[p].tail;null!==r;){const a=r.prev;C(this,e,r,t),r=a}}forEach(e,t){t=t||this;for(let r=this[p].head;null!==r;){const a=r.next;C(this,e,r,t),r=a}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){this[c]&&this[p]&&this[p].length&&this[p].forEach((e=>this[c](e.key,e.value))),this[d]=new Map,this[p]=new a,this[n]=0}dump(){return this[p].map((e=>!b(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,t,r){if((r=r||this[s])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const a=r?Date.now():0,i=this[l](t,e);if(this[d].has(e)){if(i>this[o])return k(this,this[d].get(e)),!1;const l=this[d].get(e).value;return this[c]&&(this[u]||this[c](e,l.value)),l.now=a,l.maxAge=r,l.value=t,this[n]+=i-l.length,l.length=i,this.get(e),g(this),!0}const m=new E(e,t,i,a,r);return m.length>this[o]?(this[c]&&this[c](e,t),!1):(this[n]+=m.length,this[p].unshift(m),this[d].set(e,this[p].head),g(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!b(this,t)}get(e){return h(this,e,!0)}peek(e){return h(this,e,!1)}pop(){const e=this[p].tail;return e?(k(this,e),e.value):null}del(e){k(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const a=e[r],o=a.e||0;if(0===o)this.set(a.k,a.v);else{const e=o-t;e>0&&this.set(a.k,a.v,e)}}}prune(){this[d].forEach(((e,t)=>h(this,t,!1)))}}},3171:e=>{var t=1e3,r=60*t,a=60*r,o=24*a,n=7*o,l=365.25*o;function i(e,t,r,a){var o=t>=1.5*r;return Math.round(e/r)+" "+a+(o?"s":"")}e.exports=function(e,s){s=s||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!i)return;var s=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*l;case"weeks":case"week":case"w":return s*n;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*a;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===c&&isFinite(e))return s.long?function(e){var n=Math.abs(e);if(n>=o)return i(e,n,o,"day");if(n>=a)return i(e,n,a,"hour");if(n>=r)return i(e,n,r,"minute");if(n>=t)return i(e,n,t,"second");return e+" ms"}(e):function(e){var n=Math.abs(e);if(n>=o)return Math.round(e/o)+"d";if(n>=a)return Math.round(e/a)+"h";if(n>=r)return Math.round(e/r)+"m";if(n>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9079:(e,t,r)=>{const a=Symbol("SemVer ANY");class o{static get ANY(){return a}constructor(e,t){if(t=n(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===a?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?l[i.COMPARATORLOOSE]:l[i.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new u(r[2],this.options.loose):this.semver=a}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===a||e===a)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return s(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):(!(t=n(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(s(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(s(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=o;const n=r(4916),{safeRe:l,t:i}=r(1037),s=r(6574),c=r(9262),u=r(8693),p=r(3538)},3538:(e,t,r)=>{class a{constructor(e,t){if(t=n(t),e instanceof a)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new a(e.raw,t);if(e instanceof l)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((e=>this.parseRange(e))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!b(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&g(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&f)|(this.options.loose&&h))+":"+e,r=o.get(t);if(r)return r;const a=this.options.loose,n=a?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(n,A(this.options.includePrerelease)),i("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],p),i("comparator trim",e);let s=(e=(e=e.replace(c[u.TILDETRIM],d)).replace(c[u.CARETTRIM],m)).split(" ").map((e=>E(e,this.options))).join(" ").split(/\s+/).map((e=>I(e,this.options)));a&&(s=s.filter((e=>(i("loose invalid filter",e,this.options),!!e.match(c[u.COMPARATORLOOSE]))))),i("range list",s);const g=new Map,k=s.map((e=>new l(e,this.options)));for(const e of k){if(b(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");const C=[...g.values()];return o.set(t,C),C}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Range is required");return this.set.some((r=>k(r,t)&&e.set.some((e=>k(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new s(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,g=e=>""===e.value,k=(e,t)=>{let r=!0;const a=e.slice();let o=a.pop();for(;r&&a.length;)r=a.every((e=>o.intersects(e,t))),o=a.pop();return r},E=(e,t)=>(i("comp",e,t),e=j(e,t),i("caret",e),e=v(e,t),i("tildes",e),e=w(e,t),i("xrange",e),e=S(e,t),i("stars",e),e),C=e=>!e||"x"===e.toLowerCase()||"*"===e,v=(e,t)=>e.trim().split(/\s+/).map((e=>R(e,t))).join(" "),R=(e,t)=>{const r=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(r,((t,r,a,o,n)=>{let l;return i("tilde",e,t,r,a,o,n),C(r)?l="":C(a)?l=`>=${r}.0.0 <${+r+1}.0.0-0`:C(o)?l=`>=${r}.${a}.0 <${r}.${+a+1}.0-0`:n?(i("replaceTilde pr",n),l=`>=${r}.${a}.${o}-${n} <${r}.${+a+1}.0-0`):l=`>=${r}.${a}.${o} <${r}.${+a+1}.0-0`,i("tilde return",l),l}))},j=(e,t)=>e.trim().split(/\s+/).map((e=>y(e,t))).join(" "),y=(e,t)=>{i("caret",e,t);const r=t.loose?c[u.CARETLOOSE]:c[u.CARET],a=t.includePrerelease?"-0":"";return e.replace(r,((t,r,o,n,l)=>{let s;return i("caret",e,t,r,o,n,l),C(r)?s="":C(o)?s=`>=${r}.0.0${a} <${+r+1}.0.0-0`:C(n)?s="0"===r?`>=${r}.${o}.0${a} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${a} <${+r+1}.0.0-0`:l?(i("replaceCaret pr",l),s="0"===r?"0"===o?`>=${r}.${o}.${n}-${l} <${r}.${o}.${+n+1}-0`:`>=${r}.${o}.${n}-${l} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${n}-${l} <${+r+1}.0.0-0`):(i("no pr"),s="0"===r?"0"===o?`>=${r}.${o}.${n}${a} <${r}.${o}.${+n+1}-0`:`>=${r}.${o}.${n}${a} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${n} <${+r+1}.0.0-0`),i("caret return",s),s}))},w=(e,t)=>(i("replaceXRanges",e,t),e.split(/\s+/).map((e=>x(e,t))).join(" ")),x=(e,t)=>{e=e.trim();const r=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(r,((r,a,o,n,l,s)=>{i("xRange",e,r,a,o,n,l,s);const c=C(o),u=c||C(n),p=u||C(l),d=p;return"="===a&&d&&(a=""),s=t.includePrerelease?"-0":"",c?r=">"===a||"<"===a?"<0.0.0-0":"*":a&&d?(u&&(n=0),l=0,">"===a?(a=">=",u?(o=+o+1,n=0,l=0):(n=+n+1,l=0)):"<="===a&&(a="<",u?o=+o+1:n=+n+1),"<"===a&&(s="-0"),r=`${a+o}.${n}.${l}${s}`):u?r=`>=${o}.0.0${s} <${+o+1}.0.0-0`:p&&(r=`>=${o}.${n}.0${s} <${o}.${+n+1}.0-0`),i("xRange return",r),r}))},S=(e,t)=>(i("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),I=(e,t)=>(i("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),A=e=>(t,r,a,o,n,l,i,s,c,u,p,d,m)=>`${r=C(a)?"":C(o)?`>=${a}.0.0${e?"-0":""}`:C(n)?`>=${a}.${o}.0${e?"-0":""}`:l?`>=${r}`:`>=${r}${e?"-0":""}`} ${s=C(c)?"":C(u)?`<${+c+1}.0.0-0`:C(p)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${p}-${d}`:e?`<${c}.${u}.${+p+1}-0`:`<=${s}`}`.trim(),N=(e,t,r)=>{for(let r=0;r0){const a=e[r].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0}},8693:(e,t,r)=>{const a=r(9262),{MAX_LENGTH:o,MAX_SAFE_INTEGER:n}=r(581),{safeRe:l,t:i}=r(1037),s=r(4916),{compareIdentifiers:c}=r(3546);class u{constructor(e,t){if(t=s(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);a("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?l[i.LOOSE]:l[i.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[a]&&(this.prerelease[a]++,a=-2);if(-1===a){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let a=[t,e];!1===r&&(a=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=u},881:(e,t,r)=>{const a=r(2323);e.exports=(e,t)=>{const r=a(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},6574:(e,t,r)=>{const a=r(6825),o=r(525),n=r(8586),l=r(3408),i=r(8546),s=r(6123);e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return a(e,r,c);case"!=":return o(e,r,c);case">":return n(e,r,c);case">=":return l(e,r,c);case"<":return i(e,r,c);case"<=":return s(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},6171:(e,t,r)=>{const a=r(8693),o=r(2323),{safeRe:n,t:l}=r(1037);e.exports=(e,t)=>{if(e instanceof a)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let t;for(;(t=n[l.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&t.index+t[0].length===r.index+r[0].length||(r=t),n[l.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;n[l.COERCERTL].lastIndex=-1}else r=e.match(n[l.COERCE]);return null===r?null:o(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},1310:(e,t,r)=>{const a=r(8693);e.exports=(e,t,r)=>{const o=new a(e,r),n=new a(t,r);return o.compare(n)||o.compareBuild(n)}},4773:(e,t,r)=>{const a=r(256);e.exports=(e,t)=>a(e,t,!0)},256:(e,t,r)=>{const a=r(8693);e.exports=(e,t,r)=>new a(e,r).compare(new a(t,r))},6690:(e,t,r)=>{const a=r(2323);e.exports=(e,t)=>{const r=a(e,null,!0),o=a(t,null,!0),n=r.compare(o);if(0===n)return null;const l=n>0,i=l?r:o,s=l?o:r,c=!!i.prerelease.length;if(!!s.prerelease.length&&!c)return s.patch||s.minor?i.patch?"patch":i.minor?"minor":"major":"major";const u=c?"pre":"";return r.major!==o.major?u+"major":r.minor!==o.minor?u+"minor":r.patch!==o.patch?u+"patch":"prerelease"}},6825:(e,t,r)=>{const a=r(256);e.exports=(e,t,r)=>0===a(e,t,r)},8586:(e,t,r)=>{const a=r(256);e.exports=(e,t,r)=>a(e,t,r)>0},3408:(e,t,r)=>{const a=r(256);e.exports=(e,t,r)=>a(e,t,r)>=0},3469:(e,t,r)=>{const a=r(8693);e.exports=(e,t,r,o,n)=>{"string"==typeof r&&(n=o,o=r,r=void 0);try{return new a(e instanceof a?e.version:e,r).inc(t,o,n).version}catch(e){return null}}},8546:(e,t,r)=>{const a=r(256);e.exports=(e,t,r)=>a(e,t,r)<0},6123:(e,t,r)=>{const a=r(256);e.exports=(e,t,r)=>a(e,t,r)<=0},651:(e,t,r)=>{const a=r(8693);e.exports=(e,t)=>new a(e,t).major},3857:(e,t,r)=>{const a=r(8693);e.exports=(e,t)=>new a(e,t).minor},525:(e,t,r)=>{const a=r(256);e.exports=(e,t,r)=>0!==a(e,t,r)},2323:(e,t,r)=>{const a=r(8693);e.exports=(e,t,r=!1)=>{if(e instanceof a)return e;try{return new a(e,t)}catch(e){if(!r)return null;throw e}}},3982:(e,t,r)=>{const a=r(8693);e.exports=(e,t)=>new a(e,t).patch},7665:(e,t,r)=>{const a=r(2323);e.exports=(e,t)=>{const r=a(e,t);return r&&r.prerelease.length?r.prerelease:null}},8824:(e,t,r)=>{const a=r(256);e.exports=(e,t,r)=>a(t,e,r)},3135:(e,t,r)=>{const a=r(1310);e.exports=(e,t)=>e.sort(((e,r)=>a(r,e,t)))},4938:(e,t,r)=>{const a=r(3538);e.exports=(e,t,r)=>{try{t=new a(t,r)}catch(e){return!1}return t.test(e)}},3782:(e,t,r)=>{const a=r(1310);e.exports=(e,t)=>e.sort(((e,r)=>a(e,r,t)))},5652:(e,t,r)=>{const a=r(2323);e.exports=(e,t)=>{const r=a(e,t);return r?r.version:null}},5589:(e,t,r)=>{const a=r(1037),o=r(581),n=r(8693),l=r(3546),i=r(2323),s=r(5652),c=r(881),u=r(3469),p=r(6690),d=r(651),m=r(3857),f=r(3982),h=r(7665),b=r(256),g=r(8824),k=r(4773),E=r(1310),C=r(3782),v=r(3135),R=r(8586),j=r(8546),y=r(6825),w=r(525),x=r(3408),S=r(6123),I=r(6574),A=r(6171),N=r(9079),B=r(3538),_=r(4938),P=r(5559),T=r(3912),L=r(887),F=r(7124),M=r(3228),$=r(2051),O=r(8118),Z=r(382),V=r(7445),H=r(9282),D=r(9910);e.exports={parse:i,valid:s,clean:c,inc:u,diff:p,major:d,minor:m,patch:f,prerelease:h,compare:b,rcompare:g,compareLoose:k,compareBuild:E,sort:C,rsort:v,gt:R,lt:j,eq:y,neq:w,gte:x,lte:S,cmp:I,coerce:A,Comparator:N,Range:B,satisfies:_,toComparators:P,maxSatisfying:T,minSatisfying:L,minVersion:F,validRange:M,outside:$,gtr:O,ltr:Z,intersects:V,simplifyRange:H,subset:D,SemVer:n,re:a.re,src:a.src,tokens:a.t,SEMVER_SPEC_VERSION:o.SEMVER_SPEC_VERSION,RELEASE_TYPES:o.RELEASE_TYPES,compareIdentifiers:l.compareIdentifiers,rcompareIdentifiers:l.rcompareIdentifiers}},581:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},9262:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},3546:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const a=t.test(e),o=t.test(r);return a&&o&&(e=+e,r=+r),e===r?0:a&&!o?-1:o&&!a?1:er(t,e)}},4916:e=>{const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},1037:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:a}=r(581),o=r(9262),n=(t=e.exports={}).re=[],l=t.safeRe=[],i=t.src=[],s=t.t={};let c=0;const u=(e,t,r)=>{const a=t.split("\\s*").join("\\s{0,1}").split("\\s+").join("\\s"),u=c++;o(e,u,t),s[e]=u,i[u]=t,n[u]=new RegExp(t,r?"g":void 0),l[u]=new RegExp(a,r?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),u("FULL",`^${i[s.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),u("LOOSE",`^${i[s.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),u("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),u("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),u("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${a}})(?:\\.(\\d{1,${a}}))?(?:\\.(\\d{1,${a}}))?(?:$|[^\\d])`),u("COERCERTL",i[s.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",u("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",u("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},8118:(e,t,r)=>{const a=r(2051);e.exports=(e,t,r)=>a(e,t,">",r)},7445:(e,t,r)=>{const a=r(3538);e.exports=(e,t,r)=>(e=new a(e,r),t=new a(t,r),e.intersects(t,r))},382:(e,t,r)=>{const a=r(2051);e.exports=(e,t,r)=>a(e,t,"<",r)},3912:(e,t,r)=>{const a=r(8693),o=r(3538);e.exports=(e,t,r)=>{let n=null,l=null,i=null;try{i=new o(t,r)}catch(e){return null}return e.forEach((e=>{i.test(e)&&(n&&-1!==l.compare(e)||(n=e,l=new a(n,r)))})),n}},887:(e,t,r)=>{const a=r(8693),o=r(3538);e.exports=(e,t,r)=>{let n=null,l=null,i=null;try{i=new o(t,r)}catch(e){return null}return e.forEach((e=>{i.test(e)&&(n&&1!==l.compare(e)||(n=e,l=new a(n,r)))})),n}},7124:(e,t,r)=>{const a=r(8693),o=r(3538),n=r(8586);e.exports=(e,t)=>{e=new o(e,t);let r=new a("0.0.0");if(e.test(r))return r;if(r=new a("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t{const t=new a(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":l&&!n(t,l)||(l=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!l||r&&!n(r,l)||(r=l)}return r&&e.test(r)?r:null}},2051:(e,t,r)=>{const a=r(8693),o=r(9079),{ANY:n}=o,l=r(3538),i=r(4938),s=r(8586),c=r(8546),u=r(6123),p=r(3408);e.exports=(e,t,r,d)=>{let m,f,h,b,g;switch(e=new a(e,d),t=new l(t,d),r){case">":m=s,f=u,h=c,b=">",g=">=";break;case"<":m=c,f=p,h=s,b="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(e,t,d))return!1;for(let r=0;r{e.semver===n&&(e=new o(">=0.0.0")),l=l||e,i=i||e,m(e.semver,l.semver,d)?l=e:h(e.semver,i.semver,d)&&(i=e)})),l.operator===b||l.operator===g)return!1;if((!i.operator||i.operator===b)&&f(e,i.semver))return!1;if(i.operator===g&&h(e,i.semver))return!1}return!0}},9282:(e,t,r)=>{const a=r(4938),o=r(256);e.exports=(e,t,r)=>{const n=[];let l=null,i=null;const s=e.sort(((e,t)=>o(e,t,r)));for(const e of s){a(e,t,r)?(i=e,l||(l=e)):(i&&n.push([l,i]),i=null,l=null)}l&&n.push([l,null]);const c=[];for(const[e,t]of n)e===t?c.push(e):t||e!==s[0]?t?e===s[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return u.length{const a=r(3538),o=r(9079),{ANY:n}=o,l=r(4938),i=r(256),s=[new o(">=0.0.0-0")],c=[new o(">=0.0.0")],u=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===n){if(1===t.length&&t[0].semver===n)return!0;e=r.includePrerelease?s:c}if(1===t.length&&t[0].semver===n){if(r.includePrerelease)return!0;t=c}const a=new Set;let o,u,m,f,h,b,g;for(const t of e)">"===t.operator||">="===t.operator?o=p(o,t,r):"<"===t.operator||"<="===t.operator?u=d(u,t,r):a.add(t.semver);if(a.size>1)return null;if(o&&u){if(m=i(o.semver,u.semver,r),m>0)return null;if(0===m&&(">="!==o.operator||"<="!==u.operator))return null}for(const e of a){if(o&&!l(e,String(o),r))return null;if(u&&!l(e,String(u),r))return null;for(const a of t)if(!l(e,String(a),r))return!1;return!0}let k=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver,E=!(!o||r.includePrerelease||!o.semver.prerelease.length)&&o.semver;k&&1===k.prerelease.length&&"<"===u.operator&&0===k.prerelease[0]&&(k=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,b=b||"<"===e.operator||"<="===e.operator,o)if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),">"===e.operator||">="===e.operator){if(f=p(o,e,r),f===e&&f!==o)return!1}else if(">="===o.operator&&!l(o.semver,String(e),r))return!1;if(u)if(k&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===k.major&&e.semver.minor===k.minor&&e.semver.patch===k.patch&&(k=!1),"<"===e.operator||"<="===e.operator){if(h=d(u,e,r),h===e&&h!==u)return!1}else if("<="===u.operator&&!l(u.semver,String(e),r))return!1;if(!e.operator&&(u||o)&&0!==m)return!1}return!(o&&b&&!u&&0!==m)&&(!(u&&g&&!o&&0!==m)&&(!E&&!k))},p=(e,t,r)=>{if(!e)return t;const a=i(e.semver,t.semver,r);return a>0?e:a<0||">"===t.operator&&">="===e.operator?t:e},d=(e,t,r)=>{if(!e)return t;const a=i(e.semver,t.semver,r);return a<0?e:a>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new a(e,r),t=new a(t,r);let o=!1;e:for(const a of e.set){for(const e of t.set){const t=u(a,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},5559:(e,t,r)=>{const a=r(3538);e.exports=(e,t)=>new a(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},3228:(e,t,r)=>{const a=r(3538);e.exports=(e,t)=>{try{return new a(e,t).range||"*"}catch(e){return null}}},6975:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var a=r(1128);const o=r.n(a)()("dops:analytics");let n,l;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const i={initialize:function(e,t,r){i.setUser(e,t),i.setSuperProps(r),i.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){l={ID:e,username:t}},setSuperProps:function(e){n=e},assignSuperProps:function(e){n=Object.assign(n||{},e)},mc:{bumpStat:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Bumping stats %o",e)}else r="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Bumping stat "%s" in group "%s"',t,e);return r}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+r+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Built stats %o",e)}else r="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Built stat "%s" in group "%s"',t,e);return r}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+r+"&t="+Math.random())}},pageView:{record:function(e,t){i.tracks.recordPageView(e),i.ga.recordPageView(e,t)}},purchase:{record:function(e,t,r,a,o,n,l){i.ga.recordPurchase(e,t,r,a,o,n,l)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(n&&(o("- Super Props: %o",n),t=Object.assign(t,n)),o('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):o('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};i.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){i.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){o("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};i.ga.initialized||(l&&(e={userId:"u-"+l.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),i.ga.initialized=!0)},recordPageView:function(e,t){i.ga.initialize(),o("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,r,a){i.ga.initialize();let n="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==r&&(n+=" [Option Label: "+r+"]"),void 0!==a&&(n+=" [Option Value: "+a+"]"),o(n),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,r,a)},recordPurchase:function(e,t,r,a,o,n,l){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:a,currency:l}),window.ga("ecommerce:addItem",{id:e,name:t,sku:r,price:o,quantity:n}),window.ga("ecommerce:send")}},identifyUser:function(){l&&window._tkq.push(["identifyUser",l.ID,l.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},s=i},3419:(e,t,r)=>{"use strict";r.d(t,{OZ:()=>n.Z,Pb:()=>a.Z,T:()=>l.Z,Ug:()=>o.Ug,Wp:()=>o.Wp,_D:()=>i._D});var a=r(148),o=r(9505),n=r(8052),l=(r(6714),r(354)),i=r(5404);r(1053),r(1380),r(6342)},6342:(e,t,r)=>{"use strict";r(9196)},148:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});const a="Jetpack_Editor_Initial_State";function o(){return"object"==typeof window?window?.[a]??null:null}},8052:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var a=r(148);function o(e){const t=(0,a.Z)(),r=t?.available_blocks?.[e]?.available??!1,o=t?.available_blocks?.[e]?.unavailable_reason??"unknown";return{available:r,...!r&&{details:t?.available_blocks?.[e]?.details??[],unavailableReason:o}}}},1053:(e,t,r)=>{"use strict";var a=r(6975);r(9307);const{tracks:o}=a.Z,{recordEvent:n}=o},1380:(e,t,r)=>{"use strict";r(6989),r(9307)},5404:(e,t,r)=>{"use strict";r.d(t,{_D:()=>o});var a=r(5736);r(6483),r(2819);const __=a.__;function o(e,t){return"missing_plan"===e&&t.required_plan}__("Upgrade your plan to use video covers","jetpack-forms"),__("Upgrade your plan to upload audio","jetpack-forms")},6714:(e,t,r)=>{"use strict";r(8817)},9505:(e,t,r)=>{"use strict";function a(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function o(){return"simple"===a()}function n(){return"atomic"===a()}r.d(t,{Ug:()=>n,Wp:()=>o})},354:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var a=r(2674),o=r.n(a),n=r(4333);const l=e=>(0,n.createHigherOrderComponent)((t=>r=>React.createElement(t,o()({},r,{className:r.name===e?"has-warning is-interactive":r.className}))),"withHasWarningIsInteractiveClassNames")},8003:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var a=r(5736);const o={subject:{type:"string"},to:{type:"string"},customThankyou:{type:"string",default:""},customThankyouHeading:{type:"string",default:(0,a.__)("Your message has been sent","jetpack-forms")},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},jetpackCRM:{type:"boolean",default:!0},formTitle:{type:"string",default:""},salesforceData:{type:"object",default:{organizationId:"",sendToSalesforce:!1}}}},348:(e,t,r)=>{"use strict";r.d(t,{N:()=>w});var a=r(2175),o=r(4981),n=r(5609),l=r(9307),i=r(5736),s=r(2819),c=r(9775),u=r(1157),p=r(2304),d=r(3548),m=r(655),f=r(3616),h=r(3059),b=r(3644),g=r(7155),k=r(4697);const __=i.__,_x=i._x,E={category:"contact-form",supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},requiredText:{type:"string"},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""},width:{type:"number",default:100},borderRadius:{type:"number",default:""},borderWidth:{type:"number",default:""},labelFontSize:{type:"string"},fieldFontSize:{type:"string"},lineHeight:{type:"number"},labelLineHeight:{type:"number"},inputColor:{type:"string"},labelColor:{type:"string"},fieldBackgroundColor:{type:"string"},buttonBackgroundColor:{type:"string"},buttonBorderRadius:{type:"number",default:""},buttonBorderWidth:{type:"number",default:""},borderColor:{type:"string"},shareFieldAttributes:{type:"boolean",default:!0}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],transform:e=>(0,o.createBlock)("jetpack/field-text",e)},{type:"block",blocks:["jetpack/field-name"],transform:e=>(0,o.createBlock)("jetpack/field-name",e)},{type:"block",blocks:["jetpack/field-email"],transform:e=>(0,o.createBlock)("jetpack/field-email",e)},{type:"block",blocks:["jetpack/field-url"],transform:e=>(0,o.createBlock)("jetpack/field-url",e)},{type:"block",blocks:["jetpack/field-date"],transform:e=>(0,o.createBlock)("jetpack/field-date",e)},{type:"block",blocks:["jetpack/field-telephone"],transform:e=>(0,o.createBlock)("jetpack/field-telephone",e)},{type:"block",blocks:["jetpack/field-textarea"],transform:e=>(0,o.createBlock)("jetpack/field-textarea",e)},{type:"block",blocks:["jetpack/field-checkbox-multiple"],transform:(e,t)=>{let r=[];if((0,s.isEmpty)(t))e.options?.length&&(r=(0,s.map)(e.options,(e=>(0,o.createBlock)("jetpack/field-option-checkbox",{label:e,fieldType:"checkbox"}))));else{const e=(0,s.filter)(t,(e=>{let{name:t}=e;return(0,s.startsWith)(t,"jetpack/field-option")}));r=(0,s.map)(e,(e=>(0,o.createBlock)("jetpack/field-option-checkbox",{label:e.attributes.label,fieldType:"checkbox"})))}return(0,o.createBlock)("jetpack/field-checkbox-multiple",e,r)}},{type:"block",blocks:["jetpack/field-radio"],transform:(e,t)=>{let r=[];if((0,s.isEmpty)(t))e.options?.length&&(r=(0,s.map)(e.options,(e=>(0,o.createBlock)("jetpack/field-option-radio",{label:e,fieldType:"radio"}))));else{const e=(0,s.filter)(t,(e=>{let{name:t}=e;return(0,s.startsWith)(t,"jetpack/field-option")}));r=(0,s.map)(e,(e=>(0,o.createBlock)("jetpack/field-option-radio",{label:e.attributes.label,fieldType:"radio"})))}return(0,o.createBlock)("jetpack/field-radio",e,r)}},{type:"block",blocks:["jetpack/field-select"],transform:(e,t)=>{if(!(0,s.isEmpty)(t)){const r=(0,s.filter)(t,(e=>{let{name:t}=e;return(0,s.startsWith)(t,"jetpack/field-option")}));e.options=(0,s.map)(r,(e=>e.attributes.label))}return e.options=e.options?.length?e.options:[""],(0,o.createBlock)("jetpack/field-select",e)}},{type:"block",blocks:["jetpack/field-consent"],transform:e=>(0,o.createBlock)("jetpack/field-consent",e)},{type:"block",blocks:["jetpack/field-checkbox"],transform:e=>(0,o.createBlock)("jetpack/field-checkbox",e)}]},save:()=>null,example:{}},C={category:"contact-form",edit:f.G,attributes:{label:{type:"string"},fieldType:{enum:["checkbox","radio"],default:"checkbox"}},supports:{reusable:!1,html:!1}},v=e=>({attributes:{...E.attributes,label:{type:"string",default:"checkbox"===e?"Choose several options":"Choose one option"}},migrate:t=>{const r=`jetpack/field-option-${e}`,a=(0,s.filter)(t.options,(e=>!(0,s.isEmpty)((0,s.trim)(e)))),n=(0,s.map)(a,(e=>(0,o.createBlock)(r,{label:e})));return t.options=[],[t,n]},isEligible:e=>e.options&&(0,s.filter)(e.options,(e=>!(0,s.isEmpty)((0,s.trim)(e)))).length,save:()=>null}),R=e=>{let{attributes:t,name:r}=e;return null===t.label?(0,o.getBlockType)(r).title:t.label},j=e=>t=>((0,g.mo)(t),React.createElement(c.Z,{clientId:t.clientId,type:e,label:R(t),required:t.attributes.required,requiredText:t.attributes.requiredText,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id,width:t.attributes.width,attributes:t.attributes})),y=e=>t=>((0,g.mo)(t),React.createElement(m.Z,{className:t.className,clientId:t.clientId,label:R(t),required:t.attributes.required,requiredText:t.attributes.requiredText,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id,width:t.attributes.width,attributes:t.attributes})),w=[{name:"field-text",settings:{...E,title:__("Text Input Field","jetpack-forms"),description:__("Collect short text responses from site visitors.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),d:"M12 7H4V8.5H12V7ZM19.75 17.25V10.75H4.25V17.25H19.75ZM5.75 15.75V12.25H18.25V15.75H5.75Z"})),edit:j("text"),attributes:{...E.attributes,label:{type:"string",default:"Text"}}}},{name:"field-name",settings:{...E,title:__("Name Field","jetpack-forms"),description:__("Collect the site visitor’s name.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),d:"M8.25 11.5C9.63071 11.5 10.75 10.3807 10.75 9C10.75 7.61929 9.63071 6.5 8.25 6.5C6.86929 6.5 5.75 7.61929 5.75 9C5.75 10.3807 6.86929 11.5 8.25 11.5ZM8.25 10C8.80228 10 9.25 9.55228 9.25 9C9.25 8.44772 8.80228 8 8.25 8C7.69772 8 7.25 8.44772 7.25 9C7.25 9.55228 7.69772 10 8.25 10ZM13 15.5V17.5H11.5V15.5C11.5 14.8096 10.9404 14.25 10.25 14.25H6.25C5.55964 14.25 5 14.8096 5 15.5V17.5H3.5V15.5C3.5 13.9812 4.73122 12.75 6.25 12.75H10.25C11.7688 12.75 13 13.9812 13 15.5ZM20.5 11H14.5V9.5H20.5V11ZM20.5 14.5H14.5V13H20.5V14.5Z"})),edit:j("text"),attributes:{...E.attributes,label:{type:"string",default:"Name"}}}},{name:"field-email",settings:{...E,title:__("Email Field","jetpack-forms"),keywords:[__("e-mail","jetpack-forms"),__("mail","jetpack-forms"),"email"],description:__("Collect email addresses from your visitors.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),fillRule:"evenodd",d:"M5.5 8.41665V16C5.5 16.2761 5.72386 16.5 6 16.5H18C18.2761 16.5 18.5 16.2761 18.5 16V8.41633L11.9998 13.9879L5.5 8.41665ZM17.2642 7.5H6.73546L11.9998 12.0123L17.2642 7.5ZM6 6C4.89543 6 4 6.89543 4 8V16C4 17.1046 4.89543 18 6 18H18C19.1046 18 20 17.1046 20 16V8C20 6.89543 19.1046 6 18 6H6Z"})),edit:j("email"),attributes:{...E.attributes,label:{type:"string",default:"Email"}}}},{name:"field-url",settings:{...E,title:__("URL Field","jetpack-forms"),keywords:["url",__("internet page","jetpack-forms"),"link"],description:__("Collect a website address from your site visitors.","jetpack-forms"),icon:(0,k.Z)(React.createElement(React.Fragment,null,React.createElement(n.Path,{fill:(0,b.m)(),d:"M4.47118 8.5H3V12.9489C3 14.4653 4.14479 15.5 5.94723 15.5C7.74479 15.5 8.88958 14.4653 8.88958 12.9489V8.5H7.4184V12.8059C7.4184 13.688 6.88742 14.265 5.94723 14.265C5.00216 14.265 4.47118 13.688 4.47118 12.8059V8.5Z"}),React.createElement(n.Path,{fill:(0,b.m)(),d:"M11.5348 9.62534H12.7867C13.5175 9.62534 13.9754 10.0545 13.9754 10.7221C13.9754 11.404 13.5418 11.8188 12.8014 11.8188H11.5348V9.62534ZM11.5348 12.8631H12.7137L14.0241 15.3808H15.6901L14.2092 12.6485C15.0179 12.3386 15.4855 11.5756 15.4855 10.6935C15.4855 9.33447 14.5599 8.5 12.9426 8.5H10.0636V15.3808H11.5348V12.8631Z"}),React.createElement(n.Path,{fill:(0,b.m)(),d:"M21 14.1887H17.9261V8.5H16.4549V15.3808H21V14.1887Z"}))),edit:j("url"),attributes:{...E.attributes,label:{type:"string",default:"URL"}}}},{name:"field-date",settings:{...E,title:__("Date Picker","jetpack-forms"),keywords:[__("Calendar","jetpack-forms"),_x("day month year","block search term","jetpack-forms")],description:__("Capture date information with a date picker.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),fillRule:"evenodd",d:"M4.5 7H19.5V19C19.5 19.2761 19.2761 19.5 19 19.5H5C4.72386 19.5 4.5 19.2761 4.5 19V7ZM3 5V7V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V7V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5ZM11 9.25H7V13.25H11V9.25Z"})),edit:j("text"),attributes:{...E.attributes,label:{type:"string",default:"Date"}}}},{name:"field-telephone",settings:{...E,title:__("Phone Number Field","jetpack-forms"),keywords:[__("Phone","jetpack-forms"),__("Cellular phone","jetpack-forms"),__("Mobile","jetpack-forms")],description:__("Collect phone numbers from site visitors.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),fillRule:"evenodd",d:"M9 5.5H15C15.2761 5.5 15.5 5.72386 15.5 6V18C15.5 18.2761 15.2761 18.5 15 18.5H9C8.72386 18.5 8.5 18.2761 8.5 18V6C8.5 5.72386 8.72386 5.5 9 5.5ZM7 6C7 4.89543 7.89543 4 9 4H15C16.1046 4 17 4.89543 17 6V18C17 19.1046 16.1046 20 15 20H9C7.89543 20 7 19.1046 7 18V6ZM13 16H11V17.5H13V16Z"})),edit:j("tel"),attributes:{...E.attributes,label:{type:"string",default:"Phone"}}}},{name:"field-textarea",settings:{...E,title:__("Multi-line Text Field","jetpack-forms"),keywords:[__("Textarea","jetpack-forms"),"textarea",__("Multiline text","jetpack-forms")],description:__("Capture longform text responses from site visitors.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),d:"M20 5H4V6.5H20V5ZM5.5 11.5H18.5V18.5H5.5V11.5ZM20 20V10H4V20H20Z"})),edit:e=>((0,g.mo)(e),React.createElement(h.Z,{clientId:e.clientId,label:e.attributes.label,required:e.attributes.required,requiredText:e.attributes.requiredText,attributes:e.attributes,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id,width:e.attributes.width})),attributes:{...E.attributes}}},{name:"field-checkbox",settings:{...E,title:__("Checkbox","jetpack-forms"),keywords:[__("Confirm","jetpack-forms"),__("Accept","jetpack-forms")],description:__("Confirm or select information with a single checkbox.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),fillRule:"evenodd",d:"M6.125 6H17.875C17.944 6 18 6.05596 18 6.125V17.875C18 17.944 17.944 18 17.875 18H6.125C6.05596 18 6 17.944 6 17.875V6.125C6 6.05596 6.05596 6 6.125 6ZM4.5 6.125C4.5 5.22754 5.22754 4.5 6.125 4.5H17.875C18.7725 4.5 19.5 5.22754 19.5 6.125V17.875C19.5 18.7725 18.7725 19.5 17.875 19.5H6.125C5.22754 19.5 4.5 18.7725 4.5 17.875V6.125ZM10.5171 16.4421L16.5897 8.71335L15.4103 7.78662L10.4828 14.0579L8.57616 11.7698L7.42383 12.7301L10.5171 16.4421Z"})),edit:e=>((0,g.mo)(e),React.createElement(u.Z,{clientId:e.clientId,label:e.attributes.label,required:e.attributes.required,requiredText:e.attributes.requiredText,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id,width:e.attributes.width,attributes:e.attributes})),attributes:{...E.attributes,label:{type:"string",default:""}}}},{name:"field-consent",settings:{...E,title:__("Terms Consent","jetpack-forms"),keywords:[__("Consent","jetpack-forms")],description:__("Communicate site terms and offer visitors consent to those terms.","jetpack-forms"),icon:(0,k.Z)(React.createElement(React.Fragment,null,React.createElement(n.Path,{fill:(0,b.m)(),d:"M7 5.5H17C17.2761 5.5 17.5 5.72386 17.5 6V13H19V6C19 4.89543 18.1046 4 17 4H7C5.89543 4 5 4.89543 5 6V18C5 19.1046 5.89543 20 7 20H11.5V18.5H7C6.72386 18.5 6.5 18.2761 6.5 18V6C6.5 5.72386 6.72386 5.5 7 5.5ZM16 7.75H8V9.25H16V7.75ZM8 11H13V12.5H8V11Z"}),React.createElement(n.Path,{fill:(0,b.m)(),d:"M20.1087 15.9382L15.9826 21.6689L12.959 18.5194L14.0411 17.4806L15.8175 19.331L18.8914 15.0618L20.1087 15.9382Z"}))),attributes:{...E.attributes,label:{type:"string",default:__("Consent","jetpack-forms")},consentType:{type:"string",default:"implicit"},implicitConsentMessage:{type:"string",default:__("By submitting your information, you're giving us permission to email you. You may unsubscribe at any time.","jetpack-forms")},explicitConsentMessage:{type:"string",default:__("Can we send you an email from time to time?","jetpack-forms")}},edit:e=>{let{attributes:t,clientId:r,isSelected:a,name:o,setAttributes:n}=e;(0,g.mo)({attributes:t,clientId:r,name:o});const{id:l,width:i,consentType:s,implicitConsentMessage:c,explicitConsentMessage:u}=t;return React.createElement(p.Z,{clientId:r,id:l,isSelected:a,width:i,consentType:s,implicitConsentMessage:c,explicitConsentMessage:u,setAttributes:n,attributes:t})}}},{name:"field-option-checkbox",settings:{...C,parent:["jetpack/field-checkbox-multiple"],title:__("Multiple Choice Option","jetpack-forms"),icon:(0,k.Z)(React.createElement(React.Fragment,null,React.createElement(n.Path,{d:"M5.5 10.5H8.5V13.5H5.5V10.5ZM8.5 9H5.5C4.67157 9 4 9.67157 4 10.5V13.5C4 14.3284 4.67157 15 5.5 15H8.5C9.32843 15 10 14.3284 10 13.5V10.5C10 9.67157 9.32843 9 8.5 9ZM12 12.75H20V11.25H12V12.75Z",fill:(0,b.m)()})))}},{name:"field-option-radio",settings:{...C,parent:["jetpack/field-radio"],title:__("Single Choice Option","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{d:"M7.5 13.5C6.67157 13.5 6 12.8284 6 12C6 11.1716 6.67157 10.5 7.5 10.5C8.32843 10.5 9 11.1716 9 12C9 12.8284 8.32843 13.5 7.5 13.5ZM4.5 12C4.5 13.6569 5.84315 15 7.5 15C9.15685 15 10.5 13.6569 10.5 12C10.5 10.3431 9.15685 9 7.5 9C5.84315 9 4.5 10.3431 4.5 12ZM12.5 12.75H20.5V11.25H12.5V12.75Z",fill:(0,b.m)()}))}},{name:"field-checkbox-multiple",settings:{...E,title:__("Multiple Choice (Checkbox)","jetpack-forms"),keywords:[__("Choose Multiple","jetpack-forms"),__("Option","jetpack-forms")],description:__("Offer users a list of choices, and allow them to select multiple options.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),d:"M7.0812 10.1419L10.6001 5.45005L9.40006 4.55005L6.91891 7.85824L5.53039 6.46972L4.46973 7.53038L7.0812 10.1419ZM12 8.5H20V7H12V8.5ZM12 17H20V15.5H12V17ZM8.5 14.5H5.5V17.5H8.5V14.5ZM5.5 13H8.5C9.32843 13 10 13.6716 10 14.5V17.5C10 18.3284 9.32843 19 8.5 19H5.5C4.67157 19 4 18.3284 4 17.5V14.5C4 13.6716 4.67157 13 5.5 13Z"})),edit:y("checkbox"),save:()=>React.createElement(a.InnerBlocks.Content,null),attributes:{...E.attributes,label:{type:"string",default:"Choose several options"}},styles:[{name:"list",label:"List",isDefault:!0},{name:"button",label:"Button"}],deprecated:[v("checkbox")]}},{name:"field-radio",settings:{...E,title:__("Single Choice (Radio)","jetpack-forms"),keywords:[__("Choose","jetpack-forms"),__("Select","jetpack-forms"),__("Option","jetpack-forms")],description:__("Offer users a list of choices, and allow them to select a single option.","jetpack-forms"),icon:(0,k.Z)(React.createElement(l.Fragment,null,React.createElement(n.Path,{fill:(0,b.m)(),d:"M4 7.75C4 9.40685 5.34315 10.75 7 10.75C8.65685 10.75 10 9.40685 10 7.75C10 6.09315 8.65685 4.75 7 4.75C5.34315 4.75 4 6.09315 4 7.75ZM20 8.5H12V7H20V8.5ZM20 17H12V15.5H20V17ZM7 17.75C6.17157 17.75 5.5 17.0784 5.5 16.25C5.5 15.4216 6.17157 14.75 7 14.75C7.82843 14.75 8.5 15.4216 8.5 16.25C8.5 17.0784 7.82843 17.75 7 17.75ZM4 16.25C4 17.9069 5.34315 19.25 7 19.25C8.65685 19.25 10 17.9069 10 16.25C10 14.5931 8.65685 13.25 7 13.25C5.34315 13.25 4 14.5931 4 16.25Z"}))),edit:y("radio"),save:()=>React.createElement(a.InnerBlocks.Content,null),attributes:{...E.attributes,label:{type:"string",default:"Choose one option"}},styles:[{name:"list",label:"List",isDefault:!0},{name:"button",label:"Button"}],deprecated:[v("radio")]}},{name:"field-select",settings:{...E,title:__("Dropdown Field","jetpack-forms"),keywords:[__("Choose","jetpack-forms"),__("Dropdown","jetpack-forms"),__("Option","jetpack-forms")],description:__("Add a compact select box, that when expanded, allows visitors to choose one value from the list.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),d:"M5 4.5H19C19.2761 4.5 19.5 4.72386 19.5 5V19C19.5 19.2761 19.2761 19.5 19 19.5H5C4.72386 19.5 4.5 19.2761 4.5 19V5C4.5 4.72386 4.72386 4.5 5 4.5ZM19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3ZM8.93582 10.1396L8.06396 11.3602L11.9999 14.1716L15.9358 11.3602L15.064 10.1396L11.9999 12.3283L8.93582 10.1396Z"})),edit:d.Z,attributes:{...E.attributes,toggleLabel:{type:"string",default:null},options:{type:"array",default:[""]}}}}]},1275:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var a=r(2674),o=r.n(a),n=r(5235),l=r.n(n),i=r(3139);const s=e=>{let{children:t=null,isError:r=!1,...a}=e;const n=l()("help-message",{"help-message-is-error":r});return t&&React.createElement("div",o()({className:n},a),r&&React.createElement(i.Z,{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),React.createElement("span",null,t))}},6556:(e,t,r)=>{"use strict";function a(e){let{children:t}=e;return React.createElement("p",{style:{color:"rgba( 117, 117, 117, 1 )",marginBottom:"24px"}},t)}r.d(t,{Z:()=>a})},8440:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var a=r(5609),o=r(9307),n=r(5736);const __=n.__,l=e=>{let{error:t}=e;return React.createElement(a.Notice,{isDismissible:!1,status:"error"},(0,o.createInterpolateElement)(__('The CRM Jetpack Form extension failed to activate. The error message was "".',"jetpack-forms"),{error:React.createElement("span",null,t)}))}},8919:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var a=r(6989),o=r.n(a),n=r(5609),l=r(5736),i=r(8440);const __=l.__,s=e=>{let{isActivatingExt:t,setIsActivatingExt:r,extActivationError:a,setExtActivationError:l,crmData:s,setCRMData:c}=e;const u=((e,t,r,a)=>()=>{t(void 0),e(!0),o()({path:"/jetpack/v4/jetpack_crm",method:"POST",data:{extension:"jetpackforms"}}).then((e=>{if("success"!==e.code)throw new Error(e.code);const t=Object.assign({},r);t.jp_form_ext_enabled=!0,a(t)})).catch((e=>{t(e.message)})).finally((()=>{e(!1)}))})(r,l,s,c);return t?React.createElement(n.Spinner,null):a?React.createElement(i.Z,{error:a}):React.createElement(n.Button,{variant:"secondary",onClick:u},__("Enable Jetpack Forms Extension","jetpack-forms"))},c=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("A site administrator must enable the CRM Jetpack Forms extension.","jetpack-forms")),u=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("You can integrate this contact form with Jetpack CRM by enabling Jetpack CRM's Jetpack Forms extension.","jetpack-forms")),p=e=>{let{isActivatingExt:t,setIsActivatingExt:r,extActivationError:a,setExtActivationError:o,crmData:n,setCRMData:l}=e;return n.can_activate_extension?React.createElement("div",null,React.createElement(u,null),React.createElement("br",null),React.createElement(s,{isActivatingExt:t,setIsActivatingExt:r,extActivationError:a,setExtActivationError:o,crmData:n,setCRMData:l})):React.createElement(c,null)}},7336:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var a=r(5609),o=r(9307),n=r(5736),l=r(5589),i=r.n(l),s=r(9289),c=r(8919);const __=n.__,u=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),p=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("The Jetpack CRM plugin is installed but has an invalid version.","jetpack-forms")),d=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("Please update to the latest version of the Jetpack CRM plugin to integrate your contact form with your CRM.","jetpack-forms")),m=e=>{let{isActivating:t}=e;const r=t?__("Activating…","jetpack-forms"):__("Installing…","jetpack-forms",0);return React.createElement(a.Button,{variant:"secondary",icon:React.createElement(a.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":r},r)},f=e=>{let{installAndActivateCRMPlugin:t,isInstalling:r}=e,o=React.createElement(a.Button,{variant:"secondary",onClick:t},__("Install Jetpack CRM","jetpack-forms"));return r&&(o=React.createElement(m,null)),React.createElement("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},React.createElement("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("You can save contacts from Jetpack contact forms in Jetpack CRM.","jetpack-forms"),React.createElement("br",null),o))},h=e=>{let{activateCRMPlugin:t,isInstalling:r}=e;return React.createElement("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},React.createElement("em",null,__("You already have the Jetpack CRM plugin installed, but it’s not activated.","jetpack-forms")),React.createElement("br",null),r&&React.createElement(m,{isActivating:!0}),!r&&React.createElement(a.Button,{variant:"secondary",onClick:t},__("Activate the Jetpack CRM plugin","jetpack-forms")))},b=e=>{let{crmData:t,setCRMData:r,jetpackCRM:n,setAttributes:l}=e;const[s,u]=(0,o.useState)(!1),[p,d]=(0,o.useState)(!1);return t.jp_form_ext_enabled?i().satisfies(i().coerce(t.crm_version),"3.0.19 - 4.0.0")?React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("Contacts from this form will be stored in Jetpack CRM.","jetpack-forms")):React.createElement(a.ToggleControl,{className:"jetpack-contact-form__crm_toggle",label:__("Jetpack CRM","jetpack-forms"),checked:n,onChange:e=>l({jetpackCRM:e}),help:__("Store contact form submissions in your CRM.","jetpack-forms")}):React.createElement(c.Z,{isActivatingExt:s,setIsActivatingExt:u,extActivationError:p,setExtActivationError:d,crmData:t,setCRMData:r})},g=e=>{let{crmData:t,setCRMData:r,jetpackCRM:a,setAttributes:o,onCRMPluginClick:n,isInstalling:l}=e;const c=i().coerce(t.crm_version);if(t.crm_installed&&!c)return React.createElement(p,null);if(t.crm_installed&&i().lt(c,"4.9.1"))return React.createElement(d,null);let m=u.NOT_INSTALLED;return t.crm_active?m=u.ACTIVE:t.crm_installed&&(m=u.INSTALLED),React.createElement("div",{"aria-live":"polite"},u.ACTIVE===m&&React.createElement(b,{crmData:t,setCRMData:r,jetpackCRM:a,setAttributes:o}),u.INSTALLED===m&&React.createElement(h,{activateCRMPlugin:()=>n(s.bu,"zero-bs-crm/ZeroBSCRM"),isInstalling:l}),u.NOT_INSTALLED===m&&React.createElement(f,{installAndActivateCRMPlugin:()=>n(s.yX,"zero-bs-crm"),isInstalling:l}))}},7871:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var a=r(6989),o=r.n(a),n=r(5609),l=r(9307),i=r(7336);const s=(e,t,r)=>{o()({path:"/jetpack/v4/jetpack_crm"}).then((r=>{if(r.error)throw r.message;e(!1),t(r)})).catch((()=>e(!0))).finally((()=>r(!1)))},c=e=>{let{jetpackCRM:t,setAttributes:r}=e;const[a,o]=(0,l.useState)(!0),[c,u]=(0,l.useState)(!1),[p,d]=(0,l.useState)(),[m,f]=(0,l.useState)(!1),h=(0,l.useCallback)(((e,t)=>{f(!0),e(t).catch((()=>{u(!0)})).finally((()=>{f(!1),o(!0),s(u,d,o)}))}),[f,u,o]);return(0,l.useEffect)((()=>{s(u,d,o)}),[]),a?React.createElement(n.Spinner,null):c?null:React.createElement(i.Z,{crmData:p,setCRMData:d,jetpackCRM:t,setAttributes:r,onCRMPluginClick:h,isInstalling:m})},u=e=>{let{jetpackCRM:t,setAttributes:r}=e;return React.createElement(n.BaseControl,null,React.createElement(c,{jetpackCRM:t,setAttributes:r}))}},58:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var a=r(5609),o=r(9307),n=r(5736),l=r(2384),i=r(1275),s=r(6556);const __=n.__,c=e=>{let{emailAddress:t="",emailSubject:r="",instanceId:c,setAttributes:u,postAuthorEmail:p}=e;const[d,m]=(0,o.useState)(!1),f=e=>0!==(e=e.trim()).length&&(!l.validate(e)&&{email:e});return React.createElement(React.Fragment,null,React.createElement(s.Z,null,__("Get incoming form responses sent to your email inbox:","jetpack-forms")),React.createElement(a.TextControl,{"aria-describedby":`contact-form-${c}-email-${d&&d.length>0?"error":"help"}`,label:__("Email address to send to","jetpack-forms"),placeholder:__("name@example.com","jetpack-forms"),onKeyDown:e=>{"Enter"===event.key&&(e.preventDefault(),e.stopPropagation())},value:t,onBlur:e=>{if(0===e.target.value.length)return m(!1),void u({to:p});const t=e.target.value.split(",").map(f).filter(Boolean);t&&t.length&&m(t)},onChange:e=>{m(!1),u({to:e.trim()})},help:__("You can enter multiple email addresses separated by commas.","jetpack-forms")}),React.createElement(i.Z,{isError:!0,id:`contact-form-${c}-email-error`},(()=>{if(d){if(1===d.length)return d[0]&&d[0].email?(0,n.sprintf)(/* translators: placeholder is an email address. */ +(()=>{var e={5235:(e,t)=>{var r;!function(){"use strict";var a={}.hasOwnProperty;function o(){for(var e=[],t=0;t{"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!r.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},2746:(e,t,r)=>{"use strict";const a=r(7811),o=Symbol("max"),n=Symbol("length"),l=Symbol("lengthCalculator"),i=Symbol("allowStale"),s=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),p=Symbol("lruList"),d=Symbol("cache"),m=Symbol("updateAgeOnGet"),f=()=>1;const h=(e,t,r)=>{const a=e[d].get(t);if(a){const t=a.value;if(b(e,t)){if(k(e,a),!e[i])return}else r&&(e[m]&&(a.value.now=Date.now()),e[p].unshiftNode(a));return t.value}},b=(e,t)=>{if(!t||!t.maxAge&&!e[s])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[s]&&r>e[s]},g=e=>{if(e[n]>e[o])for(let t=e[p].tail;e[n]>e[o]&&null!==t;){const r=t.prev;k(e,t),t=r}},k=(e,t)=>{if(t){const r=t.value;e[c]&&e[c](r.key,r.value),e[n]-=r.length,e[d].delete(r.key),e[p].removeNode(t)}};class E{constructor(e,t,r,a,o){this.key=e,this.value=t,this.length=r,this.now=a,this.maxAge=o||0}}const C=(e,t,r,a)=>{let o=r.value;b(e,o)&&(k(e,r),e[i]||(o=void 0)),o&&t.call(a,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||f;if(this[l]="function"!=typeof t?f:t,this[i]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[s]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[m]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,g(this)}get max(){return this[o]}set allowStale(e){this[i]=!!e}get allowStale(){return this[i]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[s]=e,g(this)}get maxAge(){return this[s]}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[l]&&(this[l]=e,this[n]=0,this[p].forEach((e=>{e.length=this[l](e.value,e.key),this[n]+=e.length}))),g(this)}get lengthCalculator(){return this[l]}get length(){return this[n]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let r=this[p].tail;null!==r;){const a=r.prev;C(this,e,r,t),r=a}}forEach(e,t){t=t||this;for(let r=this[p].head;null!==r;){const a=r.next;C(this,e,r,t),r=a}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){this[c]&&this[p]&&this[p].length&&this[p].forEach((e=>this[c](e.key,e.value))),this[d]=new Map,this[p]=new a,this[n]=0}dump(){return this[p].map((e=>!b(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,t,r){if((r=r||this[s])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const a=r?Date.now():0,i=this[l](t,e);if(this[d].has(e)){if(i>this[o])return k(this,this[d].get(e)),!1;const l=this[d].get(e).value;return this[c]&&(this[u]||this[c](e,l.value)),l.now=a,l.maxAge=r,l.value=t,this[n]+=i-l.length,l.length=i,this.get(e),g(this),!0}const m=new E(e,t,i,a,r);return m.length>this[o]?(this[c]&&this[c](e,t),!1):(this[n]+=m.length,this[p].unshift(m),this[d].set(e,this[p].head),g(this),!0)}has(e){if(!this[d].has(e))return!1;const t=this[d].get(e).value;return!b(this,t)}get(e){return h(this,e,!0)}peek(e){return h(this,e,!1)}pop(){const e=this[p].tail;return e?(k(this,e),e.value):null}del(e){k(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const a=e[r],o=a.e||0;if(0===o)this.set(a.k,a.v);else{const e=o-t;e>0&&this.set(a.k,a.v,e)}}}prune(){this[d].forEach(((e,t)=>h(this,t,!1)))}}},3171:e=>{var t=1e3,r=60*t,a=60*r,o=24*a,n=7*o,l=365.25*o;function i(e,t,r,a){var o=t>=1.5*r;return Math.round(e/r)+" "+a+(o?"s":"")}e.exports=function(e,s){s=s||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!i)return;var s=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*l;case"weeks":case"week":case"w":return s*n;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*a;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===c&&isFinite(e))return s.long?function(e){var n=Math.abs(e);if(n>=o)return i(e,n,o,"day");if(n>=a)return i(e,n,a,"hour");if(n>=r)return i(e,n,r,"minute");if(n>=t)return i(e,n,t,"second");return e+" ms"}(e):function(e){var n=Math.abs(e);if(n>=o)return Math.round(e/o)+"d";if(n>=a)return Math.round(e/a)+"h";if(n>=r)return Math.round(e/r)+"m";if(n>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9079:(e,t,r)=>{const a=Symbol("SemVer ANY");class o{static get ANY(){return a}constructor(e,t){if(t=n(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===a?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?l[i.COMPARATORLOOSE]:l[i.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new u(r[2],this.options.loose):this.semver=a}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===a||e===a)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return s(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):(!(t=n(t)).includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(s(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(s(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))))))}}e.exports=o;const n=r(4916),{safeRe:l,t:i}=r(1037),s=r(6574),c=r(9262),u=r(8693),p=r(3538)},3538:(e,t,r)=>{class a{constructor(e,t){if(t=n(t),e instanceof a)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new a(e.raw,t);if(e instanceof l)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((e=>this.parseRange(e))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!b(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&g(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&f)|(this.options.loose&&h))+":"+e,r=o.get(t);if(r)return r;const a=this.options.loose,n=a?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(n,A(this.options.includePrerelease)),i("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],p),i("comparator trim",e);let s=(e=(e=e.replace(c[u.TILDETRIM],d)).replace(c[u.CARETTRIM],m)).split(" ").map((e=>E(e,this.options))).join(" ").split(/\s+/).map((e=>I(e,this.options)));a&&(s=s.filter((e=>(i("loose invalid filter",e,this.options),!!e.match(c[u.COMPARATORLOOSE]))))),i("range list",s);const g=new Map,k=s.map((e=>new l(e,this.options)));for(const e of k){if(b(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");const C=[...g.values()];return o.set(t,C),C}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Range is required");return this.set.some((r=>k(r,t)&&e.set.some((e=>k(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new s(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,g=e=>""===e.value,k=(e,t)=>{let r=!0;const a=e.slice();let o=a.pop();for(;r&&a.length;)r=a.every((e=>o.intersects(e,t))),o=a.pop();return r},E=(e,t)=>(i("comp",e,t),e=j(e,t),i("caret",e),e=R(e,t),i("tildes",e),e=w(e,t),i("xrange",e),e=S(e,t),i("stars",e),e),C=e=>!e||"x"===e.toLowerCase()||"*"===e,R=(e,t)=>e.trim().split(/\s+/).map((e=>v(e,t))).join(" "),v=(e,t)=>{const r=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(r,((t,r,a,o,n)=>{let l;return i("tilde",e,t,r,a,o,n),C(r)?l="":C(a)?l=`>=${r}.0.0 <${+r+1}.0.0-0`:C(o)?l=`>=${r}.${a}.0 <${r}.${+a+1}.0-0`:n?(i("replaceTilde pr",n),l=`>=${r}.${a}.${o}-${n} <${r}.${+a+1}.0-0`):l=`>=${r}.${a}.${o} <${r}.${+a+1}.0-0`,i("tilde return",l),l}))},j=(e,t)=>e.trim().split(/\s+/).map((e=>y(e,t))).join(" "),y=(e,t)=>{i("caret",e,t);const r=t.loose?c[u.CARETLOOSE]:c[u.CARET],a=t.includePrerelease?"-0":"";return e.replace(r,((t,r,o,n,l)=>{let s;return i("caret",e,t,r,o,n,l),C(r)?s="":C(o)?s=`>=${r}.0.0${a} <${+r+1}.0.0-0`:C(n)?s="0"===r?`>=${r}.${o}.0${a} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${a} <${+r+1}.0.0-0`:l?(i("replaceCaret pr",l),s="0"===r?"0"===o?`>=${r}.${o}.${n}-${l} <${r}.${o}.${+n+1}-0`:`>=${r}.${o}.${n}-${l} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${n}-${l} <${+r+1}.0.0-0`):(i("no pr"),s="0"===r?"0"===o?`>=${r}.${o}.${n}${a} <${r}.${o}.${+n+1}-0`:`>=${r}.${o}.${n}${a} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${n} <${+r+1}.0.0-0`),i("caret return",s),s}))},w=(e,t)=>(i("replaceXRanges",e,t),e.split(/\s+/).map((e=>x(e,t))).join(" ")),x=(e,t)=>{e=e.trim();const r=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(r,((r,a,o,n,l,s)=>{i("xRange",e,r,a,o,n,l,s);const c=C(o),u=c||C(n),p=u||C(l),d=p;return"="===a&&d&&(a=""),s=t.includePrerelease?"-0":"",c?r=">"===a||"<"===a?"<0.0.0-0":"*":a&&d?(u&&(n=0),l=0,">"===a?(a=">=",u?(o=+o+1,n=0,l=0):(n=+n+1,l=0)):"<="===a&&(a="<",u?o=+o+1:n=+n+1),"<"===a&&(s="-0"),r=`${a+o}.${n}.${l}${s}`):u?r=`>=${o}.0.0${s} <${+o+1}.0.0-0`:p&&(r=`>=${o}.${n}.0${s} <${o}.${+n+1}.0-0`),i("xRange return",r),r}))},S=(e,t)=>(i("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),I=(e,t)=>(i("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),A=e=>(t,r,a,o,n,l,i,s,c,u,p,d,m)=>`${r=C(a)?"":C(o)?`>=${a}.0.0${e?"-0":""}`:C(n)?`>=${a}.${o}.0${e?"-0":""}`:l?`>=${r}`:`>=${r}${e?"-0":""}`} ${s=C(c)?"":C(u)?`<${+c+1}.0.0-0`:C(p)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${p}-${d}`:e?`<${c}.${u}.${+p+1}-0`:`<=${s}`}`.trim(),N=(e,t,r)=>{for(let r=0;r0){const a=e[r].semver;if(a.major===t.major&&a.minor===t.minor&&a.patch===t.patch)return!0}return!1}return!0}},8693:(e,t,r)=>{const a=r(9262),{MAX_LENGTH:o,MAX_SAFE_INTEGER:n}=r(581),{safeRe:l,t:i}=r(1037),s=r(4916),{compareIdentifiers:c}=r(3546);class u{constructor(e,t){if(t=s(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);a("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?l[i.LOOSE]:l[i.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[a]&&(this.prerelease[a]++,a=-2);if(-1===a){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let a=[t,e];!1===r&&(a=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=u},881:(e,t,r)=>{const a=r(2323);e.exports=(e,t)=>{const r=a(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},6574:(e,t,r)=>{const a=r(6825),o=r(525),n=r(8586),l=r(3408),i=r(8546),s=r(6123);e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return a(e,r,c);case"!=":return o(e,r,c);case">":return n(e,r,c);case">=":return l(e,r,c);case"<":return i(e,r,c);case"<=":return s(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},6171:(e,t,r)=>{const a=r(8693),o=r(2323),{safeRe:n,t:l}=r(1037);e.exports=(e,t)=>{if(e instanceof a)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let t;for(;(t=n[l.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&t.index+t[0].length===r.index+r[0].length||(r=t),n[l.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;n[l.COERCERTL].lastIndex=-1}else r=e.match(n[l.COERCE]);return null===r?null:o(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},1310:(e,t,r)=>{const a=r(8693);e.exports=(e,t,r)=>{const o=new a(e,r),n=new a(t,r);return o.compare(n)||o.compareBuild(n)}},4773:(e,t,r)=>{const a=r(256);e.exports=(e,t)=>a(e,t,!0)},256:(e,t,r)=>{const a=r(8693);e.exports=(e,t,r)=>new a(e,r).compare(new a(t,r))},6690:(e,t,r)=>{const a=r(2323);e.exports=(e,t)=>{const r=a(e,null,!0),o=a(t,null,!0),n=r.compare(o);if(0===n)return null;const l=n>0,i=l?r:o,s=l?o:r,c=!!i.prerelease.length;if(!!s.prerelease.length&&!c)return s.patch||s.minor?i.patch?"patch":i.minor?"minor":"major":"major";const u=c?"pre":"";return r.major!==o.major?u+"major":r.minor!==o.minor?u+"minor":r.patch!==o.patch?u+"patch":"prerelease"}},6825:(e,t,r)=>{const a=r(256);e.exports=(e,t,r)=>0===a(e,t,r)},8586:(e,t,r)=>{const a=r(256);e.exports=(e,t,r)=>a(e,t,r)>0},3408:(e,t,r)=>{const a=r(256);e.exports=(e,t,r)=>a(e,t,r)>=0},3469:(e,t,r)=>{const a=r(8693);e.exports=(e,t,r,o,n)=>{"string"==typeof r&&(n=o,o=r,r=void 0);try{return new a(e instanceof a?e.version:e,r).inc(t,o,n).version}catch(e){return null}}},8546:(e,t,r)=>{const a=r(256);e.exports=(e,t,r)=>a(e,t,r)<0},6123:(e,t,r)=>{const a=r(256);e.exports=(e,t,r)=>a(e,t,r)<=0},651:(e,t,r)=>{const a=r(8693);e.exports=(e,t)=>new a(e,t).major},3857:(e,t,r)=>{const a=r(8693);e.exports=(e,t)=>new a(e,t).minor},525:(e,t,r)=>{const a=r(256);e.exports=(e,t,r)=>0!==a(e,t,r)},2323:(e,t,r)=>{const a=r(8693);e.exports=(e,t,r=!1)=>{if(e instanceof a)return e;try{return new a(e,t)}catch(e){if(!r)return null;throw e}}},3982:(e,t,r)=>{const a=r(8693);e.exports=(e,t)=>new a(e,t).patch},7665:(e,t,r)=>{const a=r(2323);e.exports=(e,t)=>{const r=a(e,t);return r&&r.prerelease.length?r.prerelease:null}},8824:(e,t,r)=>{const a=r(256);e.exports=(e,t,r)=>a(t,e,r)},3135:(e,t,r)=>{const a=r(1310);e.exports=(e,t)=>e.sort(((e,r)=>a(r,e,t)))},4938:(e,t,r)=>{const a=r(3538);e.exports=(e,t,r)=>{try{t=new a(t,r)}catch(e){return!1}return t.test(e)}},3782:(e,t,r)=>{const a=r(1310);e.exports=(e,t)=>e.sort(((e,r)=>a(e,r,t)))},5652:(e,t,r)=>{const a=r(2323);e.exports=(e,t)=>{const r=a(e,t);return r?r.version:null}},5589:(e,t,r)=>{const a=r(1037),o=r(581),n=r(8693),l=r(3546),i=r(2323),s=r(5652),c=r(881),u=r(3469),p=r(6690),d=r(651),m=r(3857),f=r(3982),h=r(7665),b=r(256),g=r(8824),k=r(4773),E=r(1310),C=r(3782),R=r(3135),v=r(8586),j=r(8546),y=r(6825),w=r(525),x=r(3408),S=r(6123),I=r(6574),A=r(6171),N=r(9079),B=r(3538),_=r(4938),P=r(5559),L=r(3912),T=r(887),F=r(7124),M=r(3228),$=r(2051),O=r(8118),Z=r(382),V=r(7445),H=r(9282),D=r(9910);e.exports={parse:i,valid:s,clean:c,inc:u,diff:p,major:d,minor:m,patch:f,prerelease:h,compare:b,rcompare:g,compareLoose:k,compareBuild:E,sort:C,rsort:R,gt:v,lt:j,eq:y,neq:w,gte:x,lte:S,cmp:I,coerce:A,Comparator:N,Range:B,satisfies:_,toComparators:P,maxSatisfying:L,minSatisfying:T,minVersion:F,validRange:M,outside:$,gtr:O,ltr:Z,intersects:V,simplifyRange:H,subset:D,SemVer:n,re:a.re,src:a.src,tokens:a.t,SEMVER_SPEC_VERSION:o.SEMVER_SPEC_VERSION,RELEASE_TYPES:o.RELEASE_TYPES,compareIdentifiers:l.compareIdentifiers,rcompareIdentifiers:l.rcompareIdentifiers}},581:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},9262:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},3546:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const a=t.test(e),o=t.test(r);return a&&o&&(e=+e,r=+r),e===r?0:a&&!o?-1:o&&!a?1:er(t,e)}},4916:e=>{const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},1037:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:a}=r(581),o=r(9262),n=(t=e.exports={}).re=[],l=t.safeRe=[],i=t.src=[],s=t.t={};let c=0;const u=(e,t,r)=>{const a=t.split("\\s*").join("\\s{0,1}").split("\\s+").join("\\s"),u=c++;o(e,u,t),s[e]=u,i[u]=t,n[u]=new RegExp(t,r?"g":void 0),l[u]=new RegExp(a,r?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),u("FULL",`^${i[s.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),u("LOOSE",`^${i[s.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",`${i[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),u("XRANGEIDENTIFIER",`${i[s.NUMERICIDENTIFIER]}|x|X|\\*`),u("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),u("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${a}})(?:\\.(\\d{1,${a}}))?(?:\\.(\\d{1,${a}}))?(?:$|[^\\d])`),u("COERCERTL",i[s.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",u("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",u("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},8118:(e,t,r)=>{const a=r(2051);e.exports=(e,t,r)=>a(e,t,">",r)},7445:(e,t,r)=>{const a=r(3538);e.exports=(e,t,r)=>(e=new a(e,r),t=new a(t,r),e.intersects(t,r))},382:(e,t,r)=>{const a=r(2051);e.exports=(e,t,r)=>a(e,t,"<",r)},3912:(e,t,r)=>{const a=r(8693),o=r(3538);e.exports=(e,t,r)=>{let n=null,l=null,i=null;try{i=new o(t,r)}catch(e){return null}return e.forEach((e=>{i.test(e)&&(n&&-1!==l.compare(e)||(n=e,l=new a(n,r)))})),n}},887:(e,t,r)=>{const a=r(8693),o=r(3538);e.exports=(e,t,r)=>{let n=null,l=null,i=null;try{i=new o(t,r)}catch(e){return null}return e.forEach((e=>{i.test(e)&&(n&&1!==l.compare(e)||(n=e,l=new a(n,r)))})),n}},7124:(e,t,r)=>{const a=r(8693),o=r(3538),n=r(8586);e.exports=(e,t)=>{e=new o(e,t);let r=new a("0.0.0");if(e.test(r))return r;if(r=new a("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t{const t=new a(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":l&&!n(t,l)||(l=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!l||r&&!n(r,l)||(r=l)}return r&&e.test(r)?r:null}},2051:(e,t,r)=>{const a=r(8693),o=r(9079),{ANY:n}=o,l=r(3538),i=r(4938),s=r(8586),c=r(8546),u=r(6123),p=r(3408);e.exports=(e,t,r,d)=>{let m,f,h,b,g;switch(e=new a(e,d),t=new l(t,d),r){case">":m=s,f=u,h=c,b=">",g=">=";break;case"<":m=c,f=p,h=s,b="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(e,t,d))return!1;for(let r=0;r{e.semver===n&&(e=new o(">=0.0.0")),l=l||e,i=i||e,m(e.semver,l.semver,d)?l=e:h(e.semver,i.semver,d)&&(i=e)})),l.operator===b||l.operator===g)return!1;if((!i.operator||i.operator===b)&&f(e,i.semver))return!1;if(i.operator===g&&h(e,i.semver))return!1}return!0}},9282:(e,t,r)=>{const a=r(4938),o=r(256);e.exports=(e,t,r)=>{const n=[];let l=null,i=null;const s=e.sort(((e,t)=>o(e,t,r)));for(const e of s){a(e,t,r)?(i=e,l||(l=e)):(i&&n.push([l,i]),i=null,l=null)}l&&n.push([l,null]);const c=[];for(const[e,t]of n)e===t?c.push(e):t||e!==s[0]?t?e===s[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const u=c.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return u.length{const a=r(3538),o=r(9079),{ANY:n}=o,l=r(4938),i=r(256),s=[new o(">=0.0.0-0")],c=[new o(">=0.0.0")],u=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===n){if(1===t.length&&t[0].semver===n)return!0;e=r.includePrerelease?s:c}if(1===t.length&&t[0].semver===n){if(r.includePrerelease)return!0;t=c}const a=new Set;let o,u,m,f,h,b,g;for(const t of e)">"===t.operator||">="===t.operator?o=p(o,t,r):"<"===t.operator||"<="===t.operator?u=d(u,t,r):a.add(t.semver);if(a.size>1)return null;if(o&&u){if(m=i(o.semver,u.semver,r),m>0)return null;if(0===m&&(">="!==o.operator||"<="!==u.operator))return null}for(const e of a){if(o&&!l(e,String(o),r))return null;if(u&&!l(e,String(u),r))return null;for(const a of t)if(!l(e,String(a),r))return!1;return!0}let k=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver,E=!(!o||r.includePrerelease||!o.semver.prerelease.length)&&o.semver;k&&1===k.prerelease.length&&"<"===u.operator&&0===k.prerelease[0]&&(k=!1);for(const e of t){if(g=g||">"===e.operator||">="===e.operator,b=b||"<"===e.operator||"<="===e.operator,o)if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),">"===e.operator||">="===e.operator){if(f=p(o,e,r),f===e&&f!==o)return!1}else if(">="===o.operator&&!l(o.semver,String(e),r))return!1;if(u)if(k&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===k.major&&e.semver.minor===k.minor&&e.semver.patch===k.patch&&(k=!1),"<"===e.operator||"<="===e.operator){if(h=d(u,e,r),h===e&&h!==u)return!1}else if("<="===u.operator&&!l(u.semver,String(e),r))return!1;if(!e.operator&&(u||o)&&0!==m)return!1}return!(o&&b&&!u&&0!==m)&&(!(u&&g&&!o&&0!==m)&&(!E&&!k))},p=(e,t,r)=>{if(!e)return t;const a=i(e.semver,t.semver,r);return a>0?e:a<0||">"===t.operator&&">="===e.operator?t:e},d=(e,t,r)=>{if(!e)return t;const a=i(e.semver,t.semver,r);return a<0?e:a>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new a(e,r),t=new a(t,r);let o=!1;e:for(const a of e.set){for(const e of t.set){const t=u(a,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},5559:(e,t,r)=>{const a=r(3538);e.exports=(e,t)=>new a(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},3228:(e,t,r)=>{const a=r(3538);e.exports=(e,t)=>{try{return new a(e,t).range||"*"}catch(e){return null}}},6975:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var a=r(1128);const o=r.n(a)()("dops:analytics");let n,l;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const i={initialize:function(e,t,r){i.setUser(e,t),i.setSuperProps(r),i.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){l={ID:e,username:t}},setSuperProps:function(e){n=e},assignSuperProps:function(e){n=Object.assign(n||{},e)},mc:{bumpStat:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Bumping stats %o",e)}else r="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Bumping stat "%s" in group "%s"',t,e);return r}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+r+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const r=function(e,t){let r="";if("object"==typeof e){for(const t in e)r+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);o("Built stats %o",e)}else r="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),o('Built stat "%s" in group "%s"',t,e);return r}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+r+"&t="+Math.random())}},pageView:{record:function(e,t){i.tracks.recordPageView(e),i.ga.recordPageView(e,t)}},purchase:{record:function(e,t,r,a,o,n,l){i.ga.recordPurchase(e,t,r,a,o,n,l)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(n&&(o("- Super Props: %o",n),t=Object.assign(t,n)),o('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):o('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};i.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){i.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){o("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};i.ga.initialized||(l&&(e={userId:"u-"+l.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),i.ga.initialized=!0)},recordPageView:function(e,t){i.ga.initialize(),o("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,r,a){i.ga.initialize();let n="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==r&&(n+=" [Option Label: "+r+"]"),void 0!==a&&(n+=" [Option Value: "+a+"]"),o(n),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,r,a)},recordPurchase:function(e,t,r,a,o,n,l){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:a,currency:l}),window.ga("ecommerce:addItem",{id:e,name:t,sku:r,price:o,quantity:n}),window.ga("ecommerce:send")}},identifyUser:function(){l&&window._tkq.push(["identifyUser",l.ID,l.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},s=i},3419:(e,t,r)=>{"use strict";r.d(t,{OZ:()=>n.Z,Pb:()=>a.Z,T:()=>l.Z,Ug:()=>o.Ug,Wp:()=>o.Wp,_D:()=>i._D});var a=r(148),o=r(9505),n=r(8052),l=(r(6714),r(354)),i=r(5404);r(1053),r(1380)},148:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});const a="Jetpack_Editor_Initial_State";function o(){return"object"==typeof window?window?.[a]??null:null}},8052:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var a=r(148);function o(e){const t=(0,a.Z)(),r=t?.available_blocks?.[e]?.available??!1,o=t?.available_blocks?.[e]?.unavailable_reason??"unknown";return{available:r,...!r&&{details:t?.available_blocks?.[e]?.details??[],unavailableReason:o}}}},1053:(e,t,r)=>{"use strict";var a=r(6975);r(9307);const{tracks:o}=a.Z,{recordEvent:n}=o},1380:(e,t,r)=>{"use strict";r(6989),r(9307)},5404:(e,t,r)=>{"use strict";r.d(t,{_D:()=>o});var a=r(5736);r(6483),r(2819);const __=a.__;function o(e,t){return"missing_plan"===e&&t.required_plan}__("Upgrade your plan to use video covers","jetpack-forms"),__("Upgrade your plan to upload audio","jetpack-forms")},6714:(e,t,r)=>{"use strict";r(8817)},9505:(e,t,r)=>{"use strict";function a(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function o(){return"simple"===a()}function n(){return"atomic"===a()}r.d(t,{Ug:()=>n,Wp:()=>o})},354:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var a=r(2674),o=r.n(a),n=r(4333);const l=e=>(0,n.createHigherOrderComponent)((t=>r=>React.createElement(t,o()({},r,{className:r.name===e?"has-warning is-interactive":r.className}))),"withHasWarningIsInteractiveClassNames")},8003:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var a=r(5736);const o={subject:{type:"string"},to:{type:"string"},customThankyou:{type:"string",default:""},customThankyouHeading:{type:"string",default:(0,a.__)("Your message has been sent","jetpack-forms")},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},jetpackCRM:{type:"boolean",default:!0},formTitle:{type:"string",default:""},salesforceData:{type:"object",default:{organizationId:"",sendToSalesforce:!1}}}},348:(e,t,r)=>{"use strict";r.d(t,{N:()=>w});var a=r(2175),o=r(4981),n=r(5609),l=r(9307),i=r(5736),s=r(2819),c=r(9775),u=r(1157),p=r(2304),d=r(3548),m=r(655),f=r(3616),h=r(3059),b=r(3644),g=r(7155),k=r(4697);const __=i.__,_x=i._x,E={category:"contact-form",supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},requiredText:{type:"string"},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""},width:{type:"number",default:100},borderRadius:{type:"number",default:""},borderWidth:{type:"number",default:""},labelFontSize:{type:"string"},fieldFontSize:{type:"string"},lineHeight:{type:"number"},labelLineHeight:{type:"number"},inputColor:{type:"string"},labelColor:{type:"string"},fieldBackgroundColor:{type:"string"},buttonBackgroundColor:{type:"string"},buttonBorderRadius:{type:"number",default:""},buttonBorderWidth:{type:"number",default:""},borderColor:{type:"string"},shareFieldAttributes:{type:"boolean",default:!0}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],transform:e=>(0,o.createBlock)("jetpack/field-text",e)},{type:"block",blocks:["jetpack/field-name"],transform:e=>(0,o.createBlock)("jetpack/field-name",e)},{type:"block",blocks:["jetpack/field-email"],transform:e=>(0,o.createBlock)("jetpack/field-email",e)},{type:"block",blocks:["jetpack/field-url"],transform:e=>(0,o.createBlock)("jetpack/field-url",e)},{type:"block",blocks:["jetpack/field-date"],transform:e=>(0,o.createBlock)("jetpack/field-date",e)},{type:"block",blocks:["jetpack/field-telephone"],transform:e=>(0,o.createBlock)("jetpack/field-telephone",e)},{type:"block",blocks:["jetpack/field-textarea"],transform:e=>(0,o.createBlock)("jetpack/field-textarea",e)},{type:"block",blocks:["jetpack/field-checkbox-multiple"],transform:(e,t)=>{let r=[];if((0,s.isEmpty)(t))e.options?.length&&(r=(0,s.map)(e.options,(e=>(0,o.createBlock)("jetpack/field-option-checkbox",{label:e,fieldType:"checkbox"}))));else{const e=(0,s.filter)(t,(e=>{let{name:t}=e;return(0,s.startsWith)(t,"jetpack/field-option")}));r=(0,s.map)(e,(e=>(0,o.createBlock)("jetpack/field-option-checkbox",{label:e.attributes.label,fieldType:"checkbox"})))}return(0,o.createBlock)("jetpack/field-checkbox-multiple",e,r)}},{type:"block",blocks:["jetpack/field-radio"],transform:(e,t)=>{let r=[];if((0,s.isEmpty)(t))e.options?.length&&(r=(0,s.map)(e.options,(e=>(0,o.createBlock)("jetpack/field-option-radio",{label:e,fieldType:"radio"}))));else{const e=(0,s.filter)(t,(e=>{let{name:t}=e;return(0,s.startsWith)(t,"jetpack/field-option")}));r=(0,s.map)(e,(e=>(0,o.createBlock)("jetpack/field-option-radio",{label:e.attributes.label,fieldType:"radio"})))}return(0,o.createBlock)("jetpack/field-radio",e,r)}},{type:"block",blocks:["jetpack/field-select"],transform:(e,t)=>{if(!(0,s.isEmpty)(t)){const r=(0,s.filter)(t,(e=>{let{name:t}=e;return(0,s.startsWith)(t,"jetpack/field-option")}));e.options=(0,s.map)(r,(e=>e.attributes.label))}return e.options=e.options?.length?e.options:[""],(0,o.createBlock)("jetpack/field-select",e)}},{type:"block",blocks:["jetpack/field-consent"],transform:e=>(0,o.createBlock)("jetpack/field-consent",e)},{type:"block",blocks:["jetpack/field-checkbox"],transform:e=>(0,o.createBlock)("jetpack/field-checkbox",e)}]},save:()=>null,example:{}},C={category:"contact-form",edit:f.G,attributes:{label:{type:"string"},fieldType:{enum:["checkbox","radio"],default:"checkbox"}},supports:{reusable:!1,html:!1}},R=e=>({attributes:{...E.attributes,label:{type:"string",default:"checkbox"===e?"Choose several options":"Choose one option"}},migrate:t=>{const r=`jetpack/field-option-${e}`,a=(0,s.filter)(t.options,(e=>!(0,s.isEmpty)((0,s.trim)(e)))),n=(0,s.map)(a,(e=>(0,o.createBlock)(r,{label:e})));return t.options=[],[t,n]},isEligible:e=>e.options&&(0,s.filter)(e.options,(e=>!(0,s.isEmpty)((0,s.trim)(e)))).length,save:()=>null}),v=e=>{let{attributes:t,name:r}=e;return null===t.label?(0,o.getBlockType)(r).title:t.label},j=e=>t=>((0,g.mo)(t),React.createElement(c.Z,{clientId:t.clientId,type:e,label:v(t),required:t.attributes.required,requiredText:t.attributes.requiredText,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id,width:t.attributes.width,attributes:t.attributes})),y=e=>t=>((0,g.mo)(t),React.createElement(m.Z,{className:t.className,clientId:t.clientId,label:v(t),required:t.attributes.required,requiredText:t.attributes.requiredText,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id,width:t.attributes.width,attributes:t.attributes})),w=[{name:"field-text",settings:{...E,title:__("Text Input Field","jetpack-forms"),description:__("Collect short text responses from site visitors.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),d:"M12 7H4V8.5H12V7ZM19.75 17.25V10.75H4.25V17.25H19.75ZM5.75 15.75V12.25H18.25V15.75H5.75Z"})),edit:j("text"),attributes:{...E.attributes,label:{type:"string",default:"Text"}}}},{name:"field-name",settings:{...E,title:__("Name Field","jetpack-forms"),description:__("Collect the site visitor’s name.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),d:"M8.25 11.5C9.63071 11.5 10.75 10.3807 10.75 9C10.75 7.61929 9.63071 6.5 8.25 6.5C6.86929 6.5 5.75 7.61929 5.75 9C5.75 10.3807 6.86929 11.5 8.25 11.5ZM8.25 10C8.80228 10 9.25 9.55228 9.25 9C9.25 8.44772 8.80228 8 8.25 8C7.69772 8 7.25 8.44772 7.25 9C7.25 9.55228 7.69772 10 8.25 10ZM13 15.5V17.5H11.5V15.5C11.5 14.8096 10.9404 14.25 10.25 14.25H6.25C5.55964 14.25 5 14.8096 5 15.5V17.5H3.5V15.5C3.5 13.9812 4.73122 12.75 6.25 12.75H10.25C11.7688 12.75 13 13.9812 13 15.5ZM20.5 11H14.5V9.5H20.5V11ZM20.5 14.5H14.5V13H20.5V14.5Z"})),edit:j("text"),attributes:{...E.attributes,label:{type:"string",default:"Name"}}}},{name:"field-email",settings:{...E,title:__("Email Field","jetpack-forms"),keywords:[__("e-mail","jetpack-forms"),__("mail","jetpack-forms"),"email"],description:__("Collect email addresses from your visitors.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),fillRule:"evenodd",d:"M5.5 8.41665V16C5.5 16.2761 5.72386 16.5 6 16.5H18C18.2761 16.5 18.5 16.2761 18.5 16V8.41633L11.9998 13.9879L5.5 8.41665ZM17.2642 7.5H6.73546L11.9998 12.0123L17.2642 7.5ZM6 6C4.89543 6 4 6.89543 4 8V16C4 17.1046 4.89543 18 6 18H18C19.1046 18 20 17.1046 20 16V8C20 6.89543 19.1046 6 18 6H6Z"})),edit:j("email"),attributes:{...E.attributes,label:{type:"string",default:"Email"}}}},{name:"field-url",settings:{...E,title:__("URL Field","jetpack-forms"),keywords:["url",__("internet page","jetpack-forms"),"link"],description:__("Collect a website address from your site visitors.","jetpack-forms"),icon:(0,k.Z)(React.createElement(React.Fragment,null,React.createElement(n.Path,{fill:(0,b.m)(),d:"M4.47118 8.5H3V12.9489C3 14.4653 4.14479 15.5 5.94723 15.5C7.74479 15.5 8.88958 14.4653 8.88958 12.9489V8.5H7.4184V12.8059C7.4184 13.688 6.88742 14.265 5.94723 14.265C5.00216 14.265 4.47118 13.688 4.47118 12.8059V8.5Z"}),React.createElement(n.Path,{fill:(0,b.m)(),d:"M11.5348 9.62534H12.7867C13.5175 9.62534 13.9754 10.0545 13.9754 10.7221C13.9754 11.404 13.5418 11.8188 12.8014 11.8188H11.5348V9.62534ZM11.5348 12.8631H12.7137L14.0241 15.3808H15.6901L14.2092 12.6485C15.0179 12.3386 15.4855 11.5756 15.4855 10.6935C15.4855 9.33447 14.5599 8.5 12.9426 8.5H10.0636V15.3808H11.5348V12.8631Z"}),React.createElement(n.Path,{fill:(0,b.m)(),d:"M21 14.1887H17.9261V8.5H16.4549V15.3808H21V14.1887Z"}))),edit:j("url"),attributes:{...E.attributes,label:{type:"string",default:"URL"}}}},{name:"field-date",settings:{...E,title:__("Date Picker","jetpack-forms"),keywords:[__("Calendar","jetpack-forms"),_x("day month year","block search term","jetpack-forms")],description:__("Capture date information with a date picker.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),fillRule:"evenodd",d:"M4.5 7H19.5V19C19.5 19.2761 19.2761 19.5 19 19.5H5C4.72386 19.5 4.5 19.2761 4.5 19V7ZM3 5V7V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V7V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5ZM11 9.25H7V13.25H11V9.25Z"})),edit:j("text"),attributes:{...E.attributes,label:{type:"string",default:"Date"}}}},{name:"field-telephone",settings:{...E,title:__("Phone Number Field","jetpack-forms"),keywords:[__("Phone","jetpack-forms"),__("Cellular phone","jetpack-forms"),__("Mobile","jetpack-forms")],description:__("Collect phone numbers from site visitors.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),fillRule:"evenodd",d:"M9 5.5H15C15.2761 5.5 15.5 5.72386 15.5 6V18C15.5 18.2761 15.2761 18.5 15 18.5H9C8.72386 18.5 8.5 18.2761 8.5 18V6C8.5 5.72386 8.72386 5.5 9 5.5ZM7 6C7 4.89543 7.89543 4 9 4H15C16.1046 4 17 4.89543 17 6V18C17 19.1046 16.1046 20 15 20H9C7.89543 20 7 19.1046 7 18V6ZM13 16H11V17.5H13V16Z"})),edit:j("tel"),attributes:{...E.attributes,label:{type:"string",default:"Phone"}}}},{name:"field-textarea",settings:{...E,title:__("Multi-line Text Field","jetpack-forms"),keywords:[__("Textarea","jetpack-forms"),"textarea",__("Multiline text","jetpack-forms")],description:__("Capture longform text responses from site visitors.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),d:"M20 5H4V6.5H20V5ZM5.5 11.5H18.5V18.5H5.5V11.5ZM20 20V10H4V20H20Z"})),edit:e=>((0,g.mo)(e),React.createElement(h.Z,{clientId:e.clientId,label:e.attributes.label,required:e.attributes.required,requiredText:e.attributes.requiredText,attributes:e.attributes,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id,width:e.attributes.width})),attributes:{...E.attributes}}},{name:"field-checkbox",settings:{...E,title:__("Checkbox","jetpack-forms"),keywords:[__("Confirm","jetpack-forms"),__("Accept","jetpack-forms")],description:__("Confirm or select information with a single checkbox.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),fillRule:"evenodd",d:"M6.125 6H17.875C17.944 6 18 6.05596 18 6.125V17.875C18 17.944 17.944 18 17.875 18H6.125C6.05596 18 6 17.944 6 17.875V6.125C6 6.05596 6.05596 6 6.125 6ZM4.5 6.125C4.5 5.22754 5.22754 4.5 6.125 4.5H17.875C18.7725 4.5 19.5 5.22754 19.5 6.125V17.875C19.5 18.7725 18.7725 19.5 17.875 19.5H6.125C5.22754 19.5 4.5 18.7725 4.5 17.875V6.125ZM10.5171 16.4421L16.5897 8.71335L15.4103 7.78662L10.4828 14.0579L8.57616 11.7698L7.42383 12.7301L10.5171 16.4421Z"})),edit:e=>((0,g.mo)(e),React.createElement(u.Z,{clientId:e.clientId,label:e.attributes.label,required:e.attributes.required,requiredText:e.attributes.requiredText,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id,width:e.attributes.width,attributes:e.attributes})),attributes:{...E.attributes,label:{type:"string",default:""}}}},{name:"field-consent",settings:{...E,title:__("Terms Consent","jetpack-forms"),keywords:[__("Consent","jetpack-forms")],description:__("Communicate site terms and offer visitors consent to those terms.","jetpack-forms"),icon:(0,k.Z)(React.createElement(React.Fragment,null,React.createElement(n.Path,{fill:(0,b.m)(),d:"M7 5.5H17C17.2761 5.5 17.5 5.72386 17.5 6V13H19V6C19 4.89543 18.1046 4 17 4H7C5.89543 4 5 4.89543 5 6V18C5 19.1046 5.89543 20 7 20H11.5V18.5H7C6.72386 18.5 6.5 18.2761 6.5 18V6C6.5 5.72386 6.72386 5.5 7 5.5ZM16 7.75H8V9.25H16V7.75ZM8 11H13V12.5H8V11Z"}),React.createElement(n.Path,{fill:(0,b.m)(),d:"M20.1087 15.9382L15.9826 21.6689L12.959 18.5194L14.0411 17.4806L15.8175 19.331L18.8914 15.0618L20.1087 15.9382Z"}))),attributes:{...E.attributes,label:{type:"string",default:__("Consent","jetpack-forms")},consentType:{type:"string",default:"implicit"},implicitConsentMessage:{type:"string",default:__("By submitting your information, you're giving us permission to email you. You may unsubscribe at any time.","jetpack-forms")},explicitConsentMessage:{type:"string",default:__("Can we send you an email from time to time?","jetpack-forms")}},edit:e=>{let{attributes:t,clientId:r,isSelected:a,name:o,setAttributes:n}=e;(0,g.mo)({attributes:t,clientId:r,name:o});const{id:l,width:i,consentType:s,implicitConsentMessage:c,explicitConsentMessage:u}=t;return React.createElement(p.Z,{clientId:r,id:l,isSelected:a,width:i,consentType:s,implicitConsentMessage:c,explicitConsentMessage:u,setAttributes:n,attributes:t})}}},{name:"field-option-checkbox",settings:{...C,parent:["jetpack/field-checkbox-multiple"],title:__("Multiple Choice Option","jetpack-forms"),icon:(0,k.Z)(React.createElement(React.Fragment,null,React.createElement(n.Path,{d:"M5.5 10.5H8.5V13.5H5.5V10.5ZM8.5 9H5.5C4.67157 9 4 9.67157 4 10.5V13.5C4 14.3284 4.67157 15 5.5 15H8.5C9.32843 15 10 14.3284 10 13.5V10.5C10 9.67157 9.32843 9 8.5 9ZM12 12.75H20V11.25H12V12.75Z",fill:(0,b.m)()})))}},{name:"field-option-radio",settings:{...C,parent:["jetpack/field-radio"],title:__("Single Choice Option","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{d:"M7.5 13.5C6.67157 13.5 6 12.8284 6 12C6 11.1716 6.67157 10.5 7.5 10.5C8.32843 10.5 9 11.1716 9 12C9 12.8284 8.32843 13.5 7.5 13.5ZM4.5 12C4.5 13.6569 5.84315 15 7.5 15C9.15685 15 10.5 13.6569 10.5 12C10.5 10.3431 9.15685 9 7.5 9C5.84315 9 4.5 10.3431 4.5 12ZM12.5 12.75H20.5V11.25H12.5V12.75Z",fill:(0,b.m)()}))}},{name:"field-checkbox-multiple",settings:{...E,title:__("Multiple Choice (Checkbox)","jetpack-forms"),keywords:[__("Choose Multiple","jetpack-forms"),__("Option","jetpack-forms")],description:__("Offer users a list of choices, and allow them to select multiple options.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),d:"M7.0812 10.1419L10.6001 5.45005L9.40006 4.55005L6.91891 7.85824L5.53039 6.46972L4.46973 7.53038L7.0812 10.1419ZM12 8.5H20V7H12V8.5ZM12 17H20V15.5H12V17ZM8.5 14.5H5.5V17.5H8.5V14.5ZM5.5 13H8.5C9.32843 13 10 13.6716 10 14.5V17.5C10 18.3284 9.32843 19 8.5 19H5.5C4.67157 19 4 18.3284 4 17.5V14.5C4 13.6716 4.67157 13 5.5 13Z"})),edit:y("checkbox"),save:()=>React.createElement(a.InnerBlocks.Content,null),attributes:{...E.attributes,label:{type:"string",default:"Choose several options"}},styles:[{name:"list",label:"List",isDefault:!0},{name:"button",label:"Button"}],deprecated:[R("checkbox")]}},{name:"field-radio",settings:{...E,title:__("Single Choice (Radio)","jetpack-forms"),keywords:[__("Choose","jetpack-forms"),__("Select","jetpack-forms"),__("Option","jetpack-forms")],description:__("Offer users a list of choices, and allow them to select a single option.","jetpack-forms"),icon:(0,k.Z)(React.createElement(l.Fragment,null,React.createElement(n.Path,{fill:(0,b.m)(),d:"M4 7.75C4 9.40685 5.34315 10.75 7 10.75C8.65685 10.75 10 9.40685 10 7.75C10 6.09315 8.65685 4.75 7 4.75C5.34315 4.75 4 6.09315 4 7.75ZM20 8.5H12V7H20V8.5ZM20 17H12V15.5H20V17ZM7 17.75C6.17157 17.75 5.5 17.0784 5.5 16.25C5.5 15.4216 6.17157 14.75 7 14.75C7.82843 14.75 8.5 15.4216 8.5 16.25C8.5 17.0784 7.82843 17.75 7 17.75ZM4 16.25C4 17.9069 5.34315 19.25 7 19.25C8.65685 19.25 10 17.9069 10 16.25C10 14.5931 8.65685 13.25 7 13.25C5.34315 13.25 4 14.5931 4 16.25Z"}))),edit:y("radio"),save:()=>React.createElement(a.InnerBlocks.Content,null),attributes:{...E.attributes,label:{type:"string",default:"Choose one option"}},styles:[{name:"list",label:"List",isDefault:!0},{name:"button",label:"Button"}],deprecated:[R("radio")]}},{name:"field-select",settings:{...E,title:__("Dropdown Field","jetpack-forms"),keywords:[__("Choose","jetpack-forms"),__("Dropdown","jetpack-forms"),__("Option","jetpack-forms")],description:__("Add a compact select box, that when expanded, allows visitors to choose one value from the list.","jetpack-forms"),icon:(0,k.Z)(React.createElement(n.Path,{fill:(0,b.m)(),d:"M5 4.5H19C19.2761 4.5 19.5 4.72386 19.5 5V19C19.5 19.2761 19.2761 19.5 19 19.5H5C4.72386 19.5 4.5 19.2761 4.5 19V5C4.5 4.72386 4.72386 4.5 5 4.5ZM19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3ZM8.93582 10.1396L8.06396 11.3602L11.9999 14.1716L15.9358 11.3602L15.064 10.1396L11.9999 12.3283L8.93582 10.1396Z"})),edit:d.Z,attributes:{...E.attributes,toggleLabel:{type:"string",default:null},options:{type:"array",default:[""]}}}}]},1275:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var a=r(2674),o=r.n(a),n=r(5235),l=r.n(n),i=r(3139);const s=e=>{let{children:t=null,isError:r=!1,...a}=e;const n=l()("help-message",{"help-message-is-error":r});return t&&React.createElement("div",o()({className:n},a),r&&React.createElement(i.Z,{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),React.createElement("span",null,t))}},6556:(e,t,r)=>{"use strict";function a(e){let{children:t}=e;return React.createElement("p",{style:{color:"rgba( 117, 117, 117, 1 )",marginBottom:"24px"}},t)}r.d(t,{Z:()=>a})},8440:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var a=r(5609),o=r(9307),n=r(5736);const __=n.__,l=e=>{let{error:t}=e;return React.createElement(a.Notice,{isDismissible:!1,status:"error"},(0,o.createInterpolateElement)(__('The CRM Jetpack Form extension failed to activate. The error message was "".',"jetpack-forms"),{error:React.createElement("span",null,t)}))}},8919:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var a=r(6989),o=r.n(a),n=r(5609),l=r(5736),i=r(8440);const __=l.__,s=e=>{let{isActivatingExt:t,setIsActivatingExt:r,extActivationError:a,setExtActivationError:l,crmData:s,setCRMData:c}=e;const u=((e,t,r,a)=>()=>{t(void 0),e(!0),o()({path:"/jetpack/v4/jetpack_crm",method:"POST",data:{extension:"jetpackforms"}}).then((e=>{if("success"!==e.code)throw new Error(e.code);const t=Object.assign({},r);t.jp_form_ext_enabled=!0,a(t)})).catch((e=>{t(e.message)})).finally((()=>{e(!1)}))})(r,l,s,c);return t?React.createElement(n.Spinner,null):a?React.createElement(i.Z,{error:a}):React.createElement(n.Button,{variant:"secondary",onClick:u},__("Enable Jetpack Forms Extension","jetpack-forms"))},c=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("A site administrator must enable the CRM Jetpack Forms extension.","jetpack-forms")),u=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("You can integrate this contact form with Jetpack CRM by enabling Jetpack CRM's Jetpack Forms extension.","jetpack-forms")),p=e=>{let{isActivatingExt:t,setIsActivatingExt:r,extActivationError:a,setExtActivationError:o,crmData:n,setCRMData:l}=e;return n.can_activate_extension?React.createElement("div",null,React.createElement(u,null),React.createElement("br",null),React.createElement(s,{isActivatingExt:t,setIsActivatingExt:r,extActivationError:a,setExtActivationError:o,crmData:n,setCRMData:l})):React.createElement(c,null)}},7336:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var a=r(5609),o=r(9307),n=r(5736),l=r(5589),i=r.n(l),s=r(9289),c=r(8919);const __=n.__,u=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),p=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("The Jetpack CRM plugin is installed but has an invalid version.","jetpack-forms")),d=()=>React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("Please update to the latest version of the Jetpack CRM plugin to integrate your contact form with your CRM.","jetpack-forms")),m=e=>{let{isActivating:t}=e;const r=t?__("Activating…","jetpack-forms"):__("Installing…","jetpack-forms",0);return React.createElement(a.Button,{variant:"secondary",icon:React.createElement(a.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":r},r)},f=e=>{let{installAndActivateCRMPlugin:t,isInstalling:r}=e,o=React.createElement(a.Button,{variant:"secondary",onClick:t},__("Install Jetpack CRM","jetpack-forms"));return r&&(o=React.createElement(m,null)),React.createElement("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},React.createElement("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("You can save contacts from Jetpack contact forms in Jetpack CRM.","jetpack-forms"),React.createElement("br",null),o))},h=e=>{let{activateCRMPlugin:t,isInstalling:r}=e;return React.createElement("p",{className:"jetpack-contact-form__crm_text jetpack-contact-form__integration-panel"},React.createElement("em",null,__("You already have the Jetpack CRM plugin installed, but it’s not activated.","jetpack-forms")),React.createElement("br",null),r&&React.createElement(m,{isActivating:!0}),!r&&React.createElement(a.Button,{variant:"secondary",onClick:t},__("Activate the Jetpack CRM plugin","jetpack-forms")))},b=e=>{let{crmData:t,setCRMData:r,jetpackCRM:n,setAttributes:l}=e;const[s,u]=(0,o.useState)(!1),[p,d]=(0,o.useState)(!1);return t.jp_form_ext_enabled?i().satisfies(i().coerce(t.crm_version),"3.0.19 - 4.0.0")?React.createElement("p",{className:"jetpack-contact-form__crm_text"},__("Contacts from this form will be stored in Jetpack CRM.","jetpack-forms")):React.createElement(a.ToggleControl,{className:"jetpack-contact-form__crm_toggle",label:__("Jetpack CRM","jetpack-forms"),checked:n,onChange:e=>l({jetpackCRM:e}),help:__("Store contact form submissions in your CRM.","jetpack-forms")}):React.createElement(c.Z,{isActivatingExt:s,setIsActivatingExt:u,extActivationError:p,setExtActivationError:d,crmData:t,setCRMData:r})},g=e=>{let{crmData:t,setCRMData:r,jetpackCRM:a,setAttributes:o,onCRMPluginClick:n,isInstalling:l}=e;const c=i().coerce(t.crm_version);if(t.crm_installed&&!c)return React.createElement(p,null);if(t.crm_installed&&i().lt(c,"4.9.1"))return React.createElement(d,null);let m=u.NOT_INSTALLED;return t.crm_active?m=u.ACTIVE:t.crm_installed&&(m=u.INSTALLED),React.createElement("div",{"aria-live":"polite"},u.ACTIVE===m&&React.createElement(b,{crmData:t,setCRMData:r,jetpackCRM:a,setAttributes:o}),u.INSTALLED===m&&React.createElement(h,{activateCRMPlugin:()=>n(s.bu,"zero-bs-crm/ZeroBSCRM"),isInstalling:l}),u.NOT_INSTALLED===m&&React.createElement(f,{installAndActivateCRMPlugin:()=>n(s.yX,"zero-bs-crm"),isInstalling:l}))}},7871:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var a=r(6989),o=r.n(a),n=r(5609),l=r(9307),i=r(7336);const s=(e,t,r)=>{o()({path:"/jetpack/v4/jetpack_crm"}).then((r=>{if(r.error)throw r.message;e(!1),t(r)})).catch((()=>e(!0))).finally((()=>r(!1)))},c=e=>{let{jetpackCRM:t,setAttributes:r}=e;const[a,o]=(0,l.useState)(!0),[c,u]=(0,l.useState)(!1),[p,d]=(0,l.useState)(),[m,f]=(0,l.useState)(!1),h=(0,l.useCallback)(((e,t)=>{f(!0),e(t).catch((()=>{u(!0)})).finally((()=>{f(!1),o(!0),s(u,d,o)}))}),[f,u,o]);return(0,l.useEffect)((()=>{s(u,d,o)}),[]),a?React.createElement(n.Spinner,null):c?null:React.createElement(i.Z,{crmData:p,setCRMData:d,jetpackCRM:t,setAttributes:r,onCRMPluginClick:h,isInstalling:m})},u=e=>{let{jetpackCRM:t,setAttributes:r}=e;return React.createElement(n.BaseControl,null,React.createElement(c,{jetpackCRM:t,setAttributes:r}))}},58:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var a=r(5609),o=r(9307),n=r(5736),l=r(2384),i=r(1275),s=r(6556);const __=n.__,c=e=>{let{emailAddress:t="",emailSubject:r="",instanceId:c,setAttributes:u,postAuthorEmail:p}=e;const[d,m]=(0,o.useState)(!1),f=e=>0!==(e=e.trim()).length&&(!l.validate(e)&&{email:e});return React.createElement(React.Fragment,null,React.createElement(s.Z,null,__("Get incoming form responses sent to your email inbox:","jetpack-forms")),React.createElement(a.TextControl,{"aria-describedby":`contact-form-${c}-email-${d&&d.length>0?"error":"help"}`,label:__("Email address to send to","jetpack-forms"),placeholder:__("name@example.com","jetpack-forms"),onKeyDown:e=>{"Enter"===event.key&&(e.preventDefault(),e.stopPropagation())},value:t,onBlur:e=>{if(0===e.target.value.length)return m(!1),void u({to:p});const t=e.target.value.split(",").map(f).filter(Boolean);t&&t.length&&m(t)},onChange:e=>{m(!1),u({to:e.trim()})},help:__("You can enter multiple email addresses separated by commas.","jetpack-forms")}),React.createElement(i.Z,{isError:!0,id:`contact-form-${c}-email-error`},(()=>{if(d){if(1===d.length)return d[0]&&d[0].email?(0,n.sprintf)(/* translators: placeholder is an email address. */ __("%s is not a valid email address.","jetpack-forms"),d[0].email):d[0];if(2===d.length)return(0,n.sprintf)(/* translators: placeholders are email addresses. */ __("%1$s and %2$s are not a valid email address.","jetpack-forms"),d[0].email,d[1].email);const e=d.map((e=>e.email));return(0,n.sprintf)(/* translators: placeholder is a list of email addresses. */ __("%s are not a valid email address.","jetpack-forms"),e.join(", "))}return null})()),React.createElement(a.TextControl,{label:__("Email subject line","jetpack-forms"),value:r,placeholder:__("Enter a subject","jetpack-forms"),onChange:e=>u({subject:e})}))}},1157:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var a=r(2175),o=r(5609),n=r(4333),l=r(5736),i=r(6101),s=r(282),c=r(231),u=r(2185),p=r(9696);const __=l.__;const d=(0,n.compose)((0,i.j)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]),n.withInstanceId)((function(e){const{instanceId:t,required:r,requiredText:n,label:l,setAttributes:i,width:d,defaultValue:m,attributes:f}=e,{blockStyle:h}=(0,p.g)(f);return React.createElement("div",{id:`jetpack-field-checkbox-${t}`,className:"jetpack-field jetpack-field-checkbox",style:h},React.createElement("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:m}),React.createElement(s.Z,{required:r,requiredText:n,label:l,setAttributes:i,attributes:f}),React.createElement(a.InspectorControls,null,React.createElement(o.PanelBody,{title:__("Checkbox Settings","jetpack-forms")},React.createElement(o.ToggleControl,{label:__("Checked by default","jetpack-forms"),checked:m,onChange:e=>i({defaultValue:e?"true":""})}))),React.createElement(a.InspectorControls,null,React.createElement(o.PanelBody,{title:__("Manage Responses","jetpack-forms")},React.createElement(u.Z,{isChildBlock:!0})),React.createElement(o.PanelBody,{title:__("Field Settings","jetpack-forms")},React.createElement(o.ToggleControl,{label:__("Field is required","jetpack-forms"),className:"jetpack-field-label__required",checked:r,onChange:e=>i({required:e}),help:__('You can edit the "required" label in the editor',"jetpack-forms")}),React.createElement(c.Z,{setAttributes:i,width:d}),React.createElement(o.ToggleControl,{label:__("Sync fields style","jetpack-forms"),checked:f.shareFieldAttributes,onChange:e=>i({shareFieldAttributes:e}),help:__("Deactivate for individual styling of this block","jetpack-forms")})),React.createElement(a.PanelColorSettings,{title:__("Color","jetpack-forms"),initialOpen:!1,colorSettings:[{value:f.labelColor,onChange:e=>i({labelColor:e}),label:__("Label Text","jetpack-forms")}]}),React.createElement(o.PanelBody,{title:__("Label Styles","jetpack-forms"),initialOpen:f.labelFontSize},React.createElement(a.FontSizePicker,{withSlider:!0,withReset:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0,onChange:e=>i({labelFontSize:e}),value:f.labelFontSize}))))}))},2304:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var a=r(2175),o=r(5609),n=r(4333),l=r(5736),i=r(6101),s=r(282),c=r(231),u=r(2185);const __=l.__,p=(0,n.compose)((0,i.j)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]),n.withInstanceId)((e=>{let{instanceId:t,width:r,consentType:n,implicitConsentMessage:i,explicitConsentMessage:p,setAttributes:d,attributes:m}=e;return React.createElement("div",{id:`jetpack-field-consent-${t}`,className:"jetpack-field jetpack-field-consent"},"explicit"===n&&React.createElement("input",{className:"jetpack-field-consent__checkbox",type:"checkbox",disabled:!0}),React.createElement(s.Z,{required:!1,label:{implicit:i,explicit:p}[n]??"",attributes:m,setAttributes:d,labelFieldName:`${n}ConsentMessage`,placeholder:(0,l.sprintf)(/* translators: placeholder is a type of consent: implicit or explicit */ -__("Add %s consent message…","jetpack-forms"),n)}),React.createElement(a.InspectorControls,null,React.createElement(o.PanelBody,{title:__("Manage Responses","jetpack-forms")},React.createElement(u.Z,{isChildBlock:!0})),React.createElement(o.PanelBody,{title:__("Field Settings","jetpack-forms")},React.createElement(c.Z,{setAttributes:d,width:r}),React.createElement(o.ToggleControl,{label:__("Sync fields style","jetpack-forms"),checked:m.shareFieldAttributes,onChange:e=>d({shareFieldAttributes:e}),help:__("Deactivate for individual styling of this block","jetpack-forms")})),React.createElement(a.PanelColorSettings,{title:__("Color","jetpack-forms"),initialOpen:!1,colorSettings:[{value:m.labelColor,onChange:e=>d({labelColor:e}),label:__("Label Text","jetpack-forms")}]}),React.createElement(o.PanelBody,{title:__("Consent Settings","jetpack-forms")},React.createElement(o.BaseControl,null,React.createElement(o.SelectControl,{label:__("Permission to email","jetpack-forms"),value:n,options:[{label:__("Mention that you can email","jetpack-forms"),value:"implicit"},{label:__("Add a privacy checkbox","jetpack-forms"),value:"explicit"}],onChange:e=>d({consentType:e})})))))}))},5153:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var a=r(2175),o=r(5609),n=r(5736),l=r(7155),i=r(4697),s=r(231),c=r(2185);const __=n.__,u=e=>{let{attributes:t,blockClassNames:r,clientId:n,id:u,placeholder:p,placeholderField:d="placeholder",hidePlaceholder:m,required:f,setAttributes:h,type:b,width:g}=e;const k=(0,l.D6)(n),E=(0,l.RK)(r),C=["radio","checkbox"].includes(b),v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:parseInt;return r=>{const a=t(r,10);h({[e]:isNaN(a)?"":a})}},R="button"===E?__("Button Text","jetpack-forms"):__("Option Text","jetpack-forms",0),j=C?R:__("Field Text","jetpack-forms",0),y=C?__("Background","jetpack-forms"):__("Field Background","jetpack-forms",0),w=C?__("Options Styles","jetpack-forms"):__("Input Field Styles","jetpack-forms",0),x=[{value:t.labelColor,onChange:e=>h({labelColor:e}),label:__("Label Text","jetpack-forms")},{value:t.inputColor,onChange:e=>h({inputColor:e}),label:j}];C&&"button"===E&&x.push({value:t.buttonBackgroundColor,onChange:e=>h({buttonBackgroundColor:e}),label:__("Button Background","jetpack-forms")}),C&&k!==l.JH.OUTLINED||(x.push({value:t.fieldBackgroundColor,onChange:e=>h({fieldBackgroundColor:e}),label:y}),x.push({value:t.borderColor,onChange:e=>h({borderColor:e}),label:__("Border","jetpack-forms")}));return React.createElement(React.Fragment,null,React.createElement(a.BlockControls,null,React.createElement(o.ToolbarGroup,null,React.createElement(o.ToolbarButton,{title:__("Required","jetpack-forms"),icon:(0,i.Z)(React.createElement(o.Path,{d:"M8.23118 8L16 16M8 16L15.7688 8 M6.5054 11.893L17.6567 11.9415M12.0585 17.6563L12 6.5",stroke:"currentColor"})),onClick:()=>{h({required:!f})},className:f?"is-pressed":void 0}))),React.createElement(a.InspectorControls,null,React.createElement(o.PanelBody,{title:__("Manage Responses","jetpack-forms")},React.createElement(c.Z,{isChildBlock:!0})),React.createElement(o.PanelBody,{title:__("Field Settings","jetpack-forms")},React.createElement(o.ToggleControl,{label:__("Field is required","jetpack-forms"),className:"jetpack-field-label__required",checked:f,onChange:e=>h({required:e}),help:__('You can edit the "required" label in the editor',"jetpack-forms")}),!m&&React.createElement(o.TextControl,{label:__("Placeholder text","jetpack-forms"),value:p||"",onChange:e=>h({[d]:e}),help:__("Show visitors an example of the type of content expected. Otherwise, leave blank.","jetpack-forms")}),React.createElement(s.Z,{setAttributes:h,width:g}),React.createElement(o.ToggleControl,{label:__("Sync fields style","jetpack-forms"),checked:t.shareFieldAttributes,onChange:e=>h({shareFieldAttributes:e}),help:__("Deactivate for individual styling of this block","jetpack-forms")})),React.createElement(a.PanelColorSettings,{title:__("Color","jetpack-forms"),initialOpen:!1,colorSettings:x}),React.createElement(o.PanelBody,{title:w,initialOpen:!1},React.createElement(o.BaseControl,null,React.createElement(a.FontSizePicker,{withReset:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0,onChange:e=>h({fieldFontSize:e}),value:t.fieldFontSize})),React.createElement(o.BaseControl,null,React.createElement(a.LineHeightControl,{__nextHasNoMarginBottom:!0,__unstableInputWidth:"100%",value:t.lineHeight,onChange:v("lineHeight",parseFloat),size:"__unstable-large"})),(C||"button"===E)&&React.createElement(React.Fragment,null,React.createElement(o.RangeControl,{label:__("Button Border Width","jetpack-forms"),value:t.buttonBorderWidth,initialPosition:1,onChange:v("buttonBorderWidth"),min:0,max:100}),React.createElement(o.RangeControl,{label:__("Button Border Radius","jetpack-forms"),value:t.buttonBorderRadius,initialPosition:0,onChange:v("buttonBorderRadius"),min:0,max:100})),(!C||k===l.JH.OUTLINED)&&React.createElement(React.Fragment,null,React.createElement(o.RangeControl,{label:__("Border Width","jetpack-forms"),value:t.borderWidth,initialPosition:1,onChange:v("borderWidth"),min:0,max:100}),React.createElement(o.RangeControl,{label:__("Border Radius","jetpack-forms"),value:t.borderRadius,initialPosition:0,onChange:v("borderRadius"),min:0,max:100}))),React.createElement(o.PanelBody,{title:__("Label Styles","jetpack-forms"),initialOpen:!1},React.createElement(o.BaseControl,null,React.createElement(a.FontSizePicker,{withReset:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0,onChange:e=>h({labelFontSize:e}),value:t.labelFontSize})),React.createElement(o.BaseControl,null,React.createElement(a.LineHeightControl,{__unstableInputWidth:"100%",__nextHasNoMarginBottom:!0,value:t.labelLineHeight,onChange:v("labelLineHeight",parseFloat),size:"__unstable-large"})))),React.createElement(a.InspectorAdvancedControls,null,React.createElement(o.TextControl,{label:__("Name/ID","jetpack-forms"),value:u||"",onChange:e=>{const t=e.replace(/[^a-zA-Z0-9_-]/g,"");h({id:t})},help:__("Customize the input's name/ID. Only alphanumeric, dash and underscore characters are allowed","jetpack-forms")})))}},3548:(e,t,r)=>{"use strict";r.d(t,{Z:()=>b});var a=r(2175),o=r(4333),n=r(9307),l=r(5736),i=r(5235),s=r.n(i),c=r(2819),u=r(9019),p=r(7155),d=r(6101),m=r(5153),f=r(282),h=r(9696);const __=l.__,b=(0,o.compose)((0,d.j)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]))((e=>{let{attributes:t,clientId:r,isSelected:o,name:l,setAttributes:i}=e;const{id:d,label:b,options:g,required:k,requiredText:E,toggleLabel:C,width:v}=t,R=(0,n.useRef)(),j=(0,p.D6)(r),y=s()("jetpack-field jetpack-field-dropdown",{"is-selected":o,"has-placeholder":!(0,c.isEmpty)(C)});(0,p.mo)({attributes:t,clientId:r,name:l});const w=(e,t)=>(0,u.k)(R.current,"[role=textbox]",e,t),x=(e,r)=>{const a=[...t.options],o=""!==r[r.length-1];a[e]&&(a[e]=r.shift(),e++),a.splice(e,0,...r),i({options:a}),w(e+r.length-1,o)},S=e=>t=>{const r=(0,c.split)(t,"\n").filter((e=>e&&""!==(0,c.trim)(e)));r.length&&(r.length>1?x(e,r):((e,t)=>{const r=[...g];r[e]=t,i({options:r}),w(e)})(e,r.pop()))},I=e=>(r,a)=>{if(!a)return;const o=t.options[e].slice(r.length);(0,c.isEmpty)(r)&&(0,c.isEmpty)(o)||x(e,[r,o])},A=e=>()=>{if(1===t.options.length)return;const r=[...t.options];r.splice(e,1),i({options:r}),w(Math.max(e-1,0),!0)};(0,n.useEffect)((()=>{(0,c.isNil)(b)&&i({label:""}),(0,c.isNil)(C)&&i({toggleLabel:__("Select one option","jetpack-forms")})}),[]);const{blockStyle:N}=(0,h.g)(t);return React.createElement("div",{className:y,style:N},React.createElement("div",{className:"jetpack-field-dropdown__wrapper"},React.createElement(f.Z,{required:k,requiredText:E,label:b,attributes:t,setAttributes:i,isSelected:o,style:j}),React.createElement("div",{className:"jetpack-field-dropdown__toggle"},React.createElement(a.RichText,{value:C,onChange:e=>{i({toggleLabel:e})},allowedFormats:["core/bold","core/italic"],withoutInteractiveFormatting:!0}),React.createElement("span",{className:"jetpack-field-dropdown__icon"}))),o&&React.createElement("div",{className:"jetpack-field-dropdown__popover",ref:R},g.map(((e,t)=>React.createElement(a.RichText,{key:t,value:e,onChange:S(t),onSplit:I(t),onRemove:A(t),onReplace:c.noop,placeholder:__("Add option…","jetpack-forms"),__unstableDisableFormats:!0})))),React.createElement(m.Z,{id:d,required:k,attributes:t,setAttributes:i,width:v,placeholder:C,placeholderField:"toggleLabel",type:"dropdown"}))}))},282:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var a=r(2674),o=r.n(a),n=r(2175),l=r(9307),i=r(5736),s=r(5235),c=r.n(s),u=r(2819),p=r(7155),d=r(9696);const __=i.__,m=e=>{let{attributes:t,className:r,label:a,labelFieldName:o,placeholder:l,resetFocus:i,required:s,requiredText:u,setAttributes:p}=e;const{labelStyle:m}=(0,d.g)(t);return React.createElement("div",{className:c()(r,"jetpack-field-label"),style:m},React.createElement(n.RichText,{tagName:"label",value:a,className:"jetpack-field-label__input",onChange:e=>{i&&i(),p(o?{[o]:e}:{label:e})},placeholder:l??__("Add label…","jetpack-forms"),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic"]}),s&&React.createElement(n.RichText,{tagName:"span",value:u,className:"required",onChange:e=>{p({requiredText:e})},withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic"]}))},f=e=>{const{setAttributes:t,requiredText:r,style:a}=e,n=c()({"notched-label__label":a===p.JH.OUTLINED,"animated-label__label":a===p.JH.ANIMATED,"below-label__label":a===p.JH.BELOW});return(0,l.useEffect)((()=>{(0,u.isNil)(r)&&t({requiredText:__("(required)","jetpack-forms")})}),[]),a===p.JH.OUTLINED?React.createElement("div",{className:"notched-label"},React.createElement("div",{className:"notched-label__leading"}),React.createElement("div",{className:"notched-label__notch"},React.createElement(m,o()({className:n},e))),React.createElement("div",{className:"notched-label__trailing"})):React.createElement(m,o()({className:n},e))}},655:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var a=r(2175),o=r(4333),n=r(9818),l=r(5235),i=r.n(l),s=r(7155),c=r(6101),u=r(5153),p=r(282),d=r(9696);const m=["jetpack/field-option"];const f=(0,o.compose)((0,c.j)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","buttonBackgroundColor","buttonBorderRadius","buttonBorderWidth","borderColor"]),o.withInstanceId)((function(e){const{className:t,clientId:r,id:o,type:l,instanceId:c,required:f,requiredText:h,label:b,setAttributes:g,isSelected:k,width:E,options:C,attributes:v}=e,R=(0,s.D6)(r),j=(0,n.useSelect)((e=>e("core/block-editor").getBlock(r).innerBlocks),[r]),y=i()(t,"jetpack-field jetpack-field-multiple",{"is-selected":k,"has-placeholder":C&&C.length||j.length}),{blockStyle:w}=(0,d.g)(v);return React.createElement(React.Fragment,null,React.createElement("div",{id:`jetpack-field-multiple-${c}`,className:y,style:w},React.createElement(p.Z,{required:f,requiredText:h,label:b,setAttributes:g,isSelected:k,attributes:v,style:R}),React.createElement("div",{className:"jetpack-field-multiple__list"},React.createElement(a.InnerBlocks,{allowedBlocks:m,template:[[`jetpack/field-option-${l}`,{}]],templateInsertUpdatesSelection:!1}))),React.createElement(u.Z,{blockClassNames:y,clientId:r,id:o,required:f,attributes:v,setAttributes:g,type:l,width:E,hidePlaceholder:!0}))}))},3616:(e,t,r)=>{"use strict";r.d(t,{G:()=>d});var a=r(2175),o=r(4981),n=r(9818),l=r(5736),i=r(5235),s=r.n(i),c=r(2819),u=r(2316),p=r(9696);const __=l.__,d=e=>{const{attributes:t,clientId:r,name:l,onReplace:i,setAttributes:d}=e,{removeBlock:m}=(0,n.useDispatch)("core/block-editor"),f=(0,u.j)(r),{optionStyle:h}=(0,p.g)(f),b=(0,n.useSelect)((e=>{const t=e("core/block-editor"),a=(0,c.first)(t.getBlockParents(r,!0));return t.getBlock(a).innerBlocks.length}),[r]),g=l.replace("jetpack/field-option-",""),k=s()("jetpack-field-option",`field-option-${g}`);return React.createElement("div",{className:k,style:h},React.createElement("input",{type:g,className:"jetpack-option__type",tabIndex:"-1"}),React.createElement(a.RichText,{allowedFormats:[],onChange:e=>{d({label:e})},onRemove:()=>{b<=1||m(r)},onSplit:e=>(0,o.createBlock)(l,{...t,clientId:e&&0===t.label.indexOf(e)?t.clientId:void 0,label:e}),onReplace:i,placeholder:__("Add option…","jetpack-forms"),preserveWhiteSpace:!1,withoutInteractiveFormatting:!0,value:t.label}))}},3059:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var a=r(4333),o=r(9307),n=r(5235),l=r.n(n),i=r(2819),s=r(7155),c=r(6101),u=r(5153),p=r(282),d=r(9696);const m=(0,a.compose)((0,c.j)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]))((e=>{const{attributes:t,clientId:r,id:a,isSelected:n,required:c,requiredText:m,label:f,setAttributes:h,placeholder:b,width:g}=e,k=(0,s.D6)(r),{blockStyle:E,fieldStyle:C}=(0,d.g)(t),v=l()("jetpack-field jetpack-field-textarea",{"is-selected":n,"has-placeholder":!(0,i.isEmpty)(b)});return(0,o.useEffect)((()=>{(0,i.isNil)(f)&&h({label:""})}),[]),React.createElement(React.Fragment,null,React.createElement("div",{className:v,style:E},React.createElement(p.Z,{clientId:r,required:c,requiredText:m,label:f,setAttributes:h,attributes:t,style:k}),React.createElement("textarea",{className:"jetpack-field__textarea",value:b,onChange:e=>h({placeholder:e.target.value}),style:C})),React.createElement(u.Z,{id:a,required:c,setAttributes:h,width:g,placeholder:b,attributes:t}))}))},231:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(5609),o=r(5736);const __=o.__;function n(e){let{setAttributes:t,width:r}=e;return React.createElement(a.BaseControl,{label:__("Field Width","jetpack-forms"),help:__("Adjust the width of the field to include multiple fields on a single line.","jetpack-forms"),className:"jetpack-field-label__width"},React.createElement(a.ButtonGroup,{"aria-label":__("Field Width","jetpack-forms")},[25,50,75,100].map((e=>React.createElement(a.Button,{key:e,isSmall:!0,variant:e===r?"primary":void 0,onClick:()=>t({width:e})},e,"%")))))}},9775:(e,t,r)=>{"use strict";r.d(t,{Z:()=>h});var a=r(2674),o=r.n(a),n=r(4333),l=r(2694),i=r(5235),s=r.n(i),c=r(2819),u=r(7155),p=r(6101),d=r(5153),m=r(282),f=r(9696);const h=(0,n.compose)((0,p.j)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]))((e=>{const{attributes:t,clientId:r,id:a,isSelected:o,required:n,requiredText:l,label:i,setAttributes:p,placeholder:h,width:b}=e,{blockStyle:g,fieldStyle:k}=(0,f.g)(t),E=(0,u.D6)(r),C=s()("jetpack-field",{"is-selected":o,"has-placeholder":!(0,c.isEmpty)(h)});return React.createElement(React.Fragment,null,React.createElement("div",{className:C,style:g},React.createElement(m.Z,{attributes:t,label:i,required:n,requiredText:l,setAttributes:p,style:E}),React.createElement("input",{className:"jetpack-field__input",onChange:e=>p({placeholder:e.target.value}),style:k,type:"text",value:h})),React.createElement(d.Z,{id:a,required:n,width:b,setAttributes:p,placeholder:h,attributes:t}))})),b=(0,n.createHigherOrderComponent)((e=>t=>{if(t.name.indexOf("jetpack/field")>-1){const r=t.attributes.width?"jetpack-field__width-"+t.attributes.width:"";return React.createElement(e,o()({},t,{className:r}))}return React.createElement(e,t)}),"withCustomClassName");(0,l.addFilter)("editor.BlockListBlock","jetpack/contact-form",b)},2185:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var a=r(3419),o=r(5609),n=r(5736),l=r(2819),i=r(9196),s=r.n(i),c=r(6556);const __=n.__,u=`${(0,l.get)((0,a.Pb)(),"adminUrl",!1)}edit.php?post_type=feedback`,p=e=>{let{formTitle:t="",isChildBlock:r=!1,setAttributes:a}=e;return s().createElement(s().Fragment,null,s().createElement(c.Z,null,__("Manage and export your form responses in WPAdmin:","jetpack-forms")),s().createElement(o.Button,{variant:"secondary",href:u,target:"_blank"},__("View Form Responses","jetpack-forms"),s().createElement("span",{className:"screen-reader-text"},__("(opens in a new tab)","jetpack-forms"))),!1)}},1666:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var a=r(4981),o=r(5609),n=r(9818),l=r(9307),i=r(5736);const __=i.__,s=()=>{const{insertConsentBlock:e}=(()=>{const e=(0,n.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]),{insertBlock:t}=(0,n.useDispatch)("core/block-editor");return{insertConsentBlock:(0,l.useCallback)((async()=>{let r=(e.innerBlocks??[]).findIndex((e=>{let{name:t}=e;return"jetpack/button"===t}));-1===r&&(r=(e.innerBlocks??[]).length);const o=await(0,a.createBlock)("jetpack/field-consent");await t(o,r,e.clientId,!1)}),[t,e.clientId,e.innerBlocks])}})();return React.createElement(React.Fragment,null,React.createElement("p",null,__("You’re already collecting email contacts. Why not make sure you have permission to email them too?","jetpack-forms")),React.createElement(o.Button,{variant:"secondary",onClick:e,style:{marginBottom:"1em"}},__("Add email permission request","jetpack-forms")),React.createElement("br",null))},c=()=>{const e=(0,n.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]);return(0,l.useMemo)((()=>(e=>{const t=e.some((e=>{let{name:t}=e;return"jetpack/field-email"===t})),r=e.some((e=>{let{name:t}=e;return"jetpack/field-consent"===t}));return!!t&&!r})(e.innerBlocks)),[e.innerBlocks])?React.createElement(s,null):null}},5281:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var a=r(5609),o=r(9307),n=r(2819),l=r(9289),i=r(7728),s=r(4722);const c="creative-mail-by-constant-contact/creative-mail-plugin.php",u=e=>{let{pluginState:t,setPluginState:r}=e;const[a,n]=(0,o.useState)(),[l,c]=(0,o.useState)(!1),u=((e,t,r)=>(0,o.useCallback)(((a,o)=>{e(void 0),t(!0),a(o).then((()=>{r(s.Q.ACTIVE)})).catch((t=>{e(t)})).finally((()=>t(!1)))}),[t,e,r]))(n,c,r);return a?React.createElement(i.Z,{error:a}):React.createElement(s.Z,{pluginState:t,onCreativeMailPluginClick:u,isInstalling:l})},p=e=>{let{isFetchingPlugins:t,hasError:r,pluginState:o,setPluginState:n}=e;return t?React.createElement(a.Spinner,null):r?null:React.createElement(u,{pluginState:o,setPluginState:n})},d=()=>{const[e,t]=(0,o.useState)(!0),[r,a]=(0,o.useState)(!1),[i,u]=(0,o.useState)(s.Q.NOT_INSTALLED);return(0,o.useEffect)((()=>{(0,l.uM)().then((e=>{a(!1),(0,n.get)(e,c)&&((0,n.get)(e,[c,"active"])?u(s.Q.ACTIVE):u(s.Q.INSTALLED))})).catch((()=>a(!0))).finally((()=>t(!1)))}),[u,t,a]),React.createElement(p,{isFetchingPlugins:e,hasError:r,pluginState:i,setPluginState:u})}},7728:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var a=r(5609),o=r(9307),n=r(5736);const __=n.__,l=e=>{let{error:t}=e;return React.createElement(a.Notice,{isDismissible:!1,status:"error"},(0,o.createInterpolateElement)(__("The plugin failed to install. Please check the plugin information for detailed requirements.","jetpack-forms"),{a:React.createElement(a.ExternalLink,{href:"https://wordpress.org/plugins/creative-mail-by-constant-contact"}),b:React.createElement("span",null,t)}))}},4722:(e,t,r)=>{"use strict";r.d(t,{Q:()=>s,Z:()=>m});var a=r(3419),o=r(5609),n=r(5736),l=r(2819),i=r(9289);const __=n.__,s=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),c=e=>{let{isActivating:t}=e;const r=t?__("Activating…","jetpack-forms"):__("Installing…","jetpack-forms",0);return React.createElement(o.Button,{variant:"secondary",icon:React.createElement(o.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":r},r)},u=e=>{let{installAndActivateCreativeMailPlugin:t,isInstalling:r}=e;return React.createElement("p",{className:"jetpack-contact-form__integration-panel"},React.createElement("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("To start sending email campaigns, install the Creative Mail plugin for WordPress.","jetpack-forms"),React.createElement("br",null),r&&React.createElement(c,null),!r&&React.createElement(o.Button,{variant:"secondary",onClick:t},__("Install Creative Mail plugin","jetpack-forms"))))},p=e=>{let{activateCreativeMailPlugin:t,isInstalling:r}=e;return React.createElement("p",{className:"jetpack-contact-form__integration-panel"},React.createElement("em",null,__("To start sending email campaigns, activate the Creative Mail plugin for WordPress.","jetpack-forms")),React.createElement("br",null),r&&React.createElement(c,{isActivating:!0}),!r&&React.createElement(o.Button,{variant:"secondary",onClick:t},__("Activate Creative Mail Plugin","jetpack-forms")))},d=()=>React.createElement("p",null,React.createElement("em",null,__("You’re all setup for email marketing with Creative Mail.","jetpack-forms"),React.createElement("br",null),React.createElement(o.ExternalLink,{href:`${(0,l.get)((0,a.Pb)(),"adminUrl",!1)}admin.php?page=creativemail`},__("Open Creative Mail settings","jetpack-forms")))),m=e=>{let{pluginState:t,onCreativeMailPluginClick:r,isInstalling:a}=e;return React.createElement("div",{"aria-live":"polite"},s.ACTIVE===t&&React.createElement(d,null),s.INSTALLED===t&&React.createElement(p,{activateCreativeMailPlugin:()=>r(i.bu,"creative-mail-by-constant-contact/creative-mail-plugin"),isInstalling:a}),s.NOT_INSTALLED===t&&React.createElement(u,{installAndActivateCreativeMailPlugin:()=>r(i.yX,"creative-mail-by-constant-contact"),isInstalling:a}))}},7990:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var a=r(5609),o=r(1666),n=r(5281);const l=()=>React.createElement(a.BaseControl,null,React.createElement(o.Z,null),React.createElement(n.Z,null))},1726:(e,t,r)=>{"use strict";r.d(t,{W:()=>c,Z:()=>u});var a=r(5609),o=r(9307),n=r(5736),l=r(1275),i=r(3644),s=r(4697);const __=n.__,c={name:"salesforce-web-to-lead-form",title:__("Salesforce Lead Form","jetpack-forms"),description:__("Add a Salesforce Lead form to your site","jetpack-forms"),icon:(0,s.Z)(React.createElement(a.Path,{d:"M10.6778 7.72509C11.1949 7.1895 11.9152 6.8509 12.7094 6.8509C13.7682 6.8509 14.6855 7.4419 15.178 8.31608C15.6028 8.12524 16.0768 8.02059 16.5755 8.02059C18.4839 8.02059 20.0229 9.57811 20.0229 11.4988C20.0229 13.4196 18.4777 14.9771 16.5755 14.9771C16.3415 14.9771 16.1138 14.9525 15.8983 14.9094C15.4674 15.6789 14.6424 16.2022 13.6944 16.2022C13.3004 16.2022 12.9248 16.1099 12.5924 15.9498C12.1553 16.9779 11.1334 17.7043 9.94523 17.7043C8.70783 17.7043 7.64896 16.9225 7.24265 15.8205C7.06412 15.8574 6.87943 15.8759 6.69475 15.8759C5.21725 15.8759 4.02295 14.6693 4.02295 13.1733C4.02295 12.176 4.55854 11.3018 5.35885 10.834C5.19263 10.4584 5.10029 10.0398 5.10029 9.59658C5.09413 7.8913 6.49159 6.5 8.20302 6.5C9.21264 6.5 10.1114 6.98018 10.6778 7.72509Z",fill:(0,i.m)()}),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-email",{required:!0,label:__("Business Email","jetpack-forms"),id:"email"}],["jetpack/field-name",{required:!0,label:__("First Name","jetpack-forms"),id:"first_name"}],["jetpack/field-name",{required:!0,label:__("Last Name","jetpack-forms"),id:"last_name"}],["jetpack/field-text",{required:!0,label:__("Job Title","jetpack-forms"),id:"title"}],["jetpack/field-text",{required:!0,label:__("Company","jetpack-forms"),id:"company"}],["jetpack/field-telephone",{required:!0,label:__("Phone Number","jetpack-forms"),id:"phone"}],["jetpack/button",{text:__("Submit","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{subject:__("New lead received from your website","jetpack-forms"),salesforceData:{organizationId:"",sendToSalesforce:!0},style:{spacing:{padding:{top:"16px",right:"16px",bottom:"16px",left:"16px"}}}}},u=e=>{let{salesforceData:t,setAttributes:r,instanceId:n}=e;const[i,s]=(0,o.useState)(!1);return React.createElement(o.Fragment,null,React.createElement(a.PanelBody,{title:__("Salesforce","jetpack-forms"),initialOpen:!0},React.createElement(a.BaseControl,null,React.createElement(a.TextControl,{label:__("Organization ID","jetpack-forms"),value:t.organizationId||"",placeholder:__("Enter your Organization ID","jetpack-forms"),onBlur:e=>{s(!e.target.value.trim().match(/^[a-zA-Z0-9]{15,18}$/))},onChange:e=>{var a;s(!1),a={organizationId:e.trim()},r({salesforceData:{...t,...a}})},help:__("Enter the Salesforce organization ID to send Leads to.","jetpack-forms")}),i&&React.createElement(l.Z,{isError:!0,id:`contact-form-${n}-email-error`},__("Invalid Organization ID. Should be a 15 - 18 characters long alphanumeric string.","jetpack-forms")),React.createElement(a.ExternalLink,{href:"https://help.salesforce.com/s/articleView?id=000325251&type=1"},__("Where to find your Salesforce Organization ID","jetpack-forms")),React.createElement("p",{style:{"margin-top":"32px",display:"flex","font-size":"12px",gap:"8px"}},React.createElement("div",null,React.createElement("span",{style:{padding:"3px 6px","border-radius":"4px",background:"#2FB41F",color:"white",display:"block","font-weight":600,"font-size":"11px"}},"BETA")),React.createElement("div",null,__("This premium feature is currently free to use as it is in beta.","jetpack-forms"))))))}},9696:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});var a=r(2819);const o=e=>{const t={"--jetpack--contact-form--border-color":e.borderColor,"--jetpack--contact-form--border-radius":(0,a.isNumber)(e.borderRadius)?`${e.borderRadius}px`:null,"--jetpack--contact-form--border-size":(0,a.isNumber)(e.borderWidth)?`${e.borderWidth}px`:null,"--jetpack--contact-form--input-background":e.fieldBackgroundColor,"--jetpack--contact-form--font-size":e.fieldFontSize,"--jetpack--contact-form--line-height":e.lineHeight,"--jetpack--contact-form--text-color":e.inputColor,"--jetpack--contact-form--button-outline--text-color":e.inputColor,"--jetpack--contact-form--button-outline--background-color":e.buttonBackgroundColor,"--jetpack--contact-form--button-outline--border-radius":(0,a.isNumber)(e.buttonBorderRadius)?`${e.buttonBorderRadius}px`:null,"--jetpack--contact-form--button-outline--border-size":(0,a.isNumber)(e.buttonBorderWidth)?`${e.buttonBorderWidth}px`:null},r={color:e.labelColor,fontSize:e.labelFontSize,lineHeight:e.labelLineHeight},o={backgroundColor:e.fieldBackgroundColor,borderColor:e.borderColor,borderRadius:(0,a.isNumber)(e.borderRadius)?e.borderRadius:null,borderWidth:(0,a.isNumber)(e.borderWidth)?e.borderWidth:null,color:e.inputColor,fontSize:e.fieldFontSize,lineHeight:e.lineHeight};return{blockStyle:t,fieldStyle:o,labelStyle:r,optionStyle:{color:o.color,fontSize:o.fontSize,lineHeight:o.lineHeight}}}},1491:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var a=r(2175),o=r(4981),n=r(5736),l=r(2819),i=r(8003);const __=n.__,s=["submit_button_text","has_form_settings_set","submitButtonText","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor","submitButtonClasses","hasFormSettingsSet"],c=[{attributes:{...i.Z},supports:{html:!1},save:()=>React.createElement(a.InnerBlocks.Content,null)},{attributes:{submit_button_text:{type:"string",default:__("Submit","jetpack-forms")},has_form_settings_set:{type:"string",default:null},submitButtonText:{type:"string",default:__("Submit","jetpack-forms")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},...i.Z},migrate:(e,t)=>{const r=(0,l.omit)(e,s),a={text:e.submitButtonText||e.submit_button_text||__("Submit","jetpack-forms"),backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,customBackgroundColor:e.customBackgroundButtonColor,customTextColor:e.customTextButtonColor};return[r,t.concat((0,o.createBlock)("jetpack/button",{element:"button",...a}))]},isEligible:e=>!(!e.has_form_settings_set&&!e.hasFormSettingsSet),save:()=>React.createElement(a.InnerBlocks.Content,null)}]},7829:(e,t,r)=>{"use strict";r.d(t,{Z:()=>S});var a=r(3419),o=r(2175),n=r(4981),l=r(5609),i=r(4333),s=r(9818),c=r(9307),u=r(5736),p=r(5235),d=r.n(p),m=r(2819),f=r(348),h=r(6556),b=r(7871),g=r(58),k=r(2185),E=r(7990),C=r(1726),v=r(3120),R=r(4189);const __=u.__,j=(0,m.filter)(f.N,(e=>{let{settings:t}=e;return!t.parent||"jetpack/contact-form"===t.parent||(0,m.isArray)(t.parent)&&t.parent.includes("jetpack/contact-form")})),y=[...(0,m.map)(j,(e=>`jetpack/${e.name}`)),"core/audio","core/columns","core/group","core/heading","core/image","core/list","core/paragraph","core/row","core/separator","core/spacer","core/stack","core/subhead","core/video"],w=`${(0,m.get)((0,a.Pb)(),"adminUrl",!1)}edit.php?post_type=feedback`,x=(0,c.forwardRef)(((e,t)=>{let{attributes:r,setAttributes:i,siteTitle:s,postTitle:u,postAuthorEmail:p,hasInnerBlocks:f,replaceInnerBlocks:v,selectBlock:j,clientId:x,instanceId:S,className:I,blockType:A,variations:N,defaultVariation:B,canUserInstallPlugins:_,style:P}=e;const{to:T,subject:L,customThankyou:F,customThankyouHeading:M,customThankyouMessage:$,customThankyouRedirect:O,jetpackCRM:Z,formTitle:V,salesforceData:H}=r,[D,q]=(0,c.useState)(!1),G=d()(I,"jetpack-contact-form",{"is-placeholder":!f&&n.registerBlockVariation}),z=!!window?.Jetpack_Editor_Initial_State?.available_blocks["contact-form/salesforce-lead-form"],W=e=>(0,m.map)(e,(e=>{let[t,r,a=[]]=e;return(0,n.createBlock)(t,r,W(a))})),U=e=>{e.attributes&&i(e.attributes),e.innerBlocks&&v(x,W(e.innerBlocks)),j(x)};(0,c.useEffect)((()=>{f||n.registerBlockVariation||U(R.Z[0])})),(0,c.useEffect)((()=>{f||!n.registerBlockVariation||D||-1===window.location.search.indexOf("showJetpackFormsPatterns")||q(!0)}),[]),(0,c.useEffect)((()=>{if(void 0===T&&p&&i({to:p}),void 0===L&&void 0!==s&&void 0!==u){i({subject:"["+s+"] "+u})}}),[T,p,L,s,u,i]);return!f&&n.registerBlockVariation?React.createElement("div",{className:G},React.createElement(o.__experimentalBlockVariationPicker,{icon:(0,m.get)(A,["icon","src"]),label:(0,m.get)(A,["title"]),instructions:__("Start building a form by selecting one of these form templates, or search in the patterns library for more forms:","jetpack-forms"),variations:(0,m.filter)(N,(e=>!e.hiddenFromPicker)),onSelect:function(){U(arguments.length>0&&void 0!==arguments[0]?arguments[0]:B)}}),React.createElement("div",{className:"form-placeholder__footer"},React.createElement(l.Button,{variant:"secondary",onClick:()=>q(!0)},__("Explore Form Patterns","jetpack-forms")),React.createElement("div",{className:"form-placeholder__footer-links"},React.createElement(l.Button,{variant:"link",className:"form-placeholder__external-link",href:"https://jetpack.com/support/jetpack-blocks/contact-form/",target:"_blank"},__("Learn more about customizing forms","jetpack-forms")),React.createElement(l.Button,{variant:"link",className:"form-placeholder__external-link",href:w,target:"_blank"},__("View and export your form responses here","jetpack-forms")))),D&&React.createElement(l.Modal,{className:"form-placeholder__patterns-modal",title:__("Choose a pattern","jetpack-forms"),closeLabel:__("Cancel","jetpack-forms"),onRequestClose:()=>q(!1)},React.createElement(o.__experimentalBlockPatternSetup,{initialViewMode:"grid",filterPatternsFn:e=>-1!==e.content.indexOf("jetpack/contact-form"),clientId:x}))):React.createElement(React.Fragment,null,React.createElement(o.InspectorControls,null,React.createElement(l.PanelBody,{title:__("Manage Responses","jetpack-forms")},React.createElement(k.Z,{formTitle:V,setAttributes:i})),React.createElement(l.PanelBody,{title:__("Submission Settings","jetpack-forms"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(h.Z,null,__("Customize the view after form submission:","jetpack-forms")),React.createElement(l.SelectControl,{label:__("On Submission","jetpack-forms"),value:F,options:[{label:__("Show a summary of submitted fields","jetpack-forms"),value:""},{label:__("Show a custom text message","jetpack-forms"),value:"message"},{label:__("Redirect to another webpage","jetpack-forms"),value:"redirect"}],onChange:e=>i({customThankyou:e})}),"redirect"!==F&&React.createElement(l.TextControl,{label:__("Message Heading","jetpack-forms"),value:M,placeholder:__("Your message has been sent","jetpack-forms"),onChange:e=>i({customThankyouHeading:e})}),"message"===F&&React.createElement(l.TextareaControl,{label:__("Message Text","jetpack-forms"),value:$,placeholder:__("Thank you for your submission!","jetpack-forms"),onChange:e=>i({customThankyouMessage:e})}),"redirect"===F&&React.createElement(l.BaseControl,{label:__("Redirect Address","jetpack-forms"),id:`contact-form-${S}-thankyou-url`},React.createElement(o.URLInput,{id:`contact-form-${S}-thankyou-url`,value:O,className:"jetpack-contact-form__thankyou-redirect-url",onChange:e=>i({customThankyouRedirect:e})})))),React.createElement(l.PanelBody,{title:__("Email Connection","jetpack-forms")},React.createElement(g.Z,{emailAddress:T,emailSubject:L,instanceId:S,postAuthorEmail:p,setAttributes:i})),z&&H?.sendToSalesforce&&React.createElement(C.Z,{salesforceData:H,setAttributes:i,instanceId:S}),!(0,a.Wp)()&&React.createElement(c.Fragment,null,_&&React.createElement(l.PanelBody,{title:__("CRM Connection","jetpack-forms"),initialOpen:!1},React.createElement(b.Z,{jetpackCRM:Z,setAttributes:i})),React.createElement(l.PanelBody,{title:__("Creative Mail","jetpack-forms"),initialOpen:!1},React.createElement(E.Z,null)))),React.createElement("div",{className:G,style:P,ref:t},React.createElement(o.InnerBlocks,{allowedBlocks:y,templateInsertUpdatesSelection:!1})))})),S=(0,i.compose)([(0,s.withSelect)(((e,t)=>{const{getBlockType:r,getBlockVariations:a,getDefaultBlockVariation:o}=e("core/blocks"),{getBlocks:n}=e("core/block-editor"),{getEditedPostAttribute:l}=e("core/editor"),{getSite:i,getUser:s,canUser:c}=e("core"),u=n(t.clientId),p=l("author"),d=p&&s(p)&&s(p).email,f=l("title"),h=c("create","plugins"),b=u.find((e=>"jetpack/button"===e.name));if(b&&!b.attributes.lock){const e={move:!1,remove:!0};b.attributes.lock=e}return{blockType:r&&r(t.name),canUserInstallPlugins:h,defaultVariation:o&&o(t.name,"block"),variations:a&&a(t.name,"block"),innerBlocks:u,hasInnerBlocks:u.length>0,siteTitle:(0,m.get)(i&&i(),["title"]),postTitle:f,postAuthorEmail:d}})),(0,s.withDispatch)((e=>{const{replaceInnerBlocks:t,selectBlock:r}=e("core/block-editor");return{replaceInnerBlocks:t,selectBlock:r}})),i.withInstanceId])((0,v.r)(x))},4913:(e,t,r)=>{"use strict";r.d(t,{X:()=>h,u:()=>m});var a=r(2175),o=r(5609),n=r(5736),l=r(8003),i=r(1491),s=r(7829),c=r(5688),u=r(3644),p=r(4697),d=r(4189);const __=n.__,_x=n._x,m="contact-form",f=(0,p.Z)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 9H13V7.5H18V9Z",fill:(0,u.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16.5H13V15H18V16.5Z",fill:(0,u.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 7.5H7.5V9.5H9.5V7.5ZM7.5 6H9.5C10.3284 6 11 6.67157 11 7.5V9.5C11 10.3284 10.3284 11 9.5 11H7.5C6.67157 11 6 10.3284 6 9.5V7.5C6 6.67157 6.67157 6 7.5 6Z",fill:(0,u.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 14.5H7.5V16.5H9.5V14.5ZM7.5 13H9.5C10.3284 13 11 13.6716 11 14.5V16.5C11 17.3284 10.3284 18 9.5 18H7.5C6.67157 18 6 17.3284 6 16.5V14.5C6 13.6716 6.67157 13 7.5 13Z",fill:(0,u.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19 4.5H5C4.72386 4.5 4.5 4.72386 4.5 5V19C4.5 19.2761 4.72386 19.5 5 19.5H19C19.2761 19.5 19.5 19.2761 19.5 19V5C19.5 4.72386 19.2761 4.5 19 4.5ZM5 3C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5Z",fill:(0,u.m)()}))),h={title:__("Form","jetpack-forms"),description:__("Create forms to collect data from site visitors and manage their responses.","jetpack-forms"),icon:f,keywords:[_x("email","block search term","jetpack-forms"),_x("feedback","block search term","jetpack-forms"),_x("contact form","block search term","jetpack-forms")],supports:{color:{link:!0,gradients:!0},html:!1,spacing:{padding:!0,margin:!0},align:["wide","full"]},attributes:l.Z,edit:s.Z,save:()=>{const e=a.useBlockProps.save();return React.createElement("div",e,React.createElement(a.InnerBlocks.Content,null))},example:{innerBlocks:[{name:"jetpack/field-name",attributes:{required:!0,label:__("Name","jetpack-forms")}},{name:"jetpack/field-email",attributes:{required:!0,label:__("Email","jetpack-forms")}},{name:"jetpack/field-textarea",attributes:{label:__("Message","jetpack-forms")}},{name:"jetpack/button",attributes:{text:__("Contact Us","jetpack-forms"),element:"button",lock:{remove:!0}}}]},styles:[{name:"default",label:"Default",isDefault:!0},{name:"animated",label:"Animated"},{name:"outlined",label:"Outlined"}],variations:d.Z,category:"contact-form",transforms:c.Z,deprecated:i.Z}},5688:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var a=r(4981),o=r(5736),n=r(2819);const __=o.__,l=(e,t,r)=>{const a=r.match(new RegExp(`\\[${e}[^\\]]* ${t}="([^"]*)"`,"im"));if(a&&a.length)return a[1];const o=r.match(new RegExp(`\\[${e}[^\\]]* ${t}='([^']*)'`,"im"));if(o&&o.length)return o[1];const n=r.match(new RegExp(`\\[${e}[^\\]]* ${t}=([^\\s]*)\\s`,"im"));return!(!n||!n.length)&&n[1]},i={root:{},innerBlocks:[]},s={from:[{type:"raw",priority:1,isMatch:e=>!("P"!==e.nodeName||!(/\[contact-form(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[contact-field(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[\/contact-form]/g.test(e.textContent))),transform:e=>{const t=e.textContent.replace("
","");if(t.includes("[contact-form")&&(i.root={},i.innerBlocks=[],i.root=(e=>{const t={to:l("contact-form","to",e),subject:l("contact-form","subject",e),submitButtonText:l("contact-form","submit_button_text",e)};return{blockName:"jetpack/contact-form",attrs:(0,n.pickBy)(t,n.identity)}})(t)),t.includes("[contact-field")){const e=t.match(/(\[contact-field[\s\S]*?\/?])/g);e&&e.length>0&&e.forEach((e=>{i.innerBlocks.push((e=>{const t={label:l("contact-field","label",e),placeholder:l("contact-field","placeholder",e),required:l("contact-field","required",e),options:l("contact-field","options",e)},r=(e=>{const t="jetpack",r={text:`${t}/field-text`,url:`${t}/field-text`,textarea:`${t}/field-textarea`,radio:`${t}/field-radio`,checkbox:`${t}/field-checkbox`,"checkbox-multiple":`${t}/field-checkbox-multiple`,select:`${t}/field-select`,email:`${t}/field-email`,name:`${t}/field-name`,default:`${t}/field-text`};return r[e]?r[e]:r.default})(l("contact-field","type",e));return t.options&&(t.options=t.options.split(",")),(0,a.createBlock)(r,(0,n.pickBy)(t,n.identity))})(e))}))}if(t.includes("[/contact-form]")){i.innerBlocks.push((0,a.createBlock)("jetpack/button",{element:"button",text:i.root.attrs.submitButtonText||__("Contact Us","jetpack-forms")}));return(0,a.createBlock)(i.root.blockName,i.root.attrs,i.innerBlocks)}return!1}}],to:[{type:"block",blocks:["jetpack/subscriptions"],transform:()=>(0,a.createBlock)("jetpack/subscriptions")}]}},3644:(e,t,r)=>{"use strict";r.d(t,{m:()=>l});var a=r(550),o=r(3419);const n=a.O["Jetpack Green 40"];function l(){return(0,o.Ug)()||(0,o.Wp)()?null:n}},9019:(e,t,r)=>{"use strict";r.d(t,{k:()=>o});var a=r(2819);const o=(e,t,r,o)=>setTimeout((()=>{(0,a.tap)(e.querySelectorAll(t)[r],(e=>{if(e&&(e.focus(),document.createRange&&o)){const t=document.createRange();t.selectNodeContents(e),t.collapse(!1);const r=document.defaultView.getSelection();r.removeAllRanges(),r.addRange(t)}}))}),0)},7940:()=>{window.jetpackForms=window.jetpackForms||{},window.jetpackForms.getBackgroundColor=function(e){let t=window.getComputedStyle(e).backgroundColor;for(;"rgba(0, 0, 0, 0)"===t&&e.parentNode&&e.parentNode.nodeType===window.Node.ELEMENT_NODE;)if("wp-block-cover"!==(e=e.parentNode).className)t=window.getComputedStyle(e).backgroundColor;else{const r=e.querySelector(".wp-block-cover__background");t=window.getComputedStyle(r).backgroundColor}return t},window.jetpackForms.generateStyleVariables=function(e){const t=window["editor-canvas"]?window["editor-canvas"].document:document,r=t.querySelector("body");if(!e)return;const a=t.createElement("div");a.className="contact-form__style-probe",a.style="position: absolute; z-index: -1; width: 1px; height: 1px; visibility: hidden",a.innerHTML='\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t',e.parentNode.appendChild(a);const o=a.querySelector(".btn-primary"),n=a.querySelector(".btn-outline"),l=a.querySelector('input[type="text"]'),i=window.jetpackForms.getBackgroundColor(r),s=window.jetpackForms.getBackgroundColor(l),c=window.getComputedStyle(l).backgroundColor,{border:u,borderColor:p,backgroundColor:d,color:m}=window.getComputedStyle(o),{backgroundColor:f,border:h,borderWidth:b,borderRadius:g,color:k,padding:E,lineHeight:C}=window.getComputedStyle(n),v=window.jetpackForms.getBackgroundColor(n),{color:R,padding:j,paddingTop:y,paddingLeft:w,border:x,borderColor:S,borderWidth:I,borderStyle:A,borderRadius:N,fontSize:B,fontFamily:_,lineHeight:P}=window.getComputedStyle(l);return a.remove(),{"--jetpack--contact-form--primary-color":d,"--jetpack--contact-form--background-color":i,"--jetpack--contact-form--text-color":R,"--jetpack--contact-form--border":x,"--jetpack--contact-form--border-color":S,"--jetpack--contact-form--border-size":I,"--jetpack--contact-form--border-style":A,"--jetpack--contact-form--border-radius":N,"--jetpack--contact-form--input-background":c,"--jetpack--contact-form--input-background-fallback":s,"--jetpack--contact-form--input-padding":j,"--jetpack--contact-form--input-padding-top":y,"--jetpack--contact-form--input-padding-left":w,"--jetpack--contact-form--font-size":B,"--jetpack--contact-form--font-family":_,"--jetpack--contact-form--line-height":P,"--jetpack--contact-form--button-primary--color":m,"--jetpack--contact-form--button-primary--background-color":d,"--jetpack--contact-form--button-primary--border":u,"--jetpack--contact-form--button-primary--border-color":p,"--jetpack--contact-form--button-outline--padding":E,"--jetpack--contact-form--button-outline--border":h,"--jetpack--contact-form--button-outline--background-color":f,"--jetpack--contact-form--button-outline--background-color-fallback":v,"--jetpack--contact-form--button-outline--border-size":b,"--jetpack--contact-form--button-outline--border-radius":g,"--jetpack--contact-form--button-outline--text-color":k,"--jetpack--contact-form--button-outline--line-height":C}}},7155:(e,t,r)=>{"use strict";r.d(t,{D6:()=>d,JH:()=>c,RK:()=>p,mo:()=>u});var a=r(2175),o=r(4981),n=r(9818),l=r(9307),i=r(5736);const __=i.__,s="jetpack/contact-form",c={ANIMATED:"animated",BELOW:"below",DEFAULT:"default",OUTLINED:"outlined"},u=e=>{let{attributes:t,clientId:r,name:i}=e;const c={text:__("Submit","jetpack-forms"),element:"button",lock:{remove:!0}},{replaceBlock:u}=(0,n.useDispatch)(a.store),p=(0,n.useSelect)((e=>e(a.store).getBlockParentsByBlockName(r,s)));(0,l.useEffect)((()=>{p?.length||u(r,(0,o.createBlock)(s,{},[(0,o.createBlock)(i,t),(0,o.createBlock)("jetpack/button",c)]))}),[])},p=e=>{const t=e&&e.match(/is-style-([^\s]+)/i);return t?t[1]:""},d=e=>{const t=(0,n.useSelect)((t=>{const[r]=t(a.store).getBlockParentsByBlockName(e,s);return t(a.store).getBlockAttributes(r)}));return p(t?.className)||c.DEFAULT}},9289:(e,t,r)=>{"use strict";r.d(t,{bu:()=>s,uM:()=>l,yX:()=>i});var a=r(3419),o=r(6989),n=r.n(o);async function l(){if((0,a.Wp)())return Promise.reject();try{return await n()({path:"/jetpack/v4/plugins"})}catch(e){return Promise.reject(e.message)}}async function i(e){if((0,a.Wp)())return Promise.reject();try{return await n()({path:"/jetpack/v4/plugins",method:"POST",data:{slug:e,status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}async function s(e){if((0,a.Wp)())return Promise.reject();try{return await n()({path:`/jetpack/v4/plugins/${e}`,method:"POST",data:{status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}},7469:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var a=r(3419),o=r(4981),n=r(2694);function l(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const{available:i,details:s,unavailableReason:c}=(0,a.OZ)(e),u=(0,a._D)(c,s),p=l?"jetpack/":"";if(!i&&!u)return!1;const d=(0,o.registerBlockType)(p+e,t);return u&&(0,n.addFilter)("editor.BlockListBlock",`${p+e}-with-has-warning-is-interactive-class-names`,(0,a.T)(p+e)),r.forEach((e=>(0,o.registerBlockType)(p+e.name,e.settings))),d}},4697:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var a=r(5609);const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"0 0 24 24";return React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:o},React.createElement(a.Path,{fill:"none",d:"M0 0h24v24H0V0z",className:"icon-filler"}),e)}},2316:(e,t,r)=>{"use strict";r.d(t,{j:()=>n});var a=r(9818),o=r(2819);const n=e=>(0,a.useSelect)((t=>{const r=t("core/block-editor");return r.getBlockAttributes((0,o.first)(r.getBlockParents(e,!0)))}))},6101:(e,t,r)=>{"use strict";r.d(t,{j:()=>s});var a=r(2674),o=r.n(a),n=r(9818),l=r(9307),i=r(2819);const s=e=>t=>r=>{let{attributes:a,clientId:s,setAttributes:c,...u}=r;const p=(e=>{let{attributes:t,clientId:r,setAttributes:a,sharedAttributes:o}=e;const{updateBlockAttributes:s}=(0,n.useDispatch)("core/block-editor"),c=(0,n.useSelect)((e=>{const t=e("core/block-editor"),a=(0,i.first)(t.getBlockParentsByBlockName(r,"jetpack/contact-form"));return(0,i.filter)(t.getBlocks(a),(e=>e.name.indexOf("jetpack/field")>-1&&e.attributes.shareFieldAttributes))}),[r]);return(0,l.useEffect)((()=>{if(!(0,i.isEmpty)(c)&&t.shareFieldAttributes){const e=(0,i.pick)((0,i.first)(c).attributes,o);s([r],e)}}),[]),(0,l.useCallback)((e=>{let n,l;t.shareFieldAttributes&&(0,i.isNil)(e.shareFieldAttributes)?(n=(0,i.map)(c,(e=>e.clientId)),l=(0,i.pick)(e,o)):e.shareFieldAttributes&&!(0,i.isEmpty)(c)&&(n=[r],l=(0,i.pick)((0,i.first)(c).attributes,o)),(0,i.isEmpty)(n)||(0,i.isEmpty)(l)||s(n,l),a(e)}),[t,r,a,o,c,s])})({attributes:a,clientId:s,setAttributes:c,sharedAttributes:e});return React.createElement(t,o()({attributes:a,clientId:s,setAttributes:p},u))}},3120:(e,t,r)=>{"use strict";r.d(t,{r:()=>l});var a=r(2674),o=r.n(a),n=(r(7940),r(9307));const l=e=>t=>{const{generateStyleVariables:r}=window.jetpackForms,a=(0,n.useRef)();return React.createElement(e,o()({style:r(a?.current)},t,{ref:a}))}},4189:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var a=r(3419),o=r(5609),n=r(5736),l=r(4955),i=r(2819),s=r(1726),c=r(3644),u=r(4697);const __=n.__,_x=n._x,p={style:{spacing:{padding:{top:"16px",right:"16px",bottom:"16px",left:"16px"}}}},d=(0,i.compact)([{name:"contact-form",title:__("Contact Form","jetpack-forms"),description:__("Add a contact form to your page.","jetpack-forms"),icon:(0,u.Z)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.3203L6.6477 9L12 12.6797L17.3523 9L12 5.3203ZM12 3.5L4 9L12 14.5L20 9L12 3.5Z",fill:(0,c.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4 18V9H5.5V18C5.5 18.4142 5.83579 18.75 6.25 18.75H17.75C18.1642 18.75 18.5 18.4142 18.5 18V9H20V18C20 19.2426 18.9926 20.25 17.75 20.25H6.25C5.00736 20.25 4 19.2426 4 18Z",fill:(0,c.m)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-textarea",{label:__("Message","jetpack-forms")}],["jetpack/button",{text:__("Contact Us","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...p}},!(0,a.Wp)()&&{name:"newsletter-form",title:__("Lead capture","jetpack-forms"),description:__("A simple way to collect leads using forms on your site.","jetpack-forms"),keywords:[_x("subscribe","block search term","jetpack-forms"),_x("email","block search term","jetpack-forms"),_x("signup","block search term","jetpack-forms")],icon:l.Z,innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-consent",{}],["jetpack/button",{text:__("Subscribe","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...p}},{name:"rsvp-form",title:__("RSVP Form","jetpack-forms"),description:__("Add an RSVP form to your page","jetpack-forms"),icon:(0,u.Z)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M7.87868 15.5L5.5 17.8787L5.5 6C5.5 5.72386 5.72386 5.5 6 5.5L18 5.5C18.2761 5.5 18.5 5.72386 18.5 6L18.5 15C18.5 15.2761 18.2761 15.5 18 15.5L7.87868 15.5ZM8.5 17L18 17C19.1046 17 20 16.1046 20 15L20 6C20 4.89543 19.1046 4 18 4L6 4C4.89543 4 4 4.89543 4 6L4 18.9393C4 19.5251 4.47487 20 5.06066 20C5.34196 20 5.61175 19.8883 5.81066 19.6893L8.5 17Z",fill:(0,c.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6087 7.93847L11.4826 13.6692L8.45898 10.5196L9.54107 9.48084L11.3175 11.3313L14.3914 7.06201L15.6087 7.93847Z",fill:(0,c.m)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-radio",{label:__("Attending?","jetpack-forms"),required:!0,options:[__("Yes","jetpack-forms"),__("No","jetpack-forms")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack-forms")}],["jetpack/button",{text:__("Send RSVP","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...p,subject:__("A new RSVP from your website","jetpack-forms")}},{name:"registration-form",title:__("Registration Form","jetpack-forms"),description:__("Add a Registration form to your page","jetpack-forms"),icon:(0,u.Z)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5 5.5V8H20V5.5H22.5V4H20V1.5H18.5V4H16V5.5H18.5ZM12 4H6C4.89543 4 4 4.89543 4 6V18C4 19.1046 4.89543 20 6 20H18C19.1046 20 20 19.1046 20 18V12H18.5V18C18.5 18.2761 18.2761 18.5 18 18.5H6C5.72386 18.5 5.5 18.2761 5.5 18V6C5.5 5.72386 5.72386 5.5 6 5.5H12V4Z",fill:(0,c.m)()}),React.createElement(o.Path,{d:"M16.75 17.5V15.5C16.75 13.9812 15.5188 12.75 14 12.75H10C8.48122 12.75 7.25 13.9812 7.25 15.5V17.5H8.75V15.5C8.75 14.8096 9.30964 14.25 10 14.25H14C14.6904 14.25 15.25 14.8096 15.25 15.5V17.5H16.75Z",fill:(0,c.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 9C14.5 10.3807 13.3807 11.5 12 11.5C10.6193 11.5 9.5 10.3807 9.5 9C9.5 7.61929 10.6193 6.5 12 6.5C13.3807 6.5 14.5 7.61929 14.5 9ZM13 9C13 9.55228 12.5523 10 12 10C11.4477 10 11 9.55228 11 9C11 8.44772 11.4477 8 12 8C12.5523 8 13 8.44772 13 9Z",fill:(0,c.m)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-telephone",{label:__("Phone","jetpack-forms")}],["jetpack/field-select",{label:__("How did you hear about us?","jetpack-forms"),options:[__("Search Engine","jetpack-forms"),__("Social Media","jetpack-forms"),__("TV","jetpack-forms"),__("Radio","jetpack-forms"),__("Friend or Family","jetpack-forms")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack-forms")}],["jetpack/button",{text:__("Send","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...p,subject:__("A new registration from your website","jetpack-forms")}},{name:"appointment-form",title:__("Appointment Form","jetpack-forms"),description:__("Add an Appointment booking form to your page","jetpack-forms"),icon:(0,u.Z)(React.createElement(React.Fragment,null,React.createElement(o.Path,{d:"M4 6C4 4.89543 4.89543 4 6 4H18C19.1046 4 20 4.89543 20 6V8H4V6Z",fill:(0,c.m)()}),React.createElement(o.Path,{d:"M7 9.25H11V13.25H7V9.25Z",fill:(0,c.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.5H18C18.2761 5.5 18.5 5.72386 18.5 6V12H20V6C20 4.89543 19.1046 4 18 4H6C4.89543 4 4 4.89543 4 6V18C4 19.1046 4.89543 20 6 20H12V18.5H6C5.72386 18.5 5.5 18.2761 5.5 18V6C5.5 5.72386 5.72386 5.5 6 5.5Z",fill:(0,c.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M17.25 21V15H18.75V21H17.25Z",fill:(0,c.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 17.25L21 17.25L21 18.75L15 18.75L15 17.25Z",fill:(0,c.m)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-telephone",{required:!0,label:__("Phone","jetpack-forms")}],["jetpack/field-date",{label:__("Date","jetpack-forms"),required:!0}],["jetpack/field-radio",{label:__("Time","jetpack-forms"),required:!0,options:[__("Morning","jetpack-forms"),__("Afternoon","jetpack-forms")]}],["jetpack/field-textarea",{label:__("Notes","jetpack-forms")}],["jetpack/button",{text:__("Book Appointment","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...p,subject:__("A new appointment booked from your website","jetpack-forms")}},{name:"feedback-form",title:__("Feedback Form","jetpack-forms"),description:__("Add a Feedback form to your page","jetpack-forms"),icon:(0,u.Z)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5C15.5899 18.5 18.5 15.5899 18.5 12C18.5 8.41015 15.5899 5.5 12 5.5C8.41015 5.5 5.5 8.41015 5.5 12C5.5 15.5899 8.41015 18.5 12 18.5ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",fill:(0,c.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 11C10.3284 11 11 10.3284 11 9.5C11 8.67157 10.3284 8 9.5 8C8.67157 8 8 8.67157 8 9.5C8 10.3284 8.67157 11 9.5 11Z",fill:(0,c.m)()}),React.createElement(o.Path,{d:"M16 9.5C16 10.3284 15.3284 11 14.5 11C13.6716 11 13 10.3284 13 9.5C13 8.67157 13.6716 8 14.5 8C15.3284 8 16 8.67157 16 9.5Z",fill:(0,c.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 11C15.3284 11 16 10.3284 16 9.5C16 8.67157 15.3284 8 14.5 8C13.6716 8 13 8.67157 13 9.5C13 10.3284 13.6716 11 14.5 11Z",fill:(0,c.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8.16492 14.6566L7.41431 13.7183L8.58561 12.7812L9.33622 13.7195C9.98358 14.5287 10.9637 14.9998 12 14.9998C13.0362 14.9998 14.0163 14.5287 14.6637 13.7195L15.4143 12.7812L16.5856 13.7183L15.835 14.6566C14.903 15.8216 13.4919 16.4998 12 16.4998C10.508 16.4998 9.09693 15.8216 8.16492 14.6566Z",fill:(0,c.m)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-radio",{label:__("Please rate our website","jetpack-forms"),required:!0,options:[__("1 - Very Bad","jetpack-forms"),__("2 - Poor","jetpack-forms"),__("3 - Average","jetpack-forms"),__("4 - Good","jetpack-forms"),__("5 - Excellent","jetpack-forms")]}],["jetpack/field-textarea",{label:__("How could we improve?","jetpack-forms")}],["jetpack/button",{text:__("Send Feedback","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...p,subject:__("New feedback received from your website","jetpack-forms")}},s.W])},1128:(e,t,r)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let a=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(a++,"%c"===e&&(o=a))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(2942)(t);const{formatters:a}=e.exports;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2942:(e,t,r)=>{e.exports=function(e){function t(e){let r,o,n,l=null;function i(){for(var e=arguments.length,a=new Array(e),o=0;o{if("%%"===e)return"%";c++;const o=t.formatters[r];if("function"==typeof o){const t=a[c];e=o.call(n,t),a.splice(c,1),c--}return e})),t.formatArgs.call(n,a);(n.log||t.log).apply(n,a)}return i.namespace=e,i.useColors=t.useColors(),i.color=t.selectColor(e),i.extend=a,i.destroy=t.destroy,Object.defineProperty(i,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==l?l:(o!==t.namespaces&&(o=t.namespaces,n=t.enabled(e)),n),set:e=>{l=e}}),"function"==typeof t.init&&t.init(i),i}function a(e,r){const a=t(this.namespace+(void 0===r?":":r)+e);return a.log=this.log,a}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const a=("string"==typeof e?e:"").split(/[\s,]+/),o=a.length;for(r=0;r{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t{"use strict";t.Z=function(e){var t=e.size,r=void 0===t?24:t,a=e.onClick,i=(e.icon,e.className),s=function(e,t){if(null==e)return{};var r,a,o=function(e,t){if(null==e)return{};var r,a,o={},n=Object.keys(e);for(a=0;a{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},7811:(e,t,r)=>{"use strict";function a(e){var t=this;if(t instanceof a||(t=new a),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var r=0,o=arguments.length;r1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");a=this.head.next,r=this.head.value}for(var o=0;null!==a;o++)r=e(r,a.value,o),a=a.next;return r},a.prototype.reduceReverse=function(e,t){var r,a=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");a=this.tail.prev,r=this.tail.value}for(var o=this.length-1;null!==a;o--)r=e(r,a.value,o),a=a.prev;return r},a.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},a.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},a.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new a;if(tthis.length&&(t=this.length);for(var o=0,n=this.head;null!==n&&othis.length&&(t=this.length);for(var o=this.length,n=this.tail;null!==n&&o>t;o--)n=n.prev;for(;null!==n&&o>e;o--,n=n.prev)r.push(n.value);return r},a.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var a=0,n=this.head;null!==n&&a{"use strict";e.exports=window.React},2819:e=>{"use strict";e.exports=window.lodash},6989:e=>{"use strict";e.exports=window.wp.apiFetch},2175:e=>{"use strict";e.exports=window.wp.blockEditor},4981:e=>{"use strict";e.exports=window.wp.blocks},5609:e=>{"use strict";e.exports=window.wp.components},4333:e=>{"use strict";e.exports=window.wp.compose},9818:e=>{"use strict";e.exports=window.wp.data},9307:e=>{"use strict";e.exports=window.wp.element},2694:e=>{"use strict";e.exports=window.wp.hooks},5736:e=>{"use strict";e.exports=window.wp.i18n},8817:e=>{"use strict";e.exports=window.wp.plugins},444:e=>{"use strict";e.exports=window.wp.primitives},6483:e=>{"use strict";e.exports=window.wp.url},2674:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";e.exports=JSON.parse('{"O":{"White":"#fff","Black":"#000","Gray":"#646970","Gray 0":"#f6f7f7","Gray 5":"#dcdcde","Gray 10":"#c3c4c7","Gray 20":"#a7aaad","Gray 30":"#8c8f94","Gray 40":"#787c82","Gray 50":"#646970","Gray 60":"#50575e","Gray 70":"#3c434a","Gray 80":"#2c3338","Gray 90":"#1d2327","Gray 100":"#101517","Blue":"#0675c4","Blue 0":"#e9f0f5","Blue 5":"#bbe0fa","Blue 10":"#91caf2","Blue 20":"#68b3e8","Blue 30":"#399ce3","Blue 40":"#1689db","Blue 50":"#0675c4","Blue 60":"#055d9c","Blue 70":"#044b7a","Blue 80":"#02395c","Blue 90":"#01283d","Blue 100":"#001621","Purple":"#984a9c","Purple 0":"#f2e9ed","Purple 5":"#ebcee0","Purple 10":"#e3afd5","Purple 20":"#d48fc8","Purple 30":"#c475bd","Purple 40":"#b35eb1","Purple 50":"#984a9c","Purple 60":"#7c3982","Purple 70":"#662c6e","Purple 80":"#4d2054","Purple 90":"#35163b","Purple 100":"#1e0c21","Pink":"#c9356e","Pink 0":"#f5e9ed","Pink 5":"#f2ceda","Pink 10":"#f7a8c3","Pink 20":"#f283aa","Pink 30":"#eb6594","Pink 40":"#e34c84","Pink 50":"#c9356e","Pink 60":"#ab235a","Pink 70":"#8c1749","Pink 80":"#700f3b","Pink 90":"#4f092a","Pink 100":"#260415","Red":"#d63638","Red 0":"#f7ebec","Red 5":"#facfd2","Red 10":"#ffabaf","Red 20":"#ff8085","Red 30":"#f86368","Red 40":"#e65054","Red 50":"#d63638","Red 60":"#b32d2e","Red 70":"#8a2424","Red 80":"#691c1c","Red 90":"#451313","Red 100":"#240a0a","Orange":"#b26200","Orange 0":"#f5ece6","Orange 5":"#f7dcc6","Orange 10":"#ffbf86","Orange 20":"#faa754","Orange 30":"#e68b28","Orange 40":"#d67709","Orange 50":"#b26200","Orange 60":"#8a4d00","Orange 70":"#704000","Orange 80":"#543100","Orange 90":"#361f00","Orange 100":"#1f1200","Yellow":"#9d6e00","Yellow 0":"#f5f1e1","Yellow 5":"#f5e6b3","Yellow 10":"#f2d76b","Yellow 20":"#f0c930","Yellow 30":"#deb100","Yellow 40":"#c08c00","Yellow 50":"#9d6e00","Yellow 60":"#7d5600","Yellow 70":"#674600","Yellow 80":"#4f3500","Yellow 90":"#320","Yellow 100":"#1c1300","Green":"#008a20","Green 0":"#e6f2e8","Green 5":"#b8e6bf","Green 10":"#68de86","Green 20":"#1ed15a","Green 30":"#00ba37","Green 40":"#00a32a","Green 50":"#008a20","Green 60":"#007017","Green 70":"#005c12","Green 80":"#00450c","Green 90":"#003008","Green 100":"#001c05","Celadon":"#008763","Celadon 0":"#e4f2ed","Celadon 5":"#a7e8d3","Celadon 10":"#66deb9","Celadon 20":"#31cc9f","Celadon 30":"#09b585","Celadon 40":"#009e73","Celadon 50":"#008763","Celadon 60":"#007053","Celadon 70":"#005c44","Celadon 80":"#004533","Celadon 90":"#003024","Celadon 100":"#001c15","WordPress Blue":"#006088","WordPress Blue 0":"#e6f1f5","WordPress Blue 5":"#bedae6","WordPress Blue 10":"#98c6d9","WordPress Blue 20":"#6ab3d0","WordPress Blue 30":"#3895ba","WordPress Blue 40":"#187aa2","WordPress Blue 50":"#006088","WordPress Blue 60":"#004e6e","WordPress Blue 70":"#003c56","WordPress Blue 80":"#002c40","WordPress Blue 90":"#001d2d","WordPress Blue 100":"#00101c","Simplenote Blue":"#3361cc","Simplenote Blue 0":"#e9ecf5","Simplenote Blue 5":"#ced9f2","Simplenote Blue 10":"#abc1f5","Simplenote Blue 20":"#84a4f0","Simplenote Blue 30":"#618df2","Simplenote Blue 40":"#4678eb","Simplenote Blue 50":"#3361cc","Simplenote Blue 60":"#1d4fc4","Simplenote Blue 70":"#113ead","Simplenote Blue 80":"#0d2f85","Simplenote Blue 90":"#09205c","Simplenote Blue 100":"#05102e","WooCommerce Purple":"#7f54b3","WooCommerce Purple 0":"#f7edf7","WooCommerce Purple 5":"#e5cfe8","WooCommerce Purple 10":"#d6b4e0","WooCommerce Purple 20":"#c792e0","WooCommerce Purple 30":"#af7dd1","WooCommerce Purple 40":"#9a69c7","WooCommerce Purple 50":"#7f54b3","WooCommerce Purple 60":"#674399","WooCommerce Purple 70":"#533582","WooCommerce Purple 80":"#3c2861","WooCommerce Purple 90":"#271b3d","WooCommerce Purple 100":"#140e1f","Jetpack Green":"#069e08","Jetpack Green 0":"#f0f2eb","Jetpack Green 5":"#d0e6b8","Jetpack Green 10":"#9dd977","Jetpack Green 20":"#64ca43","Jetpack Green 30":"#2fb41f","Jetpack Green 40":"#069e08","Jetpack Green 50":"#008710","Jetpack Green 60":"#007117","Jetpack Green 70":"#005b18","Jetpack Green 80":"#004515","Jetpack Green 90":"#003010","Jetpack Green 100":"#001c09"}}')}},t={};function r(a){var o=t[a];if(void 0!==o)return o.exports;var n=t[a]={exports:{}};return e[a](n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=r(348),t=r(7469),a=r(4913);(0,t.Z)(a.u,a.X,e.N)})()})(); \ No newline at end of file +__("Add %s consent message…","jetpack-forms"),n)}),React.createElement(a.InspectorControls,null,React.createElement(o.PanelBody,{title:__("Manage Responses","jetpack-forms")},React.createElement(u.Z,{isChildBlock:!0})),React.createElement(o.PanelBody,{title:__("Field Settings","jetpack-forms")},React.createElement(c.Z,{setAttributes:d,width:r}),React.createElement(o.ToggleControl,{label:__("Sync fields style","jetpack-forms"),checked:m.shareFieldAttributes,onChange:e=>d({shareFieldAttributes:e}),help:__("Deactivate for individual styling of this block","jetpack-forms")})),React.createElement(a.PanelColorSettings,{title:__("Color","jetpack-forms"),initialOpen:!1,colorSettings:[{value:m.labelColor,onChange:e=>d({labelColor:e}),label:__("Label Text","jetpack-forms")}]}),React.createElement(o.PanelBody,{title:__("Consent Settings","jetpack-forms")},React.createElement(o.BaseControl,null,React.createElement(o.SelectControl,{label:__("Permission to email","jetpack-forms"),value:n,options:[{label:__("Mention that you can email","jetpack-forms"),value:"implicit"},{label:__("Add a privacy checkbox","jetpack-forms"),value:"explicit"}],onChange:e=>d({consentType:e})})))))}))},5153:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var a=r(2175),o=r(5609),n=r(5736),l=r(7155),i=r(4697),s=r(231),c=r(2185);const __=n.__,u=e=>{let{attributes:t,blockClassNames:r,clientId:n,id:u,placeholder:p,placeholderField:d="placeholder",hidePlaceholder:m,required:f,setAttributes:h,type:b,width:g}=e;const k=(0,l.D6)(n),E=(0,l.RK)(r),C=["radio","checkbox"].includes(b),R=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:parseInt;return r=>{const a=t(r,10);h({[e]:isNaN(a)?"":a})}},v="button"===E?__("Button Text","jetpack-forms"):__("Option Text","jetpack-forms",0),j=C?v:__("Field Text","jetpack-forms",0),y=C?__("Background","jetpack-forms"):__("Field Background","jetpack-forms",0),w=C?__("Options Styles","jetpack-forms"):__("Input Field Styles","jetpack-forms",0),x=[{value:t.labelColor,onChange:e=>h({labelColor:e}),label:__("Label Text","jetpack-forms")},{value:t.inputColor,onChange:e=>h({inputColor:e}),label:j}];C&&"button"===E&&x.push({value:t.buttonBackgroundColor,onChange:e=>h({buttonBackgroundColor:e}),label:__("Button Background","jetpack-forms")}),C&&k!==l.JH.OUTLINED||(x.push({value:t.fieldBackgroundColor,onChange:e=>h({fieldBackgroundColor:e}),label:y}),x.push({value:t.borderColor,onChange:e=>h({borderColor:e}),label:__("Border","jetpack-forms")}));return React.createElement(React.Fragment,null,React.createElement(a.BlockControls,null,React.createElement(o.ToolbarGroup,null,React.createElement(o.ToolbarButton,{title:__("Required","jetpack-forms"),icon:(0,i.Z)(React.createElement(o.Path,{d:"M8.23118 8L16 16M8 16L15.7688 8 M6.5054 11.893L17.6567 11.9415M12.0585 17.6563L12 6.5",stroke:"currentColor"})),onClick:()=>{h({required:!f})},className:f?"is-pressed":void 0}))),React.createElement(a.InspectorControls,null,React.createElement(o.PanelBody,{title:__("Manage Responses","jetpack-forms")},React.createElement(c.Z,{isChildBlock:!0})),React.createElement(o.PanelBody,{title:__("Field Settings","jetpack-forms")},React.createElement(o.ToggleControl,{label:__("Field is required","jetpack-forms"),className:"jetpack-field-label__required",checked:f,onChange:e=>h({required:e}),help:__('You can edit the "required" label in the editor',"jetpack-forms")}),!m&&React.createElement(o.TextControl,{label:__("Placeholder text","jetpack-forms"),value:p||"",onChange:e=>h({[d]:e}),help:__("Show visitors an example of the type of content expected. Otherwise, leave blank.","jetpack-forms")}),React.createElement(s.Z,{setAttributes:h,width:g}),React.createElement(o.ToggleControl,{label:__("Sync fields style","jetpack-forms"),checked:t.shareFieldAttributes,onChange:e=>h({shareFieldAttributes:e}),help:__("Deactivate for individual styling of this block","jetpack-forms")})),React.createElement(a.PanelColorSettings,{title:__("Color","jetpack-forms"),initialOpen:!1,colorSettings:x}),React.createElement(o.PanelBody,{title:w,initialOpen:!1},React.createElement(o.BaseControl,null,React.createElement(a.FontSizePicker,{withReset:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0,onChange:e=>h({fieldFontSize:e}),value:t.fieldFontSize})),React.createElement(o.BaseControl,null,React.createElement(a.LineHeightControl,{__nextHasNoMarginBottom:!0,__unstableInputWidth:"100%",value:t.lineHeight,onChange:R("lineHeight",parseFloat),size:"__unstable-large"})),(C||"button"===E)&&React.createElement(React.Fragment,null,React.createElement(o.RangeControl,{label:__("Button Border Width","jetpack-forms"),value:t.buttonBorderWidth,initialPosition:1,onChange:R("buttonBorderWidth"),min:0,max:100}),React.createElement(o.RangeControl,{label:__("Button Border Radius","jetpack-forms"),value:t.buttonBorderRadius,initialPosition:0,onChange:R("buttonBorderRadius"),min:0,max:100})),(!C||k===l.JH.OUTLINED)&&React.createElement(React.Fragment,null,React.createElement(o.RangeControl,{label:__("Border Width","jetpack-forms"),value:t.borderWidth,initialPosition:1,onChange:R("borderWidth"),min:0,max:100}),React.createElement(o.RangeControl,{label:__("Border Radius","jetpack-forms"),value:t.borderRadius,initialPosition:0,onChange:R("borderRadius"),min:0,max:100}))),React.createElement(o.PanelBody,{title:__("Label Styles","jetpack-forms"),initialOpen:!1},React.createElement(o.BaseControl,null,React.createElement(a.FontSizePicker,{withReset:!0,size:"__unstable-large",__nextHasNoMarginBottom:!0,onChange:e=>h({labelFontSize:e}),value:t.labelFontSize})),React.createElement(o.BaseControl,null,React.createElement(a.LineHeightControl,{__unstableInputWidth:"100%",__nextHasNoMarginBottom:!0,value:t.labelLineHeight,onChange:R("labelLineHeight",parseFloat),size:"__unstable-large"})))),React.createElement(a.InspectorAdvancedControls,null,React.createElement(o.TextControl,{label:__("Name/ID","jetpack-forms"),value:u||"",onChange:e=>{const t=e.replace(/[^a-zA-Z0-9_-]/g,"");h({id:t})},help:__("Customize the input's name/ID. Only alphanumeric, dash and underscore characters are allowed","jetpack-forms")})))}},3548:(e,t,r)=>{"use strict";r.d(t,{Z:()=>b});var a=r(2175),o=r(4333),n=r(9307),l=r(5736),i=r(5235),s=r.n(i),c=r(2819),u=r(9019),p=r(7155),d=r(6101),m=r(5153),f=r(282),h=r(9696);const __=l.__,b=(0,o.compose)((0,d.j)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]))((e=>{let{attributes:t,clientId:r,isSelected:o,name:l,setAttributes:i}=e;const{id:d,label:b,options:g,required:k,requiredText:E,toggleLabel:C,width:R}=t,v=(0,n.useRef)(),j=(0,p.D6)(r),y=s()("jetpack-field jetpack-field-dropdown",{"is-selected":o,"has-placeholder":!(0,c.isEmpty)(C)});(0,p.mo)({attributes:t,clientId:r,name:l});const w=(e,t)=>(0,u.k)(v.current,"[role=textbox]",e,t),x=(e,r)=>{const a=[...t.options],o=""!==r[r.length-1];a[e]&&(a[e]=r.shift(),e++),a.splice(e,0,...r),i({options:a}),w(e+r.length-1,o)},S=e=>t=>{const r=(0,c.split)(t,"\n").filter((e=>e&&""!==(0,c.trim)(e)));r.length&&(r.length>1?x(e,r):((e,t)=>{const r=[...g];r[e]=t,i({options:r}),w(e)})(e,r.pop()))},I=e=>(r,a)=>{if(!a)return;const o=t.options[e].slice(r.length);(0,c.isEmpty)(r)&&(0,c.isEmpty)(o)||x(e,[r,o])},A=e=>()=>{if(1===t.options.length)return;const r=[...t.options];r.splice(e,1),i({options:r}),w(Math.max(e-1,0),!0)};(0,n.useEffect)((()=>{(0,c.isNil)(b)&&i({label:""}),(0,c.isNil)(C)&&i({toggleLabel:__("Select one option","jetpack-forms")})}),[]);const{blockStyle:N}=(0,h.g)(t);return React.createElement("div",{className:y,style:N},React.createElement("div",{className:"jetpack-field-dropdown__wrapper"},React.createElement(f.Z,{required:k,requiredText:E,label:b,attributes:t,setAttributes:i,isSelected:o,style:j}),React.createElement("div",{className:"jetpack-field-dropdown__toggle"},React.createElement(a.RichText,{value:C,onChange:e=>{i({toggleLabel:e})},allowedFormats:["core/bold","core/italic"],withoutInteractiveFormatting:!0}),React.createElement("span",{className:"jetpack-field-dropdown__icon"}))),o&&React.createElement("div",{className:"jetpack-field-dropdown__popover",ref:v},g.map(((e,t)=>React.createElement(a.RichText,{key:t,value:e,onChange:S(t),onSplit:I(t),onRemove:A(t),onReplace:c.noop,placeholder:__("Add option…","jetpack-forms"),__unstableDisableFormats:!0})))),React.createElement(m.Z,{id:d,required:k,attributes:t,setAttributes:i,width:R,placeholder:C,placeholderField:"toggleLabel",type:"dropdown"}))}))},282:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var a=r(2674),o=r.n(a),n=r(2175),l=r(9307),i=r(5736),s=r(5235),c=r.n(s),u=r(2819),p=r(7155),d=r(9696);const __=i.__,m=e=>{let{attributes:t,className:r,label:a,labelFieldName:o,placeholder:l,resetFocus:i,required:s,requiredText:u,setAttributes:p}=e;const{labelStyle:m}=(0,d.g)(t);return React.createElement("div",{className:c()(r,"jetpack-field-label"),style:m},React.createElement(n.RichText,{tagName:"label",value:a,className:"jetpack-field-label__input",onChange:e=>{i&&i(),p(o?{[o]:e}:{label:e})},placeholder:l??__("Add label…","jetpack-forms"),withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic"]}),s&&React.createElement(n.RichText,{tagName:"span",value:u,className:"required",onChange:e=>{p({requiredText:e})},withoutInteractiveFormatting:!0,allowedFormats:["core/bold","core/italic"]}))},f=e=>{const{setAttributes:t,requiredText:r,style:a}=e,n=c()({"notched-label__label":a===p.JH.OUTLINED,"animated-label__label":a===p.JH.ANIMATED,"below-label__label":a===p.JH.BELOW});return(0,l.useEffect)((()=>{(0,u.isNil)(r)&&t({requiredText:__("(required)","jetpack-forms")})}),[]),a===p.JH.OUTLINED?React.createElement("div",{className:"notched-label"},React.createElement("div",{className:"notched-label__leading"}),React.createElement("div",{className:"notched-label__notch"},React.createElement(m,o()({className:n},e))),React.createElement("div",{className:"notched-label__trailing"})):React.createElement(m,o()({className:n},e))}},655:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var a=r(2175),o=r(4333),n=r(9818),l=r(5235),i=r.n(l),s=r(7155),c=r(6101),u=r(5153),p=r(282),d=r(9696);const m=["jetpack/field-option"];const f=(0,o.compose)((0,c.j)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","buttonBackgroundColor","buttonBorderRadius","buttonBorderWidth","borderColor"]),o.withInstanceId)((function(e){const{className:t,clientId:r,id:o,type:l,instanceId:c,required:f,requiredText:h,label:b,setAttributes:g,isSelected:k,width:E,options:C,attributes:R}=e,v=(0,s.D6)(r),j=(0,n.useSelect)((e=>e("core/block-editor").getBlock(r).innerBlocks),[r]),y=i()(t,"jetpack-field jetpack-field-multiple",{"is-selected":k,"has-placeholder":C&&C.length||j.length}),{blockStyle:w}=(0,d.g)(R);return React.createElement(React.Fragment,null,React.createElement("div",{id:`jetpack-field-multiple-${c}`,className:y,style:w},React.createElement(p.Z,{required:f,requiredText:h,label:b,setAttributes:g,isSelected:k,attributes:R,style:v}),React.createElement("div",{className:"jetpack-field-multiple__list"},React.createElement(a.InnerBlocks,{allowedBlocks:m,template:[[`jetpack/field-option-${l}`,{}]],templateInsertUpdatesSelection:!1}))),React.createElement(u.Z,{blockClassNames:y,clientId:r,id:o,required:f,attributes:R,setAttributes:g,type:l,width:E,hidePlaceholder:!0}))}))},3616:(e,t,r)=>{"use strict";r.d(t,{G:()=>d});var a=r(2175),o=r(4981),n=r(9818),l=r(5736),i=r(5235),s=r.n(i),c=r(2819),u=r(2316),p=r(9696);const __=l.__,d=e=>{const{attributes:t,clientId:r,name:l,onReplace:i,setAttributes:d}=e,{removeBlock:m}=(0,n.useDispatch)("core/block-editor"),f=(0,u.j)(r),{optionStyle:h}=(0,p.g)(f),b=(0,n.useSelect)((e=>{const t=e("core/block-editor"),a=(0,c.first)(t.getBlockParents(r,!0));return t.getBlock(a).innerBlocks.length}),[r]),g=l.replace("jetpack/field-option-",""),k=s()("jetpack-field-option",`field-option-${g}`);return React.createElement("div",{className:k,style:h},React.createElement("input",{type:g,className:"jetpack-option__type",tabIndex:"-1"}),React.createElement(a.RichText,{allowedFormats:[],onChange:e=>{d({label:e})},onRemove:()=>{b<=1||m(r)},onSplit:e=>(0,o.createBlock)(l,{...t,clientId:e&&0===t.label.indexOf(e)?t.clientId:void 0,label:e}),onReplace:i,placeholder:__("Add option…","jetpack-forms"),preserveWhiteSpace:!1,withoutInteractiveFormatting:!0,value:t.label}))}},3059:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var a=r(4333),o=r(9307),n=r(5235),l=r.n(n),i=r(2819),s=r(7155),c=r(6101),u=r(5153),p=r(282),d=r(9696);const m=(0,a.compose)((0,c.j)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]))((e=>{const{attributes:t,clientId:r,id:a,isSelected:n,required:c,requiredText:m,label:f,setAttributes:h,placeholder:b,width:g}=e,k=(0,s.D6)(r),{blockStyle:E,fieldStyle:C}=(0,d.g)(t),R=l()("jetpack-field jetpack-field-textarea",{"is-selected":n,"has-placeholder":!(0,i.isEmpty)(b)});return(0,o.useEffect)((()=>{(0,i.isNil)(f)&&h({label:""})}),[]),React.createElement(React.Fragment,null,React.createElement("div",{className:R,style:E},React.createElement(p.Z,{clientId:r,required:c,requiredText:m,label:f,setAttributes:h,attributes:t,style:k}),React.createElement("textarea",{className:"jetpack-field__textarea",value:b,onChange:e=>h({placeholder:e.target.value}),style:C})),React.createElement(u.Z,{id:a,required:c,setAttributes:h,width:g,placeholder:b,attributes:t}))}))},231:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(5609),o=r(5736);const __=o.__;function n(e){let{setAttributes:t,width:r}=e;return React.createElement(a.BaseControl,{label:__("Field Width","jetpack-forms"),help:__("Adjust the width of the field to include multiple fields on a single line.","jetpack-forms"),className:"jetpack-field-label__width"},React.createElement(a.ButtonGroup,{"aria-label":__("Field Width","jetpack-forms")},[25,50,75,100].map((e=>React.createElement(a.Button,{key:e,isSmall:!0,variant:e===r?"primary":void 0,onClick:()=>t({width:e})},e,"%")))))}},9775:(e,t,r)=>{"use strict";r.d(t,{Z:()=>h});var a=r(2674),o=r.n(a),n=r(4333),l=r(2694),i=r(5235),s=r.n(i),c=r(2819),u=r(7155),p=r(6101),d=r(5153),m=r(282),f=r(9696);const h=(0,n.compose)((0,p.j)(["borderRadius","borderWidth","labelFontSize","fieldFontSize","lineHeight","labelLineHeight","inputColor","labelColor","fieldBackgroundColor","borderColor"]))((e=>{const{attributes:t,clientId:r,id:a,isSelected:o,required:n,requiredText:l,label:i,setAttributes:p,placeholder:h,width:b}=e,{blockStyle:g,fieldStyle:k}=(0,f.g)(t),E=(0,u.D6)(r),C=s()("jetpack-field",{"is-selected":o,"has-placeholder":!(0,c.isEmpty)(h)});return React.createElement(React.Fragment,null,React.createElement("div",{className:C,style:g},React.createElement(m.Z,{attributes:t,label:i,required:n,requiredText:l,setAttributes:p,style:E}),React.createElement("input",{className:"jetpack-field__input",onChange:e=>p({placeholder:e.target.value}),style:k,type:"text",value:h})),React.createElement(d.Z,{id:a,required:n,width:b,setAttributes:p,placeholder:h,attributes:t}))})),b=(0,n.createHigherOrderComponent)((e=>t=>{if(t.name.indexOf("jetpack/field")>-1){const r=t.attributes.width?"jetpack-field__width-"+t.attributes.width:"";return React.createElement(e,o()({},t,{className:r}))}return React.createElement(e,t)}),"withCustomClassName");(0,l.addFilter)("editor.BlockListBlock","jetpack/contact-form",b)},2185:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var a=r(3419),o=r(5609),n=r(5736),l=r(2819),i=r(9196),s=r.n(i),c=r(6556);const __=n.__,u=`${(0,l.get)((0,a.Pb)(),"adminUrl",!1)}edit.php?post_type=feedback`,p=e=>{let{formTitle:t="",isChildBlock:r=!1,setAttributes:a}=e;return s().createElement(s().Fragment,null,s().createElement(c.Z,null,__("Manage and export your form responses in WPAdmin:","jetpack-forms")),s().createElement(o.Button,{variant:"secondary",href:u,target:"_blank"},__("View Form Responses","jetpack-forms"),s().createElement("span",{className:"screen-reader-text"},__("(opens in a new tab)","jetpack-forms"))),!1)}},1666:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var a=r(4981),o=r(5609),n=r(9818),l=r(9307),i=r(5736);const __=i.__,s=()=>{const{insertConsentBlock:e}=(()=>{const e=(0,n.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]),{insertBlock:t}=(0,n.useDispatch)("core/block-editor");return{insertConsentBlock:(0,l.useCallback)((async()=>{let r=(e.innerBlocks??[]).findIndex((e=>{let{name:t}=e;return"jetpack/button"===t}));-1===r&&(r=(e.innerBlocks??[]).length);const o=await(0,a.createBlock)("jetpack/field-consent");await t(o,r,e.clientId,!1)}),[t,e.clientId,e.innerBlocks])}})();return React.createElement(React.Fragment,null,React.createElement("p",null,__("You’re already collecting email contacts. Why not make sure you have permission to email them too?","jetpack-forms")),React.createElement(o.Button,{variant:"secondary",onClick:e,style:{marginBottom:"1em"}},__("Add email permission request","jetpack-forms")),React.createElement("br",null))},c=()=>{const e=(0,n.useSelect)((e=>e("core/block-editor").getSelectedBlock()),[]);return(0,l.useMemo)((()=>(e=>{const t=e.some((e=>{let{name:t}=e;return"jetpack/field-email"===t})),r=e.some((e=>{let{name:t}=e;return"jetpack/field-consent"===t}));return!!t&&!r})(e.innerBlocks)),[e.innerBlocks])?React.createElement(s,null):null}},5281:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var a=r(5609),o=r(9307),n=r(2819),l=r(9289),i=r(7728),s=r(4722);const c="creative-mail-by-constant-contact/creative-mail-plugin.php",u=e=>{let{pluginState:t,setPluginState:r}=e;const[a,n]=(0,o.useState)(),[l,c]=(0,o.useState)(!1),u=((e,t,r)=>(0,o.useCallback)(((a,o)=>{e(void 0),t(!0),a(o).then((()=>{r(s.Q.ACTIVE)})).catch((t=>{e(t)})).finally((()=>t(!1)))}),[t,e,r]))(n,c,r);return a?React.createElement(i.Z,{error:a}):React.createElement(s.Z,{pluginState:t,onCreativeMailPluginClick:u,isInstalling:l})},p=e=>{let{isFetchingPlugins:t,hasError:r,pluginState:o,setPluginState:n}=e;return t?React.createElement(a.Spinner,null):r?null:React.createElement(u,{pluginState:o,setPluginState:n})},d=()=>{const[e,t]=(0,o.useState)(!0),[r,a]=(0,o.useState)(!1),[i,u]=(0,o.useState)(s.Q.NOT_INSTALLED);return(0,o.useEffect)((()=>{(0,l.uM)().then((e=>{a(!1),(0,n.get)(e,c)&&((0,n.get)(e,[c,"active"])?u(s.Q.ACTIVE):u(s.Q.INSTALLED))})).catch((()=>a(!0))).finally((()=>t(!1)))}),[u,t,a]),React.createElement(p,{isFetchingPlugins:e,hasError:r,pluginState:i,setPluginState:u})}},7728:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var a=r(5609),o=r(9307),n=r(5736);const __=n.__,l=e=>{let{error:t}=e;return React.createElement(a.Notice,{isDismissible:!1,status:"error"},(0,o.createInterpolateElement)(__("The plugin failed to install. Please check the plugin information for detailed requirements.","jetpack-forms"),{a:React.createElement(a.ExternalLink,{href:"https://wordpress.org/plugins/creative-mail-by-constant-contact"}),b:React.createElement("span",null,t)}))}},4722:(e,t,r)=>{"use strict";r.d(t,{Q:()=>s,Z:()=>m});var a=r(3419),o=r(5609),n=r(5736),l=r(2819),i=r(9289);const __=n.__,s=Object.freeze({ACTIVE:1,INSTALLED:2,NOT_INSTALLED:3}),c=e=>{let{isActivating:t}=e;const r=t?__("Activating…","jetpack-forms"):__("Installing…","jetpack-forms",0);return React.createElement(o.Button,{variant:"secondary",icon:React.createElement(o.Icon,{style:{animation:"rotation 2s infinite linear"},icon:"update"}),disabled:!0,"aria-label":r},r)},u=e=>{let{installAndActivateCreativeMailPlugin:t,isInstalling:r}=e;return React.createElement("p",{className:"jetpack-contact-form__integration-panel"},React.createElement("em",{style:{color:"rgba(38, 46, 57, 0.7)"}},__("To start sending email campaigns, install the Creative Mail plugin for WordPress.","jetpack-forms"),React.createElement("br",null),r&&React.createElement(c,null),!r&&React.createElement(o.Button,{variant:"secondary",onClick:t},__("Install Creative Mail plugin","jetpack-forms"))))},p=e=>{let{activateCreativeMailPlugin:t,isInstalling:r}=e;return React.createElement("p",{className:"jetpack-contact-form__integration-panel"},React.createElement("em",null,__("To start sending email campaigns, activate the Creative Mail plugin for WordPress.","jetpack-forms")),React.createElement("br",null),r&&React.createElement(c,{isActivating:!0}),!r&&React.createElement(o.Button,{variant:"secondary",onClick:t},__("Activate Creative Mail Plugin","jetpack-forms")))},d=()=>React.createElement("p",null,React.createElement("em",null,__("You’re all setup for email marketing with Creative Mail.","jetpack-forms"),React.createElement("br",null),React.createElement(o.ExternalLink,{href:`${(0,l.get)((0,a.Pb)(),"adminUrl",!1)}admin.php?page=creativemail`},__("Open Creative Mail settings","jetpack-forms")))),m=e=>{let{pluginState:t,onCreativeMailPluginClick:r,isInstalling:a}=e;return React.createElement("div",{"aria-live":"polite"},s.ACTIVE===t&&React.createElement(d,null),s.INSTALLED===t&&React.createElement(p,{activateCreativeMailPlugin:()=>r(i.bu,"creative-mail-by-constant-contact/creative-mail-plugin"),isInstalling:a}),s.NOT_INSTALLED===t&&React.createElement(u,{installAndActivateCreativeMailPlugin:()=>r(i.yX,"creative-mail-by-constant-contact"),isInstalling:a}))}},7990:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var a=r(5609),o=r(1666),n=r(5281);const l=()=>React.createElement(a.BaseControl,null,React.createElement(o.Z,null),React.createElement(n.Z,null))},1726:(e,t,r)=>{"use strict";r.d(t,{W:()=>c,Z:()=>u});var a=r(5609),o=r(9307),n=r(5736),l=r(1275),i=r(3644),s=r(4697);const __=n.__,c={name:"salesforce-web-to-lead-form",title:__("Salesforce Lead Form","jetpack-forms"),description:__("Add a Salesforce Lead form to your site","jetpack-forms"),icon:(0,s.Z)(React.createElement(a.Path,{d:"M10.6778 7.72509C11.1949 7.1895 11.9152 6.8509 12.7094 6.8509C13.7682 6.8509 14.6855 7.4419 15.178 8.31608C15.6028 8.12524 16.0768 8.02059 16.5755 8.02059C18.4839 8.02059 20.0229 9.57811 20.0229 11.4988C20.0229 13.4196 18.4777 14.9771 16.5755 14.9771C16.3415 14.9771 16.1138 14.9525 15.8983 14.9094C15.4674 15.6789 14.6424 16.2022 13.6944 16.2022C13.3004 16.2022 12.9248 16.1099 12.5924 15.9498C12.1553 16.9779 11.1334 17.7043 9.94523 17.7043C8.70783 17.7043 7.64896 16.9225 7.24265 15.8205C7.06412 15.8574 6.87943 15.8759 6.69475 15.8759C5.21725 15.8759 4.02295 14.6693 4.02295 13.1733C4.02295 12.176 4.55854 11.3018 5.35885 10.834C5.19263 10.4584 5.10029 10.0398 5.10029 9.59658C5.09413 7.8913 6.49159 6.5 8.20302 6.5C9.21264 6.5 10.1114 6.98018 10.6778 7.72509Z",fill:(0,i.m)()}),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-email",{required:!0,label:__("Business Email","jetpack-forms"),id:"email"}],["jetpack/field-name",{required:!0,label:__("First Name","jetpack-forms"),id:"first_name"}],["jetpack/field-name",{required:!0,label:__("Last Name","jetpack-forms"),id:"last_name"}],["jetpack/field-text",{required:!0,label:__("Job Title","jetpack-forms"),id:"title"}],["jetpack/field-text",{required:!0,label:__("Company","jetpack-forms"),id:"company"}],["jetpack/field-telephone",{required:!0,label:__("Phone Number","jetpack-forms"),id:"phone"}],["jetpack/button",{text:__("Submit","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{subject:__("New lead received from your website","jetpack-forms"),salesforceData:{organizationId:"",sendToSalesforce:!0},style:{spacing:{padding:{top:"16px",right:"16px",bottom:"16px",left:"16px"}}}}},u=e=>{let{salesforceData:t,setAttributes:r,instanceId:n}=e;const[i,s]=(0,o.useState)(!1);return React.createElement(o.Fragment,null,React.createElement(a.PanelBody,{title:__("Salesforce","jetpack-forms"),initialOpen:!0},React.createElement(a.BaseControl,null,React.createElement(a.TextControl,{label:__("Organization ID","jetpack-forms"),value:t.organizationId||"",placeholder:__("Enter your Organization ID","jetpack-forms"),onBlur:e=>{s(!e.target.value.trim().match(/^[a-zA-Z0-9]{15,18}$/))},onChange:e=>{var a;s(!1),a={organizationId:e.trim()},r({salesforceData:{...t,...a}})},help:__("Enter the Salesforce organization ID to send Leads to.","jetpack-forms")}),i&&React.createElement(l.Z,{isError:!0,id:`contact-form-${n}-email-error`},__("Invalid Organization ID. Should be a 15 - 18 characters long alphanumeric string.","jetpack-forms")),React.createElement(a.ExternalLink,{href:"https://help.salesforce.com/s/articleView?id=000325251&type=1"},__("Where to find your Salesforce Organization ID","jetpack-forms")),React.createElement("p",{style:{"margin-top":"32px",display:"flex","font-size":"12px",gap:"8px"}},React.createElement("div",null,React.createElement("span",{style:{padding:"3px 6px","border-radius":"4px",background:"#2FB41F",color:"white",display:"block","font-weight":600,"font-size":"11px"}},"BETA")),React.createElement("div",null,__("This premium feature is currently free to use as it is in beta.","jetpack-forms"))))))}},9696:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});var a=r(2819);const o=e=>{const t={"--jetpack--contact-form--border-color":e.borderColor,"--jetpack--contact-form--border-radius":(0,a.isNumber)(e.borderRadius)?`${e.borderRadius}px`:null,"--jetpack--contact-form--border-size":(0,a.isNumber)(e.borderWidth)?`${e.borderWidth}px`:null,"--jetpack--contact-form--input-background":e.fieldBackgroundColor,"--jetpack--contact-form--font-size":e.fieldFontSize,"--jetpack--contact-form--line-height":e.lineHeight,"--jetpack--contact-form--text-color":e.inputColor,"--jetpack--contact-form--button-outline--text-color":e.inputColor,"--jetpack--contact-form--button-outline--background-color":e.buttonBackgroundColor,"--jetpack--contact-form--button-outline--border-radius":(0,a.isNumber)(e.buttonBorderRadius)?`${e.buttonBorderRadius}px`:null,"--jetpack--contact-form--button-outline--border-size":(0,a.isNumber)(e.buttonBorderWidth)?`${e.buttonBorderWidth}px`:null},r={color:e.labelColor,fontSize:e.labelFontSize,lineHeight:e.labelLineHeight},o={backgroundColor:e.fieldBackgroundColor,borderColor:e.borderColor,borderRadius:(0,a.isNumber)(e.borderRadius)?e.borderRadius:null,borderWidth:(0,a.isNumber)(e.borderWidth)?e.borderWidth:null,color:e.inputColor,fontSize:e.fieldFontSize,lineHeight:e.lineHeight};return{blockStyle:t,fieldStyle:o,labelStyle:r,optionStyle:{color:o.color,fontSize:o.fontSize,lineHeight:o.lineHeight}}}},1491:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var a=r(2175),o=r(4981),n=r(5736),l=r(2819),i=r(8003);const __=n.__,s=["submit_button_text","has_form_settings_set","submitButtonText","backgroundButtonColor","textButtonColor","customBackgroundButtonColor","customTextButtonColor","submitButtonClasses","hasFormSettingsSet"],c=[{attributes:{...i.Z},supports:{html:!1},save:()=>React.createElement(a.InnerBlocks.Content,null)},{attributes:{submit_button_text:{type:"string",default:__("Submit","jetpack-forms")},has_form_settings_set:{type:"string",default:null},submitButtonText:{type:"string",default:__("Submit","jetpack-forms")},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},...i.Z},migrate:(e,t)=>{const r=(0,l.omit)(e,s),a={text:e.submitButtonText||e.submit_button_text||__("Submit","jetpack-forms"),backgroundColor:e.backgroundButtonColor,textColor:e.textButtonColor,customBackgroundColor:e.customBackgroundButtonColor,customTextColor:e.customTextButtonColor};return[r,t.concat((0,o.createBlock)("jetpack/button",{element:"button",...a}))]},isEligible:e=>!(!e.has_form_settings_set&&!e.hasFormSettingsSet),save:()=>React.createElement(a.InnerBlocks.Content,null)}]},7829:(e,t,r)=>{"use strict";r.d(t,{Z:()=>S});var a=r(3419),o=r(2175),n=r(4981),l=r(5609),i=r(4333),s=r(9818),c=r(9307),u=r(5736),p=r(5235),d=r.n(p),m=r(2819),f=r(348),h=r(6556),b=r(7871),g=r(58),k=r(2185),E=r(7990),C=r(1726),R=r(3120),v=r(4189);const __=u.__,j=(0,m.filter)(f.N,(e=>{let{settings:t}=e;return!t.parent||"jetpack/contact-form"===t.parent||(0,m.isArray)(t.parent)&&t.parent.includes("jetpack/contact-form")})),y=[...(0,m.map)(j,(e=>`jetpack/${e.name}`)),"core/audio","core/columns","core/group","core/heading","core/image","core/list","core/paragraph","core/row","core/separator","core/spacer","core/stack","core/subhead","core/video"],w=`${(0,m.get)((0,a.Pb)(),"adminUrl",!1)}edit.php?post_type=feedback`,x=(0,c.forwardRef)(((e,t)=>{let{attributes:r,setAttributes:i,siteTitle:s,postTitle:u,postAuthorEmail:p,hasInnerBlocks:f,replaceInnerBlocks:R,selectBlock:j,clientId:x,instanceId:S,className:I,blockType:A,variations:N,defaultVariation:B,canUserInstallPlugins:_,style:P}=e;const{to:L,subject:T,customThankyou:F,customThankyouHeading:M,customThankyouMessage:$,customThankyouRedirect:O,jetpackCRM:Z,formTitle:V,salesforceData:H}=r,[D,q]=(0,c.useState)(!1),G=d()(I,"jetpack-contact-form",{"is-placeholder":!f&&n.registerBlockVariation}),z=!!window?.Jetpack_Editor_Initial_State?.available_blocks["contact-form/salesforce-lead-form"],W=e=>(0,m.map)(e,(e=>{let[t,r,a=[]]=e;return(0,n.createBlock)(t,r,W(a))})),U=e=>{e.attributes&&i(e.attributes),e.innerBlocks&&R(x,W(e.innerBlocks)),j(x)};(0,c.useEffect)((()=>{f||n.registerBlockVariation||U(v.Z[0])})),(0,c.useEffect)((()=>{f||!n.registerBlockVariation||D||-1===window.location.search.indexOf("showJetpackFormsPatterns")||q(!0)}),[]),(0,c.useEffect)((()=>{if(void 0===L&&p&&i({to:p}),void 0===T&&void 0!==s&&void 0!==u){i({subject:"["+s+"] "+u})}}),[L,p,T,s,u,i]);return!f&&n.registerBlockVariation?React.createElement("div",{className:G},React.createElement(o.__experimentalBlockVariationPicker,{icon:(0,m.get)(A,["icon","src"]),label:(0,m.get)(A,["title"]),instructions:__("Start building a form by selecting one of these form templates, or search in the patterns library for more forms:","jetpack-forms"),variations:(0,m.filter)(N,(e=>!e.hiddenFromPicker)),onSelect:function(){U(arguments.length>0&&void 0!==arguments[0]?arguments[0]:B)}}),React.createElement("div",{className:"form-placeholder__footer"},React.createElement(l.Button,{variant:"secondary",onClick:()=>q(!0)},__("Explore Form Patterns","jetpack-forms")),React.createElement("div",{className:"form-placeholder__footer-links"},React.createElement(l.Button,{variant:"link",className:"form-placeholder__external-link",href:"https://jetpack.com/support/jetpack-blocks/contact-form/",target:"_blank"},__("Learn more about customizing forms","jetpack-forms")),React.createElement(l.Button,{variant:"link",className:"form-placeholder__external-link",href:w,target:"_blank"},__("View and export your form responses here","jetpack-forms")))),D&&React.createElement(l.Modal,{className:"form-placeholder__patterns-modal",title:__("Choose a pattern","jetpack-forms"),closeLabel:__("Cancel","jetpack-forms"),onRequestClose:()=>q(!1)},React.createElement(o.__experimentalBlockPatternSetup,{initialViewMode:"grid",filterPatternsFn:e=>-1!==e.content.indexOf("jetpack/contact-form"),clientId:x}))):React.createElement(React.Fragment,null,React.createElement(o.InspectorControls,null,React.createElement(l.PanelBody,{title:__("Manage Responses","jetpack-forms")},React.createElement(k.Z,{formTitle:V,setAttributes:i})),React.createElement(l.PanelBody,{title:__("Submission Settings","jetpack-forms"),initialOpen:!1},React.createElement(React.Fragment,null,React.createElement(h.Z,null,__("Customize the view after form submission:","jetpack-forms")),React.createElement(l.SelectControl,{label:__("On Submission","jetpack-forms"),value:F,options:[{label:__("Show a summary of submitted fields","jetpack-forms"),value:""},{label:__("Show a custom text message","jetpack-forms"),value:"message"},{label:__("Redirect to another webpage","jetpack-forms"),value:"redirect"}],onChange:e=>i({customThankyou:e})}),"redirect"!==F&&React.createElement(l.TextControl,{label:__("Message Heading","jetpack-forms"),value:M,placeholder:__("Your message has been sent","jetpack-forms"),onChange:e=>i({customThankyouHeading:e})}),"message"===F&&React.createElement(l.TextareaControl,{label:__("Message Text","jetpack-forms"),value:$,placeholder:__("Thank you for your submission!","jetpack-forms"),onChange:e=>i({customThankyouMessage:e})}),"redirect"===F&&React.createElement(l.BaseControl,{label:__("Redirect Address","jetpack-forms"),id:`contact-form-${S}-thankyou-url`},React.createElement(o.URLInput,{id:`contact-form-${S}-thankyou-url`,value:O,className:"jetpack-contact-form__thankyou-redirect-url",onChange:e=>i({customThankyouRedirect:e})})))),React.createElement(l.PanelBody,{title:__("Email Connection","jetpack-forms")},React.createElement(g.Z,{emailAddress:L,emailSubject:T,instanceId:S,postAuthorEmail:p,setAttributes:i})),z&&H?.sendToSalesforce&&React.createElement(C.Z,{salesforceData:H,setAttributes:i,instanceId:S}),!(0,a.Wp)()&&React.createElement(c.Fragment,null,_&&React.createElement(l.PanelBody,{title:__("CRM Connection","jetpack-forms"),initialOpen:!1},React.createElement(b.Z,{jetpackCRM:Z,setAttributes:i})),React.createElement(l.PanelBody,{title:__("Newsletter Connection","jetpack-forms"),initialOpen:!1},React.createElement(E.Z,null)))),React.createElement("div",{className:G,style:P,ref:t},React.createElement(o.InnerBlocks,{allowedBlocks:y,templateInsertUpdatesSelection:!1})))})),S=(0,i.compose)([(0,s.withSelect)(((e,t)=>{const{getBlockType:r,getBlockVariations:a,getDefaultBlockVariation:o}=e("core/blocks"),{getBlocks:n}=e("core/block-editor"),{getEditedPostAttribute:l}=e("core/editor"),{getSite:i,getUser:s,canUser:c}=e("core"),u=n(t.clientId),p=l("author"),d=p&&s(p)&&s(p).email,f=l("title"),h=c("create","plugins"),b=u.find((e=>"jetpack/button"===e.name));if(b&&!b.attributes.lock){const e={move:!1,remove:!0};b.attributes.lock=e}return{blockType:r&&r(t.name),canUserInstallPlugins:h,defaultVariation:o&&o(t.name,"block"),variations:a&&a(t.name,"block"),innerBlocks:u,hasInnerBlocks:u.length>0,siteTitle:(0,m.get)(i&&i(),["title"]),postTitle:f,postAuthorEmail:d}})),(0,s.withDispatch)((e=>{const{replaceInnerBlocks:t,selectBlock:r}=e("core/block-editor");return{replaceInnerBlocks:t,selectBlock:r}})),i.withInstanceId])((0,R.r)(x))},4913:(e,t,r)=>{"use strict";r.d(t,{X:()=>h,u:()=>m});var a=r(2175),o=r(5609),n=r(5736),l=r(8003),i=r(1491),s=r(7829),c=r(5688),u=r(3644),p=r(4697),d=r(4189);const __=n.__,_x=n._x,m="contact-form",f=(0,p.Z)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 9H13V7.5H18V9Z",fill:(0,u.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16.5H13V15H18V16.5Z",fill:(0,u.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 7.5H7.5V9.5H9.5V7.5ZM7.5 6H9.5C10.3284 6 11 6.67157 11 7.5V9.5C11 10.3284 10.3284 11 9.5 11H7.5C6.67157 11 6 10.3284 6 9.5V7.5C6 6.67157 6.67157 6 7.5 6Z",fill:(0,u.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 14.5H7.5V16.5H9.5V14.5ZM7.5 13H9.5C10.3284 13 11 13.6716 11 14.5V16.5C11 17.3284 10.3284 18 9.5 18H7.5C6.67157 18 6 17.3284 6 16.5V14.5C6 13.6716 6.67157 13 7.5 13Z",fill:(0,u.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19 4.5H5C4.72386 4.5 4.5 4.72386 4.5 5V19C4.5 19.2761 4.72386 19.5 5 19.5H19C19.2761 19.5 19.5 19.2761 19.5 19V5C19.5 4.72386 19.2761 4.5 19 4.5ZM5 3C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5Z",fill:(0,u.m)()}))),h={title:__("Form","jetpack-forms"),description:__("Create forms to collect data from site visitors and manage their responses.","jetpack-forms"),icon:f,keywords:[_x("email","block search term","jetpack-forms"),_x("feedback","block search term","jetpack-forms"),_x("contact form","block search term","jetpack-forms")],supports:{color:{link:!0,gradients:!0},html:!1,spacing:{padding:!0,margin:!0},align:["wide","full"]},attributes:l.Z,edit:s.Z,save:()=>{const e=a.useBlockProps.save();return React.createElement("div",e,React.createElement(a.InnerBlocks.Content,null))},example:{innerBlocks:[{name:"jetpack/field-name",attributes:{required:!0,label:__("Name","jetpack-forms")}},{name:"jetpack/field-email",attributes:{required:!0,label:__("Email","jetpack-forms")}},{name:"jetpack/field-textarea",attributes:{label:__("Message","jetpack-forms")}},{name:"jetpack/button",attributes:{text:__("Contact Us","jetpack-forms"),element:"button",lock:{remove:!0}}}]},styles:[{name:"default",label:"Default",isDefault:!0},{name:"animated",label:"Animated"},{name:"outlined",label:"Outlined"}],variations:d.Z,category:"contact-form",transforms:c.Z,deprecated:i.Z}},5688:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var a=r(4981),o=r(5736),n=r(2819);const __=o.__,l=(e,t,r)=>{const a=r.match(new RegExp(`\\[${e}[^\\]]* ${t}="([^"]*)"`,"im"));if(a&&a.length)return a[1];const o=r.match(new RegExp(`\\[${e}[^\\]]* ${t}='([^']*)'`,"im"));if(o&&o.length)return o[1];const n=r.match(new RegExp(`\\[${e}[^\\]]* ${t}=([^\\s]*)\\s`,"im"));return!(!n||!n.length)&&n[1]},i={root:{},innerBlocks:[]},s={from:[{type:"raw",priority:1,isMatch:e=>!("P"!==e.nodeName||!(/\[contact-form(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[contact-field(\s.*?)?\](?:([^\[]+)?)?/g.test(e.textContent)||/\[\/contact-form]/g.test(e.textContent))),transform:e=>{const t=e.textContent.replace("
","");if(t.includes("[contact-form")&&(i.root={},i.innerBlocks=[],i.root=(e=>{const t={to:l("contact-form","to",e),subject:l("contact-form","subject",e),submitButtonText:l("contact-form","submit_button_text",e)};return{blockName:"jetpack/contact-form",attrs:(0,n.pickBy)(t,n.identity)}})(t)),t.includes("[contact-field")){const e=t.match(/(\[contact-field[\s\S]*?\/?])/g);e&&e.length>0&&e.forEach((e=>{i.innerBlocks.push((e=>{const t={label:l("contact-field","label",e),placeholder:l("contact-field","placeholder",e),required:l("contact-field","required",e),options:l("contact-field","options",e)},r=(e=>{const t="jetpack",r={text:`${t}/field-text`,url:`${t}/field-text`,textarea:`${t}/field-textarea`,radio:`${t}/field-radio`,checkbox:`${t}/field-checkbox`,"checkbox-multiple":`${t}/field-checkbox-multiple`,select:`${t}/field-select`,email:`${t}/field-email`,name:`${t}/field-name`,default:`${t}/field-text`};return r[e]?r[e]:r.default})(l("contact-field","type",e));return t.options&&(t.options=t.options.split(",")),(0,a.createBlock)(r,(0,n.pickBy)(t,n.identity))})(e))}))}if(t.includes("[/contact-form]")){i.innerBlocks.push((0,a.createBlock)("jetpack/button",{element:"button",text:i.root.attrs.submitButtonText||__("Contact Us","jetpack-forms")}));return(0,a.createBlock)(i.root.blockName,i.root.attrs,i.innerBlocks)}return!1}}]}},3644:(e,t,r)=>{"use strict";r.d(t,{m:()=>l});var a=r(550),o=r(3419);const n=a.O["Jetpack Green 40"];function l(){return(0,o.Ug)()||(0,o.Wp)()?null:n}},9019:(e,t,r)=>{"use strict";r.d(t,{k:()=>o});var a=r(2819);const o=(e,t,r,o)=>setTimeout((()=>{(0,a.tap)(e.querySelectorAll(t)[r],(e=>{if(e&&(e.focus(),document.createRange&&o)){const t=document.createRange();t.selectNodeContents(e),t.collapse(!1);const r=document.defaultView.getSelection();r.removeAllRanges(),r.addRange(t)}}))}),0)},7940:()=>{window.jetpackForms=window.jetpackForms||{},window.jetpackForms.getBackgroundColor=function(e){let t=window.getComputedStyle(e).backgroundColor;for(;"rgba(0, 0, 0, 0)"===t&&e.parentNode&&e.parentNode.nodeType===window.Node.ELEMENT_NODE;)if("wp-block-cover"!==(e=e.parentNode).className)t=window.getComputedStyle(e).backgroundColor;else{const r=e.querySelector(".wp-block-cover__background");t=window.getComputedStyle(r).backgroundColor}return t},window.jetpackForms.generateStyleVariables=function(e){const t=window["editor-canvas"]?window["editor-canvas"].document:document,r=t.querySelector("body");if(!e)return;const a=t.createElement("div");a.className="contact-form__style-probe",a.style="position: absolute; z-index: -1; width: 1px; height: 1px; visibility: hidden",a.innerHTML='\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t',e.parentNode.appendChild(a);const o=a.querySelector(".btn-primary"),n=a.querySelector(".btn-outline"),l=a.querySelector('input[type="text"]'),i=window.jetpackForms.getBackgroundColor(r),s=window.jetpackForms.getBackgroundColor(l),c=window.getComputedStyle(l).backgroundColor,{border:u,borderColor:p,backgroundColor:d,color:m}=window.getComputedStyle(o),{backgroundColor:f,border:h,borderWidth:b,borderRadius:g,color:k,padding:E,lineHeight:C}=window.getComputedStyle(n),R=window.jetpackForms.getBackgroundColor(n),{color:v,padding:j,paddingTop:y,paddingLeft:w,border:x,borderColor:S,borderWidth:I,borderStyle:A,borderRadius:N,fontSize:B,fontFamily:_,lineHeight:P}=window.getComputedStyle(l);return a.remove(),{"--jetpack--contact-form--primary-color":d,"--jetpack--contact-form--background-color":i,"--jetpack--contact-form--text-color":v,"--jetpack--contact-form--border":x,"--jetpack--contact-form--border-color":S,"--jetpack--contact-form--border-size":I,"--jetpack--contact-form--border-style":A,"--jetpack--contact-form--border-radius":N,"--jetpack--contact-form--input-background":c,"--jetpack--contact-form--input-background-fallback":s,"--jetpack--contact-form--input-padding":j,"--jetpack--contact-form--input-padding-top":y,"--jetpack--contact-form--input-padding-left":w,"--jetpack--contact-form--font-size":B,"--jetpack--contact-form--font-family":_,"--jetpack--contact-form--line-height":P,"--jetpack--contact-form--button-primary--color":m,"--jetpack--contact-form--button-primary--background-color":d,"--jetpack--contact-form--button-primary--border":u,"--jetpack--contact-form--button-primary--border-color":p,"--jetpack--contact-form--button-outline--padding":E,"--jetpack--contact-form--button-outline--border":h,"--jetpack--contact-form--button-outline--background-color":f,"--jetpack--contact-form--button-outline--background-color-fallback":R,"--jetpack--contact-form--button-outline--border-size":b,"--jetpack--contact-form--button-outline--border-radius":g,"--jetpack--contact-form--button-outline--text-color":k,"--jetpack--contact-form--button-outline--line-height":C}}},7155:(e,t,r)=>{"use strict";r.d(t,{D6:()=>d,JH:()=>c,RK:()=>p,mo:()=>u});var a=r(2175),o=r(4981),n=r(9818),l=r(9307),i=r(5736);const __=i.__,s="jetpack/contact-form",c={ANIMATED:"animated",BELOW:"below",DEFAULT:"default",OUTLINED:"outlined"},u=e=>{let{attributes:t,clientId:r,name:i}=e;const c={text:__("Submit","jetpack-forms"),element:"button",lock:{remove:!0}},{replaceBlock:u}=(0,n.useDispatch)(a.store),p=(0,n.useSelect)((e=>e(a.store).getBlockParentsByBlockName(r,s)));(0,l.useEffect)((()=>{p?.length||u(r,(0,o.createBlock)(s,{},[(0,o.createBlock)(i,t),(0,o.createBlock)("jetpack/button",c)]))}),[])},p=e=>{const t=e&&e.match(/is-style-([^\s]+)/i);return t?t[1]:""},d=e=>{const t=(0,n.useSelect)((t=>{const[r]=t(a.store).getBlockParentsByBlockName(e,s);return t(a.store).getBlockAttributes(r)}));return p(t?.className)||c.DEFAULT}},9289:(e,t,r)=>{"use strict";r.d(t,{bu:()=>s,uM:()=>l,yX:()=>i});var a=r(3419),o=r(6989),n=r.n(o);async function l(){if((0,a.Wp)())return Promise.reject();try{return await n()({path:"/jetpack/v4/plugins"})}catch(e){return Promise.reject(e.message)}}async function i(e){if((0,a.Wp)())return Promise.reject();try{return await n()({path:"/jetpack/v4/plugins",method:"POST",data:{slug:e,status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}async function s(e){if((0,a.Wp)())return Promise.reject();try{return await n()({path:`/jetpack/v4/plugins/${e}`,method:"POST",data:{status:"active",source:"block-editor"}})}catch(e){return Promise.reject(e.message)}}},7469:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var a=r(3419),o=r(4981),n=r(2694);function l(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],l=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const{available:i,details:s,unavailableReason:c}=(0,a.OZ)(e),u=(0,a._D)(c,s),p=l?"jetpack/":"";if(!i&&!u)return!1;const d=(0,o.registerBlockType)(p+e,t);return u&&(0,n.addFilter)("editor.BlockListBlock",`${p+e}-with-has-warning-is-interactive-class-names`,(0,a.T)(p+e)),r.forEach((e=>(0,o.registerBlockType)(p+e.name,e.settings))),d}},4697:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var a=r(5609);const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"0 0 24 24";return React.createElement(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:o},React.createElement(a.Path,{fill:"none",d:"M0 0h24v24H0V0z",className:"icon-filler"}),e)}},2316:(e,t,r)=>{"use strict";r.d(t,{j:()=>n});var a=r(9818),o=r(2819);const n=e=>(0,a.useSelect)((t=>{const r=t("core/block-editor");return r.getBlockAttributes((0,o.first)(r.getBlockParents(e,!0)))}))},6101:(e,t,r)=>{"use strict";r.d(t,{j:()=>s});var a=r(2674),o=r.n(a),n=r(9818),l=r(9307),i=r(2819);const s=e=>t=>r=>{let{attributes:a,clientId:s,setAttributes:c,...u}=r;const p=(e=>{let{attributes:t,clientId:r,setAttributes:a,sharedAttributes:o}=e;const{updateBlockAttributes:s}=(0,n.useDispatch)("core/block-editor"),c=(0,n.useSelect)((e=>{const t=e("core/block-editor"),a=(0,i.first)(t.getBlockParentsByBlockName(r,"jetpack/contact-form"));return(0,i.filter)(t.getBlocks(a),(e=>e.name.indexOf("jetpack/field")>-1&&e.attributes.shareFieldAttributes))}),[r]);return(0,l.useEffect)((()=>{if(!(0,i.isEmpty)(c)&&t.shareFieldAttributes){const e=(0,i.pick)((0,i.first)(c).attributes,o);s([r],e)}}),[]),(0,l.useCallback)((e=>{let n,l;t.shareFieldAttributes&&(0,i.isNil)(e.shareFieldAttributes)?(n=(0,i.map)(c,(e=>e.clientId)),l=(0,i.pick)(e,o)):e.shareFieldAttributes&&!(0,i.isEmpty)(c)&&(n=[r],l=(0,i.pick)((0,i.first)(c).attributes,o)),(0,i.isEmpty)(n)||(0,i.isEmpty)(l)||s(n,l),a(e)}),[t,r,a,o,c,s])})({attributes:a,clientId:s,setAttributes:c,sharedAttributes:e});return React.createElement(t,o()({attributes:a,clientId:s,setAttributes:p},u))}},3120:(e,t,r)=>{"use strict";r.d(t,{r:()=>l});var a=r(2674),o=r.n(a),n=(r(7940),r(9307));const l=e=>t=>{const{generateStyleVariables:r}=window.jetpackForms,a=(0,n.useRef)();return React.createElement(e,o()({style:r(a?.current)},t,{ref:a}))}},4189:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var a=r(3419),o=r(5609),n=r(5736),l=r(2819),i=r(1726),s=r(3644),c=r(4697);const __=n.__,u={style:{spacing:{padding:{top:"16px",right:"16px",bottom:"16px",left:"16px"}}}},p=(0,l.compact)([{name:"contact-form",title:__("Contact Form","jetpack-forms"),description:__("Add a contact form to your page.","jetpack-forms"),icon:(0,c.Z)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.3203L6.6477 9L12 12.6797L17.3523 9L12 5.3203ZM12 3.5L4 9L12 14.5L20 9L12 3.5Z",fill:(0,s.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M4 18V9H5.5V18C5.5 18.4142 5.83579 18.75 6.25 18.75H17.75C18.1642 18.75 18.5 18.4142 18.5 18V9H20V18C20 19.2426 18.9926 20.25 17.75 20.25H6.25C5.00736 20.25 4 19.2426 4 18Z",fill:(0,s.m)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-textarea",{label:__("Message","jetpack-forms")}],["jetpack/button",{text:__("Contact Us","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...u}},!(0,a.Wp)()&&{name:"newsletter-form",title:__("Sign-up","jetpack-forms"),description:__("A simple way to collect information from folks visiting your site.","jetpack-forms"),keywords:[__("subscribe","jetpack-forms"),__("email","jetpack-forms"),__("signup","jetpack-forms")],icon:(0,c.Z)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M7 8C7 7.72386 7.22386 7.5 7.5 7.5H19.5C19.7761 7.5 20 7.72386 20 8V16C20 16.2761 19.7761 16.5 19.5 16.5H10.5V18H19.5C20.6046 18 21.5 17.1046 21.5 16V8C21.5 6.89543 20.6046 6 19.5 6H7.5C6.39543 6 5.5 6.89543 5.5 8V9.5H7V8Z",fill:(0,s.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9 15.25H3V13.75H9V15.25Z",fill:(0,s.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9 12.5H4V11H9V12.5Z",fill:(0,s.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9 18H2V16.5H9V18Z",fill:(0,s.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6.01196 7.56955L6.98815 6.43066L13.5001 12.0123L20.012 6.43066L20.9881 7.56955L13.5001 13.9879L6.01196 7.56955Z",fill:(0,s.m)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-consent",{}],["jetpack/button",{text:__("Subscribe","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...u}},{name:"rsvp-form",title:__("RSVP Form","jetpack-forms"),description:__("Add an RSVP form to your page","jetpack-forms"),icon:(0,c.Z)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M7.87868 15.5L5.5 17.8787L5.5 6C5.5 5.72386 5.72386 5.5 6 5.5L18 5.5C18.2761 5.5 18.5 5.72386 18.5 6L18.5 15C18.5 15.2761 18.2761 15.5 18 15.5L7.87868 15.5ZM8.5 17L18 17C19.1046 17 20 16.1046 20 15L20 6C20 4.89543 19.1046 4 18 4L6 4C4.89543 4 4 4.89543 4 6L4 18.9393C4 19.5251 4.47487 20 5.06066 20C5.34196 20 5.61175 19.8883 5.81066 19.6893L8.5 17Z",fill:(0,s.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6087 7.93847L11.4826 13.6692L8.45898 10.5196L9.54107 9.48084L11.3175 11.3313L14.3914 7.06201L15.6087 7.93847Z",fill:(0,s.m)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-radio",{label:__("Attending?","jetpack-forms"),required:!0,options:[__("Yes","jetpack-forms"),__("No","jetpack-forms")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack-forms")}],["jetpack/button",{text:__("Send RSVP","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...u,subject:__("A new RSVP from your website","jetpack-forms")}},{name:"registration-form",title:__("Registration Form","jetpack-forms"),description:__("Add a Registration form to your page","jetpack-forms"),icon:(0,c.Z)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5 5.5V8H20V5.5H22.5V4H20V1.5H18.5V4H16V5.5H18.5ZM12 4H6C4.89543 4 4 4.89543 4 6V18C4 19.1046 4.89543 20 6 20H18C19.1046 20 20 19.1046 20 18V12H18.5V18C18.5 18.2761 18.2761 18.5 18 18.5H6C5.72386 18.5 5.5 18.2761 5.5 18V6C5.5 5.72386 5.72386 5.5 6 5.5H12V4Z",fill:(0,s.m)()}),React.createElement(o.Path,{d:"M16.75 17.5V15.5C16.75 13.9812 15.5188 12.75 14 12.75H10C8.48122 12.75 7.25 13.9812 7.25 15.5V17.5H8.75V15.5C8.75 14.8096 9.30964 14.25 10 14.25H14C14.6904 14.25 15.25 14.8096 15.25 15.5V17.5H16.75Z",fill:(0,s.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 9C14.5 10.3807 13.3807 11.5 12 11.5C10.6193 11.5 9.5 10.3807 9.5 9C9.5 7.61929 10.6193 6.5 12 6.5C13.3807 6.5 14.5 7.61929 14.5 9ZM13 9C13 9.55228 12.5523 10 12 10C11.4477 10 11 9.55228 11 9C11 8.44772 11.4477 8 12 8C12.5523 8 13 8.44772 13 9Z",fill:(0,s.m)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-telephone",{label:__("Phone","jetpack-forms")}],["jetpack/field-select",{label:__("How did you hear about us?","jetpack-forms"),options:[__("Search Engine","jetpack-forms"),__("Social Media","jetpack-forms"),__("TV","jetpack-forms"),__("Radio","jetpack-forms"),__("Friend or Family","jetpack-forms")]}],["jetpack/field-textarea",{label:__("Other Details","jetpack-forms")}],["jetpack/button",{text:__("Send","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...u,subject:__("A new registration from your website","jetpack-forms")}},{name:"appointment-form",title:__("Appointment Form","jetpack-forms"),description:__("Add an Appointment booking form to your page","jetpack-forms"),icon:(0,c.Z)(React.createElement(React.Fragment,null,React.createElement(o.Path,{d:"M4 6C4 4.89543 4.89543 4 6 4H18C19.1046 4 20 4.89543 20 6V8H4V6Z",fill:(0,s.m)()}),React.createElement(o.Path,{d:"M7 9.25H11V13.25H7V9.25Z",fill:(0,s.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.5H18C18.2761 5.5 18.5 5.72386 18.5 6V12H20V6C20 4.89543 19.1046 4 18 4H6C4.89543 4 4 4.89543 4 6V18C4 19.1046 4.89543 20 6 20H12V18.5H6C5.72386 18.5 5.5 18.2761 5.5 18V6C5.5 5.72386 5.72386 5.5 6 5.5Z",fill:(0,s.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M17.25 21V15H18.75V21H17.25Z",fill:(0,s.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 17.25L21 17.25L21 18.75L15 18.75L15 17.25Z",fill:(0,s.m)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-telephone",{required:!0,label:__("Phone","jetpack-forms")}],["jetpack/field-date",{label:__("Date","jetpack-forms"),required:!0}],["jetpack/field-radio",{label:__("Time","jetpack-forms"),required:!0,options:[__("Morning","jetpack-forms"),__("Afternoon","jetpack-forms")]}],["jetpack/field-textarea",{label:__("Notes","jetpack-forms")}],["jetpack/button",{text:__("Book Appointment","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...u,subject:__("A new appointment booked from your website","jetpack-forms")}},{name:"feedback-form",title:__("Feedback Form","jetpack-forms"),description:__("Add a Feedback form to your page","jetpack-forms"),icon:(0,c.Z)(React.createElement(React.Fragment,null,React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5C15.5899 18.5 18.5 15.5899 18.5 12C18.5 8.41015 15.5899 5.5 12 5.5C8.41015 5.5 5.5 8.41015 5.5 12C5.5 15.5899 8.41015 18.5 12 18.5ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z",fill:(0,s.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M9.5 11C10.3284 11 11 10.3284 11 9.5C11 8.67157 10.3284 8 9.5 8C8.67157 8 8 8.67157 8 9.5C8 10.3284 8.67157 11 9.5 11Z",fill:(0,s.m)()}),React.createElement(o.Path,{d:"M16 9.5C16 10.3284 15.3284 11 14.5 11C13.6716 11 13 10.3284 13 9.5C13 8.67157 13.6716 8 14.5 8C15.3284 8 16 8.67157 16 9.5Z",fill:(0,s.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5 11C15.3284 11 16 10.3284 16 9.5C16 8.67157 15.3284 8 14.5 8C13.6716 8 13 8.67157 13 9.5C13 10.3284 13.6716 11 14.5 11Z",fill:(0,s.m)()}),React.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8.16492 14.6566L7.41431 13.7183L8.58561 12.7812L9.33622 13.7195C9.98358 14.5287 10.9637 14.9998 12 14.9998C13.0362 14.9998 14.0163 14.5287 14.6637 13.7195L15.4143 12.7812L16.5856 13.7183L15.835 14.6566C14.903 15.8216 13.4919 16.4998 12 16.4998C10.508 16.4998 9.09693 15.8216 8.16492 14.6566Z",fill:(0,s.m)()})),24,24,"0 0 24 24"),innerBlocks:[["jetpack/field-name",{required:!0,label:__("Name","jetpack-forms")}],["jetpack/field-email",{required:!0,label:__("Email","jetpack-forms")}],["jetpack/field-radio",{label:__("Please rate our website","jetpack-forms"),required:!0,options:[__("1 - Very Bad","jetpack-forms"),__("2 - Poor","jetpack-forms"),__("3 - Average","jetpack-forms"),__("4 - Good","jetpack-forms"),__("5 - Excellent","jetpack-forms")]}],["jetpack/field-textarea",{label:__("How could we improve?","jetpack-forms")}],["jetpack/button",{text:__("Send Feedback","jetpack-forms"),element:"button",lock:{remove:!0}}]],attributes:{...u,subject:__("New feedback received from your website","jetpack-forms")}},i.W])},1128:(e,t,r)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let a=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(a++,"%c"===e&&(o=a))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(2942)(t);const{formatters:a}=e.exports;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2942:(e,t,r)=>{e.exports=function(e){function t(e){let r,o,n,l=null;function i(){for(var e=arguments.length,a=new Array(e),o=0;o{if("%%"===e)return"%";c++;const o=t.formatters[r];if("function"==typeof o){const t=a[c];e=o.call(n,t),a.splice(c,1),c--}return e})),t.formatArgs.call(n,a);(n.log||t.log).apply(n,a)}return i.namespace=e,i.useColors=t.useColors(),i.color=t.selectColor(e),i.extend=a,i.destroy=t.destroy,Object.defineProperty(i,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==l?l:(o!==t.namespaces&&(o=t.namespaces,n=t.enabled(e)),n),set:e=>{l=e}}),"function"==typeof t.init&&t.init(i),i}function a(e,r){const a=t(this.namespace+(void 0===r?":":r)+e);return a.log=this.log,a}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const a=("string"==typeof e?e:"").split(/[\s,]+/),o=a.length;for(r=0;r{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t{"use strict";t.Z=function(e){var t=e.size,r=void 0===t?24:t,a=e.onClick,i=(e.icon,e.className),s=function(e,t){if(null==e)return{};var r,a,o=function(e,t){if(null==e)return{};var r,a,o={},n=Object.keys(e);for(a=0;a{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},7811:(e,t,r)=>{"use strict";function a(e){var t=this;if(t instanceof a||(t=new a),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var r=0,o=arguments.length;r1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");a=this.head.next,r=this.head.value}for(var o=0;null!==a;o++)r=e(r,a.value,o),a=a.next;return r},a.prototype.reduceReverse=function(e,t){var r,a=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");a=this.tail.prev,r=this.tail.value}for(var o=this.length-1;null!==a;o--)r=e(r,a.value,o),a=a.prev;return r},a.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},a.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},a.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new a;if(tthis.length&&(t=this.length);for(var o=0,n=this.head;null!==n&&othis.length&&(t=this.length);for(var o=this.length,n=this.tail;null!==n&&o>t;o--)n=n.prev;for(;null!==n&&o>e;o--,n=n.prev)r.push(n.value);return r},a.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var a=0,n=this.head;null!==n&&a{"use strict";e.exports=window.React},2819:e=>{"use strict";e.exports=window.lodash},6989:e=>{"use strict";e.exports=window.wp.apiFetch},2175:e=>{"use strict";e.exports=window.wp.blockEditor},4981:e=>{"use strict";e.exports=window.wp.blocks},5609:e=>{"use strict";e.exports=window.wp.components},4333:e=>{"use strict";e.exports=window.wp.compose},9818:e=>{"use strict";e.exports=window.wp.data},9307:e=>{"use strict";e.exports=window.wp.element},2694:e=>{"use strict";e.exports=window.wp.hooks},5736:e=>{"use strict";e.exports=window.wp.i18n},8817:e=>{"use strict";e.exports=window.wp.plugins},6483:e=>{"use strict";e.exports=window.wp.url},2674:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";e.exports=JSON.parse('{"O":{"White":"#fff","Black":"#000","Gray":"#646970","Gray 0":"#f6f7f7","Gray 5":"#dcdcde","Gray 10":"#c3c4c7","Gray 20":"#a7aaad","Gray 30":"#8c8f94","Gray 40":"#787c82","Gray 50":"#646970","Gray 60":"#50575e","Gray 70":"#3c434a","Gray 80":"#2c3338","Gray 90":"#1d2327","Gray 100":"#101517","Blue":"#0675c4","Blue 0":"#e9f0f5","Blue 5":"#bbe0fa","Blue 10":"#91caf2","Blue 20":"#68b3e8","Blue 30":"#399ce3","Blue 40":"#1689db","Blue 50":"#0675c4","Blue 60":"#055d9c","Blue 70":"#044b7a","Blue 80":"#02395c","Blue 90":"#01283d","Blue 100":"#001621","Purple":"#984a9c","Purple 0":"#f2e9ed","Purple 5":"#ebcee0","Purple 10":"#e3afd5","Purple 20":"#d48fc8","Purple 30":"#c475bd","Purple 40":"#b35eb1","Purple 50":"#984a9c","Purple 60":"#7c3982","Purple 70":"#662c6e","Purple 80":"#4d2054","Purple 90":"#35163b","Purple 100":"#1e0c21","Pink":"#c9356e","Pink 0":"#f5e9ed","Pink 5":"#f2ceda","Pink 10":"#f7a8c3","Pink 20":"#f283aa","Pink 30":"#eb6594","Pink 40":"#e34c84","Pink 50":"#c9356e","Pink 60":"#ab235a","Pink 70":"#8c1749","Pink 80":"#700f3b","Pink 90":"#4f092a","Pink 100":"#260415","Red":"#d63638","Red 0":"#f7ebec","Red 5":"#facfd2","Red 10":"#ffabaf","Red 20":"#ff8085","Red 30":"#f86368","Red 40":"#e65054","Red 50":"#d63638","Red 60":"#b32d2e","Red 70":"#8a2424","Red 80":"#691c1c","Red 90":"#451313","Red 100":"#240a0a","Orange":"#b26200","Orange 0":"#f5ece6","Orange 5":"#f7dcc6","Orange 10":"#ffbf86","Orange 20":"#faa754","Orange 30":"#e68b28","Orange 40":"#d67709","Orange 50":"#b26200","Orange 60":"#8a4d00","Orange 70":"#704000","Orange 80":"#543100","Orange 90":"#361f00","Orange 100":"#1f1200","Yellow":"#9d6e00","Yellow 0":"#f5f1e1","Yellow 5":"#f5e6b3","Yellow 10":"#f2d76b","Yellow 20":"#f0c930","Yellow 30":"#deb100","Yellow 40":"#c08c00","Yellow 50":"#9d6e00","Yellow 60":"#7d5600","Yellow 70":"#674600","Yellow 80":"#4f3500","Yellow 90":"#320","Yellow 100":"#1c1300","Green":"#008a20","Green 0":"#e6f2e8","Green 5":"#b8e6bf","Green 10":"#68de86","Green 20":"#1ed15a","Green 30":"#00ba37","Green 40":"#00a32a","Green 50":"#008a20","Green 60":"#007017","Green 70":"#005c12","Green 80":"#00450c","Green 90":"#003008","Green 100":"#001c05","Celadon":"#008763","Celadon 0":"#e4f2ed","Celadon 5":"#a7e8d3","Celadon 10":"#66deb9","Celadon 20":"#31cc9f","Celadon 30":"#09b585","Celadon 40":"#009e73","Celadon 50":"#008763","Celadon 60":"#007053","Celadon 70":"#005c44","Celadon 80":"#004533","Celadon 90":"#003024","Celadon 100":"#001c15","WordPress Blue":"#006088","WordPress Blue 0":"#e6f1f5","WordPress Blue 5":"#bedae6","WordPress Blue 10":"#98c6d9","WordPress Blue 20":"#6ab3d0","WordPress Blue 30":"#3895ba","WordPress Blue 40":"#187aa2","WordPress Blue 50":"#006088","WordPress Blue 60":"#004e6e","WordPress Blue 70":"#003c56","WordPress Blue 80":"#002c40","WordPress Blue 90":"#001d2d","WordPress Blue 100":"#00101c","Simplenote Blue":"#3361cc","Simplenote Blue 0":"#e9ecf5","Simplenote Blue 5":"#ced9f2","Simplenote Blue 10":"#abc1f5","Simplenote Blue 20":"#84a4f0","Simplenote Blue 30":"#618df2","Simplenote Blue 40":"#4678eb","Simplenote Blue 50":"#3361cc","Simplenote Blue 60":"#1d4fc4","Simplenote Blue 70":"#113ead","Simplenote Blue 80":"#0d2f85","Simplenote Blue 90":"#09205c","Simplenote Blue 100":"#05102e","WooCommerce Purple":"#7f54b3","WooCommerce Purple 0":"#f7edf7","WooCommerce Purple 5":"#e5cfe8","WooCommerce Purple 10":"#d6b4e0","WooCommerce Purple 20":"#c792e0","WooCommerce Purple 30":"#af7dd1","WooCommerce Purple 40":"#9a69c7","WooCommerce Purple 50":"#7f54b3","WooCommerce Purple 60":"#674399","WooCommerce Purple 70":"#533582","WooCommerce Purple 80":"#3c2861","WooCommerce Purple 90":"#271b3d","WooCommerce Purple 100":"#140e1f","Jetpack Green":"#069e08","Jetpack Green 0":"#f0f2eb","Jetpack Green 5":"#d0e6b8","Jetpack Green 10":"#9dd977","Jetpack Green 20":"#64ca43","Jetpack Green 30":"#2fb41f","Jetpack Green 40":"#069e08","Jetpack Green 50":"#008710","Jetpack Green 60":"#007117","Jetpack Green 70":"#005b18","Jetpack Green 80":"#004515","Jetpack Green 90":"#003010","Jetpack Green 100":"#001c09"}}')}},t={};function r(a){var o=t[a];if(void 0!==o)return o.exports;var n=t[a]={exports:{}};return e[a](n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=r(348),t=r(7469),a=r(4913);(0,t.Z)(a.u,a.X,e.N)})()})(); \ No newline at end of file diff --git a/dist/blocks/editor.rtl.css b/dist/blocks/editor.rtl.css index b079459..1369a8c 100644 --- a/dist/blocks/editor.rtl.css +++ b/dist/blocks/editor.rtl.css @@ -1 +1 @@ -.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-editor-panel-logo{margin-right:.5em}.wp-block-jetpack-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{margin:0;max-width:unset}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations{gap:20px 0;justify-content:center;margin:16px auto;max-width:560px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations>li{flex:0;margin:0;max-width:none;width:unset}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{margin-left:4px;margin-right:4px;padding:22px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation svg{height:auto;width:24px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label{margin-left:0}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--wp--style--block-gap,1.5rem);justify-content:flex-start}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-25{flex:1 1 calc(25% - var(--wp--style--block-gap, 1.5rem)*1);max-width:25%}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-50{flex:1 1 calc(50% - var(--wp--style--block-gap, 1.5rem)*1);max-width:50%}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-75{flex:1 1 calc(75% - var(--wp--style--block-gap, 1.5rem)*1);max-width:75%}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.wp-block-jetpack-contact-form [data-type="jetpack/field-checkbox-multiple"] .wp-block,.wp-block-jetpack-contact-form [data-type="jetpack/field-radio"] .wp-block{margin:unset}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{max-width:none;text-align:right}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form.is-placeholder{background-color:#fff;border:1px solid #1e1e1e;padding:24px}.jetpack-contact-form.is-placeholder .components-placeholder{box-shadow:unset;margin-bottom:16px;padding:0}.jetpack-contact-form.is-placeholder .block-editor-block-variation-picker__variation svg path:not(.icon-filler){fill:currentColor}.jetpack-contact-form.is-placeholder .form-placeholder__footer{align-items:center;display:flex;flex-direction:column;gap:12px;justify-content:center}@media(min-width:600px){.jetpack-contact-form.is-placeholder .form-placeholder__footer{flex-direction:row;justify-content:space-between}}.jetpack-contact-form.is-placeholder .form-placeholder__footer-links{align-items:center;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}@media(min-width:600px){.jetpack-contact-form.is-placeholder .form-placeholder__footer-links{align-items:flex-end}}.jetpack-contact-form.is-placeholder .form-placeholder__external-link{font-size:13px;padding:0}.jetpack-contact-form.is-placeholder .form-placeholder__external-link,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:active,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:focus,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:hover{background-color:unset;color:var(--wp-admin-theme-color)}.jetpack-contact-form.is-placeholder .form-placeholder__external-link svg{height:1.4em;margin-right:2px;width:1.4em}.form-placeholder__patterns-modal{max-width:1200px}@media(min-width:600px){.form-placeholder__patterns-modal{height:calc(100% - 120px);width:calc(100% - 32px)}}@media(min-width:782px){.form-placeholder__patterns-modal{width:750px}}@media(min-width:960px){.form-placeholder__patterns-modal{height:80%;max-height:none;width:80%}}.form-placeholder__patterns-modal .components-modal__content{margin-bottom:60px;padding:0}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .carousel-container{margin-bottom:20px}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .pattern-slide{border:1px solid #ddd}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .block-editor-block-pattern-setup__container{padding:0 32px}.form-placeholder__patterns-modal .block-editor-block-pattern-setup__grid .block-editor-block-pattern-setup__container{padding-bottom:72px}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-contact-form__integration-panel button{margin-top:1em}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 16px 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;font-weight:700;margin-bottom:.25em}.jetpack-field-label .required{color:unset;font-size:85%;font-weight:400;margin-right:.25em;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}.jetpack-field__textarea{min-height:200px}.jetpack-field .jetpack-field__input,.jetpack-field .jetpack-field__textarea{border:1px solid #8c8f94;border-radius:0;box-shadow:unset;box-sizing:border-box;font:inherit;margin:0;padding:16px;width:100%}.jetpack-field .jetpack-field__textarea{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size)}.jetpack-field .components-base-control__field{margin-bottom:0}.jetpack-field.jetpack-field-checkbox .jetpack-field-checkbox__checkbox,.jetpack-field.jetpack-field-consent .jetpack-field-consent__checkbox{border-color:currentColor;margin:0 0 0 .75rem;opacity:1}.jetpack-field .jetpack-option__type.jetpack-option__type{all:initial;align-items:center;-webkit-appearance:none;appearance:none;border:none;color:var(--jetpack--contact-form--text-color);display:flex;font-family:var(--jetpack--contact-form--font-family);font-size:var(--jetpack--contact-form--font-size);height:var(--jetpack--contact-form--font-size);justify-content:center;margin:0 0 0 10px;outline:none;pointer-events:none;position:relative;width:var(--jetpack--contact-form--font-size)}.jetpack-field .jetpack-option__type.jetpack-option__type:after,.jetpack-field .jetpack-option__type.jetpack-option__type:before{all:initial;color:inherit;font-family:inherit;font-size:inherit}.jetpack-field .jetpack-option__type.jetpack-option__type:before{align-items:center;border:1px solid;border-radius:min(var(--jetpack--contact-form--button-outline--border-radius,0px),4px);box-sizing:border-box;content:" ";display:flex;font-weight:700;height:var(--jetpack--contact-form--font-size);justify-content:center;width:var(--jetpack--contact-form--font-size)}.jetpack-field .jetpack-option__type.jetpack-option__type[type=radio]:before{border-radius:50%}.jetpack-field.jetpack-field-multiple .block-editor-block-list__layout{align-items:flex-start;display:flex;flex-direction:column;gap:12px}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option{background:var(--jetpack--contact-form--button-outline--background-color);border:var(--jetpack--contact-form--button-outline--border);border-color:currentColor;border-radius:var(--jetpack--contact-form--button-outline--border-radius);border-width:var(--jetpack--contact-form--button-outline--border-size);color:var(--jetpack--contact-form--button-outline--text-color);line-height:var(--jetpack--contact-form--button-outline--line-height);padding:var(--jetpack--contact-form--button-outline--padding)}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option.field-option-radio{flex-direction:row-reverse;gap:16px;position:relative}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option.field-option-radio .jetpack-option__type{display:none}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option .jetpack-option__type{color:var(--jetpack--contact-form--button-outline--color)}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option{margin:0;padding:0}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option .dashicon{display:flex;height:1rem;margin-left:.75rem;margin-right:0;width:1rem}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option .dashicon:before{font-size:1rem}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .jetpack-field-consent__checkbox+.jetpack-field-label{line-height:normal}.jetpack-field .jetpack-field-option{align-items:center;display:flex;justify-content:flex-start}.jetpack-field .jetpack-field-option>input{margin:0 0 0 5px}:where(:not(.contact-form))>.jetpack-field .jetpack-field__input,:where(:not(.contact-form))>.jetpack-field .jetpack-field__textarea{padding-left:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius));padding-right:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius))}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-multiple__list.jetpack-field-multiple__list{display:flex;flex:1;flex-direction:column;gap:.25em;list-style-type:none;margin:0;padding-right:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border:none;border-radius:0;color:inherit;flex-grow:1;font-size:inherit;line-height:1.5;padding:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{box-shadow:none}.jetpack-field-multiple.components-base-control{font-size:inherit}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox,.jetpack-field-consent{align-items:center;display:flex}.jetpack-field-checkbox .jetpack-field-label,.jetpack-field-consent .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .jetpack-field-label .jetpack-field-label__input,.jetpack-field-consent .jetpack-field-label .jetpack-field-label__input{font-weight:400}.jetpack-field-consent .jetpack-field-label__input{font-size:13px;text-transform:uppercase}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px}.jetpack-contact-form__popover .components-popover__content .components-base-control{margin-bottom:24px}.jetpack-contact-form__popover .components-popover__content .components-base-control:last-child{margin-bottom:8px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__content{padding:12px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__close-icon{height:24px;justify-content:center;padding:0;width:24px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__item svg{fill:none;margin-left:8px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom:0}.jetpack-field-dropdown{display:inline-flex;flex-direction:column;font-family:var(--jetpack--contact-form--font-family);width:100%}.jetpack-field-dropdown__wrapper{position:relative}.jetpack-field-dropdown__toggle{align-items:center;background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);color:var(--jetpack--contact-form--text-color);display:flex;font-size:var(--jetpack--contact-form--font-size);justify-content:space-between;line-height:var(--jetpack--contact-form--line-height);padding:var(--jetpack--contact-form--input-padding)}.jetpack-field-dropdown__icon{align-items:center;border:2px solid transparent;box-sizing:border-box;display:flex;height:.8em;justify-content:center;margin-left:4px;overflow:visible;position:relative;width:.8em}.jetpack-field-dropdown__icon:after{border-bottom:2px solid;border-left:2px solid;box-sizing:border-box;content:"";display:block;height:100%;margin-top:-2px;transform:rotate(-45deg);width:100%}.jetpack-field-dropdown__popover{background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);box-shadow:0 2px 6px rgba(0,0,0,.05);color:var(--jetpack--contact-form--text-color);font-size:var(--jetpack--contact-form--font-size);line-height:normal;margin-top:8px;max-height:165px;overflow:auto;padding:0}.jetpack-field-dropdown__popover .rich-text{padding:var(--jetpack--contact-form--input-padding)}.jetpack-contact-form .jetpack-field .jetpack-field__input,.jetpack-contact-form .jetpack-field .jetpack-field__textarea{color:#787c82}.jetpack-contact-form.is-style-animated .jetpack-field,.jetpack-contact-form.is-style-outlined .jetpack-field{position:relative}.jetpack-contact-form.is-style-outlined .block-editor-block-list__block:not([contenteditable]):focus:after{bottom:-10px;left:-10px;right:-10px;top:-10px}.jetpack-contact-form.is-style-outlined .jetpack-field{--notch-width:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius));display:flex;margin-top:8px}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label{box-sizing:border-box;display:flex;height:100%;max-width:100%;position:absolute;right:0;text-align:right;top:0;width:100%;z-index:1}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__leading{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-left:none;border-radius:var(--jetpack--contact-form--border-radius);border-bottom-left-radius:unset;border-top-left-radius:unset;width:var(--notch-width)}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__notch{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:unset;border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-left:none;border-right:none;padding:0 4px;transition:border .15s linear}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__label{margin:0;position:relative;top:50%;transform:translateY(-50%);transition:all .15s cubic-bezier(.4,0,.2,1);will-change:transform}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__label label{font-weight:300}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__trailing{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-bottom-right-radius:unset;border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-right:none;border-top-right-radius:unset;flex-grow:1}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-textarea .notched-label__label{top:var(--jetpack--contact-form--input-padding-top,16px);transform:unset}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder .notched-label__notch,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected .notched-label__notch{border-top-color:transparent}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder .notched-label__label,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected .notched-label__label{font-size:.8em;top:calc(var(--jetpack--contact-form--border-size)*-1);transform:translateY(-50%)}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder.jetpack-field-dropdown .jetpack-field-dropdown__toggle,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected.jetpack-field-dropdown .jetpack-field-dropdown__toggle{border-color:transparent;padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple{background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-top:none;padding:var(--jetpack--contact-form--input-padding,16px);padding-top:calc(var(--jetpack--contact-form--input-padding, 16px) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label{height:unset}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__leading,.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__notch,.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__trailing{border-bottom:none;border-left:none;border-right:none}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-checkbox{margin-top:0}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field-dropdown__popover .rich-text{padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field-dropdown__icon{margin-left:0}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field__input,.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field__textarea{border-top-color:transparent!important;display:flex;outline:none;padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-animated .jetpack-field{--left-offset:calc(var(--jetpack--contact-form--input-padding-left, 16px) + var(--jetpack--contact-form--border-size));--label-left:max(var(--left-offset),var(--jetpack--contact-form--border-radius));--field-padding:calc(var(--label-left) - var(--jetpack--contact-form--border-size))}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__input{outline:none}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__textarea{outline:none;padding:var(--jetpack--contact-form--input-padding,16px)}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field-dropdown__toggle,.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__input,.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__textarea{padding-left:var(--field-padding);padding-right:var(--field-padding);padding-top:1.4em}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-dropdown .jetpack-field-dropdown__popover .rich-text{padding-left:var(--field-padding);padding-right:var(--field-padding)}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-multiple{padding-bottom:var(--jetpack--contact-form--input-padding,16px);padding-top:1.8em}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-multiple.has-placeholder .animated-label__label{font-size:1em;right:0;top:0}.jetpack-contact-form.is-style-animated .jetpack-field .animated-label__label{box-sizing:border-box;margin:0;max-width:100%;position:absolute;right:var(--label-left);top:50%;transform:translateY(-50%);transition:all .15s cubic-bezier(.4,0,.2,1);width:100%;z-index:1}.jetpack-contact-form.is-style-animated .jetpack-field .animated-label__label .jetpack-field-label__input{margin:0}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-textarea .animated-label__label{top:var(--jetpack--contact-form--input-padding-top,16px);transform:unset}.jetpack-contact-form.is-style-animated .jetpack-field.has-placeholder .animated-label__label,.jetpack-contact-form.is-style-animated .jetpack-field.is-selected .animated-label__label{font-size:.75em;top:calc(2px + var(--jetpack--contact-form--border-size));transform:translateY(0)}.jetpack-contact-form.is-style-below .jetpack-field:not(.jetpack-field-checkbox){display:flex;flex-direction:column-reverse}.block-editor-block-inspector .components-base-control .components-base-control:last-child{margin-bottom:0}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:var(--color-error)}.help-message.help-message-is-error svg{fill:var(--color-error)} \ No newline at end of file +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.wp-block-jetpack-contact-form{box-sizing:border-box}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{margin:0;max-width:unset}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations{gap:20px 0;justify-content:center;margin:16px auto;max-width:560px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations>li{flex:0;margin:0;max-width:none;width:unset}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{margin-left:4px;margin-right:4px;padding:22px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation svg{height:auto;width:24px}.wp-block-jetpack-contact-form .block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset .block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation-label{margin-left:0}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--wp--style--block-gap,1.5rem);justify-content:flex-start}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{flex:0 0 100%;margin:0}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-25,.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-50,.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-75{box-sizing:border-box}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-25{flex:1 1 calc(25% - var(--wp--style--block-gap, 1.5rem)*1);max-width:25%}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-25 .jetpack-option__input.jetpack-option__input.jetpack-option__input{width:70px}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-50{flex:1 1 calc(50% - var(--wp--style--block-gap, 1.5rem)*1);max-width:50%}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.jetpack-field__width-75{flex:1 1 calc(75% - var(--wp--style--block-gap, 1.5rem)*1);max-width:75%}.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-type="jetpack/field-checkbox"],.wp-block-jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block[data-type="jetpack/field-consent"]{align-self:center}.wp-block-jetpack-contact-form .block-list-appender{flex:0 0 100%}.wp-block-jetpack-contact-form [data-type="jetpack/field-checkbox-multiple"] .wp-block,.wp-block-jetpack-contact-form [data-type="jetpack/field-radio"] .wp-block{margin:unset}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{line-height:16px;outline-style:none;outline-width:0;width:100%}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{max-width:none;text-align:right}.jetpack-contact-form .components-placeholder .help-message{margin:0 0 1em;width:100%}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form.is-placeholder{background-color:#fff;border:1px solid #1e1e1e;padding:24px}.jetpack-contact-form.is-placeholder .components-placeholder{box-shadow:unset;margin-bottom:16px;padding:0}.jetpack-contact-form.is-placeholder .block-editor-block-variation-picker__variation svg path:not(.icon-filler){fill:currentColor}.jetpack-contact-form.is-placeholder .form-placeholder__footer{align-items:center;display:flex;flex-direction:column;gap:12px;justify-content:center}@media(min-width:600px){.jetpack-contact-form.is-placeholder .form-placeholder__footer{flex-direction:row;justify-content:space-between}}.jetpack-contact-form.is-placeholder .form-placeholder__footer-links{align-items:center;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}@media(min-width:600px){.jetpack-contact-form.is-placeholder .form-placeholder__footer-links{align-items:flex-end}}.jetpack-contact-form.is-placeholder .form-placeholder__external-link{font-size:13px;padding:0}.jetpack-contact-form.is-placeholder .form-placeholder__external-link,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:active,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:focus,.jetpack-contact-form.is-placeholder .form-placeholder__external-link:hover{background-color:unset;color:var(--wp-admin-theme-color)}.jetpack-contact-form.is-placeholder .form-placeholder__external-link svg{height:1.4em;margin-right:2px;width:1.4em}.form-placeholder__patterns-modal{max-width:1200px}@media(min-width:600px){.form-placeholder__patterns-modal{height:calc(100% - 120px);width:calc(100% - 32px)}}@media(min-width:782px){.form-placeholder__patterns-modal{width:750px}}@media(min-width:960px){.form-placeholder__patterns-modal{height:80%;max-height:none;width:80%}}.form-placeholder__patterns-modal .components-modal__content{margin-bottom:60px;padding:0}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .carousel-container{margin-bottom:20px}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .pattern-slide{border:1px solid #ddd}.form-placeholder__patterns-modal .components-modal__content .view-mode-carousel .block-editor-block-pattern-setup__container{padding:0 32px}.form-placeholder__patterns-modal .block-editor-block-pattern-setup__grid .block-editor-block-pattern-setup__container{padding-bottom:72px}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-contact-form__integration-panel button{margin-top:1em}.jetpack-field-label{align-items:baseline;display:flex;flex-direction:row;justify-content:flex-start}.jetpack-field-label .components-base-control{margin-bottom:-3px;margin-top:-1px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 16px 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .rich-text.jetpack-field-label__input{cursor:text;font-weight:700;margin-bottom:.25em}.jetpack-field-label .required{color:unset;font-size:85%;font-weight:400;margin-right:.25em;opacity:.45;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{min-height:unset;padding:0}.jetpack-field__textarea{min-height:200px}.jetpack-field .jetpack-field__input,.jetpack-field .jetpack-field__textarea{border:1px solid #8c8f94;border-radius:0;box-shadow:unset;box-sizing:border-box;font:inherit;margin:0;padding:16px;width:100%}.jetpack-field .jetpack-field__textarea{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size)}.jetpack-field .components-base-control__field{margin-bottom:0}.jetpack-field.jetpack-field-checkbox .jetpack-field-checkbox__checkbox,.jetpack-field.jetpack-field-consent .jetpack-field-consent__checkbox{border-color:currentColor;margin:0 0 0 .75rem;opacity:1}.jetpack-field .jetpack-option__type.jetpack-option__type{all:initial;align-items:center;-webkit-appearance:none;appearance:none;border:none;color:var(--jetpack--contact-form--text-color);display:flex;font-family:var(--jetpack--contact-form--font-family);font-size:var(--jetpack--contact-form--font-size);height:var(--jetpack--contact-form--font-size);justify-content:center;margin:0 0 0 10px;outline:none;pointer-events:none;position:relative;width:var(--jetpack--contact-form--font-size)}.jetpack-field .jetpack-option__type.jetpack-option__type:after,.jetpack-field .jetpack-option__type.jetpack-option__type:before{all:initial;color:inherit;font-family:inherit;font-size:inherit}.jetpack-field .jetpack-option__type.jetpack-option__type:before{align-items:center;border:1px solid;border-radius:min(var(--jetpack--contact-form--button-outline--border-radius,0px),4px);box-sizing:border-box;content:" ";display:flex;font-weight:700;height:var(--jetpack--contact-form--font-size);justify-content:center;width:var(--jetpack--contact-form--font-size)}.jetpack-field .jetpack-option__type.jetpack-option__type[type=radio]:before{border-radius:50%}.jetpack-field.jetpack-field-multiple .block-editor-block-list__layout{align-items:flex-start;display:flex;flex-direction:column;gap:12px}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option{background:var(--jetpack--contact-form--button-outline--background-color);border:var(--jetpack--contact-form--button-outline--border);border-color:currentColor;border-radius:var(--jetpack--contact-form--button-outline--border-radius);border-width:var(--jetpack--contact-form--button-outline--border-size);color:var(--jetpack--contact-form--button-outline--text-color);line-height:var(--jetpack--contact-form--button-outline--line-height);padding:var(--jetpack--contact-form--button-outline--padding)}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option.field-option-radio{flex-direction:row-reverse;gap:16px;position:relative}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option.field-option-radio .jetpack-option__type{display:none}.jetpack-field.jetpack-field-multiple.is-style-button .jetpack-field-option .jetpack-option__type{color:var(--jetpack--contact-form--button-outline--color)}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option{margin:0;padding:0}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option .dashicon{display:flex;height:1rem;margin-left:.75rem;margin-right:0;width:1rem}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option .dashicon:before{font-size:1rem}.jetpack-field.jetpack-field-multiple .jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .jetpack-field-consent__checkbox+.jetpack-field-label{line-height:normal}.jetpack-field .jetpack-field-option{align-items:center;display:flex;justify-content:flex-start}.jetpack-field .jetpack-field-option>input{margin:0 0 0 5px}:where(:not(.contact-form))>.jetpack-field .jetpack-field__input,:where(:not(.contact-form))>.jetpack-field .jetpack-field__textarea{padding-left:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius));padding-right:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius))}.jetpack-field-label__width .components-button-group{display:block}.jetpack-field-label__width .components-base-control__field{margin-bottom:12px}.jetpack-field-multiple__list.jetpack-field-multiple__list{display:flex;flex:1;flex-direction:column;gap:.25em;list-style-type:none;margin:0;padding-right:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid rgba(0,0,0,.4);border-radius:4px;padding:4px}.jetpack-option{align-items:center;display:flex;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{background:transparent;border:none;border-radius:0;color:inherit;flex-grow:1;font-size:inherit;line-height:1.5;padding:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{box-shadow:none}.jetpack-field-multiple.components-base-control{font-size:inherit}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox,.jetpack-field-consent{align-items:center;display:flex}.jetpack-field-checkbox .jetpack-field-label,.jetpack-field-consent .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .jetpack-field-label .jetpack-field-label__input,.jetpack-field-consent .jetpack-field-label .jetpack-field-label__input{font-weight:400}.jetpack-field-consent .jetpack-field-label__input{font-size:13px;text-transform:uppercase}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-contact-form__popover .components-popover__content{min-width:260px}.jetpack-contact-form__popover .components-popover__content .components-base-control{margin-bottom:24px}.jetpack-contact-form__popover .components-popover__content .components-base-control:last-child{margin-bottom:8px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__content{padding:12px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__close-icon{height:24px;justify-content:center;padding:0;width:24px}.jetpack-contact-form__popover .components-popover__content .form-settings-dropdown__item svg{fill:none;margin-left:8px}.jetpack-contact-form__crm_text,.jetpack-contact-form__crm_toggle p{margin-bottom:0}.jetpack-field-dropdown{display:inline-flex;flex-direction:column;font-family:var(--jetpack--contact-form--font-family);width:100%}.jetpack-field-dropdown__wrapper{position:relative}.jetpack-field-dropdown__toggle{align-items:center;background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);color:var(--jetpack--contact-form--text-color);display:flex;font-size:var(--jetpack--contact-form--font-size);justify-content:space-between;line-height:var(--jetpack--contact-form--line-height);padding:var(--jetpack--contact-form--input-padding)}.jetpack-field-dropdown__icon{align-items:center;border:2px solid transparent;box-sizing:border-box;display:flex;height:.8em;justify-content:center;margin-left:4px;overflow:visible;position:relative;width:.8em}.jetpack-field-dropdown__icon:after{border-bottom:2px solid;border-left:2px solid;box-sizing:border-box;content:"";display:block;height:100%;margin-top:-2px;transform:rotate(-45deg);width:100%}.jetpack-field-dropdown__popover{background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);box-shadow:0 2px 6px rgba(0,0,0,.05);color:var(--jetpack--contact-form--text-color);font-size:var(--jetpack--contact-form--font-size);line-height:normal;margin-top:8px;max-height:165px;overflow:auto;padding:0}.jetpack-field-dropdown__popover .rich-text{padding:var(--jetpack--contact-form--input-padding)}.jetpack-contact-form .jetpack-field .jetpack-field__input,.jetpack-contact-form .jetpack-field .jetpack-field__textarea{color:#787c82}.jetpack-contact-form.is-style-animated .jetpack-field,.jetpack-contact-form.is-style-outlined .jetpack-field{position:relative}.jetpack-contact-form.is-style-outlined .block-editor-block-list__block:not([contenteditable]):focus:after{bottom:-10px;left:-10px;right:-10px;top:-10px}.jetpack-contact-form.is-style-outlined .jetpack-field{--notch-width:max(var(--jetpack--contact-form--input-padding-left,16px),var(--jetpack--contact-form--border-radius));display:flex;margin-top:8px}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label{box-sizing:border-box;display:flex;height:100%;max-width:100%;position:absolute;right:0;text-align:right;top:0;width:100%;z-index:1}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__leading{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-left:none;border-radius:var(--jetpack--contact-form--border-radius);border-bottom-left-radius:unset;border-top-left-radius:unset;width:var(--notch-width)}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__notch{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:unset;border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-left:none;border-right:none;padding:0 4px;transition:border .15s linear}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__label{margin:0;position:relative;top:50%;transform:translateY(-50%);transition:all .15s cubic-bezier(.4,0,.2,1);will-change:transform}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__label label{font-weight:300}.jetpack-contact-form.is-style-outlined .jetpack-field .notched-label__trailing{border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-bottom-right-radius:unset;border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-right:none;border-top-right-radius:unset;flex-grow:1}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-textarea .notched-label__label{top:var(--jetpack--contact-form--input-padding-top,16px);transform:unset}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder .notched-label__notch,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected .notched-label__notch{border-top-color:transparent}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder .notched-label__label,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected .notched-label__label{font-size:.8em;top:calc(var(--jetpack--contact-form--border-size)*-1);transform:translateY(-50%)}.jetpack-contact-form.is-style-outlined .jetpack-field.has-placeholder.jetpack-field-dropdown .jetpack-field-dropdown__toggle,.jetpack-contact-form.is-style-outlined .jetpack-field.is-selected.jetpack-field-dropdown .jetpack-field-dropdown__toggle{border-color:transparent;padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple{background-color:var(--jetpack--contact-form--input-background);border:var(--jetpack--contact-form--border);border-color:var(--jetpack--contact-form--border-color);border-radius:var(--jetpack--contact-form--border-radius);border-style:var(--jetpack--contact-form--border-style);border-width:var(--jetpack--contact-form--border-size);border-top:none;padding:var(--jetpack--contact-form--input-padding,16px);padding-top:calc(var(--jetpack--contact-form--input-padding, 16px) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label{height:unset}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__leading,.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__notch,.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-multiple .notched-label__trailing{border-bottom:none;border-left:none;border-right:none}.jetpack-contact-form.is-style-outlined .jetpack-field.jetpack-field-checkbox{margin-top:0}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field-dropdown__popover .rich-text{padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field-dropdown__icon{margin-left:0}.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field__input,.jetpack-contact-form.is-style-outlined .jetpack-field .jetpack-field__textarea{border-top-color:transparent!important;display:flex;outline:none;padding-left:calc(var(--notch-width) + 4px);padding-right:calc(var(--notch-width) + 4px)}.jetpack-contact-form.is-style-animated .jetpack-field{--left-offset:calc(var(--jetpack--contact-form--input-padding-left, 16px) + var(--jetpack--contact-form--border-size));--label-left:max(var(--left-offset),var(--jetpack--contact-form--border-radius));--field-padding:calc(var(--label-left) - var(--jetpack--contact-form--border-size))}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__input{outline:none}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__textarea{outline:none;padding:var(--jetpack--contact-form--input-padding,16px)}.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field-dropdown__toggle,.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__input,.jetpack-contact-form.is-style-animated .jetpack-field .jetpack-field__textarea{padding-left:var(--field-padding);padding-right:var(--field-padding);padding-top:1.4em}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-dropdown .jetpack-field-dropdown__popover .rich-text{padding-left:var(--field-padding);padding-right:var(--field-padding)}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-multiple{padding-bottom:var(--jetpack--contact-form--input-padding,16px);padding-top:1.8em}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-multiple.has-placeholder .animated-label__label{font-size:1em;right:0;top:0}.jetpack-contact-form.is-style-animated .jetpack-field .animated-label__label{box-sizing:border-box;margin:0;max-width:100%;position:absolute;right:var(--label-left);top:50%;transform:translateY(-50%);transition:all .15s cubic-bezier(.4,0,.2,1);width:100%;z-index:1}.jetpack-contact-form.is-style-animated .jetpack-field .animated-label__label .jetpack-field-label__input{margin:0}.jetpack-contact-form.is-style-animated .jetpack-field.jetpack-field-textarea .animated-label__label{top:var(--jetpack--contact-form--input-padding-top,16px);transform:unset}.jetpack-contact-form.is-style-animated .jetpack-field.has-placeholder .animated-label__label,.jetpack-contact-form.is-style-animated .jetpack-field.is-selected .animated-label__label{font-size:.75em;top:calc(2px + var(--jetpack--contact-form--border-size));transform:translateY(0)}.jetpack-contact-form.is-style-below .jetpack-field:not(.jetpack-field-checkbox){display:flex;flex-direction:column-reverse}.block-editor-block-inspector .components-base-control .components-base-control:last-child{margin-bottom:0}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:var(--color-error)}.help-message.help-message-is-error svg{fill:var(--color-error)} \ No newline at end of file diff --git a/dist/dashboard/jetpack-forms-dashboard.asset.php b/dist/dashboard/jetpack-forms-dashboard.asset.php index 3b2d1d6..81fc072 100644 --- a/dist/dashboard/jetpack-forms-dashboard.asset.php +++ b/dist/dashboard/jetpack-forms-dashboard.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => '59fa3c4a1be5a8d3dd97'); + array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-url'), 'version' => '9c0949e9d4d4c287f5ef'); diff --git a/dist/dashboard/jetpack-forms-dashboard.css b/dist/dashboard/jetpack-forms-dashboard.css index 62de827..1e35b36 100644 --- a/dist/dashboard/jetpack-forms-dashboard.css +++ b/dist/dashboard/jetpack-forms-dashboard.css @@ -1 +1 @@ -body.toplevel_page_jetpack-forms{background-color:#fff}body.toplevel_page_jetpack-forms #wpcontent{padding-left:0}.jp-forms__layout{box-sizing:border-box;display:flex;flex-direction:column;margin:0;padding:0;width:100%}.jp-forms__layout .jp-forms__logo{margin:40px 64px}@media(max-width:660px){.jp-forms__layout .jp-forms__logo{margin:40px 24px}}.jp-forms__layout-header{background-color:#f9f9f9;box-sizing:border-box;margin:0;padding:48px 64px 16px;width:100%}@media(max-width:660px){.jp-forms__layout-header{padding:48px 24px 32px}}.jp-forms__layout-title{display:inline-flex;font-size:36px;font-weight:700;height:40px;line-height:40px;margin:0}.jp-forms__layout-footer.jp-dashboard-footer{box-sizing:border-box;margin:60px 0;max-width:100%;padding-left:64px;padding-right:64px}.jp-dashboard-footer{align-items:center;color:var(--jp-black);display:flex;flex-wrap:wrap;font-size:var(--font-body-extra-small);line-height:1.333;max-width:1128px;width:100%}.jp-dashboard-footer a{text-decoration:none}.jp-dashboard-footer a:any-link,.jp-dashboard-footer a[role=button]{color:inherit}.jp-dashboard-footer a:hover{text-decoration:underline;text-decoration-thickness:1.5px}.jp-dashboard-footer a:focus{border-radius:2px;box-shadow:none;outline:1.5px solid currentColor;outline-offset:3px}.jp-dashboard-footer.is-sm>ul{gap:.125rem}.jp-dashboard-footer.is-md,.jp-dashboard-footer.is-sm>ul{align-items:flex-start;flex-direction:column}.jp-dashboard-footer>ul{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;list-style:none;margin:0;padding:0;width:100%}.jp-dashboard-footer>ul>li{margin-bottom:0}.jp-dashboard-footer>ul>li>a{align-items:center;display:flex;gap:.25rem;min-height:44px}.jp-dashboard-footer__jp-item{font-weight:600;padding-inline-end:1rem}.jp-dashboard-footer.is-sm .jp-dashboard-footer__jp-item{padding-bottom:1rem}.jp-dashboard-footer.is-lg .jp-dashboard-footer__a8c-item{margin-inline-start:auto}.jp-dashboard-footer.is-sm .jp-dashboard-footer__a8c-item{padding-top:1rem}.jp-dashboard-footer__a8c-item>a,.jp-dashboard-footer__jp-item>a{text-decoration:none}.jp-forms__actions-search{border-radius:4px;display:flex;flex-direction:row}.jp-forms__actions-search:focus-within{box-shadow:var(--jp-forms-focus-shadow)}@media(max-width:600px){.jp-forms__actions-search{flex:1}}.jp-forms__actions-search .input-wrapper{align-items:center;background-color:var(--jp-forms-white);border:1px solid var(--jp-forms-border-color);border-radius:var(--jp-forms-border-radius);box-sizing:border-box;display:flex;font-size:var(--font-body-small);height:var(--jp-forms-input-wrapper-height);min-height:var(--jp-forms-input-wrapper-height);padding:var(--jp-forms-spacing-base);width:350px}@media(min-width:783px)and (max-width:960px){.jp-forms__actions-search .input-wrapper{width:300px}}@media(max-width:600px){.jp-forms__actions-search .input-wrapper{width:100%}}.jp-forms__actions-search .input-wrapper:focus-within{border-color:transparent}.jp-forms__actions-search .input-wrapper.disabled{background-color:var(--jp-gray);border-color:var(--jp-gray-10);color:var(--jp-gray-20)}.jp-forms__actions-search .input-wrapper .input{background-color:transparent;border:0;box-shadow:none;font-family:unset;font-size:var(--jp-forms-font-size-regular);outline:none;padding:0;width:100%}.jp-forms__actions-search .input-wrapper .input:focus{box-shadow:none;outline:none}.jp-forms__actions-search .input-wrapper .input.with-icon{margin-left:var(--jp-forms-spacing-base)}.jp-forms__actions-search .input-wrapper .icon-wrapper{align-items:center;display:flex;flex-shrink:0;height:24px;justify-content:center;width:24px}.jp-forms__actions-search .input-wrapper .icon-wrapper.hidden{visibility:hidden}.jp-forms__actions-search .input-wrapper .clear-icon{cursor:pointer}.jp-forms__actions-search .input-wrapper .loader svg{margin:0}.cuoSlhSNrqf1dozY22Xb{fill:#000}.JLquNpQVlysAamuh5lJO,.lAIiifeLMmZAPlQ9n9ZR{fill:var(--jp-green-primary)}.cbOwD8Y4tFjwimmtchQI{fill:#757575}.cbOwD8Y4tFjwimmtchQI.aHOlEBGD5EA8NKRw3xTw{fill:var(--color-facebook);border-radius:50%!important}.cbOwD8Y4tFjwimmtchQI.af4Y_zItXvLAOEoSDPSv{fill:var(--color-twitter)}.cbOwD8Y4tFjwimmtchQI.f68aqF3XSD1OBvXR1get{fill:var(--color-linkedin)}.cbOwD8Y4tFjwimmtchQI.xFI0dt3UiXRlRQdqPWkx{fill:var(--color-tumblr)}.cbOwD8Y4tFjwimmtchQI.q7JEoyymveP6kF747M43{fill:var(--color-gplus)}.cbOwD8Y4tFjwimmtchQI.DKOBOTVmTLbh26gUH_73{fill:var(--color-mastodon)}.cbOwD8Y4tFjwimmtchQI.cL3m0xBYTYhIKI7lCqDB{fill:var(--color-instagram)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-editor-panel-logo{margin-left:.5em}.jp-forms__export-modal{align-items:center;background:rgba(0,0,0,.3);bottom:0;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;left:0;padding:0;position:fixed;right:0;top:0;z-index:9999}@media(min-width:601px){.jp-forms__export-modal{padding:40px 60px}}.jp-forms__export-modal-wrapper{background-color:#fff;display:flex;flex-direction:column;max-width:680px;padding:24px 48px 0;position:relative}.jp-forms__export-modal-close-button{background:transparent;border:0;cursor:pointer;height:24px;padding:3px;position:absolute;right:8px;top:8px;width:24px}.jp-forms__export-modal-header{margin-bottom:32px}.jp-forms__export-modal-header-title{font-size:24px;font-style:normal;font-weight:700;line-height:32px;margin-bottom:8px}.jp-forms__export-modal-header-subtitle{color:#000;font-size:16px;font-style:normal;font-weight:400;letter-spacing:-.02em;line-height:24px;margin-bottom:0;margin-top:8px;padding:0}.jp-forms__export-modal-content{display:flex;flex-direction:column;flex-grow:1;gap:32px;padding:0}.jp-forms__export-modal-footer{box-sizing:border-box;display:flex;justify-content:space-between;padding:48px 16px 24px}.jp-forms__export-modal-footer-column{align-items:center;display:flex}.jp-forms__export-modal-footer #jetpack-logo__icon{height:16px;width:16px}.jp-forms__export-modal-footer #jetpack-logo__icon path{fill:#000}.jp-forms__export-modal-footer .jp-forms__export-modal-footer-link{color:#23282d;font-size:12px;font-weight:600;letter-spacing:-.02em;line-height:0;padding-left:8px;text-align:left;text-decoration:none}.jp-forms__export-modal-card{border-radius:var(--jp-border-radius,4px);box-shadow:0 0 0 1px var(--jp-gray-10,#c3c4c7) inset;display:flex;flex-direction:column;isolation:isolate;padding:24px}.jp-forms__export-modal-card-body,.jp-forms__export-modal-card-header{display:flex}.jp-forms__export-modal-card-header{align-items:center;gap:16px;margin-bottom:16px}.jp-forms__export-modal-card-header-title{font-size:20px;font-style:normal;font-weight:700;line-height:30px}.jp-forms__export-modal-card-body{align-items:center;gap:32px;justify-content:space-between}.jp-forms__export-modal-card-body-description{color:#000;flex-grow:1;font-size:14px;font-style:normal;font-weight:400;letter-spacing:-.02em;line-height:24px;max-width:60%}.jp-forms__export-modal-card-body-description a{color:inherit}.jp-forms__export-modal-card-body-description-footer{color:#757575;font-size:12px;font-style:normal;font-weight:400;line-height:150%;margin-bottom:0}.jp-forms__export-modal-card-body-cta{align-self:flex-end}.jp-forms__export-modal-card-body-cta .button-primary.export-button{background:#000;border:1px solid #fff;border-radius:4px;color:#fff;font-style:normal;font-weight:400;letter-spacing:-.01em}.jp-forms__export-modal-card-beta-badge{background:#2fb41f;border-radius:2px;color:#fff;font-size:11px;font-style:normal;font-weight:600;line-height:150%;padding:4px 8px;text-align:right;text-transform:uppercase}.gridicon{fill:currentColor;display:inline-block}.gridicon.needs-offset g{transform:translate(1px,1px)}.gridicon.needs-offset-x g{transform:translate(1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.jp-forms__page-navigation{background-color:#fff;border:1px solid #dcdcde;border-radius:3px;box-sizing:border-box;display:flex;flex-direction:row;height:36px;justify-content:center;padding:0;width:fit-content}.jp-forms__page-navigation-button,.jp-forms__page-navigation-button:hover,.jp-forms__page-navigation-placeholder,.jp-forms__page-navigation-placeholder:hover{background:transparent;border:0;box-sizing:border-box;color:#101517;cursor:pointer;display:inline-flex;font-size:13px;font-weight:700;height:34px;line-height:18px;padding:8px 12px;text-align:center}.jp-forms__page-navigation-button.is-active,.jp-forms__page-navigation-button:hover.is-active,.jp-forms__page-navigation-placeholder.is-active,.jp-forms__page-navigation-placeholder:hover.is-active{background-color:#101517;color:#fff}.jp-forms__page-navigation-button:disabled,.jp-forms__page-navigation-button:hover:disabled,.jp-forms__page-navigation-placeholder:disabled,.jp-forms__page-navigation-placeholder:hover:disabled{cursor:default}.jp-forms__page-navigation-button:disabled:first-child,.jp-forms__page-navigation-button:disabled:last-child,.jp-forms__page-navigation-button:hover:disabled:first-child,.jp-forms__page-navigation-button:hover:disabled:last-child,.jp-forms__page-navigation-placeholder:disabled:first-child,.jp-forms__page-navigation-placeholder:disabled:last-child,.jp-forms__page-navigation-placeholder:hover:disabled:first-child,.jp-forms__page-navigation-placeholder:hover:disabled:last-child{color:#dcdcde}.jp-forms__page-navigation-button .gridicon,.jp-forms__page-navigation-button:hover .gridicon,.jp-forms__page-navigation-placeholder .gridicon,.jp-forms__page-navigation-placeholder:hover .gridicon{display:inline-flex}.jp-forms__page-navigation-button .gridicon.gridicons-arrow-left,.jp-forms__page-navigation-button:hover .gridicon.gridicons-arrow-left,.jp-forms__page-navigation-placeholder .gridicon.gridicons-arrow-left,.jp-forms__page-navigation-placeholder:hover .gridicon.gridicons-arrow-left{margin-right:3px}.jp-forms__page-navigation-button .gridicon.gridicons-arrow-right,.jp-forms__page-navigation-button:hover .gridicon.gridicons-arrow-right,.jp-forms__page-navigation-placeholder .gridicon.gridicons-arrow-right,.jp-forms__page-navigation-placeholder:hover .gridicon.gridicons-arrow-right{margin-left:3px}.jp-forms__table{box-sizing:border-box;display:table;margin:0;padding:0}.jp-forms__table-header,.jp-forms__table-item{display:table-row}.jp-forms__table-header:nth-child(2n),.jp-forms__table-item:nth-child(2n){background-color:#f9f9f6}.jp-forms__table-item.is-clickable{cursor:pointer}.jp-forms__table-item.is-active:not(.exit){background-color:#000;color:#fff}@keyframes jp-forms__table-pulse{0%{opacity:.2}50%{opacity:.1}to{opacity:.2}}.jp-forms__table-cell{border-bottom:1px solid #dcdcde;box-sizing:border-box;display:table-cell;font-size:var(--jp-forms-font-size-regular);height:52px;line-height:normal;margin:0;max-width:0;padding:0 16px;position:relative;text-align:left;transition:background-color .1s ease-out,opacity .1s ease-out;vertical-align:middle}@media(max-width:600px){.jp-forms__table-cell{padding:8px}}.jp-forms__table :last-child .jp-forms__table-cell{border-bottom:unset}.jp-forms__table-cell.is-select{min-width:62px;padding:0 20px}@media(max-width:480px){.jp-forms__table-cell.is-select{min-width:46px;padding:0 12px}}.jp-forms__table-cell.is-empty{align-items:center;display:flex;justify-content:center;max-width:100%}.jp-forms__table-item.is-loading .jp-forms__table-cell:before{animation:jp-forms__table-pulse 2s ease-in-out infinite;background-color:#000;border-radius:.5em;content:"";display:flex;height:1em}.jp-forms__table-cell .components-button.is-link{color:inherit;font-size:inherit}input[type=checkbox].jp-forms__table-checkbox{appearance:none;-moz-appearance:none;-webkit-appearance:none;border:0;box-shadow:none;box-sizing:border-box;cursor:pointer;font-size:var(--jp-forms-font-size-regular);height:16px;line-height:16px;margin:0;outline:0;width:16px}input[type=checkbox].jp-forms__table-checkbox:before{background:#fff;border:1px solid #949494;border-radius:2px;color:#000;content:" ";display:inline-block;font-size:var(--jp-forms-font-size-regular);font-weight:700;height:16px;margin:0;text-align:center;transition:background .1s ease-out,color .1s ease-out,border-color .1s ease-out;width:16px}input[type=checkbox].jp-forms__table-checkbox:focus:before{box-shadow:var(--jp-forms-focus-shadow)}input[type=checkbox].jp-forms__table-checkbox:checked:before{background:#000;border-color:#000;color:#fff;content:"✓"}input[type=checkbox].jp-forms__table-checkbox.is-intermediate:before,input[type=checkbox].jp-forms__table-checkbox.is-intermediate:checked:before{background:#000;border-color:#000;color:#fff;content:"-"}.jp-forms__inbox a.back-button{align-items:center;color:#2c3338;cursor:pointer;display:none;font-size:14px;font-weight:500}.jp-forms__inbox a.back-button svg{margin-right:4px}.jp-forms__inbox .button-primary.export-button:focus{box-shadow:var(--jp-forms-focus-shadow)}.jp-forms__inbox .components-dropdown-menu .components-menu-item__button{font-size:var(--jp-forms-font-size-regular)}.jp-forms__inbox span.subtitle{padding-left:0;white-space:pre}@media(min-width:1025px){.jp-forms__inbox a.back-button{display:none!important}.jp-forms__inbox span.title{display:inline-flex!important}.jp-forms__inbox span.subtitle{display:inline-flex!important;flex-wrap:wrap}}.jp-forms__inbox.is-response-view span.subtitle,.jp-forms__inbox.is-response-view span.title{display:none}.jp-forms__inbox.is-response-view a.back-button{display:inline-flex}.jp-forms__inbox.is-response-view .jp-forms__inbox-tabs .components-tab-panel__tabs{display:none}@media(min-width:1025px){.jp-forms__inbox.is-response-view .jp-forms__inbox-tabs .components-tab-panel__tabs{display:flex}}.jp-forms__inbox-tabs .components-tab-panel__tabs{background-color:#f9f9f9;margin:0;padding:16px 64px 0;position:sticky;top:var(--wp-admin--admin-bar--height);z-index:1}@media(max-width:600px){.jp-forms__inbox-tabs .components-tab-panel__tabs{top:0}}@media(max-width:660px){.jp-forms__inbox-tabs .components-tab-panel__tabs{padding:0 24px}}.jp-forms__inbox-tab-item{border-bottom:2px solid transparent;font-size:var(--jp-forms-font-size-regular);font-weight:400;height:40px;padding:8px 16px}.jp-forms__inbox-tab-item.active-tab{border-color:#000;font-weight:600}.jp-forms__inbox-tab-item-count{align-items:center;background:transparent;border:1px solid #dcdcde;border-radius:3px;box-sizing:border-box;color:#2c3338;display:inline-flex;font-size:12px;font-weight:400;height:20px;line-height:18px;margin-left:10px;padding:0 6px}.jp-forms__inbox-content{box-sizing:border-box;display:flex;flex-direction:row;gap:0;margin-top:0;padding:0 0 48px;position:relative;width:100%;z-index:0}@media(min-width:1025px){.jp-forms__inbox-content{gap:24px;padding-left:64px;padding-right:64px}}.jp-forms__inbox-content-column{align-items:center;box-sizing:border-box;flex-direction:column;min-width:0;position:relative;width:100%}.jp-forms__inbox-content-column:first-child{display:flex}.jp-forms__inbox-content-column:last-child,.jp-forms__inbox.is-response-view .jp-forms__inbox-content-column:first-child{display:none}.jp-forms__inbox.is-response-view .jp-forms__inbox-content-column:last-child{display:flex}@media(max-width:660px){.jp-forms__inbox-content-column{padding-left:24px;padding-right:24px}}@media(min-width:661px)and (max-width:1024px){.jp-forms__inbox-content-column{padding-left:64px;padding-right:64px}}@media(min-width:1025px){.jp-forms__inbox-content-column{display:flex!important;flex:3;width:auto}.jp-forms__inbox-content-column:last-child{flex:2}}.jp-forms__inbox-content-column .jp-forms__inbox-sticky-sentinel{background:transparent;height:1px;position:absolute;top:0;width:1px}.jp-forms__inbox-content-column .jp-forms__inbox-sticky-mark{border-bottom:1px solid #dcdcde;box-shadow:0 1px 5px 0 rgba(0,0,0,.3);position:sticky;top:calc(var(--wp-admin--admin-bar--height) + 144px);width:100%}.jp-forms__inbox-content-column .jp-forms__page-navigation{margin:16px 0 0}.jp-forms__inbox-list,.jp-forms__inbox-response{border:1px solid #dcdcde;border-radius:8px;box-sizing:border-box;display:flex;flex-direction:column;min-height:300px;overflow:hidden;width:100%}.jp-forms__inbox-list.jp-forms__table{display:table;min-height:unset}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item{max-height:52px;transition:max-height .2s}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.exit-active{overflow:hidden}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.exit-active,.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.exit-done{max-height:0}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.exit-active.is-loading{display:none}@media(max-width:1024px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.is-active{background-color:#fff;color:inherit}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.is-active:nth-child(2n){background-color:#f9f9f6}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.is-active .is-link{text-decoration:underline}}@media(min-width:1025px){.jp-forms__inbox-list.jp-forms__table{display:flex;min-height:calc(100vh - var(--wp-admin--admin-bar--height) - 192px)}}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell{white-space:nowrap}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-name{min-width:160px;overflow:hidden;text-overflow:ellipsis;width:45%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-date{min-width:110px;width:27.5%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source{min-width:100px;width:27.5%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source .is-link{cursor:pointer;display:inline-block;max-width:100%;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source .is-link:hover,.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.is-active .is-link{text-decoration:underline}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions{max-width:68px;min-width:68px}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown-menu__toggle{color:currentColor;padding:0}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown-menu__toggle>svg{height:32px;width:32px}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown-menu__toggle:focus{box-shadow:var(--jp-forms-focus-shadow)}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown__content{white-space:normal}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown__content .components-button.is-tertiary:hover:not(:disabled){background:transparent;color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#007cba))}@media(max-width:1280px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions{display:none}}@media(max-width:1080px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-name{width:60%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-date{width:40%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source{display:none}}@media(max-width:1024px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-name{width:45%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-date{width:27.5%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source{display:table-cell;width:27.5%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions{display:table-cell}}@media(max-width:660px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-name{width:60%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-date{width:40%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions,.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source{display:none}}@keyframes jp-forms__slide-in{0%{transform:translateY(150px)}}@keyframes jp-forms__fade-in{0%{opacity:0}35%{opacity:1}}.jp-forms__inbox-response{background-color:#fff;position:relative}@media(min-width:1025px){.jp-forms__inbox-response{height:calc(100vh - var(--wp-admin--admin-bar--height) - 192px);overflow-y:auto;position:sticky;top:calc(var(--wp-admin--admin-bar--height) + 144px)}}.jp-forms__inbox-response:before{background:linear-gradient(30deg,#eaeff5,#f2f3e3);border-bottom:1px solid #dcdcde;box-sizing:border-box;content:"";display:flex;padding-top:24px}.jp-forms__inbox-response.exit-active{display:none}@media(min-width:1025px){.jp-forms__inbox-response.enter,.jp-forms__inbox-response.enter-active{animation:jp-forms__slide-in .2s ease-out forwards,jp-forms__fade-in .2s ease-in forwards}.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.enter,.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.enter-active{animation:none}.jp-forms__inbox-response.exit,.jp-forms__inbox-response.exit-active,.jp-forms__inbox-response.exit-done{display:flex;left:0;position:absolute;top:0!important;z-index:-1}.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.exit,.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.exit-active,.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.exit-done{animation:jp-forms__slide-in .2s ease-out reverse forwards,jp-forms__fade-in .2s ease-in reverse forwards;z-index:1}}.jp-forms__inbox-response-avatar{background-color:#fff;border:3px solid #fff;border-radius:50%;box-sizing:border-box;display:none;filter:drop-shadow(0 4px 44px rgba(0,0,0,.25));height:74px;left:32px;overflow:hidden;position:absolute;top:32px;width:74px;z-index:100}.jp-forms__inbox-response-title{font-size:24px;font-weight:700;line-height:normal;margin:24px 0 0;padding:0 32px}.jp-forms__inbox-response-title.is-email,.jp-forms__inbox-response-title.is-ip{font-size:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jp-forms__inbox-response-subtitle{align-items:center;color:#646970;display:flex;flex-shrink:0;font-size:16px;font-weight:500;height:40px;line-height:40px;margin:0;overflow:hidden;padding:0 32px;position:relative;text-overflow:ellipsis;white-space:nowrap}.jp-forms__inbox-response-subtitle .components-button{background-color:#fff;display:inline-block;float:right;height:28px;margin-left:auto;padding:4px 8px;position:absolute;right:32px;top:6px;z-index:100}@media(min-width:1025px){.jp-forms__inbox-response-subtitle .components-button{display:none}.jp-forms__inbox-response-subtitle:hover{background-color:#f6f6f7}.jp-forms__inbox-response-subtitle:hover .components-button{background-color:#f6f6f7;display:inline-block}}.jp-forms__inbox-response-meta{color:#646970;display:table;flex-direction:column;font-size:12px;font-weight:400;line-height:20px;padding:12px 32px 24px;row-gap:4px}.jp-forms__inbox-response-meta-label{display:table-row}.jp-forms__inbox-response-meta-key,.jp-forms__inbox-response-meta-value{display:table-cell;white-space:nowrap}.jp-forms__inbox-response-meta-key{padding-right:8px}.jp-forms__inbox-response-meta-value{max-width:0;overflow:hidden;text-overflow:ellipsis;width:80%}.jp-forms__inbox-response-meta-value .is-link{color:inherit;text-decoration:none}.jp-forms__inbox-response-meta-value .is-link:hover{text-decoration:underline}.jp-forms__inbox-response-separator{border-bottom:1px solid var(--jp-forms-border-color);width:100%}.jp-forms__inbox-response-data{display:flex;flex-direction:column;font-size:var(--jp-forms-font-size-regular);line-height:24px;padding:24px 32px;row-gap:24px}.jp-forms__inbox-response-data-label{font-weight:600}.jp-forms__inbox-response-data-value{white-space:pre-wrap}.jp-forms__inbox-actions{background:#fff;display:flex;flex-direction:row;gap:var(--jp-forms-spacing-base);padding:32px 64px 16px;position:sticky;top:calc(var(--wp-admin--admin-bar--height) + 56px);z-index:1}@media(max-width:600px){.jp-forms__inbox-actions{top:56px}}@media(max-width:660px){.jp-forms__inbox-actions{padding:calc(var(--jp-forms-spacing-base)*2) 24px}}.jp-forms__inbox.is-response-view .jp-forms__inbox-actions{display:none}@media(min-width:1025px){.jp-forms__inbox.is-response-view .jp-forms__inbox-actions{display:flex}}@media(max-width:782px){.jp-forms__inbox-actions .components-dropdown{display:none}}.jp-forms__inbox-actions .components-button{border-radius:var(--jp-forms-border-radius);font-size:var(--jp-forms-font-size-regular);font-weight:400;height:var(--jp-forms-input-wrapper-height);letter-spacing:-.02em;padding:var(--jp-forms-spacing-base) calc(var(--jp-forms-spacing-base)*1.5)}.jp-forms__inbox-actions .components-button.is-secondary{background:var(--jp-forms-white);box-shadow:inset 0 0 0 1px var(--jp-forms-border-color);color:var(--jp-forms-black)}.jp-forms__inbox-actions .components-button.is-secondary.is-opened,.jp-forms__inbox-actions .components-button.is-secondary:hover:not(:disabled){background:var(--jp-forms-color-darker-10);color:var(--jp-forms-white)}.jp-forms__inbox-actions .jp-forms__check-for-spam svg{margin:0 10px 0 0}.jp-forms__inbox-actions .button-primary.export-button{background-color:var(--wp-admin-theme-color,#000);border-color:var(--wp-admin-theme-color,#000);margin-left:auto}@media(max-width:782px){.jp-forms__inbox-actions .button-primary.export-button{display:none}}.jp-forms__details{box-shadow:inset 0 -1px 0 #dcdcde;padding:16px 0}.jp-forms__details[open] .jp-forms__details-icon{transform:rotate(90deg)}.jp-forms__details-summary{align-items:center;cursor:pointer;display:flex;font-size:24px;font-weight:500;line-height:32px;list-style:none}.jp-forms__details-summary::-webkit-details-marker,.jp-forms__details-summary::marker{display:none}@media(max-width:600px){.jp-forms__details-summary{font-size:16px;line-height:24px}}.jp-forms__details-icon{margin-right:16px;transition:all .3s ease}.jp-forms__details-content{font-size:16px;font-weight:400;line-height:24px;margin-left:48px;margin-top:16px}.jp-forms__landing{--content-max-width:1280px;--section-spacing-horizontal:76px;--section-spacing-vertical:84px;color:var(--jp-forms-black)}@media(max-width:600px){.jp-forms__landing{--section-spacing-horizontal:32px;--section-spacing-vertical:80px}}.jp-forms__landing .jp-forms__logo-wrapper{margin:0 auto;max-width:100%;width:calc(var(--content-max-width) + var(--section-spacing-horizontal)*2)}.jp-forms__landing .jp-forms__logo{margin:40px var(--section-spacing-horizontal)}.jp-forms__landing h1{font-size:36px;font-weight:700;line-height:40px;margin:0}.jp-forms__landing h4{font-size:24px;font-weight:500;line-height:32px;margin:0}.jp-forms__landing button.button.button-primary{border:none;font-size:16px;font-weight:600;line-height:24px;padding:8px 32px}.jp-forms__landing button.button.button-primary,.jp-forms__landing button.button.button-primary:hover{background-color:var(--jp-forms-black);color:var(--jp-forms-white)}.jp-forms__landing .align-center{text-align:center}.jp-forms__landing .bg-white{background-color:var(--jp-forms-white)}.jp-forms__landing .bg-white-off{background-color:var(--jp-forms-white-off)}.jp-forms__landing .mb-2{margin-bottom:8px}.jp-forms__landing .mb-4{margin-bottom:16px}.jp-forms__landing .mb-6{margin-bottom:24px}.jp-forms__landing .mb-8{margin-bottom:32px}.jp-forms__landing .mb-10{margin-bottom:40px}.jp-forms__landing .mb-12{margin-bottom:48px}.jp-forms__landing-section{overflow:hidden;padding:var(--section-spacing-vertical) var(--section-spacing-horizontal)}.jp-forms__landing-content{margin:0 auto;max-width:var(--content-max-width)}@media(max-width:1280px){.jp-forms__landing-content .jp-forms__wp-sites{margin-left:auto;margin-right:auto;max-width:600px}}.jp-forms__teaser-image{border-radius:8px 8px 0 0;display:flex;filter:drop-shadow(0 4px 24px rgba(0,0,0,.2509803922));margin:0 auto calc(var(--section-spacing-vertical)*-1);max-width:100%}.jp-forms__patterns-grid{display:grid;gap:28px 40px;grid-template-columns:repeat(3,minmax(300px,350px));justify-content:space-between;margin-left:auto;margin-right:auto}@media(max-width:1280px){.jp-forms__patterns-grid{grid-template-columns:repeat(2,minmax(300px,400px))}}@media(max-width:860px){.jp-forms__patterns-grid{box-sizing:border-box;grid-auto-columns:350px;grid-auto-flow:column;grid-template-columns:repeat(auto-fill,350px);margin-left:calc(var(--section-spacing-horizontal)*-1);overflow-x:auto;padding:0 var(--section-spacing-horizontal);width:calc(100% + var(--section-spacing-horizontal) + var(--section-spacing-horizontal))}}@media(max-width:480px){.jp-forms__patterns-grid{grid-auto-columns:calc(100vw - 108px);grid-template-columns:repeat(auto-fill,calc(100vw - 108px))}}.jp-forms__pattern-item{align-items:center;display:flex;flex-direction:column;gap:8px}.jp-forms__pattern-item img{align-items:center;aspect-ratio:3/2;background:#d3d3d3;display:flex;justify-content:center;width:100%}.jp-forms__pattern-item span{font-size:14px;font-weight:700;line-height:21px}.jp-forms__features{display:grid;gap:24px;grid-template-columns:repeat(12,1fr)}@media(max-width:860px){.jp-forms__features{box-sizing:border-box;grid-auto-columns:350px;grid-auto-flow:column;grid-template-columns:repeat(auto-fill,350px);margin-left:calc(var(--section-spacing-horizontal)*-1);overflow-x:auto;padding:0 var(--section-spacing-horizontal);width:calc(100% + var(--section-spacing-horizontal) + var(--section-spacing-horizontal))}}@media(max-width:480px){.jp-forms__features{grid-auto-columns:calc(100vw - 108px);grid-template-columns:repeat(auto-fill,calc(100vw - 108px))}}.jp-forms__feature{background-color:var(--jp-forms-white);border-radius:8px;display:flex;flex-direction:column;justify-content:space-between;min-height:100px;overflow:hidden;padding:24px 32px;position:relative}.jp-forms__feature.feature-connect{grid-column:span 5/span 5}.jp-forms__feature.feature-connect .jp-forms__feature-image-wrapper{align-items:center;display:flex;gap:24px;margin-bottom:8px}@media(max-width:1440px){.jp-forms__feature.feature-connect h1{font-size:32px}}.jp-forms__feature.feature-data{grid-column:span 4/span 4}.jp-forms__feature.feature-data h4{max-width:220px}.jp-forms__feature.feature-data svg{bottom:0;position:absolute;right:0}.jp-forms__feature.feature-akismet,.jp-forms__feature.feature-export{grid-column:span 3/span 3}.jp-forms__feature.feature-export svg{margin-left:-32px}.jp-forms__feature.feature-notifications{grid-column:span 4/span 4}.jp-forms__feature.feature-notifications h4{max-width:260px}.jp-forms__feature.feature-dependencies{grid-column:span 3/span 3;padding:24px 16px;text-align:center}.jp-forms__feature.feature-dependencies h1{align-self:center;overflow:hidden}.jp-forms__feature.feature-dependencies h4{margin:0 auto;max-width:200px}.jp-forms__feature.feature-dependencies span{opacity:.3}.jp-forms__feature.feature-validation{grid-column:span 2/span 2}.jp-forms__feature.feature-validation .jp-forms__feature-image-wrapper{white-space:nowrap}.jp-forms__feature.feature-validation h4{margin:0 auto;max-width:200px}.jp-forms__feature h4{font-weight:700}@media(max-width:1460px){.jp-forms__feature.feature-dependencies,.jp-forms__feature.feature-export{grid-column:span 4/span 4}.jp-forms__feature.feature-validation{display:none}}@media(max-width:1280px){.jp-forms__feature{padding:24px}.jp-forms__feature.feature-connect,.jp-forms__feature.feature-data{grid-column:span 6/span 6}.jp-forms__feature.feature-data h4{font-size:32px;max-width:300px}.jp-forms__feature.feature-export{grid-column:span 4/span 4}.jp-forms__feature.feature-notifications{grid-column:span 5/span 5}.jp-forms__feature.feature-dependencies{display:none}.jp-forms__feature.feature-validation{grid-column:span 4/span 4}}@media(max-width:860px){.jp-forms__feature{grid-column:auto!important}.jp-forms__feature h1,.jp-forms__feature h4{font-size:28px!important;font-weight:700;line-height:32px}.jp-forms__feature.feature-validation .jp-forms__feature-image-wrapper{margin-bottom:0}.jp-forms__feature.feature-dependencies,.jp-forms__feature.feature-validation{display:flex}}:root{--jp-forms-font-size-regular:14px;--jp-forms-border-color:#dcdcde;--jp-forms-border-radius:var( --jp-border-radius,4px );--jp-forms-white:var( --jp-white,#fff );--jp-forms-white-off:var( --jp-white-off,#f9f9f6 );--jp-forms-input-wrapper-height:var( --jp-input-wrapper-height,40px );--jp-forms-spacing-base:var( --spacing-base,8px );--jp-forms-black:var( --jp-black,#000 );--jp-forms-color-darker-10:var( --jp-black-80,#2c3338 );--jp-forms-color-darker-20:var( --jp-black-80,#2c3338 );--jp-forms-focus-shadow:0 0 0 1px var( --jp-forms-white ),0 0 0 3px var( --jp-forms-color-darker-10 );--wp-admin-theme-color:var( --jp-forms-black );--wp-admin-theme-color--rgb:0,0,0;--wp-admin-theme-color-darker-10:var( --jp-forms-color-darker-10 );--wp-admin-theme-color-darker-10--rgb:44,51,56;--wp-admin-theme-color-darker-20:var( --jp-forms-color-darker-10 );--wp-admin-theme-color-darker-20--rgb:44,51,56}body.admin_page_jetpack-forms #wpbody-content,body.toplevel_page_jetpack-forms #wpbody-content{padding-bottom:0}body.admin_page_jetpack-forms #wpfooter,body.toplevel_page_jetpack-forms #wpfooter{display:none} \ No newline at end of file +body.toplevel_page_jetpack-forms{background-color:#fff}body.toplevel_page_jetpack-forms #wpcontent{padding-left:0}.jp-forms__layout{box-sizing:border-box;display:flex;flex-direction:column;margin:0;padding:0;width:100%}.jp-forms__layout .jp-forms__logo{margin:40px 64px}@media(max-width:660px){.jp-forms__layout .jp-forms__logo{margin:40px 24px}}.jp-forms__layout-header{background-color:#f9f9f9;box-sizing:border-box;margin:0;padding:48px 64px 16px;width:100%}@media(max-width:660px){.jp-forms__layout-header{padding:48px 24px 32px}}.jp-forms__layout-title{display:inline-flex;font-size:36px;font-weight:700;height:40px;line-height:40px;margin:0}.jp-forms__layout-footer.jp-dashboard-footer{box-sizing:border-box;margin:60px 0;max-width:100%;padding-left:64px;padding-right:64px}.jp-dashboard-footer{align-items:center;color:var(--jp-black);display:flex;flex-wrap:wrap;font-size:var(--font-body-extra-small);line-height:1.333;max-width:1128px;width:100%}.jp-dashboard-footer a{text-decoration:none}.jp-dashboard-footer a:any-link,.jp-dashboard-footer a[role=button]{color:inherit}.jp-dashboard-footer a:hover{text-decoration:underline;text-decoration-thickness:1.5px}.jp-dashboard-footer a:focus{border-radius:2px;box-shadow:none;outline:1.5px solid currentColor;outline-offset:3px}.jp-dashboard-footer.is-sm>ul{gap:.125rem}.jp-dashboard-footer.is-md,.jp-dashboard-footer.is-sm>ul{align-items:flex-start;flex-direction:column}.jp-dashboard-footer>ul{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;list-style:none;margin:0;padding:0;width:100%}.jp-dashboard-footer>ul>li{margin-bottom:0}.jp-dashboard-footer>ul>li>a{align-items:center;display:flex;gap:.25rem;min-height:44px}.jp-dashboard-footer__jp-item{font-weight:600;padding-inline-end:1rem}.jp-dashboard-footer.is-sm .jp-dashboard-footer__jp-item{padding-bottom:1rem}.jp-dashboard-footer.is-lg .jp-dashboard-footer__a8c-item{margin-inline-start:auto}.jp-dashboard-footer.is-sm .jp-dashboard-footer__a8c-item{padding-top:1rem}.jp-dashboard-footer__a8c-item>a,.jp-dashboard-footer__jp-item>a{text-decoration:none}.jp-forms__actions-search{display:flex;flex-direction:row}@media(max-width:600px){.jp-forms__actions-search{flex:1}}.jp-forms__actions-search .input-wrapper{align-items:center;background-color:var(--jp-forms-white);border:1px solid var(--jp-forms-border-color);border-radius:var(--jp-forms-border-radius);box-sizing:border-box;display:flex;font-size:var(--font-body-small);height:var(--jp-forms-input-wrapper-height);min-height:var(--jp-forms-input-wrapper-height);padding:var(--jp-forms-spacing-base);width:350px}@media(min-width:783px)and (max-width:960px){.jp-forms__actions-search .input-wrapper{width:300px}}@media(max-width:600px){.jp-forms__actions-search .input-wrapper{width:100%}}.jp-forms__actions-search .input-wrapper:focus-within{box-shadow:0 0 0 1px var(--jp-black) inset}.jp-forms__actions-search .input-wrapper.disabled{background-color:var(--jp-gray);border-color:var(--jp-gray-10);color:var(--jp-gray-20)}.jp-forms__actions-search .input-wrapper .input{background-color:transparent;border:0;box-shadow:none;font-family:unset;font-size:var(--jp-forms-font-size-regular);outline:none;padding:0;width:100%}.jp-forms__actions-search .input-wrapper .input:focus{box-shadow:none;outline:none}.jp-forms__actions-search .input-wrapper .input.with-icon{margin-left:var(--jp-forms-spacing-base)}.jp-forms__actions-search .input-wrapper .icon-wrapper{align-items:center;display:flex;flex-shrink:0;height:24px;justify-content:center;width:24px}.jp-forms__actions-search .input-wrapper .icon-wrapper.hidden{visibility:hidden}.jp-forms__actions-search .input-wrapper .clear-icon{cursor:pointer}.jp-forms__actions-search .input-wrapper .loader svg{margin:0}.cuoSlhSNrqf1dozY22Xb{fill:#000}.JLquNpQVlysAamuh5lJO,.lAIiifeLMmZAPlQ9n9ZR{fill:var(--jp-green-primary)}.cbOwD8Y4tFjwimmtchQI{fill:#757575}.cbOwD8Y4tFjwimmtchQI.aHOlEBGD5EA8NKRw3xTw{fill:var(--color-facebook);border-radius:50%!important}.cbOwD8Y4tFjwimmtchQI.af4Y_zItXvLAOEoSDPSv{fill:var(--color-twitter)}.cbOwD8Y4tFjwimmtchQI.f68aqF3XSD1OBvXR1get{fill:var(--color-linkedin)}.cbOwD8Y4tFjwimmtchQI.xFI0dt3UiXRlRQdqPWkx{fill:var(--color-tumblr)}.cbOwD8Y4tFjwimmtchQI.q7JEoyymveP6kF747M43{fill:var(--color-gplus)}.cbOwD8Y4tFjwimmtchQI.DKOBOTVmTLbh26gUH_73{fill:var(--color-mastodon)}.cbOwD8Y4tFjwimmtchQI.cL3m0xBYTYhIKI7lCqDB{fill:var(--color-instagram)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jp-forms__export-modal{align-items:center;background:rgba(0,0,0,.3);bottom:0;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;left:0;padding:0;position:fixed;right:0;top:0;z-index:9999}@media(min-width:601px){.jp-forms__export-modal{padding:40px 60px}}.jp-forms__export-modal-wrapper{background-color:#fff;display:flex;flex-direction:column;max-width:680px;padding:24px 48px 0;position:relative}.jp-forms__export-modal-close-button{background:transparent;border:0;cursor:pointer;height:24px;padding:3px;position:absolute;right:8px;top:8px;width:24px}.jp-forms__export-modal-header{margin-bottom:32px}.jp-forms__export-modal-header-title{font-size:24px;font-style:normal;font-weight:700;line-height:32px;margin-bottom:8px}.jp-forms__export-modal-header-subtitle{color:#000;font-size:16px;font-style:normal;font-weight:400;letter-spacing:-.02em;line-height:24px;margin-bottom:0;margin-top:8px;padding:0}.jp-forms__export-modal-content{display:flex;flex-direction:column;flex-grow:1;gap:32px;padding:0}.jp-forms__export-modal-footer{box-sizing:border-box;display:flex;justify-content:space-between;padding:48px 16px 24px}.jp-forms__export-modal-footer-column{align-items:center;display:flex}.jp-forms__export-modal-footer #jetpack-logo__icon{height:16px;width:16px}.jp-forms__export-modal-footer #jetpack-logo__icon path{fill:#000}.jp-forms__export-modal-footer .jp-forms__export-modal-footer-link{color:#23282d;font-size:12px;font-weight:600;letter-spacing:-.02em;line-height:0;padding-left:8px;text-align:left;text-decoration:none}.jp-forms__export-modal-card{border-radius:var(--jp-border-radius,4px);box-shadow:0 0 0 1px var(--jp-gray-10,#c3c4c7) inset;display:flex;flex-direction:column;isolation:isolate;padding:24px}.jp-forms__export-modal-card-body,.jp-forms__export-modal-card-header{display:flex}.jp-forms__export-modal-card-header{align-items:center;gap:16px;margin-bottom:16px}.jp-forms__export-modal-card-header-title{font-size:20px;font-style:normal;font-weight:700;line-height:30px}.jp-forms__export-modal-card-body{align-items:center;gap:32px;justify-content:space-between}.jp-forms__export-modal-card-body-description{color:#000;flex-grow:1;font-size:14px;font-style:normal;font-weight:400;letter-spacing:-.02em;line-height:24px;max-width:60%}.jp-forms__export-modal-card-body-description a{color:inherit}.jp-forms__export-modal-card-body-description-footer{color:#757575;font-size:12px;font-style:normal;font-weight:400;line-height:150%;margin-bottom:0}.jp-forms__export-modal-card-body-cta{align-self:flex-end}.jp-forms__export-modal-card-body-cta .button-primary.export-button{background:#000;border:1px solid #fff;border-radius:4px;color:#fff;font-style:normal;font-weight:400;letter-spacing:-.01em}.jp-forms__export-modal-card-beta-badge{background:#2fb41f;border-radius:2px;color:#fff;font-size:11px;font-style:normal;font-weight:600;line-height:150%;padding:4px 8px;text-align:right;text-transform:uppercase}.gridicon{fill:currentColor;display:inline-block}.gridicon.needs-offset g{transform:translate(1px,1px)}.gridicon.needs-offset-x g{transform:translate(1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.jp-forms__page-navigation{background-color:#fff;border:1px solid #dcdcde;border-radius:3px;box-sizing:border-box;display:flex;flex-direction:row;height:36px;justify-content:center;padding:0;width:fit-content}.jp-forms__page-navigation-button,.jp-forms__page-navigation-button:hover,.jp-forms__page-navigation-placeholder,.jp-forms__page-navigation-placeholder:hover{background:transparent;border:0;box-sizing:border-box;color:#101517;cursor:pointer;display:inline-flex;font-size:13px;font-weight:700;height:34px;line-height:18px;padding:8px 12px;text-align:center}.jp-forms__page-navigation-button.is-active,.jp-forms__page-navigation-button:hover.is-active,.jp-forms__page-navigation-placeholder.is-active,.jp-forms__page-navigation-placeholder:hover.is-active{background-color:#101517;color:#fff}.jp-forms__page-navigation-button:disabled,.jp-forms__page-navigation-button:hover:disabled,.jp-forms__page-navigation-placeholder:disabled,.jp-forms__page-navigation-placeholder:hover:disabled{cursor:default}.jp-forms__page-navigation-button:disabled:first-child,.jp-forms__page-navigation-button:disabled:last-child,.jp-forms__page-navigation-button:hover:disabled:first-child,.jp-forms__page-navigation-button:hover:disabled:last-child,.jp-forms__page-navigation-placeholder:disabled:first-child,.jp-forms__page-navigation-placeholder:disabled:last-child,.jp-forms__page-navigation-placeholder:hover:disabled:first-child,.jp-forms__page-navigation-placeholder:hover:disabled:last-child{color:#dcdcde}.jp-forms__page-navigation-button .gridicon,.jp-forms__page-navigation-button:hover .gridicon,.jp-forms__page-navigation-placeholder .gridicon,.jp-forms__page-navigation-placeholder:hover .gridicon{display:inline-flex}.jp-forms__page-navigation-button .gridicon.gridicons-arrow-left,.jp-forms__page-navigation-button:hover .gridicon.gridicons-arrow-left,.jp-forms__page-navigation-placeholder .gridicon.gridicons-arrow-left,.jp-forms__page-navigation-placeholder:hover .gridicon.gridicons-arrow-left{margin-right:3px}.jp-forms__page-navigation-button .gridicon.gridicons-arrow-right,.jp-forms__page-navigation-button:hover .gridicon.gridicons-arrow-right,.jp-forms__page-navigation-placeholder .gridicon.gridicons-arrow-right,.jp-forms__page-navigation-placeholder:hover .gridicon.gridicons-arrow-right{margin-left:3px}.jp-forms__table{box-sizing:border-box;display:table;margin:0;padding:0}.jp-forms__table-header,.jp-forms__table-item{display:table-row}.jp-forms__table-header:nth-child(2n),.jp-forms__table-item:nth-child(2n){background-color:#f9f9f6}.jp-forms__table-item.is-clickable{cursor:pointer}.jp-forms__table-item.is-active:not(.exit){background-color:#000;color:#fff}@keyframes jp-forms__table-pulse{0%{opacity:.2}50%{opacity:.1}to{opacity:.2}}.jp-forms__table-cell{border-bottom:1px solid #dcdcde;box-sizing:border-box;display:table-cell;font-size:var(--jp-forms-font-size-regular);height:52px;line-height:normal;margin:0;max-width:0;padding:0 16px;position:relative;text-align:left;transition:background-color .1s ease-out,opacity .1s ease-out;vertical-align:middle}@media(max-width:600px){.jp-forms__table-cell{padding:8px}}.jp-forms__table :last-child .jp-forms__table-cell{border-bottom:unset}.jp-forms__table-cell.is-select{min-width:62px;padding:0 20px}@media(max-width:480px){.jp-forms__table-cell.is-select{min-width:46px;padding:0 12px}}.jp-forms__table-cell.is-empty{align-items:center;display:flex;justify-content:center;max-width:100%}.jp-forms__table-item.is-loading .jp-forms__table-cell:before{animation:jp-forms__table-pulse 2s ease-in-out infinite;background-color:#000;border-radius:.5em;content:"";display:flex;height:1em}.jp-forms__table-cell .components-button.is-link{color:inherit;font-size:inherit}input[type=checkbox].jp-forms__table-checkbox{appearance:none;-moz-appearance:none;-webkit-appearance:none;border:0;box-shadow:none;box-sizing:border-box;cursor:pointer;font-size:var(--jp-forms-font-size-regular);height:16px;line-height:16px;margin:0;outline:0;width:16px}input[type=checkbox].jp-forms__table-checkbox:before{background:#fff;border:1px solid #949494;border-radius:2px;color:#000;content:" ";display:inline-block;font-size:var(--jp-forms-font-size-regular);font-weight:700;height:16px;margin:0;text-align:center;transition:background .1s ease-out,color .1s ease-out,border-color .1s ease-out;width:16px}input[type=checkbox].jp-forms__table-checkbox:checked:before{background:#000;border-color:#000;color:#fff;content:"✓"}input[type=checkbox].jp-forms__table-checkbox.is-intermediate:before,input[type=checkbox].jp-forms__table-checkbox.is-intermediate:checked:before{background:#000;border-color:#000;color:#fff;content:"-"}.jp-forms__inbox a.back-button{align-items:center;color:#2c3338;cursor:pointer;display:none;font-size:14px;font-weight:500}.jp-forms__inbox a.back-button svg{margin-right:4px}.jp-forms__inbox .components-dropdown-menu .components-menu-item__button{font-size:var(--jp-forms-font-size-regular)}.jp-forms__inbox span.subtitle{padding-left:0;white-space:pre}@media(min-width:1025px){.jp-forms__inbox a.back-button{display:none!important}.jp-forms__inbox span.title{display:inline-flex!important}.jp-forms__inbox span.subtitle{display:inline-flex!important;flex-wrap:wrap}}.jp-forms__inbox.is-response-view span.subtitle,.jp-forms__inbox.is-response-view span.title{display:none}.jp-forms__inbox.is-response-view a.back-button{display:inline-flex}.jp-forms__inbox.is-response-view .jp-forms__inbox-tabs .components-tab-panel__tabs{display:none}@media(min-width:1025px){.jp-forms__inbox.is-response-view .jp-forms__inbox-tabs .components-tab-panel__tabs{display:flex}}.jp-forms__inbox-tabs .components-tab-panel__tabs{background-color:#f9f9f9;margin:0;padding:16px 64px 0;position:sticky;top:var(--wp-admin--admin-bar--height);z-index:1}@media(max-width:600px){.jp-forms__inbox-tabs .components-tab-panel__tabs{top:0}}@media(max-width:660px){.jp-forms__inbox-tabs .components-tab-panel__tabs{padding:0 24px}}.jp-forms__inbox-tab-item{border-bottom:2px solid transparent;font-size:var(--jp-forms-font-size-regular);font-weight:400;height:40px;padding:8px 16px}.jp-forms__inbox-tab-item.active-tab{border-color:#000;font-weight:600}.jp-forms__inbox-tab-item-count{align-items:center;background:transparent;border:1px solid #dcdcde;border-radius:3px;box-sizing:border-box;color:#2c3338;display:inline-flex;font-size:12px;font-weight:400;height:20px;line-height:18px;margin-left:10px;padding:0 6px}.jp-forms__inbox-content{box-sizing:border-box;display:flex;flex-direction:row;gap:0;margin-top:0;padding:0 0 48px;position:relative;width:100%;z-index:0}@media(min-width:1025px){.jp-forms__inbox-content{gap:24px;padding-left:64px;padding-right:64px}}.jp-forms__inbox-content-column{align-items:center;box-sizing:border-box;flex-direction:column;min-width:0;position:relative;width:100%}.jp-forms__inbox-content-column:first-child{display:flex}.jp-forms__inbox-content-column:last-child,.jp-forms__inbox.is-response-view .jp-forms__inbox-content-column:first-child{display:none}.jp-forms__inbox.is-response-view .jp-forms__inbox-content-column:last-child{display:flex}@media(max-width:660px){.jp-forms__inbox-content-column{padding-left:24px;padding-right:24px}}@media(min-width:661px)and (max-width:1024px){.jp-forms__inbox-content-column{padding-left:64px;padding-right:64px}}@media(min-width:1025px){.jp-forms__inbox-content-column{display:flex!important;flex:3;width:auto}.jp-forms__inbox-content-column:last-child{flex:2}}.jp-forms__inbox-content-column .jp-forms__inbox-sticky-sentinel{background:transparent;height:1px;position:absolute;top:0;width:1px}.jp-forms__inbox-content-column .jp-forms__inbox-sticky-mark{border-bottom:1px solid #dcdcde;box-shadow:0 1px 5px 0 rgba(0,0,0,.3);position:sticky;top:calc(var(--wp-admin--admin-bar--height) + 144px);width:100%}.jp-forms__inbox-content-column .jp-forms__page-navigation{margin:16px 0 0}.jp-forms__inbox-list,.jp-forms__inbox-response{border:1px solid #dcdcde;border-radius:8px;box-sizing:border-box;display:flex;flex-direction:column;min-height:300px;overflow:hidden;width:100%}.jp-forms__inbox-list.jp-forms__table{display:table;min-height:unset}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item{max-height:52px;transition:max-height .2s}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.exit-active{overflow:hidden}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.exit-active,.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.exit-done{max-height:0}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.exit-active.is-loading{display:none}@media(max-width:1024px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.is-active{background-color:#fff;color:inherit}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.is-active:nth-child(2n){background-color:#f9f9f6}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.is-active .is-link{text-decoration:underline}}@media(min-width:1025px){.jp-forms__inbox-list.jp-forms__table{display:flex;min-height:calc(100vh - var(--wp-admin--admin-bar--height) - 192px)}}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell{white-space:nowrap}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-name{min-width:160px;overflow:hidden;text-overflow:ellipsis;width:45%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-date{min-width:110px;width:27.5%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source{min-width:100px;width:27.5%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source .is-link{cursor:pointer;display:inline-block;max-width:100%;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source .is-link:hover,.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.is-active .is-link{text-decoration:underline}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions{max-width:68px;min-width:68px}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown-menu__toggle{color:currentColor;padding:0}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown-menu__toggle>svg{height:32px;width:32px}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown__content{white-space:normal}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown__content .components-button.is-tertiary:hover:not(:disabled){background:transparent;color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#007cba))}@media(max-width:1280px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions{display:none}}@media(max-width:1080px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-name{width:60%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-date{width:40%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source{display:none}}@media(max-width:1024px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-name{width:45%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-date{width:27.5%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source{display:table-cell;width:27.5%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions{display:table-cell}}@media(max-width:660px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-name{width:60%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-date{width:40%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions,.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source{display:none}}@keyframes jp-forms__slide-in{0%{transform:translateY(150px)}}@keyframes jp-forms__fade-in{0%{opacity:0}35%{opacity:1}}.jp-forms__inbox-response{background-color:#fff;position:relative}@media(min-width:1025px){.jp-forms__inbox-response{height:calc(100vh - var(--wp-admin--admin-bar--height) - 192px);overflow-y:auto;position:sticky;top:calc(var(--wp-admin--admin-bar--height) + 144px)}}.jp-forms__inbox-response:before{background:linear-gradient(30deg,#eaeff5,#f2f3e3);border-bottom:1px solid #dcdcde;box-sizing:border-box;content:"";display:flex;padding-top:24px}.jp-forms__inbox-response.exit-active{display:none}@media(min-width:1025px){.jp-forms__inbox-response.enter,.jp-forms__inbox-response.enter-active{animation:jp-forms__slide-in .2s ease-out forwards,jp-forms__fade-in .2s ease-in forwards}.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.enter,.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.enter-active{animation:none}.jp-forms__inbox-response.exit,.jp-forms__inbox-response.exit-active,.jp-forms__inbox-response.exit-done{display:flex;left:0;position:absolute;top:0!important;z-index:-1}.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.exit,.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.exit-active,.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.exit-done{animation:jp-forms__slide-in .2s ease-out reverse forwards,jp-forms__fade-in .2s ease-in reverse forwards;z-index:1}}.jp-forms__inbox-response-avatar{background-color:#fff;border:3px solid #fff;border-radius:50%;box-sizing:border-box;display:none;filter:drop-shadow(0 4px 44px rgba(0,0,0,.25));height:74px;left:32px;overflow:hidden;position:absolute;top:32px;width:74px;z-index:100}.jp-forms__inbox-response-title{font-size:24px;font-weight:700;line-height:normal;margin:24px 0 0;padding:0 32px}.jp-forms__inbox-response-title.is-email,.jp-forms__inbox-response-title.is-ip{font-size:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jp-forms__inbox-response-subtitle{align-items:center;color:#646970;display:flex;flex-shrink:0;font-size:16px;font-weight:500;height:40px;line-height:40px;margin:0;overflow:hidden;padding:0 32px;position:relative;text-overflow:ellipsis;white-space:nowrap}.jp-forms__inbox-response-subtitle .components-button{background-color:#fff;display:inline-block;float:right;height:28px;margin-left:auto;padding:4px 8px;position:absolute;right:32px;top:6px;z-index:100}@media(min-width:1025px){.jp-forms__inbox-response-subtitle .components-button{display:none}.jp-forms__inbox-response-subtitle:hover{background-color:#f6f6f7}.jp-forms__inbox-response-subtitle:hover .components-button{background-color:#f6f6f7;display:inline-block}}.jp-forms__inbox-response-meta{color:#646970;display:table;flex-direction:column;font-size:12px;font-weight:400;line-height:20px;padding:12px 32px 24px;row-gap:4px}.jp-forms__inbox-response-meta-label{display:table-row}.jp-forms__inbox-response-meta-key,.jp-forms__inbox-response-meta-value{display:table-cell;white-space:nowrap}.jp-forms__inbox-response-meta-key{padding-right:8px}.jp-forms__inbox-response-meta-value{max-width:0;overflow:hidden;text-overflow:ellipsis;width:80%}.jp-forms__inbox-response-meta-value .is-link{color:inherit;text-decoration:none}.jp-forms__inbox-response-meta-value .is-link:hover{text-decoration:underline}.jp-forms__inbox-response-separator{border-bottom:1px solid var(--jp-forms-border-color);width:100%}.jp-forms__inbox-response-data{display:flex;flex-direction:column;font-size:var(--jp-forms-font-size-regular);line-height:24px;padding:24px 32px;row-gap:24px}.jp-forms__inbox-response-data-label{font-weight:600}.jp-forms__inbox-response-data-value{white-space:pre-wrap}.jp-forms__inbox-actions{background:#fff;display:flex;flex-direction:row;gap:var(--jp-forms-spacing-base);padding:32px 64px 16px;position:sticky;top:calc(var(--wp-admin--admin-bar--height) + 56px);z-index:1}@media(max-width:600px){.jp-forms__inbox-actions{top:56px}}@media(max-width:660px){.jp-forms__inbox-actions{padding:calc(var(--jp-forms-spacing-base)*2) 24px}}.jp-forms__inbox.is-response-view .jp-forms__inbox-actions{display:none}@media(min-width:1025px){.jp-forms__inbox.is-response-view .jp-forms__inbox-actions{display:flex}}@media(max-width:782px){.jp-forms__inbox-actions .components-dropdown{display:none}}.jp-forms__inbox-actions .components-button{border-radius:var(--jp-forms-border-radius);font-size:var(--jp-forms-font-size-regular);font-weight:400;height:var(--jp-forms-input-wrapper-height);letter-spacing:-.02em;padding:var(--jp-forms-spacing-base) calc(var(--jp-forms-spacing-base)*1.5)}.jp-forms__inbox-actions .components-button.is-secondary{background:var(--jp-forms-white);box-shadow:inset 0 0 0 1px var(--jp-forms-border-color);color:var(--jp-forms-black)}.jp-forms__inbox-actions .components-button.is-secondary.is-opened,.jp-forms__inbox-actions .components-button.is-secondary:hover:not(:disabled){background:var(--jp-forms-color-darker-10);color:var(--jp-forms-white)}.jp-forms__inbox-actions .jp-forms__check-for-spam svg{margin:0 10px 0 0}.jp-forms__inbox-actions .button-primary.export-button{background-color:var(--wp-admin-theme-color,#000);border-color:var(--wp-admin-theme-color,#000);margin-left:auto}@media(max-width:782px){.jp-forms__inbox-actions .button-primary.export-button{display:none}}.jp-forms__details{box-shadow:inset 0 -1px 0 #dcdcde;padding:16px 0}.jp-forms__details[open] .jp-forms__details-icon{transform:rotate(90deg)}.jp-forms__details-summary{align-items:center;cursor:pointer;display:flex;font-size:24px;font-weight:500;line-height:32px;list-style:none}.jp-forms__details-summary::-webkit-details-marker,.jp-forms__details-summary::marker{display:none}@media(max-width:600px){.jp-forms__details-summary{font-size:16px;line-height:24px}}.jp-forms__details-icon{margin-right:16px;transition:all .3s ease}.jp-forms__details-content{font-size:16px;font-weight:400;line-height:24px;margin-left:48px;margin-top:16px}.jp-forms__landing{--content-max-width:1280px;--section-spacing-horizontal:76px;--section-spacing-vertical:84px;color:var(--jp-forms-black)}@media(max-width:600px){.jp-forms__landing{--section-spacing-horizontal:32px;--section-spacing-vertical:80px}}.jp-forms__landing .jp-forms__logo-wrapper{margin:0 auto;max-width:100%;width:calc(var(--content-max-width) + var(--section-spacing-horizontal)*2)}.jp-forms__landing .jp-forms__logo{margin:40px var(--section-spacing-horizontal)}.jp-forms__landing h1{font-size:36px;font-weight:700;line-height:40px;margin:0}.jp-forms__landing h4{font-size:24px;font-weight:500;line-height:32px;margin:0}.jp-forms__landing button.button.button-primary{border:none;font-size:16px;font-weight:600;line-height:24px;padding:8px 32px}.jp-forms__landing button.button.button-primary,.jp-forms__landing button.button.button-primary:hover{background-color:var(--jp-forms-black);color:var(--jp-forms-white)}.jp-forms__landing .align-center{text-align:center}.jp-forms__landing .bg-white{background-color:var(--jp-forms-white)}.jp-forms__landing .bg-white-off{background-color:var(--jp-forms-white-off)}.jp-forms__landing .mb-2{margin-bottom:8px}.jp-forms__landing .mb-4{margin-bottom:16px}.jp-forms__landing .mb-6{margin-bottom:24px}.jp-forms__landing .mb-8{margin-bottom:32px}.jp-forms__landing .mb-10{margin-bottom:40px}.jp-forms__landing .mb-12{margin-bottom:48px}.jp-forms__landing-section{overflow:hidden;padding:var(--section-spacing-vertical) var(--section-spacing-horizontal)}.jp-forms__landing-content{margin:0 auto;max-width:var(--content-max-width)}@media(max-width:1280px){.jp-forms__landing-content .jp-forms__wp-sites{margin-left:auto;margin-right:auto;max-width:600px}}.jp-forms__teaser-image{border-radius:8px 8px 0 0;display:flex;filter:drop-shadow(0 4px 24px rgba(0,0,0,.2509803922));margin:0 auto calc(var(--section-spacing-vertical)*-1);max-width:100%}.jp-forms__patterns-grid{display:grid;gap:28px 40px;grid-template-columns:repeat(3,minmax(300px,350px));justify-content:space-between;margin-left:auto;margin-right:auto}@media(max-width:1280px){.jp-forms__patterns-grid{grid-template-columns:repeat(2,minmax(300px,400px))}}@media(max-width:860px){.jp-forms__patterns-grid{box-sizing:border-box;grid-auto-columns:350px;grid-auto-flow:column;grid-template-columns:repeat(auto-fill,350px);margin-left:calc(var(--section-spacing-horizontal)*-1);overflow-x:auto;padding:0 var(--section-spacing-horizontal);width:calc(100% + var(--section-spacing-horizontal) + var(--section-spacing-horizontal))}}@media(max-width:480px){.jp-forms__patterns-grid{grid-auto-columns:calc(100vw - 108px);grid-template-columns:repeat(auto-fill,calc(100vw - 108px))}}.jp-forms__pattern-item{align-items:center;display:flex;flex-direction:column;gap:8px}.jp-forms__pattern-item img{align-items:center;aspect-ratio:3/2;background:#d3d3d3;display:flex;justify-content:center;width:100%}.jp-forms__pattern-item span{font-size:14px;font-weight:700;line-height:21px}.jp-forms__features{display:grid;gap:24px;grid-template-columns:repeat(12,1fr)}@media(max-width:860px){.jp-forms__features{box-sizing:border-box;grid-auto-columns:350px;grid-auto-flow:column;grid-template-columns:repeat(auto-fill,350px);margin-left:calc(var(--section-spacing-horizontal)*-1);overflow-x:auto;padding:0 var(--section-spacing-horizontal);width:calc(100% + var(--section-spacing-horizontal) + var(--section-spacing-horizontal))}}@media(max-width:480px){.jp-forms__features{grid-auto-columns:calc(100vw - 108px);grid-template-columns:repeat(auto-fill,calc(100vw - 108px))}}.jp-forms__feature{background-color:var(--jp-forms-white);border-radius:8px;display:flex;flex-direction:column;justify-content:space-between;min-height:100px;overflow:hidden;padding:24px 32px;position:relative}.jp-forms__feature.feature-connect{grid-column:span 5/span 5}.jp-forms__feature.feature-connect .jp-forms__feature-image-wrapper{align-items:center;display:flex;gap:24px;margin-bottom:8px}@media(max-width:1440px){.jp-forms__feature.feature-connect h1{font-size:32px}}.jp-forms__feature.feature-data{grid-column:span 4/span 4}.jp-forms__feature.feature-data h4{max-width:220px}.jp-forms__feature.feature-data svg{bottom:0;position:absolute;right:0}.jp-forms__feature.feature-akismet,.jp-forms__feature.feature-export{grid-column:span 3/span 3}.jp-forms__feature.feature-export svg{margin-left:-32px}.jp-forms__feature.feature-notifications{grid-column:span 4/span 4}.jp-forms__feature.feature-notifications h4{max-width:260px}.jp-forms__feature.feature-dependencies{grid-column:span 3/span 3;padding:24px 16px;text-align:center}.jp-forms__feature.feature-dependencies h1{align-self:center;overflow:hidden}.jp-forms__feature.feature-dependencies h4{margin:0 auto;max-width:200px}.jp-forms__feature.feature-dependencies span{opacity:.3}.jp-forms__feature.feature-validation{grid-column:span 2/span 2}.jp-forms__feature.feature-validation .jp-forms__feature-image-wrapper{white-space:nowrap}.jp-forms__feature.feature-validation h4{margin:0 auto;max-width:200px}.jp-forms__feature h4{font-weight:700}@media(max-width:1460px){.jp-forms__feature.feature-dependencies,.jp-forms__feature.feature-export{grid-column:span 4/span 4}.jp-forms__feature.feature-validation{display:none}}@media(max-width:1280px){.jp-forms__feature{padding:24px}.jp-forms__feature.feature-connect,.jp-forms__feature.feature-data{grid-column:span 6/span 6}.jp-forms__feature.feature-data h4{font-size:32px;max-width:300px}.jp-forms__feature.feature-export{grid-column:span 4/span 4}.jp-forms__feature.feature-notifications{grid-column:span 5/span 5}.jp-forms__feature.feature-dependencies{display:none}.jp-forms__feature.feature-validation{grid-column:span 4/span 4}}@media(max-width:860px){.jp-forms__feature{grid-column:auto!important}.jp-forms__feature h1,.jp-forms__feature h4{font-size:28px!important;font-weight:700;line-height:32px}.jp-forms__feature.feature-validation .jp-forms__feature-image-wrapper{margin-bottom:0}.jp-forms__feature.feature-dependencies,.jp-forms__feature.feature-validation{display:flex}}:root{--jp-forms-font-size-regular:14px;--jp-forms-border-color:#dcdcde;--jp-forms-border-radius:var( --jp-border-radius,4px );--jp-forms-white:var( --jp-white,#fff );--jp-forms-white-off:var( --jp-white-off,#f9f9f6 );--jp-forms-input-wrapper-height:var( --jp-input-wrapper-height,40px );--jp-forms-spacing-base:var( --spacing-base,8px );--jp-forms-black:var( --jp-black,#000 );--jp-forms-color-darker-10:var( --jp-black-80,#2c3338 );--jp-forms-color-darker-20:var( --jp-black-80,#2c3338 );--wp-admin-theme-color:var( --jp-forms-black );--wp-admin-theme-color--rgb:0,0,0;--wp-admin-theme-color-darker-10:var( --jp-forms-color-darker-10 );--wp-admin-theme-color-darker-10--rgb:44,51,56;--wp-admin-theme-color-darker-20:var( --jp-forms-color-darker-10 );--wp-admin-theme-color-darker-20--rgb:44,51,56}body.admin_page_jetpack-forms #wpbody-content,body.toplevel_page_jetpack-forms #wpbody-content{padding-bottom:0}body.admin_page_jetpack-forms #wpfooter,body.toplevel_page_jetpack-forms #wpfooter{display:none} \ No newline at end of file diff --git a/dist/dashboard/jetpack-forms-dashboard.js b/dist/dashboard/jetpack-forms-dashboard.js index ff7837c..498a38f 100644 --- a/dist/dashboard/jetpack-forms-dashboard.js +++ b/dist/dashboard/jetpack-forms-dashboard.js @@ -1,3 +1,3 @@ /*! For license information please see jetpack-forms-dashboard.js.LICENSE.txt */ -(()=>{var e={3170:(e,t,n)=>{"use strict";function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;tc,RQ:()=>A,WK:()=>z,Zn:()=>L,Zq:()=>Z,aU:()=>r,cP:()=>p,fp:()=>v,iQ:()=>F,p7:()=>ee,pC:()=>P,q_:()=>s}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(r||(r={}));const o="popstate";function s(e){return void 0===e&&(e={}),m((function(e,t){let{pathname:n="/",search:a="",hash:r=""}=p(e.location.hash.substr(1));return u("",{pathname:n,search:a,hash:r},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),a="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");a=-1===n?t:t.slice(0,n)}return a+"#"+("string"==typeof t?t:d(t))}),(function(e,t){i("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function c(e,t){if(!1===e||null==e)throw new Error(t)}function i(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function l(e,t){return{usr:e.state,key:e.key,idx:t}}function u(e,t,n,r){return void 0===n&&(n=null),a({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?p(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function d(e){let{pathname:t="/",search:n="",hash:a=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),a&&"#"!==a&&(t+="#"===a.charAt(0)?a:"#"+a),t}function p(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let a=e.indexOf("?");a>=0&&(t.search=e.substr(a),e=e.substr(0,a)),e&&(t.pathname=e)}return t}function m(e,t,n,s){void 0===s&&(s={});let{window:i=document.defaultView,v5Compat:p=!1}=s,m=i.history,h=r.Pop,f=null,g=v();function v(){return(m.state||{idx:null}).idx}function E(){h=r.Pop;let e=v(),t=null==e?null:e-g;g=e,f&&f({action:h,location:y.location,delta:t})}function C(e){let t="null"!==i.location.origin?i.location.origin:i.location.href,n="string"==typeof e?e:d(e);return c(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,m.replaceState(a({},m.state,{idx:g}),""));let y={get action(){return h},get location(){return e(i,m)},listen(e){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(o,E),f=e,()=>{i.removeEventListener(o,E),f=null}},createHref:e=>t(i,e),createURL:C,encodeLocation(e){let t=C(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=r.Push;let a=u(y.location,e,t);n&&n(a,e),g=v()+1;let o=l(a,g),s=y.createHref(a);try{m.pushState(o,"",s)}catch(e){i.location.assign(s)}p&&f&&f({action:h,location:y.location,delta:1})},replace:function(e,t){h=r.Replace;let a=u(y.location,e,t);n&&n(a,e),g=v();let o=l(a,g),s=y.createHref(a);m.replaceState(o,"",s),p&&f&&f({action:h,location:y.location,delta:0})},go:e=>m.go(e)};return y}var h;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={}));const f=new Set(["lazy","caseSensitive","path","id","index","children"]);function g(e,t,n,r){return void 0===n&&(n=[]),void 0===r&&(r={}),e.map(((e,o)=>{let s=[...n,o],i="string"==typeof e.id?e.id:s.join("-");if(c(!0!==e.index||!e.children,"Cannot specify children on an index route"),c(!r[i],'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let n=a({},e,{hasErrorBoundary:t(e),id:i});return r[i]=n,n}{let n=a({},e,{id:i,hasErrorBoundary:t(e),children:void 0});return r[i]=n,e.children&&(n.children=g(e.children,t,s,r)),n}}))}function v(e,t,n){void 0===n&&(n="/");let a=L(("string"==typeof t?p(t):t).pathname||"/",n);if(null==a)return null;let r=E(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(r);let o=null;for(let e=0;null==o&&e{let s={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:r,route:e};s.relativePath.startsWith("/")&&(c(s.relativePath.startsWith(a),'Absolute route path "'+s.relativePath+'" nested under path "'+a+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),s.relativePath=s.relativePath.slice(a.length));let i=A([a,s.relativePath]),l=n.concat(s);e.children&&e.children.length>0&&(c(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),E(e.children,t,l,i)),(null!=e.path||e.index)&&t.push({path:i,score:j(i,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of C(e.path))r(e,t,n);else r(e,t)})),t}function C(e){let t=e.split("/");if(0===t.length)return[];let[n,...a]=t,r=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===a.length)return r?[o,""]:[o];let s=C(a.join("/")),c=[];return c.push(...s.map((e=>""===e?o:[o,e].join("/")))),r&&c.push(...s),c.map((t=>e.startsWith("/")&&""===t?"/":t))}const y=/^:\w+$/,R=3,b=2,w=1,k=10,_=-2,x=e=>"*"===e;function j(e,t){let n=e.split("/"),a=n.length;return n.some(x)&&(a+=_),t&&(a+=b),n.filter((e=>!x(e))).reduce(((e,t)=>e+(y.test(t)?R:""===t?w:k)),a)}function S(e,t){let{routesMeta:n}=e,a={},r="/",o=[];for(let e=0;e(a.push(t),"/([^\\/]+)")));e.endsWith("*")?(a.push("*"),r+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":""!==e&&"/"!==e&&(r+="(?:(?=\\/|$))");let o=new RegExp(r,t?void 0:"i");return[o,a]}(e.path,e.caseSensitive,e.end),r=t.match(n);if(!r)return null;let o=r[0],s=o.replace(/(.)\/+$/,"$1"),c=r.slice(1);return{params:a.reduce(((e,t,n)=>{if("*"===t){let e=c[n]||"";s=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return i(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(c[n]||"",t),e}),{}),pathname:o,pathnameBase:s,pattern:e}}function M(e){try{return decodeURI(e)}catch(t){return i(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function L(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,a=e.charAt(n);return a&&"/"!==a?null:e.slice(n)||"/"}function O(e,t,n,a){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(a)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function Z(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function P(e,t,n,r){let o;void 0===r&&(r=!1),"string"==typeof e?o=p(e):(o=a({},e),c(!o.pathname||!o.pathname.includes("?"),O("?","pathname","search",o)),c(!o.pathname||!o.pathname.includes("#"),O("#","pathname","hash",o)),c(!o.search||!o.search.includes("#"),O("#","search","hash",o)));let s,i=""===e||""===o.pathname,l=i?"/":o.pathname;if(r||null==l)s=n;else{let e=t.length-1;if(l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}s=e>=0?t[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:n,search:a="",hash:r=""}="string"==typeof e?p(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:T(a),hash:D(r)}}(o,s),d=l&&"/"!==l&&l.endsWith("/"),m=(i||"."===l)&&n.endsWith("/");return u.pathname.endsWith("/")||!d&&!m||(u.pathname+="/"),u}const A=e=>e.join("/").replace(/\/\/+/g,"/"),V=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),T=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",D=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;class F{constructor(e,t,n,a){void 0===a&&(a=!1),this.status=e,this.statusText=t||"",this.internal=a,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function z(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const H=["post","put","patch","delete"],U=new Set(H),I=["get",...H],$=new Set(I),B=new Set([301,302,303,307,308]),J=new Set([307,308]),G={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},W={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},q={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Q=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Y="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,K=!Y,X=e=>Boolean(e.hasErrorBoundary);function ee(e){c(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let t,n=e.detectErrorBoundary||X,o={},s=g(e.routes,n,void 0,o),l=a({v7_normalizeFormMethod:!1},e.future),d=null,p=new Set,m=null,f=null,E=null,C=null!=e.hydrationData,y=v(s,e.history.location,e.basename),R=null;if(null==y){let t=fe(404,{pathname:e.history.location.pathname}),{matches:n,route:a}=he(s);y=n,R={[a.id]:t}}let b,w,k=!(y.some((e=>e.route.lazy))||y.some((e=>e.route.loader))&&null==e.hydrationData),_={historyAction:e.history.action,location:e.history.location,matches:y,initialized:k,navigation:G,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||R,fetchers:new Map,blockers:new Map},x=r.Pop,j=!1,S=!1,N=!1,M=[],O=[],Z=new Map,P=0,A=-1,V=new Map,T=new Set,D=new Map,F=new Map,z=new Map,H=!1;function U(e){_=a({},_,e),p.forEach((e=>e(_)))}function I(n,o){var c,i;let l,u=null!=_.actionData&&null!=_.navigation.formMethod&&we(_.navigation.formMethod)&&"loading"===_.navigation.state&&!0!==(null==(c=n.state)?void 0:c._isRedirect);l=o.actionData?Object.keys(o.actionData).length>0?o.actionData:null:u?_.actionData:null;let d=o.loaderData?pe(_.loaderData,o.loaderData,o.matches||[],o.errors):_.loaderData;for(let[e]of z)Re(e);let p=!0===j||null!=_.navigation.formMethod&&we(_.navigation.formMethod)&&!0!==(null==(i=n.state)?void 0:i._isRedirect);t&&(s=t,t=void 0),U(a({},o,{actionData:l,loaderData:d,historyAction:x,location:n,initialized:!0,navigation:G,revalidation:"idle",restoreScrollPosition:Me(n,o.matches||_.matches),preventScrollReset:p,blockers:new Map(_.blockers)})),S||x===r.Pop||(x===r.Push?e.history.push(n,n.state):x===r.Replace&&e.history.replace(n,n.state)),x=r.Pop,j=!1,S=!1,N=!1,M=[],O=[]}async function $(i,l,u){w&&w.abort(),w=null,x=i,S=!0===(u&&u.startUninterruptedRevalidation),function(e,t){if(m&&f&&E){let n=t.map((e=>je(e,_.loaderData))),a=f(e,n)||e.key;m[a]=E()}}(_.location,_.matches),j=!0===(u&&u.preventScrollReset);let d=t||s,p=u&&u.overrideNavigation,g=v(d,l,e.basename);if(!g){let e=fe(404,{pathname:l.pathname}),{matches:t,route:n}=he(d);return Ne(),void I(l,{matches:t,loaderData:{},errors:{[n.id]:e}})}if(!(C=_.location,y=l,C.pathname!==y.pathname||C.search!==y.search||C.hash===y.hash||u&&u.submission&&we(u.submission.formMethod)))return void I(l,{matches:g});var C,y;w=new AbortController;let R,k,L=ie(e.history,l,w.signal,u&&u.submission);if(u&&u.pendingError)k={[me(g).route.id]:u.pendingError};else if(u&&u.submission&&we(u.submission.formMethod)){let e=await async function(e,t,s,c,i){re();let l,u=a({state:"submitting",location:t},s);U({navigation:u});let d=Se(c,t);if(d.route.action||d.route.lazy){if(l=await ce("action",e,d,c,o,n,b.basename),e.signal.aborted)return{shortCircuited:!0}}else l={type:h.error,error:fe(405,{method:e.method,pathname:t.pathname,routeId:d.route.id})};if(ye(l)){let e;return e=i&&null!=i.replace?i.replace:l.location===_.location.pathname+_.location.search,await ee(_,l,{submission:s,replace:e}),{shortCircuited:!0}}if(Ce(l)){let e=me(c,d.route.id);return!0!==(i&&i.replace)&&(x=r.Push),{pendingActionData:{},pendingActionError:{[e.route.id]:l.error}}}if(Ee(l))throw fe(400,{type:"defer-action"});return{pendingActionData:{[d.route.id]:l.data}}}(L,l,u.submission,g,{replace:u.replace});if(e.shortCircuited)return;R=e.pendingActionData,k=e.pendingActionError,p=a({state:"loading",location:l},u.submission),L=new Request(L.url,{signal:L.signal})}let{shortCircuited:V,loaderData:z,errors:H}=await async function(n,r,o,i,l,u,d,p,m){let h=i;if(!h){h=a({state:"loading",location:r,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},l)}let f=l||u?l||u:h.formMethod&&h.formAction&&h.formData&&h.formEncType?{formMethod:h.formMethod,formAction:h.formAction,formData:h.formData,formEncType:h.formEncType}:void 0,g=t||s,[v,E]=ae(e.history,_,o,f,r,N,M,O,D,g,e.basename,p,m);if(Ne((e=>!(o&&o.some((t=>t.route.id===e)))||v&&v.some((t=>t.route.id===e)))),0===v.length&&0===E.length)return I(r,a({matches:o,loaderData:{},errors:m||null},p?{actionData:p}:{})),{shortCircuited:!0};if(!S){E.forEach((e=>{let t=_.fetchers.get(e.key),n={state:"loading",data:t&&t.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};_.fetchers.set(e.key,n)}));let e=p||_.actionData;U(a({navigation:h},e?0===Object.keys(e).length?{actionData:null}:{actionData:e}:{},E.length>0?{fetchers:new Map(_.fetchers)}:{}))}A=++P,E.forEach((e=>Z.set(e.key,w)));let{results:C,loaderResults:y,fetcherResults:R}=await ne(_.matches,o,v,E,n);if(n.signal.aborted)return{shortCircuited:!0};E.forEach((e=>Z.delete(e.key)));let b=ge(C);if(b)return await ee(_,b,{replace:d}),{shortCircuited:!0};let{loaderData:k,errors:x}=de(_,o,v,y,m,E,R,F);F.forEach(((e,t)=>{e.subscribe((n=>{(n||e.done)&&F.delete(t)}))})),function(){let e=[];for(let t of T){let n=_.fetchers.get(t);c(n,"Expected fetcher: "+t),"loading"===n.state&&(T.delete(t),e.push(t))}ue(e)}();let j=ve(A);return a({loaderData:k,errors:x},j||E.length>0?{fetchers:new Map(_.fetchers)}:{})}(L,l,g,p,u&&u.submission,u&&u.fetcherSubmission,u&&u.replace,R,k);V||(w=null,I(l,a({matches:g},R?{actionData:R}:{},{loaderData:z,errors:H})))}function B(e){return _.fetchers.get(e)||W}async function ee(t,n,o){var s;let{submission:i,replace:l,isFetchActionRedirect:d}=void 0===o?{}:o;n.revalidate&&(N=!0);let p=u(t.location,n.location,a({_isRedirect:!0},d?{_isFetchActionRedirect:!0}:{}));if(c(p,"Expected a location on the redirect navigation"),Q.test(n.location)&&Y&&void 0!==(null==(s=window)?void 0:s.location)){let t=e.history.createURL(n.location),a=null==L(t.pathname,e.basename||"/");if(window.location.origin!==t.origin||a)return void(l?window.location.replace(n.location):window.location.assign(n.location))}w=null;let m=!0===l?r.Replace:r.Push,{formMethod:h,formAction:f,formEncType:g,formData:v}=t.navigation;!i&&h&&f&&v&&g&&(i={formMethod:h,formAction:f,formEncType:g,formData:v}),J.has(n.status)&&i&&we(i.formMethod)?await $(m,p,{submission:a({},i,{formAction:n.location}),preventScrollReset:j}):d?await $(m,p,{overrideNavigation:{state:"loading",location:p,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},fetcherSubmission:i,preventScrollReset:j}):await $(m,p,{overrideNavigation:{state:"loading",location:p,formMethod:i?i.formMethod:void 0,formAction:i?i.formAction:void 0,formEncType:i?i.formEncType:void 0,formData:i?i.formData:void 0},preventScrollReset:j})}async function ne(t,a,r,s,c){let i=await Promise.all([...r.map((e=>ce("loader",c,e,a,o,n,b.basename))),...s.map((t=>{if(t.matches&&t.match)return ce("loader",ie(e.history,t.path,c.signal),t.match,t.matches,o,n,b.basename);return{type:h.error,error:fe(404,{pathname:t.path})}}))]),l=i.slice(0,r.length),u=i.slice(r.length);return await Promise.all([ke(t,r,l,c.signal,!1,_.loaderData),ke(t,s.map((e=>e.match)),u,c.signal,!0)]),{results:i,loaderResults:l,fetcherResults:u}}function re(){N=!0,M.push(...Ne()),D.forEach(((e,t)=>{Z.has(t)&&(O.push(t),le(t))}))}function oe(e,t,n){let a=me(_.matches,t);se(e),U({errors:{[a.route.id]:n},fetchers:new Map(_.fetchers)})}function se(e){Z.has(e)&&le(e),D.delete(e),V.delete(e),T.delete(e),_.fetchers.delete(e)}function le(e){let t=Z.get(e);c(t,"Expected fetch controller: "+e),t.abort(),Z.delete(e)}function ue(e){for(let t of e){let e={state:"idle",data:B(t).data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};_.fetchers.set(t,e)}}function ve(e){let t=[];for(let[n,a]of V)if(a0}function Re(e){_.blockers.delete(e),z.delete(e)}function be(e,t){let n=_.blockers.get(e)||q;c("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state),_.blockers.set(e,t),U({blockers:new Map(_.blockers)})}function xe(e){let{currentLocation:t,nextLocation:n,historyAction:a}=e;if(0===z.size)return;z.size>1&&i(!1,"A router only supports one blocker at a time");let r=Array.from(z.entries()),[o,s]=r[r.length-1],c=_.blockers.get(o);return c&&"proceeding"===c.state?void 0:s({currentLocation:t,nextLocation:n,historyAction:a})?o:void 0}function Ne(e){let t=[];return F.forEach(((n,a)=>{e&&!e(a)||(n.cancel(),t.push(a),F.delete(a))})),t}function Me(e,t){if(m&&f&&E){let n=t.map((e=>je(e,_.loaderData))),a=f(e,n)||e.key,r=m[a];if("number"==typeof r)return r}return null}return b={get basename(){return e.basename},get state(){return _},get routes(){return s},initialize:function(){return d=e.history.listen((t=>{let{action:n,location:a,delta:r}=t;if(H)return void(H=!1);i(0===z.size||null!=r,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=xe({currentLocation:_.location,nextLocation:a,historyAction:n});return o&&null!=r?(H=!0,e.history.go(-1*r),void be(o,{state:"blocked",location:a,proceed(){be(o,{state:"proceeding",proceed:void 0,reset:void 0,location:a}),e.history.go(r)},reset(){Re(o),U({blockers:new Map(b.state.blockers)})}})):$(n,a)})),_.initialized||$(r.Pop,_.location),b},subscribe:function(e){return p.add(e),()=>p.delete(e)},enableScrollRestoration:function(e,t,n){if(m=e,E=t,f=n||(e=>e.key),!C&&_.navigation===G){C=!0;let e=Me(_.location,_.matches);null!=e&&U({restoreScrollPosition:e})}return()=>{m=null,E=null,f=null}},navigate:async function t(n,o){if("number"==typeof n)return void e.history.go(n);let{path:s,submission:c,error:i}=te(n,l,o),d=_.location,p=u(_.location,s,o&&o.state);p=a({},p,e.history.encodeLocation(p));let m=o&&null!=o.replace?o.replace:void 0,h=r.Push;!0===m?h=r.Replace:!1===m||null!=c&&we(c.formMethod)&&c.formAction===_.location.pathname+_.location.search&&(h=r.Replace);let f=o&&"preventScrollReset"in o?!0===o.preventScrollReset:void 0,g=xe({currentLocation:d,nextLocation:p,historyAction:h});if(!g)return await $(h,p,{submission:c,pendingError:i,preventScrollReset:f,replace:o&&o.replace});be(g,{state:"blocked",location:p,proceed(){be(g,{state:"proceeding",proceed:void 0,reset:void 0,location:p}),t(n,o)},reset(){Re(g),U({blockers:new Map(_.blockers)})}})},fetch:function(r,i,u,d){if(K)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Z.has(r)&&le(r);let p=v(t||s,u,e.basename);if(!p)return void oe(r,i,fe(404,{pathname:u}));let{path:m,submission:h}=te(u,l,d,!0),f=Se(p,m);j=!0===(d&&d.preventScrollReset),h&&we(h.formMethod)?async function(r,i,l,u,d,p){if(re(),D.delete(r),!u.route.action&&!u.route.lazy){let e=fe(405,{method:p.formMethod,pathname:l,routeId:i});return void oe(r,i,e)}let m=_.fetchers.get(r),h=a({state:"submitting"},p,{data:m&&m.data," _hasFetcherDoneAnything ":!0});_.fetchers.set(r,h),U({fetchers:new Map(_.fetchers)});let f=new AbortController,g=ie(e.history,l,f.signal,p);Z.set(r,f);let E=await ce("action",g,u,d,o,n,b.basename);if(g.signal.aborted)return void(Z.get(r)===f&&Z.delete(r));if(ye(E)){Z.delete(r),T.add(r);let e=a({state:"loading"},p,{data:void 0," _hasFetcherDoneAnything ":!0});return _.fetchers.set(r,e),U({fetchers:new Map(_.fetchers)}),ee(_,E,{submission:p,isFetchActionRedirect:!0})}if(Ce(E))return void oe(r,i,E.error);if(Ee(E))throw fe(400,{type:"defer-action"});let C=_.navigation.location||_.location,y=ie(e.history,C,f.signal),R=t||s,k="idle"!==_.navigation.state?v(R,_.navigation.location,e.basename):_.matches;c(k,"Didn't find any matches after fetcher action");let j=++P;V.set(r,j);let S=a({state:"loading",data:E.data},p,{" _hasFetcherDoneAnything ":!0});_.fetchers.set(r,S);let[L,z]=ae(e.history,_,k,p,C,N,M,O,D,R,e.basename,{[u.route.id]:E.data},void 0);z.filter((e=>e.key!==r)).forEach((e=>{let t=e.key,n=_.fetchers.get(t),a={state:"loading",data:n&&n.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};_.fetchers.set(t,a),Z.set(t,f)})),U({fetchers:new Map(_.fetchers)});let{results:H,loaderResults:$,fetcherResults:B}=await ne(_.matches,k,L,z,y);if(f.signal.aborted)return;V.delete(r),Z.delete(r),z.forEach((e=>Z.delete(e.key)));let J=ge(H);if(J)return ee(_,J);let{loaderData:G,errors:W}=de(_,_.matches,L,$,void 0,z,B,F),q={state:"idle",data:E.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};_.fetchers.set(r,q);let Q=ve(j);"loading"===_.navigation.state&&j>A?(c(x,"Expected pending action"),w&&w.abort(),I(_.navigation.location,{matches:k,loaderData:G,errors:W,fetchers:new Map(_.fetchers)})):(U(a({errors:W,loaderData:pe(_.loaderData,G,k,W)},Q?{fetchers:new Map(_.fetchers)}:{})),N=!1)}(r,i,m,f,p,h):(D.set(r,{routeId:i,path:m}),async function(t,r,s,i,l,u){let d=_.fetchers.get(t),p=a({state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},u,{data:d&&d.data," _hasFetcherDoneAnything ":!0});_.fetchers.set(t,p),U({fetchers:new Map(_.fetchers)});let m=new AbortController,h=ie(e.history,s,m.signal);Z.set(t,m);let f=await ce("loader",h,i,l,o,n,b.basename);Ee(f)&&(f=await _e(f,h.signal,!0)||f);Z.get(t)===m&&Z.delete(t);if(h.signal.aborted)return;if(ye(f))return void await ee(_,f);if(Ce(f)){let e=me(_.matches,r);return _.fetchers.delete(t),void U({fetchers:new Map(_.fetchers),errors:{[e.route.id]:f.error}})}c(!Ee(f),"Unhandled fetcher deferred data");let g={state:"idle",data:f.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};_.fetchers.set(t,g),U({fetchers:new Map(_.fetchers)})}(r,i,m,f,p,h))},revalidate:function(){re(),U({revalidation:"loading"}),"submitting"!==_.navigation.state&&("idle"!==_.navigation.state?$(x||_.historyAction,_.navigation.location,{overrideNavigation:_.navigation}):$(_.historyAction,_.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:B,deleteFetcher:se,dispose:function(){d&&d(),p.clear(),w&&w.abort(),_.fetchers.forEach(((e,t)=>se(t))),_.blockers.forEach(((e,t)=>Re(t)))},getBlocker:function(e,t){let n=_.blockers.get(e)||q;return z.get(e)!==t&&z.set(e,t),n},deleteBlocker:Re,_internalFetchControllers:Z,_internalActiveDeferreds:F,_internalSetRoutes:function(e){t=e}},b}Symbol("deferred");function te(e,t,n,a){void 0===a&&(a=!1);let r,o="string"==typeof e?e:d(e);if(!n||!function(e){return null!=e&&"formData"in e}(n))return{path:o};if(n.formMethod&&!be(n.formMethod))return{path:o,error:fe(405,{method:n.formMethod})};if(n.formData){let e=n.formMethod||"get";if(r={formMethod:t.v7_normalizeFormMethod?e.toUpperCase():e.toLowerCase(),formAction:ve(o),formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:n.formData},we(r.formMethod))return{path:o,submission:r}}let s=p(o),c=le(n.formData);return a&&s.search&&xe(s.search)&&c.append("index",""),s.search="?"+c,{path:d(s),submission:r}}function ne(e,t){let n=e;if(t){let a=e.findIndex((e=>e.route.id===t));a>=0&&(n=e.slice(0,a))}return n}function ae(e,t,n,r,o,s,c,i,l,u,d,p,m){let h=m?Object.values(m)[0]:p?Object.values(p)[0]:void 0,f=e.createURL(t.location),g=e.createURL(o),E=s||f.toString()===g.toString()||f.search!==g.search,C=m?Object.keys(m)[0]:void 0,y=ne(n,C).filter(((e,n)=>{if(e.route.lazy)return!0;if(null==e.route.loader)return!1;if(function(e,t,n){let a=!t||n.route.id!==t.route.id,r=void 0===e[n.route.id];return a||r}(t.loaderData,t.matches[n],e)||c.some((t=>t===e.route.id)))return!0;let o=t.matches[n],s=e;return oe(e,a({currentUrl:f,currentParams:o.params,nextUrl:g,nextParams:s.params},r,{actionResult:h,defaultShouldRevalidate:E||re(o,s)}))})),R=[];return l.forEach(((e,o)=>{if(!n.some((t=>t.route.id===e.routeId)))return;let s=v(u,e.path,d);if(!s)return void R.push(a({key:o},e,{matches:null,match:null}));let c=Se(s,e.path);(i.includes(o)||oe(c,a({currentUrl:f,currentParams:t.matches[t.matches.length-1].params,nextUrl:g,nextParams:n[n.length-1].params},r,{actionResult:h,defaultShouldRevalidate:E})))&&R.push(a({key:o,matches:s,match:c},e))})),[y,R]}function re(e,t){let n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function oe(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if("boolean"==typeof n)return n}return t.defaultShouldRevalidate}async function se(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let o=n[e.id];c(o,"No route found in manifest");let s={};for(let e in r){let t=void 0!==o[e]&&"hasErrorBoundary"!==e;i(!t,'Route "'+o.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||f.has(e)||(s[e]=r[e])}Object.assign(o,s),Object.assign(o,{hasErrorBoundary:t(a({},o)),lazy:void 0})}async function ce(e,t,n,a,r,o,s,i,l,u){let p,m,f;void 0===s&&(s="/"),void 0===i&&(i=!1),void 0===l&&(l=!1);let g=e=>{let a,r=new Promise(((e,t)=>a=t));return f=()=>a(),t.signal.addEventListener("abort",f),Promise.race([e({request:t,params:n.params,context:u}),r])};try{let a=n.route[e];if(n.route.lazy)if(a){m=(await Promise.all([g(a),se(n.route,o,r)]))[0]}else{if(await se(n.route,o,r),a=n.route[e],!a){if("action"===e)throw fe(405,{method:t.method,pathname:new URL(t.url).pathname,routeId:n.route.id});return{type:h.data,data:void 0}}m=await g(a)}else c(a,"Could not find the "+e+' to run on the "'+n.route.id+'" route'),m=await g(a);c(void 0!==m,"You defined "+("action"===e?"an action":"a loader")+' for route "'+n.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){p=h.error,m=e}finally{f&&t.signal.removeEventListener("abort",f)}if(Re(m)){let e,r=m.status;if(B.has(r)){let e=m.headers.get("Location");if(c(e,"Redirects returned/thrown from loaders/actions must have a Location header"),Q.test(e)){if(!i){let n=new URL(t.url),a=e.startsWith("//")?new URL(n.protocol+e):new URL(e),r=null!=L(a.pathname,s);a.origin===n.origin&&r&&(e=a.pathname+a.search+a.hash)}}else{let r=P(e,Z(a.slice(0,a.indexOf(n)+1)).map((e=>e.pathnameBase)),new URL(t.url).pathname);if(c(d(r),"Unable to resolve redirect location: "+e),s){let e=r.pathname;r.pathname="/"===e?s:A([s,e])}e=d(r)}if(i)throw m.headers.set("Location",e),m;return{type:h.redirect,status:r,location:e,revalidate:null!==m.headers.get("X-Remix-Revalidate")}}if(l)throw{type:p||h.data,response:m};let o=m.headers.get("Content-Type");return e=o&&/\bapplication\/json\b/.test(o)?await m.json():await m.text(),p===h.error?{type:p,error:new F(r,m.statusText,e),headers:m.headers}:{type:h.data,data:e,statusCode:m.status,headers:m.headers}}return p===h.error?{type:p,error:m}:function(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}(m)?{type:h.deferred,deferredData:m,statusCode:null==(v=m.init)?void 0:v.status,headers:(null==(E=m.init)?void 0:E.headers)&&new Headers(m.init.headers)}:{type:h.data,data:m};var v,E}function ie(e,t,n,a){let r=e.createURL(ve(t)).toString(),o={signal:n};if(a&&we(a.formMethod)){let{formMethod:e,formEncType:t,formData:n}=a;o.method=e.toUpperCase(),o.body="application/x-www-form-urlencoded"===t?le(n):n}return new Request(r,o)}function le(e){let t=new URLSearchParams;for(let[n,a]of e.entries())t.append(n,a instanceof File?a.name:a);return t}function ue(e,t,n,a,r){let o,s={},i=null,l=!1,u={};return n.forEach(((n,d)=>{let p=t[d].route.id;if(c(!ye(n),"Cannot handle redirect results in processLoaderData"),Ce(n)){let t=me(e,p),r=n.error;a&&(r=Object.values(a)[0],a=void 0),i=i||{},null==i[t.route.id]&&(i[t.route.id]=r),s[p]=void 0,l||(l=!0,o=z(n.error)?n.error.status:500),n.headers&&(u[p]=n.headers)}else Ee(n)?(r.set(p,n.deferredData),s[p]=n.deferredData.data):s[p]=n.data,null==n.statusCode||200===n.statusCode||l||(o=n.statusCode),n.headers&&(u[p]=n.headers)})),a&&(i=a,s[Object.keys(a)[0]]=void 0),{loaderData:s,errors:i,statusCode:o||200,loaderHeaders:u}}function de(e,t,n,r,o,s,i,l){let{loaderData:u,errors:d}=ue(t,n,r,o,l);for(let t=0;te.route.id===t))+1):[...e]).reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function he(e){let t=e.find((e=>e.index||!e.path||"/"===e.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function fe(e,t){let{pathname:n,routeId:a,method:r,type:o}=void 0===t?{}:t,s="Unknown Server Error",c="Unknown @remix-run/router error";return 400===e?(s="Bad Request",r&&n&&a?c="You made a "+r+' request to "'+n+'" but did not provide a `loader` for route "'+a+'", so there is no way to handle the request.':"defer-action"===o&&(c="defer() is not supported in actions")):403===e?(s="Forbidden",c='Route "'+a+'" does not match URL "'+n+'"'):404===e?(s="Not Found",c='No route matches URL "'+n+'"'):405===e&&(s="Method Not Allowed",r&&n&&a?c="You made a "+r.toUpperCase()+' request to "'+n+'" but did not provide an `action` for route "'+a+'", so there is no way to handle the request.':r&&(c='Invalid request method "'+r.toUpperCase()+'"')),new F(e||500,s,new Error(c),!0)}function ge(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(ye(n))return n}}function ve(e){return d(a({},"string"==typeof e?p(e):e,{hash:""}))}function Ee(e){return e.type===h.deferred}function Ce(e){return e.type===h.error}function ye(e){return(e&&e.type)===h.redirect}function Re(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function be(e){return $.has(e.toLowerCase())}function we(e){return U.has(e.toLowerCase())}async function ke(e,t,n,a,r,o){for(let s=0;se.route.id===i.route.id)),u=null!=l&&!re(l,i)&&void 0!==(o&&o[i.route.id]);Ee(c)&&(r||u)&&await _e(c,a,r).then((e=>{e&&(n[s]=e||n[s])}))}}async function _e(e,t,n){if(void 0===n&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:h.data,data:e.deferredData.unwrappedData}}catch(e){return{type:h.error,error:e}}return{type:h.data,data:e.deferredData.data}}}function xe(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function je(e,t){let{route:n,pathname:a,params:r}=e;return{id:n.id,pathname:a,params:r,data:t[n.id],handle:n.handle}}function Se(e,t){let n="string"==typeof t?p(t).search:t.search;if(e[e.length-1].route.index&&xe(n||""))return e[e.length-1];let a=Z(e);return a[a.length-1]}},1074:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(9307);const r=function({icon:e,size:t=24,...n}){return(0,a.cloneElement)(e,{width:t,height:t,...n})}},3259:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9307),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"}))},2229:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9307),r=n(444);const o=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)(r.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}))},6936:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9307),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}))},6163:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9307),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}))},5381:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9307),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"}))},2646:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9307),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fillRule:"evenodd",d:"M6 5.5h12a.5.5 0 01.5.5v7H14a2 2 0 11-4 0H5.5V6a.5.5 0 01.5-.5zm-.5 9V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5v-3.5h-3.337a3.5 3.5 0 01-6.326 0H5.5zM4 13V6a2 2 0 012-2h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2v-5z",clipRule:"evenodd"}))},6828:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9307),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M11 13h2v-2h-2v2zm-6 0h2v-2H5v2zm12-2v2h2v-2h-2z"}))},8270:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9307),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M20 5h-5.7c0-1.3-1-2.3-2.3-2.3S9.7 3.7 9.7 5H4v2h1.5v.3l1.7 11.1c.1 1 1 1.7 2 1.7h5.7c1 0 1.8-.7 2-1.7l1.7-11.1V7H20V5zm-3.2 2l-1.7 11.1c0 .1-.1.2-.3.2H9.1c-.1 0-.3-.1-.3-.2L7.2 7h9.6z"}))},5235:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t{"use strict";n.d(t,{Z:()=>r});var a=n(2969);function r(e,t){e.classList?e.classList.add(t):(0,a.Z)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}},2969:(e,t,n)=>{"use strict";function a(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}n.d(t,{Z:()=>a})},5807:(e,t,n)=>{"use strict";function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function r(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=a(e.className,t):e.setAttribute("class",a(e.className&&e.className.baseVal||"",t))}n.d(t,{Z:()=>r})},5785:()=>{},5612:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",facebook:"aHOlEBGD5EA8NKRw3xTw",instagram:"cL3m0xBYTYhIKI7lCqDB",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43",mastodon:"DKOBOTVmTLbh26gUH_73"}},9054:()=>{},3247:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"}},3171:e=>{var t=1e3,n=60*t,a=60*n,r=24*a,o=7*r,s=365.25*r;function c(e,t,n,a){var r=t>=1.5*n;return Math.round(e/n)+" "+a+(r?"s":"")}e.exports=function(e,i){i=i||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!c)return;var i=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return i*s;case"weeks":case"week":case"w":return i*o;case"days":case"day":case"d":return i*r;case"hours":case"hour":case"hrs":case"hr":case"h":return i*a;case"minutes":case"minute":case"mins":case"min":case"m":return i*n;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}(e);if("number"===l&&isFinite(e))return i.long?function(e){var o=Math.abs(e);if(o>=r)return c(e,o,r,"day");if(o>=a)return c(e,o,a,"hour");if(o>=n)return c(e,o,n,"minute");if(o>=t)return c(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=r)return Math.round(e/r)+"d";if(o>=a)return Math.round(e/a)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9997:(e,t,n)=>{"use strict";n.d(t,{cP:()=>i,lr:()=>m});var a=n(9196),r=n(6417),o=n(3170);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let a=e[n];return t.concat(Array.isArray(a)?a.map((e=>[n,e])):[[n,a]])}),[]))}function i(e,t){return(0,o.p7)({basename:null==t?void 0:t.basename,future:null==t?void 0:t.future,history:(0,o.q_)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||l(),routes:e,detectErrorBoundary:r.b6}).initialize()}function l(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=s({},t,{errors:u(t.errors)})),t}function u(e){if(!e)return null;let t=Object.entries(e),n={};for(let[e,a]of t)if(a&&"RouteErrorResponse"===a.__type)n[e]=new o.iQ(a.status,a.statusText,a.data,!0===a.internal);else if(a&&"Error"===a.__type){let t=new Error(a.message);t.stack="",n[e]=t}else n[e]=a;return n}"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement;var d,p;function m(e){let t=a.useRef(c(e)),n=a.useRef(!1),o=(0,r.TH)(),s=a.useMemo((()=>function(e,t){let n=c(e);if(t)for(let e of t.keys())n.has(e)||t.getAll(e).forEach((t=>{n.append(e,t)}));return n}(o.search,n.current?null:t.current)),[o.search]),i=(0,r.s0)(),l=a.useCallback(((e,t)=>{const a=c("function"==typeof e?e(s):e);n.current=!0,i("?"+a,t)}),[i,s]);return[s,l]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(d||(d={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(p||(p={}))},6417:(e,t,n)=>{"use strict";n.d(t,{Fg:()=>O,TH:()=>R,b6:()=>D,pG:()=>L,s0:()=>b});var a=n(3170),r=n(9196);const o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:s,useEffect:c,useLayoutEffect:i,useDebugValue:l}=r;function u(e){const t=e.getSnapshot,n=e.value;try{const e=t();return!o(n,e)}catch(e){return!0}}const d=!!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement)?function(e,t,n){return t()}:function(e,t,n){const a=t(),[{inst:r},o]=s({inst:{value:a,getSnapshot:t}});return i((()=>{r.value=a,r.getSnapshot=t,u(r)&&o({inst:r})}),[e,a,t]),c((()=>{u(r)&&o({inst:r});return e((()=>{u(r)&&o({inst:r})}))}),[e]),l(a),a},p="useSyncExternalStore"in r?r.useSyncExternalStore:d;const m=r.createContext(null);const h=r.createContext(null);const f=r.createContext(null);const g=r.createContext(null);const v=r.createContext({outlet:null,matches:[]});const E=r.createContext(null);function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;te.pathnameBase))),c=r.useRef(!1);return r.useEffect((()=>{c.current=!0})),r.useCallback((function(n,r){if(void 0===r&&(r={}),!c.current)return;if("number"==typeof n)return void t.go(n);let i=(0,a.pC)(n,JSON.parse(s),o,"path"===r.relative);"/"!==e&&(i.pathname="/"===i.pathname?e:(0,a.RQ)([e,i.pathname])),(r.replace?t.replace:t.push)(i,r.state,r)}),[e,t,s,o])}function w(){let e=function(){var e;let t=r.useContext(E),n=N(S.UseRouteError),a=M(S.UseRouteError);if(t)return t;return null==(e=n.errors)?void 0:e[a]}(),t=(0,a.WK)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:o};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),n?r.createElement("pre",{style:s},n):null,null)}class k extends r.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?r.createElement(v.Provider,{value:this.props.routeContext},r.createElement(E.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function _(e){let{routeContext:t,match:n,children:a}=e,o=r.useContext(m);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(v.Provider,{value:t},a)}function x(e,t,n){if(void 0===t&&(t=[]),null==e){if(null==n||!n.errors)return null;e=n.matches}let o=e,s=null==n?void 0:n.errors;if(null!=s){let e=o.findIndex((e=>e.route.id&&(null==s?void 0:s[e.route.id])));e>=0||(0,a.J0)(!1),o=o.slice(0,Math.min(o.length,e+1))}return o.reduceRight(((e,a,c)=>{let i=a.route.id?null==s?void 0:s[a.route.id]:null,l=null;n&&(l=a.route.ErrorBoundary?r.createElement(a.route.ErrorBoundary,null):a.route.errorElement?a.route.errorElement:r.createElement(w,null));let u=t.concat(o.slice(0,c+1)),d=()=>{let t=e;return i?t=l:a.route.Component?t=r.createElement(a.route.Component,null):a.route.element&&(t=a.route.element),r.createElement(_,{match:a,routeContext:{outlet:e,matches:u},children:t})};return n&&(a.route.ErrorBoundary||a.route.errorElement||0===c)?r.createElement(k,{location:n.location,component:l,error:i,children:d(),routeContext:{outlet:null,matches:u}}):d()}),null)}var j,S;function N(e){let t=r.useContext(h);return t||(0,a.J0)(!1),t}function M(e){let t=function(e){let t=r.useContext(v);return t||(0,a.J0)(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||(0,a.J0)(!1),n.route.id}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"}(j||(j={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(S||(S={}));function L(e){let{fallbackElement:t,router:n}=e,a=r.useCallback((()=>n.state),[n]),o=p(n.subscribe,a,a),s=r.useMemo((()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,a)=>n.navigate(e,{state:t,preventScrollReset:null==a?void 0:a.preventScrollReset}),replace:(e,t,a)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==a?void 0:a.preventScrollReset})})),[n]),c=n.basename||"/",i=r.useMemo((()=>({router:n,navigator:s,static:!1,basename:c})),[n,s,c]);return r.createElement(r.Fragment,null,r.createElement(m.Provider,{value:i},r.createElement(h.Provider,{value:o},r.createElement(P,{basename:n.basename,location:n.state.location,navigationType:n.state.historyAction,navigator:s},n.state.initialized?r.createElement(A,null):t))),null)}function O(e){let{to:t,replace:n,state:o,relative:s}=e;y()||(0,a.J0)(!1);let c=r.useContext(h),i=b();return r.useEffect((()=>{c&&"idle"!==c.navigation.state||i(t,{replace:n,state:o,relative:s})})),null}function Z(e){(0,a.J0)(!1)}function P(e){let{basename:t="/",children:n=null,location:o,navigationType:s=a.aU.Pop,navigator:c,static:i=!1}=e;y()&&(0,a.J0)(!1);let l=t.replace(/^\/*/,"/"),u=r.useMemo((()=>({basename:l,navigator:c,static:i})),[l,c,i]);"string"==typeof o&&(o=(0,a.cP)(o));let{pathname:d="/",search:p="",hash:m="",state:h=null,key:v="default"}=o,E=r.useMemo((()=>{let e=(0,a.Zn)(d,l);return null==e?null:{location:{pathname:e,search:p,hash:m,state:h,key:v},navigationType:s}}),[l,d,p,m,h,v,s]);return null==E?null:r.createElement(f.Provider,{value:u},r.createElement(g.Provider,{children:n,value:E}))}function A(e){let{children:t,location:n}=e,o=r.useContext(m);return function(e,t){y()||(0,a.J0)(!1);let{navigator:n}=r.useContext(f),o=r.useContext(h),{matches:s}=r.useContext(v),c=s[s.length-1],i=c?c.params:{},l=(c&&c.pathname,c?c.pathnameBase:"/");c&&c.route;let u,d=R();if(t){var p;let e="string"==typeof t?(0,a.cP)(t):t;"/"===l||(null==(p=e.pathname)?void 0:p.startsWith(l))||(0,a.J0)(!1),u=e}else u=d;let m=u.pathname||"/",E="/"===l?m:m.slice(l.length)||"/",b=(0,a.fp)(e,{pathname:E}),w=x(b&&b.map((e=>Object.assign({},e,{params:Object.assign({},i,e.params),pathname:(0,a.RQ)([l,n.encodeLocation?n.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:(0,a.RQ)([l,n.encodeLocation?n.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),s,o||void 0);return t&&w?r.createElement(g.Provider,{value:{location:C({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:a.aU.Pop}},w):w}(o&&!t?o.router.routes:T(t),n)}var V;!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(V||(V={}));new Promise((()=>{}));r.Component;function T(e,t){void 0===t&&(t=[]);let n=[];return r.Children.forEach(e,((e,o)=>{if(!r.isValidElement(e))return;let s=[...t,o];if(e.type===r.Fragment)return void n.push.apply(n,T(e.props.children,s));e.type!==Z&&(0,a.J0)(!1),e.props.index&&e.props.children&&(0,a.J0)(!1);let c={id:e.props.id||s.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(c.children=T(e.props.children,s)),n.push(c)})),n}function D(e){return Boolean(e.ErrorBoundary)||Boolean(e.errorElement)}},7598:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var a=n(255),r=n(7921),o=n(1806),s=n(6712),c=n(5807),i=n(9196),l=n.n(i),u=n(5446),d=n(5992),p=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,c.Z)(e,t)}))},m=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r{"use strict";n.d(t,{ZP:()=>C});var a=n(7921),r=n(1806),o=n(9196),s=n.n(o),c=n(1850),i=n.n(c),l=n(9171),u=n(457),d=n(5992),p="unmounted",m="exited",h="entering",f="entered",g="exiting",v=function(e){function t(t,n){var a;a=e.call(this,t,n)||this;var r,o=n&&!n.isMounting?t.enter:t.appear;return a.appearStatus=null,t.in?o?(r=m,a.appearStatus=h):r=f:r=t.unmountOnExit||t.mountOnEnter?p:m,a.state={status:r},a.nextCallback=null,a}(0,r.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===p?{status:m}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==h&&n!==f&&(t=h):n!==h&&n!==f||(t=g)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,a=this.props.timeout;return e=t=n=a,null!=a&&"number"!=typeof a&&(e=a.exit,t=a.enter,n=void 0!==a.appear?a.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:i().findDOMNode(this);n&&(0,d.Q)(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===m&&this.setState({status:p})},n.performEnter=function(e){var t=this,n=this.props.enter,a=this.context?this.context.isMounting:e,r=this.props.nodeRef?[a]:[i().findDOMNode(this),a],o=r[0],s=r[1],c=this.getTimeouts(),u=a?c.appear:c.enter;!e&&!n||l.Z.disabled?this.safeSetState({status:f},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,s),this.safeSetState({status:h},(function(){t.props.onEntering(o,s),t.onTransitionEnd(u,(function(){t.safeSetState({status:f},(function(){t.props.onEntered(o,s)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),a=this.props.nodeRef?void 0:i().findDOMNode(this);t&&!l.Z.disabled?(this.props.onExit(a),this.safeSetState({status:g},(function(){e.props.onExiting(a),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:m},(function(){e.props.onExited(a)}))}))}))):this.safeSetState({status:m},(function(){e.props.onExited(a)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(a){n&&(n=!1,t.nextCallback=null,e(a))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:i().findDOMNode(this),a=null==e&&!this.props.addEndListener;if(n&&!a){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=r[0],s=r[1];this.props.addEndListener(o,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===p)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,a.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s().createElement(u.Z.Provider,{value:null},"function"==typeof n?n(e,r):s().cloneElement(s().Children.only(n),r))},t}(s().Component);function E(){}v.contextType=u.Z,v.propTypes={},v.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:E,onEntering:E,onEntered:E,onExit:E,onExiting:E,onExited:E},v.UNMOUNTED=p,v.EXITED=m,v.ENTERING=h,v.ENTERED=f,v.EXITING=g;const C=v},8795:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(7921),r=n(255),o=n(506),s=n(1806),c=n(9196),i=n.n(c),l=n(457),u=n(8907),d=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},p=function(e){function t(t,n){var a,r=(a=e.call(this,t,n)||this).handleExited.bind((0,o.Z)(a));return a.state={contextValue:{isMounting:!0},handleExited:r,firstRender:!0},a}(0,s.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,a=t.handleExited;return{children:t.firstRender?(0,u.Kg)(e,a):(0,u.Rp)(e,n,a),firstRender:!1}},n.handleExited=function(e,t){var n=(0,u.n)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,r.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=(0,a.Z)(e,["component","childFactory"]),o=this.state.contextValue,s=d(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i().createElement(l.Z.Provider,{value:o},s):i().createElement(l.Z.Provider,{value:o},i().createElement(t,r,s))},t}(i().Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(e){return e}};const m=p},457:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(9196);const r=n.n(a)().createContext(null)},9171:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={disabled:!1}},8907:(e,t,n)=>{"use strict";n.d(t,{Kg:()=>s,Rp:()=>c,n:()=>r});var a=n(9196);function r(e,t){var n=Object.create(null);return e&&a.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,a.isValidElement)(e)?t(e):e}(e)})),n}function o(e,t,n){return null!=n[t]?n[t]:e.props[t]}function s(e,t){return r(e.children,(function(n){return(0,a.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:o(n,"appear",e),enter:o(n,"enter",e),exit:o(n,"exit",e)})}))}function c(e,t,n){var s=r(e.children),c=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var a,r=Object.create(null),o=[];for(var s in e)s in t?o.length&&(r[s]=o,o=[]):o.push(s);var c={};for(var i in t){if(r[i])for(a=0;a{"use strict";n.d(t,{Q:()=>a});var a=function(e){return e.scrollTop}},6975:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(1128);const r=n.n(a)()("dops:analytics");let o,s;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const c={initialize:function(e,t,n){c.setUser(e,t),c.setSuperProps(n),c.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){s={ID:e,username:t}},setSuperProps:function(e){o=e},assignSuperProps:function(e){o=Object.assign(o||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Built stat "%s" in group "%s"',t,e);return n}(e,t);c.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){c.tracks.recordPageView(e),c.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,a,r,o,s){c.ga.recordPurchase(e,t,n,a,r,o,s)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(o&&(r("- Super Props: %o",o),t=Object.assign(t,o)),r('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):r('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};c.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){c.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){r("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};c.ga.initialized||(s&&(e={userId:"u-"+s.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),c.ga.initialized=!0)},recordPageView:function(e,t){c.ga.initialize(),r("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,a){c.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==a&&(o+=" [Option Value: "+a+"]"),r(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,a)},recordPurchase:function(e,t,n,a,r,o,s){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:a,currency:s}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:r,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){s&&window._tkq.push(["identifyUser",s.ID,s.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},i=c},4743:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>d});var a=n(1132),r=n(6483);function o(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const s=o("JsonParseError"),c=o("JsonParseAfterRedirectError"),i=o("Api404Error"),l=o("Api404AfterRedirectError"),u=o("FetchNetworkError");const d=new function(e,t){let n=e,o=e,s={"X-WP-Nonce":t},c={credentials:"same-origin",headers:s},i={method:"post",credentials:"same-origin",headers:Object.assign({},s,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",a=n.length?n.split("&"):[];return a.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+a.join("&")};const u={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){o=e},setApiNonce(e){s={"X-WP-Nonce":e},c={credentials:"same-origin",headers:s},i={method:"post",credentials:"same-origin",headers:Object.assign({},s,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const r={registration_nonce:e,no_iframe:!0};return(0,a.jetpackConfigHas)("consumer_slug")&&(r.plugin_slug=(0,a.jetpackConfigGet)("consumer_slug")),null!==t&&(r.redirect_uri=t),h(`${n}jetpack/v4/connection/register`,i,{body:JSON.stringify(r)}).then(p).then(m)},fetchAuthorizationUrl:e=>d((0,r.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),c).then(p).then(m),fetchSiteConnectionData:()=>d(`${n}jetpack/v4/connection/data`,c).then(m),fetchSiteConnectionStatus:()=>d(`${n}jetpack/v4/connection`,c).then(m),fetchSiteConnectionTest:()=>d(`${n}jetpack/v4/connection/test`,c).then(p).then(m),fetchUserConnectionData:()=>d(`${n}jetpack/v4/connection/data`,c).then(m),fetchUserTrackingSettings:()=>d(`${n}jetpack/v4/tracking/settings`,c).then(p).then(m),updateUserTrackingSettings:e=>h(`${n}jetpack/v4/tracking/settings`,i,{body:JSON.stringify(e)}).then(p).then(m),disconnectSite:()=>h(`${n}jetpack/v4/connection`,i,{body:JSON.stringify({isActive:!1})}).then(p).then(m),fetchConnectUrl:()=>d(`${n}jetpack/v4/connection/url`,c).then(p).then(m),unlinkUser:()=>h(`${n}jetpack/v4/connection/user`,i,{body:JSON.stringify({linked:!1})}).then(p).then(m),reconnect:()=>h(`${n}jetpack/v4/connection/reconnect`,i).then(p).then(m),fetchConnectedPlugins:()=>d(`${n}jetpack/v4/connection/plugins`,c).then(p).then(m),setHasSeenWCConnectionModal:()=>h(`${n}jetpack/v4/seen-wc-connection-modal`,i).then(p).then(m),fetchModules:()=>d(`${n}jetpack/v4/module/all`,c).then(p).then(m),fetchModule:e=>d(`${n}jetpack/v4/module/${e}`,c).then(p).then(m),activateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,i,{body:JSON.stringify({active:!0})}).then(p).then(m),deactivateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,i,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${n}jetpack/v4/module/${e}`,i,{body:JSON.stringify(t)}).then(p).then(m),updateSettings:e=>h(`${n}jetpack/v4/settings`,i,{body:JSON.stringify(e)}).then(p).then(m),getProtectCount:()=>d(`${n}jetpack/v4/module/protect/data`,c).then(p).then(m),resetOptions:e=>h(`${n}jetpack/v4/options/${e}`,i,{body:JSON.stringify({reset:!0})}).then(p).then(m),activateVaultPress:()=>h(`${n}jetpack/v4/plugins`,i,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(p).then(m),getVaultPressData:()=>d(`${n}jetpack/v4/module/vaultpress/data`,c).then(p).then(m),installPlugin:(e,t)=>{const a={slug:e,status:"active"};return t&&(a.source=t),h(`${n}jetpack/v4/plugins`,i,{body:JSON.stringify(a)}).then(p).then(m)},activateAkismet:()=>h(`${n}jetpack/v4/plugins`,i,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(p).then(m),getAkismetData:()=>d(`${n}jetpack/v4/module/akismet/data`,c).then(p).then(m),checkAkismetKey:()=>d(`${n}jetpack/v4/module/akismet/key/check`,c).then(p).then(m),checkAkismetKeyTyped:e=>h(`${n}jetpack/v4/module/akismet/key/check`,i,{body:JSON.stringify({api_key:e})}).then(p).then(m),fetchStatsData:e=>d(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),c).then(p).then(m).then(g),getPluginUpdates:()=>d(`${n}jetpack/v4/updates/plugins`,c).then(p).then(m),getPlans:()=>d(`${n}jetpack/v4/plans`,c).then(p).then(m),fetchSettings:()=>d(`${n}jetpack/v4/settings`,c).then(p).then(m),updateSetting:e=>h(`${n}jetpack/v4/settings`,i,{body:JSON.stringify(e)}).then(p).then(m),fetchSiteData:()=>d(`${n}jetpack/v4/site`,c).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>d(`${n}jetpack/v4/site/features`,c).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>d(`${n}jetpack/v4/site/products`,c).then(p).then(m),fetchSitePurchases:()=>d(`${n}jetpack/v4/site/purchases`,c).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>d(`${n}jetpack/v4/site/benefits`,c).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>d(`${n}jetpack/v4/site/discount`,c).then(p).then(m).then((e=>e.data)),fetchSetupQuestionnaire:()=>d(`${n}jetpack/v4/setup/questionnaire`,c).then(p).then(m),fetchRecommendationsData:()=>d(`${n}jetpack/v4/recommendations/data`,c).then(p).then(m),fetchRecommendationsProductSuggestions:()=>d(`${n}jetpack/v4/recommendations/product-suggestions`,c).then(p).then(m),fetchRecommendationsUpsell:()=>d(`${n}jetpack/v4/recommendations/upsell`,c).then(p).then(m),fetchRecommendationsConditional:()=>d(`${n}jetpack/v4/recommendations/conditional`,c).then(p).then(m),saveRecommendationsData:e=>h(`${n}jetpack/v4/recommendations/data`,i,{body:JSON.stringify({data:e})}).then(p),fetchProducts:()=>d(`${n}jetpack/v4/products`,c).then(p).then(m),fetchRewindStatus:()=>d(`${n}jetpack/v4/rewind`,c).then(p).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>d(`${n}jetpack/v4/scan`,c).then(p).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${n}jetpack/v4/notice/${e}`,i,{body:JSON.stringify({dismissed:!0})}).then(p).then(m),fetchPluginsData:()=>d(`${n}jetpack/v4/plugins`,c).then(p).then(m),fetchIntroOffers:()=>d(`${n}jetpack/v4/intro-offers`,c).then(p).then(m),fetchVerifySiteGoogleStatus:e=>d(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,c).then(p).then(m),verifySiteGoogle:e=>h(`${n}jetpack/v4/verify-site/google`,i,{body:JSON.stringify({keyring_id:e})}).then(p).then(m),submitSurvey:e=>h(`${n}jetpack/v4/marketing/survey`,i,{body:JSON.stringify(e)}).then(p).then(m),saveSetupQuestionnaire:e=>h(`${n}jetpack/v4/setup/questionnaire`,i,{body:JSON.stringify(e)}).then(p).then(m),updateLicensingError:e=>h(`${n}jetpack/v4/licensing/error`,i,{body:JSON.stringify(e)}).then(p).then(m),updateLicenseKey:e=>h(`${n}jetpack/v4/licensing/set-license`,i,{body:JSON.stringify({license:e})}).then(p).then(m),getUserLicensesCounts:()=>d(`${n}jetpack/v4/licensing/user/counts`,c).then(p).then(m),getUserLicenses:()=>d(`${n}jetpack/v4/licensing/user/licenses`,c).then(p).then(m),updateLicensingActivationNoticeDismiss:e=>h(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,i,{body:JSON.stringify({last_detached_count:e})}).then(p).then(m),updateRecommendationsStep:e=>h(`${n}jetpack/v4/recommendations/step`,i,{body:JSON.stringify({step:e})}).then(p),confirmIDCSafeMode:()=>h(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,i).then(p),startIDCFresh:e=>h(`${n}jetpack/v4/identity-crisis/start-fresh`,i,{body:JSON.stringify({redirect_uri:e})}).then(p).then(m),migrateIDC:()=>h(`${n}jetpack/v4/identity-crisis/migrate`,i).then(p),attachLicenses:e=>h(`${n}jetpack/v4/licensing/attach-licenses`,i,{body:JSON.stringify({licenses:e})}).then(p).then(m),fetchSearchPlanInfo:()=>d(`${o}jetpack/v4/search/plan`,c).then(p).then(m),fetchSearchSettings:()=>d(`${o}jetpack/v4/search/settings`,c).then(p).then(m),updateSearchSettings:e=>h(`${o}jetpack/v4/search/settings`,i,{body:JSON.stringify(e)}).then(p).then(m),fetchSearchStats:()=>d(`${o}jetpack/v4/search/stats`,c).then(p).then(m),fetchWafSettings:()=>d(`${n}jetpack/v4/waf`,c).then(p).then(m),updateWafSettings:e=>h(`${n}jetpack/v4/waf`,i,{body:JSON.stringify(e)}).then(p).then(m),fetchWordAdsSettings:()=>d(`${n}jetpack/v4/wordads/settings`,c).then(p).then(m),updateWordAdsSettings:e=>h(`${n}jetpack/v4/wordads/settings`,i,{body:JSON.stringify(e)}),fetchSearchPricing:()=>d(`${o}jetpack/v4/search/pricing`,c).then(p).then(m),fetchMigrationStatus:()=>d(`${n}jetpack/v4/migration/status`,c).then(p).then(m),fetchBackupUndoEvent:()=>d(`${n}jetpack/v4/site/backup/undo-event`,c).then(p).then(m)};function d(e,t){return fetch(l(e),t)}function h(e,t,n){return fetch(e,Object.assign({},t,n)).catch(f)}function g(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,u)};function p(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new i})):e.json().catch((e=>h(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function m(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,n){throw t?new c(n):new s}function f(){throw new u}},7525:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(2674),r=n.n(a),o=n(5736),s=n(5235),c=n.n(s),i=n(9196),l=n.n(i);const __=o.__,u=e=>{let{title:t=__("An Automattic Airline","jetpack-forms"),height:n=7,className:a,...o}=e;return l().createElement("svg",r()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:n,className:c()("jp-automattic-byline-logo",a)},o),l().createElement("desc",{id:"jp-automattic-byline-logo-title"},t),l().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),l().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),l().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))}},7172:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(17),r=n.n(a),o=n(5736),s=n(5235),c=n.n(s),i=n(9196);n(5785);const __=o.__;class l extends i.Component{needsOffset(e,t){return["gridicons-arrow-left","gridicons-arrow-right","gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGDescription(e){if("description"in this.props)return this.props.description;switch(e){default:return"";case"gridicons-audio":return __("Has audio.","jetpack-forms");case"gridicons-arrow-left":return __("Arrow left","jetpack-forms");case"gridicons-arrow-right":return __("Arrow right","jetpack-forms");case"gridicons-calendar":return __("Is an event.","jetpack-forms");case"gridicons-cart":return __("Is a product.","jetpack-forms");case"chevron-down":return __("Show filters","jetpack-forms");case"gridicons-comment":return __("Matching comment.","jetpack-forms");case"gridicons-cross":return __("Close.","jetpack-forms");case"gridicons-filter":return __("Toggle search filters.","jetpack-forms");case"gridicons-folder":return __("Category","jetpack-forms");case"gridicons-info":case"gridicons-info-outline":return __("Information.","jetpack-forms");case"gridicons-image-multiple":return __("Has multiple images.","jetpack-forms");case"gridicons-image":return __("Has an image.","jetpack-forms");case"gridicons-page":return __("Page","jetpack-forms");case"gridicons-post":return __("Post","jetpack-forms");case"gridicons-jetpack-search":case"gridicons-search":return __("Magnifying Glass","jetpack-forms");case"gridicons-tag":return __("Tag","jetpack-forms");case"gridicons-video":return __("Has a video.","jetpack-forms")}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return React.createElement("g",null,React.createElement("path",{d:"M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z"}));case"gridicons-arrow-left":return React.createElement("g",null,React.createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}));case"gridicons-arrow-right":return React.createElement("g",null,React.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"}));case"gridicons-block":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z"}));case"gridicons-calendar":return React.createElement("g",null,React.createElement("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z"}));case"gridicons-cart":return React.createElement("g",null,React.createElement("path",{d:"M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z"}));case"gridicons-checkmark":return React.createElement("g",null,React.createElement("path",{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"}));case"gridicons-chevron-left":return React.createElement("g",null,React.createElement("path",{d:"M16.443 7.41L15.0399 6L9.06934 12L15.0399 18L16.443 16.59L11.8855 12L16.443 7.41Z"}));case"gridicons-chevron-right":return React.createElement("g",null,React.createElement("path",{d:"M10.2366 6L8.8335 7.41L13.391 12L8.8335 16.59L10.2366 18L16.2072 12L10.2366 6Z"}));case"gridicons-chevron-down":return React.createElement("g",null,React.createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return React.createElement("g",null,React.createElement("path",{d:"M3 6v9c0 1.105.895 2 2 2h9v5l5.325-3.804c1.05-.75 1.675-1.963 1.675-3.254V6c0-1.105-.895-2-2-2H5c-1.105 0-2 .895-2 2z"}));case"gridicons-computer":return React.createElement("g",null,React.createElement("path",{d:"M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"}));case"gridicons-cross":return React.createElement("g",null,React.createElement("path",{d:"M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z"}));case"gridicons-filter":return React.createElement("g",null,React.createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return React.createElement("g",null,React.createElement("path",{d:"M18 19H6c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2z"}));case"gridicons-image":return React.createElement("g",null,React.createElement("path",{d:"M13 9.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5-.672 1.5-1.5 1.5-1.5-.672-1.5-1.5zM22 6v12c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h16c1.105 0 2 .895 2 2zm-2 0H4v7.444L8 9l5.895 6.55 1.587-1.85c.798-.932 2.24-.932 3.037 0L20 15.426V6z"}));case"gridicons-image-multiple":return React.createElement("g",null,React.createElement("path",{d:"M15 7.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5S17.328 9 16.5 9 15 8.328 15 7.5zM4 20h14c0 1.105-.895 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.105.895-2 2-2v14zM22 4v12c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zM8 4v6.333L11 7l4.855 5.395.656-.73c.796-.886 2.183-.886 2.977 0l.513.57V4H8z"}));case"gridicons-info":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}));case"gridicons-info-outline":return React.createElement("g",null,React.createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"}));case"gridicons-jetpack-search":return React.createElement("g",null,React.createElement("path",{d:"M0 9.257C0 4.15 4.151 0 9.257 0c5.105 0 9.256 4.151 9.256 9.257a9.218 9.218 0 01-2.251 6.045l.034.033h1.053L24 22.01l-1.986 1.989-6.664-6.662v-1.055l-.033-.033a9.218 9.218 0 01-6.06 2.264C4.15 18.513 0 14.362 0 9.257zm4.169 1.537h4.61V1.82l-4.61 8.973zm5.547-3.092v8.974l4.61-8.974h-4.61z"}));case"gridicons-phone":return React.createElement("g",null,React.createElement("path",{d:"M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"}));case"gridicons-pages":return React.createElement("g",null,React.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"}));case"gridicons-posts":return React.createElement("g",null,React.createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return React.createElement("g",null,React.createElement("path",{d:"M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"}));case"gridicons-star-outline":return React.createElement("g",null,React.createElement("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"}));case"gridicons-star":return React.createElement("g",null,React.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"}));case"gridicons-tag":return React.createElement("g",null,React.createElement("path",{d:"M20 2.007h-7.087c-.53 0-1.04.21-1.414.586L2.592 11.5c-.78.78-.78 2.046 0 2.827l7.086 7.086c.78.78 2.046.78 2.827 0l8.906-8.906c.376-.374.587-.883.587-1.413V4.007c0-1.105-.895-2-2-2zM17.007 9c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2z"}));case"gridicons-video":return React.createElement("g",null,React.createElement("path",{d:"M20 4v2h-2V4H6v2H4V4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2v-2h2v2h12v-2h2v2c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 16H4v-3h2v3zm0-5H4V8h2v3zm4 4V9l4.5 3-4.5 3zm10 1h-2v-3h2v3zm0-5h-2V8h2v3z"}));case"gridicons-lock":return React.createElement(React.Fragment,null,React.createElement("g",{id:"lock"},React.createElement("path",{d:"M18,8h-1V7c0-2.757-2.243-5-5-5S7,4.243,7,7v1H6c-1.105,0-2,0.895-2,2v10c0,1.105,0.895,2,2,2h12c1.105,0,2-0.895,2-2V10 C20,8.895,19.105,8,18,8z M9,7c0-1.654,1.346-3,3-3s3,1.346,3,3v1H9V7z M13,15.723V18h-2v-2.277c-0.595-0.346-1-0.984-1-1.723 c0-1.105,0.895-2,2-2s2,0.895,2,2C14,14.738,13.595,15.376,13,15.723z"})),React.createElement("g",{id:"Layer_1"}))}}render(){const{size:e=24,className:t=""}=this.props,n=this.props.height||e,a=this.props.width||e,r=this.props.style||{height:n,width:a},o="gridicons-"+this.props.icon,s=c()("gridicon",o,t,{"needs-offset":this.needsOffset(o,e)}),i=this.getSVGDescription(o);return React.createElement("svg",{className:s,focusable:this.props.focusable,height:n,onClick:this.props.onClick,style:r,viewBox:"0 0 24 24",width:a,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},i?React.createElement("desc",null,i):null,this.renderIcon(o))}}r()(l,"defaultProps",{"aria-hidden":"false",focusable:"true"});const u=l},3396:(e,t,n)=>{"use strict";n.d(t,{W1:()=>d,oQ:()=>u});var a=n(2674),r=n.n(a),o=n(5609),s=n(5235),c=n.n(s),i=n(5612);const l=e=>{let{className:t,size:n=24,viewBox:a="0 0 24 24",opacity:s=1,color:l="#2C3338",children:u}=e;const d={className:c()(i.Z.iconWrapper,t),width:n,height:n,viewBox:a,opacity:s,fill:void 0};return l&&(d.fill=l),React.createElement(o.SVG,r()({},d,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(o.G,{opacity:s},u))},u=e=>{let{opacity:t=1,size:n,color:a}=e;return React.createElement(l,{size:n,opacity:t,color:a},React.createElement(o.Path,{d:"M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1 s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1 c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1 c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0 L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5 l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4 c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1 c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z"}),React.createElement(o.Path,{d:"M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1 s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1 c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1 c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0 L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5 l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4 c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1 c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z"}),React.createElement(o.Path,{d:"M21.6,12.5c0,0.6-0.3,1-0.9,1c-0.6,0-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1C21.3,11.7,21.6,12.1,21.6,12.5z"}),React.createElement(o.Path,{d:"M4.1,12.5c0,0.6-0.3,1-0.9,1s-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1S4.1,12.1,4.1,12.5z"}))},d=e=>{let{opacity:t=1,size:n,color:a}=e;return React.createElement(l,{size:n,opacity:t,color:a},React.createElement(o.Path,{d:"M17.5 11.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm1.5 0a5.5 5.5 0 0 1-9.142 4.121l-3.364 2.943-.988-1.128 3.373-2.952A5.5 5.5 0 1 1 19 11.5Z"}))},p=e=>{let{className:t,fill:n="none",size:a,children:r}=e;return React.createElement(l,{className:c()(i.Z.socialIcon,t),size:a,color:n},r)}},8237:(e,t,n)=>{"use strict";n.d(t,{Z:()=>C});var a=n(2674),r=n.n(a),o=n(9818),s=n(5736),c=n(1074),i=n(5381),l=n(5235),u=n.n(l),d=n(9196),p=n.n(d),m=n(6895),h=n(428),f=n(7525),g=(n(9054),n(8868)),v=n(2054);const __=s.__,_x=s._x,E=()=>p().createElement(g.Z,{logoColor:"#000",showText:!1,height:16,"aria-hidden":"true"}),C=e=>{let{moduleName:t=__("Jetpack","jetpack-forms"),className:n,moduleNameHref:a="https://jetpack.com",menu:s,siteAdminUrl:l,onAboutClick:d,onPrivacyClick:g,onTermsClick:C,...y}=e;const[R]=(0,v.Z)("sm","<="),[b]=(0,v.Z)("md","<="),[w]=(0,v.Z)("lg",">"),{isActive:k,connectedPlugins:_}=(0,o.useSelect)((e=>{const t=e(h.t);return{connectedPlugins:t?.getConnectedPlugins(),...t.getConnectionStatus()}}),[h.t]),x=l&&k&&_?.some((e=>{let{slug:t}=e;return"jetpack"===t}));let j=[{label:_x("About","Link to learn more about Jetpack.","jetpack-forms"),title:__("About Jetpack","jetpack-forms"),href:x?new URL("admin.php?page=jetpack_about",l).href:(0,m.Z)("jetpack-about"),target:"_blank",onClick:d},{label:_x("Privacy","Shorthand for Privacy Policy.","jetpack-forms"),title:__("Automattic's Privacy Policy","jetpack-forms"),href:x?new URL("admin.php?page=jetpack#/privacy",l).href:(0,m.Z)("a8c-privacy"),target:x?"_self":"_blank",onClick:g},{label:_x("Terms","Shorthand for Terms of Service.","jetpack-forms"),title:__("WordPress.com Terms of Service","jetpack-forms"),href:(0,m.Z)("wpcom-tos"),target:"_blank",onClick:C}];s&&(j=[...j,...s]);const S=p().createElement(p().Fragment,null,p().createElement(E,null),t);return p().createElement("footer",r()({className:u()("jp-dashboard-footer",{"is-sm":R,"is-md":b,"is-lg":w},n),"aria-label":__("Jetpack","jetpack-forms")},y),p().createElement("ul",null,p().createElement("li",{className:"jp-dashboard-footer__jp-item"},a?p().createElement("a",{href:a},S):S),j.map((e=>{const t="button"===e.role,n=!t&&"_blank"===e.target;return p().createElement("li",{key:e.label},p().createElement("a",{href:e.href,title:e.title,target:e.target,onClick:e.onClick,onKeyDown:e.onKeyDown,className:u()("jp-dashboard-footer__menu-item",{"is-external":n}),role:e.role,rel:n?"noopener noreferrer":void 0,tabIndex:t?0:void 0},e.label,n&&p().createElement(c.Z,{icon:i.Z,size:16})))})),p().createElement("li",{className:"jp-dashboard-footer__a8c-item"},p().createElement("a",{href:x?new URL("admin.php?page=jetpack_about",l).href:(0,m.Z)("a8c-about"),"aria-label":__("An Automattic Airline","jetpack-forms")},p().createElement(f.Z,{"aria-hidden":"true"})))))}},8868:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(2674),r=n.n(a),o=n(5736),s=n(5235),c=n.n(s),i=n(9196),l=n.n(i);const __=o.__,u=e=>{let{logoColor:t="#069e08",showText:n=!0,className:a,height:o=32,...s}=e;const i=n?"0 0 118 32":"0 0 32 32";return l().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:i,className:c()("jetpack-logo",a),"aria-labelledby":"jetpack-logo-title",height:o},s),l().createElement("desc",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-forms")),l().createElement("path",{fill:t,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),n&&l().createElement(l().Fragment,null,l().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),l().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),l().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),l().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),l().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),l().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),l().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},2054:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(4333),r=n(3247);const o=["sm","md","lg"],s=(e,t)=>{const n=Array.isArray(e)?e:[e],s=Array.isArray(t)?t:[t],[c,i,l]=o,u={sm:(0,a.useMediaQuery)(r.Z[c]),md:(0,a.useMediaQuery)(r.Z[i]),lg:(0,a.useMediaQuery)(r.Z[l])};return n.map(((e,t)=>{const n=s[t];return n?((e,t,n)=>{const a=o.indexOf(e),r=a+1,s=t.includes("=");let c=[];return t.startsWith("<")&&(c=o.slice(0,s?r:a)),t.startsWith(">")&&(c=o.slice(s?a:r)),c?.length?c.some((e=>n[e])):n[e]})(e,n,u):u[e]}))}},6895:(e,t,n)=>{"use strict";function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let a;if("undefined"!=typeof window&&(a=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);for(const e in t)n[e]=encodeURIComponent(t[e]);!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),a&&(n.calypso_env=a);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{Z:()=>a})},1132:(e,t,n)=>{let a={};try{a=n(1158)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),a={missingConfig:!0}}const r=e=>a.hasOwnProperty(e);e.exports={jetpackConfigHas:r,jetpackConfigGet:e=>{if(!r(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return a[e]}}},7523:(e,t,n)=>{"use strict";n.d(t,{LI:()=>o,N4:()=>c,Qo:()=>d,T1:()=>l,TS:()=>u,ZP:()=>b,b5:()=>m,i6:()=>r,qJ:()=>h,qV:()=>i,r7:()=>s,wQ:()=>p});var a=n(4743);const r="SET_CONNECTION_STATUS",o="SET_CONNECTION_STATUS_IS_FETCHING",s="SET_SITE_IS_REGISTERING",c="SET_USER_IS_CONNECTING",i="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",u="SET_AUTHORIZATION_URL",d="DISCONNECT_USER_SUCCESS",p="SET_CONNECTED_PLUGINS",m="SET_CONNECTION_ERRORS",h="SET_IS_OFFLINE_MODE",f=e=>({type:r,connectionStatus:e}),g=e=>({type:s,isRegistering:e}),v=e=>({type:c,isConnecting:e}),E=e=>({type:i,registrationError:e}),C=()=>({type:l}),y=e=>({type:u,authorizationUrl:e}),R=e=>({type:p,connectedPlugins:e});const b={setConnectionStatus:f,setConnectionStatusIsFetching:e=>({type:o,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:g,setUserIsConnecting:v,setRegistrationError:E,clearRegistrationError:C,setAuthorizationUrl:y,registerSite:function(e){let{registrationNonce:t,redirectUri:n}=e;return function*(){yield C(),yield g(!0);try{const e=yield{type:"REGISTER_SITE",registrationNonce:t,redirectUri:n};return yield f({isRegistered:!0}),yield y(e.authorizeUrl),yield g(!1),Promise.resolve(e)}catch(e){return yield E(e),yield g(!1),Promise.reject(e)}}()},connectUser:function(){let{from:e,redirectFunc:t,redirectUri:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function*(){yield v(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:n}}()},disconnectUserSuccess:()=>({type:d}),setConnectedPlugins:R,refreshConnectedPlugins:()=>async e=>{let{dispatch:t}=e;return await new Promise((e=>a.ZP.fetchConnectedPlugins().then((n=>{t(R(n)),e(n)}))))},setConnectionErrors:e=>({type:m,connectionErrors:e}),setIsOfflineMode:e=>({type:h,isOfflineMode:e})}},1432:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(4743),r=n(9818),o=n(7057);const s={FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:t}=e;return a.ZP.fetchAuthorizationUrl(t)},REGISTER_SITE:e=>{let{registrationNonce:t,redirectUri:n}=e;return a.ZP.registerSite(t,n)},CONNECT_USER:(0,r.createRegistryControl)((e=>{let{resolveSelect:t}=e;return function(){let{from:e,redirectFunc:n,redirectUri:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((r,s)=>{t(o.Z).getAuthorizationUrl(a).then((t=>{const a=n||(e=>window.location.assign(e)),o=new URL(t);e&&o.searchParams.set("from",encodeURIComponent(e));const s=o.toString();a(s),r(s)})).catch((e=>{s(e)}))}))}}))}},1479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9818),r=n(7523);const o=(0,a.combineReducers)({connectionStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.i6:return{...e,...t.connectionStatus};case r.Qo:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.LI?t.isFetching:e},siteIsRegistering:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.r7?t.isRegistering:e},userIsConnecting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.N4?t.isConnecting:e},registrationError:(e,t)=>{switch(t.type){case r.T1:return!1;case r.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===r.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===r.wQ?t.connectedPlugins:e},connectionErrors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===r.b5?t.connectionErrors:e},isOfflineMode:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.qJ?t.isConnecting:e}})},7728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(9818),r=n(7523),o=n(7057);const s={...{getAuthorizationUrl:{isFulfilled:function(e){const t=Boolean(e.authorizationUrl);for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s{"use strict";n.d(t,{Z:()=>a});const a={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},3535:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(17),r=n.n(a),o=n(9818);class s{static mayBeInit(e,t){null===s.store&&(s.store=(0,o.createReduxStore)(e,t),(0,o.register)(s.store))}}r()(s,"store",null);const c=s},7057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a="jetpack-connection"},428:(e,t,n)=>{"use strict";n.d(t,{t:()=>l.Z});var a=n(7523),r=n(1432),o=n(1479),s=n(7728),c=n(2725),i=n(3535),l=n(7057);const u=window.JP_CONNECTION_INITIAL_STATE;u||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),i.Z.mayBeInit(l.Z,{__experimentalUseThunks:!0,reducer:o.Z,actions:a.ZP,selectors:c.Z,resolvers:s.Z,controls:r.Z,initialState:u||{}})},3419:(e,t,n)=>{"use strict";n.d(t,{Ug:()=>a.Ug,Wp:()=>a.Wp});var a=n(9505);n(6714),n(354),n(5404),n(1053),n(1380),n(6342)},6342:(e,t,n)=>{"use strict";n(9196)},1053:(e,t,n)=>{"use strict";var a=n(6975);n(9307);const{tracks:r}=a.Z,{recordEvent:o}=r},1380:(e,t,n)=>{"use strict";n(6989),n(9307)},5404:(e,t,n)=>{"use strict";var a=n(5736);n(6483),n(2819);const __=a.__;__("Upgrade your plan to use video covers","jetpack-forms"),__("Upgrade your plan to upload audio","jetpack-forms")},6714:(e,t,n)=>{"use strict";n(8817)},9505:(e,t,n)=>{"use strict";function a(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function r(){return"simple"===a()}function o(){return"atomic"===a()}n.d(t,{Ug:()=>o,Wp:()=>r})},354:(e,t,n)=>{"use strict";n(2674),n(4333)},1370:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(1074),r=n(6936);const o=e=>{let{children:t,summary:n}=e;return React.createElement("details",{className:"jp-forms__details"},React.createElement("summary",{className:"jp-forms__details-summary"},React.createElement(a.Z,{className:"jp-forms__details-icon",icon:r.Z,size:32}),React.createElement("span",null,n)),React.createElement("div",{className:"jp-forms__details-content"},t," "))}},7069:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(5609),r=n(9307),o=n(2229),s=n(2819);const c=e=>{let{options:t=[],onChange:n=s.noop,value:c}=e;const i=(0,r.useMemo)((()=>{if((0,s.isNil)(c)){const e=(0,s.first)(t);return e?.label||""}return(0,s.find)(t,(e=>e.value===c))?.label||""}),[t,c]),l=(0,r.useCallback)(((e,t)=>()=>{n(e.value),t()}),[n]);return React.createElement(a.DropdownMenu,{text:i,icon:o.Z,popoverProps:{placement:"bottom-end"},toggleProps:{variant:"secondary",iconPosition:"right"}},(e=>{let{onClose:n}=e;return React.createElement(a.MenuGroup,null,(0,s.map)(t,(e=>React.createElement(a.MenuItem,{key:e.value,onClick:l(e,n)},e.label))))}))}},1269:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(8237),r=n(5736),o=n(5235),s=n.n(o),c=n(3446);const __=r.__,i=e=>{let{children:t,className:n,title:r,subtitle:o,showFooter:i}=e;const l=s()("jp-forms__layout",n);return React.createElement("div",{className:l},React.createElement("div",{className:"jp-forms__logo-wrapper"},React.createElement(c.Z,null)),(r||o)&&React.createElement("div",{className:"jp-forms__layout-header"},r&&React.createElement("h2",{className:"jp-forms__layout-title"},r),o&&React.createElement("p",{className:"jp-forms__header-subtext"},o)),t,i&&React.createElement(a.Z,{className:"jp-forms__layout-footer",moduleName:__("Jetpack Forms","jetpack-forms")}))}},3446:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=()=>React.createElement("svg",{className:"jp-forms__logo",width:"330",height:"42",viewBox:"0 0 330 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M21.0008 42C32.5991 42 42.0016 32.5975 42.0016 20.9992C42.0016 9.40089 32.5991 0 21.0008 0C9.40245 0 0 9.40245 0 21.0008C0 32.5991 9.40245 42 21.0008 42Z",fill:"#069E08"}),React.createElement("path",{d:"M22.043 17.4727V37.8312L32.5434 17.4727H22.043V17.4727Z",fill:"white"}),React.createElement("path",{d:"M19.9189 24.4876V4.16797L9.45898 24.4876H19.9189Z",fill:"white"}),React.createElement("path",{d:"M54.2231 34.8656C53.6213 33.9434 53.0614 33.0228 52.5 32.141C55.4657 30.337 56.4672 28.8954 56.4672 26.1692V10.4186H52.9805V7.41406H60.3955V25.3683C60.3955 29.9373 59.0736 32.5018 54.2231 34.8656Z",fill:"black"}),React.createElement("path",{d:"M85.2845 24.1241C85.2845 25.6466 86.3668 25.8067 87.0884 25.8067C87.81 25.8067 88.852 25.5657 89.6529 25.3262V28.1317C88.5301 28.4925 87.3684 28.7724 85.765 28.7724C83.8413 28.7724 81.5972 28.0508 81.5972 24.6839V16.4276H79.5537V13.5817H81.5972V9.375H85.2845V13.5832H89.9328V16.4292H85.2845V24.1241Z",fill:"black"}),React.createElement("path",{d:"M92.9785 36.2696V13.5458H96.5056V14.9081C97.9083 13.8257 99.4713 13.1445 101.395 13.1445C104.721 13.1445 107.367 15.4695 107.367 20.4786C107.367 25.4489 104.482 28.7349 99.7123 28.7349C98.5506 28.7349 97.6284 28.5748 96.6658 28.3741V36.2292H92.9785V36.2696V36.2696ZM100.432 16.1911C99.35 16.1911 97.9877 16.7121 96.7047 17.8349V25.5702C97.5056 25.7304 98.3485 25.8501 99.4697 25.8501C102.075 25.8501 103.558 24.2063 103.558 20.7601C103.558 17.5938 102.476 16.1911 100.432 16.1911Z",fill:"black"}),React.createElement("path",{d:"M121.873 28.413H118.427V26.7692H118.346C117.144 27.6914 115.661 28.6929 113.457 28.6929C111.533 28.6929 109.449 27.2902 109.449 24.4443C109.449 20.6373 112.695 19.9157 114.979 19.5953L118.225 19.1552V18.7151C118.225 16.7105 117.424 16.0698 115.539 16.0698C114.617 16.0698 112.454 16.3497 110.69 17.0713L110.37 14.1056C111.973 13.5442 114.177 13.1445 116.021 13.1445C119.628 13.1445 121.953 14.5877 121.953 18.8753V28.413H121.873V28.413ZM118.186 21.4801L115.14 21.9607C114.217 22.0804 113.256 22.6418 113.256 24.0042C113.256 25.2063 113.937 25.8875 114.939 25.8875C116.021 25.8875 117.183 25.2467 118.185 24.5251V21.4801H118.186Z",fill:"black"}),React.createElement("path",{d:"M137.104 27.9325C135.581 28.4535 134.219 28.7738 132.494 28.7738C126.964 28.7738 124.759 25.6075 124.759 20.9996C124.759 16.1506 127.805 13.1445 132.734 13.1445C134.576 13.1445 135.699 13.4649 136.942 13.8661V16.992C135.859 16.5907 134.297 16.1506 132.774 16.1506C130.53 16.1506 128.606 17.3528 128.606 20.799C128.606 24.606 130.53 25.7693 132.975 25.7693C134.136 25.7693 135.419 25.5282 137.142 24.8471V27.9325H137.104Z",fill:"black"}),React.createElement("path",{d:"M144.077 19.9579C144.397 19.5971 144.638 19.2363 149.286 13.5849H154.095L148.083 20.6391L154.655 28.4537H149.846L144.115 21.3996V28.4537H140.43V7.41406H144.117V19.9579H144.077Z",fill:"black"}),React.createElement("path",{d:"M76.7863 27.934C74.8626 28.5359 73.2188 28.7754 71.2951 28.7754C66.5659 28.7754 63.6406 26.4115 63.6406 20.8799C63.6406 16.8318 66.1258 13.1445 70.8939 13.1445C75.6231 13.1445 77.2669 16.4306 77.2669 19.5564C77.2669 20.5984 77.186 21.1598 77.1471 21.7601H67.6094C67.6902 25.0057 69.5331 25.7677 72.2982 25.7677C73.8207 25.7677 75.183 25.4069 76.7475 24.8455V27.9309H76.7863V27.934ZM73.421 19.3169C73.421 17.513 72.8191 15.95 70.8565 15.95C69.0137 15.95 67.8909 17.2719 67.6498 19.3169H73.421V19.3169Z",fill:"black"}),React.createElement("path",{d:"M167.332 29V19.8447H176.692V17.501H167.332V10.2354H177.527V7.8623H164.695V29H167.332ZM186.59 29.2783C191.087 29.2783 193.871 26.1729 193.871 21.1045C193.871 16.0215 191.087 12.9307 186.59 12.9307C182.093 12.9307 179.31 16.0215 179.31 21.1045C179.31 26.1729 182.093 29.2783 186.59 29.2783ZM186.59 27.0078C183.602 27.0078 181.917 24.8398 181.917 21.1045C181.917 17.3545 183.602 15.2012 186.59 15.2012C189.579 15.2012 191.263 17.3545 191.263 21.1045C191.263 24.8398 189.579 27.0078 186.59 27.0078ZM196.386 29H198.905V19.2148C198.905 16.9883 200.648 15.377 203.051 15.377C203.549 15.377 204.457 15.4648 204.662 15.5234V13.0039C204.34 12.96 203.812 12.9307 203.402 12.9307C201.307 12.9307 199.491 14.0146 199.022 15.5527H198.788V13.209H196.386V29ZM206.664 29H209.184V19.2148C209.184 16.9883 210.781 15.2012 212.846 15.2012C214.838 15.2012 216.142 16.4023 216.142 18.2773V29H218.661V18.8486C218.661 16.8418 220.126 15.2012 222.324 15.2012C224.55 15.2012 225.649 16.3438 225.649 18.6729V29H228.168V18.0869C228.168 14.7764 226.367 12.9307 223.144 12.9307C220.961 12.9307 219.159 14.0293 218.31 15.6992H218.076C217.343 14.0586 215.849 12.9307 213.71 12.9307C211.601 12.9307 210.019 13.9414 209.301 15.6992H209.067V13.209H206.664V29ZM230.962 17.5303C230.962 19.8154 232.309 21.0898 235.268 21.8076L237.978 22.4668C239.663 22.877 240.483 23.6094 240.483 24.6934C240.483 26.1436 238.96 27.1543 236.836 27.1543C234.814 27.1543 233.554 26.3047 233.13 24.9717H230.537C230.815 27.5938 233.232 29.2783 236.748 29.2783C240.337 29.2783 243.076 27.3301 243.076 24.5029C243.076 22.2324 241.64 20.9434 238.667 20.2256L236.235 19.6396C234.375 19.1855 233.496 18.5117 233.496 17.4277C233.496 16.0215 234.961 15.0693 236.836 15.0693C238.74 15.0693 239.97 15.9043 240.307 17.1641H242.798C242.461 14.5713 240.161 12.9307 236.85 12.9307C233.496 12.9307 230.962 14.9082 230.962 17.5303Z",fill:"black"}))},63:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(7172),r=n(9307),o=n(5736),s=n(2819),c=n(1832);const __=o.__,i=e=>{let{currentPage:t,expandedRange:n=3,onSelectPage:o,pages:i}=e;const l=(0,r.useCallback)((()=>o(t-1)),[t,o]),u=(0,r.useCallback)((()=>o(t+1)),[t,o]),d=(0,s.range)(Math.max(0,t-n+1),Math.min(i,t+n-1)+1),p=(0,s.filter)((0,s.flatten)([nisFinite(e)?React.createElement(c.Z,{key:e,className:"jp-forms__page-navigation-button",active:e===t,page:e,onSelect:o}):React.createElement("button",{key:`placeholder-${n}`,className:"jp-forms__page-navigation-placeholder",disabled:!0},"…"))),React.createElement("button",{disabled:t===i,className:"jp-forms__page-navigation-button",onClick:u},__("Next","jetpack-forms"),React.createElement(a.Z,{icon:"arrow-right",size:18})))}},1832:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(9307),r=n(5235),o=n.n(r);const s=e=>{let{active:t,className:n,page:r,onSelect:s}=e;const c=o()("jp-forms__page-navigation-page-number",n,{"is-active":t}),i=(0,a.useCallback)((()=>s(r)),[r,s]);return React.createElement("button",{className:c,onClick:i},r)}},5072:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(9507);const r=e=>{let{initialValue:t,loading:n,onSearch:r}=e;return React.createElement("div",{className:"jp-forms__actions-search"},React.createElement(a.Z,{initialValue:t,loading:n,onSearch:r}))}},9507:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var a=n(2674),r=n.n(a),o=n(3396),s=n(5609),c=n(4333),i=n(9307),l=n(5736),u=n(1074),d=n(6163),p=n(5235),m=n.n(p),h=n(2819);const __=l.__,f=e=>{let{className:t,disabled:n=!1,endAdornment:a=null,icon:o=null,loading:c=!1,...i}=e;return React.createElement("div",{className:m()(t,"input-wrapper",{disabled:n})},React.createElement(React.Fragment,null,(c||o)&&React.createElement("div",{className:m()("icon-wrapper",{loader:c})},c?React.createElement(s.Spinner,null):o),React.createElement("input",r()({"aria-disabled":n,className:m()("input",{"with-icon":null!==o}),disabled:n,type:"text"},i)),a))},g=e=>{let{initialValue:t,loading:n,placeholder:a=__("Search responses","jetpack-forms"),onSearch:s=h.noop,wait:l=500,...p}=e;const[g,v]=(0,i.useState)(t),E=(0,c.useDebounce)(s,l),C=(0,i.useCallback)((e=>{v(e.target.value),E(e.target.value)}),[E]),y=(0,i.useCallback)((e=>{["Enter","NumpadEnter"].includes(e.code)&&s(e.currentTarget.value)}),[s]),R=(0,i.useCallback)((()=>{v(""),s("")}),[s]);return React.createElement(f,r()({},p,{icon:React.createElement(o.W1,{size:24}),loading:n,placeholder:a,onChange:C,onKeyUp:y,value:g,endAdornment:React.createElement("div",{className:m()("icon-wrapper",{hidden:!g})},React.createElement(u.Z,{icon:d.Z,onClick:R,className:m()("clear-icon")}))}))}},1031:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(2674),r=n.n(a),o=n(9307),s=n(8795),c=n(7598);const i=(0,o.forwardRef)(((e,t)=>{let{activeViewKey:n,children:a,duration:i,...l}=e;const[u,d]=(0,o.useState)(n),[p,m]=(0,o.useState)(0),h=(0,o.useRef)(),f=(0,o.useRef)();(0,o.useEffect)((()=>{u!==n&&(d(n),m(0===p?1:0))}),[p,n,a,m,d,u]);const g=(0,o.useMemo)((()=>n===u?0===p?h:f:0===p?f:h),[p,n,u,h,f]),v=(0,o.useCallback)((e=>{t&&(t.current=e),g.current=e}),[g,t]);return React.createElement(s.Z,{component:null},React.createElement(c.Z,{key:n,nodeRef:g,timeout:i,mountOnEnter:!0,unmountOnExit:!0},React.createElement("div",r()({ref:v},l),a)))}))},9414:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(9307),r=n(5235),o=n.n(r),s=n(2819),c=n(8795),i=n(7598),l=n(1673);const u=(e,t)=>`table-row-${e.isLoading?`${t}-loading`:e.id}`,d=e=>{let{className:t,columns:n,items:r,rowAnimationTimeout:d=0,selectedResponses:p=[],setSelectedResponses:m}=e;const{current:h}=(0,a.useRef)({});(0,a.useEffect)((()=>{(0,s.forEach)(r,(e=>{h[u(e)]||(h[u(e)]=(0,a.createRef)())}))}),[r,h]);const f=(0,a.useCallback)((e=>{const t=(0,s.includes)(p,e)?(0,s.without)(p,e):[...p,e];m(t)}),[p,m]),g=(0,a.useCallback)((()=>{if(0===(0,s.difference)((0,s.map)(r,"id"),p).length)return void m([]);const e=(0,s.map)(r,"id");m(e)}),[r,p,m]),v=o()("jp-forms__table",t),E=o()("jp-forms__table-checkbox",{"is-intermediate":0!==p.length&&p.length!==r.length});return React.createElement("div",{className:v},React.createElement("div",{className:"jp-forms__table-header"},!!m&&React.createElement("div",{className:"jp-forms__table-cell is-select"},React.createElement("input",{className:E,onChange:g,type:"checkbox",checked:0===(0,s.difference)((0,s.map)(r,"id"),p).length})),(0,s.map)(n,(e=>{let{label:t,key:n}=e;const a=o()("jp-forms__table-cell",`is-${(0,s.kebabCase)(n)}`);return React.createElement("div",{key:`table-header-${n}`,className:a},t)}))),React.createElement(c.Z,{component:null},(0,s.map)(r,((e,t)=>React.createElement(i.Z,{key:u(e,t),nodeRef:h[u(e,t)],mountOnEnter:!!d,mountOnExit:!!d,timeout:d},React.createElement(l.Z,{ref:h[u(e,t)],columns:n,item:e,isSelected:(0,s.includes)(p,e.id),onSelectChange:m&&f}))))))}},1673:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(9307),r=n(5235),o=n.n(r),s=n(2819);const c=e=>e.stopPropagation(),i=(0,a.forwardRef)(((e,t)=>{let{columns:n,item:r,isSelected:i,onSelectChange:l}=e;const u=(0,a.useCallback)((()=>l(r.id)),[r.id,l]),d=o()("jp-forms__table-item",r.className,{"is-active":!r.isLoading&&r.isActive,"is-clickable":!r.isLoading&&r.onClick,"is-loading":r.isLoading,"is-selected":!r.isLoading&&i});return React.createElement("div",{ref:t,className:d,onClick:r.onClick},!!l&&React.createElement("div",{className:"jp-forms__table-cell is-select"},!r.isLoading&&React.createElement("input",{className:"jp-forms__table-checkbox",type:"checkbox",onClick:c,onChange:u,checked:i})),(0,s.map)(n,((e,t)=>{let{additionalClassNames:n,getValue:a,key:c}=e;const i=a?a(r):r[c],l=o()("jp-forms__table-cell",`is-${(0,s.kebabCase)(c)}`,n);return r.isLoading?React.createElement("div",{key:`table-${c}-${t}-loading`,className:l}):React.createElement("div",{key:`table-${c}-${r.id}`,className:l},i)})))}))},6219:(e,t,n)=>{"use strict";n.d(t,{j:()=>c,k:()=>i});var a=n(6989),r=n.n(a),o=n(2629),s=n(2819);const c=e=>{const t=new URLSearchParams((0,s.pick)((0,s.omitBy)(e,s.isNil),["limit","offset","search","status","parent_id","month"])).toString();return r()({path:`/wpcom/v2/forms/responses?${t}`}).then((e=>({...e,responses:e.responses.map((e=>({...e,author_name:(0,o.decodeEntities)(e.author_name),entry_title:(0,o.decodeEntities)(e.entry_title),fields:(0,s.mapValues)(e.fields,(e=>(0,o.decodeEntities)(e)))})))})))},i=(e,t)=>r()({path:"/wpcom/v2/forms/responses/bulk_actions",method:"POST",data:{action:t,post_ids:e}})},1792:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var a=n(3396),r=n(5609),o=n(9818),s=n(9307),c=n(5736),i=n(4340),l=n(6219),u=n(5848),d=n(4627),p=n(8057);const __=c.__,m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=new FormData;return t.append("action","grunion_recheck_queue"),t.append(`jetpack_check_feedback_spam_${(0,i.v)("blogId")}`,(0,i.v)("checkForSpamNonce")),t.append("offset",e),t.append("limit",100),fetch(window.ajaxurl,{method:"POST",body:t}).then((e=>e.json())).then((t=>{if(!(t.processed<100))return m(e+100)}))},h=e=>{let{currentView:t,selectedResponses:n,setSelectedResponses:c}=e;const[i,h]=(0,s.useState)(!1),{addTabTotals:f,fetchResponses:g,removeResponses:v,setLoading:E}=(0,o.useDispatch)(u.G),{currentPage:C,query:y}=(0,p.W)(),R=(0,s.useCallback)((()=>{h(!0),m().finally((()=>{h(!1),g(y)}))}),[g,h,y]),b=e=>async()=>{try{E(!0),c([]),v(n),f({[t]:-n.length,[d.Z3[e]]:n.length}),await(0,l.k)(n,e),await g({...y,limit:d.QO,offset:(C-1)*d.QO},{append:!0}),E(!1)}catch(e){E(!1)}};return React.createElement(React.Fragment,null,t!==d.G7.trash&&React.createElement(r.Button,{onClick:b(d.aO.moveToTrash),variant:"secondary"},__("Move to trash","jetpack-forms")),t===d.G7.trash&&React.createElement(r.Button,{onClick:b(d.aO.removeFromTrash),variant:"secondary"},__("Remove from trash","jetpack-forms")),t!==d.G7.spam&&React.createElement(r.Button,{onClick:b(d.aO.markAsSpam),variant:"secondary"},__("Mark as spam","jetpack-forms")),t===d.G7.spam&&React.createElement(r.Button,{onClick:b(d.aO.markAsNotSpam),variant:"secondary"},__("Not spam","jetpack-forms")),t===d.G7.inbox&&n.length>0&&React.createElement(r.Button,{className:"jp-forms__check-for-spam",disabled:i,variant:"secondary",onClick:R},i?React.createElement(r.Spinner,null):React.createElement(a.oQ,null),__("Check for spam","jetpack-forms")))}},4627:(e,t,n)=>{"use strict";n.d(t,{G7:()=>r,QO:()=>a,Z3:()=>s,aO:()=>o});const a=50,r={inbox:"inbox",spam:"spam",trash:"trash"},o={moveToTrash:"trash",removeFromTrash:"untrash",delete:"delete",markAsSpam:"mark_as_spam",markAsNotSpam:"mark_as_not_spam"},s={[o.moveToTrash]:r.trash,[o.removeFromTrash]:r.inbox,[o.markAsSpam]:r.spam,[o.markAsNotSpam]:r.inbox}},9242:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(9307),r=n(5736),o=n(5235),s=n.n(o),c=n(5581);const __=r.__,i=e=>{let{onExport:t}=e;const n=(0,a.useCallback)((()=>{t("feedback_export","feedback_export_nonce_csv").then((async e=>{const t=await e.blob(),n=document.createElement("a");n.href=window.URL.createObjectURL(t);const a=e.headers.get("Content-Disposition");n.download=a.split("filename=")[1]||"Jetpack Form Responses.csv",document.body.appendChild(n),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(n.href)}))}),[t]),r=s()("button","export-button","export-csv",{"button-primary":!(0,c.GN)()});return React.createElement("div",{className:"jp-forms__export-modal-card"},React.createElement("div",{className:"jp-forms__export-modal-card-header"},React.createElement("svg",{width:"22",height:"20",viewBox:"0 0 22 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2309 5.04199L10.0797 2.73945C9.98086 2.54183 9.77887 2.41699 9.55792 2.41699H2.83333C2.51117 2.41699 2.25 2.67816 2.25 3.00033V16.7087C2.25 17.0308 2.51117 17.292 2.83333 17.292H19.1667C19.4888 17.292 19.75 17.0308 19.75 16.7087V5.62533C19.75 5.30316 19.4888 5.04199 19.1667 5.04199H11.2309ZM12.3125 3.29199L11.6449 1.95683C11.2497 1.16633 10.4417 0.666992 9.55792 0.666992H2.83333C1.54467 0.666992 0.5 1.71166 0.5 3.00033V16.7087C0.5 17.9973 1.54467 19.042 2.83333 19.042H19.1667C20.4553 19.042 21.5 17.9973 21.5 16.7087V5.62533C21.5 4.33666 20.4553 3.29199 19.1667 3.29199H12.3125Z",fill:"#008710"})),React.createElement("div",{className:"jp-forms__export-modal-card-header-title"},__("CSV File","jetpack-forms"))),React.createElement("div",{className:"jp-forms__export-modal-card-body"},React.createElement("div",{className:"jp-forms__export-modal-card-body-description"},__("Download your form response data as a CSV file.","jetpack-forms")),React.createElement("div",{className:"jp-forms__export-modal-card-body-cta"},React.createElement("button",{className:r,onClick:n},__("Download","jetpack-forms")))))}},8477:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(9307),r=n(5736),o=n(5235),s=n.n(o),c=n(2819),i=n(4340),l=n(5581);const __=r.__,u=e=>{let{onExport:t}=e;const[n,r]=(0,a.useState)((0,i.v)("gdriveConnection")),o=(0,a.useCallback)((()=>{const e=setInterval((async()=>{if(n)clearInterval(e);else try{const t=await fetch(window.ajaxurl,{method:"POST",body:(0,c.tap)(new FormData,(e=>{e.append("action","grunion_gdrive_connection"),e.append("feedback_export_nonce_gdrive",(0,i.v)("exportNonce"))}))});if(!(await t.json()).connection)return;clearInterval(e),r(!0)}catch(t){clearInterval(e)}}),5e3)}),[n]),u=(0,a.useCallback)((()=>{t("grunion_export_to_gdrive","feedback_export_nonce_gdrive").then((e=>e.json())).then((e=>{let{data:t}=e;window.open(t.sheet_link,"_blank")}))}),[t]),d=s()("button","export-button","export-gdrive",{"button-primary":!(0,l.GN)()});return React.createElement("div",{className:"jp-forms__export-modal-card"},React.createElement("div",{className:"jp-forms__export-modal-card-header"},React.createElement("svg",{width:"18",height:"24",viewBox:"0 0 18 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M11.8387 1.16016H2C1.44772 1.16016 1 1.60787 1 2.16016V21.8053V21.8376C1 22.3899 1.44772 22.8376 2 22.8376H16C16.5523 22.8376 17 22.3899 17 21.8376V5.80532M11.8387 1.16016V5.80532H17M11.8387 1.16016L17 5.80532M4.6129 13.0311V16.1279H9.25806M4.6129 13.0311V9.93435H9.25806M4.6129 13.0311H13.9032M13.9032 13.0311V9.93435H9.25806M13.9032 13.0311V16.1279H9.25806M9.25806 9.93435V16.1279",stroke:"#008710",strokeWidth:"1.5"})),React.createElement("div",{className:"jp-forms__export-modal-card-header-title"},__("Google Sheets","jetpack-forms")),React.createElement("div",{className:"jp-forms__export-modal-card-beta-badge"},"BETA")),React.createElement("div",{className:"jp-forms__export-modal-card-body"},React.createElement("div",{className:"jp-forms__export-modal-card-body-description"},React.createElement("div",null,__("Export your data into a Google Sheets file.","jetpack-forms")," ",React.createElement("a",{href:(0,i.v)("gdriveConnectSupportURL"),title:__("Connect to Google Drive","jetpack-forms"),target:"_blank",rel:"noopener noreferrer"},__("You need to connect to Google Drive.","jetpack-forms"))),React.createElement("p",{className:"jp-forms__export-modal-card-body-description-footer"},__("This premium feature is currently free to use in beta.","jetpack-forms"))),React.createElement("div",{className:"jp-forms__export-modal-card-body-cta"},n&&React.createElement("button",{className:d,onClick:u},__("Export","jetpack-forms")),!n&&React.createElement("a",{href:(0,i.v)("gdriveConnectURL"),className:d,rel:"noopener noreferrer",target:"_blank",onClick:o},__("Connect to Google Drive","jetpack-forms")))))}},8936:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var a=n(7172),r=n(8237),o=n(9818),s=n(9307),c=n(5736),i=n(2819),l=n(4340),u=n(5848),d=n(8057),p=n(9242),m=n(8477);const __=c.__,h=e=>{let{isVisible:t,onClose:n}=e;const c=(0,s.useRef)(),h=(0,o.useSelect)((e=>e(u.G).getSelectedResponseIds()),[]),{query:f}=(0,d.W)();(0,s.useEffect)((()=>{c.current?.addEventListener("click",(e=>{e.target===c.current&&n()}))}),[t,n]);const g=(0,s.useCallback)(((e,t)=>{const n=new FormData;return n.append("action",e),n.append(t,(0,l.v)("exportNonce")),(0,i.forEach)(h,(e=>n.append("selected[]",e))),n.append("date",""),n.append("post","all"),n.append("search",f.search||""),n.append("status",f.status),fetch(window.ajaxurl,{method:"POST",body:n})}),[f,h]);return t?React.createElement("div",{ref:c,className:"jp-forms__export-modal"},React.createElement("div",{className:"jp-forms__export-modal-wrapper"},React.createElement("button",{className:"jp-forms__export-modal-close-button",onClick:n},React.createElement(a.Z,{icon:"cross",size:18})),React.createElement("div",{className:"jp-forms__export-modal-header"},React.createElement("h1",{className:"jp-forms__export-modal-header-title"},__("Export your Form Responses","jetpack-forms")),React.createElement("p",{className:"jp-forms__export-modal-header-subtitle"},__("Choose your favorite file format or export destination:","jetpack-forms"))),React.createElement("div",{className:"jp-forms__export-modal-content"},React.createElement(p.Z,{onExport:g}),React.createElement(m.Z,{onExport:g})),React.createElement(r.Z,{className:"jp-forms__export-modal-footer",moduleName:__("Jetpack Forms","jetpack-forms")}))):null}},5379:(e,t,n)=>{"use strict";n.d(t,{Z:()=>x});var a=n(5609),r=n(9818),o=n(9771),s=n(9307),c=n(5736),i=n(3259),l=n(5235),u=n.n(l),d=n(2819),p=n(6417),m=n(4340),h=n(7069),f=n(1269),g=n(5072),v=n(5848),E=n(1792),C=n(4627),y=n(8936),R=n(786),b=n(5766),w=n(8057),k=n(5581);const __=c.__,_x=c._x,_=[{name:"inbox",title:__("Inbox","jetpack-forms"),className:"jp-forms__inbox-tab-item"},{name:"spam",title:__("Spam","jetpack-forms"),className:"jp-forms__inbox-tab-item"},{name:"trash",title:_x("Trash","noun","jetpack-forms"),className:"jp-forms__inbox-tab-item"}],x=()=>{const e=(0,s.useRef)(),[t,n]=(0,s.useState)(1),[c,l]=(0,s.useState)(!1),[x,j]=(0,s.useState)(!1),S=(0,p.s0)(),{fetchResponses:N,selectResponses:M}=(0,r.useDispatch)(v.G),[L,O,Z,P,A,V,T,D]=(0,r.useSelect)((e=>[e(v.G).getQuery(),e(v.G).getMonthFilter(),e(v.G).getSourceFilter(),e(v.G).isFetchingResponses(),e(v.G).getResponses(),e(v.G).getSelectedResponseIds(),e(v.G).getTabTotals(),e(v.G).getTotalResponses()]),[]),{currentPage:F,currentResponseId:z,setCurrentPage:H,setCurrentResponseId:U,setMonthQuery:I,setSearchQuery:$,setSourceQuery:B,setStatusQuery:J,query:G}=(0,w.W)();(0,s.useEffect)((()=>{(0,m.v)("hasFeedback")||S("/landing")}),[S]),(0,s.useEffect)((()=>{N({limit:C.QO,offset:(F-1)*C.QO,...G})}),[F,N,G]),(0,s.useEffect)((()=>{z&&!P&&(0,d.isEqual)((0,d.pick)(L,(0,d.keys)(G)),G)&&!(0,d.includes)((0,d.map)(A,"id"),z)&&U(0)}),[L,z,P,A,U,G]);const W=(0,s.useMemo)((()=>A.length&&!(0,d.includes)((0,d.map)(A,"id"),z)?A[0].id:z),[z,A]);(0,s.useEffect)((()=>{const t=e.current;if(!t)return;const n=new IntersectionObserver((e=>{let[t]=e;j(!t.isIntersecting&&!P)}),{rootMargin:"-177px 0px 0px 0px",threshold:0});return n.observe(t),()=>{n.unobserve(t)}}),[e.current,P]);const q=(0,s.useCallback)((e=>{U(e),n((0,d.findIndex)(A,{id:e})-(0,d.findIndex)(A,{id:W}))}),[W,A,U]),Q=(0,s.useCallback)((e=>{e.preventDefault(),U(0)}),[U]),Y=(0,s.useCallback)((()=>l(!c)),[c,l]),K=(0,s.useMemo)((()=>_.map((e=>{let{title:t,...n}=e;return{...n,title:React.createElement(React.Fragment,null,t,T&&React.createElement("span",{className:"jp-forms__inbox-tab-item-count"},T[n.name]||0)),disabled:P}}))),[P,T]),X=(0,s.useMemo)((()=>{const e=(0,d.map)(O,(e=>{const t=new Date;return t.setDate(1),t.setMonth(e.month-1),{label:`${(0,o.dateI18n)("F",t)} ${e.year}`,value:`${e.year}${String(e.month).padStart(2,"0")}`}}));return[{label:__("All dates","jetpack-forms"),value:null},...e]}),[O]),ee=(0,s.useMemo)((()=>{const e=(0,d.map)(Z,(e=>({label:e.title,value:`${e.id}`})));return[{label:__("All sources","jetpack-forms"),value:null},...e]}),[Z]),te=(0,s.useMemo)((()=>(0,d.join)((0,d.map)((0,d.pick)(L,(0,d.keys)(G)),((e,t)=>`${t}-${e}`)),"-")),[L,G]),ne=!!V.length&&!P,ae=u()("jp-forms__inbox",{"is-response-view":!!z,"is-response-animation-reverted":t<0}),re=React.createElement(React.Fragment,null,React.createElement("span",{className:"title"},(0,k.GN)()?__("Jetpack Forms","jetpack-forms"):__("Responses","jetpack-forms")),(0,k.GN)()&&React.createElement("span",{className:"subtitle"},(0,s.createInterpolateElement)(__("Collect and manage responses from your audience. Learn more","jetpack-forms"),{a:React.createElement("a",{href:"https://jetpack.com/support/jetpack-blocks/contact-form/",rel:"noreferrer noopener",target:"_blank"})})),React.createElement("a",{className:"back-button",onClick:Q},React.createElement(a.Icon,{icon:i.Z}),__("View all responses","jetpack-forms")));return React.createElement(f.Z,{title:re,className:ae},React.createElement(a.TabPanel,{className:"jp-forms__inbox-tabs",activeClass:"active-tab",initialTabName:G.status,onSelect:J,tabs:K},(()=>React.createElement(React.Fragment,null,React.createElement("div",{className:"jp-forms__inbox-actions"},!ne&&React.createElement(React.Fragment,null,React.createElement(g.Z,{onSearch:$,initialValue:G.search,loading:P}),React.createElement(h.Z,{options:X,onChange:I,value:G.month}),React.createElement(h.Z,{options:ee,onChange:B,value:G.parent_id})),ne&&React.createElement(E.Z,{currentView:G.status,selectedResponses:V,setSelectedResponses:M}),React.createElement("button",{className:"button button-primary export-button",onClick:Y},__("Export","jetpack-forms"))),React.createElement("div",{className:"jp-forms__inbox-content"},React.createElement("div",{className:"jp-forms__inbox-content-column"},React.createElement("div",{className:"jp-forms__inbox-sticky-sentinel",ref:e}),!P&&x&&React.createElement("div",{className:"jp-forms__inbox-sticky-mark"}),React.createElement(R.Z,{key:te,currentPage:F,currentResponseId:W,currentTab:G.status,loading:P,pages:Math.ceil(D/C.QO),responses:A,selectedResponses:V,setCurrentPage:H,setCurrentResponseId:q,setSelectedResponses:M})),React.createElement("div",{className:"jp-forms__inbox-content-column"},React.createElement(b.Z,{isLoading:P,response:(0,d.find)(A,{id:W})})))))),React.createElement(y.Z,{isVisible:c,onClose:Y}))}},786:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var a=n(5609),r=n(9818),o=n(9771),s=n(9307),c=n(5736),i=n(2819),l=n(63),u=n(9414),d=n(5848),p=n(4627),m=n(8807);const __=c.__,h=[{key:"name",label:__("From","jetpack-forms")},{key:"date",label:__("Date","jetpack-forms"),getValue:e=>(0,o.dateI18n)("M j, Y",e.date)},{key:"source",label:__("Source","jetpack-forms"),getValue:e=>React.createElement(a.Button,{href:e.entry_permalink,variant:"link"},e.source)},{key:"actions",getValue:e=>React.createElement(m.Z,{id:e.id})}],f=e=>{let{currentPage:t,currentResponseId:n,currentTab:a,pages:o,responses:c,selectedResponses:m,setCurrentPage:f,setCurrentResponseId:g,setSelectedResponses:v,loading:E}=e;const C=(0,r.useSelect)((e=>e(d.G).getTabTotals()),[])[a],y=(0,s.useMemo)((()=>{const e=c.map((e=>({...e,onClick:()=>g(e.id),isActive:e.id===n})));if(E){const n=C?Math.min(p.QO,C-(t-1)*p.QO)-c.length:10;return e.concat((0,i.times)(n,(()=>({isLoading:!0}))))}return e}),[t,n,E,c,g,C]);return!E&&0===c.length||0===C?React.createElement(u.Z,{className:"jp-forms__inbox-list",columns:[{key:"empty",label:__("No results found","jetpack-forms")}],items:[]}):React.createElement(React.Fragment,null,React.createElement(u.Z,{className:"jp-forms__inbox-list",columns:h,items:y,selectedResponses:m,setSelectedResponses:v,rowAnimationTimeout:200}),o>1&&React.createElement(l.Z,{currentPage:t,pages:o,onSelectPage:f,expandedRange:2}))}},5766:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(5609),r=n(9771),o=n(9307),s=n(5736),c=n(5235),i=n.n(c),l=n(2819),u=n(1031),d=n(5581);const __=s.__,p=e=>{let{loading:t,response:n}=e;const[c,p]=(0,o.useState)(!1),m=(0,o.useRef)();(0,o.useEffect)((()=>{m.current&&(m.current.scrollTop=0)}),[n]);const h=(0,o.useCallback)((async()=>{await window.navigator.clipboard.writeText(n.author_email),p(!0),setTimeout((()=>p(!1)),3e3)}),[n,p]),f=i()("jp-forms__inbox-response-title",{"is-email":n&&!n.author_name&&n.author_email,"is-ip":n&&!n.author_name&&!n.author_email,"is-name":n&&n.author_name});return t||n?React.createElement(u.Z,{ref:m,activeViewKey:n.id,className:"jp-forms__inbox-response",duration:200},React.createElement("div",{className:"jp-forms__inbox-response-avatar"},React.createElement("img",{src:"https://gravatar.com/avatar/6e998f49bfee1a92cfe639eabb350bc5?size=68&default=identicon",alt:__("Respondent’s gravatar","jetpack-forms")})),React.createElement("h3",{className:f},(0,d.Gf)(n)),n.author_email&&(0,d.Gf)(n)!==n.author_email&&React.createElement("p",{className:"jp-forms__inbox-response-subtitle"},n.author_email,React.createElement(a.Button,{variant:"secondary",onClick:h},!c&&__("Copy","jetpack-forms"),c&&__("✓ Copied","jetpack-forms"))),React.createElement("div",{className:"jp-forms__inbox-response-meta"},React.createElement("div",{className:"jp-forms__inbox-response-meta-label"},React.createElement("span",{className:"jp-forms__inbox-response-meta-key"},__("Date:","jetpack-forms")," "),React.createElement("span",{className:"jp-forms__inbox-response-meta-value"},(0,s.sprintf)(/* Translators: %1$s is the date, %2$s is the time. */ -__("%1$s at %2$s","jetpack-forms"),(0,r.dateI18n)((0,r.getSettings)().formats.date,n.date),(0,r.dateI18n)((0,r.getSettings)().formats.time,n.date)))),React.createElement("div",{className:"jp-forms__inbox-response-meta-label"},React.createElement("span",{className:"jp-forms__inbox-response-meta-key"},__("Source:","jetpack-forms")," "),React.createElement("span",{className:"jp-forms__inbox-response-meta-value"},React.createElement(a.Button,{variant:"link",href:n.entry_permalink},n.entry_permalink))),React.createElement("div",{className:"jp-forms__inbox-response-meta-label"},React.createElement("span",{className:"jp-forms__inbox-response-meta-key\t"},__("IP address:","jetpack-forms")," "),React.createElement("span",{className:"jp-forms__inbox-response-meta-value"},n.ip))),React.createElement("div",{className:"jp-forms__inbox-response-separator"}),React.createElement("div",{className:"jp-forms__inbox-response-data"},(0,l.map)(n.fields,((e,t)=>React.createElement("div",{key:t,className:"jp-forms__inbox-response-item"},React.createElement("div",{className:"jp-forms__inbox-response-data-label"},(0,d.i5)(t),":"),React.createElement("div",{className:"jp-forms__inbox-response-data-value"},(0,d.gX)(e))))))):null}},8807:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(5609),r=n(9818),o=n(5736),s=n(6828),c=n(2646),i=n(8270),l=n(6219),u=n(5848),d=n(4627),p=n(8057);const __=o.__,_x=o._x,m=e=>{let{id:t}=e;const{addTabTotals:n,fetchResponses:o,removeResponses:m,setLoading:h}=(0,r.useDispatch)(u.G),{currentPage:f,query:g}=(0,p.W)(),v=g.status,E=v!==d.G7.trash?_x("Trash","verb","jetpack-forms"):__("Delete permanently","jetpack-forms"),C=v!==d.G7.trash?d.aO.moveToTrash:d.aO.delete,y=e=>async()=>{try{h(!0),m([t]),n({[v]:-1,[d.Z3[e]]:1}),await(0,l.k)([t],e),await o({...g,limit:d.QO,offset:(f-1)*d.QO},{append:!0}),h(!1)}catch(e){h(!1)}};return React.createElement(a.DropdownMenu,{icon:s.Z,popoverProps:{position:"bottom left"}},(()=>React.createElement(a.MenuGroup,null,v===d.G7.spam&&React.createElement(a.MenuItem,{onClick:y(d.aO.markAsNotSpam),iconPosition:"left",icon:c.Z},__("Not spam","jetpack-forms")),v===d.G7.inbox&&React.createElement(a.MenuItem,{onClick:y(d.aO.markAsSpam),iconPosition:"left",icon:React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M11 13V7H13V13H11Z"}),React.createElement("path",{d:"M11 15V17H13V15H11Z"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.75 12C20.75 16.8325 16.8325 20.75 12 20.75C7.16751 20.75 3.25 16.8325 3.25 12C3.25 7.16751 7.16751 3.25 12 3.25C16.8325 3.25 20.75 7.16751 20.75 12ZM12 19.25C16.0041 19.25 19.25 16.0041 19.25 12C19.25 7.99594 16.0041 4.75 12 4.75C7.99594 4.75 4.75 7.99594 4.75 12C4.75 16.0041 7.99594 19.25 12 19.25Z"}))},__("Mark as spam","jetpack-forms")),v===d.G7.trash&&React.createElement(a.MenuItem,{onClick:y(d.aO.removeFromTrash),iconPosition:"left",icon:c.Z},__("Remove from trash","jetpack-forms")),React.createElement(a.MenuItem,{onClick:y(C),iconPosition:"left",icon:i.Z,variant:"tertiary",isDestructive:!0},E))))}},8057:(e,t,n)=>{"use strict";n.d(t,{W:()=>c});var a=n(9307),r=n(2819),o=n(9997);const s={p:1,r:0,status:"inbox"},c=()=>{const[e,t]=(0,o.lr)(),n=(0,a.useMemo)((()=>({...s,...(0,r.fromPairs)([...e])})),[e]),c=(0,a.useMemo)((()=>({month:n.month,parent_id:n.parent_id,search:n.search,status:n.status})),[n.month,n.parent_id,n.search,n.status]),i=(0,a.useCallback)((e=>n=>t((t=>n?(t.set(e,n),t):(t.delete(e),t)))),[t]),l=(0,a.useCallback)((e=>n=>t((t=>(t.delete("p"),t.delete("r"),n?t.set(e,n):t.delete(e),t)))),[t]);return{currentPage:parseInt(n.p,10),currentResponseId:parseInt(n.r,10),setCurrentPage:(0,a.useCallback)((e=>i("p")(e)),[i]),setCurrentResponseId:(0,a.useCallback)((e=>i("r")(e)),[i]),setMonthQuery:(0,a.useCallback)((e=>l("month")(e)),[l]),setSearchQuery:(0,a.useCallback)((e=>l("search")(e)),[l]),setSourceQuery:(0,a.useCallback)((e=>l("parent_id")(e)),[l]),setStatusQuery:(0,a.useCallback)((e=>l("status")(e)),[l]),query:c}}},5581:(e,t,n)=>{"use strict";n.d(t,{DW:()=>s,GN:()=>l,Gf:()=>o,gX:()=>i,i5:()=>c});var a=n(3419),r=n(2819);const o=e=>e.author_name?e.author_name:e.author_email?e.author_email:e.ip,s=e=>{try{return new URL(e.entry_permalink).pathname}catch(e){return""}},c=e=>{const t=e.match(/^(\d+_)?(.*)/i);return t?t[2]:e},i=e=>(0,r.isEmpty)(e)?"-":(0,r.isArray)(e)?(0,r.join)(e,", "):e,l=()=>(0,a.Ug)()||(0,a.Wp)()},4340:(e,t,n)=>{"use strict";n.d(t,{v:()=>u});var a=n(9307),r=n(2819),o=n(9997),s=n(6417),c=n(5379),i=n(2539);let l={};const u=e=>(0,r.get)(l,e);window.addEventListener("load",(()=>{const e=document.getElementById("jp-forms-dashboard");l=JSON.parse(unescape(e.dataset.config)),delete e.dataset.config;const t=(0,o.cP)([{path:"/landing",element:React.createElement(i.Z,null)},{path:"/responses",element:React.createElement(c.Z,null)},{path:"/",element:React.createElement(s.Fg,{to:"/responses"})}]);(0,a.render)(React.createElement(s.pG,{router:t}),e)}))},2539:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var a=n(3419),r=n(9307),o=n(5736),s=n(1370),c=n(1269),i=n(4340),l=n(4591),u=n(4162),d=n(515),p=n(1268),m=n(684),h=n(8282);const __=o.__,f=()=>{const e=(0,i.v)("pluginAssetsURL"),t=(0,a.Ug)()||(0,a.Wp)()?"responses-inbox-wp-com.png":"responses-inbox.png",n=e=>async()=>{const t=new FormData;t.append("action","create_new_form"),t.append("newFormNonce",(0,i.v)("newFormNonce"));const n=await fetch(window.ajaxurl,{method:"POST",body:t}),{post_url:a}=await n.json();a&&window.open(`${a}${e?"&showJetpackFormsPatterns":""}`)};return React.createElement(c.Z,{className:"jp-forms__landing",showFooter:!0},React.createElement("section",{className:"jp-forms__landing-section bg-white-off"},React.createElement("div",{className:"jp-forms__landing-content"},React.createElement("h1",{className:"mb-2"},__("Building forms made easy","jetpack-forms")),React.createElement("h4",{className:"mb-8"},__("Free, flexible, fast, and it works out of the box.","jetpack-forms")),React.createElement("button",{className:"button button-primary mb-10",onClick:n(!1)},__("Create your first form","jetpack-forms")),React.createElement("img",{src:`${e}/images/${t}`,className:"jp-forms__teaser-image",alt:__("Jetpack Forms teaser video","jetpack-forms")}))),React.createElement("section",{className:"jp-forms__landing-section"},React.createElement("div",{className:"jp-forms__landing-content"},React.createElement("h1",null,__("Start with one of many beautiful form patterns.","jetpack-forms")),React.createElement("h1",{className:"mb-12"},__("Customize to your needs.","jetpack-forms")),React.createElement("div",{className:"jp-forms__patterns-grid mb-8"},React.createElement("div",{className:"jp-forms__pattern-item"},React.createElement("img",{src:`${e}/images/contact-form.png`,alt:__("Contact Form","jetpack-forms")}),React.createElement("span",null,__("Contact form","jetpack-forms"))),React.createElement("div",{className:"jp-forms__pattern-item"},React.createElement("img",{src:`${e}/images/registration-form.png`,alt:__("Registration Form","jetpack-forms")}),React.createElement("span",null,__("Registration and login forms","jetpack-forms"))),React.createElement("div",{className:"jp-forms__pattern-item"},React.createElement("img",{src:`${e}/images/feedback-form.png`,alt:__("Feedback Form","jetpack-forms")}),React.createElement("span",null,__("Feedback form","jetpack-forms")))),React.createElement("button",{className:"button button-primary",onClick:n(!0)},__("Explore more patterns","jetpack-forms")))),React.createElement("section",{className:"jp-forms__landing-section bg-white-off"},React.createElement("div",{className:"jp-forms__landing-content"},React.createElement("h1",null,__("You’re in full control of the data.","jetpack-forms")),React.createElement("h1",{className:"mb-12"},__("Empower your workflow.","jetpack-forms")),React.createElement("div",{className:"jp-forms__features"},React.createElement("div",{className:"jp-forms__feature feature-connect"},React.createElement("div",{className:"jp-forms__feature-image-wrapper"},React.createElement("img",{src:`${e}/images/google-sheets-icon.png`,alt:__("Google Sheets icon","jetpack-forms")}),React.createElement("img",{src:`${e}/images/salesforce-icon.png`,alt:__("Salesforce icon","jetpack-forms")})),React.createElement("h1",null,__("Connect with apps you already work with","jetpack-forms"))),React.createElement("div",{className:"jp-forms__feature feature-data"},React.createElement("h4",null,__("Manage your data in wp-admin","jetpack-forms")),React.createElement(h.Z,null)),React.createElement("div",{className:"jp-forms__feature feature-akismet"},React.createElement(l.Z,{className:"mb-6"}),React.createElement("h4",null,__("No spam with Akismet","jetpack-forms"))),React.createElement("div",{className:"jp-forms__feature feature-export"},React.createElement(p.Z,null),React.createElement("h4",null,__("Export your data anytime","jetpack-forms"))),React.createElement("div",{className:"jp-forms__feature feature-notifications"},React.createElement(m.Z,{className:"mb-6"}),React.createElement("h4",null,__("Real-time notifications via email","jetpack-forms"))),React.createElement("div",{className:"jp-forms__feature feature-dependencies"},React.createElement("h1",null,React.createElement("span",null,__("Nada","jetpack-forms")),__("Zero","jetpack-forms"),React.createElement("span",null,__("Ziltch","jetpack-forms"))),React.createElement("h4",{className:"align-center"},__("No additional plugins required","jetpack-forms"))),React.createElement("div",{className:"jp-forms__feature feature-validation"},React.createElement("div",{className:"jp-forms__feature-image-wrapper align-center mb-4"},React.createElement(u.Z,null),React.createElement(d.Z,null)),React.createElement("h4",{className:"align-center"},__("Auto field validation","jetpack-forms")))))),React.createElement("section",{className:"jp-forms__landing-section align-center"},React.createElement("div",{className:"jp-forms__landing-content"},React.createElement("h4",{className:"mb-6"},__("You are in good company.","jetpack-forms")),React.createElement("h1",{className:"jp-forms__wp-sites mb-8"},__("Trusted by more than 5 million WordPress sites.","jetpack-forms")),React.createElement("button",{className:"button button-primary",onClick:n(!1)},__("Get started with Jetpack Forms","jetpack-forms")))),React.createElement("section",{className:"jp-forms__landing-section bg-white-off"},React.createElement("div",{className:"jp-forms__landing-content"},React.createElement("h1",{className:"mb-6"},__("Frequently Asked Questions","jetpack-forms")),React.createElement(s.Z,{summary:__("What do I need to use Jetpack Forms?","jetpack-forms")},__('Jetpack Forms is activated by default, so it\'s already fully functional. To get started, simply open the WordPress editor and search for the "Form" block in the block library. You can then add the form block and its corresponding child blocks, such as the text input field or multiple choice block, to your website. You can easily manage incoming form responses within the WP-Admin area.',"jetpack-forms")),React.createElement(s.Z,{summary:__("How much does Jetpack Forms cost?","jetpack-forms")},__("Jetpack Forms is currently free and comes by default with your Jetpack plugin.","jetpack-forms")),React.createElement(s.Z,{summary:__("Is Jetpack Forms GDPR compliant?","jetpack-forms")},(0,r.createInterpolateElement)(__("Jetpack and its parent company Automattic take data privacy and the GDPR very seriously. We respect the GDPR’s principles of minimizing the amount of data we collect, being transparent about what data we collect and how we use it, complying with EU law in regards to any data that is transferred to non-EU countries, and not keeping data longer than we need it for the purpose it was collected. You can read more about the data we collect, how data is used and shared, and how long data is retained in our Privacy Policy.","jetpack-forms"),{a:React.createElement("a",{href:"https://automattic.com/privacy/",rel:"noreferrer noopener",target:"_blank"})})),React.createElement(s.Z,{summary:__("Is there a form responses limit?","jetpack-forms")},__("No.","jetpack-forms")),React.createElement(s.Z,{summary:__("What if I would need some help?","jetpack-forms")},(0,r.createInterpolateElement)(__("If you have more specific questions about Jetpack and Forms feel free to reach out to us and we’ll be happy to help.","jetpack-forms"),{a:React.createElement("a",{href:"https://jetpack.com/contact-support/",rel:"noreferrer noopener",target:"_blank"})})))))}},4591:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(2674),r=n.n(a);const o=e=>React.createElement("svg",r()({width:"46",height:"46",viewBox:"0 0 46 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("rect",{width:"46",height:"46",rx:"8",fill:"#272635"}),React.createElement("g",{clipPath:"url(#clip0_3308_44290)"},React.createElement("path",{d:"M24.4162 12.0335L31.0989 29.5939C31.6753 31.0964 32.5607 31.641 34.0748 31.7683C34.1301 31.7708 34.1843 31.7847 34.2341 31.8089C34.2839 31.8332 34.3281 31.8675 34.3641 31.9095C34.4001 31.9515 34.4271 32.0005 34.4435 32.0534C34.4598 32.1063 34.4651 32.162 34.459 32.217C34.4613 32.2738 34.4522 32.3305 34.4324 32.3837C34.4125 32.437 34.3823 32.4858 34.3435 32.5274C34.3046 32.5689 34.2579 32.6023 34.2061 32.6257C34.1542 32.6491 34.0982 32.6619 34.0414 32.6635H26.7218C26.6626 32.665 26.6037 32.6544 26.5488 32.6325C26.4938 32.6106 26.4438 32.5778 26.4019 32.536C26.3599 32.4943 26.3268 32.4445 26.3047 32.3897C26.2825 32.3349 26.2716 32.2761 26.2728 32.217C26.2684 32.1596 26.276 32.1019 26.2951 32.0476C26.3141 31.9933 26.3442 31.9435 26.3834 31.9014C26.4227 31.8593 26.4702 31.8257 26.523 31.8028C26.5758 31.7799 26.6328 31.7681 26.6904 31.7683C27.4255 31.7683 28.2588 31.5763 28.2588 30.6811C28.2523 30.3078 28.1758 29.939 28.0332 29.5939L26.4294 25.3389C26.3646 25.1469 26.3333 25.0822 26.1412 25.0822H20.0328C19.0722 25.0822 17.8881 25.0822 17.3431 26.2988L15.8812 29.5939C15.7326 29.8928 15.6452 30.2185 15.6244 30.5517C15.6244 31.7036 17.13 31.7683 17.9215 31.7683C17.9791 31.7681 18.0361 31.7799 18.0889 31.8028C18.1418 31.8257 18.1893 31.8593 18.2285 31.9014C18.2677 31.9435 18.2978 31.9933 18.3169 32.0476C18.3359 32.1019 18.3435 32.1596 18.3392 32.217C18.3404 32.2762 18.3294 32.335 18.3071 32.3899C18.2848 32.4448 18.2515 32.4945 18.2093 32.5361C18.1671 32.5777 18.1168 32.6103 18.0616 32.6318C18.0064 32.6534 17.9474 32.6635 17.8881 32.6615H11.3934C11.3343 32.6629 11.2756 32.6523 11.2207 32.6304C11.1658 32.6084 11.116 32.5756 11.0742 32.5338C11.0324 32.4921 10.9995 32.4423 10.9776 32.3875C10.9556 32.3326 10.9451 32.2739 10.9465 32.2149C10.9422 32.1575 10.9498 32.0998 10.9688 32.0455C10.9879 31.9912 11.0179 31.9414 11.0572 31.8993C11.0964 31.8572 11.1439 31.8236 11.1967 31.8007C11.2496 31.7778 11.3066 31.7661 11.3642 31.7662C12.9325 31.6702 13.4525 30.9315 14.0518 29.5918L21.7661 12.7033C22.1191 11.9667 22.8876 11.3281 23.5913 11.3281C24.0967 11.3302 24.2575 11.6182 24.4162 12.0335ZM18.5689 23.4837C18.5302 23.5406 18.5078 23.607 18.5042 23.6757C18.5042 23.7404 18.5689 23.7717 18.6963 23.7717H25.0344C25.4813 23.7717 25.6734 23.6757 25.6734 23.3877C25.6728 23.2432 25.64 23.1006 25.5773 22.9704L23.8169 18.2354C23.3992 17.1482 22.7936 15.7104 22.6015 14.5251C22.6015 14.4625 22.5681 14.4291 22.5367 14.4291C22.5054 14.4291 22.4741 14.4625 22.4741 14.5251C22.2337 15.3401 21.9228 16.1326 21.5448 16.8936L18.5689 23.4837Z",fill:"white"}),React.createElement("path",{d:"M24.4162 12.0335L31.0989 29.5939C31.6753 31.0964 32.5607 31.641 34.0748 31.7683C34.1301 31.7708 34.1843 31.7847 34.2341 31.809C34.2839 31.8332 34.3281 31.8675 34.3641 31.9095C34.4001 31.9516 34.4271 32.0005 34.4435 32.0534C34.4598 32.1063 34.4651 32.162 34.459 32.217C34.4613 32.2738 34.4522 32.3305 34.4324 32.3837C34.4125 32.437 34.3823 32.4858 34.3435 32.5274C34.3046 32.5689 34.2579 32.6023 34.2061 32.6257C34.1542 32.6491 34.0982 32.6619 34.0414 32.6636H26.7218C26.6626 32.665 26.6037 32.6544 26.5488 32.6325C26.4938 32.6106 26.4438 32.5778 26.4019 32.536C26.3599 32.4943 26.3268 32.4445 26.3047 32.3897C26.2825 32.3349 26.2716 32.2761 26.2728 32.217C26.2684 32.1596 26.276 32.1019 26.2951 32.0476C26.3141 31.9933 26.3442 31.9435 26.3834 31.9014C26.4227 31.8593 26.4702 31.8257 26.523 31.8028C26.5758 31.7799 26.6328 31.7682 26.6904 31.7683C27.4255 31.7683 28.2588 31.5763 28.2588 30.6811C28.2523 30.3078 28.1758 29.939 28.0332 29.5939L26.4294 25.3389C26.3647 25.1469 26.3333 25.0822 26.1412 25.0822H20.0328C19.0722 25.0822 17.8881 25.0822 17.3431 26.2988L15.8812 29.5939C15.7326 29.8929 15.6452 30.2185 15.6244 30.5517C15.6244 31.7036 17.13 31.7683 17.9215 31.7683C17.9791 31.7682 18.0361 31.7799 18.0889 31.8028C18.1418 31.8257 18.1893 31.8593 18.2285 31.9014C18.2677 31.9435 18.2978 31.9933 18.3169 32.0476C18.3359 32.1019 18.3435 32.1596 18.3392 32.217C18.3404 32.2762 18.3294 32.335 18.3071 32.3899C18.2848 32.4448 18.2515 32.4945 18.2093 32.5361C18.1671 32.5777 18.1168 32.6103 18.0616 32.6318C18.0064 32.6534 17.9474 32.6635 17.8881 32.6615H11.3934C11.3343 32.6629 11.2756 32.6523 11.2207 32.6304C11.1658 32.6084 11.116 32.5756 11.0742 32.5339C11.0324 32.4921 10.9995 32.4423 10.9776 32.3875C10.9556 32.3326 10.9451 32.2739 10.9465 32.2149C10.9422 32.1575 10.9498 32.0999 10.9688 32.0455C10.9879 31.9912 11.0179 31.9415 11.0572 31.8993C11.0964 31.8572 11.1439 31.8236 11.1967 31.8007C11.2496 31.7778 11.3066 31.7661 11.3642 31.7662C12.9325 31.6702 13.4525 30.9315 14.0518 29.5918L21.7661 12.7033C22.1191 11.9667 22.8876 11.3281 23.5913 11.3281C24.0967 11.3302 24.2575 11.6182 24.4162 12.0335ZM18.5689 23.4837C18.5302 23.5406 18.5078 23.607 18.5042 23.6757C18.5042 23.7404 18.5689 23.7717 18.6963 23.7717H25.0344C25.4813 23.7717 25.6734 23.6757 25.6734 23.3877C25.6728 23.2432 25.64 23.1006 25.5774 22.9704L23.8169 18.2354C23.3992 17.1482 22.7936 15.7104 22.6015 14.5251C22.6015 14.4625 22.5681 14.4291 22.5367 14.4291C22.5054 14.4291 22.4741 14.4625 22.4741 14.5251C22.2337 15.3401 21.9228 16.1326 21.5448 16.8936L18.5689 23.4837Z",fill:"white"}),React.createElement("path",{d:"M36.4557 22.7333C36.4557 23.5555 35.99 24.0209 35.1484 24.0209C34.3068 24.0209 33.9727 23.5931 33.9727 22.9399C33.9727 22.1177 34.4592 21.6523 35.28 21.6523C36.1007 21.6523 36.4557 22.0989 36.4557 22.7333Z",fill:"white"}),React.createElement("path",{d:"M11.3739 22.7588C11.3739 23.5789 10.9061 24.0464 10.0666 24.0464C9.22712 24.0464 8.88672 23.6165 8.88672 22.9633C8.88672 22.1432 9.3733 21.6758 10.194 21.6758C11.0147 21.6758 11.3739 22.1244 11.3739 22.7588Z",fill:"white"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_3308_44290"},React.createElement("rect",{width:"27.5556",height:"21.3333",fill:"white",transform:"translate(8.89062 11.332)"}))))},4162:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(2674),r=n.n(a);const o=e=>React.createElement("svg",r()({width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.833 18.615L25.0371 41.2036L14.499 33.368L16.5874 30.5593L24.3169 36.3066L39.0243 16.5266L41.833 18.615Z",fill:"#008710"}))},515:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(2674),r=n.n(a);const o=e=>React.createElement("svg",r()({width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.0002 30.4751L36.6623 39.1371L39.1371 36.6623L30.4751 28.0002L39.1372 19.3382L36.6623 16.8633L28.0002 25.5254L19.3382 16.8633L16.8633 19.3382L25.5254 28.0002L16.8633 36.6623L19.3382 39.1372L28.0002 30.4751Z",fill:"#D63638"}))},1268:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(2674),r=n.n(a);const o=e=>React.createElement("svg",r()({width:"132",height:"50",viewBox:"0 0 132 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("rect",{x:"25",y:"14",width:"107",height:"4",rx:"2",fill:"#256EFF"}),React.createElement("rect",{x:"31",y:"35",width:"63",height:"3",rx:"1.5",fill:"#1858D8"}),React.createElement("rect",{x:"16",y:"35",width:"8",height:"3",rx:"1.5",fill:"#1858D8"}),React.createElement("rect",{y:"14",width:"19",height:"4",rx:"2",fill:"#256EFF"}),React.createElement("rect",{x:"44",y:"25",width:"72",height:"4",rx:"2",fill:"#357B49"}),React.createElement("rect",{x:"16",y:"25",width:"23",height:"4",rx:"2",fill:"#357B49"}),React.createElement("rect",{x:"6",y:"5",width:"66",height:"3",rx:"1.5",fill:"#6DBF85"}),React.createElement("rect",{width:"127",height:"50",fill:"url(#paint0_linear_3308_44308)"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"paint0_linear_3308_44308",x1:"2.5",y1:"25",x2:"65.5",y2:"25",gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"white"}),React.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0"}))))},684:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(2674),r=n.n(a);const o=e=>React.createElement("svg",r()({width:"46",height:"36",viewBox:"0 0 46 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.6667 8C2.0894 8 0 10.0893 0 12.6667V31.3333C0 33.9107 2.0894 36 4.6667 36H32.6667C35.244 36 37.3334 33.9107 37.3334 31.3333V12.6667C37.3334 10.0893 35.244 8 32.6667 8H4.6667ZM3.5 13.6382V31.3333C3.5 31.9777 4.0224 32.5 4.6667 32.5H32.6667C33.311 32.5 33.8334 31.9777 33.8334 31.3333V13.6382L18.6667 26.6382L3.5 13.6382ZM30.9499 11.5H6.3835L18.6667 22.0284L30.9499 11.5Z",fill:"#1E1E1E"}),React.createElement("path",{d:"M37.668 16C42.0862 16 45.668 12.4183 45.668 8C45.668 3.58172 42.0862 0 37.668 0C33.2497 0 29.668 3.58172 29.668 8C29.668 12.4183 33.2497 16 37.668 16Z",fill:"#D63638"}))},8282:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(2674),r=n.n(a);const o=e=>React.createElement("svg",r()({width:"136",height:"95",viewBox:"0 0 136 95",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.9708 18.9005C44.1337 18.134 44.505 16.5837 43.7747 15.3976C43.044 14.2108 41.4873 13.838 40.3216 14.602C30.653 20.9387 22.3008 29.0987 15.7365 38.6338C9.17125 48.1704 4.52929 58.8867 2.061 70.182C1.76407 71.5408 2.66601 72.8592 4.03266 73.1177C5.40037 73.3763 6.7148 72.4749 7.01303 71.1153C11.7833 49.3673 24.9629 30.7687 42.9708 18.9005Z",fill:"#4DB26A"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.9708 18.9005C44.1337 18.134 44.505 16.5837 43.7747 15.3976C43.044 14.2108 41.4873 13.838 40.3216 14.602C30.653 20.9387 22.3008 29.0987 15.7365 38.6338C9.17125 48.1704 4.52929 58.8867 2.061 70.182C1.76407 71.5408 2.66601 72.8592 4.03266 73.1177C5.40037 73.3763 6.7148 72.4749 7.01303 71.1153C11.7833 49.3673 24.9629 30.7687 42.9708 18.9005Z",fill:"#4DB26A"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M59.5137 42.4168C60.4544 41.8184 60.78 40.5851 60.2172 39.6228C59.654 38.6598 58.4145 38.3328 57.4712 38.9284C46.8358 45.6429 38.5862 55.5676 33.9351 67.2909C29.2835 79.0151 28.4852 91.8974 31.6254 104.078C31.9034 105.156 33.028 105.767 34.0965 105.453C35.1646 105.138 35.7721 104.019 35.4976 102.94C34.382 98.5546 33.7891 93.9608 33.7891 89.2286C33.7891 69.543 44.0492 52.2537 59.5137 42.4168Z",fill:"#1858D8"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M107.624 32.6581C95.629 28.7574 82.7218 28.7757 70.7641 32.6803C69.7058 33.0259 69.1676 34.1865 69.5489 35.2325C69.9301 36.2785 71.0861 36.8137 72.1454 36.471C77.5265 34.7298 83.2677 33.7891 89.2286 33.7891C107.655 33.7891 123.983 42.7791 134.063 56.6124C134.72 57.514 135.973 57.7612 136.898 57.1381C137.824 56.5147 138.072 55.2561 137.418 54.3517C130.044 44.163 119.618 36.5582 107.624 32.6581Z",fill:"#272635"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M125.194 10.3266C125.771 9.06103 125.213 7.56393 123.932 7.02306C103.735 -1.50267 81.1004 -2.29366 60.3576 4.8014C59.0419 5.25142 58.3815 6.70568 58.8684 8.00815C59.3554 9.31074 60.805 9.96807 62.1216 9.52038C70.6288 6.62765 79.7479 5.05859 89.2335 5.05859C100.795 5.05859 111.813 7.38976 121.841 11.6077C123.124 12.1471 124.617 11.5926 125.194 10.3266Z",fill:"#256EFF"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.31243 82.6459C5.42004 81.2555 4.42168 80.0104 3.03527 79.8597C1.64766 79.7088 0.396736 80.7112 0.285223 82.1025C-0.050481 86.291 -0.0899009 90.498 0.167258 94.6921C0.252708 96.0857 1.48505 97.1117 2.87569 96.9868C4.26521 96.862 5.28707 95.6354 5.2053 94.2427C5.10795 92.5847 5.05859 90.9139 5.05859 89.2315C5.05859 87.0153 5.14425 84.819 5.31243 82.6459Z",fill:"#357B49"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.7916 50.6255C32.4778 49.6066 32.255 48.2185 31.2581 47.5008C30.2617 46.7836 28.8696 47.0081 28.1828 48.0256C21.8352 57.4297 17.7403 68.1824 16.2306 79.4476C14.7208 90.7147 15.8408 102.168 19.49 112.913C19.8837 114.073 21.1643 114.654 22.3113 114.226C23.4584 113.797 24.0373 112.521 23.6459 111.361C21.3019 104.412 20.0312 96.9691 20.0312 89.2295C20.0312 74.935 24.3656 61.6528 31.7916 50.6255Z",fill:"#357B49"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.5768 17.4851C59.8851 20.4307 48.2153 26.6871 38.7474 35.5993C37.8522 36.4421 37.8544 37.8544 38.7238 38.7238C39.5932 39.5932 41.0003 39.5903 41.8971 38.7492C54.2734 27.1395 70.9211 20.0293 89.2295 20.0293C123.718 20.0293 152.314 45.2605 157.565 78.2712C157.758 79.483 158.867 80.3482 160.084 80.193C161.3 80.038 162.164 78.9257 161.972 77.7148C159.939 64.8699 154.538 52.7777 146.302 42.6792C137.598 32.0067 126.076 23.9885 113.044 19.5351C100.012 15.0817 85.9921 14.3715 72.5768 17.4851Z",fill:"#357B49"}),React.createElement("rect",{x:"49",y:"48",width:"82",height:"82",rx:"41",fill:"#1E1E1E"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M121 89C121 71.919 107.081 58 90 58C72.888 58 59 71.919 59 89C59 106.112 72.888 120 90 120C107.081 120 121 106.112 121 89ZM83.118 105.647L72.547 77.282C74.252 77.22 76.174 77.034 76.174 77.034C77.724 76.848 77.538 73.531 75.988 73.593C75.988 73.593 71.493 73.934 68.641 73.934C68.083 73.934 67.494 73.934 66.843 73.903C71.772 66.339 80.297 61.441 90 61.441C97.223 61.441 103.795 64.138 108.755 68.695C106.647 68.354 103.64 69.904 103.64 73.593C103.64 75.6018 104.71 77.3253 105.912 79.2631L105.912 79.2632L105.913 79.2642C106.084 79.539 106.257 79.8181 106.43 80.103C107.515 81.994 108.135 84.319 108.135 87.729C108.135 92.348 103.795 103.229 103.795 103.229L94.402 77.282C96.076 77.22 96.944 76.755 96.944 76.755C98.494 76.6 98.308 72.88 96.758 72.973C96.758 72.973 92.294 73.345 89.38 73.345C86.683 73.345 82.157 72.973 82.157 72.973C80.607 72.88 80.421 76.693 81.971 76.755L84.823 77.003L88.729 87.574L83.118 105.647ZM113.039 88.8199L112.971 89C110.725 94.9133 108.496 100.877 106.271 106.83L106.27 106.832L106.268 106.839L106.261 106.857C105.48 108.947 104.699 111.034 103.919 113.118C112.196 108.344 117.559 99.199 117.559 89C117.559 84.226 116.474 79.824 114.304 75.825C115.237 82.9857 113.804 86.7883 113.039 88.8199ZM77.91 114.079C68.672 109.615 62.441 99.943 62.441 89C62.441 84.97 63.154 81.312 64.673 77.871C65.6006 80.4122 66.5282 82.9547 67.4561 85.498L67.4587 85.5051C70.9333 95.0288 74.412 104.564 77.91 114.079ZM98.401 115.164L90.403 93.526C88.9295 97.8728 87.445 102.22 85.9562 106.58C84.9392 109.558 83.9201 112.542 82.901 115.536C85.133 116.218 87.551 116.559 90 116.559C92.945 116.559 95.735 116.063 98.401 115.164Z",fill:"white"}))},5886:(e,t,n)=>{"use strict";n.d(t,{Hl:()=>u,ND:()=>c,Wk:()=>o,fj:()=>i,o:()=>l,oA:()=>s,qP:()=>r,zt:()=>a});const a="ASYNC_ROUTINE_DISPATCH",r="RESPONSES_FETCH",o="RESPONSES_FETCH_RECEIVE",s="RESPONSES_FETCH_FAIL",c="RESPONSES_REMOVE",i="RESPONSES_SELECTION_SET",l="RESPONSES_TAB_TOTALS_ADD",u="RESPONSES_LOADING_SET"},4821:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addTabTotals:()=>u,dispatchAsync:()=>o,fetchResponses:()=>s,removeResponses:()=>c,selectResponses:()=>i,setLoading:()=>l});var a=n(6219),r=n(5886);const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{type:r.zt,apply:e,args:t}};function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){yield{type:r.qP,append:t.append,query:e};try{const n=yield o(a.j,[e]);return{type:r.Wk,responses:n.responses,total:n.totals[e.status||"inbox"],tabTotals:n.totals,filters:n.filters_available,append:t.append}}catch(e){return{type:r.oA,error:e}}}()}const c=(e,t)=>({type:r.ND,responseIds:e,status:t}),i=e=>({type:r.fj,selectedResponses:e}),l=e=>({type:r.Hl,loading:e}),u=e=>({type:r.o,tabTotals:e})},361:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={[n(5886).zt]:e=>{let{apply:t,args:n}=e;return t(...n)}}},5848:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var a=n(9818),r=n(4821),o=n(361),s=n(9664),c=n(944);const i="FORM_RESPONSES",l={actions:{...r},reducer:s.Z,selectors:{...c},controls:o.Z},u=(0,a.createReduxStore)(i,l);(0,a.register)(u)},9664:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(9818),r=n(2819),o=n(5886);const s=(0,a.combineReducers)({currentSelection:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t.type===o.Wk?[]:t.type===o.fj?t.selectedResponses:e},filters:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===o.Wk?t.filters:e},loading:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.qP||t.type!==o.Wk&&t.type!==o.oA&&(t.type===o.Hl?t.loading:e)},query:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===o.qP?t.query:e},responses:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t.type!==o.qP||t.append?t.type===o.Wk?t.append?(0,r.uniqBy)([...e,...t.responses],(e=>e.id)):[...t.responses]:t.type===o.ND?e.filter((e=>t.responseIds.indexOf(e.id)<0)):e:[]},tabTotals:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0;return t.type===o.Wk?t.tabTotals:t.type===o.o?(0,r.fromPairs)((0,r.map)((0,r.keys)({...e,...t.tabTotals}),(n=>[n,(e[n]||0)+(t.tabTotals[n]||0)]))):e},total:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return t.type===o.qP&&0===t.offset?0:t.type===o.Wk?t.total:t.type===o.ND?e-t.responseIds.length:e}})},944:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getMonthFilter:()=>u,getQuery:()=>c,getResponses:()=>s,getSelectedResponseIds:()=>p,getSourceFilter:()=>d,getTabTotals:()=>i,getTotalResponses:()=>l,isFetchingResponses:()=>o});var a=n(2819),r=n(5581);const o=e=>e.loading,s=e=>(0,a.map)(e.responses,(e=>({...e,source:e.entry_title||(0,r.DW)(e),name:e.author_name||e.author_email||e.author_url||e.ip}))),c=e=>e.query||{},i=e=>e.tabTotals||{},l=e=>e.total,u=e=>e.filters.month||[],d=e=>e.filters.source||[],p=e=>e.currentSelection},1128:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let a=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(a++,"%c"===e&&(r=a))})),t.splice(r,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(2942)(t);const{formatters:a}=e.exports;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2942:(e,t,n)=>{e.exports=function(e){function t(e){let n,r,o,s=null;function c(){for(var e=arguments.length,a=new Array(e),r=0;r{if("%%"===e)return"%";l++;const r=t.formatters[n];if("function"==typeof r){const t=a[l];e=r.call(o,t),a.splice(l,1),l--}return e})),t.formatArgs.call(o,a);(o.log||t.log).apply(o,a)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=a,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(r!==t.namespaces&&(r=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(c),c}function a(e,n){const a=t(this.namespace+(void 0===n?":":n)+e);return a.log=this.log,a}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const a=("string"==typeof e?e:"").split(/[\s,]+/),r=a.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{"use strict";if(void 0==={consumer_slug:"jetpack-forms"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack-forms"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack-forms"}},9196:e=>{"use strict";e.exports=window.React},1850:e=>{"use strict";e.exports=window.ReactDOM},2819:e=>{"use strict";e.exports=window.lodash},6989:e=>{"use strict";e.exports=window.wp.apiFetch},5609:e=>{"use strict";e.exports=window.wp.components},4333:e=>{"use strict";e.exports=window.wp.compose},9818:e=>{"use strict";e.exports=window.wp.data},9771:e=>{"use strict";e.exports=window.wp.date},9307:e=>{"use strict";e.exports=window.wp.element},2629:e=>{"use strict";e.exports=window.wp.htmlEntities},5736:e=>{"use strict";e.exports=window.wp.i18n},8817:e=>{"use strict";e.exports=window.wp.plugins},444:e=>{"use strict";e.exports=window.wp.primitives},6483:e=>{"use strict";e.exports=window.wp.url},17:(e,t,n)=>{var a=n(6930);e.exports=function(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},2674:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var a=n(3522).default;e.exports=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},6930:(e,t,n)=>{var a=n(3522).default,r=n(5061);e.exports=function(e){var t=r(e,"string");return"symbol"===a(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},3522:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},506:(e,t,n)=>{"use strict";function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>a})},255:(e,t,n)=>{"use strict";function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;ta})},1806:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(205);function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,a.Z)(e,t)}},7921:(e,t,n)=>{"use strict";function a(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a=0||(r[n]=e[n]);return r}n.d(t,{Z:()=>a})},205:(e,t,n)=>{"use strict";function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}n.d(t,{Z:()=>a})}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};n(4340)})(); \ No newline at end of file +(()=>{var e={3170:(e,t,n)=>{"use strict";function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;ti,RQ:()=>A,WK:()=>z,Zn:()=>L,Zq:()=>Z,aU:()=>r,cP:()=>p,fp:()=>v,iQ:()=>F,p7:()=>ee,pC:()=>P,q_:()=>s}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(r||(r={}));const o="popstate";function s(e){return void 0===e&&(e={}),m((function(e,t){let{pathname:n="/",search:a="",hash:r=""}=p(e.location.hash.substr(1));return u("",{pathname:n,search:a,hash:r},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),a="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");a=-1===n?t:t.slice(0,n)}return a+"#"+("string"==typeof t?t:d(t))}),(function(e,t){c("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function i(e,t){if(!1===e||null==e)throw new Error(t)}function c(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function l(e,t){return{usr:e.state,key:e.key,idx:t}}function u(e,t,n,r){return void 0===n&&(n=null),a({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?p(t):t,{state:n,key:t&&t.key||r||Math.random().toString(36).substr(2,8)})}function d(e){let{pathname:t="/",search:n="",hash:a=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),a&&"#"!==a&&(t+="#"===a.charAt(0)?a:"#"+a),t}function p(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let a=e.indexOf("?");a>=0&&(t.search=e.substr(a),e=e.substr(0,a)),e&&(t.pathname=e)}return t}function m(e,t,n,s){void 0===s&&(s={});let{window:c=document.defaultView,v5Compat:p=!1}=s,m=c.history,h=r.Pop,f=null,g=v();function v(){return(m.state||{idx:null}).idx}function E(){h=r.Pop;let e=v(),t=null==e?null:e-g;g=e,f&&f({action:h,location:y.location,delta:t})}function C(e){let t="null"!==c.location.origin?c.location.origin:c.location.href,n="string"==typeof e?e:d(e);return i(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,m.replaceState(a({},m.state,{idx:g}),""));let y={get action(){return h},get location(){return e(c,m)},listen(e){if(f)throw new Error("A history only accepts one active listener");return c.addEventListener(o,E),f=e,()=>{c.removeEventListener(o,E),f=null}},createHref:e=>t(c,e),createURL:C,encodeLocation(e){let t=C(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=r.Push;let a=u(y.location,e,t);n&&n(a,e),g=v()+1;let o=l(a,g),s=y.createHref(a);try{m.pushState(o,"",s)}catch(e){c.location.assign(s)}p&&f&&f({action:h,location:y.location,delta:1})},replace:function(e,t){h=r.Replace;let a=u(y.location,e,t);n&&n(a,e),g=v();let o=l(a,g),s=y.createHref(a);m.replaceState(o,"",s),p&&f&&f({action:h,location:y.location,delta:0})},go:e=>m.go(e)};return y}var h;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(h||(h={}));const f=new Set(["lazy","caseSensitive","path","id","index","children"]);function g(e,t,n,r){return void 0===n&&(n=[]),void 0===r&&(r={}),e.map(((e,o)=>{let s=[...n,o],c="string"==typeof e.id?e.id:s.join("-");if(i(!0!==e.index||!e.children,"Cannot specify children on an index route"),i(!r[c],'Found a route id collision on id "'+c+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let n=a({},e,{hasErrorBoundary:t(e),id:c});return r[c]=n,n}{let n=a({},e,{id:c,hasErrorBoundary:t(e),children:void 0});return r[c]=n,e.children&&(n.children=g(e.children,t,s,r)),n}}))}function v(e,t,n){void 0===n&&(n="/");let a=L(("string"==typeof t?p(t):t).pathname||"/",n);if(null==a)return null;let r=E(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(r);let o=null;for(let e=0;null==o&&e{let s={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:r,route:e};s.relativePath.startsWith("/")&&(i(s.relativePath.startsWith(a),'Absolute route path "'+s.relativePath+'" nested under path "'+a+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),s.relativePath=s.relativePath.slice(a.length));let c=A([a,s.relativePath]),l=n.concat(s);e.children&&e.children.length>0&&(i(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+c+'".'),E(e.children,t,l,c)),(null!=e.path||e.index)&&t.push({path:c,score:j(c,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of C(e.path))r(e,t,n);else r(e,t)})),t}function C(e){let t=e.split("/");if(0===t.length)return[];let[n,...a]=t,r=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===a.length)return r?[o,""]:[o];let s=C(a.join("/")),i=[];return i.push(...s.map((e=>""===e?o:[o,e].join("/")))),r&&i.push(...s),i.map((t=>e.startsWith("/")&&""===t?"/":t))}const y=/^:\w+$/,R=3,b=2,w=1,k=10,_=-2,x=e=>"*"===e;function j(e,t){let n=e.split("/"),a=n.length;return n.some(x)&&(a+=_),t&&(a+=b),n.filter((e=>!x(e))).reduce(((e,t)=>e+(y.test(t)?R:""===t?w:k)),a)}function S(e,t){let{routesMeta:n}=e,a={},r="/",o=[];for(let e=0;e(a.push(t),"/([^\\/]+)")));e.endsWith("*")?(a.push("*"),r+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":""!==e&&"/"!==e&&(r+="(?:(?=\\/|$))");let o=new RegExp(r,t?void 0:"i");return[o,a]}(e.path,e.caseSensitive,e.end),r=t.match(n);if(!r)return null;let o=r[0],s=o.replace(/(.)\/+$/,"$1"),i=r.slice(1);return{params:a.reduce(((e,t,n)=>{if("*"===t){let e=i[n]||"";s=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return c(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(i[n]||"",t),e}),{}),pathname:o,pathnameBase:s,pattern:e}}function M(e){try{return decodeURI(e)}catch(t){return c(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function L(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,a=e.charAt(n);return a&&"/"!==a?null:e.slice(n)||"/"}function O(e,t,n,a){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(a)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function Z(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function P(e,t,n,r){let o;void 0===r&&(r=!1),"string"==typeof e?o=p(e):(o=a({},e),i(!o.pathname||!o.pathname.includes("?"),O("?","pathname","search",o)),i(!o.pathname||!o.pathname.includes("#"),O("#","pathname","hash",o)),i(!o.search||!o.search.includes("#"),O("#","search","hash",o)));let s,c=""===e||""===o.pathname,l=c?"/":o.pathname;if(r||null==l)s=n;else{let e=t.length-1;if(l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}s=e>=0?t[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:n,search:a="",hash:r=""}="string"==typeof e?p(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:V(a),hash:D(r)}}(o,s),d=l&&"/"!==l&&l.endsWith("/"),m=(c||"."===l)&&n.endsWith("/");return u.pathname.endsWith("/")||!d&&!m||(u.pathname+="/"),u}const A=e=>e.join("/").replace(/\/\/+/g,"/"),T=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),V=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",D=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;class F{constructor(e,t,n,a){void 0===a&&(a=!1),this.status=e,this.statusText=t||"",this.internal=a,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function z(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const U=["post","put","patch","delete"],H=new Set(U),I=["get",...U],$=new Set(I),B=new Set([301,302,303,307,308]),J=new Set([307,308]),G={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},W={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},q={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Q=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Y="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,K=!Y,X=e=>Boolean(e.hasErrorBoundary);function ee(e){i(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let t,n=e.detectErrorBoundary||X,o={},s=g(e.routes,n,void 0,o),l=a({v7_normalizeFormMethod:!1},e.future),d=null,p=new Set,m=null,f=null,E=null,C=null!=e.hydrationData,y=v(s,e.history.location,e.basename),R=null;if(null==y){let t=fe(404,{pathname:e.history.location.pathname}),{matches:n,route:a}=he(s);y=n,R={[a.id]:t}}let b,w,k=!(y.some((e=>e.route.lazy))||y.some((e=>e.route.loader))&&null==e.hydrationData),_={historyAction:e.history.action,location:e.history.location,matches:y,initialized:k,navigation:G,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||R,fetchers:new Map,blockers:new Map},x=r.Pop,j=!1,S=!1,N=!1,M=[],O=[],Z=new Map,P=0,A=-1,T=new Map,V=new Set,D=new Map,F=new Map,z=new Map,U=!1;function H(e){_=a({},_,e),p.forEach((e=>e(_)))}function I(n,o){var i,c;let l,u=null!=_.actionData&&null!=_.navigation.formMethod&&we(_.navigation.formMethod)&&"loading"===_.navigation.state&&!0!==(null==(i=n.state)?void 0:i._isRedirect);l=o.actionData?Object.keys(o.actionData).length>0?o.actionData:null:u?_.actionData:null;let d=o.loaderData?pe(_.loaderData,o.loaderData,o.matches||[],o.errors):_.loaderData;for(let[e]of z)Re(e);let p=!0===j||null!=_.navigation.formMethod&&we(_.navigation.formMethod)&&!0!==(null==(c=n.state)?void 0:c._isRedirect);t&&(s=t,t=void 0),H(a({},o,{actionData:l,loaderData:d,historyAction:x,location:n,initialized:!0,navigation:G,revalidation:"idle",restoreScrollPosition:Me(n,o.matches||_.matches),preventScrollReset:p,blockers:new Map(_.blockers)})),S||x===r.Pop||(x===r.Push?e.history.push(n,n.state):x===r.Replace&&e.history.replace(n,n.state)),x=r.Pop,j=!1,S=!1,N=!1,M=[],O=[]}async function $(c,l,u){w&&w.abort(),w=null,x=c,S=!0===(u&&u.startUninterruptedRevalidation),function(e,t){if(m&&f&&E){let n=t.map((e=>je(e,_.loaderData))),a=f(e,n)||e.key;m[a]=E()}}(_.location,_.matches),j=!0===(u&&u.preventScrollReset);let d=t||s,p=u&&u.overrideNavigation,g=v(d,l,e.basename);if(!g){let e=fe(404,{pathname:l.pathname}),{matches:t,route:n}=he(d);return Ne(),void I(l,{matches:t,loaderData:{},errors:{[n.id]:e}})}if(!(C=_.location,y=l,C.pathname!==y.pathname||C.search!==y.search||C.hash===y.hash||u&&u.submission&&we(u.submission.formMethod)))return void I(l,{matches:g});var C,y;w=new AbortController;let R,k,L=ce(e.history,l,w.signal,u&&u.submission);if(u&&u.pendingError)k={[me(g).route.id]:u.pendingError};else if(u&&u.submission&&we(u.submission.formMethod)){let e=await async function(e,t,s,i,c){re();let l,u=a({state:"submitting",location:t},s);H({navigation:u});let d=Se(i,t);if(d.route.action||d.route.lazy){if(l=await ie("action",e,d,i,o,n,b.basename),e.signal.aborted)return{shortCircuited:!0}}else l={type:h.error,error:fe(405,{method:e.method,pathname:t.pathname,routeId:d.route.id})};if(ye(l)){let e;return e=c&&null!=c.replace?c.replace:l.location===_.location.pathname+_.location.search,await ee(_,l,{submission:s,replace:e}),{shortCircuited:!0}}if(Ce(l)){let e=me(i,d.route.id);return!0!==(c&&c.replace)&&(x=r.Push),{pendingActionData:{},pendingActionError:{[e.route.id]:l.error}}}if(Ee(l))throw fe(400,{type:"defer-action"});return{pendingActionData:{[d.route.id]:l.data}}}(L,l,u.submission,g,{replace:u.replace});if(e.shortCircuited)return;R=e.pendingActionData,k=e.pendingActionError,p=a({state:"loading",location:l},u.submission),L=new Request(L.url,{signal:L.signal})}let{shortCircuited:T,loaderData:z,errors:U}=await async function(n,r,o,c,l,u,d,p,m){let h=c;if(!h){h=a({state:"loading",location:r,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},l)}let f=l||u?l||u:h.formMethod&&h.formAction&&h.formData&&h.formEncType?{formMethod:h.formMethod,formAction:h.formAction,formData:h.formData,formEncType:h.formEncType}:void 0,g=t||s,[v,E]=ae(e.history,_,o,f,r,N,M,O,D,g,e.basename,p,m);if(Ne((e=>!(o&&o.some((t=>t.route.id===e)))||v&&v.some((t=>t.route.id===e)))),0===v.length&&0===E.length)return I(r,a({matches:o,loaderData:{},errors:m||null},p?{actionData:p}:{})),{shortCircuited:!0};if(!S){E.forEach((e=>{let t=_.fetchers.get(e.key),n={state:"loading",data:t&&t.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};_.fetchers.set(e.key,n)}));let e=p||_.actionData;H(a({navigation:h},e?0===Object.keys(e).length?{actionData:null}:{actionData:e}:{},E.length>0?{fetchers:new Map(_.fetchers)}:{}))}A=++P,E.forEach((e=>Z.set(e.key,w)));let{results:C,loaderResults:y,fetcherResults:R}=await ne(_.matches,o,v,E,n);if(n.signal.aborted)return{shortCircuited:!0};E.forEach((e=>Z.delete(e.key)));let b=ge(C);if(b)return await ee(_,b,{replace:d}),{shortCircuited:!0};let{loaderData:k,errors:x}=de(_,o,v,y,m,E,R,F);F.forEach(((e,t)=>{e.subscribe((n=>{(n||e.done)&&F.delete(t)}))})),function(){let e=[];for(let t of V){let n=_.fetchers.get(t);i(n,"Expected fetcher: "+t),"loading"===n.state&&(V.delete(t),e.push(t))}ue(e)}();let j=ve(A);return a({loaderData:k,errors:x},j||E.length>0?{fetchers:new Map(_.fetchers)}:{})}(L,l,g,p,u&&u.submission,u&&u.fetcherSubmission,u&&u.replace,R,k);T||(w=null,I(l,a({matches:g},R?{actionData:R}:{},{loaderData:z,errors:U})))}function B(e){return _.fetchers.get(e)||W}async function ee(t,n,o){var s;let{submission:c,replace:l,isFetchActionRedirect:d}=void 0===o?{}:o;n.revalidate&&(N=!0);let p=u(t.location,n.location,a({_isRedirect:!0},d?{_isFetchActionRedirect:!0}:{}));if(i(p,"Expected a location on the redirect navigation"),Q.test(n.location)&&Y&&void 0!==(null==(s=window)?void 0:s.location)){let t=e.history.createURL(n.location),a=null==L(t.pathname,e.basename||"/");if(window.location.origin!==t.origin||a)return void(l?window.location.replace(n.location):window.location.assign(n.location))}w=null;let m=!0===l?r.Replace:r.Push,{formMethod:h,formAction:f,formEncType:g,formData:v}=t.navigation;!c&&h&&f&&v&&g&&(c={formMethod:h,formAction:f,formEncType:g,formData:v}),J.has(n.status)&&c&&we(c.formMethod)?await $(m,p,{submission:a({},c,{formAction:n.location}),preventScrollReset:j}):d?await $(m,p,{overrideNavigation:{state:"loading",location:p,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},fetcherSubmission:c,preventScrollReset:j}):await $(m,p,{overrideNavigation:{state:"loading",location:p,formMethod:c?c.formMethod:void 0,formAction:c?c.formAction:void 0,formEncType:c?c.formEncType:void 0,formData:c?c.formData:void 0},preventScrollReset:j})}async function ne(t,a,r,s,i){let c=await Promise.all([...r.map((e=>ie("loader",i,e,a,o,n,b.basename))),...s.map((t=>{if(t.matches&&t.match)return ie("loader",ce(e.history,t.path,i.signal),t.match,t.matches,o,n,b.basename);return{type:h.error,error:fe(404,{pathname:t.path})}}))]),l=c.slice(0,r.length),u=c.slice(r.length);return await Promise.all([ke(t,r,l,i.signal,!1,_.loaderData),ke(t,s.map((e=>e.match)),u,i.signal,!0)]),{results:c,loaderResults:l,fetcherResults:u}}function re(){N=!0,M.push(...Ne()),D.forEach(((e,t)=>{Z.has(t)&&(O.push(t),le(t))}))}function oe(e,t,n){let a=me(_.matches,t);se(e),H({errors:{[a.route.id]:n},fetchers:new Map(_.fetchers)})}function se(e){Z.has(e)&&le(e),D.delete(e),T.delete(e),V.delete(e),_.fetchers.delete(e)}function le(e){let t=Z.get(e);i(t,"Expected fetch controller: "+e),t.abort(),Z.delete(e)}function ue(e){for(let t of e){let e={state:"idle",data:B(t).data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};_.fetchers.set(t,e)}}function ve(e){let t=[];for(let[n,a]of T)if(a0}function Re(e){_.blockers.delete(e),z.delete(e)}function be(e,t){let n=_.blockers.get(e)||q;i("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state),_.blockers.set(e,t),H({blockers:new Map(_.blockers)})}function xe(e){let{currentLocation:t,nextLocation:n,historyAction:a}=e;if(0===z.size)return;z.size>1&&c(!1,"A router only supports one blocker at a time");let r=Array.from(z.entries()),[o,s]=r[r.length-1],i=_.blockers.get(o);return i&&"proceeding"===i.state?void 0:s({currentLocation:t,nextLocation:n,historyAction:a})?o:void 0}function Ne(e){let t=[];return F.forEach(((n,a)=>{e&&!e(a)||(n.cancel(),t.push(a),F.delete(a))})),t}function Me(e,t){if(m&&f&&E){let n=t.map((e=>je(e,_.loaderData))),a=f(e,n)||e.key,r=m[a];if("number"==typeof r)return r}return null}return b={get basename(){return e.basename},get state(){return _},get routes(){return s},initialize:function(){return d=e.history.listen((t=>{let{action:n,location:a,delta:r}=t;if(U)return void(U=!1);c(0===z.size||null!=r,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let o=xe({currentLocation:_.location,nextLocation:a,historyAction:n});return o&&null!=r?(U=!0,e.history.go(-1*r),void be(o,{state:"blocked",location:a,proceed(){be(o,{state:"proceeding",proceed:void 0,reset:void 0,location:a}),e.history.go(r)},reset(){Re(o),H({blockers:new Map(b.state.blockers)})}})):$(n,a)})),_.initialized||$(r.Pop,_.location),b},subscribe:function(e){return p.add(e),()=>p.delete(e)},enableScrollRestoration:function(e,t,n){if(m=e,E=t,f=n||(e=>e.key),!C&&_.navigation===G){C=!0;let e=Me(_.location,_.matches);null!=e&&H({restoreScrollPosition:e})}return()=>{m=null,E=null,f=null}},navigate:async function t(n,o){if("number"==typeof n)return void e.history.go(n);let{path:s,submission:i,error:c}=te(n,l,o),d=_.location,p=u(_.location,s,o&&o.state);p=a({},p,e.history.encodeLocation(p));let m=o&&null!=o.replace?o.replace:void 0,h=r.Push;!0===m?h=r.Replace:!1===m||null!=i&&we(i.formMethod)&&i.formAction===_.location.pathname+_.location.search&&(h=r.Replace);let f=o&&"preventScrollReset"in o?!0===o.preventScrollReset:void 0,g=xe({currentLocation:d,nextLocation:p,historyAction:h});if(!g)return await $(h,p,{submission:i,pendingError:c,preventScrollReset:f,replace:o&&o.replace});be(g,{state:"blocked",location:p,proceed(){be(g,{state:"proceeding",proceed:void 0,reset:void 0,location:p}),t(n,o)},reset(){Re(g),H({blockers:new Map(_.blockers)})}})},fetch:function(r,c,u,d){if(K)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Z.has(r)&&le(r);let p=v(t||s,u,e.basename);if(!p)return void oe(r,c,fe(404,{pathname:u}));let{path:m,submission:h}=te(u,l,d,!0),f=Se(p,m);j=!0===(d&&d.preventScrollReset),h&&we(h.formMethod)?async function(r,c,l,u,d,p){if(re(),D.delete(r),!u.route.action&&!u.route.lazy){let e=fe(405,{method:p.formMethod,pathname:l,routeId:c});return void oe(r,c,e)}let m=_.fetchers.get(r),h=a({state:"submitting"},p,{data:m&&m.data," _hasFetcherDoneAnything ":!0});_.fetchers.set(r,h),H({fetchers:new Map(_.fetchers)});let f=new AbortController,g=ce(e.history,l,f.signal,p);Z.set(r,f);let E=await ie("action",g,u,d,o,n,b.basename);if(g.signal.aborted)return void(Z.get(r)===f&&Z.delete(r));if(ye(E)){Z.delete(r),V.add(r);let e=a({state:"loading"},p,{data:void 0," _hasFetcherDoneAnything ":!0});return _.fetchers.set(r,e),H({fetchers:new Map(_.fetchers)}),ee(_,E,{submission:p,isFetchActionRedirect:!0})}if(Ce(E))return void oe(r,c,E.error);if(Ee(E))throw fe(400,{type:"defer-action"});let C=_.navigation.location||_.location,y=ce(e.history,C,f.signal),R=t||s,k="idle"!==_.navigation.state?v(R,_.navigation.location,e.basename):_.matches;i(k,"Didn't find any matches after fetcher action");let j=++P;T.set(r,j);let S=a({state:"loading",data:E.data},p,{" _hasFetcherDoneAnything ":!0});_.fetchers.set(r,S);let[L,z]=ae(e.history,_,k,p,C,N,M,O,D,R,e.basename,{[u.route.id]:E.data},void 0);z.filter((e=>e.key!==r)).forEach((e=>{let t=e.key,n=_.fetchers.get(t),a={state:"loading",data:n&&n.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};_.fetchers.set(t,a),Z.set(t,f)})),H({fetchers:new Map(_.fetchers)});let{results:U,loaderResults:$,fetcherResults:B}=await ne(_.matches,k,L,z,y);if(f.signal.aborted)return;T.delete(r),Z.delete(r),z.forEach((e=>Z.delete(e.key)));let J=ge(U);if(J)return ee(_,J);let{loaderData:G,errors:W}=de(_,_.matches,L,$,void 0,z,B,F),q={state:"idle",data:E.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};_.fetchers.set(r,q);let Q=ve(j);"loading"===_.navigation.state&&j>A?(i(x,"Expected pending action"),w&&w.abort(),I(_.navigation.location,{matches:k,loaderData:G,errors:W,fetchers:new Map(_.fetchers)})):(H(a({errors:W,loaderData:pe(_.loaderData,G,k,W)},Q?{fetchers:new Map(_.fetchers)}:{})),N=!1)}(r,c,m,f,p,h):(D.set(r,{routeId:c,path:m}),async function(t,r,s,c,l,u){let d=_.fetchers.get(t),p=a({state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},u,{data:d&&d.data," _hasFetcherDoneAnything ":!0});_.fetchers.set(t,p),H({fetchers:new Map(_.fetchers)});let m=new AbortController,h=ce(e.history,s,m.signal);Z.set(t,m);let f=await ie("loader",h,c,l,o,n,b.basename);Ee(f)&&(f=await _e(f,h.signal,!0)||f);Z.get(t)===m&&Z.delete(t);if(h.signal.aborted)return;if(ye(f))return void await ee(_,f);if(Ce(f)){let e=me(_.matches,r);return _.fetchers.delete(t),void H({fetchers:new Map(_.fetchers),errors:{[e.route.id]:f.error}})}i(!Ee(f),"Unhandled fetcher deferred data");let g={state:"idle",data:f.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};_.fetchers.set(t,g),H({fetchers:new Map(_.fetchers)})}(r,c,m,f,p,h))},revalidate:function(){re(),H({revalidation:"loading"}),"submitting"!==_.navigation.state&&("idle"!==_.navigation.state?$(x||_.historyAction,_.navigation.location,{overrideNavigation:_.navigation}):$(_.historyAction,_.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:B,deleteFetcher:se,dispose:function(){d&&d(),p.clear(),w&&w.abort(),_.fetchers.forEach(((e,t)=>se(t))),_.blockers.forEach(((e,t)=>Re(t)))},getBlocker:function(e,t){let n=_.blockers.get(e)||q;return z.get(e)!==t&&z.set(e,t),n},deleteBlocker:Re,_internalFetchControllers:Z,_internalActiveDeferreds:F,_internalSetRoutes:function(e){t=e}},b}Symbol("deferred");function te(e,t,n,a){void 0===a&&(a=!1);let r,o="string"==typeof e?e:d(e);if(!n||!function(e){return null!=e&&"formData"in e}(n))return{path:o};if(n.formMethod&&!be(n.formMethod))return{path:o,error:fe(405,{method:n.formMethod})};if(n.formData){let e=n.formMethod||"get";if(r={formMethod:t.v7_normalizeFormMethod?e.toUpperCase():e.toLowerCase(),formAction:ve(o),formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:n.formData},we(r.formMethod))return{path:o,submission:r}}let s=p(o),i=le(n.formData);return a&&s.search&&xe(s.search)&&i.append("index",""),s.search="?"+i,{path:d(s),submission:r}}function ne(e,t){let n=e;if(t){let a=e.findIndex((e=>e.route.id===t));a>=0&&(n=e.slice(0,a))}return n}function ae(e,t,n,r,o,s,i,c,l,u,d,p,m){let h=m?Object.values(m)[0]:p?Object.values(p)[0]:void 0,f=e.createURL(t.location),g=e.createURL(o),E=s||f.toString()===g.toString()||f.search!==g.search,C=m?Object.keys(m)[0]:void 0,y=ne(n,C).filter(((e,n)=>{if(e.route.lazy)return!0;if(null==e.route.loader)return!1;if(function(e,t,n){let a=!t||n.route.id!==t.route.id,r=void 0===e[n.route.id];return a||r}(t.loaderData,t.matches[n],e)||i.some((t=>t===e.route.id)))return!0;let o=t.matches[n],s=e;return oe(e,a({currentUrl:f,currentParams:o.params,nextUrl:g,nextParams:s.params},r,{actionResult:h,defaultShouldRevalidate:E||re(o,s)}))})),R=[];return l.forEach(((e,o)=>{if(!n.some((t=>t.route.id===e.routeId)))return;let s=v(u,e.path,d);if(!s)return void R.push(a({key:o},e,{matches:null,match:null}));let i=Se(s,e.path);(c.includes(o)||oe(i,a({currentUrl:f,currentParams:t.matches[t.matches.length-1].params,nextUrl:g,nextParams:n[n.length-1].params},r,{actionResult:h,defaultShouldRevalidate:E})))&&R.push(a({key:o,matches:s,match:i},e))})),[y,R]}function re(e,t){let n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function oe(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if("boolean"==typeof n)return n}return t.defaultShouldRevalidate}async function se(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let o=n[e.id];i(o,"No route found in manifest");let s={};for(let e in r){let t=void 0!==o[e]&&"hasErrorBoundary"!==e;c(!t,'Route "'+o.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||f.has(e)||(s[e]=r[e])}Object.assign(o,s),Object.assign(o,{hasErrorBoundary:t(a({},o)),lazy:void 0})}async function ie(e,t,n,a,r,o,s,c,l,u){let p,m,f;void 0===s&&(s="/"),void 0===c&&(c=!1),void 0===l&&(l=!1);let g=e=>{let a,r=new Promise(((e,t)=>a=t));return f=()=>a(),t.signal.addEventListener("abort",f),Promise.race([e({request:t,params:n.params,context:u}),r])};try{let a=n.route[e];if(n.route.lazy)if(a){m=(await Promise.all([g(a),se(n.route,o,r)]))[0]}else{if(await se(n.route,o,r),a=n.route[e],!a){if("action"===e)throw fe(405,{method:t.method,pathname:new URL(t.url).pathname,routeId:n.route.id});return{type:h.data,data:void 0}}m=await g(a)}else i(a,"Could not find the "+e+' to run on the "'+n.route.id+'" route'),m=await g(a);i(void 0!==m,"You defined "+("action"===e?"an action":"a loader")+' for route "'+n.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){p=h.error,m=e}finally{f&&t.signal.removeEventListener("abort",f)}if(Re(m)){let e,r=m.status;if(B.has(r)){let e=m.headers.get("Location");if(i(e,"Redirects returned/thrown from loaders/actions must have a Location header"),Q.test(e)){if(!c){let n=new URL(t.url),a=e.startsWith("//")?new URL(n.protocol+e):new URL(e),r=null!=L(a.pathname,s);a.origin===n.origin&&r&&(e=a.pathname+a.search+a.hash)}}else{let r=P(e,Z(a.slice(0,a.indexOf(n)+1)).map((e=>e.pathnameBase)),new URL(t.url).pathname);if(i(d(r),"Unable to resolve redirect location: "+e),s){let e=r.pathname;r.pathname="/"===e?s:A([s,e])}e=d(r)}if(c)throw m.headers.set("Location",e),m;return{type:h.redirect,status:r,location:e,revalidate:null!==m.headers.get("X-Remix-Revalidate")}}if(l)throw{type:p||h.data,response:m};let o=m.headers.get("Content-Type");return e=o&&/\bapplication\/json\b/.test(o)?await m.json():await m.text(),p===h.error?{type:p,error:new F(r,m.statusText,e),headers:m.headers}:{type:h.data,data:e,statusCode:m.status,headers:m.headers}}return p===h.error?{type:p,error:m}:function(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}(m)?{type:h.deferred,deferredData:m,statusCode:null==(v=m.init)?void 0:v.status,headers:(null==(E=m.init)?void 0:E.headers)&&new Headers(m.init.headers)}:{type:h.data,data:m};var v,E}function ce(e,t,n,a){let r=e.createURL(ve(t)).toString(),o={signal:n};if(a&&we(a.formMethod)){let{formMethod:e,formEncType:t,formData:n}=a;o.method=e.toUpperCase(),o.body="application/x-www-form-urlencoded"===t?le(n):n}return new Request(r,o)}function le(e){let t=new URLSearchParams;for(let[n,a]of e.entries())t.append(n,a instanceof File?a.name:a);return t}function ue(e,t,n,a,r){let o,s={},c=null,l=!1,u={};return n.forEach(((n,d)=>{let p=t[d].route.id;if(i(!ye(n),"Cannot handle redirect results in processLoaderData"),Ce(n)){let t=me(e,p),r=n.error;a&&(r=Object.values(a)[0],a=void 0),c=c||{},null==c[t.route.id]&&(c[t.route.id]=r),s[p]=void 0,l||(l=!0,o=z(n.error)?n.error.status:500),n.headers&&(u[p]=n.headers)}else Ee(n)?(r.set(p,n.deferredData),s[p]=n.deferredData.data):s[p]=n.data,null==n.statusCode||200===n.statusCode||l||(o=n.statusCode),n.headers&&(u[p]=n.headers)})),a&&(c=a,s[Object.keys(a)[0]]=void 0),{loaderData:s,errors:c,statusCode:o||200,loaderHeaders:u}}function de(e,t,n,r,o,s,c,l){let{loaderData:u,errors:d}=ue(t,n,r,o,l);for(let t=0;te.route.id===t))+1):[...e]).reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function he(e){let t=e.find((e=>e.index||!e.path||"/"===e.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function fe(e,t){let{pathname:n,routeId:a,method:r,type:o}=void 0===t?{}:t,s="Unknown Server Error",i="Unknown @remix-run/router error";return 400===e?(s="Bad Request",r&&n&&a?i="You made a "+r+' request to "'+n+'" but did not provide a `loader` for route "'+a+'", so there is no way to handle the request.':"defer-action"===o&&(i="defer() is not supported in actions")):403===e?(s="Forbidden",i='Route "'+a+'" does not match URL "'+n+'"'):404===e?(s="Not Found",i='No route matches URL "'+n+'"'):405===e&&(s="Method Not Allowed",r&&n&&a?i="You made a "+r.toUpperCase()+' request to "'+n+'" but did not provide an `action` for route "'+a+'", so there is no way to handle the request.':r&&(i='Invalid request method "'+r.toUpperCase()+'"')),new F(e||500,s,new Error(i),!0)}function ge(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(ye(n))return n}}function ve(e){return d(a({},"string"==typeof e?p(e):e,{hash:""}))}function Ee(e){return e.type===h.deferred}function Ce(e){return e.type===h.error}function ye(e){return(e&&e.type)===h.redirect}function Re(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function be(e){return $.has(e.toLowerCase())}function we(e){return H.has(e.toLowerCase())}async function ke(e,t,n,a,r,o){for(let s=0;se.route.id===c.route.id)),u=null!=l&&!re(l,c)&&void 0!==(o&&o[c.route.id]);Ee(i)&&(r||u)&&await _e(i,a,r).then((e=>{e&&(n[s]=e||n[s])}))}}async function _e(e,t,n){if(void 0===n&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:h.data,data:e.deferredData.unwrappedData}}catch(e){return{type:h.error,error:e}}return{type:h.data,data:e.deferredData.data}}}function xe(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function je(e,t){let{route:n,pathname:a,params:r}=e;return{id:n.id,pathname:a,params:r,data:t[n.id],handle:n.handle}}function Se(e,t){let n="string"==typeof t?p(t).search:t.search;if(e[e.length-1].route.index&&xe(n||""))return e[e.length-1];let a=Z(e);return a[a.length-1]}},1074:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(9307);const r=function({icon:e,size:t=24,...n}){return(0,a.cloneElement)(e,{width:t,height:t,...n})}},3259:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9307),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"}))},2229:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9307),r=n(444);const o=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)(r.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}))},6936:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9307),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}))},6163:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9307),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}))},5381:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9307),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"}))},2646:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9307),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{fillRule:"evenodd",d:"M6 5.5h12a.5.5 0 01.5.5v7H14a2 2 0 11-4 0H5.5V6a.5.5 0 01.5-.5zm-.5 9V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5v-3.5h-3.337a3.5 3.5 0 01-6.326 0H5.5zM4 13V6a2 2 0 012-2h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2v-5z",clipRule:"evenodd"}))},6828:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9307),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M11 13h2v-2h-2v2zm-6 0h2v-2H5v2zm12-2v2h2v-2h-2z"}))},8270:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9307),r=n(444);const o=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M20 5h-5.7c0-1.3-1-2.3-2.3-2.3S9.7 3.7 9.7 5H4v2h1.5v.3l1.7 11.1c.1 1 1 1.7 2 1.7h5.7c1 0 1.8-.7 2-1.7l1.7-11.1V7H20V5zm-3.2 2l-1.7 11.1c0 .1-.1.2-.3.2H9.1c-.1 0-.3-.1-.3-.2L7.2 7h9.6z"}))},5235:(e,t)=>{var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t{"use strict";n.d(t,{Z:()=>r});var a=n(2969);function r(e,t){e.classList?e.classList.add(t):(0,a.Z)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}},2969:(e,t,n)=>{"use strict";function a(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}n.d(t,{Z:()=>a})},5807:(e,t,n)=>{"use strict";function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function r(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=a(e.className,t):e.setAttribute("class",a(e.className&&e.className.baseVal||"",t))}n.d(t,{Z:()=>r})},5785:()=>{},5612:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={"star-icon":"cuoSlhSNrqf1dozY22Xb",jetpack:"lAIiifeLMmZAPlQ9n9ZR","checkmark-icon":"JLquNpQVlysAamuh5lJO",socialIcon:"cbOwD8Y4tFjwimmtchQI",facebook:"aHOlEBGD5EA8NKRw3xTw",instagram:"cL3m0xBYTYhIKI7lCqDB",twitter:"af4Y_zItXvLAOEoSDPSv",linkedin:"f68aqF3XSD1OBvXR1get",tumblr:"xFI0dt3UiXRlRQdqPWkx",google:"q7JEoyymveP6kF747M43",mastodon:"DKOBOTVmTLbh26gUH_73"}},9054:()=>{},3247:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={sm:"(max-width: 599px)",md:"(min-width: 600px) and (max-width: 959px)",lg:"(min-width: 960px)"}},3171:e=>{var t=1e3,n=60*t,a=60*n,r=24*a,o=7*r,s=365.25*r;function i(e,t,n,a){var r=t>=1.5*n;return Math.round(e/n)+" "+a+(r?"s":"")}e.exports=function(e,c){c=c||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!i)return;var c=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*o;case"days":case"day":case"d":return c*r;case"hours":case"hour":case"hrs":case"hr":case"h":return c*a;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var o=Math.abs(e);if(o>=r)return i(e,o,r,"day");if(o>=a)return i(e,o,a,"hour");if(o>=n)return i(e,o,n,"minute");if(o>=t)return i(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=r)return Math.round(e/r)+"d";if(o>=a)return Math.round(e/a)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9997:(e,t,n)=>{"use strict";n.d(t,{cP:()=>c,lr:()=>m});var a=n(9196),r=n(6417),o=n(3170);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let a=e[n];return t.concat(Array.isArray(a)?a.map((e=>[n,e])):[[n,a]])}),[]))}function c(e,t){return(0,o.p7)({basename:null==t?void 0:t.basename,future:null==t?void 0:t.future,history:(0,o.q_)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||l(),routes:e,detectErrorBoundary:r.b6}).initialize()}function l(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=s({},t,{errors:u(t.errors)})),t}function u(e){if(!e)return null;let t=Object.entries(e),n={};for(let[e,a]of t)if(a&&"RouteErrorResponse"===a.__type)n[e]=new o.iQ(a.status,a.statusText,a.data,!0===a.internal);else if(a&&"Error"===a.__type){let t=new Error(a.message);t.stack="",n[e]=t}else n[e]=a;return n}"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement;var d,p;function m(e){let t=a.useRef(i(e)),n=a.useRef(!1),o=(0,r.TH)(),s=a.useMemo((()=>function(e,t){let n=i(e);if(t)for(let e of t.keys())n.has(e)||t.getAll(e).forEach((t=>{n.append(e,t)}));return n}(o.search,n.current?null:t.current)),[o.search]),c=(0,r.s0)(),l=a.useCallback(((e,t)=>{const a=i("function"==typeof e?e(s):e);n.current=!0,c("?"+a,t)}),[c,s]);return[s,l]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(d||(d={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(p||(p={}))},6417:(e,t,n)=>{"use strict";n.d(t,{Fg:()=>O,TH:()=>R,b6:()=>D,pG:()=>L,s0:()=>b});var a=n(3170),r=n(9196);const o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},{useState:s,useEffect:i,useLayoutEffect:c,useDebugValue:l}=r;function u(e){const t=e.getSnapshot,n=e.value;try{const e=t();return!o(n,e)}catch(e){return!0}}const d=!!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement)?function(e,t,n){return t()}:function(e,t,n){const a=t(),[{inst:r},o]=s({inst:{value:a,getSnapshot:t}});return c((()=>{r.value=a,r.getSnapshot=t,u(r)&&o({inst:r})}),[e,a,t]),i((()=>{u(r)&&o({inst:r});return e((()=>{u(r)&&o({inst:r})}))}),[e]),l(a),a},p="useSyncExternalStore"in r?r.useSyncExternalStore:d;const m=r.createContext(null);const h=r.createContext(null);const f=r.createContext(null);const g=r.createContext(null);const v=r.createContext({outlet:null,matches:[]});const E=r.createContext(null);function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;te.pathnameBase))),i=r.useRef(!1);return r.useEffect((()=>{i.current=!0})),r.useCallback((function(n,r){if(void 0===r&&(r={}),!i.current)return;if("number"==typeof n)return void t.go(n);let c=(0,a.pC)(n,JSON.parse(s),o,"path"===r.relative);"/"!==e&&(c.pathname="/"===c.pathname?e:(0,a.RQ)([e,c.pathname])),(r.replace?t.replace:t.push)(c,r.state,r)}),[e,t,s,o])}function w(){let e=function(){var e;let t=r.useContext(E),n=N(S.UseRouteError),a=M(S.UseRouteError);if(t)return t;return null==(e=n.errors)?void 0:e[a]}(),t=(0,a.WK)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:o};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),n?r.createElement("pre",{style:s},n):null,null)}class k extends r.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?r.createElement(v.Provider,{value:this.props.routeContext},r.createElement(E.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function _(e){let{routeContext:t,match:n,children:a}=e,o=r.useContext(m);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(v.Provider,{value:t},a)}function x(e,t,n){if(void 0===t&&(t=[]),null==e){if(null==n||!n.errors)return null;e=n.matches}let o=e,s=null==n?void 0:n.errors;if(null!=s){let e=o.findIndex((e=>e.route.id&&(null==s?void 0:s[e.route.id])));e>=0||(0,a.J0)(!1),o=o.slice(0,Math.min(o.length,e+1))}return o.reduceRight(((e,a,i)=>{let c=a.route.id?null==s?void 0:s[a.route.id]:null,l=null;n&&(l=a.route.ErrorBoundary?r.createElement(a.route.ErrorBoundary,null):a.route.errorElement?a.route.errorElement:r.createElement(w,null));let u=t.concat(o.slice(0,i+1)),d=()=>{let t=e;return c?t=l:a.route.Component?t=r.createElement(a.route.Component,null):a.route.element&&(t=a.route.element),r.createElement(_,{match:a,routeContext:{outlet:e,matches:u},children:t})};return n&&(a.route.ErrorBoundary||a.route.errorElement||0===i)?r.createElement(k,{location:n.location,component:l,error:c,children:d(),routeContext:{outlet:null,matches:u}}):d()}),null)}var j,S;function N(e){let t=r.useContext(h);return t||(0,a.J0)(!1),t}function M(e){let t=function(e){let t=r.useContext(v);return t||(0,a.J0)(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||(0,a.J0)(!1),n.route.id}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"}(j||(j={})),function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(S||(S={}));function L(e){let{fallbackElement:t,router:n}=e,a=r.useCallback((()=>n.state),[n]),o=p(n.subscribe,a,a),s=r.useMemo((()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,a)=>n.navigate(e,{state:t,preventScrollReset:null==a?void 0:a.preventScrollReset}),replace:(e,t,a)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==a?void 0:a.preventScrollReset})})),[n]),i=n.basename||"/",c=r.useMemo((()=>({router:n,navigator:s,static:!1,basename:i})),[n,s,i]);return r.createElement(r.Fragment,null,r.createElement(m.Provider,{value:c},r.createElement(h.Provider,{value:o},r.createElement(P,{basename:n.basename,location:n.state.location,navigationType:n.state.historyAction,navigator:s},n.state.initialized?r.createElement(A,null):t))),null)}function O(e){let{to:t,replace:n,state:o,relative:s}=e;y()||(0,a.J0)(!1);let i=r.useContext(h),c=b();return r.useEffect((()=>{i&&"idle"!==i.navigation.state||c(t,{replace:n,state:o,relative:s})})),null}function Z(e){(0,a.J0)(!1)}function P(e){let{basename:t="/",children:n=null,location:o,navigationType:s=a.aU.Pop,navigator:i,static:c=!1}=e;y()&&(0,a.J0)(!1);let l=t.replace(/^\/*/,"/"),u=r.useMemo((()=>({basename:l,navigator:i,static:c})),[l,i,c]);"string"==typeof o&&(o=(0,a.cP)(o));let{pathname:d="/",search:p="",hash:m="",state:h=null,key:v="default"}=o,E=r.useMemo((()=>{let e=(0,a.Zn)(d,l);return null==e?null:{location:{pathname:e,search:p,hash:m,state:h,key:v},navigationType:s}}),[l,d,p,m,h,v,s]);return null==E?null:r.createElement(f.Provider,{value:u},r.createElement(g.Provider,{children:n,value:E}))}function A(e){let{children:t,location:n}=e,o=r.useContext(m);return function(e,t){y()||(0,a.J0)(!1);let{navigator:n}=r.useContext(f),o=r.useContext(h),{matches:s}=r.useContext(v),i=s[s.length-1],c=i?i.params:{},l=(i&&i.pathname,i?i.pathnameBase:"/");i&&i.route;let u,d=R();if(t){var p;let e="string"==typeof t?(0,a.cP)(t):t;"/"===l||(null==(p=e.pathname)?void 0:p.startsWith(l))||(0,a.J0)(!1),u=e}else u=d;let m=u.pathname||"/",E="/"===l?m:m.slice(l.length)||"/",b=(0,a.fp)(e,{pathname:E}),w=x(b&&b.map((e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:(0,a.RQ)([l,n.encodeLocation?n.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:(0,a.RQ)([l,n.encodeLocation?n.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),s,o||void 0);return t&&w?r.createElement(g.Provider,{value:{location:C({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:a.aU.Pop}},w):w}(o&&!t?o.router.routes:V(t),n)}var T;!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(T||(T={}));new Promise((()=>{}));r.Component;function V(e,t){void 0===t&&(t=[]);let n=[];return r.Children.forEach(e,((e,o)=>{if(!r.isValidElement(e))return;let s=[...t,o];if(e.type===r.Fragment)return void n.push.apply(n,V(e.props.children,s));e.type!==Z&&(0,a.J0)(!1),e.props.index&&e.props.children&&(0,a.J0)(!1);let i={id:e.props.id||s.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=V(e.props.children,s)),n.push(i)})),n}function D(e){return Boolean(e.ErrorBoundary)||Boolean(e.errorElement)}},7598:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var a=n(255),r=n(7921),o=n(1806),s=n(6712),i=n(5807),c=n(9196),l=n.n(c),u=n(5446),d=n(5992),p=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,i.Z)(e,t)}))},m=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r{"use strict";n.d(t,{ZP:()=>C});var a=n(7921),r=n(1806),o=n(9196),s=n.n(o),i=n(1850),c=n.n(i),l=n(9171),u=n(457),d=n(5992),p="unmounted",m="exited",h="entering",f="entered",g="exiting",v=function(e){function t(t,n){var a;a=e.call(this,t,n)||this;var r,o=n&&!n.isMounting?t.enter:t.appear;return a.appearStatus=null,t.in?o?(r=m,a.appearStatus=h):r=f:r=t.unmountOnExit||t.mountOnEnter?p:m,a.state={status:r},a.nextCallback=null,a}(0,r.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===p?{status:m}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==h&&n!==f&&(t=h):n!==h&&n!==f||(t=g)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,a=this.props.timeout;return e=t=n=a,null!=a&&"number"!=typeof a&&(e=a.exit,t=a.enter,n=void 0!==a.appear?a.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:c().findDOMNode(this);n&&(0,d.Q)(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===m&&this.setState({status:p})},n.performEnter=function(e){var t=this,n=this.props.enter,a=this.context?this.context.isMounting:e,r=this.props.nodeRef?[a]:[c().findDOMNode(this),a],o=r[0],s=r[1],i=this.getTimeouts(),u=a?i.appear:i.enter;!e&&!n||l.Z.disabled?this.safeSetState({status:f},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,s),this.safeSetState({status:h},(function(){t.props.onEntering(o,s),t.onTransitionEnd(u,(function(){t.safeSetState({status:f},(function(){t.props.onEntered(o,s)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),a=this.props.nodeRef?void 0:c().findDOMNode(this);t&&!l.Z.disabled?(this.props.onExit(a),this.safeSetState({status:g},(function(){e.props.onExiting(a),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:m},(function(){e.props.onExited(a)}))}))}))):this.safeSetState({status:m},(function(){e.props.onExited(a)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(a){n&&(n=!1,t.nextCallback=null,e(a))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:c().findDOMNode(this),a=null==e&&!this.props.addEndListener;if(n&&!a){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=r[0],s=r[1];this.props.addEndListener(o,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===p)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,a.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s().createElement(u.Z.Provider,{value:null},"function"==typeof n?n(e,r):s().cloneElement(s().Children.only(n),r))},t}(s().Component);function E(){}v.contextType=u.Z,v.propTypes={},v.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:E,onEntering:E,onEntered:E,onExit:E,onExiting:E,onExited:E},v.UNMOUNTED=p,v.EXITED=m,v.ENTERING=h,v.ENTERED=f,v.EXITING=g;const C=v},8795:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(7921),r=n(255),o=n(506),s=n(1806),i=n(9196),c=n.n(i),l=n(457),u=n(8907),d=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},p=function(e){function t(t,n){var a,r=(a=e.call(this,t,n)||this).handleExited.bind((0,o.Z)(a));return a.state={contextValue:{isMounting:!0},handleExited:r,firstRender:!0},a}(0,s.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,a=t.handleExited;return{children:t.firstRender?(0,u.Kg)(e,a):(0,u.Rp)(e,n,a),firstRender:!1}},n.handleExited=function(e,t){var n=(0,u.n)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,r.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=(0,a.Z)(e,["component","childFactory"]),o=this.state.contextValue,s=d(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?c().createElement(l.Z.Provider,{value:o},s):c().createElement(l.Z.Provider,{value:o},c().createElement(t,r,s))},t}(c().Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(e){return e}};const m=p},457:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(9196);const r=n.n(a)().createContext(null)},9171:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={disabled:!1}},8907:(e,t,n)=>{"use strict";n.d(t,{Kg:()=>s,Rp:()=>i,n:()=>r});var a=n(9196);function r(e,t){var n=Object.create(null);return e&&a.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,a.isValidElement)(e)?t(e):e}(e)})),n}function o(e,t,n){return null!=n[t]?n[t]:e.props[t]}function s(e,t){return r(e.children,(function(n){return(0,a.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:o(n,"appear",e),enter:o(n,"enter",e),exit:o(n,"exit",e)})}))}function i(e,t,n){var s=r(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var a,r=Object.create(null),o=[];for(var s in e)s in t?o.length&&(r[s]=o,o=[]):o.push(s);var i={};for(var c in t){if(r[c])for(a=0;a{"use strict";n.d(t,{Q:()=>a});var a=function(e){return e.scrollTop}},6975:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(1128);const r=n.n(a)()("dops:analytics");let o,s;window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;const i={initialize:function(e,t,n){i.setUser(e,t),i.setSuperProps(n),i.identifyUser()},setGoogleAnalyticsEnabled:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.googleAnalyticsEnabled=e,this.googleAnalyticsKey=t},setMcAnalyticsEnabled:function(e){this.mcAnalyticsEnabled=e},setUser:function(e,t){s={ID:e,username:t}},setSuperProps:function(e){o=e},assignSuperProps:function(e){o=Object.assign(o||{},e)},mc:{bumpStat:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&x_"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){const n=function(e,t){let n="";if("object"==typeof e){for(const t in e)n+="&"+encodeURIComponent(t)+"="+encodeURIComponent(e[t]);r("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),r('Built stat "%s" in group "%s"',t,e);return n}(e,t);i.mcAnalyticsEnabled&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){i.tracks.recordPageView(e),i.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,a,r,o,s){i.ga.recordPurchase(e,t,n,a,r,o,s)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(o&&(r("- Super Props: %o",o),t=Object.assign(t,o)),r('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):r('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){const t="object"==typeof e?e:{target:e};i.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){i.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){r("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){let e={};i.ga.initialized||(s&&(e={userId:"u-"+s.ID}),window.ga("create",this.googleAnalyticsKey,"auto",e),i.ga.initialized=!0)},recordPageView:function(e,t){i.ga.initialize(),r("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),this.googleAnalyticsEnabled&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,a){i.ga.initialize();let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==a&&(o+=" [Option Value: "+a+"]"),r(o),this.googleAnalyticsEnabled&&window.ga("send","event",e,t,n,a)},recordPurchase:function(e,t,n,a,r,o,s){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:a,currency:s}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:r,quantity:o}),window.ga("ecommerce:send")}},identifyUser:function(){s&&window._tkq.push(["identifyUser",s.ID,s.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},c=i},4743:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>d});var a=n(1132),r=n(6483);function o(e){class t extends Error{constructor(){super(...arguments),this.name=e}}return t}const s=o("JsonParseError"),i=o("JsonParseAfterRedirectError"),c=o("Api404Error"),l=o("Api404AfterRedirectError"),u=o("FetchNetworkError");const d=new function(e,t){let n=e,o=e,s={"X-WP-Nonce":t},i={credentials:"same-origin",headers:s},c={method:"post",credentials:"same-origin",headers:Object.assign({},s,{"Content-type":"application/json"})},l=function(e){const t=e.split("?"),n=t.length>1?t[1]:"",a=n.length?n.split("&"):[];return a.push("_cacheBuster="+(new Date).getTime()),t[0]+"?"+a.join("&")};const u={setApiRoot(e){n=e},setWpcomOriginApiUrl(e){o=e},setApiNonce(e){s={"X-WP-Nonce":e},i={credentials:"same-origin",headers:s},c={method:"post",credentials:"same-origin",headers:Object.assign({},s,{"Content-type":"application/json"})}},setCacheBusterCallback:e=>{l=e},registerSite:(e,t)=>{const r={registration_nonce:e,no_iframe:!0};return(0,a.jetpackConfigHas)("consumer_slug")&&(r.plugin_slug=(0,a.jetpackConfigGet)("consumer_slug")),null!==t&&(r.redirect_uri=t),h(`${n}jetpack/v4/connection/register`,c,{body:JSON.stringify(r)}).then(p).then(m)},fetchAuthorizationUrl:e=>d((0,r.addQueryArgs)(`${n}jetpack/v4/connection/authorize_url`,{no_iframe:"1",redirect_uri:e}),i).then(p).then(m),fetchSiteConnectionData:()=>d(`${n}jetpack/v4/connection/data`,i).then(m),fetchSiteConnectionStatus:()=>d(`${n}jetpack/v4/connection`,i).then(m),fetchSiteConnectionTest:()=>d(`${n}jetpack/v4/connection/test`,i).then(p).then(m),fetchUserConnectionData:()=>d(`${n}jetpack/v4/connection/data`,i).then(m),fetchUserTrackingSettings:()=>d(`${n}jetpack/v4/tracking/settings`,i).then(p).then(m),updateUserTrackingSettings:e=>h(`${n}jetpack/v4/tracking/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),disconnectSite:()=>h(`${n}jetpack/v4/connection`,c,{body:JSON.stringify({isActive:!1})}).then(p).then(m),fetchConnectUrl:()=>d(`${n}jetpack/v4/connection/url`,i).then(p).then(m),unlinkUser:()=>h(`${n}jetpack/v4/connection/user`,c,{body:JSON.stringify({linked:!1})}).then(p).then(m),reconnect:()=>h(`${n}jetpack/v4/connection/reconnect`,c).then(p).then(m),fetchConnectedPlugins:()=>d(`${n}jetpack/v4/connection/plugins`,i).then(p).then(m),setHasSeenWCConnectionModal:()=>h(`${n}jetpack/v4/seen-wc-connection-modal`,c).then(p).then(m),fetchModules:()=>d(`${n}jetpack/v4/module/all`,i).then(p).then(m),fetchModule:e=>d(`${n}jetpack/v4/module/${e}`,i).then(p).then(m),activateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!0})}).then(p).then(m),deactivateModule:e=>h(`${n}jetpack/v4/module/${e}/active`,c,{body:JSON.stringify({active:!1})}),updateModuleOptions:(e,t)=>h(`${n}jetpack/v4/module/${e}`,c,{body:JSON.stringify(t)}).then(p).then(m),updateSettings:e=>h(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),getProtectCount:()=>d(`${n}jetpack/v4/module/protect/data`,i).then(p).then(m),resetOptions:e=>h(`${n}jetpack/v4/options/${e}`,c,{body:JSON.stringify({reset:!0})}).then(p).then(m),activateVaultPress:()=>h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"vaultpress",status:"active"})}).then(p).then(m),getVaultPressData:()=>d(`${n}jetpack/v4/module/vaultpress/data`,i).then(p).then(m),installPlugin:(e,t)=>{const a={slug:e,status:"active"};return t&&(a.source=t),h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify(a)}).then(p).then(m)},activateAkismet:()=>h(`${n}jetpack/v4/plugins`,c,{body:JSON.stringify({slug:"akismet",status:"active"})}).then(p).then(m),getAkismetData:()=>d(`${n}jetpack/v4/module/akismet/data`,i).then(p).then(m),checkAkismetKey:()=>d(`${n}jetpack/v4/module/akismet/key/check`,i).then(p).then(m),checkAkismetKeyTyped:e=>h(`${n}jetpack/v4/module/akismet/key/check`,c,{body:JSON.stringify({api_key:e})}).then(p).then(m),fetchStatsData:e=>d(function(e){let t=`${n}jetpack/v4/module/stats/data`;-1!==t.indexOf("?")?t+=`&range=${encodeURIComponent(e)}`:t+=`?range=${encodeURIComponent(e)}`;return t}(e),i).then(p).then(m).then(g),getPluginUpdates:()=>d(`${n}jetpack/v4/updates/plugins`,i).then(p).then(m),getPlans:()=>d(`${n}jetpack/v4/plans`,i).then(p).then(m),fetchSettings:()=>d(`${n}jetpack/v4/settings`,i).then(p).then(m),updateSetting:e=>h(`${n}jetpack/v4/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchSiteData:()=>d(`${n}jetpack/v4/site`,i).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteFeatures:()=>d(`${n}jetpack/v4/site/features`,i).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteProducts:()=>d(`${n}jetpack/v4/site/products`,i).then(p).then(m),fetchSitePurchases:()=>d(`${n}jetpack/v4/site/purchases`,i).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteBenefits:()=>d(`${n}jetpack/v4/site/benefits`,i).then(p).then(m).then((e=>JSON.parse(e.data))),fetchSiteDiscount:()=>d(`${n}jetpack/v4/site/discount`,i).then(p).then(m).then((e=>e.data)),fetchSetupQuestionnaire:()=>d(`${n}jetpack/v4/setup/questionnaire`,i).then(p).then(m),fetchRecommendationsData:()=>d(`${n}jetpack/v4/recommendations/data`,i).then(p).then(m),fetchRecommendationsProductSuggestions:()=>d(`${n}jetpack/v4/recommendations/product-suggestions`,i).then(p).then(m),fetchRecommendationsUpsell:()=>d(`${n}jetpack/v4/recommendations/upsell`,i).then(p).then(m),fetchRecommendationsConditional:()=>d(`${n}jetpack/v4/recommendations/conditional`,i).then(p).then(m),saveRecommendationsData:e=>h(`${n}jetpack/v4/recommendations/data`,c,{body:JSON.stringify({data:e})}).then(p),fetchProducts:()=>d(`${n}jetpack/v4/products`,i).then(p).then(m),fetchRewindStatus:()=>d(`${n}jetpack/v4/rewind`,i).then(p).then(m).then((e=>JSON.parse(e.data))),fetchScanStatus:()=>d(`${n}jetpack/v4/scan`,i).then(p).then(m).then((e=>JSON.parse(e.data))),dismissJetpackNotice:e=>h(`${n}jetpack/v4/notice/${e}`,c,{body:JSON.stringify({dismissed:!0})}).then(p).then(m),fetchPluginsData:()=>d(`${n}jetpack/v4/plugins`,i).then(p).then(m),fetchIntroOffers:()=>d(`${n}jetpack/v4/intro-offers`,i).then(p).then(m),fetchVerifySiteGoogleStatus:e=>d(null!==e?`${n}jetpack/v4/verify-site/google/${e}`:`${n}jetpack/v4/verify-site/google`,i).then(p).then(m),verifySiteGoogle:e=>h(`${n}jetpack/v4/verify-site/google`,c,{body:JSON.stringify({keyring_id:e})}).then(p).then(m),submitSurvey:e=>h(`${n}jetpack/v4/marketing/survey`,c,{body:JSON.stringify(e)}).then(p).then(m),saveSetupQuestionnaire:e=>h(`${n}jetpack/v4/setup/questionnaire`,c,{body:JSON.stringify(e)}).then(p).then(m),updateLicensingError:e=>h(`${n}jetpack/v4/licensing/error`,c,{body:JSON.stringify(e)}).then(p).then(m),updateLicenseKey:e=>h(`${n}jetpack/v4/licensing/set-license`,c,{body:JSON.stringify({license:e})}).then(p).then(m),getUserLicensesCounts:()=>d(`${n}jetpack/v4/licensing/user/counts`,i).then(p).then(m),getUserLicenses:()=>d(`${n}jetpack/v4/licensing/user/licenses`,i).then(p).then(m),updateLicensingActivationNoticeDismiss:e=>h(`${n}jetpack/v4/licensing/user/activation-notice-dismiss`,c,{body:JSON.stringify({last_detached_count:e})}).then(p).then(m),updateRecommendationsStep:e=>h(`${n}jetpack/v4/recommendations/step`,c,{body:JSON.stringify({step:e})}).then(p),confirmIDCSafeMode:()=>h(`${n}jetpack/v4/identity-crisis/confirm-safe-mode`,c).then(p),startIDCFresh:e=>h(`${n}jetpack/v4/identity-crisis/start-fresh`,c,{body:JSON.stringify({redirect_uri:e})}).then(p).then(m),migrateIDC:()=>h(`${n}jetpack/v4/identity-crisis/migrate`,c).then(p),attachLicenses:e=>h(`${n}jetpack/v4/licensing/attach-licenses`,c,{body:JSON.stringify({licenses:e})}).then(p).then(m),fetchSearchPlanInfo:()=>d(`${o}jetpack/v4/search/plan`,i).then(p).then(m),fetchSearchSettings:()=>d(`${o}jetpack/v4/search/settings`,i).then(p).then(m),updateSearchSettings:e=>h(`${o}jetpack/v4/search/settings`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchSearchStats:()=>d(`${o}jetpack/v4/search/stats`,i).then(p).then(m),fetchWafSettings:()=>d(`${n}jetpack/v4/waf`,i).then(p).then(m),updateWafSettings:e=>h(`${n}jetpack/v4/waf`,c,{body:JSON.stringify(e)}).then(p).then(m),fetchWordAdsSettings:()=>d(`${n}jetpack/v4/wordads/settings`,i).then(p).then(m),updateWordAdsSettings:e=>h(`${n}jetpack/v4/wordads/settings`,c,{body:JSON.stringify(e)}),fetchSearchPricing:()=>d(`${o}jetpack/v4/search/pricing`,i).then(p).then(m),fetchMigrationStatus:()=>d(`${n}jetpack/v4/migration/status`,i).then(p).then(m)};function d(e,t){return fetch(l(e),t)}function h(e,t,n){return fetch(e,Object.assign({},t,n)).catch(f)}function g(e){return e.general&&void 0===e.general.response||e.week&&void 0===e.week.response||e.month&&void 0===e.month.response?e:{}}Object.assign(this,u)};function p(e){return e.status>=200&&e.status<300?e:404===e.status?new Promise((()=>{throw e.redirected?new l(e.redirected):new c})):e.json().catch((e=>h(e))).then((t=>{const n=new Error(`${t.message} (Status ${e.status})`);throw n.response=t,n.name="ApiError",n}))}function m(e){return e.json().catch((t=>h(t,e.redirected,e.url)))}function h(e,t,n){throw t?new i(n):new s}function f(){throw new u}},7525:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(2674),r=n.n(a),o=n(5736),s=n(5235),i=n.n(s),c=n(9196),l=n.n(c);const __=o.__,u=e=>{let{title:t=__("An Automattic Airline","jetpack-forms"),height:n=7,className:a,...o}=e;return l().createElement("svg",r()({role:"img",x:"0",y:"0",viewBox:"0 0 935 38.2",enableBackground:"new 0 0 935 38.2","aria-labelledby":"jp-automattic-byline-logo-title",height:n,className:i()("jp-automattic-byline-logo",a)},o),l().createElement("desc",{id:"jp-automattic-byline-logo-title"},t),l().createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),l().createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),l().createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"}))}},7172:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(17),r=n.n(a),o=n(5736),s=n(5235),i=n.n(s),c=n(9196);n(5785);const __=o.__;class l extends c.Component{needsOffset(e,t){return["gridicons-arrow-left","gridicons-arrow-right","gridicons-calendar","gridicons-cart","gridicons-folder","gridicons-info","gridicons-info-outline","gridicons-posts","gridicons-star-outline","gridicons-star"].indexOf(e)>=0&&t%18==0}getSVGDescription(e){if("description"in this.props)return this.props.description;switch(e){default:return"";case"gridicons-audio":return __("Has audio.","jetpack-forms");case"gridicons-arrow-left":return __("Arrow left","jetpack-forms");case"gridicons-arrow-right":return __("Arrow right","jetpack-forms");case"gridicons-calendar":return __("Is an event.","jetpack-forms");case"gridicons-cart":return __("Is a product.","jetpack-forms");case"chevron-down":return __("Show filters","jetpack-forms");case"gridicons-comment":return __("Matching comment.","jetpack-forms");case"gridicons-cross":return __("Close.","jetpack-forms");case"gridicons-filter":return __("Toggle search filters.","jetpack-forms");case"gridicons-folder":return __("Category","jetpack-forms");case"gridicons-info":case"gridicons-info-outline":return __("Information.","jetpack-forms");case"gridicons-image-multiple":return __("Has multiple images.","jetpack-forms");case"gridicons-image":return __("Has an image.","jetpack-forms");case"gridicons-page":return __("Page","jetpack-forms");case"gridicons-post":return __("Post","jetpack-forms");case"gridicons-jetpack-search":case"gridicons-search":return __("Magnifying Glass","jetpack-forms");case"gridicons-tag":return __("Tag","jetpack-forms");case"gridicons-video":return __("Has a video.","jetpack-forms")}}renderIcon(e){switch(e){default:return null;case"gridicons-audio":return React.createElement("g",null,React.createElement("path",{d:"M8 4v10.184C7.686 14.072 7.353 14 7 14c-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V7h7v4.184c-.314-.112-.647-.184-1-.184-1.657 0-3 1.343-3 3s1.343 3 3 3 3-1.343 3-3V4H8z"}));case"gridicons-arrow-left":return React.createElement("g",null,React.createElement("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}));case"gridicons-arrow-right":return React.createElement("g",null,React.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"}));case"gridicons-block":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zM4 12c0-4.418 3.582-8 8-8 1.848 0 3.545.633 4.9 1.686L5.686 16.9C4.633 15.545 4 13.848 4 12zm8 8c-1.848 0-3.546-.633-4.9-1.686L18.314 7.1C19.367 8.455 20 10.152 20 12c0 4.418-3.582 8-8 8z"}));case"gridicons-calendar":return React.createElement("g",null,React.createElement("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.105 0-2 .896-2 2v13c0 1.104.895 2 2 2h14c1.104 0 2-.896 2-2V6c0-1.104-.896-2-2-2zm0 15H5V8h14v11z"}));case"gridicons-cart":return React.createElement("g",null,React.createElement("path",{d:"M9 20c0 1.1-.9 2-2 2s-1.99-.9-1.99-2S5.9 18 7 18s2 .9 2 2zm8-2c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2zm.396-5c.937 0 1.75-.65 1.952-1.566L21 5H7V4c0-1.105-.895-2-2-2H3v2h2v11c0 1.105.895 2 2 2h12c0-1.105-.895-2-2-2H7v-2h10.396z"}));case"gridicons-checkmark":return React.createElement("g",null,React.createElement("path",{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z"}));case"gridicons-chevron-left":return React.createElement("g",null,React.createElement("path",{d:"M16.443 7.41L15.0399 6L9.06934 12L15.0399 18L16.443 16.59L11.8855 12L16.443 7.41Z"}));case"gridicons-chevron-right":return React.createElement("g",null,React.createElement("path",{d:"M10.2366 6L8.8335 7.41L13.391 12L8.8335 16.59L10.2366 18L16.2072 12L10.2366 6Z"}));case"gridicons-chevron-down":return React.createElement("g",null,React.createElement("path",{d:"M20 9l-8 8-8-8 1.414-1.414L12 14.172l6.586-6.586"}));case"gridicons-comment":return React.createElement("g",null,React.createElement("path",{d:"M3 6v9c0 1.105.895 2 2 2h9v5l5.325-3.804c1.05-.75 1.675-1.963 1.675-3.254V6c0-1.105-.895-2-2-2H5c-1.105 0-2 .895-2 2z"}));case"gridicons-computer":return React.createElement("g",null,React.createElement("path",{d:"M20 2H4c-1.104 0-2 .896-2 2v12c0 1.104.896 2 2 2h6v2H7v2h10v-2h-3v-2h6c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm0 14H4V4h16v12z"}));case"gridicons-cross":return React.createElement("g",null,React.createElement("path",{d:"M18.36 19.78L12 13.41l-6.36 6.37-1.42-1.42L10.59 12 4.22 5.64l1.42-1.42L12 10.59l6.36-6.36 1.41 1.41L13.41 12l6.36 6.36z"}));case"gridicons-filter":return React.createElement("g",null,React.createElement("path",{d:"M10 19h4v-2h-4v2zm-4-6h12v-2H6v2zM3 5v2h18V5H3z"}));case"gridicons-folder":return React.createElement("g",null,React.createElement("path",{d:"M18 19H6c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2z"}));case"gridicons-image":return React.createElement("g",null,React.createElement("path",{d:"M13 9.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5-.672 1.5-1.5 1.5-1.5-.672-1.5-1.5zM22 6v12c0 1.105-.895 2-2 2H4c-1.105 0-2-.895-2-2V6c0-1.105.895-2 2-2h16c1.105 0 2 .895 2 2zm-2 0H4v7.444L8 9l5.895 6.55 1.587-1.85c.798-.932 2.24-.932 3.037 0L20 15.426V6z"}));case"gridicons-image-multiple":return React.createElement("g",null,React.createElement("path",{d:"M15 7.5c0-.828.672-1.5 1.5-1.5s1.5.672 1.5 1.5S17.328 9 16.5 9 15 8.328 15 7.5zM4 20h14c0 1.105-.895 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.105.895-2 2-2v14zM22 4v12c0 1.105-.895 2-2 2H8c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zM8 4v6.333L11 7l4.855 5.395.656-.73c.796-.886 2.183-.886 2.977 0l.513.57V4H8z"}));case"gridicons-info":return React.createElement("g",null,React.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}));case"gridicons-info-outline":return React.createElement("g",null,React.createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"}));case"gridicons-jetpack-search":return React.createElement("g",null,React.createElement("path",{d:"M0 9.257C0 4.15 4.151 0 9.257 0c5.105 0 9.256 4.151 9.256 9.257a9.218 9.218 0 01-2.251 6.045l.034.033h1.053L24 22.01l-1.986 1.989-6.664-6.662v-1.055l-.033-.033a9.218 9.218 0 01-6.06 2.264C4.15 18.513 0 14.362 0 9.257zm4.169 1.537h4.61V1.82l-4.61 8.973zm5.547-3.092v8.974l4.61-8.974h-4.61z"}));case"gridicons-phone":return React.createElement("g",null,React.createElement("path",{d:"M16 2H8c-1.104 0-2 .896-2 2v16c0 1.104.896 2 2 2h8c1.104 0 2-.896 2-2V4c0-1.104-.896-2-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"}));case"gridicons-pages":return React.createElement("g",null,React.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"}));case"gridicons-posts":return React.createElement("g",null,React.createElement("path",{d:"M16 19H3v-2h13v2zm5-10H3v2h18V9zM3 5v2h11V5H3zm14 0v2h4V5h-4zm-6 8v2h10v-2H11zm-8 0v2h5v-2H3z"}));case"gridicons-search":return React.createElement("g",null,React.createElement("path",{d:"M21 19l-5.154-5.154C16.574 12.742 17 11.42 17 10c0-3.866-3.134-7-7-7s-7 3.134-7 7 3.134 7 7 7c1.42 0 2.742-.426 3.846-1.154L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"}));case"gridicons-star-outline":return React.createElement("g",null,React.createElement("path",{d:"M12 6.308l1.176 3.167.347.936.997.042 3.374.14-2.647 2.09-.784.62.27.963.91 3.25-2.813-1.872-.83-.553-.83.552-2.814 1.87.91-3.248.27-.962-.783-.62-2.648-2.092 3.374-.14.996-.04.347-.936L12 6.308M12 2L9.418 8.953 2 9.257l5.822 4.602L5.82 21 12 16.89 18.18 21l-2.002-7.14L22 9.256l-7.418-.305L12 2z"}));case"gridicons-star":return React.createElement("g",null,React.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"}));case"gridicons-tag":return React.createElement("g",null,React.createElement("path",{d:"M20 2.007h-7.087c-.53 0-1.04.21-1.414.586L2.592 11.5c-.78.78-.78 2.046 0 2.827l7.086 7.086c.78.78 2.046.78 2.827 0l8.906-8.906c.376-.374.587-.883.587-1.413V4.007c0-1.105-.895-2-2-2zM17.007 9c-1.105 0-2-.895-2-2s.895-2 2-2 2 .895 2 2-.895 2-2 2z"}));case"gridicons-video":return React.createElement("g",null,React.createElement("path",{d:"M20 4v2h-2V4H6v2H4V4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2v-2h2v2h12v-2h2v2c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zM6 16H4v-3h2v3zm0-5H4V8h2v3zm4 4V9l4.5 3-4.5 3zm10 1h-2v-3h2v3zm0-5h-2V8h2v3z"}))}}render(){const{size:e=24,className:t=""}=this.props,n=this.props.height||e,a=this.props.width||e,r=this.props.style||{height:n,width:a},o="gridicons-"+this.props.icon,s=i()("gridicon",o,t,{"needs-offset":this.needsOffset(o,e)}),c=this.getSVGDescription(o);return React.createElement("svg",{className:s,focusable:this.props.focusable,height:n,onClick:this.props.onClick,style:r,viewBox:"0 0 24 24",width:a,xmlns:"http://www.w3.org/2000/svg","aria-hidden":this.props["aria-hidden"]},c?React.createElement("desc",null,c):null,this.renderIcon(o))}}r()(l,"defaultProps",{"aria-hidden":"false",focusable:"true"});const u=l},3396:(e,t,n)=>{"use strict";n.d(t,{W1:()=>d,oQ:()=>u});var a=n(2674),r=n.n(a),o=n(5609),s=n(5235),i=n.n(s),c=n(5612);const l=e=>{let{className:t,size:n=24,viewBox:a="0 0 24 24",opacity:s=1,color:l="#2C3338",children:u}=e;const d={className:i()(c.Z.iconWrapper,t),width:n,height:n,viewBox:a,opacity:s,fill:void 0};return l&&(d.fill=l),React.createElement(o.SVG,r()({},d,{fillRule:"evenodd",clipRule:"evenodd",xmlns:"http://www.w3.org/2000/svg"}),React.createElement(o.G,{opacity:s},u))},u=e=>{let{opacity:t=1,size:n,color:a}=e;return React.createElement(l,{size:n,opacity:t,color:a},React.createElement(o.Path,{d:"M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1 s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1 c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1 c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0 L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5 l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4 c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1 c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z"}),React.createElement(o.Path,{d:"M13.2,4.7l4.7,12.8c0.4,1.1,1,1.5,2.1,1.6c0.1,0,0.1,0,0.1,0l0.1,0.1l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1 s0,0.1-0.1,0.1c-0.1,0-0.1,0.1-0.1,0.1s-0.1,0-0.2,0h-5.1c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1 c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1l0.1-0.1c0,0,0.1,0,0.2,0c0.5,0,1.1-0.2,1.1-0.8c0-0.3-0.1-0.5-0.2-0.8l-1.1-3.1 c-0.1-0.2-0.1-0.2-0.2-0.2h-4.3c-0.7,0-1.5,0-1.9,0.9l-1.1,2.4C7.1,17.6,7,17.8,7,18.1c0,0.8,1,0.9,1.6,0.9c0.1,0,0.1,0,0.2,0 L8.8,19l0.1,0.1c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.1s-0.1,0.1-0.1,0.1l-0.1,0.1c-0.1,0-0.1,0-0.2,0H4.1c-0.1,0-0.1,0-0.1,0 c-0.1,0-0.1-0.1-0.1-0.1l-0.1-0.1c0-0.1,0-0.1,0-0.1c0-0.1,0-0.1,0-0.2s0-0.1,0.1-0.1L4,19c0,0,0.1,0,0.1,0C5.2,19,5.5,18.5,6,17.5 l5.4-12.4c0.2-0.5,0.8-1,1.3-1C13,4.2,13.1,4.4,13.2,4.7z M9.1,13.1c0,0.1-0.1,0.1-0.1,0.2c0,0.1,0.1,0.1,0.1,0.1h4.4 c0.3,0,0.4-0.1,0.4-0.3c0-0.1,0-0.2-0.1-0.3l-1.2-3.5c-0.3-0.8-0.8-1.9-0.8-2.7c0-0.1,0-0.1-0.1-0.1c0,0-0.1,0-0.1,0.1 c-0.1,0.6-0.4,1.2-0.7,1.7L9.1,13.1z"}),React.createElement(o.Path,{d:"M21.6,12.5c0,0.6-0.3,1-0.9,1c-0.6,0-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1C21.3,11.7,21.6,12.1,21.6,12.5z"}),React.createElement(o.Path,{d:"M4.1,12.5c0,0.6-0.3,1-0.9,1s-0.8-0.3-0.8-0.8c0-0.6,0.4-1,0.9-1S4.1,12.1,4.1,12.5z"}))},d=e=>{let{opacity:t=1,size:n,color:a}=e;return React.createElement(l,{size:n,opacity:t,color:a},React.createElement(o.Path,{d:"M17.5 11.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm1.5 0a5.5 5.5 0 0 1-9.142 4.121l-3.364 2.943-.988-1.128 3.373-2.952A5.5 5.5 0 1 1 19 11.5Z"}))},p=e=>{let{className:t,fill:n="none",size:a,children:r}=e;return React.createElement(l,{className:i()(c.Z.socialIcon,t),size:a,color:n},r)}},8237:(e,t,n)=>{"use strict";n.d(t,{Z:()=>C});var a=n(2674),r=n.n(a),o=n(9818),s=n(5736),i=n(1074),c=n(5381),l=n(5235),u=n.n(l),d=n(9196),p=n.n(d),m=n(6895),h=n(428),f=n(7525),g=(n(9054),n(8868)),v=n(2054);const __=s.__,_x=s._x,E=()=>p().createElement(g.Z,{logoColor:"#000",showText:!1,height:16,"aria-hidden":"true"}),C=e=>{let{moduleName:t=__("Jetpack","jetpack-forms"),className:n,moduleNameHref:a="https://jetpack.com",menu:s,siteAdminUrl:l,onAboutClick:d,onPrivacyClick:g,onTermsClick:C,...y}=e;const[R]=(0,v.Z)("sm","<="),[b]=(0,v.Z)("md","<="),[w]=(0,v.Z)("lg",">"),{isActive:k,connectedPlugins:_}=(0,o.useSelect)((e=>{const t=e(h.t);return{connectedPlugins:t?.getConnectedPlugins(),...t.getConnectionStatus()}}),[h.t]),x=l&&k&&_?.some((e=>{let{slug:t}=e;return"jetpack"===t}));let j=[{label:_x("About","Link to learn more about Jetpack.","jetpack-forms"),title:__("About Jetpack","jetpack-forms"),href:x?new URL("admin.php?page=jetpack_about",l).href:(0,m.Z)("jetpack-about"),target:"_blank",onClick:d},{label:_x("Privacy","Shorthand for Privacy Policy.","jetpack-forms"),title:__("Automattic's Privacy Policy","jetpack-forms"),href:x?new URL("admin.php?page=jetpack#/privacy",l).href:(0,m.Z)("a8c-privacy"),target:x?"_self":"_blank",onClick:g},{label:_x("Terms","Shorthand for Terms of Service.","jetpack-forms"),title:__("WordPress.com Terms of Service","jetpack-forms"),href:(0,m.Z)("wpcom-tos"),target:"_blank",onClick:C}];s&&(j=[...j,...s]);const S=p().createElement(p().Fragment,null,p().createElement(E,null),t);return p().createElement("footer",r()({className:u()("jp-dashboard-footer",{"is-sm":R,"is-md":b,"is-lg":w},n),"aria-label":__("Jetpack","jetpack-forms")},y),p().createElement("ul",null,p().createElement("li",{className:"jp-dashboard-footer__jp-item"},a?p().createElement("a",{href:a},S):S),j.map((e=>{const t="button"===e.role,n=!t&&"_blank"===e.target;return p().createElement("li",{key:e.label},p().createElement("a",{href:e.href,title:e.title,target:e.target,onClick:e.onClick,onKeyDown:e.onKeyDown,className:u()("jp-dashboard-footer__menu-item",{"is-external":n}),role:e.role,rel:n?"noopener noreferrer":void 0,tabIndex:t?0:void 0},e.label,n&&p().createElement(i.Z,{icon:c.Z,size:16})))})),p().createElement("li",{className:"jp-dashboard-footer__a8c-item"},p().createElement("a",{href:x?new URL("admin.php?page=jetpack_about",l).href:(0,m.Z)("a8c-about"),"aria-label":__("An Automattic Airline","jetpack-forms")},p().createElement(f.Z,{"aria-hidden":"true"})))))}},8868:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(2674),r=n.n(a),o=n(5736),s=n(5235),i=n.n(s),c=n(9196),l=n.n(c);const __=o.__,u=e=>{let{logoColor:t="#069e08",showText:n=!0,className:a,height:o=32,...s}=e;const c=n?"0 0 118 32":"0 0 32 32";return l().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:c,className:i()("jetpack-logo",a),"aria-labelledby":"jetpack-logo-title",height:o},s),l().createElement("desc",{id:"jetpack-logo-title"},__("Jetpack Logo","jetpack-forms")),l().createElement("path",{fill:t,d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z M15,19H7l8-16V19z M17,29V13h8L17,29z"}),n&&l().createElement(l().Fragment,null,l().createElement("path",{d:"M41.3,26.6c-0.5-0.7-0.9-1.4-1.3-2.1c2.3-1.4,3-2.5,3-4.6V8h-3V6h6v13.4C46,22.8,45,24.8,41.3,26.6z"}),l().createElement("path",{d:"M65,18.4c0,1.1,0.8,1.3,1.4,1.3c0.5,0,2-0.2,2.6-0.4v2.1c-0.9,0.3-2.5,0.5-3.7,0.5c-1.5,0-3.2-0.5-3.2-3.1V12H60v-2h2.1V7.1 H65V10h4v2h-4V18.4z"}),l().createElement("path",{d:"M71,10h3v1.3c1.1-0.8,1.9-1.3,3.3-1.3c2.5,0,4.5,1.8,4.5,5.6s-2.2,6.3-5.8,6.3c-0.9,0-1.3-0.1-2-0.3V28h-3V10z M76.5,12.3 c-0.8,0-1.6,0.4-2.5,1.2v5.9c0.6,0.1,0.9,0.2,1.8,0.2c2,0,3.2-1.3,3.2-3.9C79,13.4,78.1,12.3,76.5,12.3z"}),l().createElement("path",{d:"M93,22h-3v-1.5c-0.9,0.7-1.9,1.5-3.5,1.5c-1.5,0-3.1-1.1-3.1-3.2c0-2.9,2.5-3.4,4.2-3.7l2.4-0.3v-0.3c0-1.5-0.5-2.3-2-2.3 c-0.7,0-2.3,0.5-3.7,1.1L84,11c1.2-0.4,3-1,4.4-1c2.7,0,4.6,1.4,4.6,4.7L93,22z M90,16.4l-2.2,0.4c-0.7,0.1-1.4,0.5-1.4,1.6 c0,0.9,0.5,1.4,1.3,1.4s1.5-0.5,2.3-1V16.4z"}),l().createElement("path",{d:"M104.5,21.3c-1.1,0.4-2.2,0.6-3.5,0.6c-4.2,0-5.9-2.4-5.9-5.9c0-3.7,2.3-6,6.1-6c1.4,0,2.3,0.2,3.2,0.5V13 c-0.8-0.3-2-0.6-3.2-0.6c-1.7,0-3.2,0.9-3.2,3.6c0,2.9,1.5,3.8,3.3,3.8c0.9,0,1.9-0.2,3.2-0.7V21.3z"}),l().createElement("path",{d:"M110,15.2c0.2-0.3,0.2-0.8,3.8-5.2h3.7l-4.6,5.7l5,6.3h-3.7l-4.2-5.8V22h-3V6h3V15.2z"}),l().createElement("path",{d:"M58.5,21.3c-1.5,0.5-2.7,0.6-4.2,0.6c-3.6,0-5.8-1.8-5.8-6c0-3.1,1.9-5.9,5.5-5.9s4.9,2.5,4.9,4.9c0,0.8,0,1.5-0.1,2h-7.3 c0.1,2.5,1.5,2.8,3.6,2.8c1.1,0,2.2-0.3,3.4-0.7C58.5,19,58.5,21.3,58.5,21.3z M56,15c0-1.4-0.5-2.9-2-2.9c-1.4,0-2.3,1.3-2.4,2.9 C51.6,15,56,15,56,15z"})))}},2054:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(4333),r=n(3247);const o=["sm","md","lg"],s=(e,t)=>{const n=Array.isArray(e)?e:[e],s=Array.isArray(t)?t:[t],[i,c,l]=o,u={sm:(0,a.useMediaQuery)(r.Z[i]),md:(0,a.useMediaQuery)(r.Z[c]),lg:(0,a.useMediaQuery)(r.Z[l])};return n.map(((e,t)=>{const n=s[t];return n?((e,t,n)=>{const a=o.indexOf(e),r=a+1,s=t.includes("=");let i=[];return t.startsWith("<")&&(i=o.slice(0,s?r:a)),t.startsWith(">")&&(i=o.slice(s?a:r)),i?.length?i.some((e=>n[e])):n[e]})(e,n,u):u[e]}))}},6895:(e,t,n)=>{"use strict";function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let a;if("undefined"!=typeof window&&(a=window?.JP_CONNECTION_INITIAL_STATE?.calypsoEnv),0===e.search("https://")){const t=new URL(e);e=`https://${t.host}${t.pathname}`,n.url=encodeURIComponent(e)}else n.source=encodeURIComponent(e);for(const e in t)n[e]=encodeURIComponent(t[e]);!Object.keys(n).includes("site")&&"undefined"!=typeof jetpack_redirects&&jetpack_redirects.hasOwnProperty("currentSiteRawUrl")&&(n.site=jetpack_redirects.currentSiteRawUrl),a&&(n.calypso_env=a);return"https://jetpack.com/redirect/?"+Object.keys(n).map((e=>e+"="+n[e])).join("&")}n.d(t,{Z:()=>a})},1132:(e,t,n)=>{let a={};try{a=n(1158)}catch{console.error("jetpackConfig is missing in your webpack config file. See @automattic/jetpack-config"),a={missingConfig:!0}}const r=e=>a.hasOwnProperty(e);e.exports={jetpackConfigHas:r,jetpackConfigGet:e=>{if(!r(e))throw'This app requires the "'+e+'" Jetpack Config to be defined in your webpack configuration file. See details in @automattic/jetpack-config package docs.';return a[e]}}},7523:(e,t,n)=>{"use strict";n.d(t,{LI:()=>o,N4:()=>i,Qo:()=>d,T1:()=>l,TS:()=>u,ZP:()=>b,b5:()=>m,i6:()=>r,qJ:()=>h,qV:()=>c,r7:()=>s,wQ:()=>p});var a=n(4743);const r="SET_CONNECTION_STATUS",o="SET_CONNECTION_STATUS_IS_FETCHING",s="SET_SITE_IS_REGISTERING",i="SET_USER_IS_CONNECTING",c="SET_REGISTRATION_ERROR",l="CLEAR_REGISTRATION_ERROR",u="SET_AUTHORIZATION_URL",d="DISCONNECT_USER_SUCCESS",p="SET_CONNECTED_PLUGINS",m="SET_CONNECTION_ERRORS",h="SET_IS_OFFLINE_MODE",f=e=>({type:r,connectionStatus:e}),g=e=>({type:s,isRegistering:e}),v=e=>({type:i,isConnecting:e}),E=e=>({type:c,registrationError:e}),C=()=>({type:l}),y=e=>({type:u,authorizationUrl:e}),R=e=>({type:p,connectedPlugins:e});const b={setConnectionStatus:f,setConnectionStatusIsFetching:e=>({type:o,isFetching:e}),fetchConnectionStatus:()=>({type:"FETCH_CONNECTION_STATUS"}),fetchAuthorizationUrl:e=>({type:"FETCH_AUTHORIZATION_URL",redirectUri:e}),setSiteIsRegistering:g,setUserIsConnecting:v,setRegistrationError:E,clearRegistrationError:C,setAuthorizationUrl:y,registerSite:function(e){let{registrationNonce:t,redirectUri:n}=e;return function*(){yield C(),yield g(!0);try{const e=yield{type:"REGISTER_SITE",registrationNonce:t,redirectUri:n};return yield f({isRegistered:!0}),yield y(e.authorizeUrl),yield g(!1),Promise.resolve(e)}catch(e){return yield E(e),yield g(!1),Promise.reject(e)}}()},connectUser:function(){let{from:e,redirectFunc:t,redirectUri:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function*(){yield v(!0),yield{type:"CONNECT_USER",from:e,redirectFunc:t,redirectUri:n}}()},disconnectUserSuccess:()=>({type:d}),setConnectedPlugins:R,refreshConnectedPlugins:()=>async e=>{let{dispatch:t}=e;return await new Promise((e=>a.ZP.fetchConnectedPlugins().then((n=>{t(R(n)),e(n)}))))},setConnectionErrors:e=>({type:m,connectionErrors:e}),setIsOfflineMode:e=>({type:h,isOfflineMode:e})}},1432:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(4743),r=n(9818),o=n(7057);const s={FETCH_AUTHORIZATION_URL:e=>{let{redirectUri:t}=e;return a.ZP.fetchAuthorizationUrl(t)},REGISTER_SITE:e=>{let{registrationNonce:t,redirectUri:n}=e;return a.ZP.registerSite(t,n)},CONNECT_USER:(0,r.createRegistryControl)((e=>{let{resolveSelect:t}=e;return function(){let{from:e,redirectFunc:n,redirectUri:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(((r,s)=>{t(o.Z).getAuthorizationUrl(a).then((t=>{const a=n||(e=>window.location.assign(e)),o=new URL(t);e&&o.searchParams.set("from",encodeURIComponent(e));const s=o.toString();a(s),r(s)})).catch((e=>{s(e)}))}))}}))}},1479:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(9818),r=n(7523);const o=(0,a.combineReducers)({connectionStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.i6:return{...e,...t.connectionStatus};case r.Qo:return{...e,isUserConnected:!1}}return e},connectionStatusIsFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.LI?t.isFetching:e},siteIsRegistering:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.r7?t.isRegistering:e},userIsConnecting:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.N4?t.isConnecting:e},registrationError:(e,t)=>{switch(t.type){case r.T1:return!1;case r.qV:return t.registrationError;default:return e}},authorizationUrl:(e,t)=>t.type===r.TS?t.authorizationUrl:e,userConnectionData:(e,t)=>(t.type,e),connectedPlugins:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===r.wQ?t.connectedPlugins:e},connectionErrors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===r.b5?t.connectionErrors:e},isOfflineMode:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.qJ?t.isConnecting:e}})},7728:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(9818),r=n(7523),o=n(7057);const s={...{getAuthorizationUrl:{isFulfilled:function(e){const t=Boolean(e.authorizationUrl);for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s{"use strict";n.d(t,{Z:()=>a});const a={...{getConnectionStatus:e=>e.connectionStatus||{},getConnectionStatusIsFetching:()=>!1,getSiteIsRegistering:e=>e.siteIsRegistering||!1,getUserIsConnecting:e=>e.userIsConnecting||!1,getRegistrationError:e=>e.registrationError||!1,getAuthorizationUrl:e=>e.authorizationUrl||!1,getUserConnectionData:e=>e.userConnectionData||!1,getConnectedPlugins:e=>e.connectedPlugins||[],getConnectionErrors:e=>e.connectionErrors||[],getIsOfflineMode:e=>e.isOfflineMode||!1,getWpcomUser:e=>e?.userConnectionData?.currentUser?.wpcomUser,getBlogId:e=>e?.userConnectionData?.currentUser?.blogId}}},3535:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(17),r=n.n(a),o=n(9818);class s{static mayBeInit(e,t){null===s.store&&(s.store=(0,o.createReduxStore)(e,t),(0,o.register)(s.store))}}r()(s,"store",null);const i=s},7057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a="jetpack-connection"},428:(e,t,n)=>{"use strict";n.d(t,{t:()=>l.Z});var a=n(7523),r=n(1432),o=n(1479),s=n(7728),i=n(2725),c=n(3535),l=n(7057);const u=window.JP_CONNECTION_INITIAL_STATE;u||console.error("Jetpack Connection package: Initial state is missing. Check documentation to see how to use the Connection composer package to set up the initial state."),c.Z.mayBeInit(l.Z,{__experimentalUseThunks:!0,reducer:o.Z,actions:a.ZP,selectors:i.Z,resolvers:s.Z,controls:r.Z,initialState:u||{}})},3419:(e,t,n)=>{"use strict";n.d(t,{Ug:()=>a.Ug,Wp:()=>a.Wp});var a=n(9505);n(6714),n(354),n(5404),n(1053),n(1380)},1053:(e,t,n)=>{"use strict";var a=n(6975);n(9307);const{tracks:r}=a.Z,{recordEvent:o}=r},1380:(e,t,n)=>{"use strict";n(6989),n(9307)},5404:(e,t,n)=>{"use strict";var a=n(5736);n(6483),n(2819);const __=a.__;__("Upgrade your plan to use video covers","jetpack-forms"),__("Upgrade your plan to upload audio","jetpack-forms")},6714:(e,t,n)=>{"use strict";n(8817)},9505:(e,t,n)=>{"use strict";function a(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function r(){return"simple"===a()}function o(){return"atomic"===a()}n.d(t,{Ug:()=>o,Wp:()=>r})},354:(e,t,n)=>{"use strict";n(2674),n(4333)},1370:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(1074),r=n(6936);const o=e=>{let{children:t,summary:n}=e;return React.createElement("details",{className:"jp-forms__details"},React.createElement("summary",{className:"jp-forms__details-summary"},React.createElement(a.Z,{className:"jp-forms__details-icon",icon:r.Z,size:32}),React.createElement("span",null,n)),React.createElement("div",{className:"jp-forms__details-content"},t," "))}},7069:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var a=n(5609),r=n(9307),o=n(2229),s=n(2819);const i=e=>{let{options:t=[],onChange:n=s.noop,value:i}=e;const c=(0,r.useMemo)((()=>{if((0,s.isNil)(i)){const e=(0,s.first)(t);return e?.label||""}return(0,s.find)(t,(e=>e.value===i))?.label||""}),[t,i]),l=(0,r.useCallback)(((e,t)=>()=>{n(e.value),t()}),[n]);return React.createElement(a.DropdownMenu,{text:c,icon:o.Z,popoverProps:{placement:"bottom-end"},toggleProps:{variant:"secondary",iconPosition:"right"}},(e=>{let{onClose:n}=e;return React.createElement(a.MenuGroup,null,(0,s.map)(t,(e=>React.createElement(a.MenuItem,{key:e.value,onClick:l(e,n)},e.label))))}))}},1269:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(8237),r=n(5736),o=n(5235),s=n.n(o),i=n(3446);const __=r.__,c=e=>{let{children:t,className:n,title:r,subtitle:o,showFooter:c}=e;const l=s()("jp-forms__layout",n);return React.createElement("div",{className:l},React.createElement("div",{className:"jp-forms__logo-wrapper"},React.createElement(i.Z,null)),(r||o)&&React.createElement("div",{className:"jp-forms__layout-header"},r&&React.createElement("h2",{className:"jp-forms__layout-title"},r),o&&React.createElement("p",{className:"jp-forms__header-subtext"},o)),t,c&&React.createElement(a.Z,{className:"jp-forms__layout-footer",moduleName:__("Jetpack Forms","jetpack-forms")}))}},3446:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=()=>React.createElement("svg",{className:"jp-forms__logo",width:"330",height:"42",viewBox:"0 0 330 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M21.0008 42C32.5991 42 42.0016 32.5975 42.0016 20.9992C42.0016 9.40089 32.5991 0 21.0008 0C9.40245 0 0 9.40245 0 21.0008C0 32.5991 9.40245 42 21.0008 42Z",fill:"#069E08"}),React.createElement("path",{d:"M22.043 17.4727V37.8312L32.5434 17.4727H22.043V17.4727Z",fill:"white"}),React.createElement("path",{d:"M19.9189 24.4876V4.16797L9.45898 24.4876H19.9189Z",fill:"white"}),React.createElement("path",{d:"M54.2231 34.8656C53.6213 33.9434 53.0614 33.0228 52.5 32.141C55.4657 30.337 56.4672 28.8954 56.4672 26.1692V10.4186H52.9805V7.41406H60.3955V25.3683C60.3955 29.9373 59.0736 32.5018 54.2231 34.8656Z",fill:"black"}),React.createElement("path",{d:"M85.2845 24.1241C85.2845 25.6466 86.3668 25.8067 87.0884 25.8067C87.81 25.8067 88.852 25.5657 89.6529 25.3262V28.1317C88.5301 28.4925 87.3684 28.7724 85.765 28.7724C83.8413 28.7724 81.5972 28.0508 81.5972 24.6839V16.4276H79.5537V13.5817H81.5972V9.375H85.2845V13.5832H89.9328V16.4292H85.2845V24.1241Z",fill:"black"}),React.createElement("path",{d:"M92.9785 36.2696V13.5458H96.5056V14.9081C97.9083 13.8257 99.4713 13.1445 101.395 13.1445C104.721 13.1445 107.367 15.4695 107.367 20.4786C107.367 25.4489 104.482 28.7349 99.7123 28.7349C98.5506 28.7349 97.6284 28.5748 96.6658 28.3741V36.2292H92.9785V36.2696V36.2696ZM100.432 16.1911C99.35 16.1911 97.9877 16.7121 96.7047 17.8349V25.5702C97.5056 25.7304 98.3485 25.8501 99.4697 25.8501C102.075 25.8501 103.558 24.2063 103.558 20.7601C103.558 17.5938 102.476 16.1911 100.432 16.1911Z",fill:"black"}),React.createElement("path",{d:"M121.873 28.413H118.427V26.7692H118.346C117.144 27.6914 115.661 28.6929 113.457 28.6929C111.533 28.6929 109.449 27.2902 109.449 24.4443C109.449 20.6373 112.695 19.9157 114.979 19.5953L118.225 19.1552V18.7151C118.225 16.7105 117.424 16.0698 115.539 16.0698C114.617 16.0698 112.454 16.3497 110.69 17.0713L110.37 14.1056C111.973 13.5442 114.177 13.1445 116.021 13.1445C119.628 13.1445 121.953 14.5877 121.953 18.8753V28.413H121.873V28.413ZM118.186 21.4801L115.14 21.9607C114.217 22.0804 113.256 22.6418 113.256 24.0042C113.256 25.2063 113.937 25.8875 114.939 25.8875C116.021 25.8875 117.183 25.2467 118.185 24.5251V21.4801H118.186Z",fill:"black"}),React.createElement("path",{d:"M137.104 27.9325C135.581 28.4535 134.219 28.7738 132.494 28.7738C126.964 28.7738 124.759 25.6075 124.759 20.9996C124.759 16.1506 127.805 13.1445 132.734 13.1445C134.576 13.1445 135.699 13.4649 136.942 13.8661V16.992C135.859 16.5907 134.297 16.1506 132.774 16.1506C130.53 16.1506 128.606 17.3528 128.606 20.799C128.606 24.606 130.53 25.7693 132.975 25.7693C134.136 25.7693 135.419 25.5282 137.142 24.8471V27.9325H137.104Z",fill:"black"}),React.createElement("path",{d:"M144.077 19.9579C144.397 19.5971 144.638 19.2363 149.286 13.5849H154.095L148.083 20.6391L154.655 28.4537H149.846L144.115 21.3996V28.4537H140.43V7.41406H144.117V19.9579H144.077Z",fill:"black"}),React.createElement("path",{d:"M76.7863 27.934C74.8626 28.5359 73.2188 28.7754 71.2951 28.7754C66.5659 28.7754 63.6406 26.4115 63.6406 20.8799C63.6406 16.8318 66.1258 13.1445 70.8939 13.1445C75.6231 13.1445 77.2669 16.4306 77.2669 19.5564C77.2669 20.5984 77.186 21.1598 77.1471 21.7601H67.6094C67.6902 25.0057 69.5331 25.7677 72.2982 25.7677C73.8207 25.7677 75.183 25.4069 76.7475 24.8455V27.9309H76.7863V27.934ZM73.421 19.3169C73.421 17.513 72.8191 15.95 70.8565 15.95C69.0137 15.95 67.8909 17.2719 67.6498 19.3169H73.421V19.3169Z",fill:"black"}),React.createElement("path",{d:"M167.332 29V19.8447H176.692V17.501H167.332V10.2354H177.527V7.8623H164.695V29H167.332ZM186.59 29.2783C191.087 29.2783 193.871 26.1729 193.871 21.1045C193.871 16.0215 191.087 12.9307 186.59 12.9307C182.093 12.9307 179.31 16.0215 179.31 21.1045C179.31 26.1729 182.093 29.2783 186.59 29.2783ZM186.59 27.0078C183.602 27.0078 181.917 24.8398 181.917 21.1045C181.917 17.3545 183.602 15.2012 186.59 15.2012C189.579 15.2012 191.263 17.3545 191.263 21.1045C191.263 24.8398 189.579 27.0078 186.59 27.0078ZM196.386 29H198.905V19.2148C198.905 16.9883 200.648 15.377 203.051 15.377C203.549 15.377 204.457 15.4648 204.662 15.5234V13.0039C204.34 12.96 203.812 12.9307 203.402 12.9307C201.307 12.9307 199.491 14.0146 199.022 15.5527H198.788V13.209H196.386V29ZM206.664 29H209.184V19.2148C209.184 16.9883 210.781 15.2012 212.846 15.2012C214.838 15.2012 216.142 16.4023 216.142 18.2773V29H218.661V18.8486C218.661 16.8418 220.126 15.2012 222.324 15.2012C224.55 15.2012 225.649 16.3438 225.649 18.6729V29H228.168V18.0869C228.168 14.7764 226.367 12.9307 223.144 12.9307C220.961 12.9307 219.159 14.0293 218.31 15.6992H218.076C217.343 14.0586 215.849 12.9307 213.71 12.9307C211.601 12.9307 210.019 13.9414 209.301 15.6992H209.067V13.209H206.664V29ZM230.962 17.5303C230.962 19.8154 232.309 21.0898 235.268 21.8076L237.978 22.4668C239.663 22.877 240.483 23.6094 240.483 24.6934C240.483 26.1436 238.96 27.1543 236.836 27.1543C234.814 27.1543 233.554 26.3047 233.13 24.9717H230.537C230.815 27.5938 233.232 29.2783 236.748 29.2783C240.337 29.2783 243.076 27.3301 243.076 24.5029C243.076 22.2324 241.64 20.9434 238.667 20.2256L236.235 19.6396C234.375 19.1855 233.496 18.5117 233.496 17.4277C233.496 16.0215 234.961 15.0693 236.836 15.0693C238.74 15.0693 239.97 15.9043 240.307 17.1641H242.798C242.461 14.5713 240.161 12.9307 236.85 12.9307C233.496 12.9307 230.962 14.9082 230.962 17.5303Z",fill:"black"}))},63:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(7172),r=n(9307),o=n(5736),s=n(2819),i=n(1832);const __=o.__,c=e=>{let{currentPage:t,expandedRange:n=3,onSelectPage:o,pages:c}=e;const l=(0,r.useCallback)((()=>o(t-1)),[t,o]),u=(0,r.useCallback)((()=>o(t+1)),[t,o]),d=(0,s.range)(Math.max(0,t-n+1),Math.min(c,t+n-1)+1),p=(0,s.filter)((0,s.flatten)([nisFinite(e)?React.createElement(i.Z,{key:e,className:"jp-forms__page-navigation-button",active:e===t,page:e,onSelect:o}):React.createElement("button",{key:`placeholder-${n}`,className:"jp-forms__page-navigation-placeholder",disabled:!0},"…"))),React.createElement("button",{disabled:t===c,className:"jp-forms__page-navigation-button",onClick:u},__("Next","jetpack-forms"),React.createElement(a.Z,{icon:"arrow-right",size:18})))}},1832:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(9307),r=n(5235),o=n.n(r);const s=e=>{let{active:t,className:n,page:r,onSelect:s}=e;const i=o()("jp-forms__page-navigation-page-number",n,{"is-active":t}),c=(0,a.useCallback)((()=>s(r)),[r,s]);return React.createElement("button",{className:i,onClick:c},r)}},5072:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(9507);const r=e=>{let{initialValue:t,loading:n,onSearch:r}=e;return React.createElement("div",{className:"jp-forms__actions-search"},React.createElement(a.Z,{initialValue:t,loading:n,onSearch:r}))}},9507:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var a=n(2674),r=n.n(a),o=n(3396),s=n(5609),i=n(4333),c=n(9307),l=n(5736),u=n(1074),d=n(6163),p=n(5235),m=n.n(p),h=n(2819);const __=l.__,f=e=>{let{className:t,disabled:n=!1,endAdornment:a=null,icon:o=null,loading:i=!1,...c}=e;return React.createElement("div",{className:m()(t,"input-wrapper",{disabled:n})},React.createElement(React.Fragment,null,(i||o)&&React.createElement("div",{className:m()("icon-wrapper",{loader:i})},i?React.createElement(s.Spinner,null):o),React.createElement("input",r()({"aria-disabled":n,className:m()("input",{"with-icon":null!==o}),disabled:n,type:"text"},c)),a))},g=e=>{let{initialValue:t,loading:n,placeholder:a=__("Search responses","jetpack-forms"),onSearch:s=h.noop,wait:l=500,...p}=e;const[g,v]=(0,c.useState)(t),E=(0,i.useDebounce)(s,l),C=(0,c.useCallback)((e=>{v(e.target.value),E(e.target.value)}),[E]),y=(0,c.useCallback)((e=>{["Enter","NumpadEnter"].includes(e.code)&&s(e.currentTarget.value)}),[s]),R=(0,c.useCallback)((()=>{v(""),s("")}),[s]);return React.createElement(f,r()({},p,{icon:React.createElement(o.W1,{size:24}),loading:n,placeholder:a,onChange:C,onKeyUp:y,value:g,endAdornment:React.createElement("div",{className:m()("icon-wrapper",{hidden:!g})},React.createElement(u.Z,{icon:d.Z,onClick:R,className:m()("clear-icon")}))}))}},1031:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(2674),r=n.n(a),o=n(9307),s=n(8795),i=n(7598);const c=(0,o.forwardRef)(((e,t)=>{let{activeViewKey:n,children:a,duration:c,...l}=e;const[u,d]=(0,o.useState)(n),[p,m]=(0,o.useState)(0),h=(0,o.useRef)(),f=(0,o.useRef)();(0,o.useEffect)((()=>{u!==n&&(d(n),m(0===p?1:0))}),[p,n,a,m,d,u]);const g=(0,o.useMemo)((()=>n===u?0===p?h:f:0===p?f:h),[p,n,u,h,f]),v=(0,o.useCallback)((e=>{t&&(t.current=e),g.current=e}),[g,t]);return React.createElement(s.Z,{component:null},React.createElement(i.Z,{key:n,nodeRef:g,timeout:c,mountOnEnter:!0,unmountOnExit:!0},React.createElement("div",r()({ref:v},l),a)))}))},9414:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var a=n(9307),r=n(5235),o=n.n(r),s=n(2819),i=n(8795),c=n(7598),l=n(1673);const u=(e,t)=>`table-row-${e.isLoading?`${t}-loading`:e.id}`,d=e=>{let{className:t,columns:n,items:r,rowAnimationTimeout:d=0,selectedResponses:p=[],setSelectedResponses:m}=e;const{current:h}=(0,a.useRef)({});(0,a.useEffect)((()=>{(0,s.forEach)(r,(e=>{h[u(e)]||(h[u(e)]=(0,a.createRef)())}))}),[r,h]);const f=(0,a.useCallback)((e=>{const t=(0,s.includes)(p,e)?(0,s.without)(p,e):[...p,e];m(t)}),[p,m]),g=(0,a.useCallback)((()=>{if(0===(0,s.difference)((0,s.map)(r,"id"),p).length)return void m([]);const e=(0,s.map)(r,"id");m(e)}),[r,p,m]),v=o()("jp-forms__table",t),E=o()("jp-forms__table-checkbox",{"is-intermediate":0!==p.length&&p.length!==r.length});return React.createElement("div",{className:v},React.createElement("div",{className:"jp-forms__table-header"},!!m&&React.createElement("div",{className:"jp-forms__table-cell is-select"},React.createElement("input",{className:E,onChange:g,type:"checkbox",checked:0===(0,s.difference)((0,s.map)(r,"id"),p).length})),(0,s.map)(n,(e=>{let{label:t,key:n}=e;const a=o()("jp-forms__table-cell",`is-${(0,s.kebabCase)(n)}`);return React.createElement("div",{key:`table-header-${n}`,className:a},t)}))),React.createElement(i.Z,{component:null},(0,s.map)(r,((e,t)=>React.createElement(c.Z,{key:u(e,t),nodeRef:h[u(e,t)],mountOnEnter:!!d,mountOnExit:!!d,timeout:d},React.createElement(l.Z,{ref:h[u(e,t)],columns:n,item:e,isSelected:(0,s.includes)(p,e.id),onSelectChange:m&&f}))))))}},1673:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(9307),r=n(5235),o=n.n(r),s=n(2819);const i=e=>e.stopPropagation(),c=(0,a.forwardRef)(((e,t)=>{let{columns:n,item:r,isSelected:c,onSelectChange:l}=e;const u=(0,a.useCallback)((()=>l(r.id)),[r.id,l]),d=o()("jp-forms__table-item",r.className,{"is-active":!r.isLoading&&r.isActive,"is-clickable":!r.isLoading&&r.onClick,"is-loading":r.isLoading,"is-selected":!r.isLoading&&c});return React.createElement("div",{ref:t,className:d,onClick:r.onClick},!!l&&React.createElement("div",{className:"jp-forms__table-cell is-select"},!r.isLoading&&React.createElement("input",{className:"jp-forms__table-checkbox",type:"checkbox",onClick:i,onChange:u,checked:c})),(0,s.map)(n,((e,t)=>{let{additionalClassNames:n,getValue:a,key:i}=e;const c=a?a(r):r[i],l=o()("jp-forms__table-cell",`is-${(0,s.kebabCase)(i)}`,n);return r.isLoading?React.createElement("div",{key:`table-${i}-${t}-loading`,className:l}):React.createElement("div",{key:`table-${i}-${r.id}`,className:l},c)})))}))},6219:(e,t,n)=>{"use strict";n.d(t,{j:()=>i,k:()=>c});var a=n(6989),r=n.n(a),o=n(2629),s=n(2819);const i=e=>{const t=new URLSearchParams((0,s.pick)((0,s.omitBy)(e,s.isNil),["limit","offset","search","status","parent_id","month"])).toString();return r()({path:`/wpcom/v2/forms/responses?${t}`}).then((e=>({...e,responses:e.responses.map((e=>({...e,author_name:(0,o.decodeEntities)(e.author_name),entry_title:(0,o.decodeEntities)(e.entry_title),fields:(0,s.mapValues)(e.fields,(e=>(0,o.decodeEntities)(e)))})))})))},c=(e,t)=>r()({path:"/wpcom/v2/forms/responses/bulk_actions",method:"POST",data:{action:t,post_ids:e}})},1792:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var a=n(3396),r=n(5609),o=n(9818),s=n(9307),i=n(5736),c=n(4340),l=n(6219),u=n(5848),d=n(4627),p=n(8057);const __=i.__,m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=new FormData;return t.append("action","grunion_recheck_queue"),t.append(`jetpack_check_feedback_spam_${(0,c.v)("blogId")}`,(0,c.v)("checkForSpamNonce")),t.append("offset",e),t.append("limit",100),fetch(window.ajaxurl,{method:"POST",body:t}).then((e=>e.json())).then((t=>{if(!(t.processed<100))return m(e+100)}))},h=e=>{let{currentView:t,selectedResponses:n,setSelectedResponses:i}=e;const[c,h]=(0,s.useState)(!1),{addTabTotals:f,fetchResponses:g,removeResponses:v,setLoading:E}=(0,o.useDispatch)(u.G),{currentPage:C,query:y}=(0,p.W)(),R=(0,s.useCallback)((()=>{h(!0),m().finally((()=>{h(!1),g(y)}))}),[g,h,y]),b=e=>async()=>{try{E(!0),i([]),v(n),f({[t]:-n.length,[d.Z3[e]]:n.length}),await(0,l.k)(n,e),await g({...y,limit:d.QO,offset:(C-1)*d.QO},{append:!0}),E(!1)}catch(e){E(!1)}};return React.createElement(React.Fragment,null,t!==d.G7.trash&&React.createElement(r.Button,{onClick:b(d.aO.moveToTrash),variant:"secondary"},__("Move to trash","jetpack-forms")),t===d.G7.trash&&React.createElement(r.Button,{onClick:b(d.aO.removeFromTrash),variant:"secondary"},__("Remove from trash","jetpack-forms")),t!==d.G7.spam&&React.createElement(r.Button,{onClick:b(d.aO.markAsSpam),variant:"secondary"},__("Mark as spam","jetpack-forms")),t===d.G7.spam&&React.createElement(r.Button,{onClick:b(d.aO.markAsNotSpam),variant:"secondary"},__("Not spam","jetpack-forms")),t===d.G7.inbox&&n.length>0&&React.createElement(r.Button,{className:"jp-forms__check-for-spam",disabled:c,variant:"secondary",onClick:R},c?React.createElement(r.Spinner,null):React.createElement(a.oQ,null),__("Check for spam","jetpack-forms")))}},4627:(e,t,n)=>{"use strict";n.d(t,{G7:()=>r,QO:()=>a,Z3:()=>s,aO:()=>o});const a=50,r={inbox:"inbox",spam:"spam",trash:"trash"},o={moveToTrash:"trash",removeFromTrash:"untrash",delete:"delete",markAsSpam:"mark_as_spam",markAsNotSpam:"mark_as_not_spam"},s={[o.moveToTrash]:r.trash,[o.removeFromTrash]:r.inbox,[o.markAsSpam]:r.spam,[o.markAsNotSpam]:r.inbox}},9242:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a=n(9307),r=n(5736),o=n(5235),s=n.n(o),i=n(5581);const __=r.__,c=e=>{let{onExport:t}=e;const n=(0,a.useCallback)((()=>{t("feedback_export","feedback_export_nonce_csv").then((async e=>{const t=await e.blob(),n=document.createElement("a");n.href=window.URL.createObjectURL(t);const a=e.headers.get("Content-Disposition");n.download=a.split("filename=")[1]||"Jetpack Form Responses.csv",document.body.appendChild(n),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(n.href)}))}),[t]),r=s()("button","export-button","export-csv",{"button-primary":!(0,i.GN)()});return React.createElement("div",{className:"jp-forms__export-modal-card"},React.createElement("div",{className:"jp-forms__export-modal-card-header"},React.createElement("svg",{width:"22",height:"20",viewBox:"0 0 22 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2309 5.04199L10.0797 2.73945C9.98086 2.54183 9.77887 2.41699 9.55792 2.41699H2.83333C2.51117 2.41699 2.25 2.67816 2.25 3.00033V16.7087C2.25 17.0308 2.51117 17.292 2.83333 17.292H19.1667C19.4888 17.292 19.75 17.0308 19.75 16.7087V5.62533C19.75 5.30316 19.4888 5.04199 19.1667 5.04199H11.2309ZM12.3125 3.29199L11.6449 1.95683C11.2497 1.16633 10.4417 0.666992 9.55792 0.666992H2.83333C1.54467 0.666992 0.5 1.71166 0.5 3.00033V16.7087C0.5 17.9973 1.54467 19.042 2.83333 19.042H19.1667C20.4553 19.042 21.5 17.9973 21.5 16.7087V5.62533C21.5 4.33666 20.4553 3.29199 19.1667 3.29199H12.3125Z",fill:"#008710"})),React.createElement("div",{className:"jp-forms__export-modal-card-header-title"},__("CSV File","jetpack-forms"))),React.createElement("div",{className:"jp-forms__export-modal-card-body"},React.createElement("div",{className:"jp-forms__export-modal-card-body-description"},__("Download your form response data as a CSV file.","jetpack-forms")),React.createElement("div",{className:"jp-forms__export-modal-card-body-cta"},React.createElement("button",{className:r,onClick:n},__("Download","jetpack-forms")))))}},8477:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var a=n(9307),r=n(5736),o=n(5235),s=n.n(o),i=n(2819),c=n(4340),l=n(5581);const __=r.__,u=e=>{let{onExport:t}=e;const[n,r]=(0,a.useState)((0,c.v)("gdriveConnection")),o=(0,a.useCallback)((()=>{const e=setInterval((async()=>{if(n)clearInterval(e);else try{const t=await fetch(window.ajaxurl,{method:"POST",body:(0,i.tap)(new FormData,(e=>{e.append("action","grunion_gdrive_connection"),e.append("feedback_export_nonce_gdrive",(0,c.v)("exportNonce"))}))});if(!(await t.json()).connection)return;clearInterval(e),r(!0)}catch(t){clearInterval(e)}}),5e3)}),[n]),u=(0,a.useCallback)((()=>{t("grunion_export_to_gdrive","feedback_export_nonce_gdrive").then((e=>e.json())).then((e=>{let{data:t}=e;window.open(t.sheet_link,"_blank")}))}),[t]),d=s()("button","export-button","export-gdrive",{"button-primary":!(0,l.GN)()});return React.createElement("div",{className:"jp-forms__export-modal-card"},React.createElement("div",{className:"jp-forms__export-modal-card-header"},React.createElement("svg",{width:"18",height:"24",viewBox:"0 0 18 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M11.8387 1.16016H2C1.44772 1.16016 1 1.60787 1 2.16016V21.8053V21.8376C1 22.3899 1.44772 22.8376 2 22.8376H16C16.5523 22.8376 17 22.3899 17 21.8376V5.80532M11.8387 1.16016V5.80532H17M11.8387 1.16016L17 5.80532M4.6129 13.0311V16.1279H9.25806M4.6129 13.0311V9.93435H9.25806M4.6129 13.0311H13.9032M13.9032 13.0311V9.93435H9.25806M13.9032 13.0311V16.1279H9.25806M9.25806 9.93435V16.1279",stroke:"#008710",strokeWidth:"1.5"})),React.createElement("div",{className:"jp-forms__export-modal-card-header-title"},__("Google Sheets","jetpack-forms")),React.createElement("div",{className:"jp-forms__export-modal-card-beta-badge"},"BETA")),React.createElement("div",{className:"jp-forms__export-modal-card-body"},React.createElement("div",{className:"jp-forms__export-modal-card-body-description"},React.createElement("div",null,__("Export your data into a Google Sheets file.","jetpack-forms")," ",React.createElement("a",{href:(0,c.v)("gdriveConnectSupportURL"),title:__("Connect to Google Drive","jetpack-forms"),target:"_blank",rel:"noopener noreferrer"},__("You need to connect to Google Drive.","jetpack-forms"))),React.createElement("p",{className:"jp-forms__export-modal-card-body-description-footer"},__("This premium feature is currently free to use in beta.","jetpack-forms"))),React.createElement("div",{className:"jp-forms__export-modal-card-body-cta"},n&&React.createElement("button",{className:d,onClick:u},__("Export","jetpack-forms")),!n&&React.createElement("a",{href:(0,c.v)("gdriveConnectURL"),className:d,rel:"noopener noreferrer",target:"_blank",onClick:o},__("Connect to Google Drive","jetpack-forms")))))}},8936:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var a=n(7172),r=n(8237),o=n(9818),s=n(9307),i=n(5736),c=n(2819),l=n(4340),u=n(5848),d=n(8057),p=n(9242),m=n(8477);const __=i.__,h=e=>{let{isVisible:t,onClose:n}=e;const i=(0,s.useRef)(),h=(0,o.useSelect)((e=>e(u.G).getSelectedResponseIds()),[]),{query:f}=(0,d.W)();(0,s.useEffect)((()=>{i.current?.addEventListener("click",(e=>{e.target===i.current&&n()}))}),[t,n]);const g=(0,s.useCallback)(((e,t)=>{const n=new FormData;return n.append("action",e),n.append(t,(0,l.v)("exportNonce")),(0,c.forEach)(h,(e=>n.append("selected[]",e))),n.append("date",""),n.append("post","all"),n.append("search",f.search||""),n.append("status",f.status),fetch(window.ajaxurl,{method:"POST",body:n})}),[f,h]);return t?React.createElement("div",{ref:i,className:"jp-forms__export-modal"},React.createElement("div",{className:"jp-forms__export-modal-wrapper"},React.createElement("button",{className:"jp-forms__export-modal-close-button",onClick:n},React.createElement(a.Z,{icon:"cross",size:18})),React.createElement("div",{className:"jp-forms__export-modal-header"},React.createElement("h1",{className:"jp-forms__export-modal-header-title"},__("Export your Form Responses","jetpack-forms")),React.createElement("p",{className:"jp-forms__export-modal-header-subtitle"},__("Choose your favorite file format or export destination:","jetpack-forms"))),React.createElement("div",{className:"jp-forms__export-modal-content"},React.createElement(p.Z,{onExport:g}),React.createElement(m.Z,{onExport:g})),React.createElement(r.Z,{className:"jp-forms__export-modal-footer",moduleName:__("Jetpack Forms","jetpack-forms")}))):null}},5379:(e,t,n)=>{"use strict";n.d(t,{Z:()=>x});var a=n(5609),r=n(9818),o=n(9771),s=n(9307),i=n(5736),c=n(3259),l=n(5235),u=n.n(l),d=n(2819),p=n(6417),m=n(4340),h=n(7069),f=n(1269),g=n(5072),v=n(5848),E=n(1792),C=n(4627),y=n(8936),R=n(786),b=n(5766),w=n(8057),k=n(5581);const __=i.__,_x=i._x,_=[{name:"inbox",title:__("Inbox","jetpack-forms"),className:"jp-forms__inbox-tab-item"},{name:"spam",title:__("Spam","jetpack-forms"),className:"jp-forms__inbox-tab-item"},{name:"trash",title:_x("Trash","noun","jetpack-forms"),className:"jp-forms__inbox-tab-item"}],x=()=>{const e=(0,s.useRef)(),[t,n]=(0,s.useState)(1),[i,l]=(0,s.useState)(!1),[x,j]=(0,s.useState)(!1),S=(0,p.s0)(),{fetchResponses:N,selectResponses:M}=(0,r.useDispatch)(v.G),[L,O,Z,P,A,T,V,D]=(0,r.useSelect)((e=>[e(v.G).getQuery(),e(v.G).getMonthFilter(),e(v.G).getSourceFilter(),e(v.G).isFetchingResponses(),e(v.G).getResponses(),e(v.G).getSelectedResponseIds(),e(v.G).getTabTotals(),e(v.G).getTotalResponses()]),[]),{currentPage:F,currentResponseId:z,setCurrentPage:U,setCurrentResponseId:H,setMonthQuery:I,setSearchQuery:$,setSourceQuery:B,setStatusQuery:J,query:G}=(0,w.W)();(0,s.useEffect)((()=>{(0,m.v)("hasFeedback")||S("/landing")}),[S]),(0,s.useEffect)((()=>{N({limit:C.QO,offset:(F-1)*C.QO,...G})}),[F,N,G]),(0,s.useEffect)((()=>{z&&!P&&(0,d.isEqual)((0,d.pick)(L,(0,d.keys)(G)),G)&&!(0,d.includes)((0,d.map)(A,"id"),z)&&H(0)}),[L,z,P,A,H,G]);const W=(0,s.useMemo)((()=>A.length&&!(0,d.includes)((0,d.map)(A,"id"),z)?A[0].id:z),[z,A]);(0,s.useEffect)((()=>{const t=e.current;if(!t)return;const n=new IntersectionObserver((e=>{let[t]=e;j(!t.isIntersecting&&!P)}),{rootMargin:"-177px 0px 0px 0px",threshold:0});return n.observe(t),()=>{n.unobserve(t)}}),[e.current,P]);const q=(0,s.useCallback)((e=>{H(e),n((0,d.findIndex)(A,{id:e})-(0,d.findIndex)(A,{id:W}))}),[W,A,H]),Q=(0,s.useCallback)((e=>{e.preventDefault(),H(0)}),[H]),Y=(0,s.useCallback)((()=>l(!i)),[i,l]),K=(0,s.useMemo)((()=>_.map((e=>{let{title:t,...n}=e;return{...n,title:React.createElement(React.Fragment,null,t,V&&React.createElement("span",{className:"jp-forms__inbox-tab-item-count"},V[n.name]||0)),disabled:P}}))),[P,V]),X=(0,s.useMemo)((()=>{const e=(0,d.map)(O,(e=>{const t=new Date;return t.setDate(1),t.setMonth(e.month-1),{label:`${(0,o.dateI18n)("F",t)} ${e.year}`,value:`${e.year}${String(e.month).padStart(2,"0")}`}}));return[{label:__("All dates","jetpack-forms"),value:null},...e]}),[O]),ee=(0,s.useMemo)((()=>{const e=(0,d.map)(Z,(e=>({label:e.title,value:`${e.id}`})));return[{label:__("All sources","jetpack-forms"),value:null},...e]}),[Z]),te=(0,s.useMemo)((()=>(0,d.join)((0,d.map)((0,d.pick)(L,(0,d.keys)(G)),((e,t)=>`${t}-${e}`)),"-")),[L,G]),ne=!!T.length&&!P,ae=u()("jp-forms__inbox",{"is-response-view":!!z,"is-response-animation-reverted":t<0}),re=React.createElement(React.Fragment,null,React.createElement("span",{className:"title"},(0,k.GN)()?__("Jetpack Forms","jetpack-forms"):__("Responses","jetpack-forms")),(0,k.GN)()&&React.createElement("span",{className:"subtitle"},(0,s.createInterpolateElement)(__("Collect and manage responses from your audience. Learn more","jetpack-forms"),{a:React.createElement("a",{href:"https://jetpack.com/support/jetpack-blocks/contact-form/",rel:"noreferrer noopener",target:"_blank"})})),React.createElement("a",{className:"back-button",onClick:Q},React.createElement(a.Icon,{icon:c.Z}),__("View all responses","jetpack-forms")));return React.createElement(f.Z,{title:re,className:ae},React.createElement(a.TabPanel,{className:"jp-forms__inbox-tabs",activeClass:"active-tab",initialTabName:G.status,onSelect:J,tabs:K},(()=>React.createElement(React.Fragment,null,React.createElement("div",{className:"jp-forms__inbox-actions"},!ne&&React.createElement(React.Fragment,null,React.createElement(g.Z,{onSearch:$,initialValue:G.search,loading:P}),React.createElement(h.Z,{options:X,onChange:I,value:G.month}),React.createElement(h.Z,{options:ee,onChange:B,value:G.parent_id})),ne&&React.createElement(E.Z,{currentView:G.status,selectedResponses:T,setSelectedResponses:M}),React.createElement("button",{className:"button button-primary export-button",onClick:Y},__("Export","jetpack-forms"))),React.createElement("div",{className:"jp-forms__inbox-content"},React.createElement("div",{className:"jp-forms__inbox-content-column"},React.createElement("div",{className:"jp-forms__inbox-sticky-sentinel",ref:e}),!P&&x&&React.createElement("div",{className:"jp-forms__inbox-sticky-mark"}),React.createElement(R.Z,{key:te,currentPage:F,currentResponseId:W,currentTab:G.status,loading:P,pages:Math.ceil(D/C.QO),responses:A,selectedResponses:T,setCurrentPage:U,setCurrentResponseId:q,setSelectedResponses:M})),React.createElement("div",{className:"jp-forms__inbox-content-column"},React.createElement(b.Z,{isLoading:P,response:(0,d.find)(A,{id:W})})))))),React.createElement(y.Z,{isVisible:i,onClose:Y}))}},786:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var a=n(5609),r=n(9818),o=n(9771),s=n(9307),i=n(5736),c=n(2819),l=n(63),u=n(9414),d=n(5848),p=n(4627),m=n(8807);const __=i.__,h=[{key:"name",label:__("From","jetpack-forms")},{key:"date",label:__("Date","jetpack-forms"),getValue:e=>(0,o.dateI18n)("M j, Y",e.date)},{key:"source",label:__("Source","jetpack-forms"),getValue:e=>React.createElement(a.Button,{href:e.entry_permalink,variant:"link"},e.source)},{key:"actions",getValue:e=>React.createElement(m.Z,{id:e.id})}],f=e=>{let{currentPage:t,currentResponseId:n,currentTab:a,pages:o,responses:i,selectedResponses:m,setCurrentPage:f,setCurrentResponseId:g,setSelectedResponses:v,loading:E}=e;const C=(0,r.useSelect)((e=>e(d.G).getTabTotals()),[])[a],y=(0,s.useMemo)((()=>{const e=i.map((e=>({...e,onClick:()=>g(e.id),isActive:e.id===n})));if(E){const n=C?Math.min(p.QO,C-(t-1)*p.QO)-i.length:10;return e.concat((0,c.times)(n,(()=>({isLoading:!0}))))}return e}),[t,n,E,i,g,C]);return!E&&0===i.length||0===C?React.createElement(u.Z,{className:"jp-forms__inbox-list",columns:[{key:"empty",label:__("No results found","jetpack-forms")}],items:[]}):React.createElement(React.Fragment,null,React.createElement(u.Z,{className:"jp-forms__inbox-list",columns:h,items:y,selectedResponses:m,setSelectedResponses:v,rowAnimationTimeout:200}),o>1&&React.createElement(l.Z,{currentPage:t,pages:o,onSelectPage:f,expandedRange:2}))}},5766:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var a=n(5609),r=n(9771),o=n(9307),s=n(5736),i=n(5235),c=n.n(i),l=n(2819),u=n(1031),d=n(5581);const __=s.__,p=e=>{let{loading:t,response:n}=e;const[i,p]=(0,o.useState)(!1),m=(0,o.useRef)();(0,o.useEffect)((()=>{m.current&&(m.current.scrollTop=0)}),[n]);const h=(0,o.useCallback)((async()=>{await window.navigator.clipboard.writeText(n.author_email),p(!0),setTimeout((()=>p(!1)),3e3)}),[n,p]),f=c()("jp-forms__inbox-response-title",{"is-email":n&&!n.author_name&&n.author_email,"is-ip":n&&!n.author_name&&!n.author_email,"is-name":n&&n.author_name});return t||n?React.createElement(u.Z,{ref:m,activeViewKey:n.id,className:"jp-forms__inbox-response",duration:200},React.createElement("div",{className:"jp-forms__inbox-response-avatar"},React.createElement("img",{src:"https://gravatar.com/avatar/6e998f49bfee1a92cfe639eabb350bc5?size=68&default=identicon",alt:__("Respondent’s gravatar","jetpack-forms")})),React.createElement("h3",{className:f},(0,d.Gf)(n)),n.author_email&&(0,d.Gf)(n)!==n.author_email&&React.createElement("p",{className:"jp-forms__inbox-response-subtitle"},n.author_email,React.createElement(a.Button,{variant:"secondary",onClick:h},!i&&__("Copy","jetpack-forms"),i&&__("✓ Copied","jetpack-forms"))),React.createElement("div",{className:"jp-forms__inbox-response-meta"},React.createElement("div",{className:"jp-forms__inbox-response-meta-label"},React.createElement("span",{className:"jp-forms__inbox-response-meta-key"},__("Date:","jetpack-forms")," "),React.createElement("span",{className:"jp-forms__inbox-response-meta-value"},(0,s.sprintf)(/* Translators: %1$s is the date, %2$s is the time. */ +__("%1$s at %2$s","jetpack-forms"),(0,r.dateI18n)((0,r.getSettings)().formats.date,n.date),(0,r.dateI18n)((0,r.getSettings)().formats.time,n.date)))),React.createElement("div",{className:"jp-forms__inbox-response-meta-label"},React.createElement("span",{className:"jp-forms__inbox-response-meta-key"},__("Source:","jetpack-forms")," "),React.createElement("span",{className:"jp-forms__inbox-response-meta-value"},React.createElement(a.Button,{variant:"link",href:n.entry_permalink},n.entry_permalink))),React.createElement("div",{className:"jp-forms__inbox-response-meta-label"},React.createElement("span",{className:"jp-forms__inbox-response-meta-key\t"},__("IP address:","jetpack-forms")," "),React.createElement("span",{className:"jp-forms__inbox-response-meta-value"},n.ip))),React.createElement("div",{className:"jp-forms__inbox-response-separator"}),React.createElement("div",{className:"jp-forms__inbox-response-data"},(0,l.map)(n.fields,((e,t)=>React.createElement("div",{key:t,className:"jp-forms__inbox-response-item"},React.createElement("div",{className:"jp-forms__inbox-response-data-label"},(0,d.i5)(t),":"),React.createElement("div",{className:"jp-forms__inbox-response-data-value"},(0,d.gX)(e))))))):null}},8807:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var a=n(5609),r=n(9818),o=n(5736),s=n(6828),i=n(2646),c=n(8270),l=n(6219),u=n(5848),d=n(4627),p=n(8057);const __=o.__,_x=o._x,m=e=>{let{id:t}=e;const{addTabTotals:n,fetchResponses:o,removeResponses:m,setLoading:h}=(0,r.useDispatch)(u.G),{currentPage:f,query:g}=(0,p.W)(),v=g.status,E=v!==d.G7.trash?_x("Trash","verb","jetpack-forms"):__("Delete permanently","jetpack-forms"),C=v!==d.G7.trash?d.aO.moveToTrash:d.aO.delete,y=e=>async()=>{try{h(!0),m([t]),n({[v]:-1,[d.Z3[e]]:1}),await(0,l.k)([t],e),await o({...g,limit:d.QO,offset:(f-1)*d.QO},{append:!0}),h(!1)}catch(e){h(!1)}};return React.createElement(a.DropdownMenu,{icon:s.Z,popoverProps:{position:"bottom left"}},(()=>React.createElement(a.MenuGroup,null,v===d.G7.spam&&React.createElement(a.MenuItem,{onClick:y(d.aO.markAsNotSpam),iconPosition:"left",icon:i.Z},__("Not spam","jetpack-forms")),v===d.G7.inbox&&React.createElement(a.MenuItem,{onClick:y(d.aO.markAsSpam),iconPosition:"left",icon:React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M11 13V7H13V13H11Z"}),React.createElement("path",{d:"M11 15V17H13V15H11Z"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.75 12C20.75 16.8325 16.8325 20.75 12 20.75C7.16751 20.75 3.25 16.8325 3.25 12C3.25 7.16751 7.16751 3.25 12 3.25C16.8325 3.25 20.75 7.16751 20.75 12ZM12 19.25C16.0041 19.25 19.25 16.0041 19.25 12C19.25 7.99594 16.0041 4.75 12 4.75C7.99594 4.75 4.75 7.99594 4.75 12C4.75 16.0041 7.99594 19.25 12 19.25Z"}))},__("Mark as spam","jetpack-forms")),v===d.G7.trash&&React.createElement(a.MenuItem,{onClick:y(d.aO.removeFromTrash),iconPosition:"left",icon:i.Z},__("Remove from trash","jetpack-forms")),React.createElement(a.MenuItem,{onClick:y(C),iconPosition:"left",icon:c.Z,variant:"tertiary",isDestructive:!0},E))))}},8057:(e,t,n)=>{"use strict";n.d(t,{W:()=>i});var a=n(9307),r=n(2819),o=n(9997);const s={p:1,r:0,status:"inbox"},i=()=>{const[e,t]=(0,o.lr)(),n=(0,a.useMemo)((()=>({...s,...(0,r.fromPairs)([...e])})),[e]),i=(0,a.useMemo)((()=>({month:n.month,parent_id:n.parent_id,search:n.search,status:n.status})),[n.month,n.parent_id,n.search,n.status]),c=(0,a.useCallback)((e=>n=>t((t=>n?(t.set(e,n),t):(t.delete(e),t)))),[t]),l=(0,a.useCallback)((e=>n=>t((t=>(t.delete("p"),t.delete("r"),n?t.set(e,n):t.delete(e),t)))),[t]);return{currentPage:parseInt(n.p,10),currentResponseId:parseInt(n.r,10),setCurrentPage:(0,a.useCallback)((e=>c("p")(e)),[c]),setCurrentResponseId:(0,a.useCallback)((e=>c("r")(e)),[c]),setMonthQuery:(0,a.useCallback)((e=>l("month")(e)),[l]),setSearchQuery:(0,a.useCallback)((e=>l("search")(e)),[l]),setSourceQuery:(0,a.useCallback)((e=>l("parent_id")(e)),[l]),setStatusQuery:(0,a.useCallback)((e=>l("status")(e)),[l]),query:i}}},5581:(e,t,n)=>{"use strict";n.d(t,{DW:()=>s,GN:()=>l,Gf:()=>o,gX:()=>c,i5:()=>i});var a=n(3419),r=n(2819);const o=e=>e.author_name?e.author_name:e.author_email?e.author_email:e.ip,s=e=>{try{return new URL(e.entry_permalink).pathname}catch(e){return""}},i=e=>{const t=e.match(/^(\d+_)?(.*)/i);return t?t[2]:e},c=e=>(0,r.isEmpty)(e)?"-":(0,r.isArray)(e)?(0,r.join)(e,", "):e,l=()=>(0,a.Ug)()||(0,a.Wp)()},4340:(e,t,n)=>{"use strict";n.d(t,{v:()=>u});var a=n(9307),r=n(2819),o=n(9997),s=n(6417),i=n(5379),c=n(2539);let l={};const u=e=>(0,r.get)(l,e);window.addEventListener("load",(()=>{const e=document.getElementById("jp-forms-dashboard");l=JSON.parse(unescape(e.dataset.config)),delete e.dataset.config;const t=(0,o.cP)([{path:"/landing",element:React.createElement(c.Z,null)},{path:"/responses",element:React.createElement(i.Z,null)},{path:"/",element:React.createElement(s.Fg,{to:"/responses"})}]);(0,a.render)(React.createElement(s.pG,{router:t}),e)}))},2539:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var a=n(3419),r=n(9307),o=n(5736),s=n(1370),i=n(1269),c=n(4340),l=n(4591),u=n(4162),d=n(515),p=n(1268),m=n(684),h=n(8282);const __=o.__,f=()=>{const e=(0,c.v)("pluginAssetsURL"),t=(0,a.Ug)()||(0,a.Wp)()?"responses-inbox-wp-com.png":"responses-inbox.png",n=e=>async()=>{const t=new FormData;t.append("action","create_new_form"),t.append("newFormNonce",(0,c.v)("newFormNonce"));const n=await fetch(window.ajaxurl,{method:"POST",body:t}),{post_url:a}=await n.json();a&&window.open(`${a}${e?"&showJetpackFormsPatterns":""}`)};return React.createElement(i.Z,{className:"jp-forms__landing",showFooter:!0},React.createElement("section",{className:"jp-forms__landing-section bg-white-off"},React.createElement("div",{className:"jp-forms__landing-content"},React.createElement("h1",{className:"mb-2"},__("Building forms made easy","jetpack-forms")),React.createElement("h4",{className:"mb-8"},__("Free, flexible, fast, and it works out of the box.","jetpack-forms")),React.createElement("button",{className:"button button-primary mb-10",onClick:n(!1)},__("Create your first form","jetpack-forms")),React.createElement("img",{src:`${e}/images/${t}`,className:"jp-forms__teaser-image",alt:__("Jetpack Forms teaser video","jetpack-forms")}))),React.createElement("section",{className:"jp-forms__landing-section"},React.createElement("div",{className:"jp-forms__landing-content"},React.createElement("h1",null,__("Start with one of many beautiful form patterns.","jetpack-forms")),React.createElement("h1",{className:"mb-12"},__("Customize to your needs.","jetpack-forms")),React.createElement("div",{className:"jp-forms__patterns-grid mb-8"},React.createElement("div",{className:"jp-forms__pattern-item"},React.createElement("img",{src:`${e}/images/contact-form.png`,alt:__("Contact Form","jetpack-forms")}),React.createElement("span",null,__("Contact form","jetpack-forms"))),React.createElement("div",{className:"jp-forms__pattern-item"},React.createElement("img",{src:`${e}/images/registration-form.png`,alt:__("Registration Form","jetpack-forms")}),React.createElement("span",null,__("Registration and login forms","jetpack-forms"))),React.createElement("div",{className:"jp-forms__pattern-item"},React.createElement("img",{src:`${e}/images/feedback-form.png`,alt:__("Feedback Form","jetpack-forms")}),React.createElement("span",null,__("Feedback form","jetpack-forms")))),React.createElement("button",{className:"button button-primary",onClick:n(!0)},__("Explore more patterns","jetpack-forms")))),React.createElement("section",{className:"jp-forms__landing-section bg-white-off"},React.createElement("div",{className:"jp-forms__landing-content"},React.createElement("h1",null,__("You’re in full control of the data.","jetpack-forms")),React.createElement("h1",{className:"mb-12"},__("Empower your workflow.","jetpack-forms")),React.createElement("div",{className:"jp-forms__features"},React.createElement("div",{className:"jp-forms__feature feature-connect"},React.createElement("div",{className:"jp-forms__feature-image-wrapper"},React.createElement("img",{src:`${e}/images/google-sheets-icon.png`,alt:__("Google Sheets icon","jetpack-forms")}),React.createElement("img",{src:`${e}/images/salesforce-icon.png`,alt:__("Salesforce icon","jetpack-forms")})),React.createElement("h1",null,__("Connect with apps you already work with","jetpack-forms"))),React.createElement("div",{className:"jp-forms__feature feature-data"},React.createElement("h4",null,__("Manage your data in wp-admin","jetpack-forms")),React.createElement(h.Z,null)),React.createElement("div",{className:"jp-forms__feature feature-akismet"},React.createElement(l.Z,{className:"mb-6"}),React.createElement("h4",null,__("No spam with Akismet","jetpack-forms"))),React.createElement("div",{className:"jp-forms__feature feature-export"},React.createElement(p.Z,null),React.createElement("h4",null,__("Export your data anytime","jetpack-forms"))),React.createElement("div",{className:"jp-forms__feature feature-notifications"},React.createElement(m.Z,{className:"mb-6"}),React.createElement("h4",null,__("Real-time notifications via email","jetpack-forms"))),React.createElement("div",{className:"jp-forms__feature feature-dependencies"},React.createElement("h1",null,React.createElement("span",null,__("Nada","jetpack-forms")),__("Zero","jetpack-forms"),React.createElement("span",null,__("Ziltch","jetpack-forms"))),React.createElement("h4",{className:"align-center"},__("No additional plugins required","jetpack-forms"))),React.createElement("div",{className:"jp-forms__feature feature-validation"},React.createElement("div",{className:"jp-forms__feature-image-wrapper align-center mb-4"},React.createElement(u.Z,null),React.createElement(d.Z,null)),React.createElement("h4",{className:"align-center"},__("Auto field validation","jetpack-forms")))))),React.createElement("section",{className:"jp-forms__landing-section align-center"},React.createElement("div",{className:"jp-forms__landing-content"},React.createElement("h4",{className:"mb-6"},__("You are in good company.","jetpack-forms")),React.createElement("h1",{className:"jp-forms__wp-sites mb-8"},__("Trusted by more than 5 million WordPress sites.","jetpack-forms")),React.createElement("button",{className:"button button-primary",onClick:n(!1)},__("Get started with Jetpack Forms","jetpack-forms")))),React.createElement("section",{className:"jp-forms__landing-section bg-white-off"},React.createElement("div",{className:"jp-forms__landing-content"},React.createElement("h1",{className:"mb-6"},__("Frequently Asked Questions","jetpack-forms")),React.createElement(s.Z,{summary:__("What do I need to use Jetpack Forms?","jetpack-forms")},__('Jetpack Forms is activated by default, so it\'s already fully functional. To get started, simply open the WordPress editor and search for the "Form" block in the block library. You can then add the form block and its corresponding child blocks, such as the text input field or multiple choice block, to your website. You can easily manage incoming form responses within the WP-Admin area.',"jetpack-forms")),React.createElement(s.Z,{summary:__("How much does Jetpack Forms cost?","jetpack-forms")},__("Jetpack Forms is currently free and comes by default with your Jetpack plugin.","jetpack-forms")),React.createElement(s.Z,{summary:__("Is Jetpack Forms GDPR compliant?","jetpack-forms")},(0,r.createInterpolateElement)(__("Jetpack and its parent company Automattic take data privacy and the GDPR very seriously. We respect the GDPR’s principles of minimizing the amount of data we collect, being transparent about what data we collect and how we use it, complying with EU law in regards to any data that is transferred to non-EU countries, and not keeping data longer than we need it for the purpose it was collected. You can read more about the data we collect, how data is used and shared, and how long data is retained in our Privacy Policy.","jetpack-forms"),{a:React.createElement("a",{href:"https://automattic.com/privacy/",rel:"noreferrer noopener",target:"_blank"})})),React.createElement(s.Z,{summary:__("Is there a form responses limit?","jetpack-forms")},__("No.","jetpack-forms")),React.createElement(s.Z,{summary:__("What if I would need some help?","jetpack-forms")},(0,r.createInterpolateElement)(__("If you have more specific questions about Jetpack and Forms feel free to reach out to us and we’ll be happy to help.","jetpack-forms"),{a:React.createElement("a",{href:"https://jetpack.com/contact-support/",rel:"noreferrer noopener",target:"_blank"})})))))}},4591:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(2674),r=n.n(a);const o=e=>React.createElement("svg",r()({width:"46",height:"46",viewBox:"0 0 46 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("rect",{width:"46",height:"46",rx:"8",fill:"#272635"}),React.createElement("g",{clipPath:"url(#clip0_3308_44290)"},React.createElement("path",{d:"M24.4162 12.0335L31.0989 29.5939C31.6753 31.0964 32.5607 31.641 34.0748 31.7683C34.1301 31.7708 34.1843 31.7847 34.2341 31.8089C34.2839 31.8332 34.3281 31.8675 34.3641 31.9095C34.4001 31.9515 34.4271 32.0005 34.4435 32.0534C34.4598 32.1063 34.4651 32.162 34.459 32.217C34.4613 32.2738 34.4522 32.3305 34.4324 32.3837C34.4125 32.437 34.3823 32.4858 34.3435 32.5274C34.3046 32.5689 34.2579 32.6023 34.2061 32.6257C34.1542 32.6491 34.0982 32.6619 34.0414 32.6635H26.7218C26.6626 32.665 26.6037 32.6544 26.5488 32.6325C26.4938 32.6106 26.4438 32.5778 26.4019 32.536C26.3599 32.4943 26.3268 32.4445 26.3047 32.3897C26.2825 32.3349 26.2716 32.2761 26.2728 32.217C26.2684 32.1596 26.276 32.1019 26.2951 32.0476C26.3141 31.9933 26.3442 31.9435 26.3834 31.9014C26.4227 31.8593 26.4702 31.8257 26.523 31.8028C26.5758 31.7799 26.6328 31.7681 26.6904 31.7683C27.4255 31.7683 28.2588 31.5763 28.2588 30.6811C28.2523 30.3078 28.1758 29.939 28.0332 29.5939L26.4294 25.3389C26.3646 25.1469 26.3333 25.0822 26.1412 25.0822H20.0328C19.0722 25.0822 17.8881 25.0822 17.3431 26.2988L15.8812 29.5939C15.7326 29.8928 15.6452 30.2185 15.6244 30.5517C15.6244 31.7036 17.13 31.7683 17.9215 31.7683C17.9791 31.7681 18.0361 31.7799 18.0889 31.8028C18.1418 31.8257 18.1893 31.8593 18.2285 31.9014C18.2677 31.9435 18.2978 31.9933 18.3169 32.0476C18.3359 32.1019 18.3435 32.1596 18.3392 32.217C18.3404 32.2762 18.3294 32.335 18.3071 32.3899C18.2848 32.4448 18.2515 32.4945 18.2093 32.5361C18.1671 32.5777 18.1168 32.6103 18.0616 32.6318C18.0064 32.6534 17.9474 32.6635 17.8881 32.6615H11.3934C11.3343 32.6629 11.2756 32.6523 11.2207 32.6304C11.1658 32.6084 11.116 32.5756 11.0742 32.5338C11.0324 32.4921 10.9995 32.4423 10.9776 32.3875C10.9556 32.3326 10.9451 32.2739 10.9465 32.2149C10.9422 32.1575 10.9498 32.0998 10.9688 32.0455C10.9879 31.9912 11.0179 31.9414 11.0572 31.8993C11.0964 31.8572 11.1439 31.8236 11.1967 31.8007C11.2496 31.7778 11.3066 31.7661 11.3642 31.7662C12.9325 31.6702 13.4525 30.9315 14.0518 29.5918L21.7661 12.7033C22.1191 11.9667 22.8876 11.3281 23.5913 11.3281C24.0967 11.3302 24.2575 11.6182 24.4162 12.0335ZM18.5689 23.4837C18.5302 23.5406 18.5078 23.607 18.5042 23.6757C18.5042 23.7404 18.5689 23.7717 18.6963 23.7717H25.0344C25.4813 23.7717 25.6734 23.6757 25.6734 23.3877C25.6728 23.2432 25.64 23.1006 25.5773 22.9704L23.8169 18.2354C23.3992 17.1482 22.7936 15.7104 22.6015 14.5251C22.6015 14.4625 22.5681 14.4291 22.5367 14.4291C22.5054 14.4291 22.4741 14.4625 22.4741 14.5251C22.2337 15.3401 21.9228 16.1326 21.5448 16.8936L18.5689 23.4837Z",fill:"white"}),React.createElement("path",{d:"M24.4162 12.0335L31.0989 29.5939C31.6753 31.0964 32.5607 31.641 34.0748 31.7683C34.1301 31.7708 34.1843 31.7847 34.2341 31.809C34.2839 31.8332 34.3281 31.8675 34.3641 31.9095C34.4001 31.9516 34.4271 32.0005 34.4435 32.0534C34.4598 32.1063 34.4651 32.162 34.459 32.217C34.4613 32.2738 34.4522 32.3305 34.4324 32.3837C34.4125 32.437 34.3823 32.4858 34.3435 32.5274C34.3046 32.5689 34.2579 32.6023 34.2061 32.6257C34.1542 32.6491 34.0982 32.6619 34.0414 32.6636H26.7218C26.6626 32.665 26.6037 32.6544 26.5488 32.6325C26.4938 32.6106 26.4438 32.5778 26.4019 32.536C26.3599 32.4943 26.3268 32.4445 26.3047 32.3897C26.2825 32.3349 26.2716 32.2761 26.2728 32.217C26.2684 32.1596 26.276 32.1019 26.2951 32.0476C26.3141 31.9933 26.3442 31.9435 26.3834 31.9014C26.4227 31.8593 26.4702 31.8257 26.523 31.8028C26.5758 31.7799 26.6328 31.7682 26.6904 31.7683C27.4255 31.7683 28.2588 31.5763 28.2588 30.6811C28.2523 30.3078 28.1758 29.939 28.0332 29.5939L26.4294 25.3389C26.3647 25.1469 26.3333 25.0822 26.1412 25.0822H20.0328C19.0722 25.0822 17.8881 25.0822 17.3431 26.2988L15.8812 29.5939C15.7326 29.8929 15.6452 30.2185 15.6244 30.5517C15.6244 31.7036 17.13 31.7683 17.9215 31.7683C17.9791 31.7682 18.0361 31.7799 18.0889 31.8028C18.1418 31.8257 18.1893 31.8593 18.2285 31.9014C18.2677 31.9435 18.2978 31.9933 18.3169 32.0476C18.3359 32.1019 18.3435 32.1596 18.3392 32.217C18.3404 32.2762 18.3294 32.335 18.3071 32.3899C18.2848 32.4448 18.2515 32.4945 18.2093 32.5361C18.1671 32.5777 18.1168 32.6103 18.0616 32.6318C18.0064 32.6534 17.9474 32.6635 17.8881 32.6615H11.3934C11.3343 32.6629 11.2756 32.6523 11.2207 32.6304C11.1658 32.6084 11.116 32.5756 11.0742 32.5339C11.0324 32.4921 10.9995 32.4423 10.9776 32.3875C10.9556 32.3326 10.9451 32.2739 10.9465 32.2149C10.9422 32.1575 10.9498 32.0999 10.9688 32.0455C10.9879 31.9912 11.0179 31.9415 11.0572 31.8993C11.0964 31.8572 11.1439 31.8236 11.1967 31.8007C11.2496 31.7778 11.3066 31.7661 11.3642 31.7662C12.9325 31.6702 13.4525 30.9315 14.0518 29.5918L21.7661 12.7033C22.1191 11.9667 22.8876 11.3281 23.5913 11.3281C24.0967 11.3302 24.2575 11.6182 24.4162 12.0335ZM18.5689 23.4837C18.5302 23.5406 18.5078 23.607 18.5042 23.6757C18.5042 23.7404 18.5689 23.7717 18.6963 23.7717H25.0344C25.4813 23.7717 25.6734 23.6757 25.6734 23.3877C25.6728 23.2432 25.64 23.1006 25.5774 22.9704L23.8169 18.2354C23.3992 17.1482 22.7936 15.7104 22.6015 14.5251C22.6015 14.4625 22.5681 14.4291 22.5367 14.4291C22.5054 14.4291 22.4741 14.4625 22.4741 14.5251C22.2337 15.3401 21.9228 16.1326 21.5448 16.8936L18.5689 23.4837Z",fill:"white"}),React.createElement("path",{d:"M36.4557 22.7333C36.4557 23.5555 35.99 24.0209 35.1484 24.0209C34.3068 24.0209 33.9727 23.5931 33.9727 22.9399C33.9727 22.1177 34.4592 21.6523 35.28 21.6523C36.1007 21.6523 36.4557 22.0989 36.4557 22.7333Z",fill:"white"}),React.createElement("path",{d:"M11.3739 22.7588C11.3739 23.5789 10.9061 24.0464 10.0666 24.0464C9.22712 24.0464 8.88672 23.6165 8.88672 22.9633C8.88672 22.1432 9.3733 21.6758 10.194 21.6758C11.0147 21.6758 11.3739 22.1244 11.3739 22.7588Z",fill:"white"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_3308_44290"},React.createElement("rect",{width:"27.5556",height:"21.3333",fill:"white",transform:"translate(8.89062 11.332)"}))))},4162:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(2674),r=n.n(a);const o=e=>React.createElement("svg",r()({width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.833 18.615L25.0371 41.2036L14.499 33.368L16.5874 30.5593L24.3169 36.3066L39.0243 16.5266L41.833 18.615Z",fill:"#008710"}))},515:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(2674),r=n.n(a);const o=e=>React.createElement("svg",r()({width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.0002 30.4751L36.6623 39.1371L39.1371 36.6623L30.4751 28.0002L39.1372 19.3382L36.6623 16.8633L28.0002 25.5254L19.3382 16.8633L16.8633 19.3382L25.5254 28.0002L16.8633 36.6623L19.3382 39.1372L28.0002 30.4751Z",fill:"#D63638"}))},1268:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(2674),r=n.n(a);const o=e=>React.createElement("svg",r()({width:"132",height:"50",viewBox:"0 0 132 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("rect",{x:"25",y:"14",width:"107",height:"4",rx:"2",fill:"#256EFF"}),React.createElement("rect",{x:"31",y:"35",width:"63",height:"3",rx:"1.5",fill:"#1858D8"}),React.createElement("rect",{x:"16",y:"35",width:"8",height:"3",rx:"1.5",fill:"#1858D8"}),React.createElement("rect",{y:"14",width:"19",height:"4",rx:"2",fill:"#256EFF"}),React.createElement("rect",{x:"44",y:"25",width:"72",height:"4",rx:"2",fill:"#357B49"}),React.createElement("rect",{x:"16",y:"25",width:"23",height:"4",rx:"2",fill:"#357B49"}),React.createElement("rect",{x:"6",y:"5",width:"66",height:"3",rx:"1.5",fill:"#6DBF85"}),React.createElement("rect",{width:"127",height:"50",fill:"url(#paint0_linear_3308_44308)"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"paint0_linear_3308_44308",x1:"2.5",y1:"25",x2:"65.5",y2:"25",gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"white"}),React.createElement("stop",{offset:"1",stopColor:"white",stopOpacity:"0"}))))},684:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(2674),r=n.n(a);const o=e=>React.createElement("svg",r()({width:"46",height:"36",viewBox:"0 0 46 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.6667 8C2.0894 8 0 10.0893 0 12.6667V31.3333C0 33.9107 2.0894 36 4.6667 36H32.6667C35.244 36 37.3334 33.9107 37.3334 31.3333V12.6667C37.3334 10.0893 35.244 8 32.6667 8H4.6667ZM3.5 13.6382V31.3333C3.5 31.9777 4.0224 32.5 4.6667 32.5H32.6667C33.311 32.5 33.8334 31.9777 33.8334 31.3333V13.6382L18.6667 26.6382L3.5 13.6382ZM30.9499 11.5H6.3835L18.6667 22.0284L30.9499 11.5Z",fill:"#1E1E1E"}),React.createElement("path",{d:"M37.668 16C42.0862 16 45.668 12.4183 45.668 8C45.668 3.58172 42.0862 0 37.668 0C33.2497 0 29.668 3.58172 29.668 8C29.668 12.4183 33.2497 16 37.668 16Z",fill:"#D63638"}))},8282:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(2674),r=n.n(a);const o=e=>React.createElement("svg",r()({width:"136",height:"95",viewBox:"0 0 136 95",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.9708 18.9005C44.1337 18.134 44.505 16.5837 43.7747 15.3976C43.044 14.2108 41.4873 13.838 40.3216 14.602C30.653 20.9387 22.3008 29.0987 15.7365 38.6338C9.17125 48.1704 4.52929 58.8867 2.061 70.182C1.76407 71.5408 2.66601 72.8592 4.03266 73.1177C5.40037 73.3763 6.7148 72.4749 7.01303 71.1153C11.7833 49.3673 24.9629 30.7687 42.9708 18.9005Z",fill:"#4DB26A"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M42.9708 18.9005C44.1337 18.134 44.505 16.5837 43.7747 15.3976C43.044 14.2108 41.4873 13.838 40.3216 14.602C30.653 20.9387 22.3008 29.0987 15.7365 38.6338C9.17125 48.1704 4.52929 58.8867 2.061 70.182C1.76407 71.5408 2.66601 72.8592 4.03266 73.1177C5.40037 73.3763 6.7148 72.4749 7.01303 71.1153C11.7833 49.3673 24.9629 30.7687 42.9708 18.9005Z",fill:"#4DB26A"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M59.5137 42.4168C60.4544 41.8184 60.78 40.5851 60.2172 39.6228C59.654 38.6598 58.4145 38.3328 57.4712 38.9284C46.8358 45.6429 38.5862 55.5676 33.9351 67.2909C29.2835 79.0151 28.4852 91.8974 31.6254 104.078C31.9034 105.156 33.028 105.767 34.0965 105.453C35.1646 105.138 35.7721 104.019 35.4976 102.94C34.382 98.5546 33.7891 93.9608 33.7891 89.2286C33.7891 69.543 44.0492 52.2537 59.5137 42.4168Z",fill:"#1858D8"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M107.624 32.6581C95.629 28.7574 82.7218 28.7757 70.7641 32.6803C69.7058 33.0259 69.1676 34.1865 69.5489 35.2325C69.9301 36.2785 71.0861 36.8137 72.1454 36.471C77.5265 34.7298 83.2677 33.7891 89.2286 33.7891C107.655 33.7891 123.983 42.7791 134.063 56.6124C134.72 57.514 135.973 57.7612 136.898 57.1381C137.824 56.5147 138.072 55.2561 137.418 54.3517C130.044 44.163 119.618 36.5582 107.624 32.6581Z",fill:"#272635"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M125.194 10.3266C125.771 9.06103 125.213 7.56393 123.932 7.02306C103.735 -1.50267 81.1004 -2.29366 60.3576 4.8014C59.0419 5.25142 58.3815 6.70568 58.8684 8.00815C59.3554 9.31074 60.805 9.96807 62.1216 9.52038C70.6288 6.62765 79.7479 5.05859 89.2335 5.05859C100.795 5.05859 111.813 7.38976 121.841 11.6077C123.124 12.1471 124.617 11.5926 125.194 10.3266Z",fill:"#256EFF"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.31243 82.6459C5.42004 81.2555 4.42168 80.0104 3.03527 79.8597C1.64766 79.7088 0.396736 80.7112 0.285223 82.1025C-0.050481 86.291 -0.0899009 90.498 0.167258 94.6921C0.252708 96.0857 1.48505 97.1117 2.87569 96.9868C4.26521 96.862 5.28707 95.6354 5.2053 94.2427C5.10795 92.5847 5.05859 90.9139 5.05859 89.2315C5.05859 87.0153 5.14425 84.819 5.31243 82.6459Z",fill:"#357B49"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.7916 50.6255C32.4778 49.6066 32.255 48.2185 31.2581 47.5008C30.2617 46.7836 28.8696 47.0081 28.1828 48.0256C21.8352 57.4297 17.7403 68.1824 16.2306 79.4476C14.7208 90.7147 15.8408 102.168 19.49 112.913C19.8837 114.073 21.1643 114.654 22.3113 114.226C23.4584 113.797 24.0373 112.521 23.6459 111.361C21.3019 104.412 20.0312 96.9691 20.0312 89.2295C20.0312 74.935 24.3656 61.6528 31.7916 50.6255Z",fill:"#357B49"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.5768 17.4851C59.8851 20.4307 48.2153 26.6871 38.7474 35.5993C37.8522 36.4421 37.8544 37.8544 38.7238 38.7238C39.5932 39.5932 41.0003 39.5903 41.8971 38.7492C54.2734 27.1395 70.9211 20.0293 89.2295 20.0293C123.718 20.0293 152.314 45.2605 157.565 78.2712C157.758 79.483 158.867 80.3482 160.084 80.193C161.3 80.038 162.164 78.9257 161.972 77.7148C159.939 64.8699 154.538 52.7777 146.302 42.6792C137.598 32.0067 126.076 23.9885 113.044 19.5351C100.012 15.0817 85.9921 14.3715 72.5768 17.4851Z",fill:"#357B49"}),React.createElement("rect",{x:"49",y:"48",width:"82",height:"82",rx:"41",fill:"#1E1E1E"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M121 89C121 71.919 107.081 58 90 58C72.888 58 59 71.919 59 89C59 106.112 72.888 120 90 120C107.081 120 121 106.112 121 89ZM83.118 105.647L72.547 77.282C74.252 77.22 76.174 77.034 76.174 77.034C77.724 76.848 77.538 73.531 75.988 73.593C75.988 73.593 71.493 73.934 68.641 73.934C68.083 73.934 67.494 73.934 66.843 73.903C71.772 66.339 80.297 61.441 90 61.441C97.223 61.441 103.795 64.138 108.755 68.695C106.647 68.354 103.64 69.904 103.64 73.593C103.64 75.6018 104.71 77.3253 105.912 79.2631L105.912 79.2632L105.913 79.2642C106.084 79.539 106.257 79.8181 106.43 80.103C107.515 81.994 108.135 84.319 108.135 87.729C108.135 92.348 103.795 103.229 103.795 103.229L94.402 77.282C96.076 77.22 96.944 76.755 96.944 76.755C98.494 76.6 98.308 72.88 96.758 72.973C96.758 72.973 92.294 73.345 89.38 73.345C86.683 73.345 82.157 72.973 82.157 72.973C80.607 72.88 80.421 76.693 81.971 76.755L84.823 77.003L88.729 87.574L83.118 105.647ZM113.039 88.8199L112.971 89C110.725 94.9133 108.496 100.877 106.271 106.83L106.27 106.832L106.268 106.839L106.261 106.857C105.48 108.947 104.699 111.034 103.919 113.118C112.196 108.344 117.559 99.199 117.559 89C117.559 84.226 116.474 79.824 114.304 75.825C115.237 82.9857 113.804 86.7883 113.039 88.8199ZM77.91 114.079C68.672 109.615 62.441 99.943 62.441 89C62.441 84.97 63.154 81.312 64.673 77.871C65.6006 80.4122 66.5282 82.9547 67.4561 85.498L67.4587 85.5051C70.9333 95.0288 74.412 104.564 77.91 114.079ZM98.401 115.164L90.403 93.526C88.9295 97.8728 87.445 102.22 85.9562 106.58C84.9392 109.558 83.9201 112.542 82.901 115.536C85.133 116.218 87.551 116.559 90 116.559C92.945 116.559 95.735 116.063 98.401 115.164Z",fill:"white"}))},5886:(e,t,n)=>{"use strict";n.d(t,{Hl:()=>u,ND:()=>i,Wk:()=>o,fj:()=>c,o:()=>l,oA:()=>s,qP:()=>r,zt:()=>a});const a="ASYNC_ROUTINE_DISPATCH",r="RESPONSES_FETCH",o="RESPONSES_FETCH_RECEIVE",s="RESPONSES_FETCH_FAIL",i="RESPONSES_REMOVE",c="RESPONSES_SELECTION_SET",l="RESPONSES_TAB_TOTALS_ADD",u="RESPONSES_LOADING_SET"},4821:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addTabTotals:()=>u,dispatchAsync:()=>o,fetchResponses:()=>s,removeResponses:()=>i,selectResponses:()=>c,setLoading:()=>l});var a=n(6219),r=n(5886);const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{type:r.zt,apply:e,args:t}};function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){yield{type:r.qP,append:t.append,query:e};try{const n=yield o(a.j,[e]);return{type:r.Wk,responses:n.responses,total:n.totals[e.status||"inbox"],tabTotals:n.totals,filters:n.filters_available,append:t.append}}catch(e){return{type:r.oA,error:e}}}()}const i=(e,t)=>({type:r.ND,responseIds:e,status:t}),c=e=>({type:r.fj,selectedResponses:e}),l=e=>({type:r.Hl,loading:e}),u=e=>({type:r.o,tabTotals:e})},361:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={[n(5886).zt]:e=>{let{apply:t,args:n}=e;return t(...n)}}},5848:(e,t,n)=>{"use strict";n.d(t,{G:()=>c});var a=n(9818),r=n(4821),o=n(361),s=n(9664),i=n(944);const c="FORM_RESPONSES",l={actions:{...r},reducer:s.Z,selectors:{...i},controls:o.Z},u=(0,a.createReduxStore)(c,l);(0,a.register)(u)},9664:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(9818),r=n(2819),o=n(5886);const s=(0,a.combineReducers)({currentSelection:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t.type===o.Wk?[]:t.type===o.fj?t.selectedResponses:e},filters:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===o.Wk?t.filters:e},loading:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.qP||t.type!==o.Wk&&t.type!==o.oA&&(t.type===o.Hl?t.loading:e)},query:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===o.qP?t.query:e},responses:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t.type!==o.qP||t.append?t.type===o.Wk?t.append?(0,r.uniqBy)([...e,...t.responses],(e=>e.id)):[...t.responses]:t.type===o.ND?e.filter((e=>t.responseIds.indexOf(e.id)<0)):e:[]},tabTotals:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1?arguments[1]:void 0;return t.type===o.Wk?t.tabTotals:t.type===o.o?(0,r.fromPairs)((0,r.map)((0,r.keys)({...e,...t.tabTotals}),(n=>[n,(e[n]||0)+(t.tabTotals[n]||0)]))):e},total:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return t.type===o.qP&&0===t.offset?0:t.type===o.Wk?t.total:t.type===o.ND?e-t.responseIds.length:e}})},944:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getMonthFilter:()=>u,getQuery:()=>i,getResponses:()=>s,getSelectedResponseIds:()=>p,getSourceFilter:()=>d,getTabTotals:()=>c,getTotalResponses:()=>l,isFetchingResponses:()=>o});var a=n(2819),r=n(5581);const o=e=>e.loading,s=e=>(0,a.map)(e.responses,(e=>({...e,source:e.entry_title||(0,r.DW)(e),name:e.author_name||e.author_email||e.author_url||e.ip}))),i=e=>e.query||{},c=e=>e.tabTotals||{},l=e=>e.total,u=e=>e.filters.month||[],d=e=>e.filters.source||[],p=e=>e.currentSelection},1128:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let a=0,r=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(a++,"%c"===e&&(r=a))})),t.splice(r,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(2942)(t);const{formatters:a}=e.exports;a.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2942:(e,t,n)=>{e.exports=function(e){function t(e){let n,r,o,s=null;function i(){for(var e=arguments.length,a=new Array(e),r=0;r{if("%%"===e)return"%";l++;const r=t.formatters[n];if("function"==typeof r){const t=a[l];e=r.call(o,t),a.splice(l,1),l--}return e})),t.formatArgs.call(o,a);(o.log||t.log).apply(o,a)}return i.namespace=e,i.useColors=t.useColors(),i.color=t.selectColor(e),i.extend=a,i.destroy=t.destroy,Object.defineProperty(i,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(r!==t.namespaces&&(r=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(i),i}function a(e,n){const a=t(this.namespace+(void 0===n?":":n)+e);return a.log=this.log,a}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const a=("string"==typeof e?e:"").split(/[\s,]+/),r=a.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{"use strict";if(void 0==={consumer_slug:"jetpack-forms"}){var t=new Error('Cannot find module \'{"consumer_slug":"jetpack-forms"}\'');throw t.code="MODULE_NOT_FOUND",t}e.exports={consumer_slug:"jetpack-forms"}},9196:e=>{"use strict";e.exports=window.React},1850:e=>{"use strict";e.exports=window.ReactDOM},2819:e=>{"use strict";e.exports=window.lodash},6989:e=>{"use strict";e.exports=window.wp.apiFetch},5609:e=>{"use strict";e.exports=window.wp.components},4333:e=>{"use strict";e.exports=window.wp.compose},9818:e=>{"use strict";e.exports=window.wp.data},9771:e=>{"use strict";e.exports=window.wp.date},9307:e=>{"use strict";e.exports=window.wp.element},2629:e=>{"use strict";e.exports=window.wp.htmlEntities},5736:e=>{"use strict";e.exports=window.wp.i18n},8817:e=>{"use strict";e.exports=window.wp.plugins},444:e=>{"use strict";e.exports=window.wp.primitives},6483:e=>{"use strict";e.exports=window.wp.url},17:(e,t,n)=>{var a=n(6930);e.exports=function(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},2674:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var a=n(3522).default;e.exports=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},6930:(e,t,n)=>{var a=n(3522).default,r=n(5061);e.exports=function(e){var t=r(e,"string");return"symbol"===a(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},3522:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},506:(e,t,n)=>{"use strict";function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>a})},255:(e,t,n)=>{"use strict";function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;ta})},1806:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(205);function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,a.Z)(e,t)}},7921:(e,t,n)=>{"use strict";function a(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a=0||(r[n]=e[n]);return r}n.d(t,{Z:()=>a})},205:(e,t,n)=>{"use strict";function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}n.d(t,{Z:()=>a})}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};n(4340)})(); \ No newline at end of file diff --git a/dist/dashboard/jetpack-forms-dashboard.rtl.css b/dist/dashboard/jetpack-forms-dashboard.rtl.css index e928b1e..8fc48fb 100644 --- a/dist/dashboard/jetpack-forms-dashboard.rtl.css +++ b/dist/dashboard/jetpack-forms-dashboard.rtl.css @@ -1 +1 @@ -body.toplevel_page_jetpack-forms{background-color:#fff}body.toplevel_page_jetpack-forms #wpcontent{padding-right:0}.jp-forms__layout{box-sizing:border-box;display:flex;flex-direction:column;margin:0;padding:0;width:100%}.jp-forms__layout .jp-forms__logo{margin:40px 64px}@media(max-width:660px){.jp-forms__layout .jp-forms__logo{margin:40px 24px}}.jp-forms__layout-header{background-color:#f9f9f9;box-sizing:border-box;margin:0;padding:48px 64px 16px;width:100%}@media(max-width:660px){.jp-forms__layout-header{padding:48px 24px 32px}}.jp-forms__layout-title{display:inline-flex;font-size:36px;font-weight:700;height:40px;line-height:40px;margin:0}.jp-forms__layout-footer.jp-dashboard-footer{box-sizing:border-box;margin:60px 0;max-width:100%;padding-left:64px;padding-right:64px}.jp-dashboard-footer{align-items:center;color:var(--jp-black);display:flex;flex-wrap:wrap;font-size:var(--font-body-extra-small);line-height:1.333;max-width:1128px;width:100%}.jp-dashboard-footer a{text-decoration:none}.jp-dashboard-footer a:any-link,.jp-dashboard-footer a[role=button]{color:inherit}.jp-dashboard-footer a:hover{text-decoration:underline;text-decoration-thickness:1.5px}.jp-dashboard-footer a:focus{border-radius:2px;box-shadow:none;outline:1.5px solid currentColor;outline-offset:3px}.jp-dashboard-footer.is-sm>ul{gap:.125rem}.jp-dashboard-footer.is-md,.jp-dashboard-footer.is-sm>ul{align-items:flex-start;flex-direction:column}.jp-dashboard-footer>ul{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;list-style:none;margin:0;padding:0;width:100%}.jp-dashboard-footer>ul>li{margin-bottom:0}.jp-dashboard-footer>ul>li>a{align-items:center;display:flex;gap:.25rem;min-height:44px}.jp-dashboard-footer__jp-item{font-weight:600;padding-inline-end:1rem}.jp-dashboard-footer.is-sm .jp-dashboard-footer__jp-item{padding-bottom:1rem}.jp-dashboard-footer.is-lg .jp-dashboard-footer__a8c-item{margin-inline-start:auto}.jp-dashboard-footer.is-sm .jp-dashboard-footer__a8c-item{padding-top:1rem}.jp-dashboard-footer__a8c-item>a,.jp-dashboard-footer__jp-item>a{text-decoration:none}.jp-forms__actions-search{border-radius:4px;display:flex;flex-direction:row}.jp-forms__actions-search:focus-within{box-shadow:var(--jp-forms-focus-shadow)}@media(max-width:600px){.jp-forms__actions-search{flex:1}}.jp-forms__actions-search .input-wrapper{align-items:center;background-color:var(--jp-forms-white);border:1px solid var(--jp-forms-border-color);border-radius:var(--jp-forms-border-radius);box-sizing:border-box;display:flex;font-size:var(--font-body-small);height:var(--jp-forms-input-wrapper-height);min-height:var(--jp-forms-input-wrapper-height);padding:var(--jp-forms-spacing-base);width:350px}@media(min-width:783px)and (max-width:960px){.jp-forms__actions-search .input-wrapper{width:300px}}@media(max-width:600px){.jp-forms__actions-search .input-wrapper{width:100%}}.jp-forms__actions-search .input-wrapper:focus-within{border-color:transparent}.jp-forms__actions-search .input-wrapper.disabled{background-color:var(--jp-gray);border-color:var(--jp-gray-10);color:var(--jp-gray-20)}.jp-forms__actions-search .input-wrapper .input{background-color:transparent;border:0;box-shadow:none;font-family:unset;font-size:var(--jp-forms-font-size-regular);outline:none;padding:0;width:100%}.jp-forms__actions-search .input-wrapper .input:focus{box-shadow:none;outline:none}.jp-forms__actions-search .input-wrapper .input.with-icon{margin-right:var(--jp-forms-spacing-base)}.jp-forms__actions-search .input-wrapper .icon-wrapper{align-items:center;display:flex;flex-shrink:0;height:24px;justify-content:center;width:24px}.jp-forms__actions-search .input-wrapper .icon-wrapper.hidden{visibility:hidden}.jp-forms__actions-search .input-wrapper .clear-icon{cursor:pointer}.jp-forms__actions-search .input-wrapper .loader svg{margin:0}.cuoSlhSNrqf1dozY22Xb{fill:#000}.JLquNpQVlysAamuh5lJO,.lAIiifeLMmZAPlQ9n9ZR{fill:var(--jp-green-primary)}.cbOwD8Y4tFjwimmtchQI{fill:#757575}.cbOwD8Y4tFjwimmtchQI.aHOlEBGD5EA8NKRw3xTw{fill:var(--color-facebook);border-radius:50%!important}.cbOwD8Y4tFjwimmtchQI.af4Y_zItXvLAOEoSDPSv{fill:var(--color-twitter)}.cbOwD8Y4tFjwimmtchQI.f68aqF3XSD1OBvXR1get{fill:var(--color-linkedin)}.cbOwD8Y4tFjwimmtchQI.xFI0dt3UiXRlRQdqPWkx{fill:var(--color-tumblr)}.cbOwD8Y4tFjwimmtchQI.q7JEoyymveP6kF747M43{fill:var(--color-gplus)}.cbOwD8Y4tFjwimmtchQI.DKOBOTVmTLbh26gUH_73{fill:var(--color-mastodon)}.cbOwD8Y4tFjwimmtchQI.cL3m0xBYTYhIKI7lCqDB{fill:var(--color-instagram)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jetpack-editor-panel-logo{margin-right:.5em}.jp-forms__export-modal{align-items:center;background:rgba(0,0,0,.3);bottom:0;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;left:0;padding:0;position:fixed;right:0;top:0;z-index:9999}@media(min-width:601px){.jp-forms__export-modal{padding:40px 60px}}.jp-forms__export-modal-wrapper{background-color:#fff;display:flex;flex-direction:column;max-width:680px;padding:24px 48px 0;position:relative}.jp-forms__export-modal-close-button{background:transparent;border:0;cursor:pointer;height:24px;left:8px;padding:3px;position:absolute;top:8px;width:24px}.jp-forms__export-modal-header{margin-bottom:32px}.jp-forms__export-modal-header-title{font-size:24px;font-style:normal;font-weight:700;line-height:32px;margin-bottom:8px}.jp-forms__export-modal-header-subtitle{color:#000;font-size:16px;font-style:normal;font-weight:400;letter-spacing:-.02em;line-height:24px;margin-bottom:0;margin-top:8px;padding:0}.jp-forms__export-modal-content{display:flex;flex-direction:column;flex-grow:1;gap:32px;padding:0}.jp-forms__export-modal-footer{box-sizing:border-box;display:flex;justify-content:space-between;padding:48px 16px 24px}.jp-forms__export-modal-footer-column{align-items:center;display:flex}.jp-forms__export-modal-footer #jetpack-logo__icon{height:16px;width:16px}.jp-forms__export-modal-footer #jetpack-logo__icon path{fill:#000}.jp-forms__export-modal-footer .jp-forms__export-modal-footer-link{color:#23282d;font-size:12px;font-weight:600;letter-spacing:-.02em;line-height:0;padding-right:8px;text-align:right;text-decoration:none}.jp-forms__export-modal-card{border-radius:var(--jp-border-radius,4px);box-shadow:0 0 0 1px var(--jp-gray-10,#c3c4c7) inset;display:flex;flex-direction:column;isolation:isolate;padding:24px}.jp-forms__export-modal-card-body,.jp-forms__export-modal-card-header{display:flex}.jp-forms__export-modal-card-header{align-items:center;gap:16px;margin-bottom:16px}.jp-forms__export-modal-card-header-title{font-size:20px;font-style:normal;font-weight:700;line-height:30px}.jp-forms__export-modal-card-body{align-items:center;gap:32px;justify-content:space-between}.jp-forms__export-modal-card-body-description{color:#000;flex-grow:1;font-size:14px;font-style:normal;font-weight:400;letter-spacing:-.02em;line-height:24px;max-width:60%}.jp-forms__export-modal-card-body-description a{color:inherit}.jp-forms__export-modal-card-body-description-footer{color:#757575;font-size:12px;font-style:normal;font-weight:400;line-height:150%;margin-bottom:0}.jp-forms__export-modal-card-body-cta{align-self:flex-end}.jp-forms__export-modal-card-body-cta .button-primary.export-button{background:#000;border:1px solid #fff;border-radius:4px;color:#fff;font-style:normal;font-weight:400;letter-spacing:-.01em}.jp-forms__export-modal-card-beta-badge{background:#2fb41f;border-radius:2px;color:#fff;font-size:11px;font-style:normal;font-weight:600;line-height:150%;padding:4px 8px;text-align:left;text-transform:uppercase}.gridicon{fill:currentColor;display:inline-block}.gridicon.needs-offset g{transform:translate(-1px,1px)}.gridicon.needs-offset-x g{transform:translate(-1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.jp-forms__page-navigation{background-color:#fff;border:1px solid #dcdcde;border-radius:3px;box-sizing:border-box;display:flex;flex-direction:row;height:36px;justify-content:center;padding:0;width:fit-content}.jp-forms__page-navigation-button,.jp-forms__page-navigation-button:hover,.jp-forms__page-navigation-placeholder,.jp-forms__page-navigation-placeholder:hover{background:transparent;border:0;box-sizing:border-box;color:#101517;cursor:pointer;display:inline-flex;font-size:13px;font-weight:700;height:34px;line-height:18px;padding:8px 12px;text-align:center}.jp-forms__page-navigation-button.is-active,.jp-forms__page-navigation-button:hover.is-active,.jp-forms__page-navigation-placeholder.is-active,.jp-forms__page-navigation-placeholder:hover.is-active{background-color:#101517;color:#fff}.jp-forms__page-navigation-button:disabled,.jp-forms__page-navigation-button:hover:disabled,.jp-forms__page-navigation-placeholder:disabled,.jp-forms__page-navigation-placeholder:hover:disabled{cursor:default}.jp-forms__page-navigation-button:disabled:first-child,.jp-forms__page-navigation-button:disabled:last-child,.jp-forms__page-navigation-button:hover:disabled:first-child,.jp-forms__page-navigation-button:hover:disabled:last-child,.jp-forms__page-navigation-placeholder:disabled:first-child,.jp-forms__page-navigation-placeholder:disabled:last-child,.jp-forms__page-navigation-placeholder:hover:disabled:first-child,.jp-forms__page-navigation-placeholder:hover:disabled:last-child{color:#dcdcde}.jp-forms__page-navigation-button .gridicon,.jp-forms__page-navigation-button:hover .gridicon,.jp-forms__page-navigation-placeholder .gridicon,.jp-forms__page-navigation-placeholder:hover .gridicon{display:inline-flex}.jp-forms__page-navigation-button .gridicon.gridicons-arrow-left,.jp-forms__page-navigation-button:hover .gridicon.gridicons-arrow-left,.jp-forms__page-navigation-placeholder .gridicon.gridicons-arrow-left,.jp-forms__page-navigation-placeholder:hover .gridicon.gridicons-arrow-left{margin-left:3px}.jp-forms__page-navigation-button .gridicon.gridicons-arrow-right,.jp-forms__page-navigation-button:hover .gridicon.gridicons-arrow-right,.jp-forms__page-navigation-placeholder .gridicon.gridicons-arrow-right,.jp-forms__page-navigation-placeholder:hover .gridicon.gridicons-arrow-right{margin-right:3px}.jp-forms__table{box-sizing:border-box;display:table;margin:0;padding:0}.jp-forms__table-header,.jp-forms__table-item{display:table-row}.jp-forms__table-header:nth-child(2n),.jp-forms__table-item:nth-child(2n){background-color:#f9f9f6}.jp-forms__table-item.is-clickable{cursor:pointer}.jp-forms__table-item.is-active:not(.exit){background-color:#000;color:#fff}@keyframes jp-forms__table-pulse{0%{opacity:.2}50%{opacity:.1}to{opacity:.2}}.jp-forms__table-cell{border-bottom:1px solid #dcdcde;box-sizing:border-box;display:table-cell;font-size:var(--jp-forms-font-size-regular);height:52px;line-height:normal;margin:0;max-width:0;padding:0 16px;position:relative;text-align:right;transition:background-color .1s ease-out,opacity .1s ease-out;vertical-align:middle}@media(max-width:600px){.jp-forms__table-cell{padding:8px}}.jp-forms__table :last-child .jp-forms__table-cell{border-bottom:unset}.jp-forms__table-cell.is-select{min-width:62px;padding:0 20px}@media(max-width:480px){.jp-forms__table-cell.is-select{min-width:46px;padding:0 12px}}.jp-forms__table-cell.is-empty{align-items:center;display:flex;justify-content:center;max-width:100%}.jp-forms__table-item.is-loading .jp-forms__table-cell:before{animation:jp-forms__table-pulse 2s ease-in-out infinite;background-color:#000;border-radius:.5em;content:"";display:flex;height:1em}.jp-forms__table-cell .components-button.is-link{color:inherit;font-size:inherit}input[type=checkbox].jp-forms__table-checkbox{appearance:none;-moz-appearance:none;-webkit-appearance:none;border:0;box-shadow:none;box-sizing:border-box;cursor:pointer;font-size:var(--jp-forms-font-size-regular);height:16px;line-height:16px;margin:0;outline:0;width:16px}input[type=checkbox].jp-forms__table-checkbox:before{background:#fff;border:1px solid #949494;border-radius:2px;color:#000;content:" ";display:inline-block;font-size:var(--jp-forms-font-size-regular);font-weight:700;height:16px;margin:0;text-align:center;transition:background .1s ease-out,color .1s ease-out,border-color .1s ease-out;width:16px}input[type=checkbox].jp-forms__table-checkbox:focus:before{box-shadow:var(--jp-forms-focus-shadow)}input[type=checkbox].jp-forms__table-checkbox:checked:before{background:#000;border-color:#000;color:#fff;content:"✓"}input[type=checkbox].jp-forms__table-checkbox.is-intermediate:before,input[type=checkbox].jp-forms__table-checkbox.is-intermediate:checked:before{background:#000;border-color:#000;color:#fff;content:"-"}.jp-forms__inbox a.back-button{align-items:center;color:#2c3338;cursor:pointer;display:none;font-size:14px;font-weight:500}.jp-forms__inbox a.back-button svg{margin-left:4px}.jp-forms__inbox .button-primary.export-button:focus{box-shadow:var(--jp-forms-focus-shadow)}.jp-forms__inbox .components-dropdown-menu .components-menu-item__button{font-size:var(--jp-forms-font-size-regular)}.jp-forms__inbox span.subtitle{padding-right:0;white-space:pre}@media(min-width:1025px){.jp-forms__inbox a.back-button{display:none!important}.jp-forms__inbox span.title{display:inline-flex!important}.jp-forms__inbox span.subtitle{display:inline-flex!important;flex-wrap:wrap}}.jp-forms__inbox.is-response-view span.subtitle,.jp-forms__inbox.is-response-view span.title{display:none}.jp-forms__inbox.is-response-view a.back-button{display:inline-flex}.jp-forms__inbox.is-response-view .jp-forms__inbox-tabs .components-tab-panel__tabs{display:none}@media(min-width:1025px){.jp-forms__inbox.is-response-view .jp-forms__inbox-tabs .components-tab-panel__tabs{display:flex}}.jp-forms__inbox-tabs .components-tab-panel__tabs{background-color:#f9f9f9;margin:0;padding:16px 64px 0;position:sticky;top:var(--wp-admin--admin-bar--height);z-index:1}@media(max-width:600px){.jp-forms__inbox-tabs .components-tab-panel__tabs{top:0}}@media(max-width:660px){.jp-forms__inbox-tabs .components-tab-panel__tabs{padding:0 24px}}.jp-forms__inbox-tab-item{border-bottom:2px solid transparent;font-size:var(--jp-forms-font-size-regular);font-weight:400;height:40px;padding:8px 16px}.jp-forms__inbox-tab-item.active-tab{border-color:#000;font-weight:600}.jp-forms__inbox-tab-item-count{align-items:center;background:transparent;border:1px solid #dcdcde;border-radius:3px;box-sizing:border-box;color:#2c3338;display:inline-flex;font-size:12px;font-weight:400;height:20px;line-height:18px;margin-right:10px;padding:0 6px}.jp-forms__inbox-content{box-sizing:border-box;display:flex;flex-direction:row;gap:0;margin-top:0;padding:0 0 48px;position:relative;width:100%;z-index:0}@media(min-width:1025px){.jp-forms__inbox-content{gap:24px;padding-left:64px;padding-right:64px}}.jp-forms__inbox-content-column{align-items:center;box-sizing:border-box;flex-direction:column;min-width:0;position:relative;width:100%}.jp-forms__inbox-content-column:first-child{display:flex}.jp-forms__inbox-content-column:last-child,.jp-forms__inbox.is-response-view .jp-forms__inbox-content-column:first-child{display:none}.jp-forms__inbox.is-response-view .jp-forms__inbox-content-column:last-child{display:flex}@media(max-width:660px){.jp-forms__inbox-content-column{padding-left:24px;padding-right:24px}}@media(min-width:661px)and (max-width:1024px){.jp-forms__inbox-content-column{padding-left:64px;padding-right:64px}}@media(min-width:1025px){.jp-forms__inbox-content-column{display:flex!important;flex:3;width:auto}.jp-forms__inbox-content-column:last-child{flex:2}}.jp-forms__inbox-content-column .jp-forms__inbox-sticky-sentinel{background:transparent;height:1px;position:absolute;top:0;width:1px}.jp-forms__inbox-content-column .jp-forms__inbox-sticky-mark{border-bottom:1px solid #dcdcde;box-shadow:0 1px 5px 0 rgba(0,0,0,.3);position:sticky;top:calc(var(--wp-admin--admin-bar--height) + 144px);width:100%}.jp-forms__inbox-content-column .jp-forms__page-navigation{margin:16px 0 0}.jp-forms__inbox-list,.jp-forms__inbox-response{border:1px solid #dcdcde;border-radius:8px;box-sizing:border-box;display:flex;flex-direction:column;min-height:300px;overflow:hidden;width:100%}.jp-forms__inbox-list.jp-forms__table{display:table;min-height:unset}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item{max-height:52px;transition:max-height .2s}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.exit-active{overflow:hidden}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.exit-active,.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.exit-done{max-height:0}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.exit-active.is-loading{display:none}@media(max-width:1024px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.is-active{background-color:#fff;color:inherit}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.is-active:nth-child(2n){background-color:#f9f9f6}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.is-active .is-link{text-decoration:underline}}@media(min-width:1025px){.jp-forms__inbox-list.jp-forms__table{display:flex;min-height:calc(100vh - var(--wp-admin--admin-bar--height) - 192px)}}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell{white-space:nowrap}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-name{min-width:160px;overflow:hidden;text-overflow:ellipsis;width:45%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-date{min-width:110px;width:27.5%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source{min-width:100px;width:27.5%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source .is-link{cursor:pointer;display:inline-block;max-width:100%;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source .is-link:hover,.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.is-active .is-link{text-decoration:underline}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions{max-width:68px;min-width:68px}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown-menu__toggle{color:currentColor;padding:0}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown-menu__toggle>svg{height:32px;width:32px}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown-menu__toggle:focus{box-shadow:var(--jp-forms-focus-shadow)}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown__content{white-space:normal}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown__content .components-button.is-tertiary:hover:not(:disabled){background:transparent;color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#007cba))}@media(max-width:1280px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions{display:none}}@media(max-width:1080px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-name{width:60%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-date{width:40%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source{display:none}}@media(max-width:1024px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-name{width:45%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-date{width:27.5%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source{display:table-cell;width:27.5%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions{display:table-cell}}@media(max-width:660px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-name{width:60%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-date{width:40%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions,.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source{display:none}}@keyframes jp-forms__slide-in{0%{transform:translateY(150px)}}@keyframes jp-forms__fade-in{0%{opacity:0}35%{opacity:1}}.jp-forms__inbox-response{background-color:#fff;position:relative}@media(min-width:1025px){.jp-forms__inbox-response{height:calc(100vh - var(--wp-admin--admin-bar--height) - 192px);overflow-y:auto;position:sticky;top:calc(var(--wp-admin--admin-bar--height) + 144px)}}.jp-forms__inbox-response:before{background:linear-gradient(-30deg,#eaeff5,#f2f3e3);border-bottom:1px solid #dcdcde;box-sizing:border-box;content:"";display:flex;padding-top:24px}.jp-forms__inbox-response.exit-active{display:none}@media(min-width:1025px){.jp-forms__inbox-response.enter,.jp-forms__inbox-response.enter-active{animation:jp-forms__slide-in .2s ease-out forwards,jp-forms__fade-in .2s ease-in forwards}.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.enter,.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.enter-active{animation:none}.jp-forms__inbox-response.exit,.jp-forms__inbox-response.exit-active,.jp-forms__inbox-response.exit-done{display:flex;position:absolute;right:0;top:0!important;z-index:-1}.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.exit,.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.exit-active,.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.exit-done{animation:jp-forms__slide-in .2s ease-out reverse forwards,jp-forms__fade-in .2s ease-in reverse forwards;z-index:1}}.jp-forms__inbox-response-avatar{background-color:#fff;border:3px solid #fff;border-radius:50%;box-sizing:border-box;display:none;filter:drop-shadow(0 4px 44px rgba(0,0,0,.25));height:74px;overflow:hidden;position:absolute;right:32px;top:32px;width:74px;z-index:100}.jp-forms__inbox-response-title{font-size:24px;font-weight:700;line-height:normal;margin:24px 0 0;padding:0 32px}.jp-forms__inbox-response-title.is-email,.jp-forms__inbox-response-title.is-ip{font-size:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jp-forms__inbox-response-subtitle{align-items:center;color:#646970;display:flex;flex-shrink:0;font-size:16px;font-weight:500;height:40px;line-height:40px;margin:0;overflow:hidden;padding:0 32px;position:relative;text-overflow:ellipsis;white-space:nowrap}.jp-forms__inbox-response-subtitle .components-button{background-color:#fff;display:inline-block;float:left;height:28px;left:32px;margin-right:auto;padding:4px 8px;position:absolute;top:6px;z-index:100}@media(min-width:1025px){.jp-forms__inbox-response-subtitle .components-button{display:none}.jp-forms__inbox-response-subtitle:hover{background-color:#f6f6f7}.jp-forms__inbox-response-subtitle:hover .components-button{background-color:#f6f6f7;display:inline-block}}.jp-forms__inbox-response-meta{color:#646970;display:table;flex-direction:column;font-size:12px;font-weight:400;line-height:20px;padding:12px 32px 24px;row-gap:4px}.jp-forms__inbox-response-meta-label{display:table-row}.jp-forms__inbox-response-meta-key,.jp-forms__inbox-response-meta-value{display:table-cell;white-space:nowrap}.jp-forms__inbox-response-meta-key{padding-left:8px}.jp-forms__inbox-response-meta-value{max-width:0;overflow:hidden;text-overflow:ellipsis;width:80%}.jp-forms__inbox-response-meta-value .is-link{color:inherit;text-decoration:none}.jp-forms__inbox-response-meta-value .is-link:hover{text-decoration:underline}.jp-forms__inbox-response-separator{border-bottom:1px solid var(--jp-forms-border-color);width:100%}.jp-forms__inbox-response-data{display:flex;flex-direction:column;font-size:var(--jp-forms-font-size-regular);line-height:24px;padding:24px 32px;row-gap:24px}.jp-forms__inbox-response-data-label{font-weight:600}.jp-forms__inbox-response-data-value{white-space:pre-wrap}.jp-forms__inbox-actions{background:#fff;display:flex;flex-direction:row;gap:var(--jp-forms-spacing-base);padding:32px 64px 16px;position:sticky;top:calc(var(--wp-admin--admin-bar--height) + 56px);z-index:1}@media(max-width:600px){.jp-forms__inbox-actions{top:56px}}@media(max-width:660px){.jp-forms__inbox-actions{padding:calc(var(--jp-forms-spacing-base)*2) 24px}}.jp-forms__inbox.is-response-view .jp-forms__inbox-actions{display:none}@media(min-width:1025px){.jp-forms__inbox.is-response-view .jp-forms__inbox-actions{display:flex}}@media(max-width:782px){.jp-forms__inbox-actions .components-dropdown{display:none}}.jp-forms__inbox-actions .components-button{border-radius:var(--jp-forms-border-radius);font-size:var(--jp-forms-font-size-regular);font-weight:400;height:var(--jp-forms-input-wrapper-height);letter-spacing:-.02em;padding:var(--jp-forms-spacing-base) calc(var(--jp-forms-spacing-base)*1.5)}.jp-forms__inbox-actions .components-button.is-secondary{background:var(--jp-forms-white);box-shadow:inset 0 0 0 1px var(--jp-forms-border-color);color:var(--jp-forms-black)}.jp-forms__inbox-actions .components-button.is-secondary.is-opened,.jp-forms__inbox-actions .components-button.is-secondary:hover:not(:disabled){background:var(--jp-forms-color-darker-10);color:var(--jp-forms-white)}.jp-forms__inbox-actions .jp-forms__check-for-spam svg{margin:0 0 0 10px}.jp-forms__inbox-actions .button-primary.export-button{background-color:var(--wp-admin-theme-color,#000);border-color:var(--wp-admin-theme-color,#000);margin-right:auto}@media(max-width:782px){.jp-forms__inbox-actions .button-primary.export-button{display:none}}.jp-forms__details{box-shadow:inset 0 -1px 0 #dcdcde;padding:16px 0}.jp-forms__details[open] .jp-forms__details-icon{transform:rotate(-90deg)}.jp-forms__details-summary{align-items:center;cursor:pointer;display:flex;font-size:24px;font-weight:500;line-height:32px;list-style:none}.jp-forms__details-summary::-webkit-details-marker,.jp-forms__details-summary::marker{display:none}@media(max-width:600px){.jp-forms__details-summary{font-size:16px;line-height:24px}}.jp-forms__details-icon{margin-left:16px;transition:all .3s ease}.jp-forms__details-content{font-size:16px;font-weight:400;line-height:24px;margin-right:48px;margin-top:16px}.jp-forms__landing{--content-max-width:1280px;--section-spacing-horizontal:76px;--section-spacing-vertical:84px;color:var(--jp-forms-black)}@media(max-width:600px){.jp-forms__landing{--section-spacing-horizontal:32px;--section-spacing-vertical:80px}}.jp-forms__landing .jp-forms__logo-wrapper{margin:0 auto;max-width:100%;width:calc(var(--content-max-width) + var(--section-spacing-horizontal)*2)}.jp-forms__landing .jp-forms__logo{margin:40px var(--section-spacing-horizontal)}.jp-forms__landing h1{font-size:36px;font-weight:700;line-height:40px;margin:0}.jp-forms__landing h4{font-size:24px;font-weight:500;line-height:32px;margin:0}.jp-forms__landing button.button.button-primary{border:none;font-size:16px;font-weight:600;line-height:24px;padding:8px 32px}.jp-forms__landing button.button.button-primary,.jp-forms__landing button.button.button-primary:hover{background-color:var(--jp-forms-black);color:var(--jp-forms-white)}.jp-forms__landing .align-center{text-align:center}.jp-forms__landing .bg-white{background-color:var(--jp-forms-white)}.jp-forms__landing .bg-white-off{background-color:var(--jp-forms-white-off)}.jp-forms__landing .mb-2{margin-bottom:8px}.jp-forms__landing .mb-4{margin-bottom:16px}.jp-forms__landing .mb-6{margin-bottom:24px}.jp-forms__landing .mb-8{margin-bottom:32px}.jp-forms__landing .mb-10{margin-bottom:40px}.jp-forms__landing .mb-12{margin-bottom:48px}.jp-forms__landing-section{overflow:hidden;padding:var(--section-spacing-vertical) var(--section-spacing-horizontal)}.jp-forms__landing-content{margin:0 auto;max-width:var(--content-max-width)}@media(max-width:1280px){.jp-forms__landing-content .jp-forms__wp-sites{margin-left:auto;margin-right:auto;max-width:600px}}.jp-forms__teaser-image{border-radius:8px 8px 0 0;display:flex;filter:drop-shadow(0 4px 24px rgba(0,0,0,.2509803922));margin:0 auto calc(var(--section-spacing-vertical)*-1);max-width:100%}.jp-forms__patterns-grid{display:grid;gap:28px 40px;grid-template-columns:repeat(3,minmax(300px,350px));justify-content:space-between;margin-left:auto;margin-right:auto}@media(max-width:1280px){.jp-forms__patterns-grid{grid-template-columns:repeat(2,minmax(300px,400px))}}@media(max-width:860px){.jp-forms__patterns-grid{box-sizing:border-box;grid-auto-columns:350px;grid-auto-flow:column;grid-template-columns:repeat(auto-fill,350px);margin-right:calc(var(--section-spacing-horizontal)*-1);overflow-x:auto;padding:0 var(--section-spacing-horizontal);width:calc(100% + var(--section-spacing-horizontal) + var(--section-spacing-horizontal))}}@media(max-width:480px){.jp-forms__patterns-grid{grid-auto-columns:calc(100vw - 108px);grid-template-columns:repeat(auto-fill,calc(100vw - 108px))}}.jp-forms__pattern-item{align-items:center;display:flex;flex-direction:column;gap:8px}.jp-forms__pattern-item img{align-items:center;aspect-ratio:3/2;background:#d3d3d3;display:flex;justify-content:center;width:100%}.jp-forms__pattern-item span{font-size:14px;font-weight:700;line-height:21px}.jp-forms__features{display:grid;gap:24px;grid-template-columns:repeat(12,1fr)}@media(max-width:860px){.jp-forms__features{box-sizing:border-box;grid-auto-columns:350px;grid-auto-flow:column;grid-template-columns:repeat(auto-fill,350px);margin-right:calc(var(--section-spacing-horizontal)*-1);overflow-x:auto;padding:0 var(--section-spacing-horizontal);width:calc(100% + var(--section-spacing-horizontal) + var(--section-spacing-horizontal))}}@media(max-width:480px){.jp-forms__features{grid-auto-columns:calc(100vw - 108px);grid-template-columns:repeat(auto-fill,calc(100vw - 108px))}}.jp-forms__feature{background-color:var(--jp-forms-white);border-radius:8px;display:flex;flex-direction:column;justify-content:space-between;min-height:100px;overflow:hidden;padding:24px 32px;position:relative}.jp-forms__feature.feature-connect{grid-column:span 5/span 5}.jp-forms__feature.feature-connect .jp-forms__feature-image-wrapper{align-items:center;display:flex;gap:24px;margin-bottom:8px}@media(max-width:1440px){.jp-forms__feature.feature-connect h1{font-size:32px}}.jp-forms__feature.feature-data{grid-column:span 4/span 4}.jp-forms__feature.feature-data h4{max-width:220px}.jp-forms__feature.feature-data svg{bottom:0;left:0;position:absolute}.jp-forms__feature.feature-akismet,.jp-forms__feature.feature-export{grid-column:span 3/span 3}.jp-forms__feature.feature-export svg{margin-right:-32px}.jp-forms__feature.feature-notifications{grid-column:span 4/span 4}.jp-forms__feature.feature-notifications h4{max-width:260px}.jp-forms__feature.feature-dependencies{grid-column:span 3/span 3;padding:24px 16px;text-align:center}.jp-forms__feature.feature-dependencies h1{align-self:center;overflow:hidden}.jp-forms__feature.feature-dependencies h4{margin:0 auto;max-width:200px}.jp-forms__feature.feature-dependencies span{opacity:.3}.jp-forms__feature.feature-validation{grid-column:span 2/span 2}.jp-forms__feature.feature-validation .jp-forms__feature-image-wrapper{white-space:nowrap}.jp-forms__feature.feature-validation h4{margin:0 auto;max-width:200px}.jp-forms__feature h4{font-weight:700}@media(max-width:1460px){.jp-forms__feature.feature-dependencies,.jp-forms__feature.feature-export{grid-column:span 4/span 4}.jp-forms__feature.feature-validation{display:none}}@media(max-width:1280px){.jp-forms__feature{padding:24px}.jp-forms__feature.feature-connect,.jp-forms__feature.feature-data{grid-column:span 6/span 6}.jp-forms__feature.feature-data h4{font-size:32px;max-width:300px}.jp-forms__feature.feature-export{grid-column:span 4/span 4}.jp-forms__feature.feature-notifications{grid-column:span 5/span 5}.jp-forms__feature.feature-dependencies{display:none}.jp-forms__feature.feature-validation{grid-column:span 4/span 4}}@media(max-width:860px){.jp-forms__feature{grid-column:auto!important}.jp-forms__feature h1,.jp-forms__feature h4{font-size:28px!important;font-weight:700;line-height:32px}.jp-forms__feature.feature-validation .jp-forms__feature-image-wrapper{margin-bottom:0}.jp-forms__feature.feature-dependencies,.jp-forms__feature.feature-validation{display:flex}}:root{--jp-forms-font-size-regular:14px;--jp-forms-border-color:#dcdcde;--jp-forms-border-radius:var( --jp-border-radius,4px );--jp-forms-white:var( --jp-white,#fff );--jp-forms-white-off:var( --jp-white-off,#f9f9f6 );--jp-forms-input-wrapper-height:var( --jp-input-wrapper-height,40px );--jp-forms-spacing-base:var( --spacing-base,8px );--jp-forms-black:var( --jp-black,#000 );--jp-forms-color-darker-10:var( --jp-black-80,#2c3338 );--jp-forms-color-darker-20:var( --jp-black-80,#2c3338 );--jp-forms-focus-shadow:0 0 0 1px var( --jp-forms-white ),0 0 0 3px var( --jp-forms-color-darker-10 );--wp-admin-theme-color:var( --jp-forms-black );--wp-admin-theme-color--rgb:0,0,0;--wp-admin-theme-color-darker-10:var( --jp-forms-color-darker-10 );--wp-admin-theme-color-darker-10--rgb:44,51,56;--wp-admin-theme-color-darker-20:var( --jp-forms-color-darker-10 );--wp-admin-theme-color-darker-20--rgb:44,51,56}body.admin_page_jetpack-forms #wpbody-content,body.toplevel_page_jetpack-forms #wpbody-content{padding-bottom:0}body.admin_page_jetpack-forms #wpfooter,body.toplevel_page_jetpack-forms #wpfooter{display:none} \ No newline at end of file +body.toplevel_page_jetpack-forms{background-color:#fff}body.toplevel_page_jetpack-forms #wpcontent{padding-right:0}.jp-forms__layout{box-sizing:border-box;display:flex;flex-direction:column;margin:0;padding:0;width:100%}.jp-forms__layout .jp-forms__logo{margin:40px 64px}@media(max-width:660px){.jp-forms__layout .jp-forms__logo{margin:40px 24px}}.jp-forms__layout-header{background-color:#f9f9f9;box-sizing:border-box;margin:0;padding:48px 64px 16px;width:100%}@media(max-width:660px){.jp-forms__layout-header{padding:48px 24px 32px}}.jp-forms__layout-title{display:inline-flex;font-size:36px;font-weight:700;height:40px;line-height:40px;margin:0}.jp-forms__layout-footer.jp-dashboard-footer{box-sizing:border-box;margin:60px 0;max-width:100%;padding-left:64px;padding-right:64px}.jp-dashboard-footer{align-items:center;color:var(--jp-black);display:flex;flex-wrap:wrap;font-size:var(--font-body-extra-small);line-height:1.333;max-width:1128px;width:100%}.jp-dashboard-footer a{text-decoration:none}.jp-dashboard-footer a:any-link,.jp-dashboard-footer a[role=button]{color:inherit}.jp-dashboard-footer a:hover{text-decoration:underline;text-decoration-thickness:1.5px}.jp-dashboard-footer a:focus{border-radius:2px;box-shadow:none;outline:1.5px solid currentColor;outline-offset:3px}.jp-dashboard-footer.is-sm>ul{gap:.125rem}.jp-dashboard-footer.is-md,.jp-dashboard-footer.is-sm>ul{align-items:flex-start;flex-direction:column}.jp-dashboard-footer>ul{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;list-style:none;margin:0;padding:0;width:100%}.jp-dashboard-footer>ul>li{margin-bottom:0}.jp-dashboard-footer>ul>li>a{align-items:center;display:flex;gap:.25rem;min-height:44px}.jp-dashboard-footer__jp-item{font-weight:600;padding-inline-end:1rem}.jp-dashboard-footer.is-sm .jp-dashboard-footer__jp-item{padding-bottom:1rem}.jp-dashboard-footer.is-lg .jp-dashboard-footer__a8c-item{margin-inline-start:auto}.jp-dashboard-footer.is-sm .jp-dashboard-footer__a8c-item{padding-top:1rem}.jp-dashboard-footer__a8c-item>a,.jp-dashboard-footer__jp-item>a{text-decoration:none}.jp-forms__actions-search{display:flex;flex-direction:row}@media(max-width:600px){.jp-forms__actions-search{flex:1}}.jp-forms__actions-search .input-wrapper{align-items:center;background-color:var(--jp-forms-white);border:1px solid var(--jp-forms-border-color);border-radius:var(--jp-forms-border-radius);box-sizing:border-box;display:flex;font-size:var(--font-body-small);height:var(--jp-forms-input-wrapper-height);min-height:var(--jp-forms-input-wrapper-height);padding:var(--jp-forms-spacing-base);width:350px}@media(min-width:783px)and (max-width:960px){.jp-forms__actions-search .input-wrapper{width:300px}}@media(max-width:600px){.jp-forms__actions-search .input-wrapper{width:100%}}.jp-forms__actions-search .input-wrapper:focus-within{box-shadow:0 0 0 1px var(--jp-black) inset}.jp-forms__actions-search .input-wrapper.disabled{background-color:var(--jp-gray);border-color:var(--jp-gray-10);color:var(--jp-gray-20)}.jp-forms__actions-search .input-wrapper .input{background-color:transparent;border:0;box-shadow:none;font-family:unset;font-size:var(--jp-forms-font-size-regular);outline:none;padding:0;width:100%}.jp-forms__actions-search .input-wrapper .input:focus{box-shadow:none;outline:none}.jp-forms__actions-search .input-wrapper .input.with-icon{margin-right:var(--jp-forms-spacing-base)}.jp-forms__actions-search .input-wrapper .icon-wrapper{align-items:center;display:flex;flex-shrink:0;height:24px;justify-content:center;width:24px}.jp-forms__actions-search .input-wrapper .icon-wrapper.hidden{visibility:hidden}.jp-forms__actions-search .input-wrapper .clear-icon{cursor:pointer}.jp-forms__actions-search .input-wrapper .loader svg{margin:0}.cuoSlhSNrqf1dozY22Xb{fill:#000}.JLquNpQVlysAamuh5lJO,.lAIiifeLMmZAPlQ9n9ZR{fill:var(--jp-green-primary)}.cbOwD8Y4tFjwimmtchQI{fill:#757575}.cbOwD8Y4tFjwimmtchQI.aHOlEBGD5EA8NKRw3xTw{fill:var(--color-facebook);border-radius:50%!important}.cbOwD8Y4tFjwimmtchQI.af4Y_zItXvLAOEoSDPSv{fill:var(--color-twitter)}.cbOwD8Y4tFjwimmtchQI.f68aqF3XSD1OBvXR1get{fill:var(--color-linkedin)}.cbOwD8Y4tFjwimmtchQI.xFI0dt3UiXRlRQdqPWkx{fill:var(--color-tumblr)}.cbOwD8Y4tFjwimmtchQI.q7JEoyymveP6kF747M43{fill:var(--color-gplus)}.cbOwD8Y4tFjwimmtchQI.DKOBOTVmTLbh26gUH_73{fill:var(--color-mastodon)}.cbOwD8Y4tFjwimmtchQI.cL3m0xBYTYhIKI7lCqDB{fill:var(--color-instagram)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive>*{pointer-events:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive:after{content:none}.jp-forms__export-modal{align-items:center;background:rgba(0,0,0,.3);bottom:0;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;left:0;padding:0;position:fixed;right:0;top:0;z-index:9999}@media(min-width:601px){.jp-forms__export-modal{padding:40px 60px}}.jp-forms__export-modal-wrapper{background-color:#fff;display:flex;flex-direction:column;max-width:680px;padding:24px 48px 0;position:relative}.jp-forms__export-modal-close-button{background:transparent;border:0;cursor:pointer;height:24px;left:8px;padding:3px;position:absolute;top:8px;width:24px}.jp-forms__export-modal-header{margin-bottom:32px}.jp-forms__export-modal-header-title{font-size:24px;font-style:normal;font-weight:700;line-height:32px;margin-bottom:8px}.jp-forms__export-modal-header-subtitle{color:#000;font-size:16px;font-style:normal;font-weight:400;letter-spacing:-.02em;line-height:24px;margin-bottom:0;margin-top:8px;padding:0}.jp-forms__export-modal-content{display:flex;flex-direction:column;flex-grow:1;gap:32px;padding:0}.jp-forms__export-modal-footer{box-sizing:border-box;display:flex;justify-content:space-between;padding:48px 16px 24px}.jp-forms__export-modal-footer-column{align-items:center;display:flex}.jp-forms__export-modal-footer #jetpack-logo__icon{height:16px;width:16px}.jp-forms__export-modal-footer #jetpack-logo__icon path{fill:#000}.jp-forms__export-modal-footer .jp-forms__export-modal-footer-link{color:#23282d;font-size:12px;font-weight:600;letter-spacing:-.02em;line-height:0;padding-right:8px;text-align:right;text-decoration:none}.jp-forms__export-modal-card{border-radius:var(--jp-border-radius,4px);box-shadow:0 0 0 1px var(--jp-gray-10,#c3c4c7) inset;display:flex;flex-direction:column;isolation:isolate;padding:24px}.jp-forms__export-modal-card-body,.jp-forms__export-modal-card-header{display:flex}.jp-forms__export-modal-card-header{align-items:center;gap:16px;margin-bottom:16px}.jp-forms__export-modal-card-header-title{font-size:20px;font-style:normal;font-weight:700;line-height:30px}.jp-forms__export-modal-card-body{align-items:center;gap:32px;justify-content:space-between}.jp-forms__export-modal-card-body-description{color:#000;flex-grow:1;font-size:14px;font-style:normal;font-weight:400;letter-spacing:-.02em;line-height:24px;max-width:60%}.jp-forms__export-modal-card-body-description a{color:inherit}.jp-forms__export-modal-card-body-description-footer{color:#757575;font-size:12px;font-style:normal;font-weight:400;line-height:150%;margin-bottom:0}.jp-forms__export-modal-card-body-cta{align-self:flex-end}.jp-forms__export-modal-card-body-cta .button-primary.export-button{background:#000;border:1px solid #fff;border-radius:4px;color:#fff;font-style:normal;font-weight:400;letter-spacing:-.01em}.jp-forms__export-modal-card-beta-badge{background:#2fb41f;border-radius:2px;color:#fff;font-size:11px;font-style:normal;font-weight:600;line-height:150%;padding:4px 8px;text-align:left;text-transform:uppercase}.gridicon{fill:currentColor;display:inline-block}.gridicon.needs-offset g{transform:translate(-1px,1px)}.gridicon.needs-offset-x g{transform:translate(-1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.jp-forms__page-navigation{background-color:#fff;border:1px solid #dcdcde;border-radius:3px;box-sizing:border-box;display:flex;flex-direction:row;height:36px;justify-content:center;padding:0;width:fit-content}.jp-forms__page-navigation-button,.jp-forms__page-navigation-button:hover,.jp-forms__page-navigation-placeholder,.jp-forms__page-navigation-placeholder:hover{background:transparent;border:0;box-sizing:border-box;color:#101517;cursor:pointer;display:inline-flex;font-size:13px;font-weight:700;height:34px;line-height:18px;padding:8px 12px;text-align:center}.jp-forms__page-navigation-button.is-active,.jp-forms__page-navigation-button:hover.is-active,.jp-forms__page-navigation-placeholder.is-active,.jp-forms__page-navigation-placeholder:hover.is-active{background-color:#101517;color:#fff}.jp-forms__page-navigation-button:disabled,.jp-forms__page-navigation-button:hover:disabled,.jp-forms__page-navigation-placeholder:disabled,.jp-forms__page-navigation-placeholder:hover:disabled{cursor:default}.jp-forms__page-navigation-button:disabled:first-child,.jp-forms__page-navigation-button:disabled:last-child,.jp-forms__page-navigation-button:hover:disabled:first-child,.jp-forms__page-navigation-button:hover:disabled:last-child,.jp-forms__page-navigation-placeholder:disabled:first-child,.jp-forms__page-navigation-placeholder:disabled:last-child,.jp-forms__page-navigation-placeholder:hover:disabled:first-child,.jp-forms__page-navigation-placeholder:hover:disabled:last-child{color:#dcdcde}.jp-forms__page-navigation-button .gridicon,.jp-forms__page-navigation-button:hover .gridicon,.jp-forms__page-navigation-placeholder .gridicon,.jp-forms__page-navigation-placeholder:hover .gridicon{display:inline-flex}.jp-forms__page-navigation-button .gridicon.gridicons-arrow-left,.jp-forms__page-navigation-button:hover .gridicon.gridicons-arrow-left,.jp-forms__page-navigation-placeholder .gridicon.gridicons-arrow-left,.jp-forms__page-navigation-placeholder:hover .gridicon.gridicons-arrow-left{margin-left:3px}.jp-forms__page-navigation-button .gridicon.gridicons-arrow-right,.jp-forms__page-navigation-button:hover .gridicon.gridicons-arrow-right,.jp-forms__page-navigation-placeholder .gridicon.gridicons-arrow-right,.jp-forms__page-navigation-placeholder:hover .gridicon.gridicons-arrow-right{margin-right:3px}.jp-forms__table{box-sizing:border-box;display:table;margin:0;padding:0}.jp-forms__table-header,.jp-forms__table-item{display:table-row}.jp-forms__table-header:nth-child(2n),.jp-forms__table-item:nth-child(2n){background-color:#f9f9f6}.jp-forms__table-item.is-clickable{cursor:pointer}.jp-forms__table-item.is-active:not(.exit){background-color:#000;color:#fff}@keyframes jp-forms__table-pulse{0%{opacity:.2}50%{opacity:.1}to{opacity:.2}}.jp-forms__table-cell{border-bottom:1px solid #dcdcde;box-sizing:border-box;display:table-cell;font-size:var(--jp-forms-font-size-regular);height:52px;line-height:normal;margin:0;max-width:0;padding:0 16px;position:relative;text-align:right;transition:background-color .1s ease-out,opacity .1s ease-out;vertical-align:middle}@media(max-width:600px){.jp-forms__table-cell{padding:8px}}.jp-forms__table :last-child .jp-forms__table-cell{border-bottom:unset}.jp-forms__table-cell.is-select{min-width:62px;padding:0 20px}@media(max-width:480px){.jp-forms__table-cell.is-select{min-width:46px;padding:0 12px}}.jp-forms__table-cell.is-empty{align-items:center;display:flex;justify-content:center;max-width:100%}.jp-forms__table-item.is-loading .jp-forms__table-cell:before{animation:jp-forms__table-pulse 2s ease-in-out infinite;background-color:#000;border-radius:.5em;content:"";display:flex;height:1em}.jp-forms__table-cell .components-button.is-link{color:inherit;font-size:inherit}input[type=checkbox].jp-forms__table-checkbox{appearance:none;-moz-appearance:none;-webkit-appearance:none;border:0;box-shadow:none;box-sizing:border-box;cursor:pointer;font-size:var(--jp-forms-font-size-regular);height:16px;line-height:16px;margin:0;outline:0;width:16px}input[type=checkbox].jp-forms__table-checkbox:before{background:#fff;border:1px solid #949494;border-radius:2px;color:#000;content:" ";display:inline-block;font-size:var(--jp-forms-font-size-regular);font-weight:700;height:16px;margin:0;text-align:center;transition:background .1s ease-out,color .1s ease-out,border-color .1s ease-out;width:16px}input[type=checkbox].jp-forms__table-checkbox:checked:before{background:#000;border-color:#000;color:#fff;content:"✓"}input[type=checkbox].jp-forms__table-checkbox.is-intermediate:before,input[type=checkbox].jp-forms__table-checkbox.is-intermediate:checked:before{background:#000;border-color:#000;color:#fff;content:"-"}.jp-forms__inbox a.back-button{align-items:center;color:#2c3338;cursor:pointer;display:none;font-size:14px;font-weight:500}.jp-forms__inbox a.back-button svg{margin-left:4px}.jp-forms__inbox .components-dropdown-menu .components-menu-item__button{font-size:var(--jp-forms-font-size-regular)}.jp-forms__inbox span.subtitle{padding-right:0;white-space:pre}@media(min-width:1025px){.jp-forms__inbox a.back-button{display:none!important}.jp-forms__inbox span.title{display:inline-flex!important}.jp-forms__inbox span.subtitle{display:inline-flex!important;flex-wrap:wrap}}.jp-forms__inbox.is-response-view span.subtitle,.jp-forms__inbox.is-response-view span.title{display:none}.jp-forms__inbox.is-response-view a.back-button{display:inline-flex}.jp-forms__inbox.is-response-view .jp-forms__inbox-tabs .components-tab-panel__tabs{display:none}@media(min-width:1025px){.jp-forms__inbox.is-response-view .jp-forms__inbox-tabs .components-tab-panel__tabs{display:flex}}.jp-forms__inbox-tabs .components-tab-panel__tabs{background-color:#f9f9f9;margin:0;padding:16px 64px 0;position:sticky;top:var(--wp-admin--admin-bar--height);z-index:1}@media(max-width:600px){.jp-forms__inbox-tabs .components-tab-panel__tabs{top:0}}@media(max-width:660px){.jp-forms__inbox-tabs .components-tab-panel__tabs{padding:0 24px}}.jp-forms__inbox-tab-item{border-bottom:2px solid transparent;font-size:var(--jp-forms-font-size-regular);font-weight:400;height:40px;padding:8px 16px}.jp-forms__inbox-tab-item.active-tab{border-color:#000;font-weight:600}.jp-forms__inbox-tab-item-count{align-items:center;background:transparent;border:1px solid #dcdcde;border-radius:3px;box-sizing:border-box;color:#2c3338;display:inline-flex;font-size:12px;font-weight:400;height:20px;line-height:18px;margin-right:10px;padding:0 6px}.jp-forms__inbox-content{box-sizing:border-box;display:flex;flex-direction:row;gap:0;margin-top:0;padding:0 0 48px;position:relative;width:100%;z-index:0}@media(min-width:1025px){.jp-forms__inbox-content{gap:24px;padding-left:64px;padding-right:64px}}.jp-forms__inbox-content-column{align-items:center;box-sizing:border-box;flex-direction:column;min-width:0;position:relative;width:100%}.jp-forms__inbox-content-column:first-child{display:flex}.jp-forms__inbox-content-column:last-child,.jp-forms__inbox.is-response-view .jp-forms__inbox-content-column:first-child{display:none}.jp-forms__inbox.is-response-view .jp-forms__inbox-content-column:last-child{display:flex}@media(max-width:660px){.jp-forms__inbox-content-column{padding-left:24px;padding-right:24px}}@media(min-width:661px)and (max-width:1024px){.jp-forms__inbox-content-column{padding-left:64px;padding-right:64px}}@media(min-width:1025px){.jp-forms__inbox-content-column{display:flex!important;flex:3;width:auto}.jp-forms__inbox-content-column:last-child{flex:2}}.jp-forms__inbox-content-column .jp-forms__inbox-sticky-sentinel{background:transparent;height:1px;position:absolute;top:0;width:1px}.jp-forms__inbox-content-column .jp-forms__inbox-sticky-mark{border-bottom:1px solid #dcdcde;box-shadow:0 1px 5px 0 rgba(0,0,0,.3);position:sticky;top:calc(var(--wp-admin--admin-bar--height) + 144px);width:100%}.jp-forms__inbox-content-column .jp-forms__page-navigation{margin:16px 0 0}.jp-forms__inbox-list,.jp-forms__inbox-response{border:1px solid #dcdcde;border-radius:8px;box-sizing:border-box;display:flex;flex-direction:column;min-height:300px;overflow:hidden;width:100%}.jp-forms__inbox-list.jp-forms__table{display:table;min-height:unset}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item{max-height:52px;transition:max-height .2s}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.exit-active{overflow:hidden}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.exit-active,.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.exit-done{max-height:0}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.exit-active.is-loading{display:none}@media(max-width:1024px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.is-active{background-color:#fff;color:inherit}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.is-active:nth-child(2n){background-color:#f9f9f6}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.is-active .is-link{text-decoration:underline}}@media(min-width:1025px){.jp-forms__inbox-list.jp-forms__table{display:flex;min-height:calc(100vh - var(--wp-admin--admin-bar--height) - 192px)}}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell{white-space:nowrap}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-name{min-width:160px;overflow:hidden;text-overflow:ellipsis;width:45%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-date{min-width:110px;width:27.5%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source{min-width:100px;width:27.5%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source .is-link{cursor:pointer;display:inline-block;max-width:100%;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source .is-link:hover,.jp-forms__inbox-list.jp-forms__table .jp-forms__table-item.is-active .is-link{text-decoration:underline}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions{max-width:68px;min-width:68px}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown-menu__toggle{color:currentColor;padding:0}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown-menu__toggle>svg{height:32px;width:32px}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown__content{white-space:normal}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions .components-dropdown__content .components-button.is-tertiary:hover:not(:disabled){background:transparent;color:var(--wp-components-color-accent,var(--wp-admin-theme-color,#007cba))}@media(max-width:1280px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions{display:none}}@media(max-width:1080px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-name{width:60%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-date{width:40%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source{display:none}}@media(max-width:1024px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-name{width:45%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-date{width:27.5%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source{display:table-cell;width:27.5%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions{display:table-cell}}@media(max-width:660px){.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-name{width:60%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-date{width:40%}.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-actions,.jp-forms__inbox-list.jp-forms__table .jp-forms__table-cell.is-source{display:none}}@keyframes jp-forms__slide-in{0%{transform:translateY(150px)}}@keyframes jp-forms__fade-in{0%{opacity:0}35%{opacity:1}}.jp-forms__inbox-response{background-color:#fff;position:relative}@media(min-width:1025px){.jp-forms__inbox-response{height:calc(100vh - var(--wp-admin--admin-bar--height) - 192px);overflow-y:auto;position:sticky;top:calc(var(--wp-admin--admin-bar--height) + 144px)}}.jp-forms__inbox-response:before{background:linear-gradient(-30deg,#eaeff5,#f2f3e3);border-bottom:1px solid #dcdcde;box-sizing:border-box;content:"";display:flex;padding-top:24px}.jp-forms__inbox-response.exit-active{display:none}@media(min-width:1025px){.jp-forms__inbox-response.enter,.jp-forms__inbox-response.enter-active{animation:jp-forms__slide-in .2s ease-out forwards,jp-forms__fade-in .2s ease-in forwards}.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.enter,.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.enter-active{animation:none}.jp-forms__inbox-response.exit,.jp-forms__inbox-response.exit-active,.jp-forms__inbox-response.exit-done{display:flex;position:absolute;right:0;top:0!important;z-index:-1}.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.exit,.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.exit-active,.jp-forms__inbox.is-response-animation-reverted .jp-forms__inbox-response.exit-done{animation:jp-forms__slide-in .2s ease-out reverse forwards,jp-forms__fade-in .2s ease-in reverse forwards;z-index:1}}.jp-forms__inbox-response-avatar{background-color:#fff;border:3px solid #fff;border-radius:50%;box-sizing:border-box;display:none;filter:drop-shadow(0 4px 44px rgba(0,0,0,.25));height:74px;overflow:hidden;position:absolute;right:32px;top:32px;width:74px;z-index:100}.jp-forms__inbox-response-title{font-size:24px;font-weight:700;line-height:normal;margin:24px 0 0;padding:0 32px}.jp-forms__inbox-response-title.is-email,.jp-forms__inbox-response-title.is-ip{font-size:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jp-forms__inbox-response-subtitle{align-items:center;color:#646970;display:flex;flex-shrink:0;font-size:16px;font-weight:500;height:40px;line-height:40px;margin:0;overflow:hidden;padding:0 32px;position:relative;text-overflow:ellipsis;white-space:nowrap}.jp-forms__inbox-response-subtitle .components-button{background-color:#fff;display:inline-block;float:left;height:28px;left:32px;margin-right:auto;padding:4px 8px;position:absolute;top:6px;z-index:100}@media(min-width:1025px){.jp-forms__inbox-response-subtitle .components-button{display:none}.jp-forms__inbox-response-subtitle:hover{background-color:#f6f6f7}.jp-forms__inbox-response-subtitle:hover .components-button{background-color:#f6f6f7;display:inline-block}}.jp-forms__inbox-response-meta{color:#646970;display:table;flex-direction:column;font-size:12px;font-weight:400;line-height:20px;padding:12px 32px 24px;row-gap:4px}.jp-forms__inbox-response-meta-label{display:table-row}.jp-forms__inbox-response-meta-key,.jp-forms__inbox-response-meta-value{display:table-cell;white-space:nowrap}.jp-forms__inbox-response-meta-key{padding-left:8px}.jp-forms__inbox-response-meta-value{max-width:0;overflow:hidden;text-overflow:ellipsis;width:80%}.jp-forms__inbox-response-meta-value .is-link{color:inherit;text-decoration:none}.jp-forms__inbox-response-meta-value .is-link:hover{text-decoration:underline}.jp-forms__inbox-response-separator{border-bottom:1px solid var(--jp-forms-border-color);width:100%}.jp-forms__inbox-response-data{display:flex;flex-direction:column;font-size:var(--jp-forms-font-size-regular);line-height:24px;padding:24px 32px;row-gap:24px}.jp-forms__inbox-response-data-label{font-weight:600}.jp-forms__inbox-response-data-value{white-space:pre-wrap}.jp-forms__inbox-actions{background:#fff;display:flex;flex-direction:row;gap:var(--jp-forms-spacing-base);padding:32px 64px 16px;position:sticky;top:calc(var(--wp-admin--admin-bar--height) + 56px);z-index:1}@media(max-width:600px){.jp-forms__inbox-actions{top:56px}}@media(max-width:660px){.jp-forms__inbox-actions{padding:calc(var(--jp-forms-spacing-base)*2) 24px}}.jp-forms__inbox.is-response-view .jp-forms__inbox-actions{display:none}@media(min-width:1025px){.jp-forms__inbox.is-response-view .jp-forms__inbox-actions{display:flex}}@media(max-width:782px){.jp-forms__inbox-actions .components-dropdown{display:none}}.jp-forms__inbox-actions .components-button{border-radius:var(--jp-forms-border-radius);font-size:var(--jp-forms-font-size-regular);font-weight:400;height:var(--jp-forms-input-wrapper-height);letter-spacing:-.02em;padding:var(--jp-forms-spacing-base) calc(var(--jp-forms-spacing-base)*1.5)}.jp-forms__inbox-actions .components-button.is-secondary{background:var(--jp-forms-white);box-shadow:inset 0 0 0 1px var(--jp-forms-border-color);color:var(--jp-forms-black)}.jp-forms__inbox-actions .components-button.is-secondary.is-opened,.jp-forms__inbox-actions .components-button.is-secondary:hover:not(:disabled){background:var(--jp-forms-color-darker-10);color:var(--jp-forms-white)}.jp-forms__inbox-actions .jp-forms__check-for-spam svg{margin:0 0 0 10px}.jp-forms__inbox-actions .button-primary.export-button{background-color:var(--wp-admin-theme-color,#000);border-color:var(--wp-admin-theme-color,#000);margin-right:auto}@media(max-width:782px){.jp-forms__inbox-actions .button-primary.export-button{display:none}}.jp-forms__details{box-shadow:inset 0 -1px 0 #dcdcde;padding:16px 0}.jp-forms__details[open] .jp-forms__details-icon{transform:rotate(-90deg)}.jp-forms__details-summary{align-items:center;cursor:pointer;display:flex;font-size:24px;font-weight:500;line-height:32px;list-style:none}.jp-forms__details-summary::-webkit-details-marker,.jp-forms__details-summary::marker{display:none}@media(max-width:600px){.jp-forms__details-summary{font-size:16px;line-height:24px}}.jp-forms__details-icon{margin-left:16px;transition:all .3s ease}.jp-forms__details-content{font-size:16px;font-weight:400;line-height:24px;margin-right:48px;margin-top:16px}.jp-forms__landing{--content-max-width:1280px;--section-spacing-horizontal:76px;--section-spacing-vertical:84px;color:var(--jp-forms-black)}@media(max-width:600px){.jp-forms__landing{--section-spacing-horizontal:32px;--section-spacing-vertical:80px}}.jp-forms__landing .jp-forms__logo-wrapper{margin:0 auto;max-width:100%;width:calc(var(--content-max-width) + var(--section-spacing-horizontal)*2)}.jp-forms__landing .jp-forms__logo{margin:40px var(--section-spacing-horizontal)}.jp-forms__landing h1{font-size:36px;font-weight:700;line-height:40px;margin:0}.jp-forms__landing h4{font-size:24px;font-weight:500;line-height:32px;margin:0}.jp-forms__landing button.button.button-primary{border:none;font-size:16px;font-weight:600;line-height:24px;padding:8px 32px}.jp-forms__landing button.button.button-primary,.jp-forms__landing button.button.button-primary:hover{background-color:var(--jp-forms-black);color:var(--jp-forms-white)}.jp-forms__landing .align-center{text-align:center}.jp-forms__landing .bg-white{background-color:var(--jp-forms-white)}.jp-forms__landing .bg-white-off{background-color:var(--jp-forms-white-off)}.jp-forms__landing .mb-2{margin-bottom:8px}.jp-forms__landing .mb-4{margin-bottom:16px}.jp-forms__landing .mb-6{margin-bottom:24px}.jp-forms__landing .mb-8{margin-bottom:32px}.jp-forms__landing .mb-10{margin-bottom:40px}.jp-forms__landing .mb-12{margin-bottom:48px}.jp-forms__landing-section{overflow:hidden;padding:var(--section-spacing-vertical) var(--section-spacing-horizontal)}.jp-forms__landing-content{margin:0 auto;max-width:var(--content-max-width)}@media(max-width:1280px){.jp-forms__landing-content .jp-forms__wp-sites{margin-left:auto;margin-right:auto;max-width:600px}}.jp-forms__teaser-image{border-radius:8px 8px 0 0;display:flex;filter:drop-shadow(0 4px 24px rgba(0,0,0,.2509803922));margin:0 auto calc(var(--section-spacing-vertical)*-1);max-width:100%}.jp-forms__patterns-grid{display:grid;gap:28px 40px;grid-template-columns:repeat(3,minmax(300px,350px));justify-content:space-between;margin-left:auto;margin-right:auto}@media(max-width:1280px){.jp-forms__patterns-grid{grid-template-columns:repeat(2,minmax(300px,400px))}}@media(max-width:860px){.jp-forms__patterns-grid{box-sizing:border-box;grid-auto-columns:350px;grid-auto-flow:column;grid-template-columns:repeat(auto-fill,350px);margin-right:calc(var(--section-spacing-horizontal)*-1);overflow-x:auto;padding:0 var(--section-spacing-horizontal);width:calc(100% + var(--section-spacing-horizontal) + var(--section-spacing-horizontal))}}@media(max-width:480px){.jp-forms__patterns-grid{grid-auto-columns:calc(100vw - 108px);grid-template-columns:repeat(auto-fill,calc(100vw - 108px))}}.jp-forms__pattern-item{align-items:center;display:flex;flex-direction:column;gap:8px}.jp-forms__pattern-item img{align-items:center;aspect-ratio:3/2;background:#d3d3d3;display:flex;justify-content:center;width:100%}.jp-forms__pattern-item span{font-size:14px;font-weight:700;line-height:21px}.jp-forms__features{display:grid;gap:24px;grid-template-columns:repeat(12,1fr)}@media(max-width:860px){.jp-forms__features{box-sizing:border-box;grid-auto-columns:350px;grid-auto-flow:column;grid-template-columns:repeat(auto-fill,350px);margin-right:calc(var(--section-spacing-horizontal)*-1);overflow-x:auto;padding:0 var(--section-spacing-horizontal);width:calc(100% + var(--section-spacing-horizontal) + var(--section-spacing-horizontal))}}@media(max-width:480px){.jp-forms__features{grid-auto-columns:calc(100vw - 108px);grid-template-columns:repeat(auto-fill,calc(100vw - 108px))}}.jp-forms__feature{background-color:var(--jp-forms-white);border-radius:8px;display:flex;flex-direction:column;justify-content:space-between;min-height:100px;overflow:hidden;padding:24px 32px;position:relative}.jp-forms__feature.feature-connect{grid-column:span 5/span 5}.jp-forms__feature.feature-connect .jp-forms__feature-image-wrapper{align-items:center;display:flex;gap:24px;margin-bottom:8px}@media(max-width:1440px){.jp-forms__feature.feature-connect h1{font-size:32px}}.jp-forms__feature.feature-data{grid-column:span 4/span 4}.jp-forms__feature.feature-data h4{max-width:220px}.jp-forms__feature.feature-data svg{bottom:0;left:0;position:absolute}.jp-forms__feature.feature-akismet,.jp-forms__feature.feature-export{grid-column:span 3/span 3}.jp-forms__feature.feature-export svg{margin-right:-32px}.jp-forms__feature.feature-notifications{grid-column:span 4/span 4}.jp-forms__feature.feature-notifications h4{max-width:260px}.jp-forms__feature.feature-dependencies{grid-column:span 3/span 3;padding:24px 16px;text-align:center}.jp-forms__feature.feature-dependencies h1{align-self:center;overflow:hidden}.jp-forms__feature.feature-dependencies h4{margin:0 auto;max-width:200px}.jp-forms__feature.feature-dependencies span{opacity:.3}.jp-forms__feature.feature-validation{grid-column:span 2/span 2}.jp-forms__feature.feature-validation .jp-forms__feature-image-wrapper{white-space:nowrap}.jp-forms__feature.feature-validation h4{margin:0 auto;max-width:200px}.jp-forms__feature h4{font-weight:700}@media(max-width:1460px){.jp-forms__feature.feature-dependencies,.jp-forms__feature.feature-export{grid-column:span 4/span 4}.jp-forms__feature.feature-validation{display:none}}@media(max-width:1280px){.jp-forms__feature{padding:24px}.jp-forms__feature.feature-connect,.jp-forms__feature.feature-data{grid-column:span 6/span 6}.jp-forms__feature.feature-data h4{font-size:32px;max-width:300px}.jp-forms__feature.feature-export{grid-column:span 4/span 4}.jp-forms__feature.feature-notifications{grid-column:span 5/span 5}.jp-forms__feature.feature-dependencies{display:none}.jp-forms__feature.feature-validation{grid-column:span 4/span 4}}@media(max-width:860px){.jp-forms__feature{grid-column:auto!important}.jp-forms__feature h1,.jp-forms__feature h4{font-size:28px!important;font-weight:700;line-height:32px}.jp-forms__feature.feature-validation .jp-forms__feature-image-wrapper{margin-bottom:0}.jp-forms__feature.feature-dependencies,.jp-forms__feature.feature-validation{display:flex}}:root{--jp-forms-font-size-regular:14px;--jp-forms-border-color:#dcdcde;--jp-forms-border-radius:var( --jp-border-radius,4px );--jp-forms-white:var( --jp-white,#fff );--jp-forms-white-off:var( --jp-white-off,#f9f9f6 );--jp-forms-input-wrapper-height:var( --jp-input-wrapper-height,40px );--jp-forms-spacing-base:var( --spacing-base,8px );--jp-forms-black:var( --jp-black,#000 );--jp-forms-color-darker-10:var( --jp-black-80,#2c3338 );--jp-forms-color-darker-20:var( --jp-black-80,#2c3338 );--wp-admin-theme-color:var( --jp-forms-black );--wp-admin-theme-color--rgb:0,0,0;--wp-admin-theme-color-darker-10:var( --jp-forms-color-darker-10 );--wp-admin-theme-color-darker-10--rgb:44,51,56;--wp-admin-theme-color-darker-20:var( --jp-forms-color-darker-10 );--wp-admin-theme-color-darker-20--rgb:44,51,56}body.admin_page_jetpack-forms #wpbody-content,body.toplevel_page_jetpack-forms #wpbody-content{padding-bottom:0}body.admin_page_jetpack-forms #wpfooter,body.toplevel_page_jetpack-forms #wpfooter{display:none} \ No newline at end of file diff --git a/package.json b/package.json index 382152d..3a80e99 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-forms", - "version": "0.20.2-alpha", + "version": "0.19.8", "description": "Jetpack Forms", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/forms/#readme", "bugs": { @@ -29,18 +29,17 @@ "extends @wordpress/browserslist-config" ], "dependencies": { - "@automattic/jetpack-components": "^0.42.0-alpha", - "@automattic/jetpack-shared-extension-utils": "^0.11.4-alpha", - "@wordpress/block-editor": "12.6.0", - "@wordpress/blocks": "12.15.0", - "@wordpress/compose": "6.15.0", - "@wordpress/data": "9.8.0", - "@wordpress/element": "5.15.0", - "@wordpress/hooks": "3.38.0", - "@wordpress/i18n": "4.38.0", - "@wordpress/icons": "9.29.0", + "@automattic/jetpack-components": "^0.41.0", + "@automattic/jetpack-shared-extension-utils": "^0.10.9", + "@wordpress/block-editor": "12.5.0", + "@wordpress/blocks": "12.14.0", + "@wordpress/compose": "6.14.0", + "@wordpress/data": "9.7.0", + "@wordpress/element": "5.14.0", + "@wordpress/hooks": "3.37.0", + "@wordpress/i18n": "4.37.0", + "@wordpress/icons": "9.28.0", "classnames": "2.3.2", - "copy-webpack-plugin": "11.0.0", "email-validator": "2.0.4", "gridicons": "3.4.1", "lodash": "4.17.21", @@ -56,7 +55,7 @@ }, "devDependencies": { "@automattic/color-studio": "2.5.0", - "@automattic/jetpack-base-styles": "^0.6.7-alpha", + "@automattic/jetpack-base-styles": "^0.6.4", "@automattic/jetpack-webpack-config": "workspace:*", "@automattic/remove-asset-webpack-plugin": "^1.0.19", "@babel/core": "7.22.9", @@ -65,11 +64,11 @@ "@babel/plugin-transform-runtime": "7.22.9", "@babel/preset-env": "7.22.9", "@babel/runtime": "7.22.6", - "@wordpress/api-fetch": "6.35.0", - "@wordpress/babel-plugin-import-jsx-pragma": "4.21.0", - "@wordpress/browserslist-config": "5.21.0", - "@wordpress/components": "25.4.0", - "@wordpress/date": "4.38.0", + "@wordpress/api-fetch": "6.34.0", + "@wordpress/babel-plugin-import-jsx-pragma": "4.20.0", + "@wordpress/browserslist-config": "5.20.0", + "@wordpress/components": "25.3.0", + "@wordpress/date": "4.37.0", "autoprefixer": "10.4.14", "concurrently": "7.6.0", "glob": "7.1.6", diff --git a/src/blocks/contact-form/block.json b/src/blocks/contact-form/block.json deleted file mode 100644 index 68b83f0..0000000 --- a/src/blocks/contact-form/block.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "$schema": "https://schemas.wp.org/trunk/block.json", - "apiVersion": 3, - "name": "jetpack/contact-form", - "title": "Form", - "description": "Create forms to collect data from site visitors and manage their responses.", - "keywords": [ "email", "feedback", "contact form" ], - "version": "12.5.0", - "textdomain": "jetpack", - "category": "contact-form", - "icon": "", - "supports": { - "color": { - "link": true, - "gradients": true - }, - "html": false, - "spacing": { - "padding": true, - "margin": true - }, - "align": [ "wide", "full" ] - }, - "attributes": {}, - "editorScript": "file:./editor.js" -} diff --git a/src/class-jetpack-forms.php b/src/class-jetpack-forms.php index 4b591bf..af36f5b 100644 --- a/src/class-jetpack-forms.php +++ b/src/class-jetpack-forms.php @@ -15,7 +15,7 @@ */ class Jetpack_Forms { - const PACKAGE_VERSION = '0.20.2-alpha'; + const PACKAGE_VERSION = '0.19.8'; /** * Load the contact form module. diff --git a/src/contact-form/class-util.php b/src/contact-form/class-util.php index d7df463..0652372 100644 --- a/src/contact-form/class-util.php +++ b/src/contact-form/class-util.php @@ -47,7 +47,7 @@ public static function register_pattern() { $patterns = array( 'contact-form' => array( - 'title' => __( 'Contact Form', 'jetpack-forms' ), + 'title' => 'Contact Form', 'blockTypes' => array( 'jetpack/contact-form' ), 'categories' => array( $category_slug ), 'content' => ' @@ -60,7 +60,7 @@ public static function register_pattern() { ', ), 'newsletter-form' => array( - 'title' => __( 'Lead Capture Form', 'jetpack-forms' ), + 'title' => 'Newsletter Subscription Form', 'blockTypes' => array( 'jetpack/contact-form' ), 'categories' => array( $category_slug ), 'content' => ' @@ -73,7 +73,7 @@ public static function register_pattern() { ', ), 'rsvp-form' => array( - 'title' => __( 'RSVP Form', 'jetpack-forms' ), + 'title' => 'RSVP Form', 'blockTypes' => array( 'jetpack/contact-form' ), 'categories' => array( $category_slug ), 'content' => ' @@ -87,7 +87,7 @@ public static function register_pattern() { ', ), 'registration-form' => array( - 'title' => __( 'Registration Form', 'jetpack-forms' ), + 'title' => 'Registration Form', 'blockTypes' => array( 'jetpack/contact-form' ), 'categories' => array( $category_slug ), 'content' => ' @@ -102,7 +102,7 @@ public static function register_pattern() { ', ), 'appointment-form' => array( - 'title' => __( 'Appointment Form', 'jetpack-forms' ), + 'title' => 'Appointment Form', 'blockTypes' => array( 'jetpack/contact-form' ), 'categories' => array( $category_slug ), 'content' => ' @@ -118,7 +118,7 @@ public static function register_pattern() { ', ), 'feedback-form' => array( - 'title' => __( 'Feedback Form', 'jetpack-forms' ), + 'title' => 'Feedback Form', 'blockTypes' => array( 'jetpack/contact-form' ), 'categories' => array( $category_slug ), 'content' => '