From 82278fe685d48887b64b8e4ac4c14d88c82cd145 Mon Sep 17 00:00:00 2001 From: nikkifurls Date: Tue, 2 Apr 2024 18:35:37 +0000 Subject: [PATCH] Built changes for v0.3.7 from develop 211a09b84be3f2ea02af0ebd4963d69c800ea835 --- .deployignore | 22 - .github/dependabot.yml | 25 - .github/workflows/built-branch.yml | 11 - .github/workflows/built-release.yml | 13 - .github/workflows/code-quality.yml | 12 - .github/workflows/coding-standards.yml | 16 - .github/workflows/dependabot-auto-approve.yml | 11 - .github/workflows/dependabot-auto-merge.yml | 10 - .github/workflows/node-tests.yml | 16 - .github/workflows/unit-test.yml | 21 - .github/workflows/update-changelog.yml | 28 - .../workflows/upgrade-wordpress-plugin.yml | 19 - .gitignore | 44 +- .phpcs.xml | 57 - Makefile | 4 - bin/create-block/defaultValues.js | 15 - bin/create-block/index.js | 72 - bin/create-block/selectTemplates.js | 29 - .../templates/javascript/edit.jsx.mustache | 38 - .../templates/javascript/index.js.mustache | 39 - .../templates/javascript/index.scss.mustache | 13 - .../templates/javascript/save.jsx.mustache | 26 - .../templates/javascript/style.scss.mustache | 18 - .../templates/typescript/edit.tsx.mustache | 38 - .../templates/typescript/index.scss.mustache | 13 - .../templates/typescript/index.ts.mustache | 42 - .../templates/typescript/save.tsx.mustache | 26 - .../templates/typescript/style.scss.mustache | 18 - build/blocks/index.asset.php | 1 + build/blocks/index.css | 7 + .phpcs/.gitkeep => build/blocks/index.js | 0 build/editor/index.asset.php | 1 + build/editor/index.css | 1 + build/editor/index.js | 0 build/email-settings/block.json | 17 + build/email-settings/index.asset.php | 1 + build/email-settings/index.css | 1 + build/email-settings/index.js | 1 + build/email-settings/index.php | 21 + .../email-settings/render.php | 7 - build/email-settings/style-index.css | 1 + build/footer/block.json | 22 + build/footer/index.asset.php | 1 + build/footer/index.js | 1 + .../footer/index.php | 7 +- build/footer/render.php | 77 + build/footer/style-index.css | 1 + build/header/block.json | 17 + build/header/index.asset.php | 1 + build/header/index.css | 1 + build/header/index.js | 42 + .../header/index.php | 7 +- build/header/render.php | 25 + build/header/style-index.css | 1 + build/index.js/index.asset.php | 1 + build/index.js/index.js | 0 build/newsletter-status/index.asset.php | 1 + build/newsletter-status/index.js | 1 + build/post-byline/block.json | 25 + build/post-byline/index.asset.php | 1 + build/post-byline/index.js | 42 + build/post-byline/index.php | 21 + build/post-byline/render.php | 29 + build/post-byline/style-index.css | 1 + build/post-content/block.json | 25 + build/post-content/index.asset.php | 1 + build/post-content/index.js | 42 + build/post-content/index.php | 21 + build/post-content/render.php | 28 + build/post-content/style-index.css | 1 + build/post-excerpt/block.json | 26 + build/post-excerpt/index.asset.php | 1 + build/post-excerpt/index.js | 42 + build/post-excerpt/index.php | 21 + build/post-excerpt/render.php | 23 + build/post-excerpt/style-index.css | 1 + build/post-featured-image/block.json | 29 + build/post-featured-image/index.asset.php | 1 + build/post-featured-image/index.js | 42 + build/post-featured-image/index.php | 21 + build/post-featured-image/render.php | 25 + build/post-featured-image/style-index.css | 1 + build/post-read-more/block.json | 25 + build/post-read-more/index.asset.php | 1 + build/post-read-more/index.js | 1 + build/post-read-more/index.php | 21 + build/post-read-more/render.php | 35 + build/post-read-more/style-index.css | 1 + build/post-title/block.json | 29 + build/post-title/index.asset.php | 1 + build/post-title/index.js | 42 + build/post-title/index.php | 21 + build/post-title/render.php | 32 + build/post-title/style-index.css | 1 + build/post/block.json | 37 + build/post/index.asset.php | 1 + build/post/index.css | 2 + build/post/index.js | 42 + build/post/index.php | 21 + build/post/render.php | 24 + build/post/style-index.css | 1 + build/section/block.json | 31 + build/section/index.asset.php | 1 + build/section/index.css | 5 + build/section/index.js | 42 + build/section/index.php | 21 + build/section/render.php | 23 + build/section/style-index.css | 1 + build/signup-form-list/block.json | 35 + build/signup-form-list/index.asset.php | 1 + build/signup-form-list/index.js | 1 + build/signup-form-list/index.php | 21 + build/signup-form-list/render.php | 40 + build/signup-form/block.json | 37 + build/signup-form/index.asset.php | 1 + build/signup-form/index.css | 1 + build/signup-form/index.js | 1 + build/signup-form/index.php | 40 + build/signup-form/render.php | 56 + build/signup-form/view.asset.php | 1 + build/signup-form/view.js | 1 + build/two-up-post/block.json | 17 + build/two-up-post/index.asset.php | 1 + build/two-up-post/index.css | 1 + build/two-up-post/index.js | 1 + build/two-up-post/index.php | 21 + .../two-up-post/render.php | 7 +- build/two-up-post/style-index.css | 1 + .../index.asset.php | 1 + .../wp-newsletter-builder-from-post/index.js | 42 + .../index.asset.php | 1 + .../wp-newsletter-builder-separator/index.js | 1 + phpunit.xml | 9 - tests/bootstrap.php | 16 - tests/class-test-case.php | 17 - .../CHANGELOG.md | 62 + .../composer-wordpress-autoloader/README.md | 94 + .../composer.json | 55 + .../phpcs.xml.dist | 21 + .../src/AutoloadFactory.php | 61 + .../src/AutoloadGenerator.php | 327 ++ .../src/Plugin.php | 209 + .../src/autoload.php | 30 + .../wordpress-autoloader/.editorconfig | 12 + .../wordpress-autoloader/.gitattributes | 26 + .../wordpress-autoloader/.gitignore | 6 + .../wordpress-autoloader/CHANGELOG.md | 34 + .../wordpress-autoloader/README.md | 51 + .../wordpress-autoloader/composer.json | 43 + .../src/class-autoloader.php | 203 + vendor/autoload.php | 25 + .../campaignmonitor/createsend-php/.gitignore | 6 + .../createsend-php/.travis.yml | 20 + .../createsend-php/CONTRIBUTING.md | 16 + .../campaignmonitor/createsend-php/HISTORY.md | 325 ++ vendor/campaignmonitor/createsend-php/LICENSE | 48 + .../campaignmonitor/createsend-php/README.md | 154 + .../campaignmonitor/createsend-php/RELEASE.md | 42 + .../createsend-php/class/base_classes.php | 317 ++ .../createsend-php/class/cacert.pem | 3849 +++++++++++++++++ .../createsend-php/class/exceptions.php | 10 + .../createsend-php/class/log.php | 21 + .../createsend-php/class/serialisation.php | 136 + .../createsend-php/class/services_json.php | 786 ++++ .../createsend-php/class/transport.php | 352 ++ .../createsend-php/composer.json | 40 + .../createsend-php/csrest_administrators.php | 110 + .../createsend-php/csrest_campaigns.php | 442 ++ .../createsend-php/csrest_clients.php | 519 +++ .../createsend-php/csrest_events.php | 332 ++ .../createsend-php/csrest_general.php | 214 + .../createsend-php/csrest_journey_emails.php | 253 ++ .../createsend-php/csrest_journeys.php | 96 + .../createsend-php/csrest_lists.php | 599 +++ .../createsend-php/csrest_people.php | 127 + .../createsend-php/csrest_segments.php | 210 + .../createsend-php/csrest_subscribers.php | 236 + .../createsend-php/csrest_templates.php | 120 + .../csrest_transactional_classicemail.php | 138 + .../csrest_transactional_smartemail.php | 184 + .../csrest_transactional_timeline.php | 161 + .../authentication/auth_with_api_key.php | 19 + .../authentication/auth_with_oauth.php | 21 + .../samples/authentication/exchange_token.php | 24 + .../authentication/get_authorize_url.php | 12 + .../samples/authentication/refresh_token.php | 21 + .../samples/campaign/create.php | 29 + .../samples/campaign/create_from_template.php | 99 + .../samples/campaign/delete.php | 18 + .../samples/campaign/get_bounces.php | 20 + .../samples/campaign/get_clicks.php | 20 + .../campaign/get_email_client_usage.php | 19 + .../campaign/get_lists_and_segments.php | 19 + .../samples/campaign/get_opens.php | 20 + .../samples/campaign/get_recipients.php | 20 + .../samples/campaign/get_spam.php | 20 + .../samples/campaign/get_summary.php | 19 + .../samples/campaign/get_unsubscribes.php | 20 + .../createsend-php/samples/campaign/send.php | 22 + .../samples/campaign/send_preview.php | 21 + .../samples/campaign/unschedule.php | 19 + .../createsend-php/samples/client/create.php | 23 + .../createsend-php/samples/client/delete.php | 19 + .../createsend-php/samples/client/get.php | 19 + .../samples/client/get_campaigns.php | 22 + .../samples/client/get_drafts.php | 22 + .../samples/client/get_journeys.php | 22 + .../samples/client/get_lists.php | 22 + .../samples/client/get_lists_for_email.php | 24 + .../samples/client/get_scheduled.php | 22 + .../samples/client/get_segments.php | 22 + .../samples/client/get_suppressionlist.php | 23 + .../samples/client/get_tags.php | 22 + .../samples/client/get_templates.php | 22 + .../samples/client/set_basics.php | 23 + .../samples/client/set_monthly_billing.php | 24 + .../samples/client/set_payg_billing.php | 36 + .../samples/client/suppress.php | 24 + .../samples/client/transfer_credits.php | 25 + .../samples/client/unsuppress.php | 19 + .../samples/events/event_track.php | 42 + .../samples/external_session_url.php | 27 + .../createsend-php/samples/get_apikey.php | 17 + .../samples/get_billing_details.php | 21 + .../createsend-php/samples/get_clients.php | 22 + .../createsend-php/samples/get_countries.php | 21 + .../createsend-php/samples/get_systemdate.php | 20 + .../createsend-php/samples/get_timezones.php | 21 + .../samples/journeys/get_journey_bounces.php | 21 + .../samples/journeys/get_journey_clicks.php | 21 + .../samples/journeys/get_journey_opens.php | 21 + .../journeys/get_journey_recipients.php | 21 + .../samples/journeys/get_journey_summary.php | 19 + .../journeys/get_journey_unsubscribes.php | 21 + .../samples/list/activate_webhook.php | 19 + .../createsend-php/samples/list/create.php | 25 + .../samples/list/create_custom_field.php | 34 + .../samples/list/create_webhook.php | 33 + .../samples/list/deactivate_webhook.php | 19 + .../createsend-php/samples/list/delete.php | 19 + .../samples/list/delete_custom_field.php | 19 + .../samples/list/delete_webhook.php | 19 + .../createsend-php/samples/list/get.php | 20 + .../samples/list/get_active_subscribers.php | 24 + .../samples/list/get_bounced_subscribers.php | 22 + .../samples/list/get_custom_fields.php | 20 + .../samples/list/get_deleted_subscribers.php | 22 + .../samples/list/get_segments.php | 20 + .../createsend-php/samples/list/get_stats.php | 20 + .../list/get_unconfirmed_subscribers.php | 22 + .../list/get_unsubscribed_subscribers.php | 22 + .../samples/list/get_webhooks.php | 20 + .../samples/list/list_webhook_receiver.php | 31 + .../samples/list/test_webhook.php | 19 + .../createsend-php/samples/list/update.php | 27 + .../samples/list/update_custom_field.php | 25 + .../samples/list/update_field_options.php | 20 + .../samples/segment/add_rule.php | 26 + .../samples/segment/clear_rules.php | 19 + .../createsend-php/samples/segment/create.php | 43 + .../createsend-php/samples/segment/delete.php | 20 + .../createsend-php/samples/segment/get.php | 20 + .../samples/segment/get_subscribers.php | 24 + .../createsend-php/samples/segment/update.php | 39 + .../createsend-php/samples/subscriber/add.php | 41 + .../samples/subscriber/delete.php | 18 + .../createsend-php/samples/subscriber/get.php | 21 + .../samples/subscriber/get_history.php | 19 + .../samples/subscriber/import.php | 77 + .../samples/subscriber/unsubscribe.php | 18 + .../samples/subscriber/update.php | 29 + .../samples/template/create.php | 23 + .../samples/template/delete.php | 19 + .../createsend-php/samples/template/get.php | 20 + .../samples/template/update.php | 23 + .../samples/transactional/classic_groups.php | 12 + .../samples/transactional/classic_send.php | 63 + .../samples/transactional/smart_details.php | 12 + .../samples/transactional/smart_list.php | 21 + .../samples/transactional/smart_send.php | 56 + .../samples/transactional/timeline.php | 81 + vendor/composer/ClassLoader.php | 579 +++ vendor/composer/InstalledVersions.php | 359 ++ vendor/composer/LICENSE | 21 + vendor/composer/autoload_classmap.php | 25 + vendor/composer/autoload_files.php | 11 + vendor/composer/autoload_namespaces.php | 9 + vendor/composer/autoload_psr4.php | 10 + vendor/composer/autoload_real.php | 48 + vendor/composer/autoload_static.php | 56 + vendor/composer/installed.json | 180 + vendor/composer/installed.php | 50 + vendor/wordpress-autoload.php | 12 + 293 files changed, 16506 insertions(+), 738 deletions(-) delete mode 100644 .deployignore delete mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/built-branch.yml delete mode 100644 .github/workflows/built-release.yml delete mode 100644 .github/workflows/code-quality.yml delete mode 100644 .github/workflows/coding-standards.yml delete mode 100644 .github/workflows/dependabot-auto-approve.yml delete mode 100644 .github/workflows/dependabot-auto-merge.yml delete mode 100644 .github/workflows/node-tests.yml delete mode 100644 .github/workflows/unit-test.yml delete mode 100644 .github/workflows/update-changelog.yml delete mode 100644 .github/workflows/upgrade-wordpress-plugin.yml delete mode 100644 .phpcs.xml delete mode 100644 Makefile delete mode 100644 bin/create-block/defaultValues.js delete mode 100644 bin/create-block/index.js delete mode 100644 bin/create-block/selectTemplates.js delete mode 100644 bin/create-block/templates/javascript/edit.jsx.mustache delete mode 100644 bin/create-block/templates/javascript/index.js.mustache delete mode 100644 bin/create-block/templates/javascript/index.scss.mustache delete mode 100644 bin/create-block/templates/javascript/save.jsx.mustache delete mode 100644 bin/create-block/templates/javascript/style.scss.mustache delete mode 100644 bin/create-block/templates/typescript/edit.tsx.mustache delete mode 100644 bin/create-block/templates/typescript/index.scss.mustache delete mode 100644 bin/create-block/templates/typescript/index.ts.mustache delete mode 100644 bin/create-block/templates/typescript/save.tsx.mustache delete mode 100644 bin/create-block/templates/typescript/style.scss.mustache create mode 100644 build/blocks/index.asset.php create mode 100644 build/blocks/index.css rename .phpcs/.gitkeep => build/blocks/index.js (100%) create mode 100644 build/editor/index.asset.php create mode 100644 build/editor/index.css create mode 100644 build/editor/index.js create mode 100644 build/email-settings/block.json create mode 100644 build/email-settings/index.asset.php create mode 100644 build/email-settings/index.css create mode 100644 build/email-settings/index.js create mode 100644 build/email-settings/index.php rename bin/create-block/templates/typescript/render.php.mustache => build/email-settings/render.php (67%) create mode 100644 build/email-settings/style-index.css create mode 100644 build/footer/block.json create mode 100644 build/footer/index.asset.php create mode 100644 build/footer/index.js rename bin/create-block/templates/typescript/index.php.mustache => build/footer/index.php (73%) create mode 100644 build/footer/render.php create mode 100644 build/footer/style-index.css create mode 100644 build/header/block.json create mode 100644 build/header/index.asset.php create mode 100644 build/header/index.css create mode 100644 build/header/index.js rename bin/create-block/templates/javascript/index.php.mustache => build/header/index.php (73%) create mode 100644 build/header/render.php create mode 100644 build/header/style-index.css create mode 100644 build/index.js/index.asset.php create mode 100644 build/index.js/index.js create mode 100644 build/newsletter-status/index.asset.php create mode 100644 build/newsletter-status/index.js create mode 100644 build/post-byline/block.json create mode 100644 build/post-byline/index.asset.php create mode 100644 build/post-byline/index.js create mode 100644 build/post-byline/index.php create mode 100644 build/post-byline/render.php create mode 100644 build/post-byline/style-index.css create mode 100644 build/post-content/block.json create mode 100644 build/post-content/index.asset.php create mode 100644 build/post-content/index.js create mode 100644 build/post-content/index.php create mode 100644 build/post-content/render.php create mode 100644 build/post-content/style-index.css create mode 100644 build/post-excerpt/block.json create mode 100644 build/post-excerpt/index.asset.php create mode 100644 build/post-excerpt/index.js create mode 100644 build/post-excerpt/index.php create mode 100644 build/post-excerpt/render.php create mode 100644 build/post-excerpt/style-index.css create mode 100644 build/post-featured-image/block.json create mode 100644 build/post-featured-image/index.asset.php create mode 100644 build/post-featured-image/index.js create mode 100644 build/post-featured-image/index.php create mode 100644 build/post-featured-image/render.php create mode 100644 build/post-featured-image/style-index.css create mode 100644 build/post-read-more/block.json create mode 100644 build/post-read-more/index.asset.php create mode 100644 build/post-read-more/index.js create mode 100644 build/post-read-more/index.php create mode 100644 build/post-read-more/render.php create mode 100644 build/post-read-more/style-index.css create mode 100644 build/post-title/block.json create mode 100644 build/post-title/index.asset.php create mode 100644 build/post-title/index.js create mode 100644 build/post-title/index.php create mode 100644 build/post-title/render.php create mode 100644 build/post-title/style-index.css create mode 100644 build/post/block.json create mode 100644 build/post/index.asset.php create mode 100644 build/post/index.css create mode 100644 build/post/index.js create mode 100644 build/post/index.php create mode 100644 build/post/render.php create mode 100644 build/post/style-index.css create mode 100644 build/section/block.json create mode 100644 build/section/index.asset.php create mode 100644 build/section/index.css create mode 100644 build/section/index.js create mode 100644 build/section/index.php create mode 100644 build/section/render.php create mode 100644 build/section/style-index.css create mode 100644 build/signup-form-list/block.json create mode 100644 build/signup-form-list/index.asset.php create mode 100644 build/signup-form-list/index.js create mode 100644 build/signup-form-list/index.php create mode 100644 build/signup-form-list/render.php create mode 100644 build/signup-form/block.json create mode 100644 build/signup-form/index.asset.php create mode 100644 build/signup-form/index.css create mode 100644 build/signup-form/index.js create mode 100644 build/signup-form/index.php create mode 100644 build/signup-form/render.php create mode 100644 build/signup-form/view.asset.php create mode 100644 build/signup-form/view.js create mode 100644 build/two-up-post/block.json create mode 100644 build/two-up-post/index.asset.php create mode 100644 build/two-up-post/index.css create mode 100644 build/two-up-post/index.js create mode 100644 build/two-up-post/index.php rename bin/create-block/templates/javascript/render.php.mustache => build/two-up-post/render.php (68%) create mode 100644 build/two-up-post/style-index.css create mode 100644 build/wp-newsletter-builder-from-post/index.asset.php create mode 100644 build/wp-newsletter-builder-from-post/index.js create mode 100644 build/wp-newsletter-builder-separator/index.asset.php create mode 100644 build/wp-newsletter-builder-separator/index.js delete mode 100644 phpunit.xml delete mode 100644 tests/bootstrap.php delete mode 100644 tests/class-test-case.php create mode 100644 vendor/alleyinteractive/composer-wordpress-autoloader/CHANGELOG.md create mode 100644 vendor/alleyinteractive/composer-wordpress-autoloader/README.md create mode 100644 vendor/alleyinteractive/composer-wordpress-autoloader/composer.json create mode 100644 vendor/alleyinteractive/composer-wordpress-autoloader/phpcs.xml.dist create mode 100644 vendor/alleyinteractive/composer-wordpress-autoloader/src/AutoloadFactory.php create mode 100644 vendor/alleyinteractive/composer-wordpress-autoloader/src/AutoloadGenerator.php create mode 100644 vendor/alleyinteractive/composer-wordpress-autoloader/src/Plugin.php create mode 100644 vendor/alleyinteractive/composer-wordpress-autoloader/src/autoload.php create mode 100644 vendor/alleyinteractive/wordpress-autoloader/.editorconfig create mode 100644 vendor/alleyinteractive/wordpress-autoloader/.gitattributes create mode 100644 vendor/alleyinteractive/wordpress-autoloader/.gitignore create mode 100644 vendor/alleyinteractive/wordpress-autoloader/CHANGELOG.md create mode 100644 vendor/alleyinteractive/wordpress-autoloader/README.md create mode 100644 vendor/alleyinteractive/wordpress-autoloader/composer.json create mode 100644 vendor/alleyinteractive/wordpress-autoloader/src/class-autoloader.php create mode 100644 vendor/autoload.php create mode 100644 vendor/campaignmonitor/createsend-php/.gitignore create mode 100644 vendor/campaignmonitor/createsend-php/.travis.yml create mode 100644 vendor/campaignmonitor/createsend-php/CONTRIBUTING.md create mode 100644 vendor/campaignmonitor/createsend-php/HISTORY.md create mode 100644 vendor/campaignmonitor/createsend-php/LICENSE create mode 100644 vendor/campaignmonitor/createsend-php/README.md create mode 100644 vendor/campaignmonitor/createsend-php/RELEASE.md create mode 100644 vendor/campaignmonitor/createsend-php/class/base_classes.php create mode 100644 vendor/campaignmonitor/createsend-php/class/cacert.pem create mode 100644 vendor/campaignmonitor/createsend-php/class/exceptions.php create mode 100644 vendor/campaignmonitor/createsend-php/class/log.php create mode 100644 vendor/campaignmonitor/createsend-php/class/serialisation.php create mode 100644 vendor/campaignmonitor/createsend-php/class/services_json.php create mode 100644 vendor/campaignmonitor/createsend-php/class/transport.php create mode 100644 vendor/campaignmonitor/createsend-php/composer.json create mode 100644 vendor/campaignmonitor/createsend-php/csrest_administrators.php create mode 100644 vendor/campaignmonitor/createsend-php/csrest_campaigns.php create mode 100644 vendor/campaignmonitor/createsend-php/csrest_clients.php create mode 100644 vendor/campaignmonitor/createsend-php/csrest_events.php create mode 100644 vendor/campaignmonitor/createsend-php/csrest_general.php create mode 100644 vendor/campaignmonitor/createsend-php/csrest_journey_emails.php create mode 100644 vendor/campaignmonitor/createsend-php/csrest_journeys.php create mode 100644 vendor/campaignmonitor/createsend-php/csrest_lists.php create mode 100644 vendor/campaignmonitor/createsend-php/csrest_people.php create mode 100644 vendor/campaignmonitor/createsend-php/csrest_segments.php create mode 100644 vendor/campaignmonitor/createsend-php/csrest_subscribers.php create mode 100644 vendor/campaignmonitor/createsend-php/csrest_templates.php create mode 100644 vendor/campaignmonitor/createsend-php/csrest_transactional_classicemail.php create mode 100644 vendor/campaignmonitor/createsend-php/csrest_transactional_smartemail.php create mode 100644 vendor/campaignmonitor/createsend-php/csrest_transactional_timeline.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/authentication/auth_with_api_key.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/authentication/auth_with_oauth.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/authentication/exchange_token.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/authentication/get_authorize_url.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/authentication/refresh_token.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/campaign/create.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/campaign/create_from_template.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/campaign/delete.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/campaign/get_bounces.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/campaign/get_clicks.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/campaign/get_email_client_usage.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/campaign/get_lists_and_segments.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/campaign/get_opens.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/campaign/get_recipients.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/campaign/get_spam.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/campaign/get_summary.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/campaign/get_unsubscribes.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/campaign/send.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/campaign/send_preview.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/campaign/unschedule.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/create.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/delete.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/get.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/get_campaigns.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/get_drafts.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/get_journeys.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/get_lists.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/get_lists_for_email.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/get_scheduled.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/get_segments.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/get_suppressionlist.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/get_tags.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/get_templates.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/set_basics.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/set_monthly_billing.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/set_payg_billing.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/suppress.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/transfer_credits.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/client/unsuppress.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/events/event_track.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/external_session_url.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/get_apikey.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/get_billing_details.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/get_clients.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/get_countries.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/get_systemdate.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/get_timezones.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_bounces.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_clicks.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_opens.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_recipients.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_summary.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_unsubscribes.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/activate_webhook.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/create.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/create_custom_field.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/create_webhook.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/deactivate_webhook.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/delete.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/delete_custom_field.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/delete_webhook.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/get.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/get_active_subscribers.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/get_bounced_subscribers.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/get_custom_fields.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/get_deleted_subscribers.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/get_segments.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/get_stats.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/get_unconfirmed_subscribers.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/get_unsubscribed_subscribers.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/get_webhooks.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/list_webhook_receiver.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/test_webhook.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/update.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/update_custom_field.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/list/update_field_options.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/segment/add_rule.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/segment/clear_rules.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/segment/create.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/segment/delete.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/segment/get.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/segment/get_subscribers.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/segment/update.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/subscriber/add.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/subscriber/delete.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/subscriber/get.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/subscriber/get_history.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/subscriber/import.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/subscriber/unsubscribe.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/subscriber/update.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/template/create.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/template/delete.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/template/get.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/template/update.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/transactional/classic_groups.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/transactional/classic_send.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/transactional/smart_details.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/transactional/smart_list.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/transactional/smart_send.php create mode 100644 vendor/campaignmonitor/createsend-php/samples/transactional/timeline.php create mode 100644 vendor/composer/ClassLoader.php create mode 100644 vendor/composer/InstalledVersions.php create mode 100644 vendor/composer/LICENSE create mode 100644 vendor/composer/autoload_classmap.php create mode 100644 vendor/composer/autoload_files.php create mode 100644 vendor/composer/autoload_namespaces.php create mode 100644 vendor/composer/autoload_psr4.php create mode 100644 vendor/composer/autoload_real.php create mode 100644 vendor/composer/autoload_static.php create mode 100644 vendor/composer/installed.json create mode 100644 vendor/composer/installed.php create mode 100644 vendor/wordpress-autoload.php diff --git a/.deployignore b/.deployignore deleted file mode 100644 index 56180bf5..00000000 --- a/.deployignore +++ /dev/null @@ -1,22 +0,0 @@ -.DS_Store -Thumbs.db -wp-cli.local.yml -node_modules/ -*.sql -*.tar.gz -*.zip -.phpunit.result.cache -Dockerfile -output.log -.github -tests -bin -composer.lock -.phpcs.xml -phpunit.xml -configure.php -DOCKER_ENV -phpunit.xml -tests -.phpcs -Makefile diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 115b12e2..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,25 +0,0 @@ -# Please see the documentation for all configuration options: -# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: - - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - - - package-ecosystem: "composer" - directory: "/" - schedule: - interval: "weekly" - - - package-ecosystem: "npm" - directory: "/" - schedule: - interval: "weekly" - day: "saturday" - time: "09:00" - timezone: "America/New_York" - ignore: - - dependency-name: "@wordpress/*" diff --git a/.github/workflows/built-branch.yml b/.github/workflows/built-branch.yml deleted file mode 100644 index cc534404..00000000 --- a/.github/workflows/built-branch.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: Create a -built branch - -on: - push: - branches: - - main - - develop - -jobs: - built-branch: - uses: alleyinteractive/.github/.github/workflows/built-branch.yml@main diff --git a/.github/workflows/built-release.yml b/.github/workflows/built-release.yml deleted file mode 100644 index c8e2b2b5..00000000 --- a/.github/workflows/built-release.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Built Release - -on: - push: - branches: - - develop - -jobs: - built-release: - uses: alleyinteractive/.github/.github/workflows/built-release.yml@main - with: - composer_install: true - node: 16 diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml deleted file mode 100644 index 100e8643..00000000 --- a/.github/workflows/code-quality.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Code Quality - -on: - push: - branches: - - develop - -jobs: - phpstan: - uses: alleyinteractive/.github/.github/workflows/php-code-quality.yml@main - with: - php: '8.2' diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml deleted file mode 100644 index 4adcf4ef..00000000 --- a/.github/workflows/coding-standards.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Coding Standards - -on: - push: - branches: - - develop - pull_request: - # Uncomment and edit the following to run on a schedule. - # schedule: - # - cron: '0 5 * * 0' # Run once per week at 5am UTC on Sundays. - -jobs: - coding-standards: - uses: alleyinteractive/.github/.github/workflows/php-coding-standards.yml@main - with: - php: '8.2' diff --git a/.github/workflows/dependabot-auto-approve.yml b/.github/workflows/dependabot-auto-approve.yml deleted file mode 100644 index e2119dec..00000000 --- a/.github/workflows/dependabot-auto-approve.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: dependabot-auto-approve -on: - pull_request: - -permissions: - pull-requests: write - contents: write - -jobs: - dependabot: - uses: alleyinteractive/.github/.github/workflows/dependabot-auto-approve.yml@main diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml deleted file mode 100644 index aaed13d4..00000000 --- a/.github/workflows/dependabot-auto-merge.yml +++ /dev/null @@ -1,10 +0,0 @@ -name: dependabot-auto-merge -on: pull_request_target - -permissions: - pull-requests: write - contents: write - -jobs: - dependabot: - uses: alleyinteractive/.github/.github/workflows/dependabot-auto-merge.yml@main diff --git a/.github/workflows/node-tests.yml b/.github/workflows/node-tests.yml deleted file mode 100644 index 668b078a..00000000 --- a/.github/workflows/node-tests.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Node Tests - -on: - push: - branches: - - develop - pull_request: - # Uncomment and edit the following to run on a schedule. - # schedule: - # - cron: '15 5 * * 0' # Run once per week at 5:15am UTC on Sundays. - -jobs: - node-tests: - uses: alleyinteractive/.github/.github/workflows/node-tests.yml@main - with: - run-audit: true diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml deleted file mode 100644 index 213fbb43..00000000 --- a/.github/workflows/unit-test.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Testing Suite - -on: - push: - branches: - - develop - pull_request: - # Uncomment and edit the following to run on a schedule. - # schedule: - # - cron: '30 5 * * 0' # Run once per week at 5:30am UTC on Sundays. - -jobs: - php-tests: - strategy: - matrix: - php: [8.0, 8.1, 8.2] - wordpress: ["latest"] - uses: alleyinteractive/.github/.github/workflows/php-tests.yml@main - with: - php: ${{ matrix.php }} - wordpress: ${{ matrix.wordpress }} diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml deleted file mode 100644 index 0cdea233..00000000 --- a/.github/workflows/update-changelog.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: "Update Changelog" - -on: - release: - types: [released] - -jobs: - update: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - ref: main - - - name: Update Changelog - uses: stefanzweifel/changelog-updater-action@v1 - with: - latest-version: ${{ github.event.release.name }} - release-notes: ${{ github.event.release.body }} - - - name: Commit updated CHANGELOG - uses: stefanzweifel/git-auto-commit-action@v5 - with: - branch: main - commit_message: Update CHANGELOG - file_pattern: CHANGELOG.md diff --git a/.github/workflows/upgrade-wordpress-plugin.yml b/.github/workflows/upgrade-wordpress-plugin.yml deleted file mode 100644 index 9fdf3c6f..00000000 --- a/.github/workflows/upgrade-wordpress-plugin.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Update WordPress Plugin - -on: - schedule: - - cron: '0 6 1 * *' # Run on the first day of every month at 6am UTC. - -permissions: - contents: write - pull-requests: write - -jobs: - update-plugin: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: alleyinteractive/action-update-wordpress-plugin@v1.2.1 - with: - plugin-file: 'plugin.php' - upgrade-npm-dependencies: "true" diff --git a/.gitignore b/.gitignore index a8545793..56180bf5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,26 +1,22 @@ -# Build files -build -vendor -composer.lock -node_modules - -# Log files -*.log - -# Cache files -.phpcs/*.json -.phpunit.result.cache - -# Ignore temporary OS files .DS_Store -.DS_Store? -.Spotlight-V100 -.Trashes -ehthumbs.db Thumbs.db -.thumbsdb - -# IDE files -*.code-workspace -.idea -.vscode +wp-cli.local.yml +node_modules/ +*.sql +*.tar.gz +*.zip +.phpunit.result.cache +Dockerfile +output.log +.github +tests +bin +composer.lock +.phpcs.xml +phpunit.xml +configure.php +DOCKER_ENV +phpunit.xml +tests +.phpcs +Makefile diff --git a/.phpcs.xml b/.phpcs.xml deleted file mode 100644 index b0425ef2..00000000 --- a/.phpcs.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - PHP_CodeSniffer standard for create-wordpress-plugin. - - - - - - - - - - - - - - - - - - - - - build/ - vendor/ - - - - - - - - - - - - - - - - - - src/assets.php - blocks - build - entries - - - - src/assets.php - - diff --git a/Makefile b/Makefile deleted file mode 100644 index d9e033f8..00000000 --- a/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -setup: - php ./configure.php - -.PHONY: setup diff --git a/bin/create-block/defaultValues.js b/bin/create-block/defaultValues.js deleted file mode 100644 index 5873f6f3..00000000 --- a/bin/create-block/defaultValues.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Default variables for scaffolding blocks. - * - * @see https://github.com/WordPress/gutenberg/blob/trunk/packages/create-block/docs/external-template.md#defaultvalues - */ -module.exports = { - namespace: 'wp-newsletter-builder', - plugin: false, - description: '', - dashicon: 'palmtree', - category: 'widgets', - editorScript: 'file:index.ts', - editorStyle: 'file:index.css', - style: ['file:style-index.css'], -}; diff --git a/bin/create-block/index.js b/bin/create-block/index.js deleted file mode 100644 index 229f29ff..00000000 --- a/bin/create-block/index.js +++ /dev/null @@ -1,72 +0,0 @@ -#!/usr/bin/env node - -const prompts = require('prompts'); -const path = require('path'); -const { sync: spawn } = require('cross-spawn'); - -const fs = require('fs'); - -// The directory where the blocks will be created relative to the current working directory. -const directoryName = 'blocks'; - -// Create the directory if it doesn't exist. -if (!fs.existsSync(directoryName)) { - fs.mkdirSync(directoryName); - // eslint-disable-next-line no-console - console.log(`Directory '${directoryName}' created successfully!`); - // Navigate to the directory to create the block. - process.chdir(directoryName); -} else { - process.chdir(directoryName); -} - -/** - * Prompts the user to select a block language (TypeScript or JavaScript) - * and then create a block using the @wordpress/create-block package. - */ -(async () => { - const response = await prompts({ - type: 'select', - name: 'blockLanguage', - message: 'Create a block in TypeScript or JavaScript?', - choices: [ - { title: 'TypeScript', value: 'typescript' }, - { title: 'JavaScript', value: 'javascript' }, - ], - initial: 0, - }); - - const language = response?.blockLanguage || null; - - if (language) { - // Set the block language as an environment variable - // so it can be used in the selectTemplates.js file. - process.env.blockLanguage = language; - - // Create a block using the @wordpress/create-block package. - const result = spawn( - 'npx', - [ - '@wordpress/create-block', - /** - * This argument specifies an external npm package as a template. - * In this case, the selectTemplates.js file is used as a the entry for the template. - * @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-create-block/#template - */ - '--template', - path.join(__dirname, 'selectTemplates.js'), - /** - * With this argument, the create-block package runs in - * "No plugin mode" which only scaffolds block files into the current directory. - * @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-create-block/#no-plugin - */ - '--no-plugin', - ], - { stdio: 'inherit' }, - ); - - process.exit(result.status); - } else { - process.exit(1); - } -})(); diff --git a/bin/create-block/selectTemplates.js b/bin/create-block/selectTemplates.js deleted file mode 100644 index 8c1a933b..00000000 --- a/bin/create-block/selectTemplates.js +++ /dev/null @@ -1,29 +0,0 @@ -const path = require('path'); -const defaultValues = require('./defaultValues'); - -const { blockLanguage } = process.env; - -/** - * Custom variants for scaffolding blocks. - * - * Currently there are only two variants: - * - static: A block that scaffolds a save.js file - * that saves the content and markup directly in the post content. - * - dynamic: A block that scaffolds a render.php template - * which can be used to render the block on the front-end. - * - * @see https://github.com/WordPress/gutenberg/blob/trunk/packages/create-block/docs/external-template.md#external-project-templates - */ -module.exports = { - defaultValues, - variants: { - static: { - blockTemplatesPath: path.join(__dirname, 'templates', blockLanguage), - }, - dynamic: { - blockTemplatesPath: path.join(__dirname, 'templates', blockLanguage), - render: 'file:render.php', - }, - }, - blockTemplatesPath: path.join(__dirname, 'templates', blockLanguage), -}; diff --git a/bin/create-block/templates/javascript/edit.jsx.mustache b/bin/create-block/templates/javascript/edit.jsx.mustache deleted file mode 100644 index d10cda51..00000000 --- a/bin/create-block/templates/javascript/edit.jsx.mustache +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Retrieves the translation of text. - * - * @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-i18n/ - */ -import { __ } from '@wordpress/i18n'; - -/** - * React hook that is used to mark the block wrapper element. - * It provides all the necessary props like the class name. - * - * @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-block-editor/#useblockprops - */ -import { useBlockProps } from '@wordpress/block-editor'; - -/** - * Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files. - * Those files can contain any CSS code that gets applied to the editor. - * - * @see https://www.npmjs.com/package/@wordpress/scripts#using-css - */ -import './index.scss'; - -/** - * The edit function describes the structure of your block in the context of the - * editor. This represents what the editor will render when the block is used. - * - * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#edit - * - * @return {WPElement} Element to render. - */ -export default function Edit() { - return ( -

- { __('Block Title – hello from the editor!', 'wp-newsletter-builder') } -

- ); -} diff --git a/bin/create-block/templates/javascript/index.js.mustache b/bin/create-block/templates/javascript/index.js.mustache deleted file mode 100644 index 4f309fc6..00000000 --- a/bin/create-block/templates/javascript/index.js.mustache +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Registers a new block provided a unique name and an object defining its behavior. - * - * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/ - */ -import { registerBlockType } from '@wordpress/blocks'; - -/** - * Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files. - * All files containing `style` keyword are bundled together. The code used - * gets applied both to the front of your site and to the editor. - * - * @see https://www.npmjs.com/package/@wordpress/scripts#using-css - */ -import './style.scss'; - -/** - * Internal dependencies - */ -import edit from './edit'; -{{#isStaticVariant}} -import save from './save'; -{{/isStaticVariant}} -import metadata from './block.json'; - -/** - * Every block starts by registering a new block type definition. - * - * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/ - */ -registerBlockType( - metadata.name, - { - edit, - {{#isStaticVariant}} - save, - {{/isStaticVariant}} - }, -); diff --git a/bin/create-block/templates/javascript/index.scss.mustache b/bin/create-block/templates/javascript/index.scss.mustache deleted file mode 100644 index 76e79841..00000000 --- a/bin/create-block/templates/javascript/index.scss.mustache +++ /dev/null @@ -1,13 +0,0 @@ -/** - * The following styles get applied inside the editor only. - * - * All imported CSS files are bundled into one chunk named after the entry point, - * which defaults to index.js, and thus the file created becomes index.css. - * This is for styles used only in the editor. - * - * Replace them with your own styles or remove the file completely. - */ - -.wp-block-{{namespace}}-{{slug}} { - border: 1px dotted #f00; -} diff --git a/bin/create-block/templates/javascript/save.jsx.mustache b/bin/create-block/templates/javascript/save.jsx.mustache deleted file mode 100644 index 15a1c598..00000000 --- a/bin/create-block/templates/javascript/save.jsx.mustache +++ /dev/null @@ -1,26 +0,0 @@ -{{#isStaticVariant}} -/** - * React hook that is used to mark the block wrapper element. - * It provides all the necessary props like the class name. - * - * @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-block-editor/#useblockprops - */ -import { useBlockProps } from '@wordpress/block-editor'; - -/** - * The save function defines the way in which the different attributes should - * be combined into the final markup, which is then serialized by the block - * editor into `post_content`. - * - * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#save - * - * @return {WPElement} Element to render. - */ -export default function save() { - return ( -

- {'{{title}} - hello from the saved content!'} -

- ); -} -{{/isStaticVariant}} diff --git a/bin/create-block/templates/javascript/style.scss.mustache b/bin/create-block/templates/javascript/style.scss.mustache deleted file mode 100644 index b76ce02b..00000000 --- a/bin/create-block/templates/javascript/style.scss.mustache +++ /dev/null @@ -1,18 +0,0 @@ -/** - * The following styles get applied both on the front of your site - * and in the editor. - * - * Imported style.css file(s) (applies to SASS and SCSS extensions) - * get bundled into one style-index.css file that is meant to be - * used both on the front-end and in the editor. - * - * Replace them with your own styles or remove the file completely. - * - * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#block-styles - */ - -.wp-block-{{namespace}}-{{slug}} { - background-color: #21759b; - color: #fff; - padding: 2px; -} diff --git a/bin/create-block/templates/typescript/edit.tsx.mustache b/bin/create-block/templates/typescript/edit.tsx.mustache deleted file mode 100644 index 060f33d4..00000000 --- a/bin/create-block/templates/typescript/edit.tsx.mustache +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Retrieves the translation of text. - * - * @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-i18n/ - */ -import { __ } from '@wordpress/i18n'; - -/** - * React hook that is used to mark the block wrapper element. - * It provides all the necessary props like the class name. - * - * @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-block-editor/#useblockprops - */ -import { useBlockProps } from '@wordpress/block-editor'; - -/** - * Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files. - * Those files can contain any CSS code that gets applied to the editor. - * - * @see https://www.npmjs.com/package/@wordpress/scripts#using-css - */ -import './index.scss'; - -/** - * The edit function describes the structure of your block in the context of the - * editor. This represents what the editor will render when the block is used. - * - * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#edit - * - * @return {WPElement} Element to render. - */ -export default function Edit() { - return ( -

- { __('Block Title - hello from the editor!', 'wp-newsletter-builder') } -

- ); -} diff --git a/bin/create-block/templates/typescript/index.scss.mustache b/bin/create-block/templates/typescript/index.scss.mustache deleted file mode 100644 index 76e79841..00000000 --- a/bin/create-block/templates/typescript/index.scss.mustache +++ /dev/null @@ -1,13 +0,0 @@ -/** - * The following styles get applied inside the editor only. - * - * All imported CSS files are bundled into one chunk named after the entry point, - * which defaults to index.js, and thus the file created becomes index.css. - * This is for styles used only in the editor. - * - * Replace them with your own styles or remove the file completely. - */ - -.wp-block-{{namespace}}-{{slug}} { - border: 1px dotted #f00; -} diff --git a/bin/create-block/templates/typescript/index.ts.mustache b/bin/create-block/templates/typescript/index.ts.mustache deleted file mode 100644 index 8598b1cf..00000000 --- a/bin/create-block/templates/typescript/index.ts.mustache +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Registers a new block provided a unique name and an object defining its behavior. - * - * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/ - */ -import { registerBlockType } from '@wordpress/blocks'; - -/** - * Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files. - * All files containing `style` keyword are bundled together. The code used - * gets applied both to the front of your site and to the editor. - * - * @see https://www.npmjs.com/package/@wordpress/scripts#using-css - */ -import './style.scss'; - -/** - * Internal dependencies - */ -import edit from './edit'; -{{#isStaticVariant}} -import save from './save'; -{{/isStaticVariant}} -import metadata from './block.json'; - -/** - * Every block starts by registering a new block type definition. - * - * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/ - */ -registerBlockType( - /* @ts-expect-error Provided types are inaccurate to the actual plugin API. */ - metadata, - { - apiVersion: 2, - edit, - {{#isStaticVariant}} - save, - {{/isStaticVariant}} - title: metadata.title, - }, -); diff --git a/bin/create-block/templates/typescript/save.tsx.mustache b/bin/create-block/templates/typescript/save.tsx.mustache deleted file mode 100644 index 15a1c598..00000000 --- a/bin/create-block/templates/typescript/save.tsx.mustache +++ /dev/null @@ -1,26 +0,0 @@ -{{#isStaticVariant}} -/** - * React hook that is used to mark the block wrapper element. - * It provides all the necessary props like the class name. - * - * @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-block-editor/#useblockprops - */ -import { useBlockProps } from '@wordpress/block-editor'; - -/** - * The save function defines the way in which the different attributes should - * be combined into the final markup, which is then serialized by the block - * editor into `post_content`. - * - * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#save - * - * @return {WPElement} Element to render. - */ -export default function save() { - return ( -

- {'{{title}} - hello from the saved content!'} -

- ); -} -{{/isStaticVariant}} diff --git a/bin/create-block/templates/typescript/style.scss.mustache b/bin/create-block/templates/typescript/style.scss.mustache deleted file mode 100644 index b76ce02b..00000000 --- a/bin/create-block/templates/typescript/style.scss.mustache +++ /dev/null @@ -1,18 +0,0 @@ -/** - * The following styles get applied both on the front of your site - * and in the editor. - * - * Imported style.css file(s) (applies to SASS and SCSS extensions) - * get bundled into one style-index.css file that is meant to be - * used both on the front-end and in the editor. - * - * Replace them with your own styles or remove the file completely. - * - * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#block-styles - */ - -.wp-block-{{namespace}}-{{slug}} { - background-color: #21759b; - color: #fff; - padding: 2px; -} diff --git a/build/blocks/index.asset.php b/build/blocks/index.asset.php new file mode 100644 index 00000000..56a6f78c --- /dev/null +++ b/build/blocks/index.asset.php @@ -0,0 +1 @@ + array(), 'version' => 'cb910f84d6beddcdcf0c'); diff --git a/build/blocks/index.css b/build/blocks/index.css new file mode 100644 index 00000000..2cb9ba77 --- /dev/null +++ b/build/blocks/index.css @@ -0,0 +1,7 @@ +.main,.mso,body{-webkit-text-size-adjust:100%;background-color:#fff;color:#000;margin:0;padding:0}figure{margin:0}figure,img{display:block}img{height:auto;line-height:100%;max-width:100%;outline:none;text-decoration:none}a img,img{border:0}.image-fix{display:block}table,td{border-collapse:collapse} +.wp-newsletter-builder-container{margin:0 auto;max-width:600px;min-width:320px;width:320px;width:calc(28000% - 167400px)}.has-text-align-left{text-align:left}.has-text-align-center{text-align:center}.has-text-align-right{text-align:right}.wp-newsletter-builder__ad{margin:30px 0}table.wrapper{background-color:#fff;min-width:320px;table-layout:fixed;width:100%}.liveintent-disclosures img{display:inline} +h2,h3,h4,h5,h6{font-family:Georgia,serif;font-weight:700;line-height:1.3}h2{font-size:26px}h3{font-size:20px}h4{font-size:18px}h5{font-size:16px}h6{font-size:14px} +.wp-block-image{margin-bottom:20px}.aligncenter>img{margin-left:auto;margin-right:auto} +p{font-family:Merriweather,Georgia,serif;font-size:16px;line-height:1.33} +.wp-block-button{font-weight:700;margin:0 auto;max-width:50%;width:-moz-max-content;width:max-content}.wp-block-button.wp-newsletter-builder__subscribe{max-width:none;text-transform:uppercase;width:100%}.wp-block-button.wp-newsletter-builder__subscribe .wp-element-button{display:block}.wp-element-button{-webkit-text-size-adjust:none;background-color:#d62827;border-radius:4px;color:#fff;display:inline-block;font-family:Verdana,sans-serif;font-size:14px;font-weight:700;line-height:24px;padding:12px;text-align:center;text-decoration:none} +.wp-block-separator,hr{background-color:#979797;border:0;height:2px;margin:30px auto;max-width:40px}.wp-block-separator.is-style-wide,hr.is-style-wide{max-width:none} diff --git a/.phpcs/.gitkeep b/build/blocks/index.js similarity index 100% rename from .phpcs/.gitkeep rename to build/blocks/index.js diff --git a/build/editor/index.asset.php b/build/editor/index.asset.php new file mode 100644 index 00000000..2d14e46b --- /dev/null +++ b/build/editor/index.asset.php @@ -0,0 +1 @@ + array(), 'version' => 'a73e01d1b0eb49b5942b'); diff --git a/build/editor/index.css b/build/editor/index.css new file mode 100644 index 00000000..2b25e957 --- /dev/null +++ b/build/editor/index.css @@ -0,0 +1 @@ +html :where(.editor-styles-wrapper) h2,html :where(.editor-styles-wrapper) h3,html :where(.editor-styles-wrapper) h4,html :where(.editor-styles-wrapper) h5,html :where(.editor-styles-wrapper) h6{font-family:Georgia,serif;font-weight:700;line-height:1.3}html :where(.editor-styles-wrapper) h2{font-size:26px}html :where(.editor-styles-wrapper) h3{font-size:20px}html :where(.editor-styles-wrapper) h4{font-size:18px}html :where(.editor-styles-wrapper) h5{font-size:16px}html :where(.editor-styles-wrapper) h6{font-size:14px}.block-editor .editor-styles-wrapper{margin:0 auto;max-width:600px;min-width:320px;width:320px;width:calc(28000% - 167400px)}.block-editor .editor-styles-wrapper .wp-block-image{margin-bottom:20px}.block-editor .editor-styles-wrapper .aligncenter>img{margin-left:auto;margin-right:auto}.block-editor .editor-styles-wrapper p{font-family:Merriweather,Georgia,serif;font-size:16px;line-height:1.33}.block-editor .editor-styles-wrapper .wp-block-button{font-weight:700;margin:0 auto;max-width:50%;width:-moz-max-content;width:max-content}.block-editor .editor-styles-wrapper .wp-block-button.wp-newsletter-builder__subscribe{max-width:none;text-transform:uppercase;width:100%}.block-editor .editor-styles-wrapper .wp-block-button.wp-newsletter-builder__subscribe .wp-element-button{display:block}.block-editor .editor-styles-wrapper .wp-element-button{-webkit-text-size-adjust:none;background-color:#d62827;border-radius:4px;color:#fff;display:inline-block;font-family:Verdana,sans-serif;font-size:14px;font-weight:700;line-height:24px;padding:12px;text-align:center;text-decoration:none}.block-editor .editor-styles-wrapper .wp-block-separator,.block-editor .editor-styles-wrapper hr{background-color:#979797;border:0;height:2px;margin:30px auto;max-width:40px}.block-editor .editor-styles-wrapper .wp-block-separator.is-style-wide,.block-editor .editor-styles-wrapper hr.is-style-wide{max-width:none} diff --git a/build/editor/index.js b/build/editor/index.js new file mode 100644 index 00000000..e69de29b diff --git a/build/email-settings/block.json b/build/email-settings/block.json new file mode 100644 index 00000000..55b5e928 --- /dev/null +++ b/build/email-settings/block.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 2, + "name": "wp-newsletter-builder/email-settings", + "version": "0.1.0", + "title": "Email Settings", + "category": "design", + "icon": "email", + "description": "Block to set the email subject, preview text, and list.", + "textdomain": "wp-newsletter-builder", + "editorScript": "file:index.js", + "editorStyle": "file:index.css", + "style": [ + "file:style-index.css" + ], + "render": "file:render.php" +} \ No newline at end of file diff --git a/build/email-settings/index.asset.php b/build/email-settings/index.asset.php new file mode 100644 index 00000000..efd1a940 --- /dev/null +++ b/build/email-settings/index.asset.php @@ -0,0 +1 @@ + array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'cf589118352797a305dc'); diff --git a/build/email-settings/index.css b/build/email-settings/index.css new file mode 100644 index 00000000..1199faf3 --- /dev/null +++ b/build/email-settings/index.css @@ -0,0 +1 @@ +.wp-block-wp-newsletter-builder-email-settings{background-color:#eee;padding:5px} diff --git a/build/email-settings/index.js b/build/email-settings/index.js new file mode 100644 index 00000000..20fdcac2 --- /dev/null +++ b/build/email-settings/index.js @@ -0,0 +1 @@ +!function(){"use strict";var e,t={823:function(e,t,r){var n=window.wp.blocks,l=r(196),a=r.n(l),s=window.wp.i18n,o=window.wp.components,i=window.wp.apiFetch,c=r.n(i),d=window.wp.element,u=window.wp.data,p=window.wp.blockEditor,m=r(893);!function(e,{insertAt:t}={}){if(!e||typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===t&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(".rmsc{--rmsc-main: #4285f4;--rmsc-hover: #f1f3f5;--rmsc-selected: #e2e6ea;--rmsc-border: #ccc;--rmsc-gray: #aaa;--rmsc-bg: #fff;--rmsc-p: 10px;--rmsc-radius: 4px;--rmsc-h: 38px}.rmsc *{box-sizing:border-box;transition:all .2s ease}.rmsc .gray{color:var(--rmsc-gray)}.rmsc .dropdown-content{position:absolute;z-index:1;top:100%;width:100%;padding-top:8px}.rmsc .dropdown-content .panel-content{overflow:hidden;border-radius:var(--rmsc-radius);background:var(--rmsc-bg);box-shadow:0 0 0 1px #0000001a,0 4px 11px #0000001a}.rmsc .dropdown-container{position:relative;outline:0;background-color:var(--rmsc-bg);border:1px solid var(--rmsc-border);border-radius:var(--rmsc-radius)}.rmsc .dropdown-container[aria-disabled=true]:focus-within{box-shadow:var(--rmsc-gray) 0 0 0 1px;border-color:var(--rmsc-gray)}.rmsc .dropdown-container:focus-within{box-shadow:var(--rmsc-main) 0 0 0 1px;border-color:var(--rmsc-main)}.rmsc .dropdown-heading{position:relative;padding:0 var(--rmsc-p);display:flex;align-items:center;width:100%;height:var(--rmsc-h);cursor:default;outline:0}.rmsc .dropdown-heading .dropdown-heading-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.rmsc .clear-selected-button{cursor:pointer;background:none;border:0;padding:0;display:flex}.rmsc .options{max-height:260px;overflow-y:auto;margin:0;padding-left:0}.rmsc .options li{list-style:none;margin:0}.rmsc .select-item{box-sizing:border-box;cursor:pointer;display:block;padding:var(--rmsc-p);outline-offset:-1px;outline-color:var(--rmsc-primary)}.rmsc .select-item:hover{background:var(--rmsc-hover)}.rmsc .select-item.selected{background:var(--rmsc-selected)}.rmsc .no-options{padding:var(--rmsc-p);text-align:center;color:var(--rmsc-gray)}.rmsc .search{width:100%;position:relative;border-bottom:1px solid var(--rmsc-border)}.rmsc .search input{background:none;height:var(--rmsc-h);padding:0 var(--rmsc-p);width:100%;outline:0;border:0;font-size:1em}.rmsc .search input:focus{background:var(--rmsc-hover)}.rmsc .search-clear-button{cursor:pointer;position:absolute;top:0;right:0;bottom:0;background:none;border:0;padding:0 calc(var(--rmsc-p) / 2)}.rmsc .search-clear-button [hidden]{display:none}.rmsc .item-renderer{display:flex;align-items:baseline}.rmsc .item-renderer input{margin:0 5px 0 0}.rmsc .item-renderer.disabled{opacity:.5}.rmsc .spinner{animation:rotate 2s linear infinite}.rmsc .spinner .path{stroke:var(--rmsc-border);stroke-width:4px;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}\n");var h={allItemsAreSelected:"All items are selected.",clearSearch:"Clear Search",clearSelected:"Clear Selected",noOptions:"No options",search:"Search",selectAll:"Select All",selectAllFiltered:"Select All (Filtered)",selectSomeItems:"Select...",create:"Create"},f={value:[],hasSelectAll:!0,className:"multi-select",debounceDuration:200,options:[]},b=a().createContext({}),v=({props:e,children:t})=>{let[r,n]=(0,l.useState)(e.options);return(0,l.useEffect)((()=>{n(e.options)}),[e.options]),(0,m.jsx)(b.Provider,{value:{t:t=>{var r;return(null==(r=e.overrideStrings)?void 0:r[t])||h[t]},...f,...e,options:r,setOptions:n},children:t})},w=()=>a().useContext(b),g={when:!0,eventTypes:["keydown"]};function x(e,t,r){let n=(0,l.useMemo)((()=>Array.isArray(e)?e:[e]),[e]),a=Object.assign({},g,r),{when:s,eventTypes:o}=a,i=(0,l.useRef)(t),{target:c}=a;(0,l.useEffect)((()=>{i.current=t}));let d=(0,l.useCallback)((e=>{n.some((t=>e.key===t||e.code===t))&&i.current(e)}),[n]);(0,l.useEffect)((()=>{if(s&&typeof window<"u"){let e=c?c.current:window;return o.forEach((t=>{e&&e.addEventListener(t,d)})),()=>{o.forEach((t=>{e&&e.removeEventListener(t,d)}))}}}),[s,o,n,c,t])}var y={ARROW_DOWN:"ArrowDown",ARROW_UP:"ArrowUp",ENTER:"Enter",ESCAPE:"Escape",SPACE:"Space"},_=()=>(0,m.jsxs)("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"dropdown-search-clear-icon gray",children:[(0,m.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,m.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),k=({checked:e,option:t,onClick:r,disabled:n})=>(0,m.jsxs)("div",{className:"item-renderer "+(n?"disabled":""),children:[(0,m.jsx)("input",{type:"checkbox",onChange:r,checked:e,tabIndex:-1,disabled:n}),(0,m.jsx)("span",{children:t.label})]}),E=({itemRenderer:e=k,option:t,checked:r,tabIndex:n,disabled:a,onSelectionChanged:s,onClick:o})=>{let i=(0,l.useRef)(),c=()=>{a||s(!r)};return x([y.ENTER,y.SPACE],(e=>{c(),e.preventDefault()}),{target:i}),(0,m.jsx)("label",{className:"select-item "+(r?"selected":""),role:"option","aria-selected":r,tabIndex:n,ref:i,children:(0,m.jsx)(e,{option:t,checked:r,onClick:e=>{c(),o(e)},disabled:a})})},S=({options:e,onClick:t,skipIndex:r})=>{let{disabled:n,value:l,onChange:a,ItemRenderer:s}=w();return(0,m.jsx)(m.Fragment,{children:e.map(((e,o)=>{let i=o+r;return(0,m.jsx)("li",{children:(0,m.jsx)(E,{tabIndex:i,option:e,onSelectionChanged:t=>((e,t)=>{n||a(t?[...l,e]:l.filter((t=>t.value!==e.value)))})(e,t),checked:!!l.find((t=>t.value===e.value)),onClick:e=>t(e,i),itemRenderer:s,disabled:e.disabled||n})},(null==e?void 0:e.key)||o)}))})},C=()=>{let{t:e,onChange:t,options:r,setOptions:n,value:a,filterOptions:s,ItemRenderer:o,disabled:i,disableSearch:c,hasSelectAll:d,ClearIcon:u,debounceDuration:p,isCreatable:h,onCreateOption:f}=w(),b=(0,l.useRef)(),v=(0,l.useRef)(),[g,k]=(0,l.useState)(""),[C,j]=(0,l.useState)(r),[N,O]=(0,l.useState)(""),[R,A]=(0,l.useState)(0),I=(0,l.useCallback)(((e,t)=>{let r;return function(...n){clearTimeout(r),r=setTimeout((()=>{e.apply(null,n)}),t)}})((e=>O(e)),p),[]),T=(0,l.useMemo)((()=>{let e=0;return c||(e+=1),d&&(e+=1),e}),[c,d]),P={label:e(g?"selectAllFiltered":"selectAll"),value:""},D=()=>{var e;O(""),k(""),null==(e=null==v?void 0:v.current)||e.focus()},L=e=>A(e);x([y.ARROW_DOWN,y.ARROW_UP],(e=>{switch(e.code){case y.ARROW_UP:B(-1);break;case y.ARROW_DOWN:B(1);break;default:return}e.stopPropagation(),e.preventDefault()}),{target:b});let W=async()=>{let e={label:g,value:g,__isNew__:!0};f&&(e=await f(g)),n([e,...r]),D(),t([...a,e])},B=e=>{let t=R+e;t=Math.max(0,t),t=Math.min(t,r.length+Math.max(T-1,0)),A(t)};(0,l.useEffect)((()=>{var e,t;null==(t=null==(e=null==b?void 0:b.current)?void 0:e.querySelector(`[tabIndex='${R}']`))||t.focus()}),[R]);let[F,H]=(0,l.useMemo)((()=>{let e=C.filter((e=>!e.disabled));return[e.every((e=>-1!==a.findIndex((t=>t.value===e.value)))),0!==e.length]}),[C,a]);(0,l.useEffect)((()=>{(async()=>s?await s(r,N):function(e,t){return t?e.filter((({label:e,value:r})=>null!=e&&null!=r&&e.toLowerCase().includes(t.toLowerCase()))):e}(r,N))().then(j)}),[N,r]);let M=(0,l.useRef)();x([y.ENTER],W,{target:M});let $=h&&g&&!C.some((e=>(null==e?void 0:e.value)===g));return(0,m.jsxs)("div",{className:"select-panel",role:"listbox",ref:b,children:[!c&&(0,m.jsxs)("div",{className:"search",children:[(0,m.jsx)("input",{placeholder:e("search"),type:"text","aria-describedby":e("search"),onChange:e=>{I(e.target.value),k(e.target.value),A(0)},onFocus:()=>{A(0)},value:g,ref:v,tabIndex:0}),(0,m.jsx)("button",{type:"button",className:"search-clear-button",hidden:!g,onClick:D,"aria-label":e("clearSearch"),children:u||(0,m.jsx)(_,{})})]}),(0,m.jsxs)("ul",{className:"options",children:[d&&H&&(0,m.jsx)(E,{tabIndex:1===T?0:1,checked:F,option:P,onSelectionChanged:e=>{let n=(e=>{let t=C.filter((e=>!e.disabled)).map((e=>e.value));if(e){let e=[...a.map((e=>e.value)),...t];return(s?C:r).filter((t=>e.includes(t.value)))}return a.filter((e=>!t.includes(e.value)))})(e);t(n)},onClick:()=>L(1),itemRenderer:o,disabled:i}),C.length?(0,m.jsx)(S,{skipIndex:T,options:C,onClick:(e,t)=>L(t)}):$?(0,m.jsx)("li",{onClick:W,className:"select-item creatable",tabIndex:1,ref:M,children:`${e("create")} "${g}"`}):(0,m.jsx)("li",{className:"no-options",children:e("noOptions")})]})]})},j=({expanded:e})=>(0,m.jsx)("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"dropdown-heading-dropdown-arrow gray",children:(0,m.jsx)("path",{d:e?"M18 15 12 9 6 15":"M6 9L12 15 18 9"})}),N=()=>{let{t:e,value:t,options:r,valueRenderer:n}=w(),l=0===t.length,a=t.length===r.length,s=n&&n(t,r);return l?(0,m.jsx)("span",{className:"gray",children:s||e("selectSomeItems")}):(0,m.jsx)("span",{children:s||(a?e("allItemsAreSelected"):t.map((e=>e.label)).join(", "))})},O=({size:e=24})=>(0,m.jsx)("span",{style:{width:e,marginRight:"0.2rem"},children:(0,m.jsx)("svg",{width:e,height:e,className:"spinner",viewBox:"0 0 50 50",style:{display:"inline",verticalAlign:"middle"},children:(0,m.jsx)("circle",{cx:"25",cy:"25",r:"20",fill:"none",className:"path"})})}),R=()=>{let{t:e,onMenuToggle:t,ArrowRenderer:r,shouldToggleOnHover:n,isLoading:a,disabled:s,onChange:o,labelledBy:i,value:c,isOpen:d,defaultIsOpen:u,ClearSelectedIcon:p,closeOnChangedValue:h}=w();(0,l.useEffect)((()=>{h&&g(!1)}),[c]);let[f,b]=(0,l.useState)(!0),[v,g]=(0,l.useState)(u),[k,E]=(0,l.useState)(!1),S=r||j,R=(0,l.useRef)();(function(e,t){let r=(0,l.useRef)(!1);(0,l.useEffect)((()=>{r.current?e():r.current=!0}),t)})((()=>{t&&t(v)}),[v]),(0,l.useEffect)((()=>{void 0===u&&"boolean"==typeof d&&(b(!1),g(d))}),[d]),x([y.ENTER,y.ARROW_DOWN,y.SPACE,y.ESCAPE],(e=>{var t;["text","button"].includes(e.target.type)&&[y.SPACE,y.ENTER].includes(e.code)||(f&&(e.code===y.ESCAPE?(g(!1),null==(t=null==R?void 0:R.current)||t.focus()):g(!0)),e.preventDefault())}),{target:R});let A=e=>{f&&n&&g(e)};return(0,m.jsxs)("div",{tabIndex:0,className:"dropdown-container","aria-labelledby":i,"aria-expanded":v,"aria-readonly":!0,"aria-disabled":s,ref:R,onFocus:()=>!k&&E(!0),onBlur:e=>{!e.currentTarget.contains(e.relatedTarget)&&f&&(E(!1),g(!1))},onMouseEnter:()=>A(!0),onMouseLeave:()=>A(!1),children:[(0,m.jsxs)("div",{className:"dropdown-heading",onClick:()=>{f&&g(!a&&!s&&!v)},children:[(0,m.jsx)("div",{className:"dropdown-heading-value",children:(0,m.jsx)(N,{})}),a&&(0,m.jsx)(O,{}),c.length>0&&null!==p&&(0,m.jsx)("button",{type:"button",className:"clear-selected-button",onClick:e=>{e.stopPropagation(),o([]),f&&g(!1)},disabled:s,"aria-label":e("clearSelected"),children:p||(0,m.jsx)(_,{})}),(0,m.jsx)(S,{expanded:v})]}),v&&(0,m.jsx)("div",{className:"dropdown-content",children:(0,m.jsx)("div",{className:"panel-content",children:(0,m.jsx)(C,{})})})]})},A=e=>(0,m.jsx)(v,{props:e,children:(0,m.jsx)("div",{className:`rmsc ${e.className||"multi-select"}`,children:(0,m.jsx)(R,{})})});const{newsletterBuilder:{fromNames:I=[],templates:T={}}={}}=window,P=I.map((e=>({value:e,label:e})));var D=function(e){let{contentHandler:t,typeHandler:r,imageHandler:n,templateHandler:a,fromNameHandler:i,typeValue:u,templateValue:p,fromNameValue:m}=e;const[h,f]=(0,d.useState)({});(0,d.useEffect)((()=>{Object.keys(h).length>0||c()({path:"/wp-newsletter-builder/v1/email-types"}).then((e=>{f(e)}))}),[h]),(0,d.useEffect)((()=>{!m&&I.length>0&&i(I[0])}),[i,m]);const b=(e,t)=>e.labelt.label?1:0,v=e=>{var t;const r=null!==(t=e[u]?.templates)&&void 0!==t?t:[];if(!r.length)return[];const n=r.map((e=>({value:e,label:T[parseInt(e,10)]})));return n.sort(b),n.unshift({label:(0,s.__)("Select a template","wp-newsletter-builder"),value:""}),n},w=async e=>{if(a(e),!e)return;const r=h[u],{image:l,from_name:s}=r;n(parseInt(l,10)),i(s),c()({path:`/wp/v2/nb_template/${e}?context=edit`}).then((e=>{const{content:r}=e;t(r.raw)}))};return(0,d.useEffect)((()=>{if(!u)return;const e=h[u]?.templates;e&&1===e.length&&w(e[0])}),[u]),(0,l.createElement)(l.Fragment,null,(0,l.createElement)(o.SelectControl,{label:(0,s.__)("Select Header Type","wp-newsletter-builder"),value:u,options:(e=>{const t=Object.keys(e).map((t=>({label:e[t].label,value:t})));return t.sort(b),t.unshift({label:(0,s.__)("Select a type","wp-newsletter-builder"),value:""}),t})(h),onChange:r}),v(h).length?(0,l.createElement)(o.SelectControl,{label:(0,s.__)("Select Template","wp-newsletter-builder"),value:p,options:v(h),onChange:w}):null,(0,l.createElement)(o.SelectControl,{label:(0,s.__)("From Name","wp-newsletter-builder"),value:m||h[u]?.from_name,options:P,onChange:i}))},L=window.wp.coreData,W=window.lodash,B=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wp-newsletter-builder/email-settings","version":"0.1.0","title":"Email Settings","category":"design","icon":"email","description":"Block to set the email subject, preview text, and list.","textdomain":"wp-newsletter-builder","editorScript":"file:index.ts","editorStyle":"file:index.css","style":["file:style-index.css"],"render":"file:render.php"}');(0,n.registerBlockType)(B,{edit:function(){const[e,t]=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const r=(0,u.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[n,l]=(0,L.useEntityProp)("postType",r,"meta",t),a="function"==typeof l?l:()=>console.error(`Error attempting to set post meta for post type ${r}. Does it have support for custom-fields?`);return["object"==typeof n?n:{},e=>a((0,W.cloneDeep)(e))]}(),{nb_newsletter_subject:r,nb_newsletter_preview:a,nb_newsletter_list:i,nb_newsletter_email_type:m,nb_newsletter_template:h,nb_newsletter_from_name:f}=e,[b,v]=(0,d.useState)([]),w=Array.isArray(i)?i:[i],g=b.length>0?b.map((e=>({label:e.Name,value:e.ListID}))):[],x=g.filter((e=>w.includes(e.value)));return(0,d.useEffect)((()=>{b.length>0||c()({path:"/wp-newsletter-builder/v1/lists"}).then((e=>{v(e)}))}),[b]),(0,l.createElement)("div",{...(0,p.useBlockProps)()},(0,l.createElement)(D,{typeValue:m,contentHandler:e=>{(0,u.dispatch)("core/block-editor").resetBlocks((0,n.parse)(e))},typeHandler:e=>{t({nb_newsletter_email_type:e})},imageHandler:e=>{t({nb_newsletter_header_img:e})},templateHandler:e=>{t({nb_newsletter_template:e})},fromNameHandler:e=>{t({nb_newsletter_from_name:e})},templateValue:h,fromNameValue:f}),(0,l.createElement)(o.TextControl,{label:(0,s.__)("Subject","wp-newsletter-builder"),placeholder:(0,s.__)("Enter subject","wp-newsletter-builder"),value:r,onChange:e=>t({nb_newsletter_subject:e})}),(0,l.createElement)(o.TextControl,{label:(0,s.__)("Preview Text","wp-newsletter-builder"),placeholder:(0,s.__)("Enter preview text","wp-newsletter-builder"),value:a,onChange:e=>t({nb_newsletter_preview:e})}),b.length>0?(0,l.createElement)("label",{htmlFor:"wp-newsletter-builder-list"},(0,s.__)("Email List","wp-newsletter-builder"),(0,l.createElement)(A,{labelledBy:(0,s.__)("List","wp-newsletter-builder"),value:x,options:g,onChange:e=>{const r=e.map((e=>e.value));t({nb_newsletter_list:r})},hasSelectAll:!1,overrideStrings:{selectSomeItems:(0,s.__)("Select Email List","wp-newsletter-builder")}})):(0,l.createElement)(o.Spinner,null))}})},251:function(e,t,r){var n=r(196),l=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,a={},c=null,d=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)s.call(t,n)&&!i.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:l,type:e,key:c,ref:d,props:a,_owner:o.current}}t.Fragment=a,t.jsx=c,t.jsxs=c},893:function(e,t,r){e.exports=r(251)},196:function(e){e.exports=window.React}},r={};function n(e){var l=r[e];if(void 0!==l)return l.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.m=t,e=[],n.O=function(t,r,l,a){if(!r){var s=1/0;for(d=0;d=a)&&Object.keys(n.O).every((function(e){return n.O[e](r[i])}))?r.splice(i--,1):(o=!1,a0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[r,l,a]},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={646:0,165:0};n.O.j=function(t){return 0===e[t]};var t=function(t,r){var l,a,s=r[0],o=r[1],i=r[2],c=0;if(s.some((function(t){return 0!==e[t]}))){for(l in o)n.o(o,l)&&(n.m[l]=o[l]);if(i)var d=i(n)}for(t&&t(r);c -

> - -

-{{/isDynamicVariant}} diff --git a/build/email-settings/style-index.css b/build/email-settings/style-index.css new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/build/email-settings/style-index.css @@ -0,0 +1 @@ + diff --git a/build/footer/block.json b/build/footer/block.json new file mode 100644 index 00000000..347954a1 --- /dev/null +++ b/build/footer/block.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 2, + "name": "wp-newsletter-builder/footer", + "version": "0.1.0", + "title": "Newsletter Footer", + "category": "design", + "icon": "align-wide", + "description": "Outputs the company logo, social links, address, and footer links.", + "textdomain": "wp-newsletter-builder", + "editorScript": "file:index.js", + "style": [ + "file:style-index.css" + ], + "render": "file:render.php", + "attributes": { + "narrow_separator": { + "type": "boolean", + "default": false + } + } +} \ No newline at end of file diff --git a/build/footer/index.asset.php b/build/footer/index.asset.php new file mode 100644 index 00000000..4a9a5b7e --- /dev/null +++ b/build/footer/index.asset.php @@ -0,0 +1 @@ + array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '8d3c4ef18666f1e01bd0'); diff --git a/build/footer/index.js b/build/footer/index.js new file mode 100644 index 00000000..0864a9e0 --- /dev/null +++ b/build/footer/index.js @@ -0,0 +1 @@ +!function(){var e,t={771:function(e,t,r){"use strict";var n=window.wp.blocks,l=window.React,i=window.wp.i18n,o=r(967),s=r.n(o),a=window.wp.blockEditor,c=window.wp.apiFetch,u=r.n(c),p=window.wp.components,w=window.wp.data,d=window.wp.element,f=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wp-newsletter-builder/footer","version":"0.1.0","title":"Newsletter Footer","category":"design","icon":"align-wide","description":"Outputs the company logo, social links, address, and footer links.","textdomain":"wp-newsletter-builder","editorScript":"file:index.ts","style":["file:style-index.css"],"render":"file:render.php","attributes":{"narrow_separator":{"type":"boolean","default":false}}}');(0,n.registerBlockType)(f,{edit:function(e){var t,r,n,o,c,f;let{attributes:{narrow_separator:m=!1}}=e;const[b,_]=(0,d.useState)(!0),[g,k]=(0,d.useState)(),h=null!==(t=g?.facebook_url)&&void 0!==t?t:"",v=null!==(r=g?.twitter_url)&&void 0!==r?r:"",E=null!==(n=g?.instagram_url)&&void 0!==n?n:"",y=null!==(o=g?.youtube_url)&&void 0!==o?o:"",N=null!==(c=g?.image)&&void 0!==c?c:0,O=null!==(f=g?.address)&&void 0!==f?f:"";(0,d.useEffect)((()=>{g?_(!1):u()({path:"/wp-newsletter-builder/v1/footer_settings"}).then((e=>{k(e)}))}),[g]);const{media:x=null}=(0,w.useSelect)((e=>({media:N?e("core").getMedia(N):null})),[g,N]),S=x?x.source_url:"",j=x?x.alt_text:"";return(0,l.createElement)("div",{...(0,a.useBlockProps)()},(0,l.createElement)("hr",{className:s()("wp-block-separator","has-alpha-channel-opacity",{"is-style-wide":!m})}),b?(0,l.createElement)(p.Spinner,null):(0,l.createElement)(l.Fragment,null,h||v||E||y?(0,l.createElement)("div",{className:"wp-block-wp-newsletter-builder-footer__social-links"},h?(0,l.createElement)("span",{className:"wp-block-wp-newsletter-builder-footer__social-links__item"},(0,l.createElement)("a",{className:"wp-block-wp-newsletter-builder-footer__social-links__link",href:h},(0,l.createElement)("img",{src:"/wp-content/plugins/wp-newsletter-builder/images/facebook.png",alt:"Facebook",height:"26",width:"26"}))):null,v?(0,l.createElement)("span",{className:"wp-block-wp-newsletter-builder-footer__social-links__item"},(0,l.createElement)("a",{className:"wp-block-wp-newsletter-builder-footer__social-links__link",href:v},(0,l.createElement)("img",{src:"/wp-content/plugins/wp-newsletter-builder/images/twitter.png",alt:"Twitter",height:"26",width:"26"}))):null,E?(0,l.createElement)("span",{className:"wp-block-wp-newsletter-builder-footer__social-links__item"},(0,l.createElement)("a",{className:"wp-block-wp-newsletter-builder-footer__social-links__link",href:E},(0,l.createElement)("img",{src:"/wp-content/plugins/wp-newsletter-builder/images/instagram.png",alt:"Instagram",height:"26",width:"26"}))):null,y?(0,l.createElement)("span",{className:"wp-block-wp-newsletter-builder-footer__social-links__item"},(0,l.createElement)("a",{className:"wp-block-wp-newsletter-builder-footer__social-links__link",href:y},(0,l.createElement)("img",{src:"/wp-content/plugins/wp-newsletter-builder/images/youtube.png",alt:"YouTube",height:"26",width:"26"}))):null):null,S?(0,l.createElement)("div",{className:"wp-block-wp-newsletter-builder-footer__logo"},(0,l.createElement)("img",{src:S,alt:j,width:"300"})):null,O?(0,l.createElement)("div",{className:"wp-block-wp-newsletter-builder-footer__address"},O):null),(0,l.createElement)("div",{className:"wp-block-wp-newsletter-builder-footer__links"},(0,l.createElement)("preferences",null,(0,i.__)("Preferences","wp-newsletter-builder"))," | ",(0,l.createElement)("unsubscribe",null,(0,i.__)("Unsubscribe","wp-newsletter-builder"))))}})},967:function(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function l(){for(var e="",t=0;t=i)&&Object.keys(n.O).every((function(e){return n.O[e](r[a])}))?r.splice(a--,1):(s=!1,i0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[r,l,i]},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={264:0,880:0};n.O.j=function(t){return 0===e[t]};var t=function(t,r){var l,i,o=r[0],s=r[1],a=r[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(l in s)n.o(s,l)&&(n.m[l]=s[l]);if(a)var u=a(n)}for(t&&t(r);c. + * @param WP_Block $block_instance The instance of the WP_Block class that represents the block being rendered. + * + * @package wp-newsletter-builder + */ + +$nb_settings = get_option( 'nb_campaign_monitor_settings' ); +$nb_footer_settings = is_array( $nb_settings ) ? $nb_settings['footer_settings'] : []; +$nb_facebook_url = $nb_footer_settings['facebook_url'] ?? ''; +$nb_twitter_url = $nb_footer_settings['twitter_url'] ?? ''; +$nb_instagram_url = $nb_footer_settings['instagram_url'] ?? ''; +$nb_youtube_url = $nb_footer_settings['youtube_url'] ?? ''; +$nb_image_id = $nb_footer_settings['image'] ?? 0; +$nb_address = $nb_footer_settings['address'] ?? ''; +$nb_has_social_links = ! empty( $nb_facebook_url ) || ! empty( $nb_twitter_url ) || ! empty( $nb_instagram_url ) || ! empty( $nb_youtube_url ); +$nb_narrow_separator = ! empty( $attributes['narrow_separator'] ); +$nb_separator_class = $nb_narrow_separator ? '' : 'is-style-wide'; +?> +
align="center"> +
+ + + + + + + + + + + + + + +
diff --git a/build/footer/style-index.css b/build/footer/style-index.css new file mode 100644 index 00000000..5869efc6 --- /dev/null +++ b/build/footer/style-index.css @@ -0,0 +1 @@ +.wp-block-wp-newsletter-builder-footer{font-family:Verdana,sans-serif;font-size:13px;margin-bottom:30px;text-align:center}.wp-block-wp-newsletter-builder-footer__social-links{margin-top:20px;text-align:center}.wp-block-wp-newsletter-builder-footer__social-links__item{padding-right:4px}.wp-block-wp-newsletter-builder-footer__social-links__link{background-color:#d62827;border-radius:50%;color:#d62827;display:inline-block;height:26px;max-height:26px;text-decoration:underline;transition:opacity .1s ease-in;width:26px}.wp-block-wp-newsletter-builder-footer__logo{margin:20px auto;text-align:center;width:300px}.wp-block-wp-newsletter-builder-footer__address{margin-top:20px}.wp-block-wp-newsletter-builder-footer__links{color:#595959;margin-top:20px}.wp-block-wp-newsletter-builder-footer__links a,.wp-block-wp-newsletter-builder-footer__links u{color:#595959;text-decoration:underline} diff --git a/build/header/block.json b/build/header/block.json new file mode 100644 index 00000000..de9b4206 --- /dev/null +++ b/build/header/block.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 2, + "name": "wp-newsletter-builder/header", + "version": "0.1.0", + "title": "Newsletter Header", + "category": "design", + "icon": "format-image", + "description": "Displays the header image for a newsletter", + "textdomain": "wp-newsletter-builder", + "editorScript": "file:index.js", + "editorStyle": "file:index.css", + "style": [ + "file:style-index.css" + ], + "render": "file:render.php" +} \ No newline at end of file diff --git a/build/header/index.asset.php b/build/header/index.asset.php new file mode 100644 index 00000000..4fedcb45 --- /dev/null +++ b/build/header/index.asset.php @@ -0,0 +1 @@ + array('react', 'wp-block-editor', 'wp-blocks', 'wp-data', 'wp-i18n'), 'version' => '1506c341d72ec9c8318a'); diff --git a/build/header/index.css b/build/header/index.css new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/build/header/index.css @@ -0,0 +1 @@ + diff --git a/build/header/index.js b/build/header/index.js new file mode 100644 index 00000000..a6cce907 --- /dev/null +++ b/build/header/index.js @@ -0,0 +1,42 @@ +!function(){var e,t={373:function(e){var t;self,t=()=>(()=>{var e={6484:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e=[],t=0;t{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__post-list{display:flex;flex-wrap:wrap;float:left;height:calc(70vh - 200px);justify-content:flex-start;overflow-y:auto;padding:8px;width:100%}.alley-scripts-post-picker__post{border:1px solid #eee;height:auto;justify-content:center;margin:0 8px 8px 0;transition:background-color .2s ease-in-out;width:calc((100% - 40px)/3)}@media(min-width: 780px){.alley-scripts-post-picker__post{width:calc((100% - 40px)/5)}}.alley-scripts-post-picker__post:hover{background-color:#f5f5f5}.alley-scripts-post-picker__post.is-selected{background-color:#f5f5f5}.alley-scripts-post-picker__load-more{clear:both;float:left;text-align:center;width:100%}","",{version:3,sources:["webpack://./src/components/post-picker/post-list.scss"],names:[],mappings:"AAAA,sCACE,YAAA,CACA,cAAA,CACA,UAAA,CACA,yBAAA,CACA,0BAAA,CACA,eAAA,CACA,WAAA,CACA,UAAA,CAGF,iCACE,qBAAA,CACA,WAAA,CACA,sBAAA,CACA,kBAAA,CACA,2CAAA,CACA,2BAAA,CAGA,yBATF,iCAUI,2BAAA,CAAA,CAGF,uCACE,wBAAA,CAGF,6CACE,wBAAA,CAIJ,sCACE,UAAA,CACA,UAAA,CACA,iBAAA,CACA,UAAA",sourcesContent:[".alley-scripts-post-picker__post-list {\n display: flex;\n flex-wrap: wrap;\n float: left;\n height: calc(70vh - 200px);\n justify-content: flex-start;\n overflow-y: auto;\n padding: 8px;\n width: 100%;\n}\n\n.alley-scripts-post-picker__post {\n border: 1px solid #eee;\n height: auto;\n justify-content: center;\n margin: 0 8px 8px 0;\n transition: background-color 0.2s ease-in-out;\n width: calc((100% - 40px) / 3);\n\n\n @media (min-width: 780px) {\n width: calc((100% - 40px) / 5);\n }\n\n &:hover {\n background-color: #f5f5f5;\n }\n\n &.is-selected {\n background-color: #f5f5f5;\n }\n}\n\n.alley-scripts-post-picker__load-more {\n clear: both;\n float: left;\n text-align: center;\n width: 100%;\n}\n"],sourceRoot:""}]);const a=i},9680:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__modal .components-modal__content{width:90vw}.alley-scripts-post-picker__buttons{clear:both;display:block;text-align:right;width:100%}.alley-scripts-post-picker__buttons button{margin:5px}","",{version:3,sources:["webpack://./src/components/post-picker/search-modal.scss"],names:[],mappings:"AACE,6DACE,UAAA,CAIJ,oCACE,UAAA,CACA,aAAA,CACA,gBAAA,CACA,UAAA,CAEA,2CACE,UAAA",sourcesContent:[".alley-scripts-post-picker__modal {\n .components-modal__content {\n width: 90vw;\n }\n}\n\n.alley-scripts-post-picker__buttons {\n clear: both;\n display: block;\n text-align: right;\n width: 100%;\n\n button {\n margin: 5px;\n }\n}\n"],sourceRoot:""}]);const a=i},3800:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".post-picker-notice{margin:0 0 .5rem 0}","",{version:3,sources:["webpack://./src/components/post-picker/style.scss"],names:[],mappings:"AAAA,oBACE,kBAAA",sourcesContent:[".post-picker-notice {\n margin: 0 0 0.5rem 0;\n}\n"],sourceRoot:""}]);const a=i},5500:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,'.edit-post-sidebar .autocomplete__component,.editor-styles-wrapper .autocomplete__component{margin-bottom:20px}.edit-post-sidebar .autocomplete-base-control,.editor-styles-wrapper .autocomplete-base-control{position:relative}.edit-post-sidebar .autocomplete-text-control__input,.editor-styles-wrapper .autocomplete-text-control__input{margin:0}.edit-post-sidebar .autocomplete__selection-list,.editor-styles-wrapper .autocomplete__selection-list{list-style-type:none;margin:0 0 6px;padding:0}.edit-post-sidebar .autocomplete__selection-list--item,.editor-styles-wrapper .autocomplete__selection-list--item{display:inline-block;list-style:none}.edit-post-sidebar .autocomplete__selection-list--item--button,.editor-styles-wrapper .autocomplete__selection-list--item--button{margin-bottom:4px;margin-right:3px}.edit-post-sidebar .autocomplete__selection-list--item--button::after,.editor-styles-wrapper .autocomplete__selection-list--item--button::after{content:"×";font-size:16px;line-height:20px;margin-left:5px}.edit-post-sidebar .autocomplete__dropdown,.editor-styles-wrapper .autocomplete__dropdown{background-color:#fff;border-color:rgba(0,0,0,0) #e2e4e7 #e2e4e7;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px;left:0;max-height:0;overflow-y:hidden;position:absolute;top:calc(100% + 1px);visibility:hidden;width:100%;z-index:10}.edit-post-sidebar .autocomplete__dropdown--is-open,.editor-styles-wrapper .autocomplete__dropdown--is-open{box-shadow:0 3px 30px rgba(25,30,35,.1);max-height:225px;overflow-y:scroll;visibility:visible}.edit-post-sidebar .autocomplete__dropdown--notice,.editor-styles-wrapper .autocomplete__dropdown--notice{padding:15px}.edit-post-sidebar .autocomplete__dropdown--results,.editor-styles-wrapper .autocomplete__dropdown--results{list-style:none;margin:0;padding:0}.edit-post-sidebar .autocomplete__list--item,.editor-styles-wrapper .autocomplete__list--item{list-style:none}.edit-post-sidebar .autocomplete__list--item>button,.editor-styles-wrapper .autocomplete__list--item>button{background:rgba(0,0,0,0);border-color:#e2e4e7;border-style:solid;border-width:0 0 1px;height:100%;line-height:1.25;text-align:left;white-space:inherit;width:100%}.edit-post-sidebar .autocomplete__list--item:last-child>button,.editor-styles-wrapper .autocomplete__list--item:last-child>button{border-bottom:0}',"",{version:3,sources:["webpack://./src/components/selector/styles.scss"],names:[],mappings:"AAAA,4FAgBI,kBACE,CAAA,gGAMF,iBACE,CAAA,8GAMF,QACE,CAAA,sGAMF,oBACE,CAAA,cACA,CAAA,SACA,CAAA,kHAEA,oBACE,CAAA,eACA,CAAA,kIAEA,iBACE,CAAA,gBACA,CAAA,gJAEA,WACE,CAAA,cACA,CAAA,gBACA,CAAA,eACA,CAAA,0FASR,qBACE,CAAA,0CACA,CAAA,yBACA,CAAA,kBACA,CAAA,sBACA,CAAA,MACA,CAAA,YACA,CAAA,iBACA,CAAA,iBACA,CAAA,oBACA,CAAA,iBACA,CAAA,UACA,CAAA,UACA,CAAA,4GAGA,uCACE,CAAA,gBACA,CAAA,iBACA,CAAA,kBACA,CAAA,0GAIF,YACE,CAAA,4GAIF,eACE,CAAA,QACA,CAAA,SACA,CAAA,8FAOJ,eACE,CAAA,4GAEA,wBACE,CAAA,oBACA,CAAA,kBACA,CAAA,oBACA,CAAA,WACA,CAAA,gBACA,CAAA,eACA,CAAA,mBACA,CAAA,UACA,CAAA,kIAGF,eACE",sourcesContent:["//--------------------------------------------------------------\n// AutoComplete Styles\n//--------------------------------------------------------------\n\n/* stylelint-disable max-nesting-depth */\n\n//-----------------------------------------\n// Accommodate editor well, or the sidebar.\n//-----------------------------------------\n.edit-post-sidebar,\n.editor-styles-wrapper {\n .autocomplete {\n\n //-----------------------------------------\n // Parent form wrapper.\n //-----------------------------------------\n &__component {\n margin-bottom: 20px;\n }\n\n //-----------------------------------------\n // Wrapper\n //-----------------------------------------\n &-base-control {\n position: relative;\n }\n\n //-----------------------------------------\n // Input\n //-----------------------------------------\n &-text-control__input {\n margin: 0;\n }\n\n //-----------------------------------------\n // Selected buttons.\n //-----------------------------------------\n &__selection-list {\n list-style-type: none;\n margin: 0 0 6px;\n padding: 0;\n\n &--item {\n display: inline-block;\n list-style: none;\n\n &--button {\n margin-bottom: 4px;\n margin-right: 3px;\n\n &::after {\n content: '×';\n font-size: 16px;\n line-height: 20px;\n margin-left: 5px;\n }\n }\n }\n }\n\n //-----------------------------------------\n // Results\n //-----------------------------------------\n &__dropdown {\n background-color: #fff;\n border-color: transparent #e2e4e7 #e2e4e7;\n border-radius: 0 0 4px 4px;\n border-style: solid;\n border-width: 0 1px 1px;\n left: 0;\n max-height: 0;\n overflow-y: hidden;\n position: absolute;\n top: calc(100% + 1px); // Offset focus border.\n visibility: hidden;\n width: 100%;\n z-index: 10;\n\n // Container is open.\n &--is-open {\n box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);\n max-height: 225px;\n overflow-y: scroll;\n visibility: visible;\n }\n\n // Notice handler.\n &--notice {\n padding: 15px;\n }\n\n // Results container.\n &--results {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n }\n\n //-----------------------------------------\n // List/Results\n //-----------------------------------------\n &__list--item {\n list-style: none;\n\n > button {\n background: transparent;\n border-color: #e2e4e7;\n border-style: solid;\n border-width: 0 0 1px;\n height: 100%;\n line-height: 1.25;\n text-align: left;\n white-space: inherit;\n width: 100%;\n }\n\n &:last-child > button {\n border-bottom: 0;\n }\n }\n }\n}\n"],sourceRoot:""}]);const a=i},1849:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,s,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var a=0;a0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),s&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=s):u[4]="".concat(s)),t.push(u))}},t}},2876:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(s," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},6595:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:s}=Object;let{freeze:o,seal:i,create:a}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(e){return e}),i||(i=function(e){return e}),l||(l=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});const u=w(Array.prototype.forEach),d=w(Array.prototype.pop),p=w(Array.prototype.push),f=w(String.prototype.toLowerCase),h=w(String.prototype.toString),m=w(String.prototype.match),g=w(String.prototype.replace),y=w(String.prototype.indexOf),v=w(String.prototype.trim),b=w(RegExp.prototype.test),A=(_=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),s=1;s2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let o=r.length;for(;o--;){let t=r[o];if("string"==typeof t){const e=s(t);e!==t&&(n(r)||(r[o]=e),t=e)}e[t]=!0}return e}function x(t){const n=a(null);for(const[r,o]of e(t))void 0!==s(t,r)&&(n[r]=o);return n}function S(e,t){for(;null!==e;){const n=s(e,t);if(n){if(n.get)return w(n.get);if("function"==typeof n.value)return w(n.value)}e=r(e)}return function(e){return console.warn("fallback value for",e),null}}const k=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),R=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),N=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),P=o(["#text"]),O=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),L=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),j=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),D=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=i(/\{\{[\w\W]*|[\w\W]*\}\}/gm),M=i(/<%[\w\W]*|[\w\W]*%>/gm),B=i(/\${[\w\W]*}/gm),F=i(/^data-[\-\w.\u00B7-\uFFFF]/),z=i(/^aria-[\-\w]+$/),q=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=i(/^(?:\w+script|data):/i),H=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W=i(/^html$/i);var G=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:M,TMPLIT_EXPR:B,DATA_ATTR:F,ARIA_ATTR:z,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:$,ATTR_WHITESPACE:H,DOCTYPE_NAME:W});return function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const r=e=>t(e);if(r.version="3.0.6",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;let{document:s}=n;const i=s,l=i.currentScript,{DocumentFragment:c,HTMLTemplateElement:_,Node:w,Element:U,NodeFilter:M,NamedNodeMap:B=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:F,DOMParser:z,trustedTypes:$}=n,H=U.prototype,Y=S(H,"cloneNode"),V=S(H,"nextSibling"),K=S(H,"childNodes"),Q=S(H,"parentNode");if("function"==typeof _){const e=s.createElement("template");e.content&&e.content.ownerDocument&&(s=e.content.ownerDocument)}let J,X="";const{implementation:Z,createNodeIterator:ee,createDocumentFragment:te,getElementsByTagName:ne}=s,{importNode:re}=i;let se={};r.isSupported="function"==typeof e&&"function"==typeof Q&&Z&&void 0!==Z.createHTMLDocument;const{MUSTACHE_EXPR:oe,ERB_EXPR:ie,TMPLIT_EXPR:ae,DATA_ATTR:le,ARIA_ATTR:ce,IS_SCRIPT_OR_DATA:ue,ATTR_WHITESPACE:de}=G;let{IS_ALLOWED_URI:pe}=G,fe=null;const he=C({},[...k,...E,...R,...I,...P]);let me=null;const ge=C({},[...O,...L,...j,...D]);let ye=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,be=null,Ae=!0,_e=!0,we=!1,Ce=!0,xe=!1,Se=!1,ke=!1,Ee=!1,Re=!1,Te=!1,Ie=!1,Ne=!0,Pe=!1,Oe=!0,Le=!1,je={},De=null;const Ue=C({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Me=null;const Be=C({},["audio","video","img","source","image","track"]);let Fe=null;const ze=C({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",$e="http://www.w3.org/2000/svg",He="http://www.w3.org/1999/xhtml";let We=He,Ge=!1,Ye=null;const Ve=C({},[qe,$e,He],h);let Ke=null;const Qe=["application/xhtml+xml","text/html"];let Je=null,Xe=null;const Ze=s.createElement("form"),et=function(e){return e instanceof RegExp||e instanceof Function},tt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Xe||Xe!==e){if(e&&"object"==typeof e||(e={}),e=x(e),Ke=Ke=-1===Qe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Je="application/xhtml+xml"===Ke?h:f,fe="ALLOWED_TAGS"in e?C({},e.ALLOWED_TAGS,Je):he,me="ALLOWED_ATTR"in e?C({},e.ALLOWED_ATTR,Je):ge,Ye="ALLOWED_NAMESPACES"in e?C({},e.ALLOWED_NAMESPACES,h):Ve,Fe="ADD_URI_SAFE_ATTR"in e?C(x(ze),e.ADD_URI_SAFE_ATTR,Je):ze,Me="ADD_DATA_URI_TAGS"in e?C(x(Be),e.ADD_DATA_URI_TAGS,Je):Be,De="FORBID_CONTENTS"in e?C({},e.FORBID_CONTENTS,Je):Ue,ve="FORBID_TAGS"in e?C({},e.FORBID_TAGS,Je):{},be="FORBID_ATTR"in e?C({},e.FORBID_ATTR,Je):{},je="USE_PROFILES"in e&&e.USE_PROFILES,Ae=!1!==e.ALLOW_ARIA_ATTR,_e=!1!==e.ALLOW_DATA_ATTR,we=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,xe=e.SAFE_FOR_TEMPLATES||!1,Se=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Te=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,Ee=e.FORCE_BODY||!1,Ne=!1!==e.SANITIZE_DOM,Pe=e.SANITIZE_NAMED_PROPS||!1,Oe=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,pe=e.ALLOWED_URI_REGEXP||q,We=e.NAMESPACE||He,ye=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ye.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ye.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ye.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),xe&&(_e=!1),Te&&(Re=!0),je&&(fe=C({},[...P]),me=[],!0===je.html&&(C(fe,k),C(me,O)),!0===je.svg&&(C(fe,E),C(me,L),C(me,D)),!0===je.svgFilters&&(C(fe,R),C(me,L),C(me,D)),!0===je.mathMl&&(C(fe,I),C(me,j),C(me,D))),e.ADD_TAGS&&(fe===he&&(fe=x(fe)),C(fe,e.ADD_TAGS,Je)),e.ADD_ATTR&&(me===ge&&(me=x(me)),C(me,e.ADD_ATTR,Je)),e.ADD_URI_SAFE_ATTR&&C(Fe,e.ADD_URI_SAFE_ATTR,Je),e.FORBID_CONTENTS&&(De===Ue&&(De=x(De)),C(De,e.FORBID_CONTENTS,Je)),Oe&&(fe["#text"]=!0),Se&&C(fe,["html","head","body"]),fe.table&&(C(fe,["tbody"]),delete ve.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');J=e.TRUSTED_TYPES_POLICY,X=J.createHTML("")}else void 0===J&&(J=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}}($,l)),null!==J&&"string"==typeof X&&(X=J.createHTML(""));o&&o(e),Xe=e}},nt=C({},["mi","mo","mn","ms","mtext"]),rt=C({},["foreignobject","desc","title","annotation-xml"]),st=C({},["title","style","font","a","script"]),ot=C({},E);C(ot,R),C(ot,T);const it=C({},I);C(it,N);const at=function(e){p(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},lt=function(e,t){try{p(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!me[e])if(Re||Te)try{at(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ct=function(e){let t=null,n=null;if(Ee)e=""+e;else{const t=m(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ke&&We===He&&(e=''+e+"");const r=J?J.createHTML(e):e;if(We===He)try{t=(new z).parseFromString(r,Ke)}catch(e){}if(!t||!t.documentElement){t=Z.createDocument(We,"template",null);try{t.documentElement.innerHTML=Ge?X:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(s.createTextNode(n),o.childNodes[0]||null),We===He?ne.call(t,Se?"html":"body")[0]:Se?t.documentElement:o},ut=function(e){return ee.call(e.ownerDocument||e,e,M.SHOW_ELEMENT|M.SHOW_COMMENT|M.SHOW_TEXT,null)},dt=function(e){return"function"==typeof w&&e instanceof w},pt=function(e,t,n){se[e]&&u(se[e],(e=>{e.call(r,t,n,Xe)}))},ft=function(e){let t=null;if(pt("beforeSanitizeElements",e,null),(n=e)instanceof F&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof B)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return at(e),!0;var n;const s=Je(e.nodeName);if(pt("uponSanitizeElement",e,{tagName:s,allowedTags:fe}),e.hasChildNodes()&&!dt(e.firstElementChild)&&b(/<[/\w]/g,e.innerHTML)&&b(/<[/\w]/g,e.textContent))return at(e),!0;if(!fe[s]||ve[s]){if(!ve[s]&&mt(s)){if(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,s))return!1;if(ye.tagNameCheck instanceof Function&&ye.tagNameCheck(s))return!1}if(Oe&&!De[s]){const t=Q(e)||e.parentNode,n=K(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r)t.insertBefore(Y(n[r],!0),V(e))}return at(e),!0}return e instanceof U&&!function(e){let t=Q(e);t&&t.tagName||(t={namespaceURI:We,tagName:"template"});const n=f(e.tagName),r=f(t.tagName);return!!Ye[e.namespaceURI]&&(e.namespaceURI===$e?t.namespaceURI===He?"svg"===n:t.namespaceURI===qe?"svg"===n&&("annotation-xml"===r||nt[r]):Boolean(ot[n]):e.namespaceURI===qe?t.namespaceURI===He?"math"===n:t.namespaceURI===$e?"math"===n&&rt[r]:Boolean(it[n]):e.namespaceURI===He?!(t.namespaceURI===$e&&!rt[r])&&!(t.namespaceURI===qe&&!nt[r])&&!it[n]&&(st[n]||!ot[n]):!("application/xhtml+xml"!==Ke||!Ye[e.namespaceURI]))}(e)?(at(e),!0):"noscript"!==s&&"noembed"!==s&&"noframes"!==s||!b(/<\/no(script|embed|frames)/i,e.innerHTML)?(xe&&3===e.nodeType&&(t=e.textContent,u([oe,ie,ae],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(r.removed,{element:e.cloneNode()}),e.textContent=t)),pt("afterSanitizeElements",e,null),!1):(at(e),!0)},ht=function(e,t,n){if(Ne&&("id"===t||"name"===t)&&(n in s||n in Ze))return!1;if(_e&&!be[t]&&b(le,t));else if(Ae&&b(ce,t));else if(!me[t]||be[t]){if(!(mt(e)&&(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,e)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(e))&&(ye.attributeNameCheck instanceof RegExp&&b(ye.attributeNameCheck,t)||ye.attributeNameCheck instanceof Function&&ye.attributeNameCheck(t))||"is"===t&&ye.allowCustomizedBuiltInElements&&(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,n)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(n))))return!1}else if(Fe[t]);else if(b(pe,g(n,de,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!Me[e])if(we&&!b(ue,g(n,de,"")));else if(n)return!1;return!0},mt=function(e){return e.indexOf("-")>0},gt=function(e){pt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:me};let s=t.length;for(;s--;){const o=t[s],{name:i,namespaceURI:a,value:l}=o,c=Je(i);let p="value"===i?l:v(l);if(n.attrName=c,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,pt("uponSanitizeAttribute",e,n),p=n.attrValue,n.forceKeepAttr)continue;if(lt(i,e),!n.keepAttr)continue;if(!Ce&&b(/\/>/i,p)){lt(i,e);continue}xe&&u([oe,ie,ae],(e=>{p=g(p,e," ")}));const f=Je(e.nodeName);if(ht(f,c,p)){if(!Pe||"id"!==c&&"name"!==c||(lt(i,e),p="user-content-"+p),J&&"object"==typeof $&&"function"==typeof $.getAttributeType)if(a);else switch($.getAttributeType(f,c)){case"TrustedHTML":p=J.createHTML(p);break;case"TrustedScriptURL":p=J.createScriptURL(p)}try{a?e.setAttributeNS(a,i,p):e.setAttribute(i,p),d(r.removed)}catch(e){}}}pt("afterSanitizeAttributes",e,null)},yt=function e(t){let n=null;const r=ut(t);for(pt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)pt("uponSanitizeShadowNode",n,null),ft(n)||(n.content instanceof c&&e(n.content),gt(n));pt("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,s=null,o=null,a=null;if(Ge=!e,Ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!dt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!r.isSupported)return e;if(ke||tt(t),r.removed=[],"string"==typeof e&&(Le=!1),Le){if(e.nodeName){const t=Je(e.nodeName);if(!fe[t]||ve[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof w)n=ct("\x3c!----\x3e"),s=n.ownerDocument.importNode(e,!0),1===s.nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?n=s:n.appendChild(s);else{if(!Re&&!xe&&!Se&&-1===e.indexOf("<"))return J&&Ie?J.createHTML(e):e;if(n=ct(e),!n)return Re?null:Ie?X:""}n&&Ee&&at(n.firstChild);const l=ut(Le?e:n);for(;o=l.nextNode();)ft(o)||(o.content instanceof c&&yt(o.content),gt(o));if(Le)return e;if(Re){if(Te)for(a=te.call(n.ownerDocument);n.firstChild;)a.appendChild(n.firstChild);else a=n;return(me.shadowroot||me.shadowrootmode)&&(a=re.call(i,a,!0)),a}let d=Se?n.outerHTML:n.innerHTML;return Se&&fe["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&b(W,n.ownerDocument.doctype.name)&&(d="\n"+d),xe&&u([oe,ie,ae],(e=>{d=g(d,e," ")})),J&&Ie?J.createHTML(d):d},r.setConfig=function(){tt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ke=!0},r.clearConfig=function(){Xe=null,ke=!1},r.isValidAttribute=function(e,t,n){Xe||tt({});const r=Je(e),s=Je(t);return ht(r,s,n)},r.addHook=function(e,t){"function"==typeof t&&(se[e]=se[e]||[],p(se[e],t))},r.removeHook=function(e){if(se[e])return d(se[e])},r.removeHooks=function(e){se[e]&&(se[e]=[])},r.removeAllHooks=function(){se={}},r}()}()},2232:function(e,t){var n,r;n=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,s={},o=0,i={parse:function(n,r){var a=(r=r||{}).dynamicTyping||!1;if(_(a)&&(r.dynamicTypingFunction=a,a={}),r.dynamicTyping=a,r.transform=!!_(r.transform)&&r.transform,r.worker&&i.WORKERS_SUPPORTED){var l=function(){if(!i.WORKERS_SUPPORTED)return!1;var n,r,a=(n=t.URL||t.webkitURL||null,r=e.toString(),i.BLOB_URL||(i.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),l=new t.Worker(a);return l.onmessage=g,l.id=o++,s[l.id]=l}();return l.userStep=r.step,l.userChunk=r.chunk,l.userComplete=r.complete,l.userError=r.error,r.step=_(r.step),r.chunk=_(r.chunk),r.complete=_(r.complete),r.error=_(r.error),delete r.worker,void l.postMessage({input:n,config:r,workerId:l.id})}var f=null;return i.NODE_STREAM_INPUT,"string"==typeof n?(n=function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}(n),f=r.download?new c(r):new d(r)):!0===n.readable&&_(n.read)&&_(n.on)?f=new p(r):(t.File&&n instanceof File||n instanceof Object)&&(f=new u(r)),f.stream(n)},unparse:function(e,t){var n=!1,r=!0,s=",",o="\r\n",a='"',l=a+a,c=!1,u=null,d=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||i.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(s=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(c=t.skipEmptyLines),"string"==typeof t.newline&&(o=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+a),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(d=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var p=new RegExp(h(a),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return f(null,e,c);if("object"==typeof e[0])return f(u||Object.keys(e[0]),e,c)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),f(e.fields||[],e.data||[],c);throw new Error("Unable to serialize unrecognized input");function f(e,t,n){var i="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var a=Array.isArray(e)&&0=this._config.preview;if(r)t.postMessage({results:a,workerId:i.WORKER_ID,finished:c});else if(_(this._config.chunk)&&!n){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);a=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!c||!_(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:i.WORKER_ID,error:e,finished:!1})}}function c(e){var t;(e=e||{}).chunkSize||(e.chunkSize=i.RemoteChunkSize),l.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=A(this._chunkLoaded,this),t.onerror=A(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var s=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+s)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function u(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=i.LocalChunkSize),l.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=A(this._chunkLoaded,this),t.onerror=A(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function d(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function p(e){l.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=A((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=A((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=A((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=A((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function f(e){var t,n,r,s=Math.pow(2,53),o=-s,a=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,u=0,d=0,p=!1,f=!1,g=[],y={data:[],errors:[],meta:{}};if(_(e.step)){var v=e.step;e.step=function(t){if(y=t,C())w();else{if(w(),0===y.data.length)return;u+=t.data.length,e.preview&&u>e.preview?n.abort():(y.data=y.data[0],v(y,c))}}}function A(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function w(){return y&&r&&(S("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+i.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(y.data=y.data.filter((function(e){return!A(e)}))),C()&&function(){if(y)if(Array.isArray(y.data[0])){for(var t=0;C()&&t=g.length?"__parsed_extra":g[r]),e.transform&&(i=e.transform(i,o)),i=x(o,i),"__parsed_extra"===o?(s[o]=s[o]||[],s[o].push(i)):s[o]=i}return e.header&&(r>g.length?S("FieldMismatch","TooManyFields","Too many fields: expected "+g.length+" fields but parsed "+r,d+n):r=r.length/2?"\r\n":"\r"}(s,l)),r=!1,e.delimiter)_(e.delimiter)&&(e.delimiter=e.delimiter(s),y.meta.delimiter=e.delimiter);else{var c=function(t,n,r,s,o){var a,l,c,u;o=o||[",","\t","|",";",i.RECORD_SEP,i.UNIT_SEP];for(var d=0;d=a)return G(!0)}else for(B=u,u++;;){if(-1===(B=i.indexOf(t,B+1)))return f||w.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:A.length,index:u}),H();if(B===m-1)return H(i.substring(u,B).replace(M,t));if(t!==c||i[B+1]!==c){if(t===c||0===B||i[B-1]!==c){-1!==D&&D=a)return G(!0);break}w.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:A.length,index:u}),B++}}else B++}return H();function q(e){A.push(e),x=u}function $(e){var t=0;if(-1!==e){var n=i.substring(B+1,e);n&&""===n.trim()&&(t=n.length)}return t}function H(e){return f||(void 0===e&&(e=i.substring(u)),C.push(e),u=m,q(C),b&&Y()),G()}function W(e){u=e,q(C),C=[],U=i.indexOf(r,u)}function G(e){return{data:A,errors:w,meta:{delimiter:n,linebreak:r,aborted:d,truncated:!!e,cursor:x+(p||0)}}}function Y(){o(G()),A=[],w=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return u}}function g(e){var t=e.data,n=s[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var o={abort:function(){r=!0,y(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(_(n.userStep)){for(var i=0;i{"use strict";var r=n(7200);function s(){}function o(){}o.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,o,i){if(i!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:s};return n.PropTypes=n,n}},900:(e,t,n)=>{e.exports=n(7336)()},7200:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4108:(e,t,n)=>{"use strict";var r=n(1280),s=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:s,type:e,key:c,ref:u,props:o,_owner:a.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},7e3:(e,t,n)=>{"use strict";e.exports=n(4108)},3736:e=>{e.exports=function(e,t,n,r){var s=n?n.call(r,e,t):void 0;if(void 0!==s)return!!s;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),l=0;l{"use strict";var t=[];function n(e){for(var n=-1,r=0;r{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},2940:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},9516:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7020:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var s=void 0!==n.layer;s&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,s&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9296:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},3376:(e,t,n)=>{"use strict";n.d(t,{cp:()=>Ut});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n2||H(j)>3?"":" "}function Y(e,t){for(;--t&&F()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return $(e,q()+(t<6&&32==z()&&32==F()))}function V(e){for(;F();)switch(j){case e:return L;case 34:case 39:34!==e&&39!==e&&V(j);break;case 40:41===e&&V(e);break;case 92:F()}return L}function K(e,t){for(;F()&&e+j!==57&&(e+j!==84||47!==z()););return"/*"+$(t,L-1)+"*"+b(47===e?e:F())}function Q(e){for(;!H(z());)F();return $(e,L)}function J(e,t){for(var n="",r=0;r6)switch(S(e,t+1)){case 109:if(45!==S(e,t+4))break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+d+"$2-$3$1"+u+(108==S(e,t+3)?"$3":"$2-$3"))+e;case 115:return~x(e,"stretch")?Z(C(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return C(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,s,o,i,a){return c+n+":"+r+a+(s?c+n+"-span:"+(o?i:+i-+r)+a:"")+e}));case 4949:if(121===S(e,t+6))return C(e,":",":"+d)+e;break;case 6444:switch(S(e,45===S(e,14)?18:11)){case 120:return C(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+d+(45===S(e,14)?"inline-":"")+"box$3$1"+d+"$2$3$1"+c+"$2box$3")+e;case 100:return C(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return C(e,"scroll-","scroll-snap-")+e}return e}function ee(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case h:return void(e.return=Z(e.value,e.length,n));case g:return J([M(e,{value:C(e.value,"@","@"+d)})],r);case f:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(w(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":B(M(e,{props:[C(t,/:(read-\w+)/,":"+u+"$1")]})),B(M(e,{props:[t]})),A(e,{props:I(n,r)});break;case"::placeholder":B(M(e,{props:[C(t,/:(plac\w+)/,":"+d+"input-$1")]})),B(M(e,{props:[C(t,/:(plac\w+)/,":"+u+"$1")]})),B(M(e,{props:[C(t,/:(plac\w+)/,c+"input-$1")]})),B(M(e,{props:[t]})),A(e,{props:I(n,r)})}return""}))}}function te(e){return function(e){return D="",e}(ne("",null,null,null,[""],e=function(e){return N=P=1,O=E(D=e),L=0,[]}(e),0,[0],e))}function ne(e,t,n,r,s,o,i,a,l){for(var c=0,u=0,d=i,p=0,f=0,h=0,m=1,g=1,y=1,v=0,A="",_=s,w=o,k=r,R=A;g;)switch(h=v,v=F()){case 40:if(108!=h&&58==S(R,d-1)){-1!=x(R+=C(W(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:R+=W(v);break;case 9:case 10:case 13:case 32:R+=G(h);break;case 92:R+=Y(q()-1,7);continue;case 47:switch(z()){case 42:case 47:T(se(K(F(),q()),t,n,l),l);break;default:R+="/"}break;case 123*m:a[c++]=E(R)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==y&&(R=C(R,/\f/g,"")),f>0&&E(R)-d&&T(f>32?oe(R+";",r,n,d-1,l):oe(C(R," ","")+";",r,n,d-2,l),l);break;case 59:R+=";";default:if(T(k=re(R,t,n,c,u,s,a,A,_=[],w=[],d,o),o),123===v)if(0===u)ne(R,t,k,k,_,o,d,a,w);else switch(99===p&&110===S(R,3)?100:p){case 100:case 108:case 109:case 115:ne(e,k,k,r&&T(re(e,k,k,0,0,s,a,A,s,_=[],d,w),w),s,w,d,a,r?_:w);break;default:ne(R,k,k,k,[""],w,0,a,w)}}c=u=f=0,m=y=1,A=R="",d=i;break;case 58:d=1+E(R),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==(j=L>0?S(D,--L):0,P--,10===j&&(P=1,N--),j))continue;switch(R+=b(v),v*m){case 38:y=u>0?1:(R+="\f",-1);break;case 44:a[c++]=(E(R)-1)*y,y=1;break;case 64:45===z()&&(R+=W(F())),p=z(),u=d=E(A=R+=Q(q())),v++;break;case 45:45===h&&2==E(R)&&(m=0)}}return o}function re(e,t,n,r,s,o,i,a,l,c,u,d){for(var p=s-1,h=0===s?o:[""],m=R(h),g=0,y=0,b=0;g0?h[A]+" "+w:C(w,/&\f/g,h[A])))&&(l[b++]=x);return U(e,t,n,0===s?f:a,l,c,u,d)}function se(e,t,n,r){return U(e,t,n,p,b(j),k(e,2,-2),0,r)}function oe(e,t,n,r,s){return U(e,t,n,h,k(e,0,r),k(e,r+1,-1),r,s)}const ie={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ae="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",le="undefined"!=typeof window&&"HTMLElement"in window,ce=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),ue=(new Set,Object.freeze([])),de=Object.freeze({}),pe=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),fe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,he=/(^-|-$)/g;function me(e){return e.replace(fe,"-").replace(he,"")}var ge=/(a)(d)/gi,ye=function(e){return String.fromCharCode(e+(e>25?39:97))};function ve(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ye(t%52)+n;return(ye(t%52)+n).replace(ge,"$1-$2")}var be,Ae=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},_e=function(e){return Ae(5381,e)};function we(e){return"string"==typeof e&&!0}var Ce="function"==typeof Symbol&&Symbol.for,xe=Ce?Symbol.for("react.memo"):60115,Se=Ce?Symbol.for("react.forward_ref"):60112,ke={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ee={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Re={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Te=((be={})[Se]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},be[xe]=Re,be);function Ie(e){return("type"in(t=e)&&t.type.$$typeof)===xe?Re:"$$typeof"in e?Te[e.$$typeof]:ke;var t}var Ne=Object.defineProperty,Pe=Object.getOwnPropertyNames,Oe=Object.getOwnPropertySymbols,Le=Object.getOwnPropertyDescriptor,je=Object.getPrototypeOf,De=Object.prototype;function Ue(e,t,n){if("string"!=typeof t){if(De){var r=je(t);r&&r!==De&&Ue(e,r,n)}var s=Pe(t);Oe&&(s=s.concat(Oe(t)));for(var o=Ie(e),i=Ie(t),a=0;a0?" Args: ".concat(t.join(", ")):""))}var Ge=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,s=r;e>=s;)if((s<<=1)<0)throw We(16,"".concat(e));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var o=r;o=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),s=r+n,o=r;o=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))})),r+="".concat(i).concat(a,'{content:"').concat(l,'"}').concat("/*!sc*/\n")},o=0;o0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===f&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(ut,n).replace(r,c))})),i.prefix&&u.push(ee),u.push(X);var d=function(e,s,o,a){void 0===s&&(s=""),void 0===o&&(o=""),void 0===a&&(a="&"),t=a,n=s,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(dt,""),c=te(o||s?"".concat(o," ").concat(s," { ").concat(l," }"):l);i.namespace&&(c=pt(c,i.namespace));var d,p,f,h=[];return J(c,(d=u.concat((f=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&f(e)})),p=R(d),function(e,t,n,r){for(var s="",o=0;o="A"&&e<="Z"};function wt(e){for(var t="",n=0;n>>0);if(!t.hasNameForId(this.componentId,o)){var i=n(s,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,i)}r=Fe(r,o),this.staticRulesId=o}else{for(var a=Ae(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=Fe(r,p)}}return r},e}(),Tt=i().createContext(void 0);Tt.Consumer;var It={};function Nt(e,t,n){var s=Be(e),a=e,l=!we(e),c=t.attrs,u=void 0===c?ue:c,d=t.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":me(e);It[n]=(It[n]||0)+1;var r="".concat(n,"-").concat(function(e){return ve(_e(e)>>>0)}("6.1.1"+n+It[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):d,f=t.displayName,h=void 0===f?function(e){return we(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):f,m=t.displayName&&t.componentId?"".concat(me(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&a.attrs?a.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(s&&a.shouldForwardProp){var v=a.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;y=function(e,t){return v(e,t)&&b(e,t)}}else y=v}var A=new Rt(n,m,s?a.componentStyle:void 0);function _(e,t){return function(e,t,n){var s=e.attrs,a=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=i().useContext(Tt),f=vt(),h=e.shouldForwardProp||f.shouldForwardProp,m=function(e,t,n){for(var s,o=r(r({},t),{className:void 0,theme:n}),i=0;i2&&ct.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=nt(),r=ze([n&&'nonce="'.concat(n,'"'),"".concat(ae,'="true"'),"".concat("data-styled-version",'="').concat("6.1.1",'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw We(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw We(2);var n=((t={})[ae]="",t["data-styled-version"]="6.1.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),s=nt();return s&&(n.nonce=s),[i().createElement("style",r({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ct({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw We(2);return i().createElement(bt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw We(3)}}(),"__sc-".concat(ae,"__")},4928:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("audio",{className:"edit-audio-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["audio"],className:e,icon:"format-audio",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const d=u},2312:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(7e3),s=n(900),o=n.n(s),i=n(7287);const a=({label:e,value:t,options:n,onChange:s})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BaseControl,{label:e}),n.map((e=>(0,r.jsx)(i.CheckboxControl,{label:e.label,checked:t.includes(e.value),onChange:n=>{s(n?[...t,e.value]:[...t.filter((t=>t!==e.value))])}})))]});a.propTypes={label:o().string.isRequired,value:o().arrayOf(o().string).isRequired,options:o().arrayOf(o().shape({label:o().string.isRequired,value:o().string.isRequired})).isRequired,onChange:o().func.isRequired};const l=a},8312:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(7e3),s=n(1280),o=n.n(s),i=n(3396),a=n(900),l=n.n(a),c=n(5328);class u extends o().PureComponent{static handleSubmit(e){e.preventDefault()}constructor(e){super(e),this.handleChange=this.handleChange.bind(this),this.state={error:"",success:""}}handleChange(e){const{attributeName:t,callback:n,setAttributes:r}=this.props;e.target.files&&e.target.files[0]&&(0,c.parseCSVFile)(e.target.files[0]).then((e=>n?n(e):e)).then((e=>{Array.isArray(e)&&e.length>0?(this.setState({error:"",success:(0,i.__)("Successfully read CSV data.","alley-scripts")}),r({[t]:JSON.stringify(e)})):this.setState({error:(0,i.__)("Could not map CSV data. Please check the source file to ensure that it has the correct structure.","alley-scripts"),success:""})})).catch((e=>{this.setState({error:e,success:""})}))}render(){const{error:e="",success:t=""}=this.state;return(0,r.jsxs)("div",{className:"alley-scripts-block-csv-uploader",children:[(0,r.jsx)("h2",{children:(0,i.__)("Upload CSV","alley-scripts")}),(0,r.jsxs)("form",{onSubmit:this.handleSubmit,children:[""!==e?(0,r.jsxs)("div",{style:{color:"#c00"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Error:","alley-scripts")})," ",e]}):null,""!==t?(0,r.jsxs)("div",{style:{color:"#0c0"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Success:","alley-scripts")})," ",t]}):null,(0,r.jsx)("div",{children:(0,r.jsxs)("label",{htmlFor:"alley-scripts-block-csv-uploader-file",children:[(0,r.jsx)("p",{children:(0,i.__)("Select a file to load data.","alley-scripts")}),(0,r.jsx)("input",{id:"alley-scripts-block-csv-uploader-file",onChange:this.handleChange,type:"file"})]})})]})]})}}u.defaultProps={callback:null},u.propTypes={attributeName:l().string.isRequired,callback:l().func,setAttributes:l().func.isRequired}},8348:(e,t,n)=>{"use strict";n.d(t,{default:()=>p});var r=n(7e3),s=n(3396),o=n(900),i=n.n(o),a=n(3376),l=n(7720);const c=a.cp.div` + box-sizing: border-box; + flex-shrink: 0; + height: auto; + max-height: 1450px; + max-width: 1450px; + min-height: 20px; + min-width: 20px; + position: relative; + width: auto; +`,u=({src:e})=>(0,r.jsx)(c,{children:(0,r.jsx)("img",{alt:(0,s.__)("Edit image","alley-scripts"),className:"edit-image-preview",src:e,title:(0,s.__)("Edit image","alley-scripts")})});u.propTypes={src:i().string.isRequired};const d=({className:e,imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,value:a,valueURL:c})=>(0,r.jsx)(l.MediaPicker,{allowedTypes:["image"],className:e,icon:"format-image",imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,preview:u,value:a,valueURL:c});d.defaultProps={className:"",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,valueURL:""},d.propTypes={className:i().string,imageSize:i().string,displayControlsInToolbar:i().bool,onReset:i().func.isRequired,onUpdate:i().func.isRequired,onUpdateURL:i().func,value:i().number.isRequired,valueURL:i().string};const p=d},7720:(e,t,n)=>{"use strict";n.d(t,{AudioPicker:()=>r.default,CSVUploader:()=>o.default,Checkboxes:()=>s.default,ImagePicker:()=>i.default,MediaPicker:()=>a.default,PostPicker:()=>c.default,PostSelector:()=>u.default,SafeHtml:()=>l.default,Selector:()=>d.default,Sortable:()=>p.default,SortableItem:()=>f.default,TermSelector:()=>h.default,VideoPicker:()=>m.default});var r=n(4928),s=n(2312),o=n(8312),i=n(8348),a=n(5680),l=n(9160),c=n(4808),u=n(8800),d=n(9064),p=n(8504),f=n(1917),h=n(668),m=n(5316)},5680:(e,t,n)=>{"use strict";n.d(t,{default:()=>m});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(9528),l=n(7287),c=n(7752),u=n(3396),d=n(5328);const p=i.cp.div` + display: block; + position: relative; +`,f=i.cp.div` + background: white; + border: 1px solid black; + padding: 1em; +`,h=({allowedTypes:e,className:t,icon:n,imageSize:s,displayControlsInToolbar:o,onReset:i,onUpdate:h,onUpdateURL:m,preview:g,value:y,valueURL:v})=>{const{media:b}=(0,c.useSelect)((e=>({media:y?e("core").getMedia(y):void 0})),[y]);if(0!==y&&null===b)return(0,r.jsx)(l.Spinner,{});const A=b?(0,d.getMediaUrl)(b,s):v;return A?(0,r.jsxs)(p,{className:t,children:[g?(0,r.jsx)(g,{src:A}):(0,r.jsxs)(f,{className:"alley-scripts-media-picker__preview",children:[(0,r.jsx)("p",{children:(0,u.__)("Selected file:","alley-scripts")}),(0,r.jsx)("p",{children:(0,r.jsx)("a",{href:A,children:A})})]}),o?(0,r.jsx)(a.BlockControls,{group:"other",children:(0,r.jsx)(a.MediaReplaceFlow,{name:(0,u.__)("Edit Media","alley-scripts"),mediaId:y,mediaURL:A,allowedTypes:e,onSelect:h,onSelectURL:m,children:(0,r.jsx)(l.ToolbarButton,{isDestructive:!0,text:(0,u.__)("Remove","alley-scripts"),onClick:i})})}):(0,r.jsx)(l.Button,{variant:"primary",onClick:i,children:(0,u.__)("Reset","alley-scripts")})]}):(0,r.jsx)(p,{className:t,children:(0,r.jsx)(a.MediaPlaceholder,{allowedTypes:e,disableMediaButtons:!!v,icon:(0,r.jsx)(a.BlockIcon,{icon:n}),onSelect:h,onSelectURL:m,value:{id:y,src:A}})})};h.defaultProps={allowedTypes:[],className:"",icon:"format-aside",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,preview:null,valueURL:""},h.propTypes={allowedTypes:o().arrayOf(o().string),className:o().string,icon:o().string,imageSize:o().string,displayControlsInToolbar:o().bool,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,preview:o().element,value:o().number.isRequired,valueURL:o().string};const m=h},4808:(e,t,n)=>{"use strict";n.d(t,{default:()=>F});var r=n(7e3),s=n(1280),o=n(3376),i=n(7287),a=n(3396),l=n(7204),c=n(2e3),u=n(2108),d=n.n(u),p=n(7020),f=n.n(p),h=n(7240),m=n.n(h),g=n(9516),y=n.n(g),v=n(2940),b=n.n(v),A=n(9296),_=n.n(A),w=n(9680),C={};C.styleTagTransform=_(),C.setAttributes=y(),C.insert=m().bind(null,"head"),C.domAPI=f(),C.insertStyleElement=b(),d()(w.c,C),w.c&&w.c.locals&&w.c.locals;var x=n(4632),S=n.n(x),k=n(6484),E=n.n(k),R=n(7424),T={};T.styleTagTransform=_(),T.setAttributes=y(),T.insert=m().bind(null,"head"),T.domAPI=f(),T.insertStyleElement=b(),d()(R.c,T),R.c&&R.c.locals&&R.c.locals;const I=window.wp.htmlEntities;var N=n(9160);const P=o.cp.div` + align-items: center; + gap: 4px; + overflow-wrap: anywhere; + display: flex; + flex-direction: column; + justify-content: center; + padding: 0.5rem 0.75rem; +`,O=({title:e,postType:t,attachmentID:n})=>{const s=(0,c.useMedia)(n),o=s?.media_details?.sizes?.thumbnail?.source_url,i=s?.alt_text??"";return(0,r.jsxs)(P,{children:[o?(0,r.jsx)("img",{style:{maxWidth:"100%",height:"auto"},loading:"lazy",src:o,alt:i}):null,(0,r.jsx)(N.default,{html:(0,I.decodeEntities)(e),className:"post-picker-result-title",tag:"strong"}),(0,a.sprintf)(" (%s)",t)]})},L=({baseUrl:e,searchRender:t,selected:n,setSelected:o,suppressPostIds:c=[]})=>{const[u,d]=(0,s.useState)(!1),[p,f]=(0,s.useState)([]),[h,m]=(0,s.useState)(!1),[g,y]=(0,s.useState)(0),[v,b]=(0,s.useState)({searchValue:"",page:1}),A=(0,s.useCallback)((async(t,n=!1)=>{if(t.searchValue&&t.searchValue.length<=2)return;const r=function(){let n=(0,l.addQueryArgs)(e,{page:t.page,_embed:1,exclude:c.join(",")});return t.searchValue&&t.searchValue.length>2&&(n=(0,l.addQueryArgs)(n,{search:t.searchValue})),n}();d(!0);const s=await S()({path:r,parse:!1});y(parseInt(s.headers.get("X-WP-TotalPages"),10));const o=await s.json();let i=o;t.page>1&&(i=[...p,...o]),n||(f(i),d(!1))}),[p,e,c]);return(0,s.useEffect)((()=>{let e=!1;return h||(m(!0),A(v,e)),()=>{e=!0}}),[A,h,v]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.TextControl,{value:v.searchValue,placeholder:(0,a.__)("Search...","alley-scripts"),label:(0,a.__)("Search","alley-scripts"),onChange:e=>{const t={...v,searchValue:e,page:1};b(t),A(t)}}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__post-list",children:[p?p.map((e=>(0,r.jsx)(i.Button,{className:E()({"alley-scripts-post-picker__post":!0,"is-selected":e.id===n}),onClick:()=>o(e.id),children:t?t(e):(0,r.jsx)(O,{title:e.title,postType:e.subtype,attachmentID:e?._embedded?.self[0]?.featured_media})},e.id))):null,u?(0,r.jsx)(i.Spinner,{}):null,g>0&&v.page{const e={...v,page:v.page+1};b(e),A(e)},children:(0,a.__)("Load More","alley-scripts")})}):null]})]})},j=({baseUrl:e,closeModal:t,modalTitle:n,onUpdate:o,searchRender:l,suppressPostIds:c=[]})=>{const[u,d]=(0,s.useState)();return(0,r.jsxs)(i.Modal,{className:"alley-scripts-post-picker__modal",isDismissible:!0,title:n,onRequestClose:t,closeButtonLabel:"Close",children:[(0,r.jsx)(L,{baseUrl:e,selected:u??0,setSelected:d,searchRender:l,suppressPostIds:c}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__buttons",children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:t,children:(0,a.__)("Cancel","alley-scripts")}),(0,r.jsx)(i.Button,{variant:"primary",onClick:()=>{u&&(o(u),t())},disabled:!u,children:(0,a.__)("Select","alley-scripts")})]})]})};var D=n(3800),U={};U.styleTagTransform=_(),U.setAttributes=y(),U.insert=m().bind(null,"head"),U.domAPI=f(),U.insertStyleElement=b(),d()(D.c,U),D.c&&D.c.locals&&D.c.locals;const M=o.cp.div` + display: block; + position: relative; +`,B=o.cp.div` + border: 1px solid #eee; + display: flex; + flex-direction: column; + margin: 5px 0; + padding: 0.5rem 0.75rem; + text-align: center; +`,F=({allowedTypes:e,className:t,getPostType:n,modalTitle:o=(0,a.__)("Select Post","alley-scripts"),onReset:u,onUpdate:d,params:p={},previewRender:f,replaceText:h=(0,a.__)("Replace","alley-scripts"),resetText:m=(0,a.__)("Reset","alley-scripts"),searchEndpoint:g="/wp/v2/search",searchRender:y,selectText:v=(0,a.__)("Select","alley-scripts"),suppressPostIds:b=[],title:A="",value:_=0})=>{const[w,C]=(0,s.useState)(!1),x=(0,l.addQueryArgs)(g,{type:"post",subtype:e??"any",...p}),S=(0,c.usePostById)(_,n),{featured_media:k,title:{rendered:E=""}={},type:R=""}=S||{},T=()=>{C(!0)},I=()=>(0,r.jsxs)(i.ButtonGroup,{children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:u,style:{margin:"0 4px"},children:m}),(0,r.jsx)(i.Button,{variant:"secondary",onClick:T,style:{margin:"0 4px"},children:h})]});return 0!==_&&null===S?(0,r.jsx)(i.Spinner,{}):(0,r.jsxs)(M,{className:t,children:[A?(0,r.jsx)("h4",{children:A}):null,0!==_&&void 0===S?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Notice,{status:"error",isDismissible:!1,className:"post-picker-notice",children:(0,r.jsx)("p",{children:(0,a.sprintf)((0,a.__)("Post %d is no longer available; it has been unpublished or deleted","alley-scripts"),_)})}),I()]}):null,0!==_&&void 0!==S?(0,r.jsxs)(r.Fragment,{children:[void 0!==f?f(S):(0,r.jsx)(B,{children:(0,r.jsx)(O,{title:E,postType:R,attachmentID:k})}),I()]}):null,0===_?(0,r.jsx)(i.Button,{onClick:T,variant:"secondary",children:v}):null,w?(0,r.jsx)(j,{closeModal:()=>{C(!1)},baseUrl:x,modalTitle:o,onUpdate:d,searchRender:y,suppressPostIds:b}):null]})}},8800:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d})=>(0,r.jsx)(a.Selector,{type:"post",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d});l.defaultProps={className:"",emptyLabel:(0,i.__)("No posts found","alley-scripts"),label:(0,i.__)("Search for posts","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for posts","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},9160:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(6595),o=n.n(s),i=n(900),a=n.n(i);const l=({className:e,html:t,tag:n})=>(0,r.jsx)(n,{className:e,dangerouslySetInnerHTML:{__html:o().sanitize(t)}});l.defaultProps={className:""},l.propTypes={className:a().string,html:a().string.isRequired,tag:a().string.isRequired};const c=l},9064:(e,t,n)=>{"use strict";n.d(t,{default:()=>M});var r=n(7e3),s=n(900),o=n.n(s),i=n(1280),a=n(4632),l=n.n(a),c=n(6484),u=n.n(c),d=n(7287),p=n(3396),f=n(7204);const h={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let m;const g=new Uint8Array(16);function y(){if(!m&&(m="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!m))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return m(g)}const v=[];for(let e=0;e<256;++e)v.push((e+256).toString(16).slice(1));const b=function(e,t,n){if(h.randomUUID&&!t&&!e)return h.randomUUID();const r=(e=e||{}).random||(e.rng||y)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return v[e[t+0]]+v[e[t+1]]+v[e[t+2]]+v[e[t+3]]+"-"+v[e[t+4]]+v[e[t+5]]+"-"+v[e[t+6]]+v[e[t+7]]+"-"+v[e[t+8]]+v[e[t+9]]+"-"+v[e[t+10]]+v[e[t+11]]+v[e[t+12]]+v[e[t+13]]+v[e[t+14]]+v[e[t+15]]}(r)};var A=n(2e3);const _=({emptyLabel:e,error:t,id:n,isOpen:s,labelledbyId:o,loading:i,onSelect:a,options:l,selectedItems:c,threshold:f,value:h})=>{if(!i&&(""===h||f>h.length))return null;let m="",g="";return i?(m="loading",g=(0,p.__)("Loading...","alley-scripts")):t?(m="error",g=t):i||0!==l.length||(m="no-posts",g=e),i||!i&&(h&&0===l.length||t)?(0,r.jsx)("div",{"aria-busy":!0,className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("div",{className:u()("autocomplete__dropdown--notice",`autocomplete__${m}`),children:g})}):(0,r.jsx)("div",{className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("ul",{role:"listbox","aria-labelledby":o,id:n,className:u()("autocomplete__dropdown--results","autocomplete__list"),children:l.map((e=>(0,r.jsx)("li",{className:"autocomplete__list--item",children:(0,r.jsx)(d.Button,{onClick:()=>a(e),type:"button",disabled:c.some((t=>t.id===e.id)),isTertiary:!0,children:e.title})},e.id)))})})};_.propTypes={emptyLabel:o().string.isRequired,error:o().string.isRequired,id:o().string.isRequired,isOpen:o().bool.isRequired,labelledbyId:o().string.isRequired,loading:o().bool.isRequired,options:o().arrayOf(o().shape({label:o().string,value:o().string})).isRequired,onSelect:o().func.isRequired,selectedItems:o().shape([]).isRequired,threshold:o().number.isRequired,value:o().string.isRequired};const w=_;var C=n(2108),x=n.n(C),S=n(7020),k=n.n(S),E=n(7240),R=n.n(E),T=n(9516),I=n.n(T),N=n(2940),P=n.n(N),O=n(9296),L=n.n(O),j=n(5500),D={};D.styleTagTransform=L(),D.setAttributes=I(),D.insert=R().bind(null,"head"),D.domAPI=k(),D.insertStyleElement=P(),x()(j.c,D),j.c&&j.c.locals&&j.c.locals;const U=({type:e,className:t,emptyLabel:n,label:s,maxPages:o,multiple:a,onSelect:c,placeholder:p,subTypes:h,selected:m,threshold:g})=>{const y=b(),[v,_]=(0,i.useState)(""),[C,x]=(0,i.useState)([]),[S,k]=(0,i.useState)(!1),[E,R]=(0,i.useState)(!1),[T,I]=(0,i.useState)(""),[N,P]=(0,i.useState)([]),O=(0,i.useRef)(),L=(0,A.useDebounce)(T,750),j=(0,i.useCallback)((async(t=1)=>{if(L.length0?h.join(","):"any",type:e});await l()({path:r,parse:!1}).then((e=>{const t=parseInt(e.headers.get("X-WP-TotalPages"),10);return n=t>o?o:t,e.json()})).then((e=>{x((t=>[...t,...e])),R(!1),(n&&n>t||t>=1&&a&&N.length>0)&&j(t+1)})).catch((e=>_(e.message)))}),[L,e,o,a,h,N.length,g]);(0,i.useEffect)((()=>{P(m)}),[m]),(0,i.useEffect)((()=>{L&&g<=L.length?j():x([])}),[L,j,g]);const D=e=>{k(O.current.contains(e.target))},U=e=>{"Escape"===e.key&&k(!1)};(0,i.useEffect)((()=>(document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)))),(0,i.useEffect)((()=>(O&&document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D))));const M=e=>{let t=[];if(N.some((t=>t.id===e.id))){const n=N.findIndex((t=>t.id===e.id));t=[...N.slice(0,n),...N.slice(n+1,N.length)]}else a?t=[...N,e]:(t=[e],k(!1));P(t),c(t)};return(0,r.jsx)("form",{className:"autocomplete__component",onSubmit:e=>e.preventDefault(),children:(0,r.jsxs)("div",{className:u()("components-base-control","autocomplete-base-control",t),ref:O,children:[(0,r.jsxs)("div",{"aria-expanded":S,"aria-haspopup":"listbox","aria-owns":`listbox-${y}`,className:u()("components-base-control__field","autocomplete-base-control__field"),role:"combobox",children:[(0,r.jsx)("label",{className:u()("components-base-control__label","autocomplete-base-control__label"),htmlFor:`autocomplete-${y}`,children:(0,r.jsx)("div",{children:s})}),N.length>0?(0,r.jsx)("ul",{role:"listbox","aria-labelledby":`autocomplete-${y}`,id:`selected-items-${y}`,className:u()("autocomplete__selection--results","autocomplete__selection-list"),children:N.map((e=>(0,r.jsx)("li",{className:"autocomplete__selection-list--item",children:(0,r.jsx)(d.Button,{className:"autocomplete__selection-list--item--button",isSecondary:!0,isSmall:!0,onClick:()=>M(e),type:"button",children:e.title})},e.title)))}):null,(0,r.jsx)("input",{"aria-autocomplete":"list",autoComplete:"off",className:u()("components-text-control__input","autocomplete-text-control__input",{"autocomplete-text-control__input--working":S}),id:`autocomplete-${y}`,onChange:e=>I(e.target.value),onFocus:()=>k(!0),placeholder:p,type:"text",value:T})]}),(0,r.jsx)(w,{emptyLabel:n,error:v,labelledById:`autocomplete-${y}`,id:`listbox-${y}`,isOpen:S,loading:E&&L,onSelect:M,options:C,selectedItems:N,threshold:g,value:L})]})})};U.defaultProps={type:"post",className:"",emptyLabel:(0,p.__)("No items found","alley-scripts"),label:(0,p.__)("Search for items","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,p.__)("Search for items","alley-scripts"),subTypes:[],selected:[],threshold:3},U.propTypes={type:o().string,className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const M=U},1917:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,index:t,list:n,setList:i}){return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(s.Button,{disabled:0===t,icon:"arrow-up-alt2",label:(0,o.__)("Move up","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t-1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{disabled:t===n.length-1,icon:"arrow-down-alt2",label:(0,o.__)("Move down","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t+1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{icon:"trash",label:(0,o.__)("Remove","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t,1),i(e)}})]}),(0,r.jsx)("div",{children:e})]})}},8504:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,emptyItem:t,list:n,setList:i}){return(0,r.jsxs)(r.Fragment,{children:[e,(0,r.jsx)("div",{style:{margin:"1em 0"},children:(0,r.jsx)(s.Button,{icon:"plus",onClick:()=>i([...n,t]),variant:"primary",children:(0,o.__)("Add Item","alley-scripts")})})]})}},668:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d})=>(0,r.jsx)(a.Selector,{type:"term",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d});l.defaultProps={className:"",emptyLabel:(0,i.__)("No terms found","alley-scripts"),label:(0,i.__)("Search for terms","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for terms","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},5316:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("video",{className:"edit-video-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["video"],className:e,icon:"format-video",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const d=u},2e3:(e,t,n)=>{"use strict";n.d(t,{useCurrentPostId:()=>h.default,useDebounce:()=>r.default,useHasInnerBlocks:()=>s.default,useInnerBlocks:()=>i.default,useInnerBlocksAttributes:()=>a.default,useInnerBlocksCount:()=>l.default,useInnerBlocksIndex:()=>o.default,useMedia:()=>c.default,useOption:()=>u.default,useParentBlock:()=>d.default,useParentBlockAttributes:()=>p.default,usePost:()=>f.default,usePostById:()=>m.default,usePostMeta:()=>g.default,usePostMetaValue:()=>y.default,usePosts:()=>v.default,useTerms:()=>b.default});var r=n(7112),s=n(6980),o=n(6644),i=n(864),a=n(8512),l=n(1344),c=n(592),u=n(7188),d=n(224),p=n(8004),f=n(1744),h=n(9695),m=n(9480),g=n(6504),y=n(3772),v=n(4704),b=n(1848)},9695:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=()=>(0,r.useSelect)((e=>{const t=e("core/editor");return t?t.getCurrentPostId():null}),[])},7112:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(1280);const s=(e,t)=>{const[n,s]=(0,r.useState)(e);return(0,r.useEffect)((()=>{const n=setTimeout((()=>{s(e)}),t);return()=>{clearTimeout(n)}}),[e,t]),n}},6980:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocksCount)(e)>0},6644:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>{const t=(0,r.useParentBlock)(e),n=(0,r.useInnerBlocks)(t);return n?n.findIndex((t=>t.clientId===e)):-1}},8512:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).map((e=>e.attributes))},1344:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).length},864:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>t(r.store).getBlocks(e)),[e])},592:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=e=>(0,r.useSelect)((t=>t("core").getMedia(e)),[e])},7188:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=function(e){const t=(0,r.useSelect)((t=>{const{getEditedEntityRecord:n,getEntityRecordEdits:r,isSavingEntityRecord:s}=t("core"),o=n("root","site"),i=r("root","site");return{value:o?.[e],isEdited:!!i?.[e],isSaving:s("root","site")}}),[]),{editEntityRecord:n,saveEntityRecord:s}=(0,r.useDispatch)("core");return{...t,onChange:function(t){n("root","site",void 0,{[e]:t})},onSave:async function(){await s("root","site",{[e]:t.value})}}}},8004:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlockAttributes:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},224:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlock:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},9480:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(1280),s=n(4632),o=n.n(s),i=n(7204),a=n(1744);const l=(e,t=null)=>{const[n,s]=(0,r.useState)({}),[l,c]=(0,r.useState)(!0);(0,r.useEffect)((()=>{c(!0),e&&!n[e]?(async()=>{if(t){const n=await t(e);n?s((t=>({...t,[e]:n}))):console.error(`Custom function to get post with ID ${e} failed.`)}else{const t=(0,i.addQueryArgs)("/wp/v2/search",{include:e}),n=await o()({path:t});n.length>0&&s((t=>({...t,[e]:n[0]?.subtype})))}c(!1)})():e&&n[e]&&c(!1)}),[e]);const u=(0,a.default)(e,n[e]??"");return l||!u&&n[e]?null:u}},3772:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=(e,t=null,n=null)=>{const[s,o]=(0,r.usePostMeta)(t,n);return[s[e],t=>o({...s,[e]:t})]}},6504:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null)=>{const n=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[o,i]=(0,r.useEntityProp)("postType",n,"meta",t),a="function"==typeof i?i:()=>console.error(`Error attempting to set post meta for post type ${n}. Does it have support for custom-fields?`);return["object"==typeof o?o:{},e=>a({...e})]}},1744:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>n("core").getEntityRecord("postType",t,e)),[e,t])},4704:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>{const{getEntityRecords:r}=n("core");return r("postType",t,{include:e})}),[e,t])},1848:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null,n="categories")=>{const o=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[i,a]=(0,r.useEntityProp)("postType",o,n,t);return[i,e=>a(e)]}},5328:(e,t,n)=>{"use strict";n.d(t,{getMediaUrl:()=>i.c,parseCSVFile:()=>o});var r=n(2232),s=n.n(r);const o=e=>new Promise(((t,n)=>{s().parse(e,{complete:e=>t(e.data),dynamicTyping:!0,error:e=>n(e),header:!0,skipEmptyLines:!0})}));var i=n(6199)},6199:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=(e,t="full")=>{const{media_details:{sizes:{[t]:{source_url:n=""}={},full:{source_url:r=""}={}}={}}={},sizes:{[t]:{url:s=""}={},full:{url:o=""}={}}={},source_url:i="",url:a=""}=e;return s||n||o||r||a||i||""}},1280:e=>{"use strict";e.exports=window.React},4632:e=>{"use strict";e.exports=window.wp.apiFetch},9528:e=>{"use strict";e.exports=window.wp.blockEditor},7287:e=>{"use strict";e.exports=window.wp.components},3048:e=>{"use strict";e.exports=window.wp.coreData},7752:e=>{"use strict";e.exports=window.wp.data},3396:e=>{"use strict";e.exports=window.wp.i18n},7204:e=>{"use strict";e.exports=window.wp.url}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,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 r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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.nc=void 0;var r={};return(()=>{"use strict";n.r(r),n.d(r,{AudioPicker:()=>e.AudioPicker,CSVUploader:()=>e.CSVUploader,Checkboxes:()=>e.Checkboxes,ImagePicker:()=>e.ImagePicker,MediaPicker:()=>e.MediaPicker,PostPicker:()=>e.PostPicker,PostSelector:()=>e.PostSelector,SafeHtml:()=>e.SafeHtml,Selector:()=>e.Selector,Sortable:()=>e.Sortable,SortableItem:()=>e.SortableItem,TermSelector:()=>e.TermSelector,VideoPicker:()=>e.VideoPicker,getMediaUrl:()=>s.getMediaUrl,parseCSVFile:()=>s.parseCSVFile,useCurrentPostId:()=>t.useCurrentPostId,useDebounce:()=>t.useDebounce,useHasInnerBlocks:()=>t.useHasInnerBlocks,useInnerBlocks:()=>t.useInnerBlocks,useInnerBlocksAttributes:()=>t.useInnerBlocksAttributes,useInnerBlocksCount:()=>t.useInnerBlocksCount,useInnerBlocksIndex:()=>t.useInnerBlocksIndex,useMedia:()=>t.useMedia,useOption:()=>t.useOption,useParentBlock:()=>t.useParentBlock,useParentBlockAttributes:()=>t.useParentBlockAttributes,usePost:()=>t.usePost,usePostById:()=>t.usePostById,usePostMeta:()=>t.usePostMeta,usePostMetaValue:()=>t.usePostMetaValue,usePosts:()=>t.usePosts,useTerms:()=>t.useTerms});var e=n(7720),t=n(2e3),s=n(5328)})(),r})(),e.exports=t()},542:function(e,t,n){"use strict";var r=window.wp.blocks,s=window.React,o=window.wp.i18n,i=window.wp.blockEditor,a=window.wp.data,l=n(373),c=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wp-newsletter-builder/header","version":"0.1.0","title":"Newsletter Header","category":"design","icon":"format-image","description":"Displays the header image for a newsletter","textdomain":"wp-newsletter-builder","editorScript":"file:index.ts","editorStyle":"file:index.css","style":["file:style-index.css"],"render":"file:render.php"}');(0,r.registerBlockType)(c,{edit:function(){const[e]=(0,l.usePostMeta)(),{nb_newsletter_header_img:t}=e,{media:n=null}=(0,a.useSelect)((e=>({media:t?e("core").getMedia(t):null})),[t]),r=n?n.source_url:"";return(0,s.createElement)("div",{...(0,i.useBlockProps)()},r?(0,s.createElement)("img",{src:r,alt:(0,o.__)("Header","wp-newsletter-builder")}):(0,s.createElement)("div",{className:"wp-block-wp-newsletter-builder-header__placeholder"},(0,o.__)("Newsletter Header","wp-newsletter-builder")))}})}},n={};function r(e){var s=n[e];if(void 0!==s)return s.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=function(t,n,s,o){if(!n){var i=1/0;for(u=0;u=o)&&Object.keys(r.O).every((function(e){return r.O[e](n[l])}))?n.splice(l--,1):(a=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,s,o]},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={324:0,457:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var s,o,i=n[0],a=n[1],l=n[2],c=0;if(i.some((function(t){return 0!==e[t]}))){for(s in a)r.o(a,s)&&(r.m[s]=a[s]);if(l)var u=l(r)}for(t&&t(n);c. + * @param WP_Block $block_instance The instance of the WP_Block class that represents the block being rendered. + * + * @package wp-newsletter-builder + */ +$wp_newsletter_builder_block_post_id = get_the_ID(); +if ( empty( $wp_newsletter_builder_block_post_id ) ) { + return; +} + +$wp_newsletter_builder_block_image_id = get_post_meta( $wp_newsletter_builder_block_post_id, 'nb_newsletter_header_img', true ); +if ( empty( $wp_newsletter_builder_block_image_id ) || ! is_int( $wp_newsletter_builder_block_image_id ) ) { + return; +} +// TODO: Add a check to see if the image exists. +// TODO: Get proper alt text. +?> +
role="banner" align="center"> + +
diff --git a/build/header/style-index.css b/build/header/style-index.css new file mode 100644 index 00000000..322af22c --- /dev/null +++ b/build/header/style-index.css @@ -0,0 +1 @@ +.wp-block-wp-newsletter-builder-header{margin-bottom:20px;margin-top:6px}.wp-block-wp-newsletter-builder-header__placeholder{align-items:center;aspect-ratio:16/9;border:1px dashed #000;display:flex;justify-content:center} diff --git a/build/index.js/index.asset.php b/build/index.js/index.asset.php new file mode 100644 index 00000000..f5345333 --- /dev/null +++ b/build/index.js/index.asset.php @@ -0,0 +1 @@ + array(), 'version' => '31d6cfe0d16ae931b73c'); diff --git a/build/index.js/index.js b/build/index.js/index.js new file mode 100644 index 00000000..e69de29b diff --git a/build/newsletter-status/index.asset.php b/build/newsletter-status/index.asset.php new file mode 100644 index 00000000..2fc0ee6e --- /dev/null +++ b/build/newsletter-status/index.asset.php @@ -0,0 +1 @@ + array('react', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => 'a952b462722d6aa37395'); diff --git a/build/newsletter-status/index.js b/build/newsletter-status/index.js new file mode 100644 index 00000000..75093bd9 --- /dev/null +++ b/build/newsletter-status/index.js @@ -0,0 +1 @@ +!function(){"use strict";var e={n:function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},d:function(t,n){for(var l in n)e.o(n,l)&&!e.o(t,l)&&Object.defineProperty(t,l,{enumerable:!0,get:n[l]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t=window.wp.plugins,n=window.React,l=window.wp.element,r=window.wp.editPost,u=window.wp.i18n,a=window.wp.data,i=window.wp.apiFetch,d=e.n(i),c=window.wp.components;(0,t.registerPlugin)("newsletter-status",{render:function(){const e=(0,a.select)("core/editor").getCurrentPostId(),[t,i]=(0,l.useState)({}),[w,s]=(0,l.useState)(!1),o=(0,l.useCallback)((async()=>{s(!0);const t=await d()({path:`/wp-newsletter-builder/v1/status/${e}`});i(t),s(!1)}),[e]);(0,l.useEffect)((()=>{o()}),[o]);const{Status:p="",Name:m="",Recipients:E=null,TotalOpened:_=null,UniqueOpened:b=null}=t;return(0,n.createElement)(r.PluginDocumentSettingPanel,{name:"rubric-selection",title:(0,u.__)("Newsletter Status","wp-newsletter-builder")},t?(0,n.createElement)(n.Fragment,null,(0,n.createElement)("dl",null,(0,n.createElement)("dt",null,(0,u.__)("Status","wp-newsletter-builder")),(0,n.createElement)("dd",null,p),(0,n.createElement)("dt",null,(0,u.__)("Campaign Name","wp-newsletter-builder")),(0,n.createElement)("dd",null,m),(0,n.createElement)("dt",null,(0,u.__)("Recipients","wp-newsletter-builder")),(0,n.createElement)("dd",null,E),(0,n.createElement)("dt",null,(0,u.__)("Total Opened","wp-newsletter-builder")),(0,n.createElement)("dd",null,_),(0,n.createElement)("dt",null,(0,u.__)("Unique Opened","wp-newsletter-builder")),(0,n.createElement)("dd",null,b)),(0,n.createElement)(c.Button,{onClick:o,variant:"secondary",disabled:w},(0,u.__)("Refresh","wp-newsletter-builder"))):(0,n.createElement)(c.Spinner,null))}})}(); \ No newline at end of file diff --git a/build/post-byline/block.json b/build/post-byline/block.json new file mode 100644 index 00000000..05570b3d --- /dev/null +++ b/build/post-byline/block.json @@ -0,0 +1,25 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 2, + "name": "wp-newsletter-builder/post-byline", + "version": "0.1.0", + "title": "Newsletter Post Byline", + "category": "design", + "icon": "admin-post", + "description": "Displays a post byline", + "textdomain": "wp-newsletter-builder", + "editorScript": "file:index.js", + "style": [ + "file:style-index.css" + ], + "render": "file:render.php", + "attributes": { + "overrideByline": { + "type": "string", + "default": "" + } + }, + "usesContext": [ + "postId" + ] +} \ No newline at end of file diff --git a/build/post-byline/index.asset.php b/build/post-byline/index.asset.php new file mode 100644 index 00000000..b1e35a9e --- /dev/null +++ b/build/post-byline/index.asset.php @@ -0,0 +1 @@ + array('react', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '896ee26bb2664e1a6bc6'); diff --git a/build/post-byline/index.js b/build/post-byline/index.js new file mode 100644 index 00000000..8ed0e634 --- /dev/null +++ b/build/post-byline/index.js @@ -0,0 +1,42 @@ +!function(){var e,t={373:function(e){var t;self,t=()=>(()=>{var e={6484:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e=[],t=0;t{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__post-list{display:flex;flex-wrap:wrap;float:left;height:calc(70vh - 200px);justify-content:flex-start;overflow-y:auto;padding:8px;width:100%}.alley-scripts-post-picker__post{border:1px solid #eee;height:auto;justify-content:center;margin:0 8px 8px 0;transition:background-color .2s ease-in-out;width:calc((100% - 40px)/3)}@media(min-width: 780px){.alley-scripts-post-picker__post{width:calc((100% - 40px)/5)}}.alley-scripts-post-picker__post:hover{background-color:#f5f5f5}.alley-scripts-post-picker__post.is-selected{background-color:#f5f5f5}.alley-scripts-post-picker__load-more{clear:both;float:left;text-align:center;width:100%}","",{version:3,sources:["webpack://./src/components/post-picker/post-list.scss"],names:[],mappings:"AAAA,sCACE,YAAA,CACA,cAAA,CACA,UAAA,CACA,yBAAA,CACA,0BAAA,CACA,eAAA,CACA,WAAA,CACA,UAAA,CAGF,iCACE,qBAAA,CACA,WAAA,CACA,sBAAA,CACA,kBAAA,CACA,2CAAA,CACA,2BAAA,CAGA,yBATF,iCAUI,2BAAA,CAAA,CAGF,uCACE,wBAAA,CAGF,6CACE,wBAAA,CAIJ,sCACE,UAAA,CACA,UAAA,CACA,iBAAA,CACA,UAAA",sourcesContent:[".alley-scripts-post-picker__post-list {\n display: flex;\n flex-wrap: wrap;\n float: left;\n height: calc(70vh - 200px);\n justify-content: flex-start;\n overflow-y: auto;\n padding: 8px;\n width: 100%;\n}\n\n.alley-scripts-post-picker__post {\n border: 1px solid #eee;\n height: auto;\n justify-content: center;\n margin: 0 8px 8px 0;\n transition: background-color 0.2s ease-in-out;\n width: calc((100% - 40px) / 3);\n\n\n @media (min-width: 780px) {\n width: calc((100% - 40px) / 5);\n }\n\n &:hover {\n background-color: #f5f5f5;\n }\n\n &.is-selected {\n background-color: #f5f5f5;\n }\n}\n\n.alley-scripts-post-picker__load-more {\n clear: both;\n float: left;\n text-align: center;\n width: 100%;\n}\n"],sourceRoot:""}]);const a=i},9680:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__modal .components-modal__content{width:90vw}.alley-scripts-post-picker__buttons{clear:both;display:block;text-align:right;width:100%}.alley-scripts-post-picker__buttons button{margin:5px}","",{version:3,sources:["webpack://./src/components/post-picker/search-modal.scss"],names:[],mappings:"AACE,6DACE,UAAA,CAIJ,oCACE,UAAA,CACA,aAAA,CACA,gBAAA,CACA,UAAA,CAEA,2CACE,UAAA",sourcesContent:[".alley-scripts-post-picker__modal {\n .components-modal__content {\n width: 90vw;\n }\n}\n\n.alley-scripts-post-picker__buttons {\n clear: both;\n display: block;\n text-align: right;\n width: 100%;\n\n button {\n margin: 5px;\n }\n}\n"],sourceRoot:""}]);const a=i},3800:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".post-picker-notice{margin:0 0 .5rem 0}","",{version:3,sources:["webpack://./src/components/post-picker/style.scss"],names:[],mappings:"AAAA,oBACE,kBAAA",sourcesContent:[".post-picker-notice {\n margin: 0 0 0.5rem 0;\n}\n"],sourceRoot:""}]);const a=i},5500:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,'.edit-post-sidebar .autocomplete__component,.editor-styles-wrapper .autocomplete__component{margin-bottom:20px}.edit-post-sidebar .autocomplete-base-control,.editor-styles-wrapper .autocomplete-base-control{position:relative}.edit-post-sidebar .autocomplete-text-control__input,.editor-styles-wrapper .autocomplete-text-control__input{margin:0}.edit-post-sidebar .autocomplete__selection-list,.editor-styles-wrapper .autocomplete__selection-list{list-style-type:none;margin:0 0 6px;padding:0}.edit-post-sidebar .autocomplete__selection-list--item,.editor-styles-wrapper .autocomplete__selection-list--item{display:inline-block;list-style:none}.edit-post-sidebar .autocomplete__selection-list--item--button,.editor-styles-wrapper .autocomplete__selection-list--item--button{margin-bottom:4px;margin-right:3px}.edit-post-sidebar .autocomplete__selection-list--item--button::after,.editor-styles-wrapper .autocomplete__selection-list--item--button::after{content:"×";font-size:16px;line-height:20px;margin-left:5px}.edit-post-sidebar .autocomplete__dropdown,.editor-styles-wrapper .autocomplete__dropdown{background-color:#fff;border-color:rgba(0,0,0,0) #e2e4e7 #e2e4e7;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px;left:0;max-height:0;overflow-y:hidden;position:absolute;top:calc(100% + 1px);visibility:hidden;width:100%;z-index:10}.edit-post-sidebar .autocomplete__dropdown--is-open,.editor-styles-wrapper .autocomplete__dropdown--is-open{box-shadow:0 3px 30px rgba(25,30,35,.1);max-height:225px;overflow-y:scroll;visibility:visible}.edit-post-sidebar .autocomplete__dropdown--notice,.editor-styles-wrapper .autocomplete__dropdown--notice{padding:15px}.edit-post-sidebar .autocomplete__dropdown--results,.editor-styles-wrapper .autocomplete__dropdown--results{list-style:none;margin:0;padding:0}.edit-post-sidebar .autocomplete__list--item,.editor-styles-wrapper .autocomplete__list--item{list-style:none}.edit-post-sidebar .autocomplete__list--item>button,.editor-styles-wrapper .autocomplete__list--item>button{background:rgba(0,0,0,0);border-color:#e2e4e7;border-style:solid;border-width:0 0 1px;height:100%;line-height:1.25;text-align:left;white-space:inherit;width:100%}.edit-post-sidebar .autocomplete__list--item:last-child>button,.editor-styles-wrapper .autocomplete__list--item:last-child>button{border-bottom:0}',"",{version:3,sources:["webpack://./src/components/selector/styles.scss"],names:[],mappings:"AAAA,4FAgBI,kBACE,CAAA,gGAMF,iBACE,CAAA,8GAMF,QACE,CAAA,sGAMF,oBACE,CAAA,cACA,CAAA,SACA,CAAA,kHAEA,oBACE,CAAA,eACA,CAAA,kIAEA,iBACE,CAAA,gBACA,CAAA,gJAEA,WACE,CAAA,cACA,CAAA,gBACA,CAAA,eACA,CAAA,0FASR,qBACE,CAAA,0CACA,CAAA,yBACA,CAAA,kBACA,CAAA,sBACA,CAAA,MACA,CAAA,YACA,CAAA,iBACA,CAAA,iBACA,CAAA,oBACA,CAAA,iBACA,CAAA,UACA,CAAA,UACA,CAAA,4GAGA,uCACE,CAAA,gBACA,CAAA,iBACA,CAAA,kBACA,CAAA,0GAIF,YACE,CAAA,4GAIF,eACE,CAAA,QACA,CAAA,SACA,CAAA,8FAOJ,eACE,CAAA,4GAEA,wBACE,CAAA,oBACA,CAAA,kBACA,CAAA,oBACA,CAAA,WACA,CAAA,gBACA,CAAA,eACA,CAAA,mBACA,CAAA,UACA,CAAA,kIAGF,eACE",sourcesContent:["//--------------------------------------------------------------\n// AutoComplete Styles\n//--------------------------------------------------------------\n\n/* stylelint-disable max-nesting-depth */\n\n//-----------------------------------------\n// Accommodate editor well, or the sidebar.\n//-----------------------------------------\n.edit-post-sidebar,\n.editor-styles-wrapper {\n .autocomplete {\n\n //-----------------------------------------\n // Parent form wrapper.\n //-----------------------------------------\n &__component {\n margin-bottom: 20px;\n }\n\n //-----------------------------------------\n // Wrapper\n //-----------------------------------------\n &-base-control {\n position: relative;\n }\n\n //-----------------------------------------\n // Input\n //-----------------------------------------\n &-text-control__input {\n margin: 0;\n }\n\n //-----------------------------------------\n // Selected buttons.\n //-----------------------------------------\n &__selection-list {\n list-style-type: none;\n margin: 0 0 6px;\n padding: 0;\n\n &--item {\n display: inline-block;\n list-style: none;\n\n &--button {\n margin-bottom: 4px;\n margin-right: 3px;\n\n &::after {\n content: '×';\n font-size: 16px;\n line-height: 20px;\n margin-left: 5px;\n }\n }\n }\n }\n\n //-----------------------------------------\n // Results\n //-----------------------------------------\n &__dropdown {\n background-color: #fff;\n border-color: transparent #e2e4e7 #e2e4e7;\n border-radius: 0 0 4px 4px;\n border-style: solid;\n border-width: 0 1px 1px;\n left: 0;\n max-height: 0;\n overflow-y: hidden;\n position: absolute;\n top: calc(100% + 1px); // Offset focus border.\n visibility: hidden;\n width: 100%;\n z-index: 10;\n\n // Container is open.\n &--is-open {\n box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);\n max-height: 225px;\n overflow-y: scroll;\n visibility: visible;\n }\n\n // Notice handler.\n &--notice {\n padding: 15px;\n }\n\n // Results container.\n &--results {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n }\n\n //-----------------------------------------\n // List/Results\n //-----------------------------------------\n &__list--item {\n list-style: none;\n\n > button {\n background: transparent;\n border-color: #e2e4e7;\n border-style: solid;\n border-width: 0 0 1px;\n height: 100%;\n line-height: 1.25;\n text-align: left;\n white-space: inherit;\n width: 100%;\n }\n\n &:last-child > button {\n border-bottom: 0;\n }\n }\n }\n}\n"],sourceRoot:""}]);const a=i},1849:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,s,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var a=0;a0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),s&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=s):u[4]="".concat(s)),t.push(u))}},t}},2876:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(s," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},6595:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:s}=Object;let{freeze:o,seal:i,create:a}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(e){return e}),i||(i=function(e){return e}),l||(l=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});const u=C(Array.prototype.forEach),d=C(Array.prototype.pop),p=C(Array.prototype.push),f=C(String.prototype.toLowerCase),h=C(String.prototype.toString),m=C(String.prototype.match),g=C(String.prototype.replace),y=C(String.prototype.indexOf),v=C(String.prototype.trim),b=C(RegExp.prototype.test),A=(_=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),s=1;s2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let o=r.length;for(;o--;){let t=r[o];if("string"==typeof t){const e=s(t);e!==t&&(n(r)||(r[o]=e),t=e)}e[t]=!0}return e}function x(t){const n=a(null);for(const[r,o]of e(t))void 0!==s(t,r)&&(n[r]=o);return n}function S(e,t){for(;null!==e;){const n=s(e,t);if(n){if(n.get)return C(n.get);if("function"==typeof n.value)return C(n.value)}e=r(e)}return function(e){return console.warn("fallback value for",e),null}}const k=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),R=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),N=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),P=o(["#text"]),O=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),L=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),j=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),D=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=i(/\{\{[\w\W]*|[\w\W]*\}\}/gm),M=i(/<%[\w\W]*|[\w\W]*%>/gm),B=i(/\${[\w\W]*}/gm),F=i(/^data-[\-\w.\u00B7-\uFFFF]/),z=i(/^aria-[\-\w]+$/),q=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=i(/^(?:\w+script|data):/i),H=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W=i(/^html$/i);var G=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:M,TMPLIT_EXPR:B,DATA_ATTR:F,ARIA_ATTR:z,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:$,ATTR_WHITESPACE:H,DOCTYPE_NAME:W});return function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const r=e=>t(e);if(r.version="3.0.6",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;let{document:s}=n;const i=s,l=i.currentScript,{DocumentFragment:c,HTMLTemplateElement:_,Node:C,Element:U,NodeFilter:M,NamedNodeMap:B=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:F,DOMParser:z,trustedTypes:$}=n,H=U.prototype,Y=S(H,"cloneNode"),V=S(H,"nextSibling"),K=S(H,"childNodes"),Q=S(H,"parentNode");if("function"==typeof _){const e=s.createElement("template");e.content&&e.content.ownerDocument&&(s=e.content.ownerDocument)}let J,X="";const{implementation:Z,createNodeIterator:ee,createDocumentFragment:te,getElementsByTagName:ne}=s,{importNode:re}=i;let se={};r.isSupported="function"==typeof e&&"function"==typeof Q&&Z&&void 0!==Z.createHTMLDocument;const{MUSTACHE_EXPR:oe,ERB_EXPR:ie,TMPLIT_EXPR:ae,DATA_ATTR:le,ARIA_ATTR:ce,IS_SCRIPT_OR_DATA:ue,ATTR_WHITESPACE:de}=G;let{IS_ALLOWED_URI:pe}=G,fe=null;const he=w({},[...k,...E,...R,...I,...P]);let me=null;const ge=w({},[...O,...L,...j,...D]);let ye=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,be=null,Ae=!0,_e=!0,Ce=!1,we=!0,xe=!1,Se=!1,ke=!1,Ee=!1,Re=!1,Te=!1,Ie=!1,Ne=!0,Pe=!1,Oe=!0,Le=!1,je={},De=null;const Ue=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Me=null;const Be=w({},["audio","video","img","source","image","track"]);let Fe=null;const ze=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",$e="http://www.w3.org/2000/svg",He="http://www.w3.org/1999/xhtml";let We=He,Ge=!1,Ye=null;const Ve=w({},[qe,$e,He],h);let Ke=null;const Qe=["application/xhtml+xml","text/html"];let Je=null,Xe=null;const Ze=s.createElement("form"),et=function(e){return e instanceof RegExp||e instanceof Function},tt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Xe||Xe!==e){if(e&&"object"==typeof e||(e={}),e=x(e),Ke=Ke=-1===Qe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Je="application/xhtml+xml"===Ke?h:f,fe="ALLOWED_TAGS"in e?w({},e.ALLOWED_TAGS,Je):he,me="ALLOWED_ATTR"in e?w({},e.ALLOWED_ATTR,Je):ge,Ye="ALLOWED_NAMESPACES"in e?w({},e.ALLOWED_NAMESPACES,h):Ve,Fe="ADD_URI_SAFE_ATTR"in e?w(x(ze),e.ADD_URI_SAFE_ATTR,Je):ze,Me="ADD_DATA_URI_TAGS"in e?w(x(Be),e.ADD_DATA_URI_TAGS,Je):Be,De="FORBID_CONTENTS"in e?w({},e.FORBID_CONTENTS,Je):Ue,ve="FORBID_TAGS"in e?w({},e.FORBID_TAGS,Je):{},be="FORBID_ATTR"in e?w({},e.FORBID_ATTR,Je):{},je="USE_PROFILES"in e&&e.USE_PROFILES,Ae=!1!==e.ALLOW_ARIA_ATTR,_e=!1!==e.ALLOW_DATA_ATTR,Ce=e.ALLOW_UNKNOWN_PROTOCOLS||!1,we=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,xe=e.SAFE_FOR_TEMPLATES||!1,Se=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Te=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,Ee=e.FORCE_BODY||!1,Ne=!1!==e.SANITIZE_DOM,Pe=e.SANITIZE_NAMED_PROPS||!1,Oe=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,pe=e.ALLOWED_URI_REGEXP||q,We=e.NAMESPACE||He,ye=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ye.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ye.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ye.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),xe&&(_e=!1),Te&&(Re=!0),je&&(fe=w({},[...P]),me=[],!0===je.html&&(w(fe,k),w(me,O)),!0===je.svg&&(w(fe,E),w(me,L),w(me,D)),!0===je.svgFilters&&(w(fe,R),w(me,L),w(me,D)),!0===je.mathMl&&(w(fe,I),w(me,j),w(me,D))),e.ADD_TAGS&&(fe===he&&(fe=x(fe)),w(fe,e.ADD_TAGS,Je)),e.ADD_ATTR&&(me===ge&&(me=x(me)),w(me,e.ADD_ATTR,Je)),e.ADD_URI_SAFE_ATTR&&w(Fe,e.ADD_URI_SAFE_ATTR,Je),e.FORBID_CONTENTS&&(De===Ue&&(De=x(De)),w(De,e.FORBID_CONTENTS,Je)),Oe&&(fe["#text"]=!0),Se&&w(fe,["html","head","body"]),fe.table&&(w(fe,["tbody"]),delete ve.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');J=e.TRUSTED_TYPES_POLICY,X=J.createHTML("")}else void 0===J&&(J=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}}($,l)),null!==J&&"string"==typeof X&&(X=J.createHTML(""));o&&o(e),Xe=e}},nt=w({},["mi","mo","mn","ms","mtext"]),rt=w({},["foreignobject","desc","title","annotation-xml"]),st=w({},["title","style","font","a","script"]),ot=w({},E);w(ot,R),w(ot,T);const it=w({},I);w(it,N);const at=function(e){p(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},lt=function(e,t){try{p(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!me[e])if(Re||Te)try{at(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ct=function(e){let t=null,n=null;if(Ee)e=""+e;else{const t=m(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ke&&We===He&&(e=''+e+"");const r=J?J.createHTML(e):e;if(We===He)try{t=(new z).parseFromString(r,Ke)}catch(e){}if(!t||!t.documentElement){t=Z.createDocument(We,"template",null);try{t.documentElement.innerHTML=Ge?X:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(s.createTextNode(n),o.childNodes[0]||null),We===He?ne.call(t,Se?"html":"body")[0]:Se?t.documentElement:o},ut=function(e){return ee.call(e.ownerDocument||e,e,M.SHOW_ELEMENT|M.SHOW_COMMENT|M.SHOW_TEXT,null)},dt=function(e){return"function"==typeof C&&e instanceof C},pt=function(e,t,n){se[e]&&u(se[e],(e=>{e.call(r,t,n,Xe)}))},ft=function(e){let t=null;if(pt("beforeSanitizeElements",e,null),(n=e)instanceof F&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof B)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return at(e),!0;var n;const s=Je(e.nodeName);if(pt("uponSanitizeElement",e,{tagName:s,allowedTags:fe}),e.hasChildNodes()&&!dt(e.firstElementChild)&&b(/<[/\w]/g,e.innerHTML)&&b(/<[/\w]/g,e.textContent))return at(e),!0;if(!fe[s]||ve[s]){if(!ve[s]&&mt(s)){if(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,s))return!1;if(ye.tagNameCheck instanceof Function&&ye.tagNameCheck(s))return!1}if(Oe&&!De[s]){const t=Q(e)||e.parentNode,n=K(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r)t.insertBefore(Y(n[r],!0),V(e))}return at(e),!0}return e instanceof U&&!function(e){let t=Q(e);t&&t.tagName||(t={namespaceURI:We,tagName:"template"});const n=f(e.tagName),r=f(t.tagName);return!!Ye[e.namespaceURI]&&(e.namespaceURI===$e?t.namespaceURI===He?"svg"===n:t.namespaceURI===qe?"svg"===n&&("annotation-xml"===r||nt[r]):Boolean(ot[n]):e.namespaceURI===qe?t.namespaceURI===He?"math"===n:t.namespaceURI===$e?"math"===n&&rt[r]:Boolean(it[n]):e.namespaceURI===He?!(t.namespaceURI===$e&&!rt[r])&&!(t.namespaceURI===qe&&!nt[r])&&!it[n]&&(st[n]||!ot[n]):!("application/xhtml+xml"!==Ke||!Ye[e.namespaceURI]))}(e)?(at(e),!0):"noscript"!==s&&"noembed"!==s&&"noframes"!==s||!b(/<\/no(script|embed|frames)/i,e.innerHTML)?(xe&&3===e.nodeType&&(t=e.textContent,u([oe,ie,ae],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(r.removed,{element:e.cloneNode()}),e.textContent=t)),pt("afterSanitizeElements",e,null),!1):(at(e),!0)},ht=function(e,t,n){if(Ne&&("id"===t||"name"===t)&&(n in s||n in Ze))return!1;if(_e&&!be[t]&&b(le,t));else if(Ae&&b(ce,t));else if(!me[t]||be[t]){if(!(mt(e)&&(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,e)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(e))&&(ye.attributeNameCheck instanceof RegExp&&b(ye.attributeNameCheck,t)||ye.attributeNameCheck instanceof Function&&ye.attributeNameCheck(t))||"is"===t&&ye.allowCustomizedBuiltInElements&&(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,n)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(n))))return!1}else if(Fe[t]);else if(b(pe,g(n,de,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!Me[e])if(Ce&&!b(ue,g(n,de,"")));else if(n)return!1;return!0},mt=function(e){return e.indexOf("-")>0},gt=function(e){pt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:me};let s=t.length;for(;s--;){const o=t[s],{name:i,namespaceURI:a,value:l}=o,c=Je(i);let p="value"===i?l:v(l);if(n.attrName=c,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,pt("uponSanitizeAttribute",e,n),p=n.attrValue,n.forceKeepAttr)continue;if(lt(i,e),!n.keepAttr)continue;if(!we&&b(/\/>/i,p)){lt(i,e);continue}xe&&u([oe,ie,ae],(e=>{p=g(p,e," ")}));const f=Je(e.nodeName);if(ht(f,c,p)){if(!Pe||"id"!==c&&"name"!==c||(lt(i,e),p="user-content-"+p),J&&"object"==typeof $&&"function"==typeof $.getAttributeType)if(a);else switch($.getAttributeType(f,c)){case"TrustedHTML":p=J.createHTML(p);break;case"TrustedScriptURL":p=J.createScriptURL(p)}try{a?e.setAttributeNS(a,i,p):e.setAttribute(i,p),d(r.removed)}catch(e){}}}pt("afterSanitizeAttributes",e,null)},yt=function e(t){let n=null;const r=ut(t);for(pt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)pt("uponSanitizeShadowNode",n,null),ft(n)||(n.content instanceof c&&e(n.content),gt(n));pt("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,s=null,o=null,a=null;if(Ge=!e,Ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!dt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!r.isSupported)return e;if(ke||tt(t),r.removed=[],"string"==typeof e&&(Le=!1),Le){if(e.nodeName){const t=Je(e.nodeName);if(!fe[t]||ve[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof C)n=ct("\x3c!----\x3e"),s=n.ownerDocument.importNode(e,!0),1===s.nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?n=s:n.appendChild(s);else{if(!Re&&!xe&&!Se&&-1===e.indexOf("<"))return J&&Ie?J.createHTML(e):e;if(n=ct(e),!n)return Re?null:Ie?X:""}n&&Ee&&at(n.firstChild);const l=ut(Le?e:n);for(;o=l.nextNode();)ft(o)||(o.content instanceof c&&yt(o.content),gt(o));if(Le)return e;if(Re){if(Te)for(a=te.call(n.ownerDocument);n.firstChild;)a.appendChild(n.firstChild);else a=n;return(me.shadowroot||me.shadowrootmode)&&(a=re.call(i,a,!0)),a}let d=Se?n.outerHTML:n.innerHTML;return Se&&fe["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&b(W,n.ownerDocument.doctype.name)&&(d="\n"+d),xe&&u([oe,ie,ae],(e=>{d=g(d,e," ")})),J&&Ie?J.createHTML(d):d},r.setConfig=function(){tt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ke=!0},r.clearConfig=function(){Xe=null,ke=!1},r.isValidAttribute=function(e,t,n){Xe||tt({});const r=Je(e),s=Je(t);return ht(r,s,n)},r.addHook=function(e,t){"function"==typeof t&&(se[e]=se[e]||[],p(se[e],t))},r.removeHook=function(e){if(se[e])return d(se[e])},r.removeHooks=function(e){se[e]&&(se[e]=[])},r.removeAllHooks=function(){se={}},r}()}()},2232:function(e,t){var n,r;n=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,s={},o=0,i={parse:function(n,r){var a=(r=r||{}).dynamicTyping||!1;if(_(a)&&(r.dynamicTypingFunction=a,a={}),r.dynamicTyping=a,r.transform=!!_(r.transform)&&r.transform,r.worker&&i.WORKERS_SUPPORTED){var l=function(){if(!i.WORKERS_SUPPORTED)return!1;var n,r,a=(n=t.URL||t.webkitURL||null,r=e.toString(),i.BLOB_URL||(i.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),l=new t.Worker(a);return l.onmessage=g,l.id=o++,s[l.id]=l}();return l.userStep=r.step,l.userChunk=r.chunk,l.userComplete=r.complete,l.userError=r.error,r.step=_(r.step),r.chunk=_(r.chunk),r.complete=_(r.complete),r.error=_(r.error),delete r.worker,void l.postMessage({input:n,config:r,workerId:l.id})}var f=null;return i.NODE_STREAM_INPUT,"string"==typeof n?(n=function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}(n),f=r.download?new c(r):new d(r)):!0===n.readable&&_(n.read)&&_(n.on)?f=new p(r):(t.File&&n instanceof File||n instanceof Object)&&(f=new u(r)),f.stream(n)},unparse:function(e,t){var n=!1,r=!0,s=",",o="\r\n",a='"',l=a+a,c=!1,u=null,d=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||i.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(s=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(c=t.skipEmptyLines),"string"==typeof t.newline&&(o=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+a),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(d=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var p=new RegExp(h(a),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return f(null,e,c);if("object"==typeof e[0])return f(u||Object.keys(e[0]),e,c)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),f(e.fields||[],e.data||[],c);throw new Error("Unable to serialize unrecognized input");function f(e,t,n){var i="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var a=Array.isArray(e)&&0=this._config.preview;if(r)t.postMessage({results:a,workerId:i.WORKER_ID,finished:c});else if(_(this._config.chunk)&&!n){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);a=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!c||!_(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:i.WORKER_ID,error:e,finished:!1})}}function c(e){var t;(e=e||{}).chunkSize||(e.chunkSize=i.RemoteChunkSize),l.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=A(this._chunkLoaded,this),t.onerror=A(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var s=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+s)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function u(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=i.LocalChunkSize),l.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=A(this._chunkLoaded,this),t.onerror=A(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function d(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function p(e){l.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=A((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=A((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=A((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=A((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function f(e){var t,n,r,s=Math.pow(2,53),o=-s,a=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,u=0,d=0,p=!1,f=!1,g=[],y={data:[],errors:[],meta:{}};if(_(e.step)){var v=e.step;e.step=function(t){if(y=t,w())C();else{if(C(),0===y.data.length)return;u+=t.data.length,e.preview&&u>e.preview?n.abort():(y.data=y.data[0],v(y,c))}}}function A(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function C(){return y&&r&&(S("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+i.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(y.data=y.data.filter((function(e){return!A(e)}))),w()&&function(){if(y)if(Array.isArray(y.data[0])){for(var t=0;w()&&t=g.length?"__parsed_extra":g[r]),e.transform&&(i=e.transform(i,o)),i=x(o,i),"__parsed_extra"===o?(s[o]=s[o]||[],s[o].push(i)):s[o]=i}return e.header&&(r>g.length?S("FieldMismatch","TooManyFields","Too many fields: expected "+g.length+" fields but parsed "+r,d+n):r=r.length/2?"\r\n":"\r"}(s,l)),r=!1,e.delimiter)_(e.delimiter)&&(e.delimiter=e.delimiter(s),y.meta.delimiter=e.delimiter);else{var c=function(t,n,r,s,o){var a,l,c,u;o=o||[",","\t","|",";",i.RECORD_SEP,i.UNIT_SEP];for(var d=0;d=a)return G(!0)}else for(B=u,u++;;){if(-1===(B=i.indexOf(t,B+1)))return f||C.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:A.length,index:u}),H();if(B===m-1)return H(i.substring(u,B).replace(M,t));if(t!==c||i[B+1]!==c){if(t===c||0===B||i[B-1]!==c){-1!==D&&D=a)return G(!0);break}C.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:A.length,index:u}),B++}}else B++}return H();function q(e){A.push(e),x=u}function $(e){var t=0;if(-1!==e){var n=i.substring(B+1,e);n&&""===n.trim()&&(t=n.length)}return t}function H(e){return f||(void 0===e&&(e=i.substring(u)),w.push(e),u=m,q(w),b&&Y()),G()}function W(e){u=e,q(w),w=[],U=i.indexOf(r,u)}function G(e){return{data:A,errors:C,meta:{delimiter:n,linebreak:r,aborted:d,truncated:!!e,cursor:x+(p||0)}}}function Y(){o(G()),A=[],C=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return u}}function g(e){var t=e.data,n=s[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var o={abort:function(){r=!0,y(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(_(n.userStep)){for(var i=0;i{"use strict";var r=n(7200);function s(){}function o(){}o.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,o,i){if(i!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:s};return n.PropTypes=n,n}},900:(e,t,n)=>{e.exports=n(7336)()},7200:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4108:(e,t,n)=>{"use strict";var r=n(1280),s=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:s,type:e,key:c,ref:u,props:o,_owner:a.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},7e3:(e,t,n)=>{"use strict";e.exports=n(4108)},3736:e=>{e.exports=function(e,t,n,r){var s=n?n.call(r,e,t):void 0;if(void 0!==s)return!!s;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),l=0;l{"use strict";var t=[];function n(e){for(var n=-1,r=0;r{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},2940:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},9516:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7020:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var s=void 0!==n.layer;s&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,s&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9296:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},3376:(e,t,n)=>{"use strict";n.d(t,{cp:()=>Ut});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n2||H(j)>3?"":" "}function Y(e,t){for(;--t&&F()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return $(e,q()+(t<6&&32==z()&&32==F()))}function V(e){for(;F();)switch(j){case e:return L;case 34:case 39:34!==e&&39!==e&&V(j);break;case 40:41===e&&V(e);break;case 92:F()}return L}function K(e,t){for(;F()&&e+j!==57&&(e+j!==84||47!==z()););return"/*"+$(t,L-1)+"*"+b(47===e?e:F())}function Q(e){for(;!H(z());)F();return $(e,L)}function J(e,t){for(var n="",r=0;r6)switch(S(e,t+1)){case 109:if(45!==S(e,t+4))break;case 102:return w(e,/(.+:)(.+)-([^]+)/,"$1"+d+"$2-$3$1"+u+(108==S(e,t+3)?"$3":"$2-$3"))+e;case 115:return~x(e,"stretch")?Z(w(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return w(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,s,o,i,a){return c+n+":"+r+a+(s?c+n+"-span:"+(o?i:+i-+r)+a:"")+e}));case 4949:if(121===S(e,t+6))return w(e,":",":"+d)+e;break;case 6444:switch(S(e,45===S(e,14)?18:11)){case 120:return w(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+d+(45===S(e,14)?"inline-":"")+"box$3$1"+d+"$2$3$1"+c+"$2box$3")+e;case 100:return w(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return w(e,"scroll-","scroll-snap-")+e}return e}function ee(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case h:return void(e.return=Z(e.value,e.length,n));case g:return J([M(e,{value:w(e.value,"@","@"+d)})],r);case f:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(C(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":B(M(e,{props:[w(t,/:(read-\w+)/,":"+u+"$1")]})),B(M(e,{props:[t]})),A(e,{props:I(n,r)});break;case"::placeholder":B(M(e,{props:[w(t,/:(plac\w+)/,":"+d+"input-$1")]})),B(M(e,{props:[w(t,/:(plac\w+)/,":"+u+"$1")]})),B(M(e,{props:[w(t,/:(plac\w+)/,c+"input-$1")]})),B(M(e,{props:[t]})),A(e,{props:I(n,r)})}return""}))}}function te(e){return function(e){return D="",e}(ne("",null,null,null,[""],e=function(e){return N=P=1,O=E(D=e),L=0,[]}(e),0,[0],e))}function ne(e,t,n,r,s,o,i,a,l){for(var c=0,u=0,d=i,p=0,f=0,h=0,m=1,g=1,y=1,v=0,A="",_=s,C=o,k=r,R=A;g;)switch(h=v,v=F()){case 40:if(108!=h&&58==S(R,d-1)){-1!=x(R+=w(W(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:R+=W(v);break;case 9:case 10:case 13:case 32:R+=G(h);break;case 92:R+=Y(q()-1,7);continue;case 47:switch(z()){case 42:case 47:T(se(K(F(),q()),t,n,l),l);break;default:R+="/"}break;case 123*m:a[c++]=E(R)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==y&&(R=w(R,/\f/g,"")),f>0&&E(R)-d&&T(f>32?oe(R+";",r,n,d-1,l):oe(w(R," ","")+";",r,n,d-2,l),l);break;case 59:R+=";";default:if(T(k=re(R,t,n,c,u,s,a,A,_=[],C=[],d,o),o),123===v)if(0===u)ne(R,t,k,k,_,o,d,a,C);else switch(99===p&&110===S(R,3)?100:p){case 100:case 108:case 109:case 115:ne(e,k,k,r&&T(re(e,k,k,0,0,s,a,A,s,_=[],d,C),C),s,C,d,a,r?_:C);break;default:ne(R,k,k,k,[""],C,0,a,C)}}c=u=f=0,m=y=1,A=R="",d=i;break;case 58:d=1+E(R),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==(j=L>0?S(D,--L):0,P--,10===j&&(P=1,N--),j))continue;switch(R+=b(v),v*m){case 38:y=u>0?1:(R+="\f",-1);break;case 44:a[c++]=(E(R)-1)*y,y=1;break;case 64:45===z()&&(R+=W(F())),p=z(),u=d=E(A=R+=Q(q())),v++;break;case 45:45===h&&2==E(R)&&(m=0)}}return o}function re(e,t,n,r,s,o,i,a,l,c,u,d){for(var p=s-1,h=0===s?o:[""],m=R(h),g=0,y=0,b=0;g0?h[A]+" "+C:w(C,/&\f/g,h[A])))&&(l[b++]=x);return U(e,t,n,0===s?f:a,l,c,u,d)}function se(e,t,n,r){return U(e,t,n,p,b(j),k(e,2,-2),0,r)}function oe(e,t,n,r,s){return U(e,t,n,h,k(e,0,r),k(e,r+1,-1),r,s)}const ie={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ae="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",le="undefined"!=typeof window&&"HTMLElement"in window,ce=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),ue=(new Set,Object.freeze([])),de=Object.freeze({}),pe=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),fe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,he=/(^-|-$)/g;function me(e){return e.replace(fe,"-").replace(he,"")}var ge=/(a)(d)/gi,ye=function(e){return String.fromCharCode(e+(e>25?39:97))};function ve(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ye(t%52)+n;return(ye(t%52)+n).replace(ge,"$1-$2")}var be,Ae=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},_e=function(e){return Ae(5381,e)};function Ce(e){return"string"==typeof e&&!0}var we="function"==typeof Symbol&&Symbol.for,xe=we?Symbol.for("react.memo"):60115,Se=we?Symbol.for("react.forward_ref"):60112,ke={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ee={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Re={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Te=((be={})[Se]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},be[xe]=Re,be);function Ie(e){return("type"in(t=e)&&t.type.$$typeof)===xe?Re:"$$typeof"in e?Te[e.$$typeof]:ke;var t}var Ne=Object.defineProperty,Pe=Object.getOwnPropertyNames,Oe=Object.getOwnPropertySymbols,Le=Object.getOwnPropertyDescriptor,je=Object.getPrototypeOf,De=Object.prototype;function Ue(e,t,n){if("string"!=typeof t){if(De){var r=je(t);r&&r!==De&&Ue(e,r,n)}var s=Pe(t);Oe&&(s=s.concat(Oe(t)));for(var o=Ie(e),i=Ie(t),a=0;a0?" Args: ".concat(t.join(", ")):""))}var Ge=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,s=r;e>=s;)if((s<<=1)<0)throw We(16,"".concat(e));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var o=r;o=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),s=r+n,o=r;o=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))})),r+="".concat(i).concat(a,'{content:"').concat(l,'"}').concat("/*!sc*/\n")},o=0;o0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===f&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(ut,n).replace(r,c))})),i.prefix&&u.push(ee),u.push(X);var d=function(e,s,o,a){void 0===s&&(s=""),void 0===o&&(o=""),void 0===a&&(a="&"),t=a,n=s,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(dt,""),c=te(o||s?"".concat(o," ").concat(s," { ").concat(l," }"):l);i.namespace&&(c=pt(c,i.namespace));var d,p,f,h=[];return J(c,(d=u.concat((f=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&f(e)})),p=R(d),function(e,t,n,r){for(var s="",o=0;o="A"&&e<="Z"};function Ct(e){for(var t="",n=0;n>>0);if(!t.hasNameForId(this.componentId,o)){var i=n(s,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,i)}r=Fe(r,o),this.staticRulesId=o}else{for(var a=Ae(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=Fe(r,p)}}return r},e}(),Tt=i().createContext(void 0);Tt.Consumer;var It={};function Nt(e,t,n){var s=Be(e),a=e,l=!Ce(e),c=t.attrs,u=void 0===c?ue:c,d=t.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":me(e);It[n]=(It[n]||0)+1;var r="".concat(n,"-").concat(function(e){return ve(_e(e)>>>0)}("6.1.1"+n+It[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):d,f=t.displayName,h=void 0===f?function(e){return Ce(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):f,m=t.displayName&&t.componentId?"".concat(me(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&a.attrs?a.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(s&&a.shouldForwardProp){var v=a.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;y=function(e,t){return v(e,t)&&b(e,t)}}else y=v}var A=new Rt(n,m,s?a.componentStyle:void 0);function _(e,t){return function(e,t,n){var s=e.attrs,a=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=i().useContext(Tt),f=vt(),h=e.shouldForwardProp||f.shouldForwardProp,m=function(e,t,n){for(var s,o=r(r({},t),{className:void 0,theme:n}),i=0;i2&&ct.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=nt(),r=ze([n&&'nonce="'.concat(n,'"'),"".concat(ae,'="true"'),"".concat("data-styled-version",'="').concat("6.1.1",'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw We(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw We(2);var n=((t={})[ae]="",t["data-styled-version"]="6.1.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),s=nt();return s&&(n.nonce=s),[i().createElement("style",r({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ct({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw We(2);return i().createElement(bt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw We(3)}}(),"__sc-".concat(ae,"__")},4928:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("audio",{className:"edit-audio-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["audio"],className:e,icon:"format-audio",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const d=u},2312:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(7e3),s=n(900),o=n.n(s),i=n(7287);const a=({label:e,value:t,options:n,onChange:s})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BaseControl,{label:e}),n.map((e=>(0,r.jsx)(i.CheckboxControl,{label:e.label,checked:t.includes(e.value),onChange:n=>{s(n?[...t,e.value]:[...t.filter((t=>t!==e.value))])}})))]});a.propTypes={label:o().string.isRequired,value:o().arrayOf(o().string).isRequired,options:o().arrayOf(o().shape({label:o().string.isRequired,value:o().string.isRequired})).isRequired,onChange:o().func.isRequired};const l=a},8312:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(7e3),s=n(1280),o=n.n(s),i=n(3396),a=n(900),l=n.n(a),c=n(5328);class u extends o().PureComponent{static handleSubmit(e){e.preventDefault()}constructor(e){super(e),this.handleChange=this.handleChange.bind(this),this.state={error:"",success:""}}handleChange(e){const{attributeName:t,callback:n,setAttributes:r}=this.props;e.target.files&&e.target.files[0]&&(0,c.parseCSVFile)(e.target.files[0]).then((e=>n?n(e):e)).then((e=>{Array.isArray(e)&&e.length>0?(this.setState({error:"",success:(0,i.__)("Successfully read CSV data.","alley-scripts")}),r({[t]:JSON.stringify(e)})):this.setState({error:(0,i.__)("Could not map CSV data. Please check the source file to ensure that it has the correct structure.","alley-scripts"),success:""})})).catch((e=>{this.setState({error:e,success:""})}))}render(){const{error:e="",success:t=""}=this.state;return(0,r.jsxs)("div",{className:"alley-scripts-block-csv-uploader",children:[(0,r.jsx)("h2",{children:(0,i.__)("Upload CSV","alley-scripts")}),(0,r.jsxs)("form",{onSubmit:this.handleSubmit,children:[""!==e?(0,r.jsxs)("div",{style:{color:"#c00"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Error:","alley-scripts")})," ",e]}):null,""!==t?(0,r.jsxs)("div",{style:{color:"#0c0"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Success:","alley-scripts")})," ",t]}):null,(0,r.jsx)("div",{children:(0,r.jsxs)("label",{htmlFor:"alley-scripts-block-csv-uploader-file",children:[(0,r.jsx)("p",{children:(0,i.__)("Select a file to load data.","alley-scripts")}),(0,r.jsx)("input",{id:"alley-scripts-block-csv-uploader-file",onChange:this.handleChange,type:"file"})]})})]})]})}}u.defaultProps={callback:null},u.propTypes={attributeName:l().string.isRequired,callback:l().func,setAttributes:l().func.isRequired}},8348:(e,t,n)=>{"use strict";n.d(t,{default:()=>p});var r=n(7e3),s=n(3396),o=n(900),i=n.n(o),a=n(3376),l=n(7720);const c=a.cp.div` + box-sizing: border-box; + flex-shrink: 0; + height: auto; + max-height: 1450px; + max-width: 1450px; + min-height: 20px; + min-width: 20px; + position: relative; + width: auto; +`,u=({src:e})=>(0,r.jsx)(c,{children:(0,r.jsx)("img",{alt:(0,s.__)("Edit image","alley-scripts"),className:"edit-image-preview",src:e,title:(0,s.__)("Edit image","alley-scripts")})});u.propTypes={src:i().string.isRequired};const d=({className:e,imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,value:a,valueURL:c})=>(0,r.jsx)(l.MediaPicker,{allowedTypes:["image"],className:e,icon:"format-image",imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,preview:u,value:a,valueURL:c});d.defaultProps={className:"",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,valueURL:""},d.propTypes={className:i().string,imageSize:i().string,displayControlsInToolbar:i().bool,onReset:i().func.isRequired,onUpdate:i().func.isRequired,onUpdateURL:i().func,value:i().number.isRequired,valueURL:i().string};const p=d},7720:(e,t,n)=>{"use strict";n.d(t,{AudioPicker:()=>r.default,CSVUploader:()=>o.default,Checkboxes:()=>s.default,ImagePicker:()=>i.default,MediaPicker:()=>a.default,PostPicker:()=>c.default,PostSelector:()=>u.default,SafeHtml:()=>l.default,Selector:()=>d.default,Sortable:()=>p.default,SortableItem:()=>f.default,TermSelector:()=>h.default,VideoPicker:()=>m.default});var r=n(4928),s=n(2312),o=n(8312),i=n(8348),a=n(5680),l=n(9160),c=n(4808),u=n(8800),d=n(9064),p=n(8504),f=n(1917),h=n(668),m=n(5316)},5680:(e,t,n)=>{"use strict";n.d(t,{default:()=>m});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(9528),l=n(7287),c=n(7752),u=n(3396),d=n(5328);const p=i.cp.div` + display: block; + position: relative; +`,f=i.cp.div` + background: white; + border: 1px solid black; + padding: 1em; +`,h=({allowedTypes:e,className:t,icon:n,imageSize:s,displayControlsInToolbar:o,onReset:i,onUpdate:h,onUpdateURL:m,preview:g,value:y,valueURL:v})=>{const{media:b}=(0,c.useSelect)((e=>({media:y?e("core").getMedia(y):void 0})),[y]);if(0!==y&&null===b)return(0,r.jsx)(l.Spinner,{});const A=b?(0,d.getMediaUrl)(b,s):v;return A?(0,r.jsxs)(p,{className:t,children:[g?(0,r.jsx)(g,{src:A}):(0,r.jsxs)(f,{className:"alley-scripts-media-picker__preview",children:[(0,r.jsx)("p",{children:(0,u.__)("Selected file:","alley-scripts")}),(0,r.jsx)("p",{children:(0,r.jsx)("a",{href:A,children:A})})]}),o?(0,r.jsx)(a.BlockControls,{group:"other",children:(0,r.jsx)(a.MediaReplaceFlow,{name:(0,u.__)("Edit Media","alley-scripts"),mediaId:y,mediaURL:A,allowedTypes:e,onSelect:h,onSelectURL:m,children:(0,r.jsx)(l.ToolbarButton,{isDestructive:!0,text:(0,u.__)("Remove","alley-scripts"),onClick:i})})}):(0,r.jsx)(l.Button,{variant:"primary",onClick:i,children:(0,u.__)("Reset","alley-scripts")})]}):(0,r.jsx)(p,{className:t,children:(0,r.jsx)(a.MediaPlaceholder,{allowedTypes:e,disableMediaButtons:!!v,icon:(0,r.jsx)(a.BlockIcon,{icon:n}),onSelect:h,onSelectURL:m,value:{id:y,src:A}})})};h.defaultProps={allowedTypes:[],className:"",icon:"format-aside",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,preview:null,valueURL:""},h.propTypes={allowedTypes:o().arrayOf(o().string),className:o().string,icon:o().string,imageSize:o().string,displayControlsInToolbar:o().bool,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,preview:o().element,value:o().number.isRequired,valueURL:o().string};const m=h},4808:(e,t,n)=>{"use strict";n.d(t,{default:()=>F});var r=n(7e3),s=n(1280),o=n(3376),i=n(7287),a=n(3396),l=n(7204),c=n(2e3),u=n(2108),d=n.n(u),p=n(7020),f=n.n(p),h=n(7240),m=n.n(h),g=n(9516),y=n.n(g),v=n(2940),b=n.n(v),A=n(9296),_=n.n(A),C=n(9680),w={};w.styleTagTransform=_(),w.setAttributes=y(),w.insert=m().bind(null,"head"),w.domAPI=f(),w.insertStyleElement=b(),d()(C.c,w),C.c&&C.c.locals&&C.c.locals;var x=n(4632),S=n.n(x),k=n(6484),E=n.n(k),R=n(7424),T={};T.styleTagTransform=_(),T.setAttributes=y(),T.insert=m().bind(null,"head"),T.domAPI=f(),T.insertStyleElement=b(),d()(R.c,T),R.c&&R.c.locals&&R.c.locals;const I=window.wp.htmlEntities;var N=n(9160);const P=o.cp.div` + align-items: center; + gap: 4px; + overflow-wrap: anywhere; + display: flex; + flex-direction: column; + justify-content: center; + padding: 0.5rem 0.75rem; +`,O=({title:e,postType:t,attachmentID:n})=>{const s=(0,c.useMedia)(n),o=s?.media_details?.sizes?.thumbnail?.source_url,i=s?.alt_text??"";return(0,r.jsxs)(P,{children:[o?(0,r.jsx)("img",{style:{maxWidth:"100%",height:"auto"},loading:"lazy",src:o,alt:i}):null,(0,r.jsx)(N.default,{html:(0,I.decodeEntities)(e),className:"post-picker-result-title",tag:"strong"}),(0,a.sprintf)(" (%s)",t)]})},L=({baseUrl:e,searchRender:t,selected:n,setSelected:o,suppressPostIds:c=[]})=>{const[u,d]=(0,s.useState)(!1),[p,f]=(0,s.useState)([]),[h,m]=(0,s.useState)(!1),[g,y]=(0,s.useState)(0),[v,b]=(0,s.useState)({searchValue:"",page:1}),A=(0,s.useCallback)((async(t,n=!1)=>{if(t.searchValue&&t.searchValue.length<=2)return;const r=function(){let n=(0,l.addQueryArgs)(e,{page:t.page,_embed:1,exclude:c.join(",")});return t.searchValue&&t.searchValue.length>2&&(n=(0,l.addQueryArgs)(n,{search:t.searchValue})),n}();d(!0);const s=await S()({path:r,parse:!1});y(parseInt(s.headers.get("X-WP-TotalPages"),10));const o=await s.json();let i=o;t.page>1&&(i=[...p,...o]),n||(f(i),d(!1))}),[p,e,c]);return(0,s.useEffect)((()=>{let e=!1;return h||(m(!0),A(v,e)),()=>{e=!0}}),[A,h,v]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.TextControl,{value:v.searchValue,placeholder:(0,a.__)("Search...","alley-scripts"),label:(0,a.__)("Search","alley-scripts"),onChange:e=>{const t={...v,searchValue:e,page:1};b(t),A(t)}}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__post-list",children:[p?p.map((e=>(0,r.jsx)(i.Button,{className:E()({"alley-scripts-post-picker__post":!0,"is-selected":e.id===n}),onClick:()=>o(e.id),children:t?t(e):(0,r.jsx)(O,{title:e.title,postType:e.subtype,attachmentID:e?._embedded?.self[0]?.featured_media})},e.id))):null,u?(0,r.jsx)(i.Spinner,{}):null,g>0&&v.page{const e={...v,page:v.page+1};b(e),A(e)},children:(0,a.__)("Load More","alley-scripts")})}):null]})]})},j=({baseUrl:e,closeModal:t,modalTitle:n,onUpdate:o,searchRender:l,suppressPostIds:c=[]})=>{const[u,d]=(0,s.useState)();return(0,r.jsxs)(i.Modal,{className:"alley-scripts-post-picker__modal",isDismissible:!0,title:n,onRequestClose:t,closeButtonLabel:"Close",children:[(0,r.jsx)(L,{baseUrl:e,selected:u??0,setSelected:d,searchRender:l,suppressPostIds:c}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__buttons",children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:t,children:(0,a.__)("Cancel","alley-scripts")}),(0,r.jsx)(i.Button,{variant:"primary",onClick:()=>{u&&(o(u),t())},disabled:!u,children:(0,a.__)("Select","alley-scripts")})]})]})};var D=n(3800),U={};U.styleTagTransform=_(),U.setAttributes=y(),U.insert=m().bind(null,"head"),U.domAPI=f(),U.insertStyleElement=b(),d()(D.c,U),D.c&&D.c.locals&&D.c.locals;const M=o.cp.div` + display: block; + position: relative; +`,B=o.cp.div` + border: 1px solid #eee; + display: flex; + flex-direction: column; + margin: 5px 0; + padding: 0.5rem 0.75rem; + text-align: center; +`,F=({allowedTypes:e,className:t,getPostType:n,modalTitle:o=(0,a.__)("Select Post","alley-scripts"),onReset:u,onUpdate:d,params:p={},previewRender:f,replaceText:h=(0,a.__)("Replace","alley-scripts"),resetText:m=(0,a.__)("Reset","alley-scripts"),searchEndpoint:g="/wp/v2/search",searchRender:y,selectText:v=(0,a.__)("Select","alley-scripts"),suppressPostIds:b=[],title:A="",value:_=0})=>{const[C,w]=(0,s.useState)(!1),x=(0,l.addQueryArgs)(g,{type:"post",subtype:e??"any",...p}),S=(0,c.usePostById)(_,n),{featured_media:k,title:{rendered:E=""}={},type:R=""}=S||{},T=()=>{w(!0)},I=()=>(0,r.jsxs)(i.ButtonGroup,{children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:u,style:{margin:"0 4px"},children:m}),(0,r.jsx)(i.Button,{variant:"secondary",onClick:T,style:{margin:"0 4px"},children:h})]});return 0!==_&&null===S?(0,r.jsx)(i.Spinner,{}):(0,r.jsxs)(M,{className:t,children:[A?(0,r.jsx)("h4",{children:A}):null,0!==_&&void 0===S?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Notice,{status:"error",isDismissible:!1,className:"post-picker-notice",children:(0,r.jsx)("p",{children:(0,a.sprintf)((0,a.__)("Post %d is no longer available; it has been unpublished or deleted","alley-scripts"),_)})}),I()]}):null,0!==_&&void 0!==S?(0,r.jsxs)(r.Fragment,{children:[void 0!==f?f(S):(0,r.jsx)(B,{children:(0,r.jsx)(O,{title:E,postType:R,attachmentID:k})}),I()]}):null,0===_?(0,r.jsx)(i.Button,{onClick:T,variant:"secondary",children:v}):null,C?(0,r.jsx)(j,{closeModal:()=>{w(!1)},baseUrl:x,modalTitle:o,onUpdate:d,searchRender:y,suppressPostIds:b}):null]})}},8800:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d})=>(0,r.jsx)(a.Selector,{type:"post",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d});l.defaultProps={className:"",emptyLabel:(0,i.__)("No posts found","alley-scripts"),label:(0,i.__)("Search for posts","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for posts","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},9160:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(6595),o=n.n(s),i=n(900),a=n.n(i);const l=({className:e,html:t,tag:n})=>(0,r.jsx)(n,{className:e,dangerouslySetInnerHTML:{__html:o().sanitize(t)}});l.defaultProps={className:""},l.propTypes={className:a().string,html:a().string.isRequired,tag:a().string.isRequired};const c=l},9064:(e,t,n)=>{"use strict";n.d(t,{default:()=>M});var r=n(7e3),s=n(900),o=n.n(s),i=n(1280),a=n(4632),l=n.n(a),c=n(6484),u=n.n(c),d=n(7287),p=n(3396),f=n(7204);const h={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let m;const g=new Uint8Array(16);function y(){if(!m&&(m="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!m))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return m(g)}const v=[];for(let e=0;e<256;++e)v.push((e+256).toString(16).slice(1));const b=function(e,t,n){if(h.randomUUID&&!t&&!e)return h.randomUUID();const r=(e=e||{}).random||(e.rng||y)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return v[e[t+0]]+v[e[t+1]]+v[e[t+2]]+v[e[t+3]]+"-"+v[e[t+4]]+v[e[t+5]]+"-"+v[e[t+6]]+v[e[t+7]]+"-"+v[e[t+8]]+v[e[t+9]]+"-"+v[e[t+10]]+v[e[t+11]]+v[e[t+12]]+v[e[t+13]]+v[e[t+14]]+v[e[t+15]]}(r)};var A=n(2e3);const _=({emptyLabel:e,error:t,id:n,isOpen:s,labelledbyId:o,loading:i,onSelect:a,options:l,selectedItems:c,threshold:f,value:h})=>{if(!i&&(""===h||f>h.length))return null;let m="",g="";return i?(m="loading",g=(0,p.__)("Loading...","alley-scripts")):t?(m="error",g=t):i||0!==l.length||(m="no-posts",g=e),i||!i&&(h&&0===l.length||t)?(0,r.jsx)("div",{"aria-busy":!0,className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("div",{className:u()("autocomplete__dropdown--notice",`autocomplete__${m}`),children:g})}):(0,r.jsx)("div",{className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("ul",{role:"listbox","aria-labelledby":o,id:n,className:u()("autocomplete__dropdown--results","autocomplete__list"),children:l.map((e=>(0,r.jsx)("li",{className:"autocomplete__list--item",children:(0,r.jsx)(d.Button,{onClick:()=>a(e),type:"button",disabled:c.some((t=>t.id===e.id)),isTertiary:!0,children:e.title})},e.id)))})})};_.propTypes={emptyLabel:o().string.isRequired,error:o().string.isRequired,id:o().string.isRequired,isOpen:o().bool.isRequired,labelledbyId:o().string.isRequired,loading:o().bool.isRequired,options:o().arrayOf(o().shape({label:o().string,value:o().string})).isRequired,onSelect:o().func.isRequired,selectedItems:o().shape([]).isRequired,threshold:o().number.isRequired,value:o().string.isRequired};const C=_;var w=n(2108),x=n.n(w),S=n(7020),k=n.n(S),E=n(7240),R=n.n(E),T=n(9516),I=n.n(T),N=n(2940),P=n.n(N),O=n(9296),L=n.n(O),j=n(5500),D={};D.styleTagTransform=L(),D.setAttributes=I(),D.insert=R().bind(null,"head"),D.domAPI=k(),D.insertStyleElement=P(),x()(j.c,D),j.c&&j.c.locals&&j.c.locals;const U=({type:e,className:t,emptyLabel:n,label:s,maxPages:o,multiple:a,onSelect:c,placeholder:p,subTypes:h,selected:m,threshold:g})=>{const y=b(),[v,_]=(0,i.useState)(""),[w,x]=(0,i.useState)([]),[S,k]=(0,i.useState)(!1),[E,R]=(0,i.useState)(!1),[T,I]=(0,i.useState)(""),[N,P]=(0,i.useState)([]),O=(0,i.useRef)(),L=(0,A.useDebounce)(T,750),j=(0,i.useCallback)((async(t=1)=>{if(L.length0?h.join(","):"any",type:e});await l()({path:r,parse:!1}).then((e=>{const t=parseInt(e.headers.get("X-WP-TotalPages"),10);return n=t>o?o:t,e.json()})).then((e=>{x((t=>[...t,...e])),R(!1),(n&&n>t||t>=1&&a&&N.length>0)&&j(t+1)})).catch((e=>_(e.message)))}),[L,e,o,a,h,N.length,g]);(0,i.useEffect)((()=>{P(m)}),[m]),(0,i.useEffect)((()=>{L&&g<=L.length?j():x([])}),[L,j,g]);const D=e=>{k(O.current.contains(e.target))},U=e=>{"Escape"===e.key&&k(!1)};(0,i.useEffect)((()=>(document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)))),(0,i.useEffect)((()=>(O&&document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D))));const M=e=>{let t=[];if(N.some((t=>t.id===e.id))){const n=N.findIndex((t=>t.id===e.id));t=[...N.slice(0,n),...N.slice(n+1,N.length)]}else a?t=[...N,e]:(t=[e],k(!1));P(t),c(t)};return(0,r.jsx)("form",{className:"autocomplete__component",onSubmit:e=>e.preventDefault(),children:(0,r.jsxs)("div",{className:u()("components-base-control","autocomplete-base-control",t),ref:O,children:[(0,r.jsxs)("div",{"aria-expanded":S,"aria-haspopup":"listbox","aria-owns":`listbox-${y}`,className:u()("components-base-control__field","autocomplete-base-control__field"),role:"combobox",children:[(0,r.jsx)("label",{className:u()("components-base-control__label","autocomplete-base-control__label"),htmlFor:`autocomplete-${y}`,children:(0,r.jsx)("div",{children:s})}),N.length>0?(0,r.jsx)("ul",{role:"listbox","aria-labelledby":`autocomplete-${y}`,id:`selected-items-${y}`,className:u()("autocomplete__selection--results","autocomplete__selection-list"),children:N.map((e=>(0,r.jsx)("li",{className:"autocomplete__selection-list--item",children:(0,r.jsx)(d.Button,{className:"autocomplete__selection-list--item--button",isSecondary:!0,isSmall:!0,onClick:()=>M(e),type:"button",children:e.title})},e.title)))}):null,(0,r.jsx)("input",{"aria-autocomplete":"list",autoComplete:"off",className:u()("components-text-control__input","autocomplete-text-control__input",{"autocomplete-text-control__input--working":S}),id:`autocomplete-${y}`,onChange:e=>I(e.target.value),onFocus:()=>k(!0),placeholder:p,type:"text",value:T})]}),(0,r.jsx)(C,{emptyLabel:n,error:v,labelledById:`autocomplete-${y}`,id:`listbox-${y}`,isOpen:S,loading:E&&L,onSelect:M,options:w,selectedItems:N,threshold:g,value:L})]})})};U.defaultProps={type:"post",className:"",emptyLabel:(0,p.__)("No items found","alley-scripts"),label:(0,p.__)("Search for items","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,p.__)("Search for items","alley-scripts"),subTypes:[],selected:[],threshold:3},U.propTypes={type:o().string,className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const M=U},1917:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,index:t,list:n,setList:i}){return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(s.Button,{disabled:0===t,icon:"arrow-up-alt2",label:(0,o.__)("Move up","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t-1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{disabled:t===n.length-1,icon:"arrow-down-alt2",label:(0,o.__)("Move down","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t+1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{icon:"trash",label:(0,o.__)("Remove","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t,1),i(e)}})]}),(0,r.jsx)("div",{children:e})]})}},8504:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,emptyItem:t,list:n,setList:i}){return(0,r.jsxs)(r.Fragment,{children:[e,(0,r.jsx)("div",{style:{margin:"1em 0"},children:(0,r.jsx)(s.Button,{icon:"plus",onClick:()=>i([...n,t]),variant:"primary",children:(0,o.__)("Add Item","alley-scripts")})})]})}},668:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d})=>(0,r.jsx)(a.Selector,{type:"term",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d});l.defaultProps={className:"",emptyLabel:(0,i.__)("No terms found","alley-scripts"),label:(0,i.__)("Search for terms","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for terms","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},5316:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("video",{className:"edit-video-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["video"],className:e,icon:"format-video",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const d=u},2e3:(e,t,n)=>{"use strict";n.d(t,{useCurrentPostId:()=>h.default,useDebounce:()=>r.default,useHasInnerBlocks:()=>s.default,useInnerBlocks:()=>i.default,useInnerBlocksAttributes:()=>a.default,useInnerBlocksCount:()=>l.default,useInnerBlocksIndex:()=>o.default,useMedia:()=>c.default,useOption:()=>u.default,useParentBlock:()=>d.default,useParentBlockAttributes:()=>p.default,usePost:()=>f.default,usePostById:()=>m.default,usePostMeta:()=>g.default,usePostMetaValue:()=>y.default,usePosts:()=>v.default,useTerms:()=>b.default});var r=n(7112),s=n(6980),o=n(6644),i=n(864),a=n(8512),l=n(1344),c=n(592),u=n(7188),d=n(224),p=n(8004),f=n(1744),h=n(9695),m=n(9480),g=n(6504),y=n(3772),v=n(4704),b=n(1848)},9695:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=()=>(0,r.useSelect)((e=>{const t=e("core/editor");return t?t.getCurrentPostId():null}),[])},7112:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(1280);const s=(e,t)=>{const[n,s]=(0,r.useState)(e);return(0,r.useEffect)((()=>{const n=setTimeout((()=>{s(e)}),t);return()=>{clearTimeout(n)}}),[e,t]),n}},6980:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocksCount)(e)>0},6644:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>{const t=(0,r.useParentBlock)(e),n=(0,r.useInnerBlocks)(t);return n?n.findIndex((t=>t.clientId===e)):-1}},8512:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).map((e=>e.attributes))},1344:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).length},864:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>t(r.store).getBlocks(e)),[e])},592:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=e=>(0,r.useSelect)((t=>t("core").getMedia(e)),[e])},7188:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=function(e){const t=(0,r.useSelect)((t=>{const{getEditedEntityRecord:n,getEntityRecordEdits:r,isSavingEntityRecord:s}=t("core"),o=n("root","site"),i=r("root","site");return{value:o?.[e],isEdited:!!i?.[e],isSaving:s("root","site")}}),[]),{editEntityRecord:n,saveEntityRecord:s}=(0,r.useDispatch)("core");return{...t,onChange:function(t){n("root","site",void 0,{[e]:t})},onSave:async function(){await s("root","site",{[e]:t.value})}}}},8004:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlockAttributes:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},224:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlock:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},9480:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(1280),s=n(4632),o=n.n(s),i=n(7204),a=n(1744);const l=(e,t=null)=>{const[n,s]=(0,r.useState)({}),[l,c]=(0,r.useState)(!0);(0,r.useEffect)((()=>{c(!0),e&&!n[e]?(async()=>{if(t){const n=await t(e);n?s((t=>({...t,[e]:n}))):console.error(`Custom function to get post with ID ${e} failed.`)}else{const t=(0,i.addQueryArgs)("/wp/v2/search",{include:e}),n=await o()({path:t});n.length>0&&s((t=>({...t,[e]:n[0]?.subtype})))}c(!1)})():e&&n[e]&&c(!1)}),[e]);const u=(0,a.default)(e,n[e]??"");return l||!u&&n[e]?null:u}},3772:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=(e,t=null,n=null)=>{const[s,o]=(0,r.usePostMeta)(t,n);return[s[e],t=>o({...s,[e]:t})]}},6504:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null)=>{const n=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[o,i]=(0,r.useEntityProp)("postType",n,"meta",t),a="function"==typeof i?i:()=>console.error(`Error attempting to set post meta for post type ${n}. Does it have support for custom-fields?`);return["object"==typeof o?o:{},e=>a({...e})]}},1744:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>n("core").getEntityRecord("postType",t,e)),[e,t])},4704:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>{const{getEntityRecords:r}=n("core");return r("postType",t,{include:e})}),[e,t])},1848:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null,n="categories")=>{const o=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[i,a]=(0,r.useEntityProp)("postType",o,n,t);return[i,e=>a(e)]}},5328:(e,t,n)=>{"use strict";n.d(t,{getMediaUrl:()=>i.c,parseCSVFile:()=>o});var r=n(2232),s=n.n(r);const o=e=>new Promise(((t,n)=>{s().parse(e,{complete:e=>t(e.data),dynamicTyping:!0,error:e=>n(e),header:!0,skipEmptyLines:!0})}));var i=n(6199)},6199:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=(e,t="full")=>{const{media_details:{sizes:{[t]:{source_url:n=""}={},full:{source_url:r=""}={}}={}}={},sizes:{[t]:{url:s=""}={},full:{url:o=""}={}}={},source_url:i="",url:a=""}=e;return s||n||o||r||a||i||""}},1280:e=>{"use strict";e.exports=window.React},4632:e=>{"use strict";e.exports=window.wp.apiFetch},9528:e=>{"use strict";e.exports=window.wp.blockEditor},7287:e=>{"use strict";e.exports=window.wp.components},3048:e=>{"use strict";e.exports=window.wp.coreData},7752:e=>{"use strict";e.exports=window.wp.data},3396:e=>{"use strict";e.exports=window.wp.i18n},7204:e=>{"use strict";e.exports=window.wp.url}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,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 r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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.nc=void 0;var r={};return(()=>{"use strict";n.r(r),n.d(r,{AudioPicker:()=>e.AudioPicker,CSVUploader:()=>e.CSVUploader,Checkboxes:()=>e.Checkboxes,ImagePicker:()=>e.ImagePicker,MediaPicker:()=>e.MediaPicker,PostPicker:()=>e.PostPicker,PostSelector:()=>e.PostSelector,SafeHtml:()=>e.SafeHtml,Selector:()=>e.Selector,Sortable:()=>e.Sortable,SortableItem:()=>e.SortableItem,TermSelector:()=>e.TermSelector,VideoPicker:()=>e.VideoPicker,getMediaUrl:()=>s.getMediaUrl,parseCSVFile:()=>s.parseCSVFile,useCurrentPostId:()=>t.useCurrentPostId,useDebounce:()=>t.useDebounce,useHasInnerBlocks:()=>t.useHasInnerBlocks,useInnerBlocks:()=>t.useInnerBlocks,useInnerBlocksAttributes:()=>t.useInnerBlocksAttributes,useInnerBlocksCount:()=>t.useInnerBlocksCount,useInnerBlocksIndex:()=>t.useInnerBlocksIndex,useMedia:()=>t.useMedia,useOption:()=>t.useOption,useParentBlock:()=>t.useParentBlock,useParentBlockAttributes:()=>t.useParentBlockAttributes,usePost:()=>t.usePost,usePostById:()=>t.usePostById,usePostMeta:()=>t.usePostMeta,usePostMetaValue:()=>t.usePostMetaValue,usePosts:()=>t.usePosts,useTerms:()=>t.useTerms});var e=n(7720),t=n(2e3),s=n(5328)})(),r})(),e.exports=t()},851:function(e,t,n){"use strict";var r=window.wp.blocks,s=window.React,o=n(373),i=window.wp.i18n,a=window.wp.blockEditor,l=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wp-newsletter-builder/post-byline","version":"0.1.0","title":"Newsletter Post Byline","category":"design","icon":"admin-post","description":"Displays a post byline","textdomain":"wp-newsletter-builder","editorScript":"file:index.ts","style":["file:style-index.css"],"render":"file:render.php","attributes":{"overrideByline":{"type":"string","default":""}},"usesContext":["postId"]}');(0,r.registerBlockType)(l,{edit:function(e){var t;let{attributes:{overrideByline:n},context:{postId:r},setAttributes:l}=e;const c=null!==(t=(0,o.usePostById)(r))&&void 0!==t?t:null;let u=c?c.wp_newsletter_builder_byline:(0,i.__)("Post Byline","wp-newsletter-builder");return u=n||u,(0,s.createElement)("p",{...(0,a.useBlockProps)({className:"post__byline"})},(0,s.createElement)(a.RichText,{value:u,tagName:"span",onChange:e=>l({overrideByline:e}),allowedFormats:[]}))}})}},n={};function r(e){var s=n[e];if(void 0!==s)return s.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=function(t,n,s,o){if(!n){var i=1/0;for(u=0;u=o)&&Object.keys(r.O).every((function(e){return r.O[e](n[l])}))?n.splice(l--,1):(a=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,s,o]},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={331:0,719:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var s,o,i=n[0],a=n[1],l=n[2],c=0;if(i.some((function(t){return 0!==e[t]}))){for(s in a)r.o(a,s)&&(r.m[s]=a[s]);if(l)var u=l(r)}for(t&&t(n);c. + * @param WP_Block $block The instance of the WP_Block class that represents the block being rendered. + * + * @package wp-newsletter-builder + */ + +use function WP_Newsletter_Builder\get_byline; + +$wp_newsletter_builder_block_post = $block->context['postId'] ?? null; + +$wp_newsletter_builder_block_post = get_post( $wp_newsletter_builder_block_post ); +if ( empty( $wp_newsletter_builder_block_post ) ) { + return; +} +$wp_newsletter_builder_byline = ! empty( $attributes['overrideByline'] ) ? $attributes['overrideByline'] : get_byline( $wp_newsletter_builder_block_post ); + +?> + diff --git a/build/post-byline/style-index.css b/build/post-byline/style-index.css new file mode 100644 index 00000000..0b11bc06 --- /dev/null +++ b/build/post-byline/style-index.css @@ -0,0 +1 @@ +.post__byline{font-family:Georgia,serif;font-size:15px;font-weight:700;text-align:center} diff --git a/build/post-content/block.json b/build/post-content/block.json new file mode 100644 index 00000000..4e0656e8 --- /dev/null +++ b/build/post-content/block.json @@ -0,0 +1,25 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 2, + "name": "wp-newsletter-builder/post-content", + "version": "0.1.0", + "title": "Newsletter Post Content", + "category": "design", + "icon": "admin-post", + "description": "Displays the contents of a post.", + "textdomain": "wp-newsletter-builder", + "editorScript": "file:index.js", + "style": [ + "file:style-index.css" + ], + "render": "file:render.php", + "attributes": { + "overrideContent": { + "type": "string", + "default": "" + } + }, + "usesContext": [ + "postId" + ] +} \ No newline at end of file diff --git a/build/post-content/index.asset.php b/build/post-content/index.asset.php new file mode 100644 index 00000000..d5056b9d --- /dev/null +++ b/build/post-content/index.asset.php @@ -0,0 +1 @@ + array('react', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '0cc9ea784190b3f80880'); diff --git a/build/post-content/index.js b/build/post-content/index.js new file mode 100644 index 00000000..84d5a766 --- /dev/null +++ b/build/post-content/index.js @@ -0,0 +1,42 @@ +!function(){var e,t={373:function(e){var t;self,t=()=>(()=>{var e={6484:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e=[],t=0;t{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__post-list{display:flex;flex-wrap:wrap;float:left;height:calc(70vh - 200px);justify-content:flex-start;overflow-y:auto;padding:8px;width:100%}.alley-scripts-post-picker__post{border:1px solid #eee;height:auto;justify-content:center;margin:0 8px 8px 0;transition:background-color .2s ease-in-out;width:calc((100% - 40px)/3)}@media(min-width: 780px){.alley-scripts-post-picker__post{width:calc((100% - 40px)/5)}}.alley-scripts-post-picker__post:hover{background-color:#f5f5f5}.alley-scripts-post-picker__post.is-selected{background-color:#f5f5f5}.alley-scripts-post-picker__load-more{clear:both;float:left;text-align:center;width:100%}","",{version:3,sources:["webpack://./src/components/post-picker/post-list.scss"],names:[],mappings:"AAAA,sCACE,YAAA,CACA,cAAA,CACA,UAAA,CACA,yBAAA,CACA,0BAAA,CACA,eAAA,CACA,WAAA,CACA,UAAA,CAGF,iCACE,qBAAA,CACA,WAAA,CACA,sBAAA,CACA,kBAAA,CACA,2CAAA,CACA,2BAAA,CAGA,yBATF,iCAUI,2BAAA,CAAA,CAGF,uCACE,wBAAA,CAGF,6CACE,wBAAA,CAIJ,sCACE,UAAA,CACA,UAAA,CACA,iBAAA,CACA,UAAA",sourcesContent:[".alley-scripts-post-picker__post-list {\n display: flex;\n flex-wrap: wrap;\n float: left;\n height: calc(70vh - 200px);\n justify-content: flex-start;\n overflow-y: auto;\n padding: 8px;\n width: 100%;\n}\n\n.alley-scripts-post-picker__post {\n border: 1px solid #eee;\n height: auto;\n justify-content: center;\n margin: 0 8px 8px 0;\n transition: background-color 0.2s ease-in-out;\n width: calc((100% - 40px) / 3);\n\n\n @media (min-width: 780px) {\n width: calc((100% - 40px) / 5);\n }\n\n &:hover {\n background-color: #f5f5f5;\n }\n\n &.is-selected {\n background-color: #f5f5f5;\n }\n}\n\n.alley-scripts-post-picker__load-more {\n clear: both;\n float: left;\n text-align: center;\n width: 100%;\n}\n"],sourceRoot:""}]);const a=i},9680:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__modal .components-modal__content{width:90vw}.alley-scripts-post-picker__buttons{clear:both;display:block;text-align:right;width:100%}.alley-scripts-post-picker__buttons button{margin:5px}","",{version:3,sources:["webpack://./src/components/post-picker/search-modal.scss"],names:[],mappings:"AACE,6DACE,UAAA,CAIJ,oCACE,UAAA,CACA,aAAA,CACA,gBAAA,CACA,UAAA,CAEA,2CACE,UAAA",sourcesContent:[".alley-scripts-post-picker__modal {\n .components-modal__content {\n width: 90vw;\n }\n}\n\n.alley-scripts-post-picker__buttons {\n clear: both;\n display: block;\n text-align: right;\n width: 100%;\n\n button {\n margin: 5px;\n }\n}\n"],sourceRoot:""}]);const a=i},3800:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".post-picker-notice{margin:0 0 .5rem 0}","",{version:3,sources:["webpack://./src/components/post-picker/style.scss"],names:[],mappings:"AAAA,oBACE,kBAAA",sourcesContent:[".post-picker-notice {\n margin: 0 0 0.5rem 0;\n}\n"],sourceRoot:""}]);const a=i},5500:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,'.edit-post-sidebar .autocomplete__component,.editor-styles-wrapper .autocomplete__component{margin-bottom:20px}.edit-post-sidebar .autocomplete-base-control,.editor-styles-wrapper .autocomplete-base-control{position:relative}.edit-post-sidebar .autocomplete-text-control__input,.editor-styles-wrapper .autocomplete-text-control__input{margin:0}.edit-post-sidebar .autocomplete__selection-list,.editor-styles-wrapper .autocomplete__selection-list{list-style-type:none;margin:0 0 6px;padding:0}.edit-post-sidebar .autocomplete__selection-list--item,.editor-styles-wrapper .autocomplete__selection-list--item{display:inline-block;list-style:none}.edit-post-sidebar .autocomplete__selection-list--item--button,.editor-styles-wrapper .autocomplete__selection-list--item--button{margin-bottom:4px;margin-right:3px}.edit-post-sidebar .autocomplete__selection-list--item--button::after,.editor-styles-wrapper .autocomplete__selection-list--item--button::after{content:"×";font-size:16px;line-height:20px;margin-left:5px}.edit-post-sidebar .autocomplete__dropdown,.editor-styles-wrapper .autocomplete__dropdown{background-color:#fff;border-color:rgba(0,0,0,0) #e2e4e7 #e2e4e7;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px;left:0;max-height:0;overflow-y:hidden;position:absolute;top:calc(100% + 1px);visibility:hidden;width:100%;z-index:10}.edit-post-sidebar .autocomplete__dropdown--is-open,.editor-styles-wrapper .autocomplete__dropdown--is-open{box-shadow:0 3px 30px rgba(25,30,35,.1);max-height:225px;overflow-y:scroll;visibility:visible}.edit-post-sidebar .autocomplete__dropdown--notice,.editor-styles-wrapper .autocomplete__dropdown--notice{padding:15px}.edit-post-sidebar .autocomplete__dropdown--results,.editor-styles-wrapper .autocomplete__dropdown--results{list-style:none;margin:0;padding:0}.edit-post-sidebar .autocomplete__list--item,.editor-styles-wrapper .autocomplete__list--item{list-style:none}.edit-post-sidebar .autocomplete__list--item>button,.editor-styles-wrapper .autocomplete__list--item>button{background:rgba(0,0,0,0);border-color:#e2e4e7;border-style:solid;border-width:0 0 1px;height:100%;line-height:1.25;text-align:left;white-space:inherit;width:100%}.edit-post-sidebar .autocomplete__list--item:last-child>button,.editor-styles-wrapper .autocomplete__list--item:last-child>button{border-bottom:0}',"",{version:3,sources:["webpack://./src/components/selector/styles.scss"],names:[],mappings:"AAAA,4FAgBI,kBACE,CAAA,gGAMF,iBACE,CAAA,8GAMF,QACE,CAAA,sGAMF,oBACE,CAAA,cACA,CAAA,SACA,CAAA,kHAEA,oBACE,CAAA,eACA,CAAA,kIAEA,iBACE,CAAA,gBACA,CAAA,gJAEA,WACE,CAAA,cACA,CAAA,gBACA,CAAA,eACA,CAAA,0FASR,qBACE,CAAA,0CACA,CAAA,yBACA,CAAA,kBACA,CAAA,sBACA,CAAA,MACA,CAAA,YACA,CAAA,iBACA,CAAA,iBACA,CAAA,oBACA,CAAA,iBACA,CAAA,UACA,CAAA,UACA,CAAA,4GAGA,uCACE,CAAA,gBACA,CAAA,iBACA,CAAA,kBACA,CAAA,0GAIF,YACE,CAAA,4GAIF,eACE,CAAA,QACA,CAAA,SACA,CAAA,8FAOJ,eACE,CAAA,4GAEA,wBACE,CAAA,oBACA,CAAA,kBACA,CAAA,oBACA,CAAA,WACA,CAAA,gBACA,CAAA,eACA,CAAA,mBACA,CAAA,UACA,CAAA,kIAGF,eACE",sourcesContent:["//--------------------------------------------------------------\n// AutoComplete Styles\n//--------------------------------------------------------------\n\n/* stylelint-disable max-nesting-depth */\n\n//-----------------------------------------\n// Accommodate editor well, or the sidebar.\n//-----------------------------------------\n.edit-post-sidebar,\n.editor-styles-wrapper {\n .autocomplete {\n\n //-----------------------------------------\n // Parent form wrapper.\n //-----------------------------------------\n &__component {\n margin-bottom: 20px;\n }\n\n //-----------------------------------------\n // Wrapper\n //-----------------------------------------\n &-base-control {\n position: relative;\n }\n\n //-----------------------------------------\n // Input\n //-----------------------------------------\n &-text-control__input {\n margin: 0;\n }\n\n //-----------------------------------------\n // Selected buttons.\n //-----------------------------------------\n &__selection-list {\n list-style-type: none;\n margin: 0 0 6px;\n padding: 0;\n\n &--item {\n display: inline-block;\n list-style: none;\n\n &--button {\n margin-bottom: 4px;\n margin-right: 3px;\n\n &::after {\n content: '×';\n font-size: 16px;\n line-height: 20px;\n margin-left: 5px;\n }\n }\n }\n }\n\n //-----------------------------------------\n // Results\n //-----------------------------------------\n &__dropdown {\n background-color: #fff;\n border-color: transparent #e2e4e7 #e2e4e7;\n border-radius: 0 0 4px 4px;\n border-style: solid;\n border-width: 0 1px 1px;\n left: 0;\n max-height: 0;\n overflow-y: hidden;\n position: absolute;\n top: calc(100% + 1px); // Offset focus border.\n visibility: hidden;\n width: 100%;\n z-index: 10;\n\n // Container is open.\n &--is-open {\n box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);\n max-height: 225px;\n overflow-y: scroll;\n visibility: visible;\n }\n\n // Notice handler.\n &--notice {\n padding: 15px;\n }\n\n // Results container.\n &--results {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n }\n\n //-----------------------------------------\n // List/Results\n //-----------------------------------------\n &__list--item {\n list-style: none;\n\n > button {\n background: transparent;\n border-color: #e2e4e7;\n border-style: solid;\n border-width: 0 0 1px;\n height: 100%;\n line-height: 1.25;\n text-align: left;\n white-space: inherit;\n width: 100%;\n }\n\n &:last-child > button {\n border-bottom: 0;\n }\n }\n }\n}\n"],sourceRoot:""}]);const a=i},1849:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,s,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var a=0;a0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),s&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=s):u[4]="".concat(s)),t.push(u))}},t}},2876:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(s," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},6595:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:s}=Object;let{freeze:o,seal:i,create:a}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(e){return e}),i||(i=function(e){return e}),l||(l=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});const u=C(Array.prototype.forEach),d=C(Array.prototype.pop),p=C(Array.prototype.push),f=C(String.prototype.toLowerCase),h=C(String.prototype.toString),m=C(String.prototype.match),g=C(String.prototype.replace),y=C(String.prototype.indexOf),v=C(String.prototype.trim),b=C(RegExp.prototype.test),A=(_=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),s=1;s2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let o=r.length;for(;o--;){let t=r[o];if("string"==typeof t){const e=s(t);e!==t&&(n(r)||(r[o]=e),t=e)}e[t]=!0}return e}function w(t){const n=a(null);for(const[r,o]of e(t))void 0!==s(t,r)&&(n[r]=o);return n}function S(e,t){for(;null!==e;){const n=s(e,t);if(n){if(n.get)return C(n.get);if("function"==typeof n.value)return C(n.value)}e=r(e)}return function(e){return console.warn("fallback value for",e),null}}const k=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),R=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),N=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),P=o(["#text"]),O=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),L=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),j=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),D=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=i(/\{\{[\w\W]*|[\w\W]*\}\}/gm),M=i(/<%[\w\W]*|[\w\W]*%>/gm),B=i(/\${[\w\W]*}/gm),F=i(/^data-[\-\w.\u00B7-\uFFFF]/),z=i(/^aria-[\-\w]+$/),q=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=i(/^(?:\w+script|data):/i),H=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W=i(/^html$/i);var G=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:M,TMPLIT_EXPR:B,DATA_ATTR:F,ARIA_ATTR:z,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:$,ATTR_WHITESPACE:H,DOCTYPE_NAME:W});return function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const r=e=>t(e);if(r.version="3.0.6",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;let{document:s}=n;const i=s,l=i.currentScript,{DocumentFragment:c,HTMLTemplateElement:_,Node:C,Element:U,NodeFilter:M,NamedNodeMap:B=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:F,DOMParser:z,trustedTypes:$}=n,H=U.prototype,Y=S(H,"cloneNode"),V=S(H,"nextSibling"),K=S(H,"childNodes"),Q=S(H,"parentNode");if("function"==typeof _){const e=s.createElement("template");e.content&&e.content.ownerDocument&&(s=e.content.ownerDocument)}let J,X="";const{implementation:Z,createNodeIterator:ee,createDocumentFragment:te,getElementsByTagName:ne}=s,{importNode:re}=i;let se={};r.isSupported="function"==typeof e&&"function"==typeof Q&&Z&&void 0!==Z.createHTMLDocument;const{MUSTACHE_EXPR:oe,ERB_EXPR:ie,TMPLIT_EXPR:ae,DATA_ATTR:le,ARIA_ATTR:ce,IS_SCRIPT_OR_DATA:ue,ATTR_WHITESPACE:de}=G;let{IS_ALLOWED_URI:pe}=G,fe=null;const he=x({},[...k,...E,...R,...I,...P]);let me=null;const ge=x({},[...O,...L,...j,...D]);let ye=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,be=null,Ae=!0,_e=!0,Ce=!1,xe=!0,we=!1,Se=!1,ke=!1,Ee=!1,Re=!1,Te=!1,Ie=!1,Ne=!0,Pe=!1,Oe=!0,Le=!1,je={},De=null;const Ue=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Me=null;const Be=x({},["audio","video","img","source","image","track"]);let Fe=null;const ze=x({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",$e="http://www.w3.org/2000/svg",He="http://www.w3.org/1999/xhtml";let We=He,Ge=!1,Ye=null;const Ve=x({},[qe,$e,He],h);let Ke=null;const Qe=["application/xhtml+xml","text/html"];let Je=null,Xe=null;const Ze=s.createElement("form"),et=function(e){return e instanceof RegExp||e instanceof Function},tt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Xe||Xe!==e){if(e&&"object"==typeof e||(e={}),e=w(e),Ke=Ke=-1===Qe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Je="application/xhtml+xml"===Ke?h:f,fe="ALLOWED_TAGS"in e?x({},e.ALLOWED_TAGS,Je):he,me="ALLOWED_ATTR"in e?x({},e.ALLOWED_ATTR,Je):ge,Ye="ALLOWED_NAMESPACES"in e?x({},e.ALLOWED_NAMESPACES,h):Ve,Fe="ADD_URI_SAFE_ATTR"in e?x(w(ze),e.ADD_URI_SAFE_ATTR,Je):ze,Me="ADD_DATA_URI_TAGS"in e?x(w(Be),e.ADD_DATA_URI_TAGS,Je):Be,De="FORBID_CONTENTS"in e?x({},e.FORBID_CONTENTS,Je):Ue,ve="FORBID_TAGS"in e?x({},e.FORBID_TAGS,Je):{},be="FORBID_ATTR"in e?x({},e.FORBID_ATTR,Je):{},je="USE_PROFILES"in e&&e.USE_PROFILES,Ae=!1!==e.ALLOW_ARIA_ATTR,_e=!1!==e.ALLOW_DATA_ATTR,Ce=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,we=e.SAFE_FOR_TEMPLATES||!1,Se=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Te=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,Ee=e.FORCE_BODY||!1,Ne=!1!==e.SANITIZE_DOM,Pe=e.SANITIZE_NAMED_PROPS||!1,Oe=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,pe=e.ALLOWED_URI_REGEXP||q,We=e.NAMESPACE||He,ye=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ye.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ye.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ye.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),we&&(_e=!1),Te&&(Re=!0),je&&(fe=x({},[...P]),me=[],!0===je.html&&(x(fe,k),x(me,O)),!0===je.svg&&(x(fe,E),x(me,L),x(me,D)),!0===je.svgFilters&&(x(fe,R),x(me,L),x(me,D)),!0===je.mathMl&&(x(fe,I),x(me,j),x(me,D))),e.ADD_TAGS&&(fe===he&&(fe=w(fe)),x(fe,e.ADD_TAGS,Je)),e.ADD_ATTR&&(me===ge&&(me=w(me)),x(me,e.ADD_ATTR,Je)),e.ADD_URI_SAFE_ATTR&&x(Fe,e.ADD_URI_SAFE_ATTR,Je),e.FORBID_CONTENTS&&(De===Ue&&(De=w(De)),x(De,e.FORBID_CONTENTS,Je)),Oe&&(fe["#text"]=!0),Se&&x(fe,["html","head","body"]),fe.table&&(x(fe,["tbody"]),delete ve.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');J=e.TRUSTED_TYPES_POLICY,X=J.createHTML("")}else void 0===J&&(J=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}}($,l)),null!==J&&"string"==typeof X&&(X=J.createHTML(""));o&&o(e),Xe=e}},nt=x({},["mi","mo","mn","ms","mtext"]),rt=x({},["foreignobject","desc","title","annotation-xml"]),st=x({},["title","style","font","a","script"]),ot=x({},E);x(ot,R),x(ot,T);const it=x({},I);x(it,N);const at=function(e){p(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},lt=function(e,t){try{p(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!me[e])if(Re||Te)try{at(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ct=function(e){let t=null,n=null;if(Ee)e=""+e;else{const t=m(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ke&&We===He&&(e=''+e+"");const r=J?J.createHTML(e):e;if(We===He)try{t=(new z).parseFromString(r,Ke)}catch(e){}if(!t||!t.documentElement){t=Z.createDocument(We,"template",null);try{t.documentElement.innerHTML=Ge?X:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(s.createTextNode(n),o.childNodes[0]||null),We===He?ne.call(t,Se?"html":"body")[0]:Se?t.documentElement:o},ut=function(e){return ee.call(e.ownerDocument||e,e,M.SHOW_ELEMENT|M.SHOW_COMMENT|M.SHOW_TEXT,null)},dt=function(e){return"function"==typeof C&&e instanceof C},pt=function(e,t,n){se[e]&&u(se[e],(e=>{e.call(r,t,n,Xe)}))},ft=function(e){let t=null;if(pt("beforeSanitizeElements",e,null),(n=e)instanceof F&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof B)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return at(e),!0;var n;const s=Je(e.nodeName);if(pt("uponSanitizeElement",e,{tagName:s,allowedTags:fe}),e.hasChildNodes()&&!dt(e.firstElementChild)&&b(/<[/\w]/g,e.innerHTML)&&b(/<[/\w]/g,e.textContent))return at(e),!0;if(!fe[s]||ve[s]){if(!ve[s]&&mt(s)){if(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,s))return!1;if(ye.tagNameCheck instanceof Function&&ye.tagNameCheck(s))return!1}if(Oe&&!De[s]){const t=Q(e)||e.parentNode,n=K(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r)t.insertBefore(Y(n[r],!0),V(e))}return at(e),!0}return e instanceof U&&!function(e){let t=Q(e);t&&t.tagName||(t={namespaceURI:We,tagName:"template"});const n=f(e.tagName),r=f(t.tagName);return!!Ye[e.namespaceURI]&&(e.namespaceURI===$e?t.namespaceURI===He?"svg"===n:t.namespaceURI===qe?"svg"===n&&("annotation-xml"===r||nt[r]):Boolean(ot[n]):e.namespaceURI===qe?t.namespaceURI===He?"math"===n:t.namespaceURI===$e?"math"===n&&rt[r]:Boolean(it[n]):e.namespaceURI===He?!(t.namespaceURI===$e&&!rt[r])&&!(t.namespaceURI===qe&&!nt[r])&&!it[n]&&(st[n]||!ot[n]):!("application/xhtml+xml"!==Ke||!Ye[e.namespaceURI]))}(e)?(at(e),!0):"noscript"!==s&&"noembed"!==s&&"noframes"!==s||!b(/<\/no(script|embed|frames)/i,e.innerHTML)?(we&&3===e.nodeType&&(t=e.textContent,u([oe,ie,ae],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(r.removed,{element:e.cloneNode()}),e.textContent=t)),pt("afterSanitizeElements",e,null),!1):(at(e),!0)},ht=function(e,t,n){if(Ne&&("id"===t||"name"===t)&&(n in s||n in Ze))return!1;if(_e&&!be[t]&&b(le,t));else if(Ae&&b(ce,t));else if(!me[t]||be[t]){if(!(mt(e)&&(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,e)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(e))&&(ye.attributeNameCheck instanceof RegExp&&b(ye.attributeNameCheck,t)||ye.attributeNameCheck instanceof Function&&ye.attributeNameCheck(t))||"is"===t&&ye.allowCustomizedBuiltInElements&&(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,n)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(n))))return!1}else if(Fe[t]);else if(b(pe,g(n,de,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!Me[e])if(Ce&&!b(ue,g(n,de,"")));else if(n)return!1;return!0},mt=function(e){return e.indexOf("-")>0},gt=function(e){pt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:me};let s=t.length;for(;s--;){const o=t[s],{name:i,namespaceURI:a,value:l}=o,c=Je(i);let p="value"===i?l:v(l);if(n.attrName=c,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,pt("uponSanitizeAttribute",e,n),p=n.attrValue,n.forceKeepAttr)continue;if(lt(i,e),!n.keepAttr)continue;if(!xe&&b(/\/>/i,p)){lt(i,e);continue}we&&u([oe,ie,ae],(e=>{p=g(p,e," ")}));const f=Je(e.nodeName);if(ht(f,c,p)){if(!Pe||"id"!==c&&"name"!==c||(lt(i,e),p="user-content-"+p),J&&"object"==typeof $&&"function"==typeof $.getAttributeType)if(a);else switch($.getAttributeType(f,c)){case"TrustedHTML":p=J.createHTML(p);break;case"TrustedScriptURL":p=J.createScriptURL(p)}try{a?e.setAttributeNS(a,i,p):e.setAttribute(i,p),d(r.removed)}catch(e){}}}pt("afterSanitizeAttributes",e,null)},yt=function e(t){let n=null;const r=ut(t);for(pt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)pt("uponSanitizeShadowNode",n,null),ft(n)||(n.content instanceof c&&e(n.content),gt(n));pt("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,s=null,o=null,a=null;if(Ge=!e,Ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!dt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!r.isSupported)return e;if(ke||tt(t),r.removed=[],"string"==typeof e&&(Le=!1),Le){if(e.nodeName){const t=Je(e.nodeName);if(!fe[t]||ve[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof C)n=ct("\x3c!----\x3e"),s=n.ownerDocument.importNode(e,!0),1===s.nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?n=s:n.appendChild(s);else{if(!Re&&!we&&!Se&&-1===e.indexOf("<"))return J&&Ie?J.createHTML(e):e;if(n=ct(e),!n)return Re?null:Ie?X:""}n&&Ee&&at(n.firstChild);const l=ut(Le?e:n);for(;o=l.nextNode();)ft(o)||(o.content instanceof c&&yt(o.content),gt(o));if(Le)return e;if(Re){if(Te)for(a=te.call(n.ownerDocument);n.firstChild;)a.appendChild(n.firstChild);else a=n;return(me.shadowroot||me.shadowrootmode)&&(a=re.call(i,a,!0)),a}let d=Se?n.outerHTML:n.innerHTML;return Se&&fe["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&b(W,n.ownerDocument.doctype.name)&&(d="\n"+d),we&&u([oe,ie,ae],(e=>{d=g(d,e," ")})),J&&Ie?J.createHTML(d):d},r.setConfig=function(){tt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ke=!0},r.clearConfig=function(){Xe=null,ke=!1},r.isValidAttribute=function(e,t,n){Xe||tt({});const r=Je(e),s=Je(t);return ht(r,s,n)},r.addHook=function(e,t){"function"==typeof t&&(se[e]=se[e]||[],p(se[e],t))},r.removeHook=function(e){if(se[e])return d(se[e])},r.removeHooks=function(e){se[e]&&(se[e]=[])},r.removeAllHooks=function(){se={}},r}()}()},2232:function(e,t){var n,r;n=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,s={},o=0,i={parse:function(n,r){var a=(r=r||{}).dynamicTyping||!1;if(_(a)&&(r.dynamicTypingFunction=a,a={}),r.dynamicTyping=a,r.transform=!!_(r.transform)&&r.transform,r.worker&&i.WORKERS_SUPPORTED){var l=function(){if(!i.WORKERS_SUPPORTED)return!1;var n,r,a=(n=t.URL||t.webkitURL||null,r=e.toString(),i.BLOB_URL||(i.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),l=new t.Worker(a);return l.onmessage=g,l.id=o++,s[l.id]=l}();return l.userStep=r.step,l.userChunk=r.chunk,l.userComplete=r.complete,l.userError=r.error,r.step=_(r.step),r.chunk=_(r.chunk),r.complete=_(r.complete),r.error=_(r.error),delete r.worker,void l.postMessage({input:n,config:r,workerId:l.id})}var f=null;return i.NODE_STREAM_INPUT,"string"==typeof n?(n=function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}(n),f=r.download?new c(r):new d(r)):!0===n.readable&&_(n.read)&&_(n.on)?f=new p(r):(t.File&&n instanceof File||n instanceof Object)&&(f=new u(r)),f.stream(n)},unparse:function(e,t){var n=!1,r=!0,s=",",o="\r\n",a='"',l=a+a,c=!1,u=null,d=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||i.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(s=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(c=t.skipEmptyLines),"string"==typeof t.newline&&(o=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+a),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(d=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var p=new RegExp(h(a),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return f(null,e,c);if("object"==typeof e[0])return f(u||Object.keys(e[0]),e,c)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),f(e.fields||[],e.data||[],c);throw new Error("Unable to serialize unrecognized input");function f(e,t,n){var i="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var a=Array.isArray(e)&&0=this._config.preview;if(r)t.postMessage({results:a,workerId:i.WORKER_ID,finished:c});else if(_(this._config.chunk)&&!n){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);a=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!c||!_(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:i.WORKER_ID,error:e,finished:!1})}}function c(e){var t;(e=e||{}).chunkSize||(e.chunkSize=i.RemoteChunkSize),l.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=A(this._chunkLoaded,this),t.onerror=A(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var s=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+s)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function u(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=i.LocalChunkSize),l.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=A(this._chunkLoaded,this),t.onerror=A(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function d(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function p(e){l.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=A((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=A((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=A((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=A((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function f(e){var t,n,r,s=Math.pow(2,53),o=-s,a=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,u=0,d=0,p=!1,f=!1,g=[],y={data:[],errors:[],meta:{}};if(_(e.step)){var v=e.step;e.step=function(t){if(y=t,x())C();else{if(C(),0===y.data.length)return;u+=t.data.length,e.preview&&u>e.preview?n.abort():(y.data=y.data[0],v(y,c))}}}function A(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function C(){return y&&r&&(S("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+i.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(y.data=y.data.filter((function(e){return!A(e)}))),x()&&function(){if(y)if(Array.isArray(y.data[0])){for(var t=0;x()&&t=g.length?"__parsed_extra":g[r]),e.transform&&(i=e.transform(i,o)),i=w(o,i),"__parsed_extra"===o?(s[o]=s[o]||[],s[o].push(i)):s[o]=i}return e.header&&(r>g.length?S("FieldMismatch","TooManyFields","Too many fields: expected "+g.length+" fields but parsed "+r,d+n):r=r.length/2?"\r\n":"\r"}(s,l)),r=!1,e.delimiter)_(e.delimiter)&&(e.delimiter=e.delimiter(s),y.meta.delimiter=e.delimiter);else{var c=function(t,n,r,s,o){var a,l,c,u;o=o||[",","\t","|",";",i.RECORD_SEP,i.UNIT_SEP];for(var d=0;d=a)return G(!0)}else for(B=u,u++;;){if(-1===(B=i.indexOf(t,B+1)))return f||C.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:A.length,index:u}),H();if(B===m-1)return H(i.substring(u,B).replace(M,t));if(t!==c||i[B+1]!==c){if(t===c||0===B||i[B-1]!==c){-1!==D&&D=a)return G(!0);break}C.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:A.length,index:u}),B++}}else B++}return H();function q(e){A.push(e),w=u}function $(e){var t=0;if(-1!==e){var n=i.substring(B+1,e);n&&""===n.trim()&&(t=n.length)}return t}function H(e){return f||(void 0===e&&(e=i.substring(u)),x.push(e),u=m,q(x),b&&Y()),G()}function W(e){u=e,q(x),x=[],U=i.indexOf(r,u)}function G(e){return{data:A,errors:C,meta:{delimiter:n,linebreak:r,aborted:d,truncated:!!e,cursor:w+(p||0)}}}function Y(){o(G()),A=[],C=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return u}}function g(e){var t=e.data,n=s[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var o={abort:function(){r=!0,y(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(_(n.userStep)){for(var i=0;i{"use strict";var r=n(7200);function s(){}function o(){}o.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,o,i){if(i!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:s};return n.PropTypes=n,n}},900:(e,t,n)=>{e.exports=n(7336)()},7200:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4108:(e,t,n)=>{"use strict";var r=n(1280),s=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:s,type:e,key:c,ref:u,props:o,_owner:a.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},7e3:(e,t,n)=>{"use strict";e.exports=n(4108)},3736:e=>{e.exports=function(e,t,n,r){var s=n?n.call(r,e,t):void 0;if(void 0!==s)return!!s;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),l=0;l{"use strict";var t=[];function n(e){for(var n=-1,r=0;r{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},2940:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},9516:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7020:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var s=void 0!==n.layer;s&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,s&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9296:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},3376:(e,t,n)=>{"use strict";n.d(t,{cp:()=>Ut});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n2||H(j)>3?"":" "}function Y(e,t){for(;--t&&F()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return $(e,q()+(t<6&&32==z()&&32==F()))}function V(e){for(;F();)switch(j){case e:return L;case 34:case 39:34!==e&&39!==e&&V(j);break;case 40:41===e&&V(e);break;case 92:F()}return L}function K(e,t){for(;F()&&e+j!==57&&(e+j!==84||47!==z()););return"/*"+$(t,L-1)+"*"+b(47===e?e:F())}function Q(e){for(;!H(z());)F();return $(e,L)}function J(e,t){for(var n="",r=0;r6)switch(S(e,t+1)){case 109:if(45!==S(e,t+4))break;case 102:return x(e,/(.+:)(.+)-([^]+)/,"$1"+d+"$2-$3$1"+u+(108==S(e,t+3)?"$3":"$2-$3"))+e;case 115:return~w(e,"stretch")?Z(x(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return x(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,s,o,i,a){return c+n+":"+r+a+(s?c+n+"-span:"+(o?i:+i-+r)+a:"")+e}));case 4949:if(121===S(e,t+6))return x(e,":",":"+d)+e;break;case 6444:switch(S(e,45===S(e,14)?18:11)){case 120:return x(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+d+(45===S(e,14)?"inline-":"")+"box$3$1"+d+"$2$3$1"+c+"$2box$3")+e;case 100:return x(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return x(e,"scroll-","scroll-snap-")+e}return e}function ee(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case h:return void(e.return=Z(e.value,e.length,n));case g:return J([M(e,{value:x(e.value,"@","@"+d)})],r);case f:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(C(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":B(M(e,{props:[x(t,/:(read-\w+)/,":"+u+"$1")]})),B(M(e,{props:[t]})),A(e,{props:I(n,r)});break;case"::placeholder":B(M(e,{props:[x(t,/:(plac\w+)/,":"+d+"input-$1")]})),B(M(e,{props:[x(t,/:(plac\w+)/,":"+u+"$1")]})),B(M(e,{props:[x(t,/:(plac\w+)/,c+"input-$1")]})),B(M(e,{props:[t]})),A(e,{props:I(n,r)})}return""}))}}function te(e){return function(e){return D="",e}(ne("",null,null,null,[""],e=function(e){return N=P=1,O=E(D=e),L=0,[]}(e),0,[0],e))}function ne(e,t,n,r,s,o,i,a,l){for(var c=0,u=0,d=i,p=0,f=0,h=0,m=1,g=1,y=1,v=0,A="",_=s,C=o,k=r,R=A;g;)switch(h=v,v=F()){case 40:if(108!=h&&58==S(R,d-1)){-1!=w(R+=x(W(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:R+=W(v);break;case 9:case 10:case 13:case 32:R+=G(h);break;case 92:R+=Y(q()-1,7);continue;case 47:switch(z()){case 42:case 47:T(se(K(F(),q()),t,n,l),l);break;default:R+="/"}break;case 123*m:a[c++]=E(R)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==y&&(R=x(R,/\f/g,"")),f>0&&E(R)-d&&T(f>32?oe(R+";",r,n,d-1,l):oe(x(R," ","")+";",r,n,d-2,l),l);break;case 59:R+=";";default:if(T(k=re(R,t,n,c,u,s,a,A,_=[],C=[],d,o),o),123===v)if(0===u)ne(R,t,k,k,_,o,d,a,C);else switch(99===p&&110===S(R,3)?100:p){case 100:case 108:case 109:case 115:ne(e,k,k,r&&T(re(e,k,k,0,0,s,a,A,s,_=[],d,C),C),s,C,d,a,r?_:C);break;default:ne(R,k,k,k,[""],C,0,a,C)}}c=u=f=0,m=y=1,A=R="",d=i;break;case 58:d=1+E(R),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==(j=L>0?S(D,--L):0,P--,10===j&&(P=1,N--),j))continue;switch(R+=b(v),v*m){case 38:y=u>0?1:(R+="\f",-1);break;case 44:a[c++]=(E(R)-1)*y,y=1;break;case 64:45===z()&&(R+=W(F())),p=z(),u=d=E(A=R+=Q(q())),v++;break;case 45:45===h&&2==E(R)&&(m=0)}}return o}function re(e,t,n,r,s,o,i,a,l,c,u,d){for(var p=s-1,h=0===s?o:[""],m=R(h),g=0,y=0,b=0;g0?h[A]+" "+C:x(C,/&\f/g,h[A])))&&(l[b++]=w);return U(e,t,n,0===s?f:a,l,c,u,d)}function se(e,t,n,r){return U(e,t,n,p,b(j),k(e,2,-2),0,r)}function oe(e,t,n,r,s){return U(e,t,n,h,k(e,0,r),k(e,r+1,-1),r,s)}const ie={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ae="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",le="undefined"!=typeof window&&"HTMLElement"in window,ce=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),ue=(new Set,Object.freeze([])),de=Object.freeze({}),pe=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),fe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,he=/(^-|-$)/g;function me(e){return e.replace(fe,"-").replace(he,"")}var ge=/(a)(d)/gi,ye=function(e){return String.fromCharCode(e+(e>25?39:97))};function ve(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ye(t%52)+n;return(ye(t%52)+n).replace(ge,"$1-$2")}var be,Ae=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},_e=function(e){return Ae(5381,e)};function Ce(e){return"string"==typeof e&&!0}var xe="function"==typeof Symbol&&Symbol.for,we=xe?Symbol.for("react.memo"):60115,Se=xe?Symbol.for("react.forward_ref"):60112,ke={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ee={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Re={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Te=((be={})[Se]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},be[we]=Re,be);function Ie(e){return("type"in(t=e)&&t.type.$$typeof)===we?Re:"$$typeof"in e?Te[e.$$typeof]:ke;var t}var Ne=Object.defineProperty,Pe=Object.getOwnPropertyNames,Oe=Object.getOwnPropertySymbols,Le=Object.getOwnPropertyDescriptor,je=Object.getPrototypeOf,De=Object.prototype;function Ue(e,t,n){if("string"!=typeof t){if(De){var r=je(t);r&&r!==De&&Ue(e,r,n)}var s=Pe(t);Oe&&(s=s.concat(Oe(t)));for(var o=Ie(e),i=Ie(t),a=0;a0?" Args: ".concat(t.join(", ")):""))}var Ge=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,s=r;e>=s;)if((s<<=1)<0)throw We(16,"".concat(e));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var o=r;o=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),s=r+n,o=r;o=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))})),r+="".concat(i).concat(a,'{content:"').concat(l,'"}').concat("/*!sc*/\n")},o=0;o0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===f&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(ut,n).replace(r,c))})),i.prefix&&u.push(ee),u.push(X);var d=function(e,s,o,a){void 0===s&&(s=""),void 0===o&&(o=""),void 0===a&&(a="&"),t=a,n=s,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(dt,""),c=te(o||s?"".concat(o," ").concat(s," { ").concat(l," }"):l);i.namespace&&(c=pt(c,i.namespace));var d,p,f,h=[];return J(c,(d=u.concat((f=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&f(e)})),p=R(d),function(e,t,n,r){for(var s="",o=0;o="A"&&e<="Z"};function Ct(e){for(var t="",n=0;n>>0);if(!t.hasNameForId(this.componentId,o)){var i=n(s,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,i)}r=Fe(r,o),this.staticRulesId=o}else{for(var a=Ae(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=Fe(r,p)}}return r},e}(),Tt=i().createContext(void 0);Tt.Consumer;var It={};function Nt(e,t,n){var s=Be(e),a=e,l=!Ce(e),c=t.attrs,u=void 0===c?ue:c,d=t.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":me(e);It[n]=(It[n]||0)+1;var r="".concat(n,"-").concat(function(e){return ve(_e(e)>>>0)}("6.1.1"+n+It[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):d,f=t.displayName,h=void 0===f?function(e){return Ce(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):f,m=t.displayName&&t.componentId?"".concat(me(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&a.attrs?a.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(s&&a.shouldForwardProp){var v=a.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;y=function(e,t){return v(e,t)&&b(e,t)}}else y=v}var A=new Rt(n,m,s?a.componentStyle:void 0);function _(e,t){return function(e,t,n){var s=e.attrs,a=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=i().useContext(Tt),f=vt(),h=e.shouldForwardProp||f.shouldForwardProp,m=function(e,t,n){for(var s,o=r(r({},t),{className:void 0,theme:n}),i=0;i2&&ct.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=nt(),r=ze([n&&'nonce="'.concat(n,'"'),"".concat(ae,'="true"'),"".concat("data-styled-version",'="').concat("6.1.1",'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw We(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw We(2);var n=((t={})[ae]="",t["data-styled-version"]="6.1.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),s=nt();return s&&(n.nonce=s),[i().createElement("style",r({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ct({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw We(2);return i().createElement(bt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw We(3)}}(),"__sc-".concat(ae,"__")},4928:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("audio",{className:"edit-audio-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["audio"],className:e,icon:"format-audio",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const d=u},2312:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(7e3),s=n(900),o=n.n(s),i=n(7287);const a=({label:e,value:t,options:n,onChange:s})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BaseControl,{label:e}),n.map((e=>(0,r.jsx)(i.CheckboxControl,{label:e.label,checked:t.includes(e.value),onChange:n=>{s(n?[...t,e.value]:[...t.filter((t=>t!==e.value))])}})))]});a.propTypes={label:o().string.isRequired,value:o().arrayOf(o().string).isRequired,options:o().arrayOf(o().shape({label:o().string.isRequired,value:o().string.isRequired})).isRequired,onChange:o().func.isRequired};const l=a},8312:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(7e3),s=n(1280),o=n.n(s),i=n(3396),a=n(900),l=n.n(a),c=n(5328);class u extends o().PureComponent{static handleSubmit(e){e.preventDefault()}constructor(e){super(e),this.handleChange=this.handleChange.bind(this),this.state={error:"",success:""}}handleChange(e){const{attributeName:t,callback:n,setAttributes:r}=this.props;e.target.files&&e.target.files[0]&&(0,c.parseCSVFile)(e.target.files[0]).then((e=>n?n(e):e)).then((e=>{Array.isArray(e)&&e.length>0?(this.setState({error:"",success:(0,i.__)("Successfully read CSV data.","alley-scripts")}),r({[t]:JSON.stringify(e)})):this.setState({error:(0,i.__)("Could not map CSV data. Please check the source file to ensure that it has the correct structure.","alley-scripts"),success:""})})).catch((e=>{this.setState({error:e,success:""})}))}render(){const{error:e="",success:t=""}=this.state;return(0,r.jsxs)("div",{className:"alley-scripts-block-csv-uploader",children:[(0,r.jsx)("h2",{children:(0,i.__)("Upload CSV","alley-scripts")}),(0,r.jsxs)("form",{onSubmit:this.handleSubmit,children:[""!==e?(0,r.jsxs)("div",{style:{color:"#c00"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Error:","alley-scripts")})," ",e]}):null,""!==t?(0,r.jsxs)("div",{style:{color:"#0c0"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Success:","alley-scripts")})," ",t]}):null,(0,r.jsx)("div",{children:(0,r.jsxs)("label",{htmlFor:"alley-scripts-block-csv-uploader-file",children:[(0,r.jsx)("p",{children:(0,i.__)("Select a file to load data.","alley-scripts")}),(0,r.jsx)("input",{id:"alley-scripts-block-csv-uploader-file",onChange:this.handleChange,type:"file"})]})})]})]})}}u.defaultProps={callback:null},u.propTypes={attributeName:l().string.isRequired,callback:l().func,setAttributes:l().func.isRequired}},8348:(e,t,n)=>{"use strict";n.d(t,{default:()=>p});var r=n(7e3),s=n(3396),o=n(900),i=n.n(o),a=n(3376),l=n(7720);const c=a.cp.div` + box-sizing: border-box; + flex-shrink: 0; + height: auto; + max-height: 1450px; + max-width: 1450px; + min-height: 20px; + min-width: 20px; + position: relative; + width: auto; +`,u=({src:e})=>(0,r.jsx)(c,{children:(0,r.jsx)("img",{alt:(0,s.__)("Edit image","alley-scripts"),className:"edit-image-preview",src:e,title:(0,s.__)("Edit image","alley-scripts")})});u.propTypes={src:i().string.isRequired};const d=({className:e,imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,value:a,valueURL:c})=>(0,r.jsx)(l.MediaPicker,{allowedTypes:["image"],className:e,icon:"format-image",imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,preview:u,value:a,valueURL:c});d.defaultProps={className:"",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,valueURL:""},d.propTypes={className:i().string,imageSize:i().string,displayControlsInToolbar:i().bool,onReset:i().func.isRequired,onUpdate:i().func.isRequired,onUpdateURL:i().func,value:i().number.isRequired,valueURL:i().string};const p=d},7720:(e,t,n)=>{"use strict";n.d(t,{AudioPicker:()=>r.default,CSVUploader:()=>o.default,Checkboxes:()=>s.default,ImagePicker:()=>i.default,MediaPicker:()=>a.default,PostPicker:()=>c.default,PostSelector:()=>u.default,SafeHtml:()=>l.default,Selector:()=>d.default,Sortable:()=>p.default,SortableItem:()=>f.default,TermSelector:()=>h.default,VideoPicker:()=>m.default});var r=n(4928),s=n(2312),o=n(8312),i=n(8348),a=n(5680),l=n(9160),c=n(4808),u=n(8800),d=n(9064),p=n(8504),f=n(1917),h=n(668),m=n(5316)},5680:(e,t,n)=>{"use strict";n.d(t,{default:()=>m});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(9528),l=n(7287),c=n(7752),u=n(3396),d=n(5328);const p=i.cp.div` + display: block; + position: relative; +`,f=i.cp.div` + background: white; + border: 1px solid black; + padding: 1em; +`,h=({allowedTypes:e,className:t,icon:n,imageSize:s,displayControlsInToolbar:o,onReset:i,onUpdate:h,onUpdateURL:m,preview:g,value:y,valueURL:v})=>{const{media:b}=(0,c.useSelect)((e=>({media:y?e("core").getMedia(y):void 0})),[y]);if(0!==y&&null===b)return(0,r.jsx)(l.Spinner,{});const A=b?(0,d.getMediaUrl)(b,s):v;return A?(0,r.jsxs)(p,{className:t,children:[g?(0,r.jsx)(g,{src:A}):(0,r.jsxs)(f,{className:"alley-scripts-media-picker__preview",children:[(0,r.jsx)("p",{children:(0,u.__)("Selected file:","alley-scripts")}),(0,r.jsx)("p",{children:(0,r.jsx)("a",{href:A,children:A})})]}),o?(0,r.jsx)(a.BlockControls,{group:"other",children:(0,r.jsx)(a.MediaReplaceFlow,{name:(0,u.__)("Edit Media","alley-scripts"),mediaId:y,mediaURL:A,allowedTypes:e,onSelect:h,onSelectURL:m,children:(0,r.jsx)(l.ToolbarButton,{isDestructive:!0,text:(0,u.__)("Remove","alley-scripts"),onClick:i})})}):(0,r.jsx)(l.Button,{variant:"primary",onClick:i,children:(0,u.__)("Reset","alley-scripts")})]}):(0,r.jsx)(p,{className:t,children:(0,r.jsx)(a.MediaPlaceholder,{allowedTypes:e,disableMediaButtons:!!v,icon:(0,r.jsx)(a.BlockIcon,{icon:n}),onSelect:h,onSelectURL:m,value:{id:y,src:A}})})};h.defaultProps={allowedTypes:[],className:"",icon:"format-aside",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,preview:null,valueURL:""},h.propTypes={allowedTypes:o().arrayOf(o().string),className:o().string,icon:o().string,imageSize:o().string,displayControlsInToolbar:o().bool,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,preview:o().element,value:o().number.isRequired,valueURL:o().string};const m=h},4808:(e,t,n)=>{"use strict";n.d(t,{default:()=>F});var r=n(7e3),s=n(1280),o=n(3376),i=n(7287),a=n(3396),l=n(7204),c=n(2e3),u=n(2108),d=n.n(u),p=n(7020),f=n.n(p),h=n(7240),m=n.n(h),g=n(9516),y=n.n(g),v=n(2940),b=n.n(v),A=n(9296),_=n.n(A),C=n(9680),x={};x.styleTagTransform=_(),x.setAttributes=y(),x.insert=m().bind(null,"head"),x.domAPI=f(),x.insertStyleElement=b(),d()(C.c,x),C.c&&C.c.locals&&C.c.locals;var w=n(4632),S=n.n(w),k=n(6484),E=n.n(k),R=n(7424),T={};T.styleTagTransform=_(),T.setAttributes=y(),T.insert=m().bind(null,"head"),T.domAPI=f(),T.insertStyleElement=b(),d()(R.c,T),R.c&&R.c.locals&&R.c.locals;const I=window.wp.htmlEntities;var N=n(9160);const P=o.cp.div` + align-items: center; + gap: 4px; + overflow-wrap: anywhere; + display: flex; + flex-direction: column; + justify-content: center; + padding: 0.5rem 0.75rem; +`,O=({title:e,postType:t,attachmentID:n})=>{const s=(0,c.useMedia)(n),o=s?.media_details?.sizes?.thumbnail?.source_url,i=s?.alt_text??"";return(0,r.jsxs)(P,{children:[o?(0,r.jsx)("img",{style:{maxWidth:"100%",height:"auto"},loading:"lazy",src:o,alt:i}):null,(0,r.jsx)(N.default,{html:(0,I.decodeEntities)(e),className:"post-picker-result-title",tag:"strong"}),(0,a.sprintf)(" (%s)",t)]})},L=({baseUrl:e,searchRender:t,selected:n,setSelected:o,suppressPostIds:c=[]})=>{const[u,d]=(0,s.useState)(!1),[p,f]=(0,s.useState)([]),[h,m]=(0,s.useState)(!1),[g,y]=(0,s.useState)(0),[v,b]=(0,s.useState)({searchValue:"",page:1}),A=(0,s.useCallback)((async(t,n=!1)=>{if(t.searchValue&&t.searchValue.length<=2)return;const r=function(){let n=(0,l.addQueryArgs)(e,{page:t.page,_embed:1,exclude:c.join(",")});return t.searchValue&&t.searchValue.length>2&&(n=(0,l.addQueryArgs)(n,{search:t.searchValue})),n}();d(!0);const s=await S()({path:r,parse:!1});y(parseInt(s.headers.get("X-WP-TotalPages"),10));const o=await s.json();let i=o;t.page>1&&(i=[...p,...o]),n||(f(i),d(!1))}),[p,e,c]);return(0,s.useEffect)((()=>{let e=!1;return h||(m(!0),A(v,e)),()=>{e=!0}}),[A,h,v]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.TextControl,{value:v.searchValue,placeholder:(0,a.__)("Search...","alley-scripts"),label:(0,a.__)("Search","alley-scripts"),onChange:e=>{const t={...v,searchValue:e,page:1};b(t),A(t)}}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__post-list",children:[p?p.map((e=>(0,r.jsx)(i.Button,{className:E()({"alley-scripts-post-picker__post":!0,"is-selected":e.id===n}),onClick:()=>o(e.id),children:t?t(e):(0,r.jsx)(O,{title:e.title,postType:e.subtype,attachmentID:e?._embedded?.self[0]?.featured_media})},e.id))):null,u?(0,r.jsx)(i.Spinner,{}):null,g>0&&v.page{const e={...v,page:v.page+1};b(e),A(e)},children:(0,a.__)("Load More","alley-scripts")})}):null]})]})},j=({baseUrl:e,closeModal:t,modalTitle:n,onUpdate:o,searchRender:l,suppressPostIds:c=[]})=>{const[u,d]=(0,s.useState)();return(0,r.jsxs)(i.Modal,{className:"alley-scripts-post-picker__modal",isDismissible:!0,title:n,onRequestClose:t,closeButtonLabel:"Close",children:[(0,r.jsx)(L,{baseUrl:e,selected:u??0,setSelected:d,searchRender:l,suppressPostIds:c}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__buttons",children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:t,children:(0,a.__)("Cancel","alley-scripts")}),(0,r.jsx)(i.Button,{variant:"primary",onClick:()=>{u&&(o(u),t())},disabled:!u,children:(0,a.__)("Select","alley-scripts")})]})]})};var D=n(3800),U={};U.styleTagTransform=_(),U.setAttributes=y(),U.insert=m().bind(null,"head"),U.domAPI=f(),U.insertStyleElement=b(),d()(D.c,U),D.c&&D.c.locals&&D.c.locals;const M=o.cp.div` + display: block; + position: relative; +`,B=o.cp.div` + border: 1px solid #eee; + display: flex; + flex-direction: column; + margin: 5px 0; + padding: 0.5rem 0.75rem; + text-align: center; +`,F=({allowedTypes:e,className:t,getPostType:n,modalTitle:o=(0,a.__)("Select Post","alley-scripts"),onReset:u,onUpdate:d,params:p={},previewRender:f,replaceText:h=(0,a.__)("Replace","alley-scripts"),resetText:m=(0,a.__)("Reset","alley-scripts"),searchEndpoint:g="/wp/v2/search",searchRender:y,selectText:v=(0,a.__)("Select","alley-scripts"),suppressPostIds:b=[],title:A="",value:_=0})=>{const[C,x]=(0,s.useState)(!1),w=(0,l.addQueryArgs)(g,{type:"post",subtype:e??"any",...p}),S=(0,c.usePostById)(_,n),{featured_media:k,title:{rendered:E=""}={},type:R=""}=S||{},T=()=>{x(!0)},I=()=>(0,r.jsxs)(i.ButtonGroup,{children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:u,style:{margin:"0 4px"},children:m}),(0,r.jsx)(i.Button,{variant:"secondary",onClick:T,style:{margin:"0 4px"},children:h})]});return 0!==_&&null===S?(0,r.jsx)(i.Spinner,{}):(0,r.jsxs)(M,{className:t,children:[A?(0,r.jsx)("h4",{children:A}):null,0!==_&&void 0===S?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Notice,{status:"error",isDismissible:!1,className:"post-picker-notice",children:(0,r.jsx)("p",{children:(0,a.sprintf)((0,a.__)("Post %d is no longer available; it has been unpublished or deleted","alley-scripts"),_)})}),I()]}):null,0!==_&&void 0!==S?(0,r.jsxs)(r.Fragment,{children:[void 0!==f?f(S):(0,r.jsx)(B,{children:(0,r.jsx)(O,{title:E,postType:R,attachmentID:k})}),I()]}):null,0===_?(0,r.jsx)(i.Button,{onClick:T,variant:"secondary",children:v}):null,C?(0,r.jsx)(j,{closeModal:()=>{x(!1)},baseUrl:w,modalTitle:o,onUpdate:d,searchRender:y,suppressPostIds:b}):null]})}},8800:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d})=>(0,r.jsx)(a.Selector,{type:"post",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d});l.defaultProps={className:"",emptyLabel:(0,i.__)("No posts found","alley-scripts"),label:(0,i.__)("Search for posts","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for posts","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},9160:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(6595),o=n.n(s),i=n(900),a=n.n(i);const l=({className:e,html:t,tag:n})=>(0,r.jsx)(n,{className:e,dangerouslySetInnerHTML:{__html:o().sanitize(t)}});l.defaultProps={className:""},l.propTypes={className:a().string,html:a().string.isRequired,tag:a().string.isRequired};const c=l},9064:(e,t,n)=>{"use strict";n.d(t,{default:()=>M});var r=n(7e3),s=n(900),o=n.n(s),i=n(1280),a=n(4632),l=n.n(a),c=n(6484),u=n.n(c),d=n(7287),p=n(3396),f=n(7204);const h={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let m;const g=new Uint8Array(16);function y(){if(!m&&(m="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!m))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return m(g)}const v=[];for(let e=0;e<256;++e)v.push((e+256).toString(16).slice(1));const b=function(e,t,n){if(h.randomUUID&&!t&&!e)return h.randomUUID();const r=(e=e||{}).random||(e.rng||y)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return v[e[t+0]]+v[e[t+1]]+v[e[t+2]]+v[e[t+3]]+"-"+v[e[t+4]]+v[e[t+5]]+"-"+v[e[t+6]]+v[e[t+7]]+"-"+v[e[t+8]]+v[e[t+9]]+"-"+v[e[t+10]]+v[e[t+11]]+v[e[t+12]]+v[e[t+13]]+v[e[t+14]]+v[e[t+15]]}(r)};var A=n(2e3);const _=({emptyLabel:e,error:t,id:n,isOpen:s,labelledbyId:o,loading:i,onSelect:a,options:l,selectedItems:c,threshold:f,value:h})=>{if(!i&&(""===h||f>h.length))return null;let m="",g="";return i?(m="loading",g=(0,p.__)("Loading...","alley-scripts")):t?(m="error",g=t):i||0!==l.length||(m="no-posts",g=e),i||!i&&(h&&0===l.length||t)?(0,r.jsx)("div",{"aria-busy":!0,className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("div",{className:u()("autocomplete__dropdown--notice",`autocomplete__${m}`),children:g})}):(0,r.jsx)("div",{className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("ul",{role:"listbox","aria-labelledby":o,id:n,className:u()("autocomplete__dropdown--results","autocomplete__list"),children:l.map((e=>(0,r.jsx)("li",{className:"autocomplete__list--item",children:(0,r.jsx)(d.Button,{onClick:()=>a(e),type:"button",disabled:c.some((t=>t.id===e.id)),isTertiary:!0,children:e.title})},e.id)))})})};_.propTypes={emptyLabel:o().string.isRequired,error:o().string.isRequired,id:o().string.isRequired,isOpen:o().bool.isRequired,labelledbyId:o().string.isRequired,loading:o().bool.isRequired,options:o().arrayOf(o().shape({label:o().string,value:o().string})).isRequired,onSelect:o().func.isRequired,selectedItems:o().shape([]).isRequired,threshold:o().number.isRequired,value:o().string.isRequired};const C=_;var x=n(2108),w=n.n(x),S=n(7020),k=n.n(S),E=n(7240),R=n.n(E),T=n(9516),I=n.n(T),N=n(2940),P=n.n(N),O=n(9296),L=n.n(O),j=n(5500),D={};D.styleTagTransform=L(),D.setAttributes=I(),D.insert=R().bind(null,"head"),D.domAPI=k(),D.insertStyleElement=P(),w()(j.c,D),j.c&&j.c.locals&&j.c.locals;const U=({type:e,className:t,emptyLabel:n,label:s,maxPages:o,multiple:a,onSelect:c,placeholder:p,subTypes:h,selected:m,threshold:g})=>{const y=b(),[v,_]=(0,i.useState)(""),[x,w]=(0,i.useState)([]),[S,k]=(0,i.useState)(!1),[E,R]=(0,i.useState)(!1),[T,I]=(0,i.useState)(""),[N,P]=(0,i.useState)([]),O=(0,i.useRef)(),L=(0,A.useDebounce)(T,750),j=(0,i.useCallback)((async(t=1)=>{if(L.length0?h.join(","):"any",type:e});await l()({path:r,parse:!1}).then((e=>{const t=parseInt(e.headers.get("X-WP-TotalPages"),10);return n=t>o?o:t,e.json()})).then((e=>{w((t=>[...t,...e])),R(!1),(n&&n>t||t>=1&&a&&N.length>0)&&j(t+1)})).catch((e=>_(e.message)))}),[L,e,o,a,h,N.length,g]);(0,i.useEffect)((()=>{P(m)}),[m]),(0,i.useEffect)((()=>{L&&g<=L.length?j():w([])}),[L,j,g]);const D=e=>{k(O.current.contains(e.target))},U=e=>{"Escape"===e.key&&k(!1)};(0,i.useEffect)((()=>(document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)))),(0,i.useEffect)((()=>(O&&document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D))));const M=e=>{let t=[];if(N.some((t=>t.id===e.id))){const n=N.findIndex((t=>t.id===e.id));t=[...N.slice(0,n),...N.slice(n+1,N.length)]}else a?t=[...N,e]:(t=[e],k(!1));P(t),c(t)};return(0,r.jsx)("form",{className:"autocomplete__component",onSubmit:e=>e.preventDefault(),children:(0,r.jsxs)("div",{className:u()("components-base-control","autocomplete-base-control",t),ref:O,children:[(0,r.jsxs)("div",{"aria-expanded":S,"aria-haspopup":"listbox","aria-owns":`listbox-${y}`,className:u()("components-base-control__field","autocomplete-base-control__field"),role:"combobox",children:[(0,r.jsx)("label",{className:u()("components-base-control__label","autocomplete-base-control__label"),htmlFor:`autocomplete-${y}`,children:(0,r.jsx)("div",{children:s})}),N.length>0?(0,r.jsx)("ul",{role:"listbox","aria-labelledby":`autocomplete-${y}`,id:`selected-items-${y}`,className:u()("autocomplete__selection--results","autocomplete__selection-list"),children:N.map((e=>(0,r.jsx)("li",{className:"autocomplete__selection-list--item",children:(0,r.jsx)(d.Button,{className:"autocomplete__selection-list--item--button",isSecondary:!0,isSmall:!0,onClick:()=>M(e),type:"button",children:e.title})},e.title)))}):null,(0,r.jsx)("input",{"aria-autocomplete":"list",autoComplete:"off",className:u()("components-text-control__input","autocomplete-text-control__input",{"autocomplete-text-control__input--working":S}),id:`autocomplete-${y}`,onChange:e=>I(e.target.value),onFocus:()=>k(!0),placeholder:p,type:"text",value:T})]}),(0,r.jsx)(C,{emptyLabel:n,error:v,labelledById:`autocomplete-${y}`,id:`listbox-${y}`,isOpen:S,loading:E&&L,onSelect:M,options:x,selectedItems:N,threshold:g,value:L})]})})};U.defaultProps={type:"post",className:"",emptyLabel:(0,p.__)("No items found","alley-scripts"),label:(0,p.__)("Search for items","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,p.__)("Search for items","alley-scripts"),subTypes:[],selected:[],threshold:3},U.propTypes={type:o().string,className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const M=U},1917:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,index:t,list:n,setList:i}){return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(s.Button,{disabled:0===t,icon:"arrow-up-alt2",label:(0,o.__)("Move up","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t-1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{disabled:t===n.length-1,icon:"arrow-down-alt2",label:(0,o.__)("Move down","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t+1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{icon:"trash",label:(0,o.__)("Remove","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t,1),i(e)}})]}),(0,r.jsx)("div",{children:e})]})}},8504:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,emptyItem:t,list:n,setList:i}){return(0,r.jsxs)(r.Fragment,{children:[e,(0,r.jsx)("div",{style:{margin:"1em 0"},children:(0,r.jsx)(s.Button,{icon:"plus",onClick:()=>i([...n,t]),variant:"primary",children:(0,o.__)("Add Item","alley-scripts")})})]})}},668:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d})=>(0,r.jsx)(a.Selector,{type:"term",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d});l.defaultProps={className:"",emptyLabel:(0,i.__)("No terms found","alley-scripts"),label:(0,i.__)("Search for terms","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for terms","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},5316:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("video",{className:"edit-video-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["video"],className:e,icon:"format-video",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const d=u},2e3:(e,t,n)=>{"use strict";n.d(t,{useCurrentPostId:()=>h.default,useDebounce:()=>r.default,useHasInnerBlocks:()=>s.default,useInnerBlocks:()=>i.default,useInnerBlocksAttributes:()=>a.default,useInnerBlocksCount:()=>l.default,useInnerBlocksIndex:()=>o.default,useMedia:()=>c.default,useOption:()=>u.default,useParentBlock:()=>d.default,useParentBlockAttributes:()=>p.default,usePost:()=>f.default,usePostById:()=>m.default,usePostMeta:()=>g.default,usePostMetaValue:()=>y.default,usePosts:()=>v.default,useTerms:()=>b.default});var r=n(7112),s=n(6980),o=n(6644),i=n(864),a=n(8512),l=n(1344),c=n(592),u=n(7188),d=n(224),p=n(8004),f=n(1744),h=n(9695),m=n(9480),g=n(6504),y=n(3772),v=n(4704),b=n(1848)},9695:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=()=>(0,r.useSelect)((e=>{const t=e("core/editor");return t?t.getCurrentPostId():null}),[])},7112:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(1280);const s=(e,t)=>{const[n,s]=(0,r.useState)(e);return(0,r.useEffect)((()=>{const n=setTimeout((()=>{s(e)}),t);return()=>{clearTimeout(n)}}),[e,t]),n}},6980:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocksCount)(e)>0},6644:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>{const t=(0,r.useParentBlock)(e),n=(0,r.useInnerBlocks)(t);return n?n.findIndex((t=>t.clientId===e)):-1}},8512:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).map((e=>e.attributes))},1344:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).length},864:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>t(r.store).getBlocks(e)),[e])},592:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=e=>(0,r.useSelect)((t=>t("core").getMedia(e)),[e])},7188:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=function(e){const t=(0,r.useSelect)((t=>{const{getEditedEntityRecord:n,getEntityRecordEdits:r,isSavingEntityRecord:s}=t("core"),o=n("root","site"),i=r("root","site");return{value:o?.[e],isEdited:!!i?.[e],isSaving:s("root","site")}}),[]),{editEntityRecord:n,saveEntityRecord:s}=(0,r.useDispatch)("core");return{...t,onChange:function(t){n("root","site",void 0,{[e]:t})},onSave:async function(){await s("root","site",{[e]:t.value})}}}},8004:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlockAttributes:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},224:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlock:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},9480:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(1280),s=n(4632),o=n.n(s),i=n(7204),a=n(1744);const l=(e,t=null)=>{const[n,s]=(0,r.useState)({}),[l,c]=(0,r.useState)(!0);(0,r.useEffect)((()=>{c(!0),e&&!n[e]?(async()=>{if(t){const n=await t(e);n?s((t=>({...t,[e]:n}))):console.error(`Custom function to get post with ID ${e} failed.`)}else{const t=(0,i.addQueryArgs)("/wp/v2/search",{include:e}),n=await o()({path:t});n.length>0&&s((t=>({...t,[e]:n[0]?.subtype})))}c(!1)})():e&&n[e]&&c(!1)}),[e]);const u=(0,a.default)(e,n[e]??"");return l||!u&&n[e]?null:u}},3772:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=(e,t=null,n=null)=>{const[s,o]=(0,r.usePostMeta)(t,n);return[s[e],t=>o({...s,[e]:t})]}},6504:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null)=>{const n=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[o,i]=(0,r.useEntityProp)("postType",n,"meta",t),a="function"==typeof i?i:()=>console.error(`Error attempting to set post meta for post type ${n}. Does it have support for custom-fields?`);return["object"==typeof o?o:{},e=>a({...e})]}},1744:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>n("core").getEntityRecord("postType",t,e)),[e,t])},4704:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>{const{getEntityRecords:r}=n("core");return r("postType",t,{include:e})}),[e,t])},1848:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null,n="categories")=>{const o=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[i,a]=(0,r.useEntityProp)("postType",o,n,t);return[i,e=>a(e)]}},5328:(e,t,n)=>{"use strict";n.d(t,{getMediaUrl:()=>i.c,parseCSVFile:()=>o});var r=n(2232),s=n.n(r);const o=e=>new Promise(((t,n)=>{s().parse(e,{complete:e=>t(e.data),dynamicTyping:!0,error:e=>n(e),header:!0,skipEmptyLines:!0})}));var i=n(6199)},6199:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=(e,t="full")=>{const{media_details:{sizes:{[t]:{source_url:n=""}={},full:{source_url:r=""}={}}={}}={},sizes:{[t]:{url:s=""}={},full:{url:o=""}={}}={},source_url:i="",url:a=""}=e;return s||n||o||r||a||i||""}},1280:e=>{"use strict";e.exports=window.React},4632:e=>{"use strict";e.exports=window.wp.apiFetch},9528:e=>{"use strict";e.exports=window.wp.blockEditor},7287:e=>{"use strict";e.exports=window.wp.components},3048:e=>{"use strict";e.exports=window.wp.coreData},7752:e=>{"use strict";e.exports=window.wp.data},3396:e=>{"use strict";e.exports=window.wp.i18n},7204:e=>{"use strict";e.exports=window.wp.url}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,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 r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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.nc=void 0;var r={};return(()=>{"use strict";n.r(r),n.d(r,{AudioPicker:()=>e.AudioPicker,CSVUploader:()=>e.CSVUploader,Checkboxes:()=>e.Checkboxes,ImagePicker:()=>e.ImagePicker,MediaPicker:()=>e.MediaPicker,PostPicker:()=>e.PostPicker,PostSelector:()=>e.PostSelector,SafeHtml:()=>e.SafeHtml,Selector:()=>e.Selector,Sortable:()=>e.Sortable,SortableItem:()=>e.SortableItem,TermSelector:()=>e.TermSelector,VideoPicker:()=>e.VideoPicker,getMediaUrl:()=>s.getMediaUrl,parseCSVFile:()=>s.parseCSVFile,useCurrentPostId:()=>t.useCurrentPostId,useDebounce:()=>t.useDebounce,useHasInnerBlocks:()=>t.useHasInnerBlocks,useInnerBlocks:()=>t.useInnerBlocks,useInnerBlocksAttributes:()=>t.useInnerBlocksAttributes,useInnerBlocksCount:()=>t.useInnerBlocksCount,useInnerBlocksIndex:()=>t.useInnerBlocksIndex,useMedia:()=>t.useMedia,useOption:()=>t.useOption,useParentBlock:()=>t.useParentBlock,useParentBlockAttributes:()=>t.useParentBlockAttributes,usePost:()=>t.usePost,usePostById:()=>t.usePostById,usePostMeta:()=>t.usePostMeta,usePostMetaValue:()=>t.usePostMetaValue,usePosts:()=>t.usePosts,useTerms:()=>t.useTerms});var e=n(7720),t=n(2e3),s=n(5328)})(),r})(),e.exports=t()},945:function(e,t,n){"use strict";var r=window.wp.blocks,s=window.React,o=n(373),i=window.wp.i18n,a=window.wp.blockEditor,l=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wp-newsletter-builder/post-content","version":"0.1.0","title":"Newsletter Post Content","category":"design","icon":"admin-post","description":"Displays the contents of a post.","textdomain":"wp-newsletter-builder","editorScript":"file:index.ts","style":["file:style-index.css"],"render":"file:render.php","attributes":{"overrideContent":{"type":"string","default":""}},"usesContext":["postId"]}');(0,r.registerBlockType)(l,{edit:function(e){var t;let{attributes:{overrideContent:n},context:{postId:r},setAttributes:l}=e;const c=null!==(t=(0,o.usePostById)(r))&&void 0!==t?t:null;let u=c?c.content.rendered:(0,i.__)("

This block will display the content.

","wp-newsletter-builder");const d=u.match(//gi)||[];var p;return u=n||(p=d?.slice(0,2).join(""),p?p.replace(/]*?>(.*?)<\/a>/gi,"$1"):""),(0,s.createElement)("div",{...(0,a.useBlockProps)({className:"post__content"})},(0,s.createElement)(a.RichText,{value:u,tagName:"div",multiline:!0,onChange:e=>l({overrideContent:e})}))}})}},n={};function r(e){var s=n[e];if(void 0!==s)return s.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=function(t,n,s,o){if(!n){var i=1/0;for(u=0;u=o)&&Object.keys(r.O).every((function(e){return r.O[e](n[l])}))?n.splice(l--,1):(a=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,s,o]},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={429:0,452:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var s,o,i=n[0],a=n[1],l=n[2],c=0;if(i.some((function(t){return 0!==e[t]}))){for(s in a)r.o(a,s)&&(r.m[s]=a[s]);if(l)var u=l(r)}for(t&&t(n);c. + * @param WP_Block $block The instance of the WP_Block class that represents the block being rendered. + * + * @package wp-newsletter-builder + */ + +$wp_newsletter_builder_block_post = $block->context['postId'] ?? null; + +$wp_newsletter_builder_block_post = get_post( $wp_newsletter_builder_block_post ); +if ( empty( $wp_newsletter_builder_block_post ) ) { + return; +} +$wp_newsletter_builder_content = $wp_newsletter_builder_block_post->post_content; +preg_match_all( '//iU', $wp_newsletter_builder_content, $matches ); +$wp_newsletter_builder_paragraphs = $matches[0]; +$wp_newsletter_builder_content = implode( '', array_slice( $wp_newsletter_builder_paragraphs, 0, 2 ) ); +$wp_newsletter_builder_content = preg_replace( '/]*?>(.*?)<\/a>/i', '$1', $wp_newsletter_builder_content ); +$wp_newsletter_builder_content = ! empty( $attributes['overrideContent'] ) ? $attributes['overrideContent'] : $wp_newsletter_builder_content; + +?> +
'post__content' ] ) ); ?>> + +
diff --git a/build/post-content/style-index.css b/build/post-content/style-index.css new file mode 100644 index 00000000..a7a3213a --- /dev/null +++ b/build/post-content/style-index.css @@ -0,0 +1 @@ +a.post__title-link{color:#000;display:block;margin:20px auto;text-decoration:none}a.post__title-link h2{margin-bottom:0;text-align:center}a.post__title-link h2.post__title--small{font-size:24px} diff --git a/build/post-excerpt/block.json b/build/post-excerpt/block.json new file mode 100644 index 00000000..d89c4994 --- /dev/null +++ b/build/post-excerpt/block.json @@ -0,0 +1,26 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 2, + "name": "wp-newsletter-builder/post-excerpt", + "version": "0.1.0", + "title": "Newsletter Post Excerpt", + "category": "design", + "icon": "admin-post", + "description": "Displays a post excerpt", + "textdomain": "wp-newsletter-builder", + "editorScript": "file:index.js", + "editorStyle": "file:index.css", + "style": [ + "file:style-index.css" + ], + "render": "file:render.php", + "attributes": { + "overrideExcerpt": { + "type": "string", + "default": "" + } + }, + "usesContext": [ + "postId" + ] +} \ No newline at end of file diff --git a/build/post-excerpt/index.asset.php b/build/post-excerpt/index.asset.php new file mode 100644 index 00000000..5f4673d3 --- /dev/null +++ b/build/post-excerpt/index.asset.php @@ -0,0 +1 @@ + array('react', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '81664732af12e5dc4bf1'); diff --git a/build/post-excerpt/index.js b/build/post-excerpt/index.js new file mode 100644 index 00000000..d7d7013f --- /dev/null +++ b/build/post-excerpt/index.js @@ -0,0 +1,42 @@ +!function(){var e,t={373:function(e){var t;self,t=()=>(()=>{var e={6484:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e=[],t=0;t{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__post-list{display:flex;flex-wrap:wrap;float:left;height:calc(70vh - 200px);justify-content:flex-start;overflow-y:auto;padding:8px;width:100%}.alley-scripts-post-picker__post{border:1px solid #eee;height:auto;justify-content:center;margin:0 8px 8px 0;transition:background-color .2s ease-in-out;width:calc((100% - 40px)/3)}@media(min-width: 780px){.alley-scripts-post-picker__post{width:calc((100% - 40px)/5)}}.alley-scripts-post-picker__post:hover{background-color:#f5f5f5}.alley-scripts-post-picker__post.is-selected{background-color:#f5f5f5}.alley-scripts-post-picker__load-more{clear:both;float:left;text-align:center;width:100%}","",{version:3,sources:["webpack://./src/components/post-picker/post-list.scss"],names:[],mappings:"AAAA,sCACE,YAAA,CACA,cAAA,CACA,UAAA,CACA,yBAAA,CACA,0BAAA,CACA,eAAA,CACA,WAAA,CACA,UAAA,CAGF,iCACE,qBAAA,CACA,WAAA,CACA,sBAAA,CACA,kBAAA,CACA,2CAAA,CACA,2BAAA,CAGA,yBATF,iCAUI,2BAAA,CAAA,CAGF,uCACE,wBAAA,CAGF,6CACE,wBAAA,CAIJ,sCACE,UAAA,CACA,UAAA,CACA,iBAAA,CACA,UAAA",sourcesContent:[".alley-scripts-post-picker__post-list {\n display: flex;\n flex-wrap: wrap;\n float: left;\n height: calc(70vh - 200px);\n justify-content: flex-start;\n overflow-y: auto;\n padding: 8px;\n width: 100%;\n}\n\n.alley-scripts-post-picker__post {\n border: 1px solid #eee;\n height: auto;\n justify-content: center;\n margin: 0 8px 8px 0;\n transition: background-color 0.2s ease-in-out;\n width: calc((100% - 40px) / 3);\n\n\n @media (min-width: 780px) {\n width: calc((100% - 40px) / 5);\n }\n\n &:hover {\n background-color: #f5f5f5;\n }\n\n &.is-selected {\n background-color: #f5f5f5;\n }\n}\n\n.alley-scripts-post-picker__load-more {\n clear: both;\n float: left;\n text-align: center;\n width: 100%;\n}\n"],sourceRoot:""}]);const a=i},9680:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__modal .components-modal__content{width:90vw}.alley-scripts-post-picker__buttons{clear:both;display:block;text-align:right;width:100%}.alley-scripts-post-picker__buttons button{margin:5px}","",{version:3,sources:["webpack://./src/components/post-picker/search-modal.scss"],names:[],mappings:"AACE,6DACE,UAAA,CAIJ,oCACE,UAAA,CACA,aAAA,CACA,gBAAA,CACA,UAAA,CAEA,2CACE,UAAA",sourcesContent:[".alley-scripts-post-picker__modal {\n .components-modal__content {\n width: 90vw;\n }\n}\n\n.alley-scripts-post-picker__buttons {\n clear: both;\n display: block;\n text-align: right;\n width: 100%;\n\n button {\n margin: 5px;\n }\n}\n"],sourceRoot:""}]);const a=i},3800:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".post-picker-notice{margin:0 0 .5rem 0}","",{version:3,sources:["webpack://./src/components/post-picker/style.scss"],names:[],mappings:"AAAA,oBACE,kBAAA",sourcesContent:[".post-picker-notice {\n margin: 0 0 0.5rem 0;\n}\n"],sourceRoot:""}]);const a=i},5500:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,'.edit-post-sidebar .autocomplete__component,.editor-styles-wrapper .autocomplete__component{margin-bottom:20px}.edit-post-sidebar .autocomplete-base-control,.editor-styles-wrapper .autocomplete-base-control{position:relative}.edit-post-sidebar .autocomplete-text-control__input,.editor-styles-wrapper .autocomplete-text-control__input{margin:0}.edit-post-sidebar .autocomplete__selection-list,.editor-styles-wrapper .autocomplete__selection-list{list-style-type:none;margin:0 0 6px;padding:0}.edit-post-sidebar .autocomplete__selection-list--item,.editor-styles-wrapper .autocomplete__selection-list--item{display:inline-block;list-style:none}.edit-post-sidebar .autocomplete__selection-list--item--button,.editor-styles-wrapper .autocomplete__selection-list--item--button{margin-bottom:4px;margin-right:3px}.edit-post-sidebar .autocomplete__selection-list--item--button::after,.editor-styles-wrapper .autocomplete__selection-list--item--button::after{content:"×";font-size:16px;line-height:20px;margin-left:5px}.edit-post-sidebar .autocomplete__dropdown,.editor-styles-wrapper .autocomplete__dropdown{background-color:#fff;border-color:rgba(0,0,0,0) #e2e4e7 #e2e4e7;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px;left:0;max-height:0;overflow-y:hidden;position:absolute;top:calc(100% + 1px);visibility:hidden;width:100%;z-index:10}.edit-post-sidebar .autocomplete__dropdown--is-open,.editor-styles-wrapper .autocomplete__dropdown--is-open{box-shadow:0 3px 30px rgba(25,30,35,.1);max-height:225px;overflow-y:scroll;visibility:visible}.edit-post-sidebar .autocomplete__dropdown--notice,.editor-styles-wrapper .autocomplete__dropdown--notice{padding:15px}.edit-post-sidebar .autocomplete__dropdown--results,.editor-styles-wrapper .autocomplete__dropdown--results{list-style:none;margin:0;padding:0}.edit-post-sidebar .autocomplete__list--item,.editor-styles-wrapper .autocomplete__list--item{list-style:none}.edit-post-sidebar .autocomplete__list--item>button,.editor-styles-wrapper .autocomplete__list--item>button{background:rgba(0,0,0,0);border-color:#e2e4e7;border-style:solid;border-width:0 0 1px;height:100%;line-height:1.25;text-align:left;white-space:inherit;width:100%}.edit-post-sidebar .autocomplete__list--item:last-child>button,.editor-styles-wrapper .autocomplete__list--item:last-child>button{border-bottom:0}',"",{version:3,sources:["webpack://./src/components/selector/styles.scss"],names:[],mappings:"AAAA,4FAgBI,kBACE,CAAA,gGAMF,iBACE,CAAA,8GAMF,QACE,CAAA,sGAMF,oBACE,CAAA,cACA,CAAA,SACA,CAAA,kHAEA,oBACE,CAAA,eACA,CAAA,kIAEA,iBACE,CAAA,gBACA,CAAA,gJAEA,WACE,CAAA,cACA,CAAA,gBACA,CAAA,eACA,CAAA,0FASR,qBACE,CAAA,0CACA,CAAA,yBACA,CAAA,kBACA,CAAA,sBACA,CAAA,MACA,CAAA,YACA,CAAA,iBACA,CAAA,iBACA,CAAA,oBACA,CAAA,iBACA,CAAA,UACA,CAAA,UACA,CAAA,4GAGA,uCACE,CAAA,gBACA,CAAA,iBACA,CAAA,kBACA,CAAA,0GAIF,YACE,CAAA,4GAIF,eACE,CAAA,QACA,CAAA,SACA,CAAA,8FAOJ,eACE,CAAA,4GAEA,wBACE,CAAA,oBACA,CAAA,kBACA,CAAA,oBACA,CAAA,WACA,CAAA,gBACA,CAAA,eACA,CAAA,mBACA,CAAA,UACA,CAAA,kIAGF,eACE",sourcesContent:["//--------------------------------------------------------------\n// AutoComplete Styles\n//--------------------------------------------------------------\n\n/* stylelint-disable max-nesting-depth */\n\n//-----------------------------------------\n// Accommodate editor well, or the sidebar.\n//-----------------------------------------\n.edit-post-sidebar,\n.editor-styles-wrapper {\n .autocomplete {\n\n //-----------------------------------------\n // Parent form wrapper.\n //-----------------------------------------\n &__component {\n margin-bottom: 20px;\n }\n\n //-----------------------------------------\n // Wrapper\n //-----------------------------------------\n &-base-control {\n position: relative;\n }\n\n //-----------------------------------------\n // Input\n //-----------------------------------------\n &-text-control__input {\n margin: 0;\n }\n\n //-----------------------------------------\n // Selected buttons.\n //-----------------------------------------\n &__selection-list {\n list-style-type: none;\n margin: 0 0 6px;\n padding: 0;\n\n &--item {\n display: inline-block;\n list-style: none;\n\n &--button {\n margin-bottom: 4px;\n margin-right: 3px;\n\n &::after {\n content: '×';\n font-size: 16px;\n line-height: 20px;\n margin-left: 5px;\n }\n }\n }\n }\n\n //-----------------------------------------\n // Results\n //-----------------------------------------\n &__dropdown {\n background-color: #fff;\n border-color: transparent #e2e4e7 #e2e4e7;\n border-radius: 0 0 4px 4px;\n border-style: solid;\n border-width: 0 1px 1px;\n left: 0;\n max-height: 0;\n overflow-y: hidden;\n position: absolute;\n top: calc(100% + 1px); // Offset focus border.\n visibility: hidden;\n width: 100%;\n z-index: 10;\n\n // Container is open.\n &--is-open {\n box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);\n max-height: 225px;\n overflow-y: scroll;\n visibility: visible;\n }\n\n // Notice handler.\n &--notice {\n padding: 15px;\n }\n\n // Results container.\n &--results {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n }\n\n //-----------------------------------------\n // List/Results\n //-----------------------------------------\n &__list--item {\n list-style: none;\n\n > button {\n background: transparent;\n border-color: #e2e4e7;\n border-style: solid;\n border-width: 0 0 1px;\n height: 100%;\n line-height: 1.25;\n text-align: left;\n white-space: inherit;\n width: 100%;\n }\n\n &:last-child > button {\n border-bottom: 0;\n }\n }\n }\n}\n"],sourceRoot:""}]);const a=i},1849:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,s,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var a=0;a0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),s&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=s):u[4]="".concat(s)),t.push(u))}},t}},2876:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(s," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},6595:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:s}=Object;let{freeze:o,seal:i,create:a}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(e){return e}),i||(i=function(e){return e}),l||(l=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});const u=x(Array.prototype.forEach),d=x(Array.prototype.pop),p=x(Array.prototype.push),f=x(String.prototype.toLowerCase),h=x(String.prototype.toString),m=x(String.prototype.match),g=x(String.prototype.replace),y=x(String.prototype.indexOf),v=x(String.prototype.trim),b=x(RegExp.prototype.test),A=(_=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),s=1;s2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let o=r.length;for(;o--;){let t=r[o];if("string"==typeof t){const e=s(t);e!==t&&(n(r)||(r[o]=e),t=e)}e[t]=!0}return e}function w(t){const n=a(null);for(const[r,o]of e(t))void 0!==s(t,r)&&(n[r]=o);return n}function S(e,t){for(;null!==e;){const n=s(e,t);if(n){if(n.get)return x(n.get);if("function"==typeof n.value)return x(n.value)}e=r(e)}return function(e){return console.warn("fallback value for",e),null}}const k=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),R=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),N=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),P=o(["#text"]),O=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),L=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),j=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),D=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=i(/\{\{[\w\W]*|[\w\W]*\}\}/gm),M=i(/<%[\w\W]*|[\w\W]*%>/gm),B=i(/\${[\w\W]*}/gm),F=i(/^data-[\-\w.\u00B7-\uFFFF]/),z=i(/^aria-[\-\w]+$/),q=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=i(/^(?:\w+script|data):/i),H=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W=i(/^html$/i);var G=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:M,TMPLIT_EXPR:B,DATA_ATTR:F,ARIA_ATTR:z,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:$,ATTR_WHITESPACE:H,DOCTYPE_NAME:W});return function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const r=e=>t(e);if(r.version="3.0.6",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;let{document:s}=n;const i=s,l=i.currentScript,{DocumentFragment:c,HTMLTemplateElement:_,Node:x,Element:U,NodeFilter:M,NamedNodeMap:B=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:F,DOMParser:z,trustedTypes:$}=n,H=U.prototype,Y=S(H,"cloneNode"),V=S(H,"nextSibling"),K=S(H,"childNodes"),Q=S(H,"parentNode");if("function"==typeof _){const e=s.createElement("template");e.content&&e.content.ownerDocument&&(s=e.content.ownerDocument)}let J,X="";const{implementation:Z,createNodeIterator:ee,createDocumentFragment:te,getElementsByTagName:ne}=s,{importNode:re}=i;let se={};r.isSupported="function"==typeof e&&"function"==typeof Q&&Z&&void 0!==Z.createHTMLDocument;const{MUSTACHE_EXPR:oe,ERB_EXPR:ie,TMPLIT_EXPR:ae,DATA_ATTR:le,ARIA_ATTR:ce,IS_SCRIPT_OR_DATA:ue,ATTR_WHITESPACE:de}=G;let{IS_ALLOWED_URI:pe}=G,fe=null;const he=C({},[...k,...E,...R,...I,...P]);let me=null;const ge=C({},[...O,...L,...j,...D]);let ye=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,be=null,Ae=!0,_e=!0,xe=!1,Ce=!0,we=!1,Se=!1,ke=!1,Ee=!1,Re=!1,Te=!1,Ie=!1,Ne=!0,Pe=!1,Oe=!0,Le=!1,je={},De=null;const Ue=C({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Me=null;const Be=C({},["audio","video","img","source","image","track"]);let Fe=null;const ze=C({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",$e="http://www.w3.org/2000/svg",He="http://www.w3.org/1999/xhtml";let We=He,Ge=!1,Ye=null;const Ve=C({},[qe,$e,He],h);let Ke=null;const Qe=["application/xhtml+xml","text/html"];let Je=null,Xe=null;const Ze=s.createElement("form"),et=function(e){return e instanceof RegExp||e instanceof Function},tt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Xe||Xe!==e){if(e&&"object"==typeof e||(e={}),e=w(e),Ke=Ke=-1===Qe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Je="application/xhtml+xml"===Ke?h:f,fe="ALLOWED_TAGS"in e?C({},e.ALLOWED_TAGS,Je):he,me="ALLOWED_ATTR"in e?C({},e.ALLOWED_ATTR,Je):ge,Ye="ALLOWED_NAMESPACES"in e?C({},e.ALLOWED_NAMESPACES,h):Ve,Fe="ADD_URI_SAFE_ATTR"in e?C(w(ze),e.ADD_URI_SAFE_ATTR,Je):ze,Me="ADD_DATA_URI_TAGS"in e?C(w(Be),e.ADD_DATA_URI_TAGS,Je):Be,De="FORBID_CONTENTS"in e?C({},e.FORBID_CONTENTS,Je):Ue,ve="FORBID_TAGS"in e?C({},e.FORBID_TAGS,Je):{},be="FORBID_ATTR"in e?C({},e.FORBID_ATTR,Je):{},je="USE_PROFILES"in e&&e.USE_PROFILES,Ae=!1!==e.ALLOW_ARIA_ATTR,_e=!1!==e.ALLOW_DATA_ATTR,xe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,we=e.SAFE_FOR_TEMPLATES||!1,Se=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Te=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,Ee=e.FORCE_BODY||!1,Ne=!1!==e.SANITIZE_DOM,Pe=e.SANITIZE_NAMED_PROPS||!1,Oe=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,pe=e.ALLOWED_URI_REGEXP||q,We=e.NAMESPACE||He,ye=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ye.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ye.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ye.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),we&&(_e=!1),Te&&(Re=!0),je&&(fe=C({},[...P]),me=[],!0===je.html&&(C(fe,k),C(me,O)),!0===je.svg&&(C(fe,E),C(me,L),C(me,D)),!0===je.svgFilters&&(C(fe,R),C(me,L),C(me,D)),!0===je.mathMl&&(C(fe,I),C(me,j),C(me,D))),e.ADD_TAGS&&(fe===he&&(fe=w(fe)),C(fe,e.ADD_TAGS,Je)),e.ADD_ATTR&&(me===ge&&(me=w(me)),C(me,e.ADD_ATTR,Je)),e.ADD_URI_SAFE_ATTR&&C(Fe,e.ADD_URI_SAFE_ATTR,Je),e.FORBID_CONTENTS&&(De===Ue&&(De=w(De)),C(De,e.FORBID_CONTENTS,Je)),Oe&&(fe["#text"]=!0),Se&&C(fe,["html","head","body"]),fe.table&&(C(fe,["tbody"]),delete ve.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');J=e.TRUSTED_TYPES_POLICY,X=J.createHTML("")}else void 0===J&&(J=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}}($,l)),null!==J&&"string"==typeof X&&(X=J.createHTML(""));o&&o(e),Xe=e}},nt=C({},["mi","mo","mn","ms","mtext"]),rt=C({},["foreignobject","desc","title","annotation-xml"]),st=C({},["title","style","font","a","script"]),ot=C({},E);C(ot,R),C(ot,T);const it=C({},I);C(it,N);const at=function(e){p(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},lt=function(e,t){try{p(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!me[e])if(Re||Te)try{at(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ct=function(e){let t=null,n=null;if(Ee)e=""+e;else{const t=m(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ke&&We===He&&(e=''+e+"");const r=J?J.createHTML(e):e;if(We===He)try{t=(new z).parseFromString(r,Ke)}catch(e){}if(!t||!t.documentElement){t=Z.createDocument(We,"template",null);try{t.documentElement.innerHTML=Ge?X:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(s.createTextNode(n),o.childNodes[0]||null),We===He?ne.call(t,Se?"html":"body")[0]:Se?t.documentElement:o},ut=function(e){return ee.call(e.ownerDocument||e,e,M.SHOW_ELEMENT|M.SHOW_COMMENT|M.SHOW_TEXT,null)},dt=function(e){return"function"==typeof x&&e instanceof x},pt=function(e,t,n){se[e]&&u(se[e],(e=>{e.call(r,t,n,Xe)}))},ft=function(e){let t=null;if(pt("beforeSanitizeElements",e,null),(n=e)instanceof F&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof B)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return at(e),!0;var n;const s=Je(e.nodeName);if(pt("uponSanitizeElement",e,{tagName:s,allowedTags:fe}),e.hasChildNodes()&&!dt(e.firstElementChild)&&b(/<[/\w]/g,e.innerHTML)&&b(/<[/\w]/g,e.textContent))return at(e),!0;if(!fe[s]||ve[s]){if(!ve[s]&&mt(s)){if(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,s))return!1;if(ye.tagNameCheck instanceof Function&&ye.tagNameCheck(s))return!1}if(Oe&&!De[s]){const t=Q(e)||e.parentNode,n=K(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r)t.insertBefore(Y(n[r],!0),V(e))}return at(e),!0}return e instanceof U&&!function(e){let t=Q(e);t&&t.tagName||(t={namespaceURI:We,tagName:"template"});const n=f(e.tagName),r=f(t.tagName);return!!Ye[e.namespaceURI]&&(e.namespaceURI===$e?t.namespaceURI===He?"svg"===n:t.namespaceURI===qe?"svg"===n&&("annotation-xml"===r||nt[r]):Boolean(ot[n]):e.namespaceURI===qe?t.namespaceURI===He?"math"===n:t.namespaceURI===$e?"math"===n&&rt[r]:Boolean(it[n]):e.namespaceURI===He?!(t.namespaceURI===$e&&!rt[r])&&!(t.namespaceURI===qe&&!nt[r])&&!it[n]&&(st[n]||!ot[n]):!("application/xhtml+xml"!==Ke||!Ye[e.namespaceURI]))}(e)?(at(e),!0):"noscript"!==s&&"noembed"!==s&&"noframes"!==s||!b(/<\/no(script|embed|frames)/i,e.innerHTML)?(we&&3===e.nodeType&&(t=e.textContent,u([oe,ie,ae],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(r.removed,{element:e.cloneNode()}),e.textContent=t)),pt("afterSanitizeElements",e,null),!1):(at(e),!0)},ht=function(e,t,n){if(Ne&&("id"===t||"name"===t)&&(n in s||n in Ze))return!1;if(_e&&!be[t]&&b(le,t));else if(Ae&&b(ce,t));else if(!me[t]||be[t]){if(!(mt(e)&&(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,e)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(e))&&(ye.attributeNameCheck instanceof RegExp&&b(ye.attributeNameCheck,t)||ye.attributeNameCheck instanceof Function&&ye.attributeNameCheck(t))||"is"===t&&ye.allowCustomizedBuiltInElements&&(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,n)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(n))))return!1}else if(Fe[t]);else if(b(pe,g(n,de,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!Me[e])if(xe&&!b(ue,g(n,de,"")));else if(n)return!1;return!0},mt=function(e){return e.indexOf("-")>0},gt=function(e){pt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:me};let s=t.length;for(;s--;){const o=t[s],{name:i,namespaceURI:a,value:l}=o,c=Je(i);let p="value"===i?l:v(l);if(n.attrName=c,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,pt("uponSanitizeAttribute",e,n),p=n.attrValue,n.forceKeepAttr)continue;if(lt(i,e),!n.keepAttr)continue;if(!Ce&&b(/\/>/i,p)){lt(i,e);continue}we&&u([oe,ie,ae],(e=>{p=g(p,e," ")}));const f=Je(e.nodeName);if(ht(f,c,p)){if(!Pe||"id"!==c&&"name"!==c||(lt(i,e),p="user-content-"+p),J&&"object"==typeof $&&"function"==typeof $.getAttributeType)if(a);else switch($.getAttributeType(f,c)){case"TrustedHTML":p=J.createHTML(p);break;case"TrustedScriptURL":p=J.createScriptURL(p)}try{a?e.setAttributeNS(a,i,p):e.setAttribute(i,p),d(r.removed)}catch(e){}}}pt("afterSanitizeAttributes",e,null)},yt=function e(t){let n=null;const r=ut(t);for(pt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)pt("uponSanitizeShadowNode",n,null),ft(n)||(n.content instanceof c&&e(n.content),gt(n));pt("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,s=null,o=null,a=null;if(Ge=!e,Ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!dt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!r.isSupported)return e;if(ke||tt(t),r.removed=[],"string"==typeof e&&(Le=!1),Le){if(e.nodeName){const t=Je(e.nodeName);if(!fe[t]||ve[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof x)n=ct("\x3c!----\x3e"),s=n.ownerDocument.importNode(e,!0),1===s.nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?n=s:n.appendChild(s);else{if(!Re&&!we&&!Se&&-1===e.indexOf("<"))return J&&Ie?J.createHTML(e):e;if(n=ct(e),!n)return Re?null:Ie?X:""}n&&Ee&&at(n.firstChild);const l=ut(Le?e:n);for(;o=l.nextNode();)ft(o)||(o.content instanceof c&&yt(o.content),gt(o));if(Le)return e;if(Re){if(Te)for(a=te.call(n.ownerDocument);n.firstChild;)a.appendChild(n.firstChild);else a=n;return(me.shadowroot||me.shadowrootmode)&&(a=re.call(i,a,!0)),a}let d=Se?n.outerHTML:n.innerHTML;return Se&&fe["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&b(W,n.ownerDocument.doctype.name)&&(d="\n"+d),we&&u([oe,ie,ae],(e=>{d=g(d,e," ")})),J&&Ie?J.createHTML(d):d},r.setConfig=function(){tt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ke=!0},r.clearConfig=function(){Xe=null,ke=!1},r.isValidAttribute=function(e,t,n){Xe||tt({});const r=Je(e),s=Je(t);return ht(r,s,n)},r.addHook=function(e,t){"function"==typeof t&&(se[e]=se[e]||[],p(se[e],t))},r.removeHook=function(e){if(se[e])return d(se[e])},r.removeHooks=function(e){se[e]&&(se[e]=[])},r.removeAllHooks=function(){se={}},r}()}()},2232:function(e,t){var n,r;n=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,s={},o=0,i={parse:function(n,r){var a=(r=r||{}).dynamicTyping||!1;if(_(a)&&(r.dynamicTypingFunction=a,a={}),r.dynamicTyping=a,r.transform=!!_(r.transform)&&r.transform,r.worker&&i.WORKERS_SUPPORTED){var l=function(){if(!i.WORKERS_SUPPORTED)return!1;var n,r,a=(n=t.URL||t.webkitURL||null,r=e.toString(),i.BLOB_URL||(i.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),l=new t.Worker(a);return l.onmessage=g,l.id=o++,s[l.id]=l}();return l.userStep=r.step,l.userChunk=r.chunk,l.userComplete=r.complete,l.userError=r.error,r.step=_(r.step),r.chunk=_(r.chunk),r.complete=_(r.complete),r.error=_(r.error),delete r.worker,void l.postMessage({input:n,config:r,workerId:l.id})}var f=null;return i.NODE_STREAM_INPUT,"string"==typeof n?(n=function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}(n),f=r.download?new c(r):new d(r)):!0===n.readable&&_(n.read)&&_(n.on)?f=new p(r):(t.File&&n instanceof File||n instanceof Object)&&(f=new u(r)),f.stream(n)},unparse:function(e,t){var n=!1,r=!0,s=",",o="\r\n",a='"',l=a+a,c=!1,u=null,d=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||i.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(s=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(c=t.skipEmptyLines),"string"==typeof t.newline&&(o=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+a),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(d=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var p=new RegExp(h(a),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return f(null,e,c);if("object"==typeof e[0])return f(u||Object.keys(e[0]),e,c)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),f(e.fields||[],e.data||[],c);throw new Error("Unable to serialize unrecognized input");function f(e,t,n){var i="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var a=Array.isArray(e)&&0=this._config.preview;if(r)t.postMessage({results:a,workerId:i.WORKER_ID,finished:c});else if(_(this._config.chunk)&&!n){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);a=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!c||!_(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:i.WORKER_ID,error:e,finished:!1})}}function c(e){var t;(e=e||{}).chunkSize||(e.chunkSize=i.RemoteChunkSize),l.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=A(this._chunkLoaded,this),t.onerror=A(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var s=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+s)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function u(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=i.LocalChunkSize),l.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=A(this._chunkLoaded,this),t.onerror=A(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function d(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function p(e){l.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=A((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=A((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=A((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=A((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function f(e){var t,n,r,s=Math.pow(2,53),o=-s,a=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,u=0,d=0,p=!1,f=!1,g=[],y={data:[],errors:[],meta:{}};if(_(e.step)){var v=e.step;e.step=function(t){if(y=t,C())x();else{if(x(),0===y.data.length)return;u+=t.data.length,e.preview&&u>e.preview?n.abort():(y.data=y.data[0],v(y,c))}}}function A(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function x(){return y&&r&&(S("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+i.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(y.data=y.data.filter((function(e){return!A(e)}))),C()&&function(){if(y)if(Array.isArray(y.data[0])){for(var t=0;C()&&t=g.length?"__parsed_extra":g[r]),e.transform&&(i=e.transform(i,o)),i=w(o,i),"__parsed_extra"===o?(s[o]=s[o]||[],s[o].push(i)):s[o]=i}return e.header&&(r>g.length?S("FieldMismatch","TooManyFields","Too many fields: expected "+g.length+" fields but parsed "+r,d+n):r=r.length/2?"\r\n":"\r"}(s,l)),r=!1,e.delimiter)_(e.delimiter)&&(e.delimiter=e.delimiter(s),y.meta.delimiter=e.delimiter);else{var c=function(t,n,r,s,o){var a,l,c,u;o=o||[",","\t","|",";",i.RECORD_SEP,i.UNIT_SEP];for(var d=0;d=a)return G(!0)}else for(B=u,u++;;){if(-1===(B=i.indexOf(t,B+1)))return f||x.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:A.length,index:u}),H();if(B===m-1)return H(i.substring(u,B).replace(M,t));if(t!==c||i[B+1]!==c){if(t===c||0===B||i[B-1]!==c){-1!==D&&D=a)return G(!0);break}x.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:A.length,index:u}),B++}}else B++}return H();function q(e){A.push(e),w=u}function $(e){var t=0;if(-1!==e){var n=i.substring(B+1,e);n&&""===n.trim()&&(t=n.length)}return t}function H(e){return f||(void 0===e&&(e=i.substring(u)),C.push(e),u=m,q(C),b&&Y()),G()}function W(e){u=e,q(C),C=[],U=i.indexOf(r,u)}function G(e){return{data:A,errors:x,meta:{delimiter:n,linebreak:r,aborted:d,truncated:!!e,cursor:w+(p||0)}}}function Y(){o(G()),A=[],x=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return u}}function g(e){var t=e.data,n=s[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var o={abort:function(){r=!0,y(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(_(n.userStep)){for(var i=0;i{"use strict";var r=n(7200);function s(){}function o(){}o.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,o,i){if(i!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:s};return n.PropTypes=n,n}},900:(e,t,n)=>{e.exports=n(7336)()},7200:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4108:(e,t,n)=>{"use strict";var r=n(1280),s=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:s,type:e,key:c,ref:u,props:o,_owner:a.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},7e3:(e,t,n)=>{"use strict";e.exports=n(4108)},3736:e=>{e.exports=function(e,t,n,r){var s=n?n.call(r,e,t):void 0;if(void 0!==s)return!!s;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),l=0;l{"use strict";var t=[];function n(e){for(var n=-1,r=0;r{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},2940:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},9516:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7020:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var s=void 0!==n.layer;s&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,s&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9296:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},3376:(e,t,n)=>{"use strict";n.d(t,{cp:()=>Ut});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n2||H(j)>3?"":" "}function Y(e,t){for(;--t&&F()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return $(e,q()+(t<6&&32==z()&&32==F()))}function V(e){for(;F();)switch(j){case e:return L;case 34:case 39:34!==e&&39!==e&&V(j);break;case 40:41===e&&V(e);break;case 92:F()}return L}function K(e,t){for(;F()&&e+j!==57&&(e+j!==84||47!==z()););return"/*"+$(t,L-1)+"*"+b(47===e?e:F())}function Q(e){for(;!H(z());)F();return $(e,L)}function J(e,t){for(var n="",r=0;r6)switch(S(e,t+1)){case 109:if(45!==S(e,t+4))break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+d+"$2-$3$1"+u+(108==S(e,t+3)?"$3":"$2-$3"))+e;case 115:return~w(e,"stretch")?Z(C(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return C(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,s,o,i,a){return c+n+":"+r+a+(s?c+n+"-span:"+(o?i:+i-+r)+a:"")+e}));case 4949:if(121===S(e,t+6))return C(e,":",":"+d)+e;break;case 6444:switch(S(e,45===S(e,14)?18:11)){case 120:return C(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+d+(45===S(e,14)?"inline-":"")+"box$3$1"+d+"$2$3$1"+c+"$2box$3")+e;case 100:return C(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return C(e,"scroll-","scroll-snap-")+e}return e}function ee(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case h:return void(e.return=Z(e.value,e.length,n));case g:return J([M(e,{value:C(e.value,"@","@"+d)})],r);case f:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(x(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":B(M(e,{props:[C(t,/:(read-\w+)/,":"+u+"$1")]})),B(M(e,{props:[t]})),A(e,{props:I(n,r)});break;case"::placeholder":B(M(e,{props:[C(t,/:(plac\w+)/,":"+d+"input-$1")]})),B(M(e,{props:[C(t,/:(plac\w+)/,":"+u+"$1")]})),B(M(e,{props:[C(t,/:(plac\w+)/,c+"input-$1")]})),B(M(e,{props:[t]})),A(e,{props:I(n,r)})}return""}))}}function te(e){return function(e){return D="",e}(ne("",null,null,null,[""],e=function(e){return N=P=1,O=E(D=e),L=0,[]}(e),0,[0],e))}function ne(e,t,n,r,s,o,i,a,l){for(var c=0,u=0,d=i,p=0,f=0,h=0,m=1,g=1,y=1,v=0,A="",_=s,x=o,k=r,R=A;g;)switch(h=v,v=F()){case 40:if(108!=h&&58==S(R,d-1)){-1!=w(R+=C(W(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:R+=W(v);break;case 9:case 10:case 13:case 32:R+=G(h);break;case 92:R+=Y(q()-1,7);continue;case 47:switch(z()){case 42:case 47:T(se(K(F(),q()),t,n,l),l);break;default:R+="/"}break;case 123*m:a[c++]=E(R)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==y&&(R=C(R,/\f/g,"")),f>0&&E(R)-d&&T(f>32?oe(R+";",r,n,d-1,l):oe(C(R," ","")+";",r,n,d-2,l),l);break;case 59:R+=";";default:if(T(k=re(R,t,n,c,u,s,a,A,_=[],x=[],d,o),o),123===v)if(0===u)ne(R,t,k,k,_,o,d,a,x);else switch(99===p&&110===S(R,3)?100:p){case 100:case 108:case 109:case 115:ne(e,k,k,r&&T(re(e,k,k,0,0,s,a,A,s,_=[],d,x),x),s,x,d,a,r?_:x);break;default:ne(R,k,k,k,[""],x,0,a,x)}}c=u=f=0,m=y=1,A=R="",d=i;break;case 58:d=1+E(R),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==(j=L>0?S(D,--L):0,P--,10===j&&(P=1,N--),j))continue;switch(R+=b(v),v*m){case 38:y=u>0?1:(R+="\f",-1);break;case 44:a[c++]=(E(R)-1)*y,y=1;break;case 64:45===z()&&(R+=W(F())),p=z(),u=d=E(A=R+=Q(q())),v++;break;case 45:45===h&&2==E(R)&&(m=0)}}return o}function re(e,t,n,r,s,o,i,a,l,c,u,d){for(var p=s-1,h=0===s?o:[""],m=R(h),g=0,y=0,b=0;g0?h[A]+" "+x:C(x,/&\f/g,h[A])))&&(l[b++]=w);return U(e,t,n,0===s?f:a,l,c,u,d)}function se(e,t,n,r){return U(e,t,n,p,b(j),k(e,2,-2),0,r)}function oe(e,t,n,r,s){return U(e,t,n,h,k(e,0,r),k(e,r+1,-1),r,s)}const ie={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ae="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",le="undefined"!=typeof window&&"HTMLElement"in window,ce=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),ue=(new Set,Object.freeze([])),de=Object.freeze({}),pe=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),fe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,he=/(^-|-$)/g;function me(e){return e.replace(fe,"-").replace(he,"")}var ge=/(a)(d)/gi,ye=function(e){return String.fromCharCode(e+(e>25?39:97))};function ve(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ye(t%52)+n;return(ye(t%52)+n).replace(ge,"$1-$2")}var be,Ae=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},_e=function(e){return Ae(5381,e)};function xe(e){return"string"==typeof e&&!0}var Ce="function"==typeof Symbol&&Symbol.for,we=Ce?Symbol.for("react.memo"):60115,Se=Ce?Symbol.for("react.forward_ref"):60112,ke={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ee={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Re={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Te=((be={})[Se]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},be[we]=Re,be);function Ie(e){return("type"in(t=e)&&t.type.$$typeof)===we?Re:"$$typeof"in e?Te[e.$$typeof]:ke;var t}var Ne=Object.defineProperty,Pe=Object.getOwnPropertyNames,Oe=Object.getOwnPropertySymbols,Le=Object.getOwnPropertyDescriptor,je=Object.getPrototypeOf,De=Object.prototype;function Ue(e,t,n){if("string"!=typeof t){if(De){var r=je(t);r&&r!==De&&Ue(e,r,n)}var s=Pe(t);Oe&&(s=s.concat(Oe(t)));for(var o=Ie(e),i=Ie(t),a=0;a0?" Args: ".concat(t.join(", ")):""))}var Ge=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,s=r;e>=s;)if((s<<=1)<0)throw We(16,"".concat(e));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var o=r;o=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),s=r+n,o=r;o=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))})),r+="".concat(i).concat(a,'{content:"').concat(l,'"}').concat("/*!sc*/\n")},o=0;o0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===f&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(ut,n).replace(r,c))})),i.prefix&&u.push(ee),u.push(X);var d=function(e,s,o,a){void 0===s&&(s=""),void 0===o&&(o=""),void 0===a&&(a="&"),t=a,n=s,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(dt,""),c=te(o||s?"".concat(o," ").concat(s," { ").concat(l," }"):l);i.namespace&&(c=pt(c,i.namespace));var d,p,f,h=[];return J(c,(d=u.concat((f=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&f(e)})),p=R(d),function(e,t,n,r){for(var s="",o=0;o="A"&&e<="Z"};function xt(e){for(var t="",n=0;n>>0);if(!t.hasNameForId(this.componentId,o)){var i=n(s,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,i)}r=Fe(r,o),this.staticRulesId=o}else{for(var a=Ae(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=Fe(r,p)}}return r},e}(),Tt=i().createContext(void 0);Tt.Consumer;var It={};function Nt(e,t,n){var s=Be(e),a=e,l=!xe(e),c=t.attrs,u=void 0===c?ue:c,d=t.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":me(e);It[n]=(It[n]||0)+1;var r="".concat(n,"-").concat(function(e){return ve(_e(e)>>>0)}("6.1.1"+n+It[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):d,f=t.displayName,h=void 0===f?function(e){return xe(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):f,m=t.displayName&&t.componentId?"".concat(me(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&a.attrs?a.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(s&&a.shouldForwardProp){var v=a.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;y=function(e,t){return v(e,t)&&b(e,t)}}else y=v}var A=new Rt(n,m,s?a.componentStyle:void 0);function _(e,t){return function(e,t,n){var s=e.attrs,a=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=i().useContext(Tt),f=vt(),h=e.shouldForwardProp||f.shouldForwardProp,m=function(e,t,n){for(var s,o=r(r({},t),{className:void 0,theme:n}),i=0;i2&&ct.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=nt(),r=ze([n&&'nonce="'.concat(n,'"'),"".concat(ae,'="true"'),"".concat("data-styled-version",'="').concat("6.1.1",'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw We(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw We(2);var n=((t={})[ae]="",t["data-styled-version"]="6.1.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),s=nt();return s&&(n.nonce=s),[i().createElement("style",r({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ct({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw We(2);return i().createElement(bt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw We(3)}}(),"__sc-".concat(ae,"__")},4928:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("audio",{className:"edit-audio-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["audio"],className:e,icon:"format-audio",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const d=u},2312:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(7e3),s=n(900),o=n.n(s),i=n(7287);const a=({label:e,value:t,options:n,onChange:s})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BaseControl,{label:e}),n.map((e=>(0,r.jsx)(i.CheckboxControl,{label:e.label,checked:t.includes(e.value),onChange:n=>{s(n?[...t,e.value]:[...t.filter((t=>t!==e.value))])}})))]});a.propTypes={label:o().string.isRequired,value:o().arrayOf(o().string).isRequired,options:o().arrayOf(o().shape({label:o().string.isRequired,value:o().string.isRequired})).isRequired,onChange:o().func.isRequired};const l=a},8312:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(7e3),s=n(1280),o=n.n(s),i=n(3396),a=n(900),l=n.n(a),c=n(5328);class u extends o().PureComponent{static handleSubmit(e){e.preventDefault()}constructor(e){super(e),this.handleChange=this.handleChange.bind(this),this.state={error:"",success:""}}handleChange(e){const{attributeName:t,callback:n,setAttributes:r}=this.props;e.target.files&&e.target.files[0]&&(0,c.parseCSVFile)(e.target.files[0]).then((e=>n?n(e):e)).then((e=>{Array.isArray(e)&&e.length>0?(this.setState({error:"",success:(0,i.__)("Successfully read CSV data.","alley-scripts")}),r({[t]:JSON.stringify(e)})):this.setState({error:(0,i.__)("Could not map CSV data. Please check the source file to ensure that it has the correct structure.","alley-scripts"),success:""})})).catch((e=>{this.setState({error:e,success:""})}))}render(){const{error:e="",success:t=""}=this.state;return(0,r.jsxs)("div",{className:"alley-scripts-block-csv-uploader",children:[(0,r.jsx)("h2",{children:(0,i.__)("Upload CSV","alley-scripts")}),(0,r.jsxs)("form",{onSubmit:this.handleSubmit,children:[""!==e?(0,r.jsxs)("div",{style:{color:"#c00"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Error:","alley-scripts")})," ",e]}):null,""!==t?(0,r.jsxs)("div",{style:{color:"#0c0"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Success:","alley-scripts")})," ",t]}):null,(0,r.jsx)("div",{children:(0,r.jsxs)("label",{htmlFor:"alley-scripts-block-csv-uploader-file",children:[(0,r.jsx)("p",{children:(0,i.__)("Select a file to load data.","alley-scripts")}),(0,r.jsx)("input",{id:"alley-scripts-block-csv-uploader-file",onChange:this.handleChange,type:"file"})]})})]})]})}}u.defaultProps={callback:null},u.propTypes={attributeName:l().string.isRequired,callback:l().func,setAttributes:l().func.isRequired}},8348:(e,t,n)=>{"use strict";n.d(t,{default:()=>p});var r=n(7e3),s=n(3396),o=n(900),i=n.n(o),a=n(3376),l=n(7720);const c=a.cp.div` + box-sizing: border-box; + flex-shrink: 0; + height: auto; + max-height: 1450px; + max-width: 1450px; + min-height: 20px; + min-width: 20px; + position: relative; + width: auto; +`,u=({src:e})=>(0,r.jsx)(c,{children:(0,r.jsx)("img",{alt:(0,s.__)("Edit image","alley-scripts"),className:"edit-image-preview",src:e,title:(0,s.__)("Edit image","alley-scripts")})});u.propTypes={src:i().string.isRequired};const d=({className:e,imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,value:a,valueURL:c})=>(0,r.jsx)(l.MediaPicker,{allowedTypes:["image"],className:e,icon:"format-image",imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,preview:u,value:a,valueURL:c});d.defaultProps={className:"",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,valueURL:""},d.propTypes={className:i().string,imageSize:i().string,displayControlsInToolbar:i().bool,onReset:i().func.isRequired,onUpdate:i().func.isRequired,onUpdateURL:i().func,value:i().number.isRequired,valueURL:i().string};const p=d},7720:(e,t,n)=>{"use strict";n.d(t,{AudioPicker:()=>r.default,CSVUploader:()=>o.default,Checkboxes:()=>s.default,ImagePicker:()=>i.default,MediaPicker:()=>a.default,PostPicker:()=>c.default,PostSelector:()=>u.default,SafeHtml:()=>l.default,Selector:()=>d.default,Sortable:()=>p.default,SortableItem:()=>f.default,TermSelector:()=>h.default,VideoPicker:()=>m.default});var r=n(4928),s=n(2312),o=n(8312),i=n(8348),a=n(5680),l=n(9160),c=n(4808),u=n(8800),d=n(9064),p=n(8504),f=n(1917),h=n(668),m=n(5316)},5680:(e,t,n)=>{"use strict";n.d(t,{default:()=>m});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(9528),l=n(7287),c=n(7752),u=n(3396),d=n(5328);const p=i.cp.div` + display: block; + position: relative; +`,f=i.cp.div` + background: white; + border: 1px solid black; + padding: 1em; +`,h=({allowedTypes:e,className:t,icon:n,imageSize:s,displayControlsInToolbar:o,onReset:i,onUpdate:h,onUpdateURL:m,preview:g,value:y,valueURL:v})=>{const{media:b}=(0,c.useSelect)((e=>({media:y?e("core").getMedia(y):void 0})),[y]);if(0!==y&&null===b)return(0,r.jsx)(l.Spinner,{});const A=b?(0,d.getMediaUrl)(b,s):v;return A?(0,r.jsxs)(p,{className:t,children:[g?(0,r.jsx)(g,{src:A}):(0,r.jsxs)(f,{className:"alley-scripts-media-picker__preview",children:[(0,r.jsx)("p",{children:(0,u.__)("Selected file:","alley-scripts")}),(0,r.jsx)("p",{children:(0,r.jsx)("a",{href:A,children:A})})]}),o?(0,r.jsx)(a.BlockControls,{group:"other",children:(0,r.jsx)(a.MediaReplaceFlow,{name:(0,u.__)("Edit Media","alley-scripts"),mediaId:y,mediaURL:A,allowedTypes:e,onSelect:h,onSelectURL:m,children:(0,r.jsx)(l.ToolbarButton,{isDestructive:!0,text:(0,u.__)("Remove","alley-scripts"),onClick:i})})}):(0,r.jsx)(l.Button,{variant:"primary",onClick:i,children:(0,u.__)("Reset","alley-scripts")})]}):(0,r.jsx)(p,{className:t,children:(0,r.jsx)(a.MediaPlaceholder,{allowedTypes:e,disableMediaButtons:!!v,icon:(0,r.jsx)(a.BlockIcon,{icon:n}),onSelect:h,onSelectURL:m,value:{id:y,src:A}})})};h.defaultProps={allowedTypes:[],className:"",icon:"format-aside",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,preview:null,valueURL:""},h.propTypes={allowedTypes:o().arrayOf(o().string),className:o().string,icon:o().string,imageSize:o().string,displayControlsInToolbar:o().bool,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,preview:o().element,value:o().number.isRequired,valueURL:o().string};const m=h},4808:(e,t,n)=>{"use strict";n.d(t,{default:()=>F});var r=n(7e3),s=n(1280),o=n(3376),i=n(7287),a=n(3396),l=n(7204),c=n(2e3),u=n(2108),d=n.n(u),p=n(7020),f=n.n(p),h=n(7240),m=n.n(h),g=n(9516),y=n.n(g),v=n(2940),b=n.n(v),A=n(9296),_=n.n(A),x=n(9680),C={};C.styleTagTransform=_(),C.setAttributes=y(),C.insert=m().bind(null,"head"),C.domAPI=f(),C.insertStyleElement=b(),d()(x.c,C),x.c&&x.c.locals&&x.c.locals;var w=n(4632),S=n.n(w),k=n(6484),E=n.n(k),R=n(7424),T={};T.styleTagTransform=_(),T.setAttributes=y(),T.insert=m().bind(null,"head"),T.domAPI=f(),T.insertStyleElement=b(),d()(R.c,T),R.c&&R.c.locals&&R.c.locals;const I=window.wp.htmlEntities;var N=n(9160);const P=o.cp.div` + align-items: center; + gap: 4px; + overflow-wrap: anywhere; + display: flex; + flex-direction: column; + justify-content: center; + padding: 0.5rem 0.75rem; +`,O=({title:e,postType:t,attachmentID:n})=>{const s=(0,c.useMedia)(n),o=s?.media_details?.sizes?.thumbnail?.source_url,i=s?.alt_text??"";return(0,r.jsxs)(P,{children:[o?(0,r.jsx)("img",{style:{maxWidth:"100%",height:"auto"},loading:"lazy",src:o,alt:i}):null,(0,r.jsx)(N.default,{html:(0,I.decodeEntities)(e),className:"post-picker-result-title",tag:"strong"}),(0,a.sprintf)(" (%s)",t)]})},L=({baseUrl:e,searchRender:t,selected:n,setSelected:o,suppressPostIds:c=[]})=>{const[u,d]=(0,s.useState)(!1),[p,f]=(0,s.useState)([]),[h,m]=(0,s.useState)(!1),[g,y]=(0,s.useState)(0),[v,b]=(0,s.useState)({searchValue:"",page:1}),A=(0,s.useCallback)((async(t,n=!1)=>{if(t.searchValue&&t.searchValue.length<=2)return;const r=function(){let n=(0,l.addQueryArgs)(e,{page:t.page,_embed:1,exclude:c.join(",")});return t.searchValue&&t.searchValue.length>2&&(n=(0,l.addQueryArgs)(n,{search:t.searchValue})),n}();d(!0);const s=await S()({path:r,parse:!1});y(parseInt(s.headers.get("X-WP-TotalPages"),10));const o=await s.json();let i=o;t.page>1&&(i=[...p,...o]),n||(f(i),d(!1))}),[p,e,c]);return(0,s.useEffect)((()=>{let e=!1;return h||(m(!0),A(v,e)),()=>{e=!0}}),[A,h,v]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.TextControl,{value:v.searchValue,placeholder:(0,a.__)("Search...","alley-scripts"),label:(0,a.__)("Search","alley-scripts"),onChange:e=>{const t={...v,searchValue:e,page:1};b(t),A(t)}}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__post-list",children:[p?p.map((e=>(0,r.jsx)(i.Button,{className:E()({"alley-scripts-post-picker__post":!0,"is-selected":e.id===n}),onClick:()=>o(e.id),children:t?t(e):(0,r.jsx)(O,{title:e.title,postType:e.subtype,attachmentID:e?._embedded?.self[0]?.featured_media})},e.id))):null,u?(0,r.jsx)(i.Spinner,{}):null,g>0&&v.page{const e={...v,page:v.page+1};b(e),A(e)},children:(0,a.__)("Load More","alley-scripts")})}):null]})]})},j=({baseUrl:e,closeModal:t,modalTitle:n,onUpdate:o,searchRender:l,suppressPostIds:c=[]})=>{const[u,d]=(0,s.useState)();return(0,r.jsxs)(i.Modal,{className:"alley-scripts-post-picker__modal",isDismissible:!0,title:n,onRequestClose:t,closeButtonLabel:"Close",children:[(0,r.jsx)(L,{baseUrl:e,selected:u??0,setSelected:d,searchRender:l,suppressPostIds:c}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__buttons",children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:t,children:(0,a.__)("Cancel","alley-scripts")}),(0,r.jsx)(i.Button,{variant:"primary",onClick:()=>{u&&(o(u),t())},disabled:!u,children:(0,a.__)("Select","alley-scripts")})]})]})};var D=n(3800),U={};U.styleTagTransform=_(),U.setAttributes=y(),U.insert=m().bind(null,"head"),U.domAPI=f(),U.insertStyleElement=b(),d()(D.c,U),D.c&&D.c.locals&&D.c.locals;const M=o.cp.div` + display: block; + position: relative; +`,B=o.cp.div` + border: 1px solid #eee; + display: flex; + flex-direction: column; + margin: 5px 0; + padding: 0.5rem 0.75rem; + text-align: center; +`,F=({allowedTypes:e,className:t,getPostType:n,modalTitle:o=(0,a.__)("Select Post","alley-scripts"),onReset:u,onUpdate:d,params:p={},previewRender:f,replaceText:h=(0,a.__)("Replace","alley-scripts"),resetText:m=(0,a.__)("Reset","alley-scripts"),searchEndpoint:g="/wp/v2/search",searchRender:y,selectText:v=(0,a.__)("Select","alley-scripts"),suppressPostIds:b=[],title:A="",value:_=0})=>{const[x,C]=(0,s.useState)(!1),w=(0,l.addQueryArgs)(g,{type:"post",subtype:e??"any",...p}),S=(0,c.usePostById)(_,n),{featured_media:k,title:{rendered:E=""}={},type:R=""}=S||{},T=()=>{C(!0)},I=()=>(0,r.jsxs)(i.ButtonGroup,{children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:u,style:{margin:"0 4px"},children:m}),(0,r.jsx)(i.Button,{variant:"secondary",onClick:T,style:{margin:"0 4px"},children:h})]});return 0!==_&&null===S?(0,r.jsx)(i.Spinner,{}):(0,r.jsxs)(M,{className:t,children:[A?(0,r.jsx)("h4",{children:A}):null,0!==_&&void 0===S?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Notice,{status:"error",isDismissible:!1,className:"post-picker-notice",children:(0,r.jsx)("p",{children:(0,a.sprintf)((0,a.__)("Post %d is no longer available; it has been unpublished or deleted","alley-scripts"),_)})}),I()]}):null,0!==_&&void 0!==S?(0,r.jsxs)(r.Fragment,{children:[void 0!==f?f(S):(0,r.jsx)(B,{children:(0,r.jsx)(O,{title:E,postType:R,attachmentID:k})}),I()]}):null,0===_?(0,r.jsx)(i.Button,{onClick:T,variant:"secondary",children:v}):null,x?(0,r.jsx)(j,{closeModal:()=>{C(!1)},baseUrl:w,modalTitle:o,onUpdate:d,searchRender:y,suppressPostIds:b}):null]})}},8800:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d})=>(0,r.jsx)(a.Selector,{type:"post",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d});l.defaultProps={className:"",emptyLabel:(0,i.__)("No posts found","alley-scripts"),label:(0,i.__)("Search for posts","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for posts","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},9160:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(6595),o=n.n(s),i=n(900),a=n.n(i);const l=({className:e,html:t,tag:n})=>(0,r.jsx)(n,{className:e,dangerouslySetInnerHTML:{__html:o().sanitize(t)}});l.defaultProps={className:""},l.propTypes={className:a().string,html:a().string.isRequired,tag:a().string.isRequired};const c=l},9064:(e,t,n)=>{"use strict";n.d(t,{default:()=>M});var r=n(7e3),s=n(900),o=n.n(s),i=n(1280),a=n(4632),l=n.n(a),c=n(6484),u=n.n(c),d=n(7287),p=n(3396),f=n(7204);const h={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let m;const g=new Uint8Array(16);function y(){if(!m&&(m="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!m))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return m(g)}const v=[];for(let e=0;e<256;++e)v.push((e+256).toString(16).slice(1));const b=function(e,t,n){if(h.randomUUID&&!t&&!e)return h.randomUUID();const r=(e=e||{}).random||(e.rng||y)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return v[e[t+0]]+v[e[t+1]]+v[e[t+2]]+v[e[t+3]]+"-"+v[e[t+4]]+v[e[t+5]]+"-"+v[e[t+6]]+v[e[t+7]]+"-"+v[e[t+8]]+v[e[t+9]]+"-"+v[e[t+10]]+v[e[t+11]]+v[e[t+12]]+v[e[t+13]]+v[e[t+14]]+v[e[t+15]]}(r)};var A=n(2e3);const _=({emptyLabel:e,error:t,id:n,isOpen:s,labelledbyId:o,loading:i,onSelect:a,options:l,selectedItems:c,threshold:f,value:h})=>{if(!i&&(""===h||f>h.length))return null;let m="",g="";return i?(m="loading",g=(0,p.__)("Loading...","alley-scripts")):t?(m="error",g=t):i||0!==l.length||(m="no-posts",g=e),i||!i&&(h&&0===l.length||t)?(0,r.jsx)("div",{"aria-busy":!0,className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("div",{className:u()("autocomplete__dropdown--notice",`autocomplete__${m}`),children:g})}):(0,r.jsx)("div",{className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("ul",{role:"listbox","aria-labelledby":o,id:n,className:u()("autocomplete__dropdown--results","autocomplete__list"),children:l.map((e=>(0,r.jsx)("li",{className:"autocomplete__list--item",children:(0,r.jsx)(d.Button,{onClick:()=>a(e),type:"button",disabled:c.some((t=>t.id===e.id)),isTertiary:!0,children:e.title})},e.id)))})})};_.propTypes={emptyLabel:o().string.isRequired,error:o().string.isRequired,id:o().string.isRequired,isOpen:o().bool.isRequired,labelledbyId:o().string.isRequired,loading:o().bool.isRequired,options:o().arrayOf(o().shape({label:o().string,value:o().string})).isRequired,onSelect:o().func.isRequired,selectedItems:o().shape([]).isRequired,threshold:o().number.isRequired,value:o().string.isRequired};const x=_;var C=n(2108),w=n.n(C),S=n(7020),k=n.n(S),E=n(7240),R=n.n(E),T=n(9516),I=n.n(T),N=n(2940),P=n.n(N),O=n(9296),L=n.n(O),j=n(5500),D={};D.styleTagTransform=L(),D.setAttributes=I(),D.insert=R().bind(null,"head"),D.domAPI=k(),D.insertStyleElement=P(),w()(j.c,D),j.c&&j.c.locals&&j.c.locals;const U=({type:e,className:t,emptyLabel:n,label:s,maxPages:o,multiple:a,onSelect:c,placeholder:p,subTypes:h,selected:m,threshold:g})=>{const y=b(),[v,_]=(0,i.useState)(""),[C,w]=(0,i.useState)([]),[S,k]=(0,i.useState)(!1),[E,R]=(0,i.useState)(!1),[T,I]=(0,i.useState)(""),[N,P]=(0,i.useState)([]),O=(0,i.useRef)(),L=(0,A.useDebounce)(T,750),j=(0,i.useCallback)((async(t=1)=>{if(L.length0?h.join(","):"any",type:e});await l()({path:r,parse:!1}).then((e=>{const t=parseInt(e.headers.get("X-WP-TotalPages"),10);return n=t>o?o:t,e.json()})).then((e=>{w((t=>[...t,...e])),R(!1),(n&&n>t||t>=1&&a&&N.length>0)&&j(t+1)})).catch((e=>_(e.message)))}),[L,e,o,a,h,N.length,g]);(0,i.useEffect)((()=>{P(m)}),[m]),(0,i.useEffect)((()=>{L&&g<=L.length?j():w([])}),[L,j,g]);const D=e=>{k(O.current.contains(e.target))},U=e=>{"Escape"===e.key&&k(!1)};(0,i.useEffect)((()=>(document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)))),(0,i.useEffect)((()=>(O&&document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D))));const M=e=>{let t=[];if(N.some((t=>t.id===e.id))){const n=N.findIndex((t=>t.id===e.id));t=[...N.slice(0,n),...N.slice(n+1,N.length)]}else a?t=[...N,e]:(t=[e],k(!1));P(t),c(t)};return(0,r.jsx)("form",{className:"autocomplete__component",onSubmit:e=>e.preventDefault(),children:(0,r.jsxs)("div",{className:u()("components-base-control","autocomplete-base-control",t),ref:O,children:[(0,r.jsxs)("div",{"aria-expanded":S,"aria-haspopup":"listbox","aria-owns":`listbox-${y}`,className:u()("components-base-control__field","autocomplete-base-control__field"),role:"combobox",children:[(0,r.jsx)("label",{className:u()("components-base-control__label","autocomplete-base-control__label"),htmlFor:`autocomplete-${y}`,children:(0,r.jsx)("div",{children:s})}),N.length>0?(0,r.jsx)("ul",{role:"listbox","aria-labelledby":`autocomplete-${y}`,id:`selected-items-${y}`,className:u()("autocomplete__selection--results","autocomplete__selection-list"),children:N.map((e=>(0,r.jsx)("li",{className:"autocomplete__selection-list--item",children:(0,r.jsx)(d.Button,{className:"autocomplete__selection-list--item--button",isSecondary:!0,isSmall:!0,onClick:()=>M(e),type:"button",children:e.title})},e.title)))}):null,(0,r.jsx)("input",{"aria-autocomplete":"list",autoComplete:"off",className:u()("components-text-control__input","autocomplete-text-control__input",{"autocomplete-text-control__input--working":S}),id:`autocomplete-${y}`,onChange:e=>I(e.target.value),onFocus:()=>k(!0),placeholder:p,type:"text",value:T})]}),(0,r.jsx)(x,{emptyLabel:n,error:v,labelledById:`autocomplete-${y}`,id:`listbox-${y}`,isOpen:S,loading:E&&L,onSelect:M,options:C,selectedItems:N,threshold:g,value:L})]})})};U.defaultProps={type:"post",className:"",emptyLabel:(0,p.__)("No items found","alley-scripts"),label:(0,p.__)("Search for items","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,p.__)("Search for items","alley-scripts"),subTypes:[],selected:[],threshold:3},U.propTypes={type:o().string,className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const M=U},1917:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,index:t,list:n,setList:i}){return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(s.Button,{disabled:0===t,icon:"arrow-up-alt2",label:(0,o.__)("Move up","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t-1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{disabled:t===n.length-1,icon:"arrow-down-alt2",label:(0,o.__)("Move down","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t+1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{icon:"trash",label:(0,o.__)("Remove","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t,1),i(e)}})]}),(0,r.jsx)("div",{children:e})]})}},8504:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,emptyItem:t,list:n,setList:i}){return(0,r.jsxs)(r.Fragment,{children:[e,(0,r.jsx)("div",{style:{margin:"1em 0"},children:(0,r.jsx)(s.Button,{icon:"plus",onClick:()=>i([...n,t]),variant:"primary",children:(0,o.__)("Add Item","alley-scripts")})})]})}},668:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d})=>(0,r.jsx)(a.Selector,{type:"term",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d});l.defaultProps={className:"",emptyLabel:(0,i.__)("No terms found","alley-scripts"),label:(0,i.__)("Search for terms","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for terms","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},5316:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("video",{className:"edit-video-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["video"],className:e,icon:"format-video",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const d=u},2e3:(e,t,n)=>{"use strict";n.d(t,{useCurrentPostId:()=>h.default,useDebounce:()=>r.default,useHasInnerBlocks:()=>s.default,useInnerBlocks:()=>i.default,useInnerBlocksAttributes:()=>a.default,useInnerBlocksCount:()=>l.default,useInnerBlocksIndex:()=>o.default,useMedia:()=>c.default,useOption:()=>u.default,useParentBlock:()=>d.default,useParentBlockAttributes:()=>p.default,usePost:()=>f.default,usePostById:()=>m.default,usePostMeta:()=>g.default,usePostMetaValue:()=>y.default,usePosts:()=>v.default,useTerms:()=>b.default});var r=n(7112),s=n(6980),o=n(6644),i=n(864),a=n(8512),l=n(1344),c=n(592),u=n(7188),d=n(224),p=n(8004),f=n(1744),h=n(9695),m=n(9480),g=n(6504),y=n(3772),v=n(4704),b=n(1848)},9695:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=()=>(0,r.useSelect)((e=>{const t=e("core/editor");return t?t.getCurrentPostId():null}),[])},7112:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(1280);const s=(e,t)=>{const[n,s]=(0,r.useState)(e);return(0,r.useEffect)((()=>{const n=setTimeout((()=>{s(e)}),t);return()=>{clearTimeout(n)}}),[e,t]),n}},6980:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocksCount)(e)>0},6644:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>{const t=(0,r.useParentBlock)(e),n=(0,r.useInnerBlocks)(t);return n?n.findIndex((t=>t.clientId===e)):-1}},8512:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).map((e=>e.attributes))},1344:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).length},864:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>t(r.store).getBlocks(e)),[e])},592:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=e=>(0,r.useSelect)((t=>t("core").getMedia(e)),[e])},7188:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=function(e){const t=(0,r.useSelect)((t=>{const{getEditedEntityRecord:n,getEntityRecordEdits:r,isSavingEntityRecord:s}=t("core"),o=n("root","site"),i=r("root","site");return{value:o?.[e],isEdited:!!i?.[e],isSaving:s("root","site")}}),[]),{editEntityRecord:n,saveEntityRecord:s}=(0,r.useDispatch)("core");return{...t,onChange:function(t){n("root","site",void 0,{[e]:t})},onSave:async function(){await s("root","site",{[e]:t.value})}}}},8004:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlockAttributes:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},224:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlock:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},9480:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(1280),s=n(4632),o=n.n(s),i=n(7204),a=n(1744);const l=(e,t=null)=>{const[n,s]=(0,r.useState)({}),[l,c]=(0,r.useState)(!0);(0,r.useEffect)((()=>{c(!0),e&&!n[e]?(async()=>{if(t){const n=await t(e);n?s((t=>({...t,[e]:n}))):console.error(`Custom function to get post with ID ${e} failed.`)}else{const t=(0,i.addQueryArgs)("/wp/v2/search",{include:e}),n=await o()({path:t});n.length>0&&s((t=>({...t,[e]:n[0]?.subtype})))}c(!1)})():e&&n[e]&&c(!1)}),[e]);const u=(0,a.default)(e,n[e]??"");return l||!u&&n[e]?null:u}},3772:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=(e,t=null,n=null)=>{const[s,o]=(0,r.usePostMeta)(t,n);return[s[e],t=>o({...s,[e]:t})]}},6504:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null)=>{const n=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[o,i]=(0,r.useEntityProp)("postType",n,"meta",t),a="function"==typeof i?i:()=>console.error(`Error attempting to set post meta for post type ${n}. Does it have support for custom-fields?`);return["object"==typeof o?o:{},e=>a({...e})]}},1744:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>n("core").getEntityRecord("postType",t,e)),[e,t])},4704:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>{const{getEntityRecords:r}=n("core");return r("postType",t,{include:e})}),[e,t])},1848:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null,n="categories")=>{const o=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[i,a]=(0,r.useEntityProp)("postType",o,n,t);return[i,e=>a(e)]}},5328:(e,t,n)=>{"use strict";n.d(t,{getMediaUrl:()=>i.c,parseCSVFile:()=>o});var r=n(2232),s=n.n(r);const o=e=>new Promise(((t,n)=>{s().parse(e,{complete:e=>t(e.data),dynamicTyping:!0,error:e=>n(e),header:!0,skipEmptyLines:!0})}));var i=n(6199)},6199:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=(e,t="full")=>{const{media_details:{sizes:{[t]:{source_url:n=""}={},full:{source_url:r=""}={}}={}}={},sizes:{[t]:{url:s=""}={},full:{url:o=""}={}}={},source_url:i="",url:a=""}=e;return s||n||o||r||a||i||""}},1280:e=>{"use strict";e.exports=window.React},4632:e=>{"use strict";e.exports=window.wp.apiFetch},9528:e=>{"use strict";e.exports=window.wp.blockEditor},7287:e=>{"use strict";e.exports=window.wp.components},3048:e=>{"use strict";e.exports=window.wp.coreData},7752:e=>{"use strict";e.exports=window.wp.data},3396:e=>{"use strict";e.exports=window.wp.i18n},7204:e=>{"use strict";e.exports=window.wp.url}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,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 r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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.nc=void 0;var r={};return(()=>{"use strict";n.r(r),n.d(r,{AudioPicker:()=>e.AudioPicker,CSVUploader:()=>e.CSVUploader,Checkboxes:()=>e.Checkboxes,ImagePicker:()=>e.ImagePicker,MediaPicker:()=>e.MediaPicker,PostPicker:()=>e.PostPicker,PostSelector:()=>e.PostSelector,SafeHtml:()=>e.SafeHtml,Selector:()=>e.Selector,Sortable:()=>e.Sortable,SortableItem:()=>e.SortableItem,TermSelector:()=>e.TermSelector,VideoPicker:()=>e.VideoPicker,getMediaUrl:()=>s.getMediaUrl,parseCSVFile:()=>s.parseCSVFile,useCurrentPostId:()=>t.useCurrentPostId,useDebounce:()=>t.useDebounce,useHasInnerBlocks:()=>t.useHasInnerBlocks,useInnerBlocks:()=>t.useInnerBlocks,useInnerBlocksAttributes:()=>t.useInnerBlocksAttributes,useInnerBlocksCount:()=>t.useInnerBlocksCount,useInnerBlocksIndex:()=>t.useInnerBlocksIndex,useMedia:()=>t.useMedia,useOption:()=>t.useOption,useParentBlock:()=>t.useParentBlock,useParentBlockAttributes:()=>t.useParentBlockAttributes,usePost:()=>t.usePost,usePostById:()=>t.usePostById,usePostMeta:()=>t.usePostMeta,usePostMetaValue:()=>t.usePostMetaValue,usePosts:()=>t.usePosts,useTerms:()=>t.useTerms});var e=n(7720),t=n(2e3),s=n(5328)})(),r})(),e.exports=t()},667:function(e,t,n){"use strict";var r=window.wp.blocks,s=window.React,o=n(373),i=window.wp.i18n,a=window.wp.blockEditor,l=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wp-newsletter-builder/post-excerpt","version":"0.1.0","title":"Newsletter Post Excerpt","category":"design","icon":"admin-post","description":"Displays a post excerpt","textdomain":"wp-newsletter-builder","editorScript":"file:index.ts","editorStyle":"file:index.css","style":["file:style-index.css"],"render":"file:render.php","attributes":{"overrideExcerpt":{"type":"string","default":""}},"usesContext":["postId"]}');(0,r.registerBlockType)(l,{edit:function(e){var t;let{attributes:{overrideExcerpt:n},context:{postId:r},setAttributes:l}=e;const c=null!==(t=(0,o.usePostById)(r))&&void 0!==t?t:null;let u=c?c.excerpt.rendered:(0,i.__)("This block will display the excerpt.","wp-newsletter-builder");return u=n||u,(0,s.createElement)("div",{...(0,a.useBlockProps)({className:"post__dek"})},(0,s.createElement)(a.RichText,{value:u,tagName:"p",multiline:!1,onChange:e=>l({overrideExcerpt:e})}))}})}},n={};function r(e){var s=n[e];if(void 0!==s)return s.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=function(t,n,s,o){if(!n){var i=1/0;for(u=0;u=o)&&Object.keys(r.O).every((function(e){return r.O[e](n[l])}))?n.splice(l--,1):(a=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,s,o]},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={490:0,117:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var s,o,i=n[0],a=n[1],l=n[2],c=0;if(i.some((function(t){return 0!==e[t]}))){for(s in a)r.o(a,s)&&(r.m[s]=a[s]);if(l)var u=l(r)}for(t&&t(n);c. + * @param WP_Block $block The instance of the WP_Block class that represents the block being rendered. + * + * @package wp-newsletter-builder + */ + +$wp_newsletter_builder_block_post = $block->context['postId'] ?? null; + +$wp_newsletter_builder_block_post = get_post( $wp_newsletter_builder_block_post ); +if ( empty( $wp_newsletter_builder_block_post ) ) { + return; +} +$wp_newsletter_builder_excerpt = ! empty( $attributes['overrideExcerpt'] ) ? $attributes['overrideExcerpt'] : get_the_excerpt( $wp_newsletter_builder_block_post ); + +?> +
'post__dek' ] ) ); ?>> +

+
diff --git a/build/post-excerpt/style-index.css b/build/post-excerpt/style-index.css new file mode 100644 index 00000000..a7a3213a --- /dev/null +++ b/build/post-excerpt/style-index.css @@ -0,0 +1 @@ +a.post__title-link{color:#000;display:block;margin:20px auto;text-decoration:none}a.post__title-link h2{margin-bottom:0;text-align:center}a.post__title-link h2.post__title--small{font-size:24px} diff --git a/build/post-featured-image/block.json b/build/post-featured-image/block.json new file mode 100644 index 00000000..037c719a --- /dev/null +++ b/build/post-featured-image/block.json @@ -0,0 +1,29 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 2, + "name": "wp-newsletter-builder/post-featured-image", + "version": "0.1.0", + "title": "Newsletter Post Featured Image", + "category": "design", + "icon": "admin-post", + "description": "Displays a post featured image", + "textdomain": "wp-newsletter-builder", + "editorScript": "file:index.js", + "style": [ + "file:style-index.css" + ], + "render": "file:render.php", + "attributes": { + "overrideImage": { + "type": "number", + "default": 0 + }, + "imgSizes": { + "type": "string", + "default": "" + } + }, + "usesContext": [ + "postId" + ] +} \ No newline at end of file diff --git a/build/post-featured-image/index.asset.php b/build/post-featured-image/index.asset.php new file mode 100644 index 00000000..6efefa4f --- /dev/null +++ b/build/post-featured-image/index.asset.php @@ -0,0 +1 @@ + array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n'), 'version' => '20764f07476b97643ca8'); diff --git a/build/post-featured-image/index.js b/build/post-featured-image/index.js new file mode 100644 index 00000000..7c82d48e --- /dev/null +++ b/build/post-featured-image/index.js @@ -0,0 +1,42 @@ +!function(){var e,t={373:function(e){var t;self,t=()=>(()=>{var e={6484:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e=[],t=0;t{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__post-list{display:flex;flex-wrap:wrap;float:left;height:calc(70vh - 200px);justify-content:flex-start;overflow-y:auto;padding:8px;width:100%}.alley-scripts-post-picker__post{border:1px solid #eee;height:auto;justify-content:center;margin:0 8px 8px 0;transition:background-color .2s ease-in-out;width:calc((100% - 40px)/3)}@media(min-width: 780px){.alley-scripts-post-picker__post{width:calc((100% - 40px)/5)}}.alley-scripts-post-picker__post:hover{background-color:#f5f5f5}.alley-scripts-post-picker__post.is-selected{background-color:#f5f5f5}.alley-scripts-post-picker__load-more{clear:both;float:left;text-align:center;width:100%}","",{version:3,sources:["webpack://./src/components/post-picker/post-list.scss"],names:[],mappings:"AAAA,sCACE,YAAA,CACA,cAAA,CACA,UAAA,CACA,yBAAA,CACA,0BAAA,CACA,eAAA,CACA,WAAA,CACA,UAAA,CAGF,iCACE,qBAAA,CACA,WAAA,CACA,sBAAA,CACA,kBAAA,CACA,2CAAA,CACA,2BAAA,CAGA,yBATF,iCAUI,2BAAA,CAAA,CAGF,uCACE,wBAAA,CAGF,6CACE,wBAAA,CAIJ,sCACE,UAAA,CACA,UAAA,CACA,iBAAA,CACA,UAAA",sourcesContent:[".alley-scripts-post-picker__post-list {\n display: flex;\n flex-wrap: wrap;\n float: left;\n height: calc(70vh - 200px);\n justify-content: flex-start;\n overflow-y: auto;\n padding: 8px;\n width: 100%;\n}\n\n.alley-scripts-post-picker__post {\n border: 1px solid #eee;\n height: auto;\n justify-content: center;\n margin: 0 8px 8px 0;\n transition: background-color 0.2s ease-in-out;\n width: calc((100% - 40px) / 3);\n\n\n @media (min-width: 780px) {\n width: calc((100% - 40px) / 5);\n }\n\n &:hover {\n background-color: #f5f5f5;\n }\n\n &.is-selected {\n background-color: #f5f5f5;\n }\n}\n\n.alley-scripts-post-picker__load-more {\n clear: both;\n float: left;\n text-align: center;\n width: 100%;\n}\n"],sourceRoot:""}]);const a=i},9680:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__modal .components-modal__content{width:90vw}.alley-scripts-post-picker__buttons{clear:both;display:block;text-align:right;width:100%}.alley-scripts-post-picker__buttons button{margin:5px}","",{version:3,sources:["webpack://./src/components/post-picker/search-modal.scss"],names:[],mappings:"AACE,6DACE,UAAA,CAIJ,oCACE,UAAA,CACA,aAAA,CACA,gBAAA,CACA,UAAA,CAEA,2CACE,UAAA",sourcesContent:[".alley-scripts-post-picker__modal {\n .components-modal__content {\n width: 90vw;\n }\n}\n\n.alley-scripts-post-picker__buttons {\n clear: both;\n display: block;\n text-align: right;\n width: 100%;\n\n button {\n margin: 5px;\n }\n}\n"],sourceRoot:""}]);const a=i},3800:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".post-picker-notice{margin:0 0 .5rem 0}","",{version:3,sources:["webpack://./src/components/post-picker/style.scss"],names:[],mappings:"AAAA,oBACE,kBAAA",sourcesContent:[".post-picker-notice {\n margin: 0 0 0.5rem 0;\n}\n"],sourceRoot:""}]);const a=i},5500:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,'.edit-post-sidebar .autocomplete__component,.editor-styles-wrapper .autocomplete__component{margin-bottom:20px}.edit-post-sidebar .autocomplete-base-control,.editor-styles-wrapper .autocomplete-base-control{position:relative}.edit-post-sidebar .autocomplete-text-control__input,.editor-styles-wrapper .autocomplete-text-control__input{margin:0}.edit-post-sidebar .autocomplete__selection-list,.editor-styles-wrapper .autocomplete__selection-list{list-style-type:none;margin:0 0 6px;padding:0}.edit-post-sidebar .autocomplete__selection-list--item,.editor-styles-wrapper .autocomplete__selection-list--item{display:inline-block;list-style:none}.edit-post-sidebar .autocomplete__selection-list--item--button,.editor-styles-wrapper .autocomplete__selection-list--item--button{margin-bottom:4px;margin-right:3px}.edit-post-sidebar .autocomplete__selection-list--item--button::after,.editor-styles-wrapper .autocomplete__selection-list--item--button::after{content:"×";font-size:16px;line-height:20px;margin-left:5px}.edit-post-sidebar .autocomplete__dropdown,.editor-styles-wrapper .autocomplete__dropdown{background-color:#fff;border-color:rgba(0,0,0,0) #e2e4e7 #e2e4e7;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px;left:0;max-height:0;overflow-y:hidden;position:absolute;top:calc(100% + 1px);visibility:hidden;width:100%;z-index:10}.edit-post-sidebar .autocomplete__dropdown--is-open,.editor-styles-wrapper .autocomplete__dropdown--is-open{box-shadow:0 3px 30px rgba(25,30,35,.1);max-height:225px;overflow-y:scroll;visibility:visible}.edit-post-sidebar .autocomplete__dropdown--notice,.editor-styles-wrapper .autocomplete__dropdown--notice{padding:15px}.edit-post-sidebar .autocomplete__dropdown--results,.editor-styles-wrapper .autocomplete__dropdown--results{list-style:none;margin:0;padding:0}.edit-post-sidebar .autocomplete__list--item,.editor-styles-wrapper .autocomplete__list--item{list-style:none}.edit-post-sidebar .autocomplete__list--item>button,.editor-styles-wrapper .autocomplete__list--item>button{background:rgba(0,0,0,0);border-color:#e2e4e7;border-style:solid;border-width:0 0 1px;height:100%;line-height:1.25;text-align:left;white-space:inherit;width:100%}.edit-post-sidebar .autocomplete__list--item:last-child>button,.editor-styles-wrapper .autocomplete__list--item:last-child>button{border-bottom:0}',"",{version:3,sources:["webpack://./src/components/selector/styles.scss"],names:[],mappings:"AAAA,4FAgBI,kBACE,CAAA,gGAMF,iBACE,CAAA,8GAMF,QACE,CAAA,sGAMF,oBACE,CAAA,cACA,CAAA,SACA,CAAA,kHAEA,oBACE,CAAA,eACA,CAAA,kIAEA,iBACE,CAAA,gBACA,CAAA,gJAEA,WACE,CAAA,cACA,CAAA,gBACA,CAAA,eACA,CAAA,0FASR,qBACE,CAAA,0CACA,CAAA,yBACA,CAAA,kBACA,CAAA,sBACA,CAAA,MACA,CAAA,YACA,CAAA,iBACA,CAAA,iBACA,CAAA,oBACA,CAAA,iBACA,CAAA,UACA,CAAA,UACA,CAAA,4GAGA,uCACE,CAAA,gBACA,CAAA,iBACA,CAAA,kBACA,CAAA,0GAIF,YACE,CAAA,4GAIF,eACE,CAAA,QACA,CAAA,SACA,CAAA,8FAOJ,eACE,CAAA,4GAEA,wBACE,CAAA,oBACA,CAAA,kBACA,CAAA,oBACA,CAAA,WACA,CAAA,gBACA,CAAA,eACA,CAAA,mBACA,CAAA,UACA,CAAA,kIAGF,eACE",sourcesContent:["//--------------------------------------------------------------\n// AutoComplete Styles\n//--------------------------------------------------------------\n\n/* stylelint-disable max-nesting-depth */\n\n//-----------------------------------------\n// Accommodate editor well, or the sidebar.\n//-----------------------------------------\n.edit-post-sidebar,\n.editor-styles-wrapper {\n .autocomplete {\n\n //-----------------------------------------\n // Parent form wrapper.\n //-----------------------------------------\n &__component {\n margin-bottom: 20px;\n }\n\n //-----------------------------------------\n // Wrapper\n //-----------------------------------------\n &-base-control {\n position: relative;\n }\n\n //-----------------------------------------\n // Input\n //-----------------------------------------\n &-text-control__input {\n margin: 0;\n }\n\n //-----------------------------------------\n // Selected buttons.\n //-----------------------------------------\n &__selection-list {\n list-style-type: none;\n margin: 0 0 6px;\n padding: 0;\n\n &--item {\n display: inline-block;\n list-style: none;\n\n &--button {\n margin-bottom: 4px;\n margin-right: 3px;\n\n &::after {\n content: '×';\n font-size: 16px;\n line-height: 20px;\n margin-left: 5px;\n }\n }\n }\n }\n\n //-----------------------------------------\n // Results\n //-----------------------------------------\n &__dropdown {\n background-color: #fff;\n border-color: transparent #e2e4e7 #e2e4e7;\n border-radius: 0 0 4px 4px;\n border-style: solid;\n border-width: 0 1px 1px;\n left: 0;\n max-height: 0;\n overflow-y: hidden;\n position: absolute;\n top: calc(100% + 1px); // Offset focus border.\n visibility: hidden;\n width: 100%;\n z-index: 10;\n\n // Container is open.\n &--is-open {\n box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);\n max-height: 225px;\n overflow-y: scroll;\n visibility: visible;\n }\n\n // Notice handler.\n &--notice {\n padding: 15px;\n }\n\n // Results container.\n &--results {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n }\n\n //-----------------------------------------\n // List/Results\n //-----------------------------------------\n &__list--item {\n list-style: none;\n\n > button {\n background: transparent;\n border-color: #e2e4e7;\n border-style: solid;\n border-width: 0 0 1px;\n height: 100%;\n line-height: 1.25;\n text-align: left;\n white-space: inherit;\n width: 100%;\n }\n\n &:last-child > button {\n border-bottom: 0;\n }\n }\n }\n}\n"],sourceRoot:""}]);const a=i},1849:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,s,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var a=0;a0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),s&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=s):u[4]="".concat(s)),t.push(u))}},t}},2876:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(s," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},6595:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:s}=Object;let{freeze:o,seal:i,create:a}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(e){return e}),i||(i=function(e){return e}),l||(l=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});const u=C(Array.prototype.forEach),d=C(Array.prototype.pop),p=C(Array.prototype.push),f=C(String.prototype.toLowerCase),h=C(String.prototype.toString),m=C(String.prototype.match),g=C(String.prototype.replace),y=C(String.prototype.indexOf),v=C(String.prototype.trim),b=C(RegExp.prototype.test),A=(_=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),s=1;s2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let o=r.length;for(;o--;){let t=r[o];if("string"==typeof t){const e=s(t);e!==t&&(n(r)||(r[o]=e),t=e)}e[t]=!0}return e}function x(t){const n=a(null);for(const[r,o]of e(t))void 0!==s(t,r)&&(n[r]=o);return n}function S(e,t){for(;null!==e;){const n=s(e,t);if(n){if(n.get)return C(n.get);if("function"==typeof n.value)return C(n.value)}e=r(e)}return function(e){return console.warn("fallback value for",e),null}}const k=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),R=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),N=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),P=o(["#text"]),O=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),L=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),j=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),D=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=i(/\{\{[\w\W]*|[\w\W]*\}\}/gm),M=i(/<%[\w\W]*|[\w\W]*%>/gm),B=i(/\${[\w\W]*}/gm),F=i(/^data-[\-\w.\u00B7-\uFFFF]/),z=i(/^aria-[\-\w]+$/),q=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=i(/^(?:\w+script|data):/i),H=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W=i(/^html$/i);var G=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:M,TMPLIT_EXPR:B,DATA_ATTR:F,ARIA_ATTR:z,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:$,ATTR_WHITESPACE:H,DOCTYPE_NAME:W});return function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const r=e=>t(e);if(r.version="3.0.6",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;let{document:s}=n;const i=s,l=i.currentScript,{DocumentFragment:c,HTMLTemplateElement:_,Node:C,Element:U,NodeFilter:M,NamedNodeMap:B=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:F,DOMParser:z,trustedTypes:$}=n,H=U.prototype,Y=S(H,"cloneNode"),V=S(H,"nextSibling"),K=S(H,"childNodes"),Q=S(H,"parentNode");if("function"==typeof _){const e=s.createElement("template");e.content&&e.content.ownerDocument&&(s=e.content.ownerDocument)}let J,X="";const{implementation:Z,createNodeIterator:ee,createDocumentFragment:te,getElementsByTagName:ne}=s,{importNode:re}=i;let se={};r.isSupported="function"==typeof e&&"function"==typeof Q&&Z&&void 0!==Z.createHTMLDocument;const{MUSTACHE_EXPR:oe,ERB_EXPR:ie,TMPLIT_EXPR:ae,DATA_ATTR:le,ARIA_ATTR:ce,IS_SCRIPT_OR_DATA:ue,ATTR_WHITESPACE:de}=G;let{IS_ALLOWED_URI:pe}=G,fe=null;const he=w({},[...k,...E,...R,...I,...P]);let me=null;const ge=w({},[...O,...L,...j,...D]);let ye=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,be=null,Ae=!0,_e=!0,Ce=!1,we=!0,xe=!1,Se=!1,ke=!1,Ee=!1,Re=!1,Te=!1,Ie=!1,Ne=!0,Pe=!1,Oe=!0,Le=!1,je={},De=null;const Ue=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Me=null;const Be=w({},["audio","video","img","source","image","track"]);let Fe=null;const ze=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",$e="http://www.w3.org/2000/svg",He="http://www.w3.org/1999/xhtml";let We=He,Ge=!1,Ye=null;const Ve=w({},[qe,$e,He],h);let Ke=null;const Qe=["application/xhtml+xml","text/html"];let Je=null,Xe=null;const Ze=s.createElement("form"),et=function(e){return e instanceof RegExp||e instanceof Function},tt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Xe||Xe!==e){if(e&&"object"==typeof e||(e={}),e=x(e),Ke=Ke=-1===Qe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Je="application/xhtml+xml"===Ke?h:f,fe="ALLOWED_TAGS"in e?w({},e.ALLOWED_TAGS,Je):he,me="ALLOWED_ATTR"in e?w({},e.ALLOWED_ATTR,Je):ge,Ye="ALLOWED_NAMESPACES"in e?w({},e.ALLOWED_NAMESPACES,h):Ve,Fe="ADD_URI_SAFE_ATTR"in e?w(x(ze),e.ADD_URI_SAFE_ATTR,Je):ze,Me="ADD_DATA_URI_TAGS"in e?w(x(Be),e.ADD_DATA_URI_TAGS,Je):Be,De="FORBID_CONTENTS"in e?w({},e.FORBID_CONTENTS,Je):Ue,ve="FORBID_TAGS"in e?w({},e.FORBID_TAGS,Je):{},be="FORBID_ATTR"in e?w({},e.FORBID_ATTR,Je):{},je="USE_PROFILES"in e&&e.USE_PROFILES,Ae=!1!==e.ALLOW_ARIA_ATTR,_e=!1!==e.ALLOW_DATA_ATTR,Ce=e.ALLOW_UNKNOWN_PROTOCOLS||!1,we=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,xe=e.SAFE_FOR_TEMPLATES||!1,Se=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Te=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,Ee=e.FORCE_BODY||!1,Ne=!1!==e.SANITIZE_DOM,Pe=e.SANITIZE_NAMED_PROPS||!1,Oe=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,pe=e.ALLOWED_URI_REGEXP||q,We=e.NAMESPACE||He,ye=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ye.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ye.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ye.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),xe&&(_e=!1),Te&&(Re=!0),je&&(fe=w({},[...P]),me=[],!0===je.html&&(w(fe,k),w(me,O)),!0===je.svg&&(w(fe,E),w(me,L),w(me,D)),!0===je.svgFilters&&(w(fe,R),w(me,L),w(me,D)),!0===je.mathMl&&(w(fe,I),w(me,j),w(me,D))),e.ADD_TAGS&&(fe===he&&(fe=x(fe)),w(fe,e.ADD_TAGS,Je)),e.ADD_ATTR&&(me===ge&&(me=x(me)),w(me,e.ADD_ATTR,Je)),e.ADD_URI_SAFE_ATTR&&w(Fe,e.ADD_URI_SAFE_ATTR,Je),e.FORBID_CONTENTS&&(De===Ue&&(De=x(De)),w(De,e.FORBID_CONTENTS,Je)),Oe&&(fe["#text"]=!0),Se&&w(fe,["html","head","body"]),fe.table&&(w(fe,["tbody"]),delete ve.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');J=e.TRUSTED_TYPES_POLICY,X=J.createHTML("")}else void 0===J&&(J=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}}($,l)),null!==J&&"string"==typeof X&&(X=J.createHTML(""));o&&o(e),Xe=e}},nt=w({},["mi","mo","mn","ms","mtext"]),rt=w({},["foreignobject","desc","title","annotation-xml"]),st=w({},["title","style","font","a","script"]),ot=w({},E);w(ot,R),w(ot,T);const it=w({},I);w(it,N);const at=function(e){p(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},lt=function(e,t){try{p(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!me[e])if(Re||Te)try{at(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ct=function(e){let t=null,n=null;if(Ee)e=""+e;else{const t=m(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ke&&We===He&&(e=''+e+"");const r=J?J.createHTML(e):e;if(We===He)try{t=(new z).parseFromString(r,Ke)}catch(e){}if(!t||!t.documentElement){t=Z.createDocument(We,"template",null);try{t.documentElement.innerHTML=Ge?X:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(s.createTextNode(n),o.childNodes[0]||null),We===He?ne.call(t,Se?"html":"body")[0]:Se?t.documentElement:o},ut=function(e){return ee.call(e.ownerDocument||e,e,M.SHOW_ELEMENT|M.SHOW_COMMENT|M.SHOW_TEXT,null)},dt=function(e){return"function"==typeof C&&e instanceof C},pt=function(e,t,n){se[e]&&u(se[e],(e=>{e.call(r,t,n,Xe)}))},ft=function(e){let t=null;if(pt("beforeSanitizeElements",e,null),(n=e)instanceof F&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof B)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return at(e),!0;var n;const s=Je(e.nodeName);if(pt("uponSanitizeElement",e,{tagName:s,allowedTags:fe}),e.hasChildNodes()&&!dt(e.firstElementChild)&&b(/<[/\w]/g,e.innerHTML)&&b(/<[/\w]/g,e.textContent))return at(e),!0;if(!fe[s]||ve[s]){if(!ve[s]&&mt(s)){if(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,s))return!1;if(ye.tagNameCheck instanceof Function&&ye.tagNameCheck(s))return!1}if(Oe&&!De[s]){const t=Q(e)||e.parentNode,n=K(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r)t.insertBefore(Y(n[r],!0),V(e))}return at(e),!0}return e instanceof U&&!function(e){let t=Q(e);t&&t.tagName||(t={namespaceURI:We,tagName:"template"});const n=f(e.tagName),r=f(t.tagName);return!!Ye[e.namespaceURI]&&(e.namespaceURI===$e?t.namespaceURI===He?"svg"===n:t.namespaceURI===qe?"svg"===n&&("annotation-xml"===r||nt[r]):Boolean(ot[n]):e.namespaceURI===qe?t.namespaceURI===He?"math"===n:t.namespaceURI===$e?"math"===n&&rt[r]:Boolean(it[n]):e.namespaceURI===He?!(t.namespaceURI===$e&&!rt[r])&&!(t.namespaceURI===qe&&!nt[r])&&!it[n]&&(st[n]||!ot[n]):!("application/xhtml+xml"!==Ke||!Ye[e.namespaceURI]))}(e)?(at(e),!0):"noscript"!==s&&"noembed"!==s&&"noframes"!==s||!b(/<\/no(script|embed|frames)/i,e.innerHTML)?(xe&&3===e.nodeType&&(t=e.textContent,u([oe,ie,ae],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(r.removed,{element:e.cloneNode()}),e.textContent=t)),pt("afterSanitizeElements",e,null),!1):(at(e),!0)},ht=function(e,t,n){if(Ne&&("id"===t||"name"===t)&&(n in s||n in Ze))return!1;if(_e&&!be[t]&&b(le,t));else if(Ae&&b(ce,t));else if(!me[t]||be[t]){if(!(mt(e)&&(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,e)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(e))&&(ye.attributeNameCheck instanceof RegExp&&b(ye.attributeNameCheck,t)||ye.attributeNameCheck instanceof Function&&ye.attributeNameCheck(t))||"is"===t&&ye.allowCustomizedBuiltInElements&&(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,n)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(n))))return!1}else if(Fe[t]);else if(b(pe,g(n,de,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!Me[e])if(Ce&&!b(ue,g(n,de,"")));else if(n)return!1;return!0},mt=function(e){return e.indexOf("-")>0},gt=function(e){pt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:me};let s=t.length;for(;s--;){const o=t[s],{name:i,namespaceURI:a,value:l}=o,c=Je(i);let p="value"===i?l:v(l);if(n.attrName=c,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,pt("uponSanitizeAttribute",e,n),p=n.attrValue,n.forceKeepAttr)continue;if(lt(i,e),!n.keepAttr)continue;if(!we&&b(/\/>/i,p)){lt(i,e);continue}xe&&u([oe,ie,ae],(e=>{p=g(p,e," ")}));const f=Je(e.nodeName);if(ht(f,c,p)){if(!Pe||"id"!==c&&"name"!==c||(lt(i,e),p="user-content-"+p),J&&"object"==typeof $&&"function"==typeof $.getAttributeType)if(a);else switch($.getAttributeType(f,c)){case"TrustedHTML":p=J.createHTML(p);break;case"TrustedScriptURL":p=J.createScriptURL(p)}try{a?e.setAttributeNS(a,i,p):e.setAttribute(i,p),d(r.removed)}catch(e){}}}pt("afterSanitizeAttributes",e,null)},yt=function e(t){let n=null;const r=ut(t);for(pt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)pt("uponSanitizeShadowNode",n,null),ft(n)||(n.content instanceof c&&e(n.content),gt(n));pt("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,s=null,o=null,a=null;if(Ge=!e,Ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!dt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!r.isSupported)return e;if(ke||tt(t),r.removed=[],"string"==typeof e&&(Le=!1),Le){if(e.nodeName){const t=Je(e.nodeName);if(!fe[t]||ve[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof C)n=ct("\x3c!----\x3e"),s=n.ownerDocument.importNode(e,!0),1===s.nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?n=s:n.appendChild(s);else{if(!Re&&!xe&&!Se&&-1===e.indexOf("<"))return J&&Ie?J.createHTML(e):e;if(n=ct(e),!n)return Re?null:Ie?X:""}n&&Ee&&at(n.firstChild);const l=ut(Le?e:n);for(;o=l.nextNode();)ft(o)||(o.content instanceof c&&yt(o.content),gt(o));if(Le)return e;if(Re){if(Te)for(a=te.call(n.ownerDocument);n.firstChild;)a.appendChild(n.firstChild);else a=n;return(me.shadowroot||me.shadowrootmode)&&(a=re.call(i,a,!0)),a}let d=Se?n.outerHTML:n.innerHTML;return Se&&fe["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&b(W,n.ownerDocument.doctype.name)&&(d="\n"+d),xe&&u([oe,ie,ae],(e=>{d=g(d,e," ")})),J&&Ie?J.createHTML(d):d},r.setConfig=function(){tt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ke=!0},r.clearConfig=function(){Xe=null,ke=!1},r.isValidAttribute=function(e,t,n){Xe||tt({});const r=Je(e),s=Je(t);return ht(r,s,n)},r.addHook=function(e,t){"function"==typeof t&&(se[e]=se[e]||[],p(se[e],t))},r.removeHook=function(e){if(se[e])return d(se[e])},r.removeHooks=function(e){se[e]&&(se[e]=[])},r.removeAllHooks=function(){se={}},r}()}()},2232:function(e,t){var n,r;n=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,s={},o=0,i={parse:function(n,r){var a=(r=r||{}).dynamicTyping||!1;if(_(a)&&(r.dynamicTypingFunction=a,a={}),r.dynamicTyping=a,r.transform=!!_(r.transform)&&r.transform,r.worker&&i.WORKERS_SUPPORTED){var l=function(){if(!i.WORKERS_SUPPORTED)return!1;var n,r,a=(n=t.URL||t.webkitURL||null,r=e.toString(),i.BLOB_URL||(i.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),l=new t.Worker(a);return l.onmessage=g,l.id=o++,s[l.id]=l}();return l.userStep=r.step,l.userChunk=r.chunk,l.userComplete=r.complete,l.userError=r.error,r.step=_(r.step),r.chunk=_(r.chunk),r.complete=_(r.complete),r.error=_(r.error),delete r.worker,void l.postMessage({input:n,config:r,workerId:l.id})}var f=null;return i.NODE_STREAM_INPUT,"string"==typeof n?(n=function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}(n),f=r.download?new c(r):new d(r)):!0===n.readable&&_(n.read)&&_(n.on)?f=new p(r):(t.File&&n instanceof File||n instanceof Object)&&(f=new u(r)),f.stream(n)},unparse:function(e,t){var n=!1,r=!0,s=",",o="\r\n",a='"',l=a+a,c=!1,u=null,d=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||i.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(s=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(c=t.skipEmptyLines),"string"==typeof t.newline&&(o=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+a),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(d=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var p=new RegExp(h(a),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return f(null,e,c);if("object"==typeof e[0])return f(u||Object.keys(e[0]),e,c)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),f(e.fields||[],e.data||[],c);throw new Error("Unable to serialize unrecognized input");function f(e,t,n){var i="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var a=Array.isArray(e)&&0=this._config.preview;if(r)t.postMessage({results:a,workerId:i.WORKER_ID,finished:c});else if(_(this._config.chunk)&&!n){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);a=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!c||!_(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:i.WORKER_ID,error:e,finished:!1})}}function c(e){var t;(e=e||{}).chunkSize||(e.chunkSize=i.RemoteChunkSize),l.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=A(this._chunkLoaded,this),t.onerror=A(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var s=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+s)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function u(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=i.LocalChunkSize),l.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=A(this._chunkLoaded,this),t.onerror=A(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function d(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function p(e){l.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=A((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=A((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=A((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=A((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function f(e){var t,n,r,s=Math.pow(2,53),o=-s,a=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,u=0,d=0,p=!1,f=!1,g=[],y={data:[],errors:[],meta:{}};if(_(e.step)){var v=e.step;e.step=function(t){if(y=t,w())C();else{if(C(),0===y.data.length)return;u+=t.data.length,e.preview&&u>e.preview?n.abort():(y.data=y.data[0],v(y,c))}}}function A(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function C(){return y&&r&&(S("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+i.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(y.data=y.data.filter((function(e){return!A(e)}))),w()&&function(){if(y)if(Array.isArray(y.data[0])){for(var t=0;w()&&t=g.length?"__parsed_extra":g[r]),e.transform&&(i=e.transform(i,o)),i=x(o,i),"__parsed_extra"===o?(s[o]=s[o]||[],s[o].push(i)):s[o]=i}return e.header&&(r>g.length?S("FieldMismatch","TooManyFields","Too many fields: expected "+g.length+" fields but parsed "+r,d+n):r=r.length/2?"\r\n":"\r"}(s,l)),r=!1,e.delimiter)_(e.delimiter)&&(e.delimiter=e.delimiter(s),y.meta.delimiter=e.delimiter);else{var c=function(t,n,r,s,o){var a,l,c,u;o=o||[",","\t","|",";",i.RECORD_SEP,i.UNIT_SEP];for(var d=0;d=a)return G(!0)}else for(B=u,u++;;){if(-1===(B=i.indexOf(t,B+1)))return f||C.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:A.length,index:u}),H();if(B===m-1)return H(i.substring(u,B).replace(M,t));if(t!==c||i[B+1]!==c){if(t===c||0===B||i[B-1]!==c){-1!==D&&D=a)return G(!0);break}C.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:A.length,index:u}),B++}}else B++}return H();function q(e){A.push(e),x=u}function $(e){var t=0;if(-1!==e){var n=i.substring(B+1,e);n&&""===n.trim()&&(t=n.length)}return t}function H(e){return f||(void 0===e&&(e=i.substring(u)),w.push(e),u=m,q(w),b&&Y()),G()}function W(e){u=e,q(w),w=[],U=i.indexOf(r,u)}function G(e){return{data:A,errors:C,meta:{delimiter:n,linebreak:r,aborted:d,truncated:!!e,cursor:x+(p||0)}}}function Y(){o(G()),A=[],C=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return u}}function g(e){var t=e.data,n=s[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var o={abort:function(){r=!0,y(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(_(n.userStep)){for(var i=0;i{"use strict";var r=n(7200);function s(){}function o(){}o.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,o,i){if(i!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:s};return n.PropTypes=n,n}},900:(e,t,n)=>{e.exports=n(7336)()},7200:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4108:(e,t,n)=>{"use strict";var r=n(1280),s=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:s,type:e,key:c,ref:u,props:o,_owner:a.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},7e3:(e,t,n)=>{"use strict";e.exports=n(4108)},3736:e=>{e.exports=function(e,t,n,r){var s=n?n.call(r,e,t):void 0;if(void 0!==s)return!!s;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),l=0;l{"use strict";var t=[];function n(e){for(var n=-1,r=0;r{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},2940:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},9516:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7020:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var s=void 0!==n.layer;s&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,s&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9296:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},3376:(e,t,n)=>{"use strict";n.d(t,{cp:()=>Ut});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n2||H(j)>3?"":" "}function Y(e,t){for(;--t&&F()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return $(e,q()+(t<6&&32==z()&&32==F()))}function V(e){for(;F();)switch(j){case e:return L;case 34:case 39:34!==e&&39!==e&&V(j);break;case 40:41===e&&V(e);break;case 92:F()}return L}function K(e,t){for(;F()&&e+j!==57&&(e+j!==84||47!==z()););return"/*"+$(t,L-1)+"*"+b(47===e?e:F())}function Q(e){for(;!H(z());)F();return $(e,L)}function J(e,t){for(var n="",r=0;r6)switch(S(e,t+1)){case 109:if(45!==S(e,t+4))break;case 102:return w(e,/(.+:)(.+)-([^]+)/,"$1"+d+"$2-$3$1"+u+(108==S(e,t+3)?"$3":"$2-$3"))+e;case 115:return~x(e,"stretch")?Z(w(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return w(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,s,o,i,a){return c+n+":"+r+a+(s?c+n+"-span:"+(o?i:+i-+r)+a:"")+e}));case 4949:if(121===S(e,t+6))return w(e,":",":"+d)+e;break;case 6444:switch(S(e,45===S(e,14)?18:11)){case 120:return w(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+d+(45===S(e,14)?"inline-":"")+"box$3$1"+d+"$2$3$1"+c+"$2box$3")+e;case 100:return w(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return w(e,"scroll-","scroll-snap-")+e}return e}function ee(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case h:return void(e.return=Z(e.value,e.length,n));case g:return J([M(e,{value:w(e.value,"@","@"+d)})],r);case f:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(C(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":B(M(e,{props:[w(t,/:(read-\w+)/,":"+u+"$1")]})),B(M(e,{props:[t]})),A(e,{props:I(n,r)});break;case"::placeholder":B(M(e,{props:[w(t,/:(plac\w+)/,":"+d+"input-$1")]})),B(M(e,{props:[w(t,/:(plac\w+)/,":"+u+"$1")]})),B(M(e,{props:[w(t,/:(plac\w+)/,c+"input-$1")]})),B(M(e,{props:[t]})),A(e,{props:I(n,r)})}return""}))}}function te(e){return function(e){return D="",e}(ne("",null,null,null,[""],e=function(e){return N=P=1,O=E(D=e),L=0,[]}(e),0,[0],e))}function ne(e,t,n,r,s,o,i,a,l){for(var c=0,u=0,d=i,p=0,f=0,h=0,m=1,g=1,y=1,v=0,A="",_=s,C=o,k=r,R=A;g;)switch(h=v,v=F()){case 40:if(108!=h&&58==S(R,d-1)){-1!=x(R+=w(W(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:R+=W(v);break;case 9:case 10:case 13:case 32:R+=G(h);break;case 92:R+=Y(q()-1,7);continue;case 47:switch(z()){case 42:case 47:T(se(K(F(),q()),t,n,l),l);break;default:R+="/"}break;case 123*m:a[c++]=E(R)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==y&&(R=w(R,/\f/g,"")),f>0&&E(R)-d&&T(f>32?oe(R+";",r,n,d-1,l):oe(w(R," ","")+";",r,n,d-2,l),l);break;case 59:R+=";";default:if(T(k=re(R,t,n,c,u,s,a,A,_=[],C=[],d,o),o),123===v)if(0===u)ne(R,t,k,k,_,o,d,a,C);else switch(99===p&&110===S(R,3)?100:p){case 100:case 108:case 109:case 115:ne(e,k,k,r&&T(re(e,k,k,0,0,s,a,A,s,_=[],d,C),C),s,C,d,a,r?_:C);break;default:ne(R,k,k,k,[""],C,0,a,C)}}c=u=f=0,m=y=1,A=R="",d=i;break;case 58:d=1+E(R),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==(j=L>0?S(D,--L):0,P--,10===j&&(P=1,N--),j))continue;switch(R+=b(v),v*m){case 38:y=u>0?1:(R+="\f",-1);break;case 44:a[c++]=(E(R)-1)*y,y=1;break;case 64:45===z()&&(R+=W(F())),p=z(),u=d=E(A=R+=Q(q())),v++;break;case 45:45===h&&2==E(R)&&(m=0)}}return o}function re(e,t,n,r,s,o,i,a,l,c,u,d){for(var p=s-1,h=0===s?o:[""],m=R(h),g=0,y=0,b=0;g0?h[A]+" "+C:w(C,/&\f/g,h[A])))&&(l[b++]=x);return U(e,t,n,0===s?f:a,l,c,u,d)}function se(e,t,n,r){return U(e,t,n,p,b(j),k(e,2,-2),0,r)}function oe(e,t,n,r,s){return U(e,t,n,h,k(e,0,r),k(e,r+1,-1),r,s)}const ie={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ae="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",le="undefined"!=typeof window&&"HTMLElement"in window,ce=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),ue=(new Set,Object.freeze([])),de=Object.freeze({}),pe=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),fe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,he=/(^-|-$)/g;function me(e){return e.replace(fe,"-").replace(he,"")}var ge=/(a)(d)/gi,ye=function(e){return String.fromCharCode(e+(e>25?39:97))};function ve(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ye(t%52)+n;return(ye(t%52)+n).replace(ge,"$1-$2")}var be,Ae=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},_e=function(e){return Ae(5381,e)};function Ce(e){return"string"==typeof e&&!0}var we="function"==typeof Symbol&&Symbol.for,xe=we?Symbol.for("react.memo"):60115,Se=we?Symbol.for("react.forward_ref"):60112,ke={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ee={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Re={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Te=((be={})[Se]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},be[xe]=Re,be);function Ie(e){return("type"in(t=e)&&t.type.$$typeof)===xe?Re:"$$typeof"in e?Te[e.$$typeof]:ke;var t}var Ne=Object.defineProperty,Pe=Object.getOwnPropertyNames,Oe=Object.getOwnPropertySymbols,Le=Object.getOwnPropertyDescriptor,je=Object.getPrototypeOf,De=Object.prototype;function Ue(e,t,n){if("string"!=typeof t){if(De){var r=je(t);r&&r!==De&&Ue(e,r,n)}var s=Pe(t);Oe&&(s=s.concat(Oe(t)));for(var o=Ie(e),i=Ie(t),a=0;a0?" Args: ".concat(t.join(", ")):""))}var Ge=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,s=r;e>=s;)if((s<<=1)<0)throw We(16,"".concat(e));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var o=r;o=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),s=r+n,o=r;o=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))})),r+="".concat(i).concat(a,'{content:"').concat(l,'"}').concat("/*!sc*/\n")},o=0;o0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===f&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(ut,n).replace(r,c))})),i.prefix&&u.push(ee),u.push(X);var d=function(e,s,o,a){void 0===s&&(s=""),void 0===o&&(o=""),void 0===a&&(a="&"),t=a,n=s,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(dt,""),c=te(o||s?"".concat(o," ").concat(s," { ").concat(l," }"):l);i.namespace&&(c=pt(c,i.namespace));var d,p,f,h=[];return J(c,(d=u.concat((f=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&f(e)})),p=R(d),function(e,t,n,r){for(var s="",o=0;o="A"&&e<="Z"};function Ct(e){for(var t="",n=0;n>>0);if(!t.hasNameForId(this.componentId,o)){var i=n(s,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,i)}r=Fe(r,o),this.staticRulesId=o}else{for(var a=Ae(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=Fe(r,p)}}return r},e}(),Tt=i().createContext(void 0);Tt.Consumer;var It={};function Nt(e,t,n){var s=Be(e),a=e,l=!Ce(e),c=t.attrs,u=void 0===c?ue:c,d=t.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":me(e);It[n]=(It[n]||0)+1;var r="".concat(n,"-").concat(function(e){return ve(_e(e)>>>0)}("6.1.1"+n+It[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):d,f=t.displayName,h=void 0===f?function(e){return Ce(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):f,m=t.displayName&&t.componentId?"".concat(me(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&a.attrs?a.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(s&&a.shouldForwardProp){var v=a.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;y=function(e,t){return v(e,t)&&b(e,t)}}else y=v}var A=new Rt(n,m,s?a.componentStyle:void 0);function _(e,t){return function(e,t,n){var s=e.attrs,a=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=i().useContext(Tt),f=vt(),h=e.shouldForwardProp||f.shouldForwardProp,m=function(e,t,n){for(var s,o=r(r({},t),{className:void 0,theme:n}),i=0;i2&&ct.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=nt(),r=ze([n&&'nonce="'.concat(n,'"'),"".concat(ae,'="true"'),"".concat("data-styled-version",'="').concat("6.1.1",'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw We(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw We(2);var n=((t={})[ae]="",t["data-styled-version"]="6.1.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),s=nt();return s&&(n.nonce=s),[i().createElement("style",r({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ct({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw We(2);return i().createElement(bt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw We(3)}}(),"__sc-".concat(ae,"__")},4928:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("audio",{className:"edit-audio-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["audio"],className:e,icon:"format-audio",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const d=u},2312:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(7e3),s=n(900),o=n.n(s),i=n(7287);const a=({label:e,value:t,options:n,onChange:s})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BaseControl,{label:e}),n.map((e=>(0,r.jsx)(i.CheckboxControl,{label:e.label,checked:t.includes(e.value),onChange:n=>{s(n?[...t,e.value]:[...t.filter((t=>t!==e.value))])}})))]});a.propTypes={label:o().string.isRequired,value:o().arrayOf(o().string).isRequired,options:o().arrayOf(o().shape({label:o().string.isRequired,value:o().string.isRequired})).isRequired,onChange:o().func.isRequired};const l=a},8312:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(7e3),s=n(1280),o=n.n(s),i=n(3396),a=n(900),l=n.n(a),c=n(5328);class u extends o().PureComponent{static handleSubmit(e){e.preventDefault()}constructor(e){super(e),this.handleChange=this.handleChange.bind(this),this.state={error:"",success:""}}handleChange(e){const{attributeName:t,callback:n,setAttributes:r}=this.props;e.target.files&&e.target.files[0]&&(0,c.parseCSVFile)(e.target.files[0]).then((e=>n?n(e):e)).then((e=>{Array.isArray(e)&&e.length>0?(this.setState({error:"",success:(0,i.__)("Successfully read CSV data.","alley-scripts")}),r({[t]:JSON.stringify(e)})):this.setState({error:(0,i.__)("Could not map CSV data. Please check the source file to ensure that it has the correct structure.","alley-scripts"),success:""})})).catch((e=>{this.setState({error:e,success:""})}))}render(){const{error:e="",success:t=""}=this.state;return(0,r.jsxs)("div",{className:"alley-scripts-block-csv-uploader",children:[(0,r.jsx)("h2",{children:(0,i.__)("Upload CSV","alley-scripts")}),(0,r.jsxs)("form",{onSubmit:this.handleSubmit,children:[""!==e?(0,r.jsxs)("div",{style:{color:"#c00"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Error:","alley-scripts")})," ",e]}):null,""!==t?(0,r.jsxs)("div",{style:{color:"#0c0"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Success:","alley-scripts")})," ",t]}):null,(0,r.jsx)("div",{children:(0,r.jsxs)("label",{htmlFor:"alley-scripts-block-csv-uploader-file",children:[(0,r.jsx)("p",{children:(0,i.__)("Select a file to load data.","alley-scripts")}),(0,r.jsx)("input",{id:"alley-scripts-block-csv-uploader-file",onChange:this.handleChange,type:"file"})]})})]})]})}}u.defaultProps={callback:null},u.propTypes={attributeName:l().string.isRequired,callback:l().func,setAttributes:l().func.isRequired}},8348:(e,t,n)=>{"use strict";n.d(t,{default:()=>p});var r=n(7e3),s=n(3396),o=n(900),i=n.n(o),a=n(3376),l=n(7720);const c=a.cp.div` + box-sizing: border-box; + flex-shrink: 0; + height: auto; + max-height: 1450px; + max-width: 1450px; + min-height: 20px; + min-width: 20px; + position: relative; + width: auto; +`,u=({src:e})=>(0,r.jsx)(c,{children:(0,r.jsx)("img",{alt:(0,s.__)("Edit image","alley-scripts"),className:"edit-image-preview",src:e,title:(0,s.__)("Edit image","alley-scripts")})});u.propTypes={src:i().string.isRequired};const d=({className:e,imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,value:a,valueURL:c})=>(0,r.jsx)(l.MediaPicker,{allowedTypes:["image"],className:e,icon:"format-image",imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,preview:u,value:a,valueURL:c});d.defaultProps={className:"",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,valueURL:""},d.propTypes={className:i().string,imageSize:i().string,displayControlsInToolbar:i().bool,onReset:i().func.isRequired,onUpdate:i().func.isRequired,onUpdateURL:i().func,value:i().number.isRequired,valueURL:i().string};const p=d},7720:(e,t,n)=>{"use strict";n.d(t,{AudioPicker:()=>r.default,CSVUploader:()=>o.default,Checkboxes:()=>s.default,ImagePicker:()=>i.default,MediaPicker:()=>a.default,PostPicker:()=>c.default,PostSelector:()=>u.default,SafeHtml:()=>l.default,Selector:()=>d.default,Sortable:()=>p.default,SortableItem:()=>f.default,TermSelector:()=>h.default,VideoPicker:()=>m.default});var r=n(4928),s=n(2312),o=n(8312),i=n(8348),a=n(5680),l=n(9160),c=n(4808),u=n(8800),d=n(9064),p=n(8504),f=n(1917),h=n(668),m=n(5316)},5680:(e,t,n)=>{"use strict";n.d(t,{default:()=>m});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(9528),l=n(7287),c=n(7752),u=n(3396),d=n(5328);const p=i.cp.div` + display: block; + position: relative; +`,f=i.cp.div` + background: white; + border: 1px solid black; + padding: 1em; +`,h=({allowedTypes:e,className:t,icon:n,imageSize:s,displayControlsInToolbar:o,onReset:i,onUpdate:h,onUpdateURL:m,preview:g,value:y,valueURL:v})=>{const{media:b}=(0,c.useSelect)((e=>({media:y?e("core").getMedia(y):void 0})),[y]);if(0!==y&&null===b)return(0,r.jsx)(l.Spinner,{});const A=b?(0,d.getMediaUrl)(b,s):v;return A?(0,r.jsxs)(p,{className:t,children:[g?(0,r.jsx)(g,{src:A}):(0,r.jsxs)(f,{className:"alley-scripts-media-picker__preview",children:[(0,r.jsx)("p",{children:(0,u.__)("Selected file:","alley-scripts")}),(0,r.jsx)("p",{children:(0,r.jsx)("a",{href:A,children:A})})]}),o?(0,r.jsx)(a.BlockControls,{group:"other",children:(0,r.jsx)(a.MediaReplaceFlow,{name:(0,u.__)("Edit Media","alley-scripts"),mediaId:y,mediaURL:A,allowedTypes:e,onSelect:h,onSelectURL:m,children:(0,r.jsx)(l.ToolbarButton,{isDestructive:!0,text:(0,u.__)("Remove","alley-scripts"),onClick:i})})}):(0,r.jsx)(l.Button,{variant:"primary",onClick:i,children:(0,u.__)("Reset","alley-scripts")})]}):(0,r.jsx)(p,{className:t,children:(0,r.jsx)(a.MediaPlaceholder,{allowedTypes:e,disableMediaButtons:!!v,icon:(0,r.jsx)(a.BlockIcon,{icon:n}),onSelect:h,onSelectURL:m,value:{id:y,src:A}})})};h.defaultProps={allowedTypes:[],className:"",icon:"format-aside",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,preview:null,valueURL:""},h.propTypes={allowedTypes:o().arrayOf(o().string),className:o().string,icon:o().string,imageSize:o().string,displayControlsInToolbar:o().bool,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,preview:o().element,value:o().number.isRequired,valueURL:o().string};const m=h},4808:(e,t,n)=>{"use strict";n.d(t,{default:()=>F});var r=n(7e3),s=n(1280),o=n(3376),i=n(7287),a=n(3396),l=n(7204),c=n(2e3),u=n(2108),d=n.n(u),p=n(7020),f=n.n(p),h=n(7240),m=n.n(h),g=n(9516),y=n.n(g),v=n(2940),b=n.n(v),A=n(9296),_=n.n(A),C=n(9680),w={};w.styleTagTransform=_(),w.setAttributes=y(),w.insert=m().bind(null,"head"),w.domAPI=f(),w.insertStyleElement=b(),d()(C.c,w),C.c&&C.c.locals&&C.c.locals;var x=n(4632),S=n.n(x),k=n(6484),E=n.n(k),R=n(7424),T={};T.styleTagTransform=_(),T.setAttributes=y(),T.insert=m().bind(null,"head"),T.domAPI=f(),T.insertStyleElement=b(),d()(R.c,T),R.c&&R.c.locals&&R.c.locals;const I=window.wp.htmlEntities;var N=n(9160);const P=o.cp.div` + align-items: center; + gap: 4px; + overflow-wrap: anywhere; + display: flex; + flex-direction: column; + justify-content: center; + padding: 0.5rem 0.75rem; +`,O=({title:e,postType:t,attachmentID:n})=>{const s=(0,c.useMedia)(n),o=s?.media_details?.sizes?.thumbnail?.source_url,i=s?.alt_text??"";return(0,r.jsxs)(P,{children:[o?(0,r.jsx)("img",{style:{maxWidth:"100%",height:"auto"},loading:"lazy",src:o,alt:i}):null,(0,r.jsx)(N.default,{html:(0,I.decodeEntities)(e),className:"post-picker-result-title",tag:"strong"}),(0,a.sprintf)(" (%s)",t)]})},L=({baseUrl:e,searchRender:t,selected:n,setSelected:o,suppressPostIds:c=[]})=>{const[u,d]=(0,s.useState)(!1),[p,f]=(0,s.useState)([]),[h,m]=(0,s.useState)(!1),[g,y]=(0,s.useState)(0),[v,b]=(0,s.useState)({searchValue:"",page:1}),A=(0,s.useCallback)((async(t,n=!1)=>{if(t.searchValue&&t.searchValue.length<=2)return;const r=function(){let n=(0,l.addQueryArgs)(e,{page:t.page,_embed:1,exclude:c.join(",")});return t.searchValue&&t.searchValue.length>2&&(n=(0,l.addQueryArgs)(n,{search:t.searchValue})),n}();d(!0);const s=await S()({path:r,parse:!1});y(parseInt(s.headers.get("X-WP-TotalPages"),10));const o=await s.json();let i=o;t.page>1&&(i=[...p,...o]),n||(f(i),d(!1))}),[p,e,c]);return(0,s.useEffect)((()=>{let e=!1;return h||(m(!0),A(v,e)),()=>{e=!0}}),[A,h,v]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.TextControl,{value:v.searchValue,placeholder:(0,a.__)("Search...","alley-scripts"),label:(0,a.__)("Search","alley-scripts"),onChange:e=>{const t={...v,searchValue:e,page:1};b(t),A(t)}}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__post-list",children:[p?p.map((e=>(0,r.jsx)(i.Button,{className:E()({"alley-scripts-post-picker__post":!0,"is-selected":e.id===n}),onClick:()=>o(e.id),children:t?t(e):(0,r.jsx)(O,{title:e.title,postType:e.subtype,attachmentID:e?._embedded?.self[0]?.featured_media})},e.id))):null,u?(0,r.jsx)(i.Spinner,{}):null,g>0&&v.page{const e={...v,page:v.page+1};b(e),A(e)},children:(0,a.__)("Load More","alley-scripts")})}):null]})]})},j=({baseUrl:e,closeModal:t,modalTitle:n,onUpdate:o,searchRender:l,suppressPostIds:c=[]})=>{const[u,d]=(0,s.useState)();return(0,r.jsxs)(i.Modal,{className:"alley-scripts-post-picker__modal",isDismissible:!0,title:n,onRequestClose:t,closeButtonLabel:"Close",children:[(0,r.jsx)(L,{baseUrl:e,selected:u??0,setSelected:d,searchRender:l,suppressPostIds:c}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__buttons",children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:t,children:(0,a.__)("Cancel","alley-scripts")}),(0,r.jsx)(i.Button,{variant:"primary",onClick:()=>{u&&(o(u),t())},disabled:!u,children:(0,a.__)("Select","alley-scripts")})]})]})};var D=n(3800),U={};U.styleTagTransform=_(),U.setAttributes=y(),U.insert=m().bind(null,"head"),U.domAPI=f(),U.insertStyleElement=b(),d()(D.c,U),D.c&&D.c.locals&&D.c.locals;const M=o.cp.div` + display: block; + position: relative; +`,B=o.cp.div` + border: 1px solid #eee; + display: flex; + flex-direction: column; + margin: 5px 0; + padding: 0.5rem 0.75rem; + text-align: center; +`,F=({allowedTypes:e,className:t,getPostType:n,modalTitle:o=(0,a.__)("Select Post","alley-scripts"),onReset:u,onUpdate:d,params:p={},previewRender:f,replaceText:h=(0,a.__)("Replace","alley-scripts"),resetText:m=(0,a.__)("Reset","alley-scripts"),searchEndpoint:g="/wp/v2/search",searchRender:y,selectText:v=(0,a.__)("Select","alley-scripts"),suppressPostIds:b=[],title:A="",value:_=0})=>{const[C,w]=(0,s.useState)(!1),x=(0,l.addQueryArgs)(g,{type:"post",subtype:e??"any",...p}),S=(0,c.usePostById)(_,n),{featured_media:k,title:{rendered:E=""}={},type:R=""}=S||{},T=()=>{w(!0)},I=()=>(0,r.jsxs)(i.ButtonGroup,{children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:u,style:{margin:"0 4px"},children:m}),(0,r.jsx)(i.Button,{variant:"secondary",onClick:T,style:{margin:"0 4px"},children:h})]});return 0!==_&&null===S?(0,r.jsx)(i.Spinner,{}):(0,r.jsxs)(M,{className:t,children:[A?(0,r.jsx)("h4",{children:A}):null,0!==_&&void 0===S?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Notice,{status:"error",isDismissible:!1,className:"post-picker-notice",children:(0,r.jsx)("p",{children:(0,a.sprintf)((0,a.__)("Post %d is no longer available; it has been unpublished or deleted","alley-scripts"),_)})}),I()]}):null,0!==_&&void 0!==S?(0,r.jsxs)(r.Fragment,{children:[void 0!==f?f(S):(0,r.jsx)(B,{children:(0,r.jsx)(O,{title:E,postType:R,attachmentID:k})}),I()]}):null,0===_?(0,r.jsx)(i.Button,{onClick:T,variant:"secondary",children:v}):null,C?(0,r.jsx)(j,{closeModal:()=>{w(!1)},baseUrl:x,modalTitle:o,onUpdate:d,searchRender:y,suppressPostIds:b}):null]})}},8800:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d})=>(0,r.jsx)(a.Selector,{type:"post",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d});l.defaultProps={className:"",emptyLabel:(0,i.__)("No posts found","alley-scripts"),label:(0,i.__)("Search for posts","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for posts","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},9160:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(6595),o=n.n(s),i=n(900),a=n.n(i);const l=({className:e,html:t,tag:n})=>(0,r.jsx)(n,{className:e,dangerouslySetInnerHTML:{__html:o().sanitize(t)}});l.defaultProps={className:""},l.propTypes={className:a().string,html:a().string.isRequired,tag:a().string.isRequired};const c=l},9064:(e,t,n)=>{"use strict";n.d(t,{default:()=>M});var r=n(7e3),s=n(900),o=n.n(s),i=n(1280),a=n(4632),l=n.n(a),c=n(6484),u=n.n(c),d=n(7287),p=n(3396),f=n(7204);const h={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let m;const g=new Uint8Array(16);function y(){if(!m&&(m="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!m))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return m(g)}const v=[];for(let e=0;e<256;++e)v.push((e+256).toString(16).slice(1));const b=function(e,t,n){if(h.randomUUID&&!t&&!e)return h.randomUUID();const r=(e=e||{}).random||(e.rng||y)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return v[e[t+0]]+v[e[t+1]]+v[e[t+2]]+v[e[t+3]]+"-"+v[e[t+4]]+v[e[t+5]]+"-"+v[e[t+6]]+v[e[t+7]]+"-"+v[e[t+8]]+v[e[t+9]]+"-"+v[e[t+10]]+v[e[t+11]]+v[e[t+12]]+v[e[t+13]]+v[e[t+14]]+v[e[t+15]]}(r)};var A=n(2e3);const _=({emptyLabel:e,error:t,id:n,isOpen:s,labelledbyId:o,loading:i,onSelect:a,options:l,selectedItems:c,threshold:f,value:h})=>{if(!i&&(""===h||f>h.length))return null;let m="",g="";return i?(m="loading",g=(0,p.__)("Loading...","alley-scripts")):t?(m="error",g=t):i||0!==l.length||(m="no-posts",g=e),i||!i&&(h&&0===l.length||t)?(0,r.jsx)("div",{"aria-busy":!0,className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("div",{className:u()("autocomplete__dropdown--notice",`autocomplete__${m}`),children:g})}):(0,r.jsx)("div",{className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("ul",{role:"listbox","aria-labelledby":o,id:n,className:u()("autocomplete__dropdown--results","autocomplete__list"),children:l.map((e=>(0,r.jsx)("li",{className:"autocomplete__list--item",children:(0,r.jsx)(d.Button,{onClick:()=>a(e),type:"button",disabled:c.some((t=>t.id===e.id)),isTertiary:!0,children:e.title})},e.id)))})})};_.propTypes={emptyLabel:o().string.isRequired,error:o().string.isRequired,id:o().string.isRequired,isOpen:o().bool.isRequired,labelledbyId:o().string.isRequired,loading:o().bool.isRequired,options:o().arrayOf(o().shape({label:o().string,value:o().string})).isRequired,onSelect:o().func.isRequired,selectedItems:o().shape([]).isRequired,threshold:o().number.isRequired,value:o().string.isRequired};const C=_;var w=n(2108),x=n.n(w),S=n(7020),k=n.n(S),E=n(7240),R=n.n(E),T=n(9516),I=n.n(T),N=n(2940),P=n.n(N),O=n(9296),L=n.n(O),j=n(5500),D={};D.styleTagTransform=L(),D.setAttributes=I(),D.insert=R().bind(null,"head"),D.domAPI=k(),D.insertStyleElement=P(),x()(j.c,D),j.c&&j.c.locals&&j.c.locals;const U=({type:e,className:t,emptyLabel:n,label:s,maxPages:o,multiple:a,onSelect:c,placeholder:p,subTypes:h,selected:m,threshold:g})=>{const y=b(),[v,_]=(0,i.useState)(""),[w,x]=(0,i.useState)([]),[S,k]=(0,i.useState)(!1),[E,R]=(0,i.useState)(!1),[T,I]=(0,i.useState)(""),[N,P]=(0,i.useState)([]),O=(0,i.useRef)(),L=(0,A.useDebounce)(T,750),j=(0,i.useCallback)((async(t=1)=>{if(L.length0?h.join(","):"any",type:e});await l()({path:r,parse:!1}).then((e=>{const t=parseInt(e.headers.get("X-WP-TotalPages"),10);return n=t>o?o:t,e.json()})).then((e=>{x((t=>[...t,...e])),R(!1),(n&&n>t||t>=1&&a&&N.length>0)&&j(t+1)})).catch((e=>_(e.message)))}),[L,e,o,a,h,N.length,g]);(0,i.useEffect)((()=>{P(m)}),[m]),(0,i.useEffect)((()=>{L&&g<=L.length?j():x([])}),[L,j,g]);const D=e=>{k(O.current.contains(e.target))},U=e=>{"Escape"===e.key&&k(!1)};(0,i.useEffect)((()=>(document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)))),(0,i.useEffect)((()=>(O&&document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D))));const M=e=>{let t=[];if(N.some((t=>t.id===e.id))){const n=N.findIndex((t=>t.id===e.id));t=[...N.slice(0,n),...N.slice(n+1,N.length)]}else a?t=[...N,e]:(t=[e],k(!1));P(t),c(t)};return(0,r.jsx)("form",{className:"autocomplete__component",onSubmit:e=>e.preventDefault(),children:(0,r.jsxs)("div",{className:u()("components-base-control","autocomplete-base-control",t),ref:O,children:[(0,r.jsxs)("div",{"aria-expanded":S,"aria-haspopup":"listbox","aria-owns":`listbox-${y}`,className:u()("components-base-control__field","autocomplete-base-control__field"),role:"combobox",children:[(0,r.jsx)("label",{className:u()("components-base-control__label","autocomplete-base-control__label"),htmlFor:`autocomplete-${y}`,children:(0,r.jsx)("div",{children:s})}),N.length>0?(0,r.jsx)("ul",{role:"listbox","aria-labelledby":`autocomplete-${y}`,id:`selected-items-${y}`,className:u()("autocomplete__selection--results","autocomplete__selection-list"),children:N.map((e=>(0,r.jsx)("li",{className:"autocomplete__selection-list--item",children:(0,r.jsx)(d.Button,{className:"autocomplete__selection-list--item--button",isSecondary:!0,isSmall:!0,onClick:()=>M(e),type:"button",children:e.title})},e.title)))}):null,(0,r.jsx)("input",{"aria-autocomplete":"list",autoComplete:"off",className:u()("components-text-control__input","autocomplete-text-control__input",{"autocomplete-text-control__input--working":S}),id:`autocomplete-${y}`,onChange:e=>I(e.target.value),onFocus:()=>k(!0),placeholder:p,type:"text",value:T})]}),(0,r.jsx)(C,{emptyLabel:n,error:v,labelledById:`autocomplete-${y}`,id:`listbox-${y}`,isOpen:S,loading:E&&L,onSelect:M,options:w,selectedItems:N,threshold:g,value:L})]})})};U.defaultProps={type:"post",className:"",emptyLabel:(0,p.__)("No items found","alley-scripts"),label:(0,p.__)("Search for items","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,p.__)("Search for items","alley-scripts"),subTypes:[],selected:[],threshold:3},U.propTypes={type:o().string,className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const M=U},1917:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,index:t,list:n,setList:i}){return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(s.Button,{disabled:0===t,icon:"arrow-up-alt2",label:(0,o.__)("Move up","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t-1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{disabled:t===n.length-1,icon:"arrow-down-alt2",label:(0,o.__)("Move down","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t+1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{icon:"trash",label:(0,o.__)("Remove","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t,1),i(e)}})]}),(0,r.jsx)("div",{children:e})]})}},8504:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,emptyItem:t,list:n,setList:i}){return(0,r.jsxs)(r.Fragment,{children:[e,(0,r.jsx)("div",{style:{margin:"1em 0"},children:(0,r.jsx)(s.Button,{icon:"plus",onClick:()=>i([...n,t]),variant:"primary",children:(0,o.__)("Add Item","alley-scripts")})})]})}},668:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d})=>(0,r.jsx)(a.Selector,{type:"term",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d});l.defaultProps={className:"",emptyLabel:(0,i.__)("No terms found","alley-scripts"),label:(0,i.__)("Search for terms","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for terms","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},5316:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("video",{className:"edit-video-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["video"],className:e,icon:"format-video",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const d=u},2e3:(e,t,n)=>{"use strict";n.d(t,{useCurrentPostId:()=>h.default,useDebounce:()=>r.default,useHasInnerBlocks:()=>s.default,useInnerBlocks:()=>i.default,useInnerBlocksAttributes:()=>a.default,useInnerBlocksCount:()=>l.default,useInnerBlocksIndex:()=>o.default,useMedia:()=>c.default,useOption:()=>u.default,useParentBlock:()=>d.default,useParentBlockAttributes:()=>p.default,usePost:()=>f.default,usePostById:()=>m.default,usePostMeta:()=>g.default,usePostMetaValue:()=>y.default,usePosts:()=>v.default,useTerms:()=>b.default});var r=n(7112),s=n(6980),o=n(6644),i=n(864),a=n(8512),l=n(1344),c=n(592),u=n(7188),d=n(224),p=n(8004),f=n(1744),h=n(9695),m=n(9480),g=n(6504),y=n(3772),v=n(4704),b=n(1848)},9695:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=()=>(0,r.useSelect)((e=>{const t=e("core/editor");return t?t.getCurrentPostId():null}),[])},7112:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(1280);const s=(e,t)=>{const[n,s]=(0,r.useState)(e);return(0,r.useEffect)((()=>{const n=setTimeout((()=>{s(e)}),t);return()=>{clearTimeout(n)}}),[e,t]),n}},6980:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocksCount)(e)>0},6644:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>{const t=(0,r.useParentBlock)(e),n=(0,r.useInnerBlocks)(t);return n?n.findIndex((t=>t.clientId===e)):-1}},8512:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).map((e=>e.attributes))},1344:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).length},864:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>t(r.store).getBlocks(e)),[e])},592:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=e=>(0,r.useSelect)((t=>t("core").getMedia(e)),[e])},7188:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=function(e){const t=(0,r.useSelect)((t=>{const{getEditedEntityRecord:n,getEntityRecordEdits:r,isSavingEntityRecord:s}=t("core"),o=n("root","site"),i=r("root","site");return{value:o?.[e],isEdited:!!i?.[e],isSaving:s("root","site")}}),[]),{editEntityRecord:n,saveEntityRecord:s}=(0,r.useDispatch)("core");return{...t,onChange:function(t){n("root","site",void 0,{[e]:t})},onSave:async function(){await s("root","site",{[e]:t.value})}}}},8004:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlockAttributes:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},224:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlock:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},9480:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(1280),s=n(4632),o=n.n(s),i=n(7204),a=n(1744);const l=(e,t=null)=>{const[n,s]=(0,r.useState)({}),[l,c]=(0,r.useState)(!0);(0,r.useEffect)((()=>{c(!0),e&&!n[e]?(async()=>{if(t){const n=await t(e);n?s((t=>({...t,[e]:n}))):console.error(`Custom function to get post with ID ${e} failed.`)}else{const t=(0,i.addQueryArgs)("/wp/v2/search",{include:e}),n=await o()({path:t});n.length>0&&s((t=>({...t,[e]:n[0]?.subtype})))}c(!1)})():e&&n[e]&&c(!1)}),[e]);const u=(0,a.default)(e,n[e]??"");return l||!u&&n[e]?null:u}},3772:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=(e,t=null,n=null)=>{const[s,o]=(0,r.usePostMeta)(t,n);return[s[e],t=>o({...s,[e]:t})]}},6504:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null)=>{const n=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[o,i]=(0,r.useEntityProp)("postType",n,"meta",t),a="function"==typeof i?i:()=>console.error(`Error attempting to set post meta for post type ${n}. Does it have support for custom-fields?`);return["object"==typeof o?o:{},e=>a({...e})]}},1744:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>n("core").getEntityRecord("postType",t,e)),[e,t])},4704:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>{const{getEntityRecords:r}=n("core");return r("postType",t,{include:e})}),[e,t])},1848:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null,n="categories")=>{const o=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[i,a]=(0,r.useEntityProp)("postType",o,n,t);return[i,e=>a(e)]}},5328:(e,t,n)=>{"use strict";n.d(t,{getMediaUrl:()=>i.c,parseCSVFile:()=>o});var r=n(2232),s=n.n(r);const o=e=>new Promise(((t,n)=>{s().parse(e,{complete:e=>t(e.data),dynamicTyping:!0,error:e=>n(e),header:!0,skipEmptyLines:!0})}));var i=n(6199)},6199:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=(e,t="full")=>{const{media_details:{sizes:{[t]:{source_url:n=""}={},full:{source_url:r=""}={}}={}}={},sizes:{[t]:{url:s=""}={},full:{url:o=""}={}}={},source_url:i="",url:a=""}=e;return s||n||o||r||a||i||""}},1280:e=>{"use strict";e.exports=window.React},4632:e=>{"use strict";e.exports=window.wp.apiFetch},9528:e=>{"use strict";e.exports=window.wp.blockEditor},7287:e=>{"use strict";e.exports=window.wp.components},3048:e=>{"use strict";e.exports=window.wp.coreData},7752:e=>{"use strict";e.exports=window.wp.data},3396:e=>{"use strict";e.exports=window.wp.i18n},7204:e=>{"use strict";e.exports=window.wp.url}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,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 r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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.nc=void 0;var r={};return(()=>{"use strict";n.r(r),n.d(r,{AudioPicker:()=>e.AudioPicker,CSVUploader:()=>e.CSVUploader,Checkboxes:()=>e.Checkboxes,ImagePicker:()=>e.ImagePicker,MediaPicker:()=>e.MediaPicker,PostPicker:()=>e.PostPicker,PostSelector:()=>e.PostSelector,SafeHtml:()=>e.SafeHtml,Selector:()=>e.Selector,Sortable:()=>e.Sortable,SortableItem:()=>e.SortableItem,TermSelector:()=>e.TermSelector,VideoPicker:()=>e.VideoPicker,getMediaUrl:()=>s.getMediaUrl,parseCSVFile:()=>s.parseCSVFile,useCurrentPostId:()=>t.useCurrentPostId,useDebounce:()=>t.useDebounce,useHasInnerBlocks:()=>t.useHasInnerBlocks,useInnerBlocks:()=>t.useInnerBlocks,useInnerBlocksAttributes:()=>t.useInnerBlocksAttributes,useInnerBlocksCount:()=>t.useInnerBlocksCount,useInnerBlocksIndex:()=>t.useInnerBlocksIndex,useMedia:()=>t.useMedia,useOption:()=>t.useOption,useParentBlock:()=>t.useParentBlock,useParentBlockAttributes:()=>t.useParentBlockAttributes,usePost:()=>t.usePost,usePostById:()=>t.usePostById,usePostMeta:()=>t.usePostMeta,usePostMetaValue:()=>t.usePostMetaValue,usePosts:()=>t.usePosts,useTerms:()=>t.useTerms});var e=n(7720),t=n(2e3),s=n(5328)})(),r})(),e.exports=t()},185:function(e,t,n){"use strict";var r=window.wp.blocks,s=window.React,o=n(373),i=window.wp.components,a=window.wp.i18n,l=window.wp.blockEditor,c=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wp-newsletter-builder/post-featured-image","version":"0.1.0","title":"Newsletter Post Featured Image","category":"design","icon":"admin-post","description":"Displays a post featured image","textdomain":"wp-newsletter-builder","editorScript":"file:index.ts","style":["file:style-index.css"],"render":"file:render.php","attributes":{"overrideImage":{"type":"number","default":0},"imgSizes":{"type":"string","default":""}},"usesContext":["postId"]}');(0,r.registerBlockType)(c,{edit:function(e){var t;let{attributes:{overrideImage:n},context:{postId:r},setAttributes:c}=e;const u=null!==(t=(0,o.usePostById)(r))&&void 0!==t?t:null;let d=u?u.featured_media:null;const p=u?u.title.rendered:"";d=n||d;const f=(0,o.useMedia)(d),h=f?f.source_url:"";return(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{...(0,l.useBlockProps)({className:"image-container"})},u&&""!==h?(0,s.createElement)("img",{src:h,alt:p}):null,u?null:(0,s.createElement)(i.Placeholder,{className:"block-editor-media-placeholder",style:{aspectRatio:"16 / 9"},withIllustration:!0})),(0,s.createElement)(l.InspectorControls,null,r?(0,s.createElement)(i.PanelBody,{title:(0,a.__)("Override Image","wp-newsletter-builder"),initialOpen:!0},(0,s.createElement)(i.PanelRow,null,(0,s.createElement)(o.ImagePicker,{value:null!=n?n:0,onUpdate:e=>{let{id:t}=e;return c({overrideImage:t})},onReset:()=>c({overrideImage:0})}))):null))}})}},n={};function r(e){var s=n[e];if(void 0!==s)return s.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=function(t,n,s,o){if(!n){var i=1/0;for(u=0;u=o)&&Object.keys(r.O).every((function(e){return r.O[e](n[l])}))?n.splice(l--,1):(a=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,s,o]},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={484:0,183:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var s,o,i=n[0],a=n[1],l=n[2],c=0;if(i.some((function(t){return 0!==e[t]}))){for(s in a)r.o(a,s)&&(r.m[s]=a[s]);if(l)var u=l(r)}for(t&&t(n);c. + * @param WP_Block $block The instance of the WP_Block class that represents the block being rendered. + * + * @package wp-newsletter-builder + */ + +$wp_newsletter_builder_block_post = $block->context['postId'] ?? null; + +$wp_newsletter_builder_block_post = get_post( $wp_newsletter_builder_block_post ); +if ( empty( $wp_newsletter_builder_block_post ) ) { + return; +} +$wp_newsletter_builder_img_sizes = $attributes['imgSizes'] ?? ''; +$wp_newsletter_builder_post_image = ! empty( $attributes['overrideImage'] ) ? $attributes['overrideImage'] : get_post_thumbnail_id( $wp_newsletter_builder_block_post->ID ); + +$wp_newsletter_builder_post_permalink = (string) get_the_permalink(); +?> + 'post__image-link' ] ) ); ?> href=""> + $wp_newsletter_builder_img_sizes ] ); ?> + diff --git a/build/post-featured-image/style-index.css b/build/post-featured-image/style-index.css new file mode 100644 index 00000000..a7a3213a --- /dev/null +++ b/build/post-featured-image/style-index.css @@ -0,0 +1 @@ +a.post__title-link{color:#000;display:block;margin:20px auto;text-decoration:none}a.post__title-link h2{margin-bottom:0;text-align:center}a.post__title-link h2.post__title--small{font-size:24px} diff --git a/build/post-read-more/block.json b/build/post-read-more/block.json new file mode 100644 index 00000000..61a832d8 --- /dev/null +++ b/build/post-read-more/block.json @@ -0,0 +1,25 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 2, + "name": "wp-newsletter-builder/post-read-more", + "version": "0.1.0", + "title": "Newsletter Post Read More", + "category": "design", + "icon": "admin-post", + "description": "Displays a post read more button", + "textdomain": "wp-newsletter-builder", + "editorScript": "file:index.js", + "style": [ + "file:style-index.css" + ], + "render": "file:render.php", + "attributes": { + "readMoreText": { + "type": "string", + "default": "" + } + }, + "usesContext": [ + "postId" + ] +} \ No newline at end of file diff --git a/build/post-read-more/index.asset.php b/build/post-read-more/index.asset.php new file mode 100644 index 00000000..ac7662bd --- /dev/null +++ b/build/post-read-more/index.asset.php @@ -0,0 +1 @@ + array('react', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '10234b1aee729c3ceaa2'); diff --git a/build/post-read-more/index.js b/build/post-read-more/index.js new file mode 100644 index 00000000..8e94c07c --- /dev/null +++ b/build/post-read-more/index.js @@ -0,0 +1 @@ +!function(){"use strict";var e,t={891:function(){var e=window.wp.blocks,t=window.React,r=window.wp.i18n,n=window.wp.blockEditor,o=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wp-newsletter-builder/post-read-more","version":"0.1.0","title":"Newsletter Post Read More","category":"design","icon":"admin-post","description":"Displays a post read more button","textdomain":"wp-newsletter-builder","editorScript":"file:index.ts","style":["file:style-index.css"],"render":"file:render.php","attributes":{"readMoreText":{"type":"string","default":""}},"usesContext":["postId"]}');(0,e.registerBlockType)(o,{edit:function(e){let{attributes:{readMoreText:o},setAttributes:i}=e;const s=o||(0,r.__)("Read More","wp-newsletter-builder");return(0,t.createElement)("div",{...(0,n.useBlockProps)({className:"newsletter-read-more has-text-align-center"})},(0,t.createElement)(n.RichText,{tagName:"span",className:"wp-element-button",value:s,onChange:e=>i({readMoreText:e})}))}})}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.m=t,e=[],n.O=function(t,r,o,i){if(!r){var s=1/0;for(c=0;c=i)&&Object.keys(n.O).every((function(e){return n.O[e](r[l])}))?r.splice(l--,1):(a=!1,i0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[r,o,i]},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={878:0,157:0};n.O.j=function(t){return 0===e[t]};var t=function(t,r){var o,i,s=r[0],a=r[1],l=r[2],u=0;if(s.some((function(t){return 0!==e[t]}))){for(o in a)n.o(a,o)&&(n.m[o]=a[o]);if(l)var c=l(n)}for(t&&t(r);u. + * @param WP_Block $block The instance of the WP_Block class that represents the block being rendered. + * + * @package wp-newsletter-builder + */ + +$wp_newsletter_builder_block_post = $block->context['postId'] ?? null; + +$wp_newsletter_builder_block_post = get_post( $wp_newsletter_builder_block_post ); +if ( empty( $wp_newsletter_builder_block_post ) ) { + return; +} +$wp_newsletter_builder_read_more_text = $attributes['readMoreText'] ?? __( 'Read More', 'wp-newsletter-builder' ); + +$wp_newsletter_builder_post_permalink = (string) get_the_permalink(); +?> +
'wp-block-button has-text-align-center' ] ) ); ?>> + + + + + +
diff --git a/build/post-read-more/style-index.css b/build/post-read-more/style-index.css new file mode 100644 index 00000000..a7a3213a --- /dev/null +++ b/build/post-read-more/style-index.css @@ -0,0 +1 @@ +a.post__title-link{color:#000;display:block;margin:20px auto;text-decoration:none}a.post__title-link h2{margin-bottom:0;text-align:center}a.post__title-link h2.post__title--small{font-size:24px} diff --git a/build/post-title/block.json b/build/post-title/block.json new file mode 100644 index 00000000..00f74347 --- /dev/null +++ b/build/post-title/block.json @@ -0,0 +1,29 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 2, + "name": "wp-newsletter-builder/post-title", + "version": "0.1.0", + "title": "Newsletter Post Title", + "category": "design", + "icon": "admin-post", + "description": "Displays a post title", + "textdomain": "wp-newsletter-builder", + "editorScript": "file:index.js", + "style": [ + "file:style-index.css" + ], + "render": "file:render.php", + "attributes": { + "overrideTitle": { + "type": "string", + "default": "" + }, + "smallerFont": { + "type": "boolean", + "default": false + } + }, + "usesContext": [ + "postId" + ] +} \ No newline at end of file diff --git a/build/post-title/index.asset.php b/build/post-title/index.asset.php new file mode 100644 index 00000000..5df81f61 --- /dev/null +++ b/build/post-title/index.asset.php @@ -0,0 +1 @@ + array('react', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => 'ed2755e43105f985cff9'); diff --git a/build/post-title/index.js b/build/post-title/index.js new file mode 100644 index 00000000..5915c859 --- /dev/null +++ b/build/post-title/index.js @@ -0,0 +1,42 @@ +!function(){var e,t={373:function(e){var t;self,t=()=>(()=>{var e={6484:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e=[],t=0;t{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__post-list{display:flex;flex-wrap:wrap;float:left;height:calc(70vh - 200px);justify-content:flex-start;overflow-y:auto;padding:8px;width:100%}.alley-scripts-post-picker__post{border:1px solid #eee;height:auto;justify-content:center;margin:0 8px 8px 0;transition:background-color .2s ease-in-out;width:calc((100% - 40px)/3)}@media(min-width: 780px){.alley-scripts-post-picker__post{width:calc((100% - 40px)/5)}}.alley-scripts-post-picker__post:hover{background-color:#f5f5f5}.alley-scripts-post-picker__post.is-selected{background-color:#f5f5f5}.alley-scripts-post-picker__load-more{clear:both;float:left;text-align:center;width:100%}","",{version:3,sources:["webpack://./src/components/post-picker/post-list.scss"],names:[],mappings:"AAAA,sCACE,YAAA,CACA,cAAA,CACA,UAAA,CACA,yBAAA,CACA,0BAAA,CACA,eAAA,CACA,WAAA,CACA,UAAA,CAGF,iCACE,qBAAA,CACA,WAAA,CACA,sBAAA,CACA,kBAAA,CACA,2CAAA,CACA,2BAAA,CAGA,yBATF,iCAUI,2BAAA,CAAA,CAGF,uCACE,wBAAA,CAGF,6CACE,wBAAA,CAIJ,sCACE,UAAA,CACA,UAAA,CACA,iBAAA,CACA,UAAA",sourcesContent:[".alley-scripts-post-picker__post-list {\n display: flex;\n flex-wrap: wrap;\n float: left;\n height: calc(70vh - 200px);\n justify-content: flex-start;\n overflow-y: auto;\n padding: 8px;\n width: 100%;\n}\n\n.alley-scripts-post-picker__post {\n border: 1px solid #eee;\n height: auto;\n justify-content: center;\n margin: 0 8px 8px 0;\n transition: background-color 0.2s ease-in-out;\n width: calc((100% - 40px) / 3);\n\n\n @media (min-width: 780px) {\n width: calc((100% - 40px) / 5);\n }\n\n &:hover {\n background-color: #f5f5f5;\n }\n\n &.is-selected {\n background-color: #f5f5f5;\n }\n}\n\n.alley-scripts-post-picker__load-more {\n clear: both;\n float: left;\n text-align: center;\n width: 100%;\n}\n"],sourceRoot:""}]);const a=i},9680:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__modal .components-modal__content{width:90vw}.alley-scripts-post-picker__buttons{clear:both;display:block;text-align:right;width:100%}.alley-scripts-post-picker__buttons button{margin:5px}","",{version:3,sources:["webpack://./src/components/post-picker/search-modal.scss"],names:[],mappings:"AACE,6DACE,UAAA,CAIJ,oCACE,UAAA,CACA,aAAA,CACA,gBAAA,CACA,UAAA,CAEA,2CACE,UAAA",sourcesContent:[".alley-scripts-post-picker__modal {\n .components-modal__content {\n width: 90vw;\n }\n}\n\n.alley-scripts-post-picker__buttons {\n clear: both;\n display: block;\n text-align: right;\n width: 100%;\n\n button {\n margin: 5px;\n }\n}\n"],sourceRoot:""}]);const a=i},3800:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".post-picker-notice{margin:0 0 .5rem 0}","",{version:3,sources:["webpack://./src/components/post-picker/style.scss"],names:[],mappings:"AAAA,oBACE,kBAAA",sourcesContent:[".post-picker-notice {\n margin: 0 0 0.5rem 0;\n}\n"],sourceRoot:""}]);const a=i},5500:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,'.edit-post-sidebar .autocomplete__component,.editor-styles-wrapper .autocomplete__component{margin-bottom:20px}.edit-post-sidebar .autocomplete-base-control,.editor-styles-wrapper .autocomplete-base-control{position:relative}.edit-post-sidebar .autocomplete-text-control__input,.editor-styles-wrapper .autocomplete-text-control__input{margin:0}.edit-post-sidebar .autocomplete__selection-list,.editor-styles-wrapper .autocomplete__selection-list{list-style-type:none;margin:0 0 6px;padding:0}.edit-post-sidebar .autocomplete__selection-list--item,.editor-styles-wrapper .autocomplete__selection-list--item{display:inline-block;list-style:none}.edit-post-sidebar .autocomplete__selection-list--item--button,.editor-styles-wrapper .autocomplete__selection-list--item--button{margin-bottom:4px;margin-right:3px}.edit-post-sidebar .autocomplete__selection-list--item--button::after,.editor-styles-wrapper .autocomplete__selection-list--item--button::after{content:"×";font-size:16px;line-height:20px;margin-left:5px}.edit-post-sidebar .autocomplete__dropdown,.editor-styles-wrapper .autocomplete__dropdown{background-color:#fff;border-color:rgba(0,0,0,0) #e2e4e7 #e2e4e7;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px;left:0;max-height:0;overflow-y:hidden;position:absolute;top:calc(100% + 1px);visibility:hidden;width:100%;z-index:10}.edit-post-sidebar .autocomplete__dropdown--is-open,.editor-styles-wrapper .autocomplete__dropdown--is-open{box-shadow:0 3px 30px rgba(25,30,35,.1);max-height:225px;overflow-y:scroll;visibility:visible}.edit-post-sidebar .autocomplete__dropdown--notice,.editor-styles-wrapper .autocomplete__dropdown--notice{padding:15px}.edit-post-sidebar .autocomplete__dropdown--results,.editor-styles-wrapper .autocomplete__dropdown--results{list-style:none;margin:0;padding:0}.edit-post-sidebar .autocomplete__list--item,.editor-styles-wrapper .autocomplete__list--item{list-style:none}.edit-post-sidebar .autocomplete__list--item>button,.editor-styles-wrapper .autocomplete__list--item>button{background:rgba(0,0,0,0);border-color:#e2e4e7;border-style:solid;border-width:0 0 1px;height:100%;line-height:1.25;text-align:left;white-space:inherit;width:100%}.edit-post-sidebar .autocomplete__list--item:last-child>button,.editor-styles-wrapper .autocomplete__list--item:last-child>button{border-bottom:0}',"",{version:3,sources:["webpack://./src/components/selector/styles.scss"],names:[],mappings:"AAAA,4FAgBI,kBACE,CAAA,gGAMF,iBACE,CAAA,8GAMF,QACE,CAAA,sGAMF,oBACE,CAAA,cACA,CAAA,SACA,CAAA,kHAEA,oBACE,CAAA,eACA,CAAA,kIAEA,iBACE,CAAA,gBACA,CAAA,gJAEA,WACE,CAAA,cACA,CAAA,gBACA,CAAA,eACA,CAAA,0FASR,qBACE,CAAA,0CACA,CAAA,yBACA,CAAA,kBACA,CAAA,sBACA,CAAA,MACA,CAAA,YACA,CAAA,iBACA,CAAA,iBACA,CAAA,oBACA,CAAA,iBACA,CAAA,UACA,CAAA,UACA,CAAA,4GAGA,uCACE,CAAA,gBACA,CAAA,iBACA,CAAA,kBACA,CAAA,0GAIF,YACE,CAAA,4GAIF,eACE,CAAA,QACA,CAAA,SACA,CAAA,8FAOJ,eACE,CAAA,4GAEA,wBACE,CAAA,oBACA,CAAA,kBACA,CAAA,oBACA,CAAA,WACA,CAAA,gBACA,CAAA,eACA,CAAA,mBACA,CAAA,UACA,CAAA,kIAGF,eACE",sourcesContent:["//--------------------------------------------------------------\n// AutoComplete Styles\n//--------------------------------------------------------------\n\n/* stylelint-disable max-nesting-depth */\n\n//-----------------------------------------\n// Accommodate editor well, or the sidebar.\n//-----------------------------------------\n.edit-post-sidebar,\n.editor-styles-wrapper {\n .autocomplete {\n\n //-----------------------------------------\n // Parent form wrapper.\n //-----------------------------------------\n &__component {\n margin-bottom: 20px;\n }\n\n //-----------------------------------------\n // Wrapper\n //-----------------------------------------\n &-base-control {\n position: relative;\n }\n\n //-----------------------------------------\n // Input\n //-----------------------------------------\n &-text-control__input {\n margin: 0;\n }\n\n //-----------------------------------------\n // Selected buttons.\n //-----------------------------------------\n &__selection-list {\n list-style-type: none;\n margin: 0 0 6px;\n padding: 0;\n\n &--item {\n display: inline-block;\n list-style: none;\n\n &--button {\n margin-bottom: 4px;\n margin-right: 3px;\n\n &::after {\n content: '×';\n font-size: 16px;\n line-height: 20px;\n margin-left: 5px;\n }\n }\n }\n }\n\n //-----------------------------------------\n // Results\n //-----------------------------------------\n &__dropdown {\n background-color: #fff;\n border-color: transparent #e2e4e7 #e2e4e7;\n border-radius: 0 0 4px 4px;\n border-style: solid;\n border-width: 0 1px 1px;\n left: 0;\n max-height: 0;\n overflow-y: hidden;\n position: absolute;\n top: calc(100% + 1px); // Offset focus border.\n visibility: hidden;\n width: 100%;\n z-index: 10;\n\n // Container is open.\n &--is-open {\n box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);\n max-height: 225px;\n overflow-y: scroll;\n visibility: visible;\n }\n\n // Notice handler.\n &--notice {\n padding: 15px;\n }\n\n // Results container.\n &--results {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n }\n\n //-----------------------------------------\n // List/Results\n //-----------------------------------------\n &__list--item {\n list-style: none;\n\n > button {\n background: transparent;\n border-color: #e2e4e7;\n border-style: solid;\n border-width: 0 0 1px;\n height: 100%;\n line-height: 1.25;\n text-align: left;\n white-space: inherit;\n width: 100%;\n }\n\n &:last-child > button {\n border-bottom: 0;\n }\n }\n }\n}\n"],sourceRoot:""}]);const a=i},1849:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,s,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var a=0;a0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),s&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=s):u[4]="".concat(s)),t.push(u))}},t}},2876:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(s," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},6595:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:s}=Object;let{freeze:o,seal:i,create:a}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(e){return e}),i||(i=function(e){return e}),l||(l=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});const u=C(Array.prototype.forEach),d=C(Array.prototype.pop),p=C(Array.prototype.push),f=C(String.prototype.toLowerCase),h=C(String.prototype.toString),m=C(String.prototype.match),g=C(String.prototype.replace),y=C(String.prototype.indexOf),v=C(String.prototype.trim),b=C(RegExp.prototype.test),A=(_=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),s=1;s2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let o=r.length;for(;o--;){let t=r[o];if("string"==typeof t){const e=s(t);e!==t&&(n(r)||(r[o]=e),t=e)}e[t]=!0}return e}function w(t){const n=a(null);for(const[r,o]of e(t))void 0!==s(t,r)&&(n[r]=o);return n}function S(e,t){for(;null!==e;){const n=s(e,t);if(n){if(n.get)return C(n.get);if("function"==typeof n.value)return C(n.value)}e=r(e)}return function(e){return console.warn("fallback value for",e),null}}const k=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),R=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),N=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),P=o(["#text"]),O=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),L=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),j=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),D=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=i(/\{\{[\w\W]*|[\w\W]*\}\}/gm),M=i(/<%[\w\W]*|[\w\W]*%>/gm),B=i(/\${[\w\W]*}/gm),F=i(/^data-[\-\w.\u00B7-\uFFFF]/),z=i(/^aria-[\-\w]+$/),q=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=i(/^(?:\w+script|data):/i),H=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W=i(/^html$/i);var G=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:M,TMPLIT_EXPR:B,DATA_ATTR:F,ARIA_ATTR:z,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:$,ATTR_WHITESPACE:H,DOCTYPE_NAME:W});return function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const r=e=>t(e);if(r.version="3.0.6",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;let{document:s}=n;const i=s,l=i.currentScript,{DocumentFragment:c,HTMLTemplateElement:_,Node:C,Element:U,NodeFilter:M,NamedNodeMap:B=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:F,DOMParser:z,trustedTypes:$}=n,H=U.prototype,Y=S(H,"cloneNode"),V=S(H,"nextSibling"),K=S(H,"childNodes"),Q=S(H,"parentNode");if("function"==typeof _){const e=s.createElement("template");e.content&&e.content.ownerDocument&&(s=e.content.ownerDocument)}let J,X="";const{implementation:Z,createNodeIterator:ee,createDocumentFragment:te,getElementsByTagName:ne}=s,{importNode:re}=i;let se={};r.isSupported="function"==typeof e&&"function"==typeof Q&&Z&&void 0!==Z.createHTMLDocument;const{MUSTACHE_EXPR:oe,ERB_EXPR:ie,TMPLIT_EXPR:ae,DATA_ATTR:le,ARIA_ATTR:ce,IS_SCRIPT_OR_DATA:ue,ATTR_WHITESPACE:de}=G;let{IS_ALLOWED_URI:pe}=G,fe=null;const he=x({},[...k,...E,...R,...I,...P]);let me=null;const ge=x({},[...O,...L,...j,...D]);let ye=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,be=null,Ae=!0,_e=!0,Ce=!1,xe=!0,we=!1,Se=!1,ke=!1,Ee=!1,Re=!1,Te=!1,Ie=!1,Ne=!0,Pe=!1,Oe=!0,Le=!1,je={},De=null;const Ue=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Me=null;const Be=x({},["audio","video","img","source","image","track"]);let Fe=null;const ze=x({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",$e="http://www.w3.org/2000/svg",He="http://www.w3.org/1999/xhtml";let We=He,Ge=!1,Ye=null;const Ve=x({},[qe,$e,He],h);let Ke=null;const Qe=["application/xhtml+xml","text/html"];let Je=null,Xe=null;const Ze=s.createElement("form"),et=function(e){return e instanceof RegExp||e instanceof Function},tt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Xe||Xe!==e){if(e&&"object"==typeof e||(e={}),e=w(e),Ke=Ke=-1===Qe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Je="application/xhtml+xml"===Ke?h:f,fe="ALLOWED_TAGS"in e?x({},e.ALLOWED_TAGS,Je):he,me="ALLOWED_ATTR"in e?x({},e.ALLOWED_ATTR,Je):ge,Ye="ALLOWED_NAMESPACES"in e?x({},e.ALLOWED_NAMESPACES,h):Ve,Fe="ADD_URI_SAFE_ATTR"in e?x(w(ze),e.ADD_URI_SAFE_ATTR,Je):ze,Me="ADD_DATA_URI_TAGS"in e?x(w(Be),e.ADD_DATA_URI_TAGS,Je):Be,De="FORBID_CONTENTS"in e?x({},e.FORBID_CONTENTS,Je):Ue,ve="FORBID_TAGS"in e?x({},e.FORBID_TAGS,Je):{},be="FORBID_ATTR"in e?x({},e.FORBID_ATTR,Je):{},je="USE_PROFILES"in e&&e.USE_PROFILES,Ae=!1!==e.ALLOW_ARIA_ATTR,_e=!1!==e.ALLOW_DATA_ATTR,Ce=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,we=e.SAFE_FOR_TEMPLATES||!1,Se=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Te=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,Ee=e.FORCE_BODY||!1,Ne=!1!==e.SANITIZE_DOM,Pe=e.SANITIZE_NAMED_PROPS||!1,Oe=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,pe=e.ALLOWED_URI_REGEXP||q,We=e.NAMESPACE||He,ye=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ye.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ye.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ye.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),we&&(_e=!1),Te&&(Re=!0),je&&(fe=x({},[...P]),me=[],!0===je.html&&(x(fe,k),x(me,O)),!0===je.svg&&(x(fe,E),x(me,L),x(me,D)),!0===je.svgFilters&&(x(fe,R),x(me,L),x(me,D)),!0===je.mathMl&&(x(fe,I),x(me,j),x(me,D))),e.ADD_TAGS&&(fe===he&&(fe=w(fe)),x(fe,e.ADD_TAGS,Je)),e.ADD_ATTR&&(me===ge&&(me=w(me)),x(me,e.ADD_ATTR,Je)),e.ADD_URI_SAFE_ATTR&&x(Fe,e.ADD_URI_SAFE_ATTR,Je),e.FORBID_CONTENTS&&(De===Ue&&(De=w(De)),x(De,e.FORBID_CONTENTS,Je)),Oe&&(fe["#text"]=!0),Se&&x(fe,["html","head","body"]),fe.table&&(x(fe,["tbody"]),delete ve.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');J=e.TRUSTED_TYPES_POLICY,X=J.createHTML("")}else void 0===J&&(J=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}}($,l)),null!==J&&"string"==typeof X&&(X=J.createHTML(""));o&&o(e),Xe=e}},nt=x({},["mi","mo","mn","ms","mtext"]),rt=x({},["foreignobject","desc","title","annotation-xml"]),st=x({},["title","style","font","a","script"]),ot=x({},E);x(ot,R),x(ot,T);const it=x({},I);x(it,N);const at=function(e){p(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},lt=function(e,t){try{p(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!me[e])if(Re||Te)try{at(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ct=function(e){let t=null,n=null;if(Ee)e=""+e;else{const t=m(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ke&&We===He&&(e=''+e+"");const r=J?J.createHTML(e):e;if(We===He)try{t=(new z).parseFromString(r,Ke)}catch(e){}if(!t||!t.documentElement){t=Z.createDocument(We,"template",null);try{t.documentElement.innerHTML=Ge?X:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(s.createTextNode(n),o.childNodes[0]||null),We===He?ne.call(t,Se?"html":"body")[0]:Se?t.documentElement:o},ut=function(e){return ee.call(e.ownerDocument||e,e,M.SHOW_ELEMENT|M.SHOW_COMMENT|M.SHOW_TEXT,null)},dt=function(e){return"function"==typeof C&&e instanceof C},pt=function(e,t,n){se[e]&&u(se[e],(e=>{e.call(r,t,n,Xe)}))},ft=function(e){let t=null;if(pt("beforeSanitizeElements",e,null),(n=e)instanceof F&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof B)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return at(e),!0;var n;const s=Je(e.nodeName);if(pt("uponSanitizeElement",e,{tagName:s,allowedTags:fe}),e.hasChildNodes()&&!dt(e.firstElementChild)&&b(/<[/\w]/g,e.innerHTML)&&b(/<[/\w]/g,e.textContent))return at(e),!0;if(!fe[s]||ve[s]){if(!ve[s]&&mt(s)){if(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,s))return!1;if(ye.tagNameCheck instanceof Function&&ye.tagNameCheck(s))return!1}if(Oe&&!De[s]){const t=Q(e)||e.parentNode,n=K(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r)t.insertBefore(Y(n[r],!0),V(e))}return at(e),!0}return e instanceof U&&!function(e){let t=Q(e);t&&t.tagName||(t={namespaceURI:We,tagName:"template"});const n=f(e.tagName),r=f(t.tagName);return!!Ye[e.namespaceURI]&&(e.namespaceURI===$e?t.namespaceURI===He?"svg"===n:t.namespaceURI===qe?"svg"===n&&("annotation-xml"===r||nt[r]):Boolean(ot[n]):e.namespaceURI===qe?t.namespaceURI===He?"math"===n:t.namespaceURI===$e?"math"===n&&rt[r]:Boolean(it[n]):e.namespaceURI===He?!(t.namespaceURI===$e&&!rt[r])&&!(t.namespaceURI===qe&&!nt[r])&&!it[n]&&(st[n]||!ot[n]):!("application/xhtml+xml"!==Ke||!Ye[e.namespaceURI]))}(e)?(at(e),!0):"noscript"!==s&&"noembed"!==s&&"noframes"!==s||!b(/<\/no(script|embed|frames)/i,e.innerHTML)?(we&&3===e.nodeType&&(t=e.textContent,u([oe,ie,ae],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(r.removed,{element:e.cloneNode()}),e.textContent=t)),pt("afterSanitizeElements",e,null),!1):(at(e),!0)},ht=function(e,t,n){if(Ne&&("id"===t||"name"===t)&&(n in s||n in Ze))return!1;if(_e&&!be[t]&&b(le,t));else if(Ae&&b(ce,t));else if(!me[t]||be[t]){if(!(mt(e)&&(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,e)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(e))&&(ye.attributeNameCheck instanceof RegExp&&b(ye.attributeNameCheck,t)||ye.attributeNameCheck instanceof Function&&ye.attributeNameCheck(t))||"is"===t&&ye.allowCustomizedBuiltInElements&&(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,n)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(n))))return!1}else if(Fe[t]);else if(b(pe,g(n,de,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!Me[e])if(Ce&&!b(ue,g(n,de,"")));else if(n)return!1;return!0},mt=function(e){return e.indexOf("-")>0},gt=function(e){pt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:me};let s=t.length;for(;s--;){const o=t[s],{name:i,namespaceURI:a,value:l}=o,c=Je(i);let p="value"===i?l:v(l);if(n.attrName=c,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,pt("uponSanitizeAttribute",e,n),p=n.attrValue,n.forceKeepAttr)continue;if(lt(i,e),!n.keepAttr)continue;if(!xe&&b(/\/>/i,p)){lt(i,e);continue}we&&u([oe,ie,ae],(e=>{p=g(p,e," ")}));const f=Je(e.nodeName);if(ht(f,c,p)){if(!Pe||"id"!==c&&"name"!==c||(lt(i,e),p="user-content-"+p),J&&"object"==typeof $&&"function"==typeof $.getAttributeType)if(a);else switch($.getAttributeType(f,c)){case"TrustedHTML":p=J.createHTML(p);break;case"TrustedScriptURL":p=J.createScriptURL(p)}try{a?e.setAttributeNS(a,i,p):e.setAttribute(i,p),d(r.removed)}catch(e){}}}pt("afterSanitizeAttributes",e,null)},yt=function e(t){let n=null;const r=ut(t);for(pt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)pt("uponSanitizeShadowNode",n,null),ft(n)||(n.content instanceof c&&e(n.content),gt(n));pt("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,s=null,o=null,a=null;if(Ge=!e,Ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!dt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!r.isSupported)return e;if(ke||tt(t),r.removed=[],"string"==typeof e&&(Le=!1),Le){if(e.nodeName){const t=Je(e.nodeName);if(!fe[t]||ve[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof C)n=ct("\x3c!----\x3e"),s=n.ownerDocument.importNode(e,!0),1===s.nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?n=s:n.appendChild(s);else{if(!Re&&!we&&!Se&&-1===e.indexOf("<"))return J&&Ie?J.createHTML(e):e;if(n=ct(e),!n)return Re?null:Ie?X:""}n&&Ee&&at(n.firstChild);const l=ut(Le?e:n);for(;o=l.nextNode();)ft(o)||(o.content instanceof c&&yt(o.content),gt(o));if(Le)return e;if(Re){if(Te)for(a=te.call(n.ownerDocument);n.firstChild;)a.appendChild(n.firstChild);else a=n;return(me.shadowroot||me.shadowrootmode)&&(a=re.call(i,a,!0)),a}let d=Se?n.outerHTML:n.innerHTML;return Se&&fe["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&b(W,n.ownerDocument.doctype.name)&&(d="\n"+d),we&&u([oe,ie,ae],(e=>{d=g(d,e," ")})),J&&Ie?J.createHTML(d):d},r.setConfig=function(){tt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ke=!0},r.clearConfig=function(){Xe=null,ke=!1},r.isValidAttribute=function(e,t,n){Xe||tt({});const r=Je(e),s=Je(t);return ht(r,s,n)},r.addHook=function(e,t){"function"==typeof t&&(se[e]=se[e]||[],p(se[e],t))},r.removeHook=function(e){if(se[e])return d(se[e])},r.removeHooks=function(e){se[e]&&(se[e]=[])},r.removeAllHooks=function(){se={}},r}()}()},2232:function(e,t){var n,r;n=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,s={},o=0,i={parse:function(n,r){var a=(r=r||{}).dynamicTyping||!1;if(_(a)&&(r.dynamicTypingFunction=a,a={}),r.dynamicTyping=a,r.transform=!!_(r.transform)&&r.transform,r.worker&&i.WORKERS_SUPPORTED){var l=function(){if(!i.WORKERS_SUPPORTED)return!1;var n,r,a=(n=t.URL||t.webkitURL||null,r=e.toString(),i.BLOB_URL||(i.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),l=new t.Worker(a);return l.onmessage=g,l.id=o++,s[l.id]=l}();return l.userStep=r.step,l.userChunk=r.chunk,l.userComplete=r.complete,l.userError=r.error,r.step=_(r.step),r.chunk=_(r.chunk),r.complete=_(r.complete),r.error=_(r.error),delete r.worker,void l.postMessage({input:n,config:r,workerId:l.id})}var f=null;return i.NODE_STREAM_INPUT,"string"==typeof n?(n=function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}(n),f=r.download?new c(r):new d(r)):!0===n.readable&&_(n.read)&&_(n.on)?f=new p(r):(t.File&&n instanceof File||n instanceof Object)&&(f=new u(r)),f.stream(n)},unparse:function(e,t){var n=!1,r=!0,s=",",o="\r\n",a='"',l=a+a,c=!1,u=null,d=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||i.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(s=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(c=t.skipEmptyLines),"string"==typeof t.newline&&(o=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+a),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(d=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var p=new RegExp(h(a),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return f(null,e,c);if("object"==typeof e[0])return f(u||Object.keys(e[0]),e,c)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),f(e.fields||[],e.data||[],c);throw new Error("Unable to serialize unrecognized input");function f(e,t,n){var i="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var a=Array.isArray(e)&&0=this._config.preview;if(r)t.postMessage({results:a,workerId:i.WORKER_ID,finished:c});else if(_(this._config.chunk)&&!n){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);a=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!c||!_(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:i.WORKER_ID,error:e,finished:!1})}}function c(e){var t;(e=e||{}).chunkSize||(e.chunkSize=i.RemoteChunkSize),l.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=A(this._chunkLoaded,this),t.onerror=A(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var s=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+s)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function u(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=i.LocalChunkSize),l.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=A(this._chunkLoaded,this),t.onerror=A(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function d(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function p(e){l.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=A((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=A((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=A((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=A((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function f(e){var t,n,r,s=Math.pow(2,53),o=-s,a=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,u=0,d=0,p=!1,f=!1,g=[],y={data:[],errors:[],meta:{}};if(_(e.step)){var v=e.step;e.step=function(t){if(y=t,x())C();else{if(C(),0===y.data.length)return;u+=t.data.length,e.preview&&u>e.preview?n.abort():(y.data=y.data[0],v(y,c))}}}function A(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function C(){return y&&r&&(S("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+i.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(y.data=y.data.filter((function(e){return!A(e)}))),x()&&function(){if(y)if(Array.isArray(y.data[0])){for(var t=0;x()&&t=g.length?"__parsed_extra":g[r]),e.transform&&(i=e.transform(i,o)),i=w(o,i),"__parsed_extra"===o?(s[o]=s[o]||[],s[o].push(i)):s[o]=i}return e.header&&(r>g.length?S("FieldMismatch","TooManyFields","Too many fields: expected "+g.length+" fields but parsed "+r,d+n):r=r.length/2?"\r\n":"\r"}(s,l)),r=!1,e.delimiter)_(e.delimiter)&&(e.delimiter=e.delimiter(s),y.meta.delimiter=e.delimiter);else{var c=function(t,n,r,s,o){var a,l,c,u;o=o||[",","\t","|",";",i.RECORD_SEP,i.UNIT_SEP];for(var d=0;d=a)return G(!0)}else for(B=u,u++;;){if(-1===(B=i.indexOf(t,B+1)))return f||C.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:A.length,index:u}),H();if(B===m-1)return H(i.substring(u,B).replace(M,t));if(t!==c||i[B+1]!==c){if(t===c||0===B||i[B-1]!==c){-1!==D&&D=a)return G(!0);break}C.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:A.length,index:u}),B++}}else B++}return H();function q(e){A.push(e),w=u}function $(e){var t=0;if(-1!==e){var n=i.substring(B+1,e);n&&""===n.trim()&&(t=n.length)}return t}function H(e){return f||(void 0===e&&(e=i.substring(u)),x.push(e),u=m,q(x),b&&Y()),G()}function W(e){u=e,q(x),x=[],U=i.indexOf(r,u)}function G(e){return{data:A,errors:C,meta:{delimiter:n,linebreak:r,aborted:d,truncated:!!e,cursor:w+(p||0)}}}function Y(){o(G()),A=[],C=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return u}}function g(e){var t=e.data,n=s[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var o={abort:function(){r=!0,y(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(_(n.userStep)){for(var i=0;i{"use strict";var r=n(7200);function s(){}function o(){}o.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,o,i){if(i!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:s};return n.PropTypes=n,n}},900:(e,t,n)=>{e.exports=n(7336)()},7200:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4108:(e,t,n)=>{"use strict";var r=n(1280),s=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:s,type:e,key:c,ref:u,props:o,_owner:a.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},7e3:(e,t,n)=>{"use strict";e.exports=n(4108)},3736:e=>{e.exports=function(e,t,n,r){var s=n?n.call(r,e,t):void 0;if(void 0!==s)return!!s;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),l=0;l{"use strict";var t=[];function n(e){for(var n=-1,r=0;r{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},2940:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},9516:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7020:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var s=void 0!==n.layer;s&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,s&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9296:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},3376:(e,t,n)=>{"use strict";n.d(t,{cp:()=>Ut});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n2||H(j)>3?"":" "}function Y(e,t){for(;--t&&F()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return $(e,q()+(t<6&&32==z()&&32==F()))}function V(e){for(;F();)switch(j){case e:return L;case 34:case 39:34!==e&&39!==e&&V(j);break;case 40:41===e&&V(e);break;case 92:F()}return L}function K(e,t){for(;F()&&e+j!==57&&(e+j!==84||47!==z()););return"/*"+$(t,L-1)+"*"+b(47===e?e:F())}function Q(e){for(;!H(z());)F();return $(e,L)}function J(e,t){for(var n="",r=0;r6)switch(S(e,t+1)){case 109:if(45!==S(e,t+4))break;case 102:return x(e,/(.+:)(.+)-([^]+)/,"$1"+d+"$2-$3$1"+u+(108==S(e,t+3)?"$3":"$2-$3"))+e;case 115:return~w(e,"stretch")?Z(x(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return x(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,s,o,i,a){return c+n+":"+r+a+(s?c+n+"-span:"+(o?i:+i-+r)+a:"")+e}));case 4949:if(121===S(e,t+6))return x(e,":",":"+d)+e;break;case 6444:switch(S(e,45===S(e,14)?18:11)){case 120:return x(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+d+(45===S(e,14)?"inline-":"")+"box$3$1"+d+"$2$3$1"+c+"$2box$3")+e;case 100:return x(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return x(e,"scroll-","scroll-snap-")+e}return e}function ee(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case h:return void(e.return=Z(e.value,e.length,n));case g:return J([M(e,{value:x(e.value,"@","@"+d)})],r);case f:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(C(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":B(M(e,{props:[x(t,/:(read-\w+)/,":"+u+"$1")]})),B(M(e,{props:[t]})),A(e,{props:I(n,r)});break;case"::placeholder":B(M(e,{props:[x(t,/:(plac\w+)/,":"+d+"input-$1")]})),B(M(e,{props:[x(t,/:(plac\w+)/,":"+u+"$1")]})),B(M(e,{props:[x(t,/:(plac\w+)/,c+"input-$1")]})),B(M(e,{props:[t]})),A(e,{props:I(n,r)})}return""}))}}function te(e){return function(e){return D="",e}(ne("",null,null,null,[""],e=function(e){return N=P=1,O=E(D=e),L=0,[]}(e),0,[0],e))}function ne(e,t,n,r,s,o,i,a,l){for(var c=0,u=0,d=i,p=0,f=0,h=0,m=1,g=1,y=1,v=0,A="",_=s,C=o,k=r,R=A;g;)switch(h=v,v=F()){case 40:if(108!=h&&58==S(R,d-1)){-1!=w(R+=x(W(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:R+=W(v);break;case 9:case 10:case 13:case 32:R+=G(h);break;case 92:R+=Y(q()-1,7);continue;case 47:switch(z()){case 42:case 47:T(se(K(F(),q()),t,n,l),l);break;default:R+="/"}break;case 123*m:a[c++]=E(R)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==y&&(R=x(R,/\f/g,"")),f>0&&E(R)-d&&T(f>32?oe(R+";",r,n,d-1,l):oe(x(R," ","")+";",r,n,d-2,l),l);break;case 59:R+=";";default:if(T(k=re(R,t,n,c,u,s,a,A,_=[],C=[],d,o),o),123===v)if(0===u)ne(R,t,k,k,_,o,d,a,C);else switch(99===p&&110===S(R,3)?100:p){case 100:case 108:case 109:case 115:ne(e,k,k,r&&T(re(e,k,k,0,0,s,a,A,s,_=[],d,C),C),s,C,d,a,r?_:C);break;default:ne(R,k,k,k,[""],C,0,a,C)}}c=u=f=0,m=y=1,A=R="",d=i;break;case 58:d=1+E(R),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==(j=L>0?S(D,--L):0,P--,10===j&&(P=1,N--),j))continue;switch(R+=b(v),v*m){case 38:y=u>0?1:(R+="\f",-1);break;case 44:a[c++]=(E(R)-1)*y,y=1;break;case 64:45===z()&&(R+=W(F())),p=z(),u=d=E(A=R+=Q(q())),v++;break;case 45:45===h&&2==E(R)&&(m=0)}}return o}function re(e,t,n,r,s,o,i,a,l,c,u,d){for(var p=s-1,h=0===s?o:[""],m=R(h),g=0,y=0,b=0;g0?h[A]+" "+C:x(C,/&\f/g,h[A])))&&(l[b++]=w);return U(e,t,n,0===s?f:a,l,c,u,d)}function se(e,t,n,r){return U(e,t,n,p,b(j),k(e,2,-2),0,r)}function oe(e,t,n,r,s){return U(e,t,n,h,k(e,0,r),k(e,r+1,-1),r,s)}const ie={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ae="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",le="undefined"!=typeof window&&"HTMLElement"in window,ce=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),ue=(new Set,Object.freeze([])),de=Object.freeze({}),pe=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),fe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,he=/(^-|-$)/g;function me(e){return e.replace(fe,"-").replace(he,"")}var ge=/(a)(d)/gi,ye=function(e){return String.fromCharCode(e+(e>25?39:97))};function ve(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ye(t%52)+n;return(ye(t%52)+n).replace(ge,"$1-$2")}var be,Ae=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},_e=function(e){return Ae(5381,e)};function Ce(e){return"string"==typeof e&&!0}var xe="function"==typeof Symbol&&Symbol.for,we=xe?Symbol.for("react.memo"):60115,Se=xe?Symbol.for("react.forward_ref"):60112,ke={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ee={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Re={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Te=((be={})[Se]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},be[we]=Re,be);function Ie(e){return("type"in(t=e)&&t.type.$$typeof)===we?Re:"$$typeof"in e?Te[e.$$typeof]:ke;var t}var Ne=Object.defineProperty,Pe=Object.getOwnPropertyNames,Oe=Object.getOwnPropertySymbols,Le=Object.getOwnPropertyDescriptor,je=Object.getPrototypeOf,De=Object.prototype;function Ue(e,t,n){if("string"!=typeof t){if(De){var r=je(t);r&&r!==De&&Ue(e,r,n)}var s=Pe(t);Oe&&(s=s.concat(Oe(t)));for(var o=Ie(e),i=Ie(t),a=0;a0?" Args: ".concat(t.join(", ")):""))}var Ge=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,s=r;e>=s;)if((s<<=1)<0)throw We(16,"".concat(e));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var o=r;o=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),s=r+n,o=r;o=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))})),r+="".concat(i).concat(a,'{content:"').concat(l,'"}').concat("/*!sc*/\n")},o=0;o0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===f&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(ut,n).replace(r,c))})),i.prefix&&u.push(ee),u.push(X);var d=function(e,s,o,a){void 0===s&&(s=""),void 0===o&&(o=""),void 0===a&&(a="&"),t=a,n=s,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(dt,""),c=te(o||s?"".concat(o," ").concat(s," { ").concat(l," }"):l);i.namespace&&(c=pt(c,i.namespace));var d,p,f,h=[];return J(c,(d=u.concat((f=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&f(e)})),p=R(d),function(e,t,n,r){for(var s="",o=0;o="A"&&e<="Z"};function Ct(e){for(var t="",n=0;n>>0);if(!t.hasNameForId(this.componentId,o)){var i=n(s,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,i)}r=Fe(r,o),this.staticRulesId=o}else{for(var a=Ae(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=Fe(r,p)}}return r},e}(),Tt=i().createContext(void 0);Tt.Consumer;var It={};function Nt(e,t,n){var s=Be(e),a=e,l=!Ce(e),c=t.attrs,u=void 0===c?ue:c,d=t.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":me(e);It[n]=(It[n]||0)+1;var r="".concat(n,"-").concat(function(e){return ve(_e(e)>>>0)}("6.1.1"+n+It[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):d,f=t.displayName,h=void 0===f?function(e){return Ce(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):f,m=t.displayName&&t.componentId?"".concat(me(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&a.attrs?a.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(s&&a.shouldForwardProp){var v=a.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;y=function(e,t){return v(e,t)&&b(e,t)}}else y=v}var A=new Rt(n,m,s?a.componentStyle:void 0);function _(e,t){return function(e,t,n){var s=e.attrs,a=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=i().useContext(Tt),f=vt(),h=e.shouldForwardProp||f.shouldForwardProp,m=function(e,t,n){for(var s,o=r(r({},t),{className:void 0,theme:n}),i=0;i2&&ct.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=nt(),r=ze([n&&'nonce="'.concat(n,'"'),"".concat(ae,'="true"'),"".concat("data-styled-version",'="').concat("6.1.1",'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw We(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw We(2);var n=((t={})[ae]="",t["data-styled-version"]="6.1.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),s=nt();return s&&(n.nonce=s),[i().createElement("style",r({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ct({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw We(2);return i().createElement(bt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw We(3)}}(),"__sc-".concat(ae,"__")},4928:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("audio",{className:"edit-audio-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["audio"],className:e,icon:"format-audio",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const d=u},2312:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(7e3),s=n(900),o=n.n(s),i=n(7287);const a=({label:e,value:t,options:n,onChange:s})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BaseControl,{label:e}),n.map((e=>(0,r.jsx)(i.CheckboxControl,{label:e.label,checked:t.includes(e.value),onChange:n=>{s(n?[...t,e.value]:[...t.filter((t=>t!==e.value))])}})))]});a.propTypes={label:o().string.isRequired,value:o().arrayOf(o().string).isRequired,options:o().arrayOf(o().shape({label:o().string.isRequired,value:o().string.isRequired})).isRequired,onChange:o().func.isRequired};const l=a},8312:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(7e3),s=n(1280),o=n.n(s),i=n(3396),a=n(900),l=n.n(a),c=n(5328);class u extends o().PureComponent{static handleSubmit(e){e.preventDefault()}constructor(e){super(e),this.handleChange=this.handleChange.bind(this),this.state={error:"",success:""}}handleChange(e){const{attributeName:t,callback:n,setAttributes:r}=this.props;e.target.files&&e.target.files[0]&&(0,c.parseCSVFile)(e.target.files[0]).then((e=>n?n(e):e)).then((e=>{Array.isArray(e)&&e.length>0?(this.setState({error:"",success:(0,i.__)("Successfully read CSV data.","alley-scripts")}),r({[t]:JSON.stringify(e)})):this.setState({error:(0,i.__)("Could not map CSV data. Please check the source file to ensure that it has the correct structure.","alley-scripts"),success:""})})).catch((e=>{this.setState({error:e,success:""})}))}render(){const{error:e="",success:t=""}=this.state;return(0,r.jsxs)("div",{className:"alley-scripts-block-csv-uploader",children:[(0,r.jsx)("h2",{children:(0,i.__)("Upload CSV","alley-scripts")}),(0,r.jsxs)("form",{onSubmit:this.handleSubmit,children:[""!==e?(0,r.jsxs)("div",{style:{color:"#c00"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Error:","alley-scripts")})," ",e]}):null,""!==t?(0,r.jsxs)("div",{style:{color:"#0c0"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Success:","alley-scripts")})," ",t]}):null,(0,r.jsx)("div",{children:(0,r.jsxs)("label",{htmlFor:"alley-scripts-block-csv-uploader-file",children:[(0,r.jsx)("p",{children:(0,i.__)("Select a file to load data.","alley-scripts")}),(0,r.jsx)("input",{id:"alley-scripts-block-csv-uploader-file",onChange:this.handleChange,type:"file"})]})})]})]})}}u.defaultProps={callback:null},u.propTypes={attributeName:l().string.isRequired,callback:l().func,setAttributes:l().func.isRequired}},8348:(e,t,n)=>{"use strict";n.d(t,{default:()=>p});var r=n(7e3),s=n(3396),o=n(900),i=n.n(o),a=n(3376),l=n(7720);const c=a.cp.div` + box-sizing: border-box; + flex-shrink: 0; + height: auto; + max-height: 1450px; + max-width: 1450px; + min-height: 20px; + min-width: 20px; + position: relative; + width: auto; +`,u=({src:e})=>(0,r.jsx)(c,{children:(0,r.jsx)("img",{alt:(0,s.__)("Edit image","alley-scripts"),className:"edit-image-preview",src:e,title:(0,s.__)("Edit image","alley-scripts")})});u.propTypes={src:i().string.isRequired};const d=({className:e,imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,value:a,valueURL:c})=>(0,r.jsx)(l.MediaPicker,{allowedTypes:["image"],className:e,icon:"format-image",imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,preview:u,value:a,valueURL:c});d.defaultProps={className:"",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,valueURL:""},d.propTypes={className:i().string,imageSize:i().string,displayControlsInToolbar:i().bool,onReset:i().func.isRequired,onUpdate:i().func.isRequired,onUpdateURL:i().func,value:i().number.isRequired,valueURL:i().string};const p=d},7720:(e,t,n)=>{"use strict";n.d(t,{AudioPicker:()=>r.default,CSVUploader:()=>o.default,Checkboxes:()=>s.default,ImagePicker:()=>i.default,MediaPicker:()=>a.default,PostPicker:()=>c.default,PostSelector:()=>u.default,SafeHtml:()=>l.default,Selector:()=>d.default,Sortable:()=>p.default,SortableItem:()=>f.default,TermSelector:()=>h.default,VideoPicker:()=>m.default});var r=n(4928),s=n(2312),o=n(8312),i=n(8348),a=n(5680),l=n(9160),c=n(4808),u=n(8800),d=n(9064),p=n(8504),f=n(1917),h=n(668),m=n(5316)},5680:(e,t,n)=>{"use strict";n.d(t,{default:()=>m});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(9528),l=n(7287),c=n(7752),u=n(3396),d=n(5328);const p=i.cp.div` + display: block; + position: relative; +`,f=i.cp.div` + background: white; + border: 1px solid black; + padding: 1em; +`,h=({allowedTypes:e,className:t,icon:n,imageSize:s,displayControlsInToolbar:o,onReset:i,onUpdate:h,onUpdateURL:m,preview:g,value:y,valueURL:v})=>{const{media:b}=(0,c.useSelect)((e=>({media:y?e("core").getMedia(y):void 0})),[y]);if(0!==y&&null===b)return(0,r.jsx)(l.Spinner,{});const A=b?(0,d.getMediaUrl)(b,s):v;return A?(0,r.jsxs)(p,{className:t,children:[g?(0,r.jsx)(g,{src:A}):(0,r.jsxs)(f,{className:"alley-scripts-media-picker__preview",children:[(0,r.jsx)("p",{children:(0,u.__)("Selected file:","alley-scripts")}),(0,r.jsx)("p",{children:(0,r.jsx)("a",{href:A,children:A})})]}),o?(0,r.jsx)(a.BlockControls,{group:"other",children:(0,r.jsx)(a.MediaReplaceFlow,{name:(0,u.__)("Edit Media","alley-scripts"),mediaId:y,mediaURL:A,allowedTypes:e,onSelect:h,onSelectURL:m,children:(0,r.jsx)(l.ToolbarButton,{isDestructive:!0,text:(0,u.__)("Remove","alley-scripts"),onClick:i})})}):(0,r.jsx)(l.Button,{variant:"primary",onClick:i,children:(0,u.__)("Reset","alley-scripts")})]}):(0,r.jsx)(p,{className:t,children:(0,r.jsx)(a.MediaPlaceholder,{allowedTypes:e,disableMediaButtons:!!v,icon:(0,r.jsx)(a.BlockIcon,{icon:n}),onSelect:h,onSelectURL:m,value:{id:y,src:A}})})};h.defaultProps={allowedTypes:[],className:"",icon:"format-aside",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,preview:null,valueURL:""},h.propTypes={allowedTypes:o().arrayOf(o().string),className:o().string,icon:o().string,imageSize:o().string,displayControlsInToolbar:o().bool,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,preview:o().element,value:o().number.isRequired,valueURL:o().string};const m=h},4808:(e,t,n)=>{"use strict";n.d(t,{default:()=>F});var r=n(7e3),s=n(1280),o=n(3376),i=n(7287),a=n(3396),l=n(7204),c=n(2e3),u=n(2108),d=n.n(u),p=n(7020),f=n.n(p),h=n(7240),m=n.n(h),g=n(9516),y=n.n(g),v=n(2940),b=n.n(v),A=n(9296),_=n.n(A),C=n(9680),x={};x.styleTagTransform=_(),x.setAttributes=y(),x.insert=m().bind(null,"head"),x.domAPI=f(),x.insertStyleElement=b(),d()(C.c,x),C.c&&C.c.locals&&C.c.locals;var w=n(4632),S=n.n(w),k=n(6484),E=n.n(k),R=n(7424),T={};T.styleTagTransform=_(),T.setAttributes=y(),T.insert=m().bind(null,"head"),T.domAPI=f(),T.insertStyleElement=b(),d()(R.c,T),R.c&&R.c.locals&&R.c.locals;const I=window.wp.htmlEntities;var N=n(9160);const P=o.cp.div` + align-items: center; + gap: 4px; + overflow-wrap: anywhere; + display: flex; + flex-direction: column; + justify-content: center; + padding: 0.5rem 0.75rem; +`,O=({title:e,postType:t,attachmentID:n})=>{const s=(0,c.useMedia)(n),o=s?.media_details?.sizes?.thumbnail?.source_url,i=s?.alt_text??"";return(0,r.jsxs)(P,{children:[o?(0,r.jsx)("img",{style:{maxWidth:"100%",height:"auto"},loading:"lazy",src:o,alt:i}):null,(0,r.jsx)(N.default,{html:(0,I.decodeEntities)(e),className:"post-picker-result-title",tag:"strong"}),(0,a.sprintf)(" (%s)",t)]})},L=({baseUrl:e,searchRender:t,selected:n,setSelected:o,suppressPostIds:c=[]})=>{const[u,d]=(0,s.useState)(!1),[p,f]=(0,s.useState)([]),[h,m]=(0,s.useState)(!1),[g,y]=(0,s.useState)(0),[v,b]=(0,s.useState)({searchValue:"",page:1}),A=(0,s.useCallback)((async(t,n=!1)=>{if(t.searchValue&&t.searchValue.length<=2)return;const r=function(){let n=(0,l.addQueryArgs)(e,{page:t.page,_embed:1,exclude:c.join(",")});return t.searchValue&&t.searchValue.length>2&&(n=(0,l.addQueryArgs)(n,{search:t.searchValue})),n}();d(!0);const s=await S()({path:r,parse:!1});y(parseInt(s.headers.get("X-WP-TotalPages"),10));const o=await s.json();let i=o;t.page>1&&(i=[...p,...o]),n||(f(i),d(!1))}),[p,e,c]);return(0,s.useEffect)((()=>{let e=!1;return h||(m(!0),A(v,e)),()=>{e=!0}}),[A,h,v]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.TextControl,{value:v.searchValue,placeholder:(0,a.__)("Search...","alley-scripts"),label:(0,a.__)("Search","alley-scripts"),onChange:e=>{const t={...v,searchValue:e,page:1};b(t),A(t)}}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__post-list",children:[p?p.map((e=>(0,r.jsx)(i.Button,{className:E()({"alley-scripts-post-picker__post":!0,"is-selected":e.id===n}),onClick:()=>o(e.id),children:t?t(e):(0,r.jsx)(O,{title:e.title,postType:e.subtype,attachmentID:e?._embedded?.self[0]?.featured_media})},e.id))):null,u?(0,r.jsx)(i.Spinner,{}):null,g>0&&v.page{const e={...v,page:v.page+1};b(e),A(e)},children:(0,a.__)("Load More","alley-scripts")})}):null]})]})},j=({baseUrl:e,closeModal:t,modalTitle:n,onUpdate:o,searchRender:l,suppressPostIds:c=[]})=>{const[u,d]=(0,s.useState)();return(0,r.jsxs)(i.Modal,{className:"alley-scripts-post-picker__modal",isDismissible:!0,title:n,onRequestClose:t,closeButtonLabel:"Close",children:[(0,r.jsx)(L,{baseUrl:e,selected:u??0,setSelected:d,searchRender:l,suppressPostIds:c}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__buttons",children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:t,children:(0,a.__)("Cancel","alley-scripts")}),(0,r.jsx)(i.Button,{variant:"primary",onClick:()=>{u&&(o(u),t())},disabled:!u,children:(0,a.__)("Select","alley-scripts")})]})]})};var D=n(3800),U={};U.styleTagTransform=_(),U.setAttributes=y(),U.insert=m().bind(null,"head"),U.domAPI=f(),U.insertStyleElement=b(),d()(D.c,U),D.c&&D.c.locals&&D.c.locals;const M=o.cp.div` + display: block; + position: relative; +`,B=o.cp.div` + border: 1px solid #eee; + display: flex; + flex-direction: column; + margin: 5px 0; + padding: 0.5rem 0.75rem; + text-align: center; +`,F=({allowedTypes:e,className:t,getPostType:n,modalTitle:o=(0,a.__)("Select Post","alley-scripts"),onReset:u,onUpdate:d,params:p={},previewRender:f,replaceText:h=(0,a.__)("Replace","alley-scripts"),resetText:m=(0,a.__)("Reset","alley-scripts"),searchEndpoint:g="/wp/v2/search",searchRender:y,selectText:v=(0,a.__)("Select","alley-scripts"),suppressPostIds:b=[],title:A="",value:_=0})=>{const[C,x]=(0,s.useState)(!1),w=(0,l.addQueryArgs)(g,{type:"post",subtype:e??"any",...p}),S=(0,c.usePostById)(_,n),{featured_media:k,title:{rendered:E=""}={},type:R=""}=S||{},T=()=>{x(!0)},I=()=>(0,r.jsxs)(i.ButtonGroup,{children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:u,style:{margin:"0 4px"},children:m}),(0,r.jsx)(i.Button,{variant:"secondary",onClick:T,style:{margin:"0 4px"},children:h})]});return 0!==_&&null===S?(0,r.jsx)(i.Spinner,{}):(0,r.jsxs)(M,{className:t,children:[A?(0,r.jsx)("h4",{children:A}):null,0!==_&&void 0===S?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Notice,{status:"error",isDismissible:!1,className:"post-picker-notice",children:(0,r.jsx)("p",{children:(0,a.sprintf)((0,a.__)("Post %d is no longer available; it has been unpublished or deleted","alley-scripts"),_)})}),I()]}):null,0!==_&&void 0!==S?(0,r.jsxs)(r.Fragment,{children:[void 0!==f?f(S):(0,r.jsx)(B,{children:(0,r.jsx)(O,{title:E,postType:R,attachmentID:k})}),I()]}):null,0===_?(0,r.jsx)(i.Button,{onClick:T,variant:"secondary",children:v}):null,C?(0,r.jsx)(j,{closeModal:()=>{x(!1)},baseUrl:w,modalTitle:o,onUpdate:d,searchRender:y,suppressPostIds:b}):null]})}},8800:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d})=>(0,r.jsx)(a.Selector,{type:"post",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d});l.defaultProps={className:"",emptyLabel:(0,i.__)("No posts found","alley-scripts"),label:(0,i.__)("Search for posts","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for posts","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},9160:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(6595),o=n.n(s),i=n(900),a=n.n(i);const l=({className:e,html:t,tag:n})=>(0,r.jsx)(n,{className:e,dangerouslySetInnerHTML:{__html:o().sanitize(t)}});l.defaultProps={className:""},l.propTypes={className:a().string,html:a().string.isRequired,tag:a().string.isRequired};const c=l},9064:(e,t,n)=>{"use strict";n.d(t,{default:()=>M});var r=n(7e3),s=n(900),o=n.n(s),i=n(1280),a=n(4632),l=n.n(a),c=n(6484),u=n.n(c),d=n(7287),p=n(3396),f=n(7204);const h={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let m;const g=new Uint8Array(16);function y(){if(!m&&(m="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!m))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return m(g)}const v=[];for(let e=0;e<256;++e)v.push((e+256).toString(16).slice(1));const b=function(e,t,n){if(h.randomUUID&&!t&&!e)return h.randomUUID();const r=(e=e||{}).random||(e.rng||y)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return v[e[t+0]]+v[e[t+1]]+v[e[t+2]]+v[e[t+3]]+"-"+v[e[t+4]]+v[e[t+5]]+"-"+v[e[t+6]]+v[e[t+7]]+"-"+v[e[t+8]]+v[e[t+9]]+"-"+v[e[t+10]]+v[e[t+11]]+v[e[t+12]]+v[e[t+13]]+v[e[t+14]]+v[e[t+15]]}(r)};var A=n(2e3);const _=({emptyLabel:e,error:t,id:n,isOpen:s,labelledbyId:o,loading:i,onSelect:a,options:l,selectedItems:c,threshold:f,value:h})=>{if(!i&&(""===h||f>h.length))return null;let m="",g="";return i?(m="loading",g=(0,p.__)("Loading...","alley-scripts")):t?(m="error",g=t):i||0!==l.length||(m="no-posts",g=e),i||!i&&(h&&0===l.length||t)?(0,r.jsx)("div",{"aria-busy":!0,className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("div",{className:u()("autocomplete__dropdown--notice",`autocomplete__${m}`),children:g})}):(0,r.jsx)("div",{className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("ul",{role:"listbox","aria-labelledby":o,id:n,className:u()("autocomplete__dropdown--results","autocomplete__list"),children:l.map((e=>(0,r.jsx)("li",{className:"autocomplete__list--item",children:(0,r.jsx)(d.Button,{onClick:()=>a(e),type:"button",disabled:c.some((t=>t.id===e.id)),isTertiary:!0,children:e.title})},e.id)))})})};_.propTypes={emptyLabel:o().string.isRequired,error:o().string.isRequired,id:o().string.isRequired,isOpen:o().bool.isRequired,labelledbyId:o().string.isRequired,loading:o().bool.isRequired,options:o().arrayOf(o().shape({label:o().string,value:o().string})).isRequired,onSelect:o().func.isRequired,selectedItems:o().shape([]).isRequired,threshold:o().number.isRequired,value:o().string.isRequired};const C=_;var x=n(2108),w=n.n(x),S=n(7020),k=n.n(S),E=n(7240),R=n.n(E),T=n(9516),I=n.n(T),N=n(2940),P=n.n(N),O=n(9296),L=n.n(O),j=n(5500),D={};D.styleTagTransform=L(),D.setAttributes=I(),D.insert=R().bind(null,"head"),D.domAPI=k(),D.insertStyleElement=P(),w()(j.c,D),j.c&&j.c.locals&&j.c.locals;const U=({type:e,className:t,emptyLabel:n,label:s,maxPages:o,multiple:a,onSelect:c,placeholder:p,subTypes:h,selected:m,threshold:g})=>{const y=b(),[v,_]=(0,i.useState)(""),[x,w]=(0,i.useState)([]),[S,k]=(0,i.useState)(!1),[E,R]=(0,i.useState)(!1),[T,I]=(0,i.useState)(""),[N,P]=(0,i.useState)([]),O=(0,i.useRef)(),L=(0,A.useDebounce)(T,750),j=(0,i.useCallback)((async(t=1)=>{if(L.length0?h.join(","):"any",type:e});await l()({path:r,parse:!1}).then((e=>{const t=parseInt(e.headers.get("X-WP-TotalPages"),10);return n=t>o?o:t,e.json()})).then((e=>{w((t=>[...t,...e])),R(!1),(n&&n>t||t>=1&&a&&N.length>0)&&j(t+1)})).catch((e=>_(e.message)))}),[L,e,o,a,h,N.length,g]);(0,i.useEffect)((()=>{P(m)}),[m]),(0,i.useEffect)((()=>{L&&g<=L.length?j():w([])}),[L,j,g]);const D=e=>{k(O.current.contains(e.target))},U=e=>{"Escape"===e.key&&k(!1)};(0,i.useEffect)((()=>(document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)))),(0,i.useEffect)((()=>(O&&document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D))));const M=e=>{let t=[];if(N.some((t=>t.id===e.id))){const n=N.findIndex((t=>t.id===e.id));t=[...N.slice(0,n),...N.slice(n+1,N.length)]}else a?t=[...N,e]:(t=[e],k(!1));P(t),c(t)};return(0,r.jsx)("form",{className:"autocomplete__component",onSubmit:e=>e.preventDefault(),children:(0,r.jsxs)("div",{className:u()("components-base-control","autocomplete-base-control",t),ref:O,children:[(0,r.jsxs)("div",{"aria-expanded":S,"aria-haspopup":"listbox","aria-owns":`listbox-${y}`,className:u()("components-base-control__field","autocomplete-base-control__field"),role:"combobox",children:[(0,r.jsx)("label",{className:u()("components-base-control__label","autocomplete-base-control__label"),htmlFor:`autocomplete-${y}`,children:(0,r.jsx)("div",{children:s})}),N.length>0?(0,r.jsx)("ul",{role:"listbox","aria-labelledby":`autocomplete-${y}`,id:`selected-items-${y}`,className:u()("autocomplete__selection--results","autocomplete__selection-list"),children:N.map((e=>(0,r.jsx)("li",{className:"autocomplete__selection-list--item",children:(0,r.jsx)(d.Button,{className:"autocomplete__selection-list--item--button",isSecondary:!0,isSmall:!0,onClick:()=>M(e),type:"button",children:e.title})},e.title)))}):null,(0,r.jsx)("input",{"aria-autocomplete":"list",autoComplete:"off",className:u()("components-text-control__input","autocomplete-text-control__input",{"autocomplete-text-control__input--working":S}),id:`autocomplete-${y}`,onChange:e=>I(e.target.value),onFocus:()=>k(!0),placeholder:p,type:"text",value:T})]}),(0,r.jsx)(C,{emptyLabel:n,error:v,labelledById:`autocomplete-${y}`,id:`listbox-${y}`,isOpen:S,loading:E&&L,onSelect:M,options:x,selectedItems:N,threshold:g,value:L})]})})};U.defaultProps={type:"post",className:"",emptyLabel:(0,p.__)("No items found","alley-scripts"),label:(0,p.__)("Search for items","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,p.__)("Search for items","alley-scripts"),subTypes:[],selected:[],threshold:3},U.propTypes={type:o().string,className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const M=U},1917:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,index:t,list:n,setList:i}){return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(s.Button,{disabled:0===t,icon:"arrow-up-alt2",label:(0,o.__)("Move up","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t-1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{disabled:t===n.length-1,icon:"arrow-down-alt2",label:(0,o.__)("Move down","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t+1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{icon:"trash",label:(0,o.__)("Remove","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t,1),i(e)}})]}),(0,r.jsx)("div",{children:e})]})}},8504:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,emptyItem:t,list:n,setList:i}){return(0,r.jsxs)(r.Fragment,{children:[e,(0,r.jsx)("div",{style:{margin:"1em 0"},children:(0,r.jsx)(s.Button,{icon:"plus",onClick:()=>i([...n,t]),variant:"primary",children:(0,o.__)("Add Item","alley-scripts")})})]})}},668:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d})=>(0,r.jsx)(a.Selector,{type:"term",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d});l.defaultProps={className:"",emptyLabel:(0,i.__)("No terms found","alley-scripts"),label:(0,i.__)("Search for terms","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for terms","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},5316:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("video",{className:"edit-video-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["video"],className:e,icon:"format-video",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const d=u},2e3:(e,t,n)=>{"use strict";n.d(t,{useCurrentPostId:()=>h.default,useDebounce:()=>r.default,useHasInnerBlocks:()=>s.default,useInnerBlocks:()=>i.default,useInnerBlocksAttributes:()=>a.default,useInnerBlocksCount:()=>l.default,useInnerBlocksIndex:()=>o.default,useMedia:()=>c.default,useOption:()=>u.default,useParentBlock:()=>d.default,useParentBlockAttributes:()=>p.default,usePost:()=>f.default,usePostById:()=>m.default,usePostMeta:()=>g.default,usePostMetaValue:()=>y.default,usePosts:()=>v.default,useTerms:()=>b.default});var r=n(7112),s=n(6980),o=n(6644),i=n(864),a=n(8512),l=n(1344),c=n(592),u=n(7188),d=n(224),p=n(8004),f=n(1744),h=n(9695),m=n(9480),g=n(6504),y=n(3772),v=n(4704),b=n(1848)},9695:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=()=>(0,r.useSelect)((e=>{const t=e("core/editor");return t?t.getCurrentPostId():null}),[])},7112:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(1280);const s=(e,t)=>{const[n,s]=(0,r.useState)(e);return(0,r.useEffect)((()=>{const n=setTimeout((()=>{s(e)}),t);return()=>{clearTimeout(n)}}),[e,t]),n}},6980:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocksCount)(e)>0},6644:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>{const t=(0,r.useParentBlock)(e),n=(0,r.useInnerBlocks)(t);return n?n.findIndex((t=>t.clientId===e)):-1}},8512:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).map((e=>e.attributes))},1344:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).length},864:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>t(r.store).getBlocks(e)),[e])},592:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=e=>(0,r.useSelect)((t=>t("core").getMedia(e)),[e])},7188:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=function(e){const t=(0,r.useSelect)((t=>{const{getEditedEntityRecord:n,getEntityRecordEdits:r,isSavingEntityRecord:s}=t("core"),o=n("root","site"),i=r("root","site");return{value:o?.[e],isEdited:!!i?.[e],isSaving:s("root","site")}}),[]),{editEntityRecord:n,saveEntityRecord:s}=(0,r.useDispatch)("core");return{...t,onChange:function(t){n("root","site",void 0,{[e]:t})},onSave:async function(){await s("root","site",{[e]:t.value})}}}},8004:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlockAttributes:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},224:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlock:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},9480:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(1280),s=n(4632),o=n.n(s),i=n(7204),a=n(1744);const l=(e,t=null)=>{const[n,s]=(0,r.useState)({}),[l,c]=(0,r.useState)(!0);(0,r.useEffect)((()=>{c(!0),e&&!n[e]?(async()=>{if(t){const n=await t(e);n?s((t=>({...t,[e]:n}))):console.error(`Custom function to get post with ID ${e} failed.`)}else{const t=(0,i.addQueryArgs)("/wp/v2/search",{include:e}),n=await o()({path:t});n.length>0&&s((t=>({...t,[e]:n[0]?.subtype})))}c(!1)})():e&&n[e]&&c(!1)}),[e]);const u=(0,a.default)(e,n[e]??"");return l||!u&&n[e]?null:u}},3772:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=(e,t=null,n=null)=>{const[s,o]=(0,r.usePostMeta)(t,n);return[s[e],t=>o({...s,[e]:t})]}},6504:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null)=>{const n=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[o,i]=(0,r.useEntityProp)("postType",n,"meta",t),a="function"==typeof i?i:()=>console.error(`Error attempting to set post meta for post type ${n}. Does it have support for custom-fields?`);return["object"==typeof o?o:{},e=>a({...e})]}},1744:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>n("core").getEntityRecord("postType",t,e)),[e,t])},4704:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>{const{getEntityRecords:r}=n("core");return r("postType",t,{include:e})}),[e,t])},1848:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null,n="categories")=>{const o=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[i,a]=(0,r.useEntityProp)("postType",o,n,t);return[i,e=>a(e)]}},5328:(e,t,n)=>{"use strict";n.d(t,{getMediaUrl:()=>i.c,parseCSVFile:()=>o});var r=n(2232),s=n.n(r);const o=e=>new Promise(((t,n)=>{s().parse(e,{complete:e=>t(e.data),dynamicTyping:!0,error:e=>n(e),header:!0,skipEmptyLines:!0})}));var i=n(6199)},6199:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=(e,t="full")=>{const{media_details:{sizes:{[t]:{source_url:n=""}={},full:{source_url:r=""}={}}={}}={},sizes:{[t]:{url:s=""}={},full:{url:o=""}={}}={},source_url:i="",url:a=""}=e;return s||n||o||r||a||i||""}},1280:e=>{"use strict";e.exports=window.React},4632:e=>{"use strict";e.exports=window.wp.apiFetch},9528:e=>{"use strict";e.exports=window.wp.blockEditor},7287:e=>{"use strict";e.exports=window.wp.components},3048:e=>{"use strict";e.exports=window.wp.coreData},7752:e=>{"use strict";e.exports=window.wp.data},3396:e=>{"use strict";e.exports=window.wp.i18n},7204:e=>{"use strict";e.exports=window.wp.url}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,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 r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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.nc=void 0;var r={};return(()=>{"use strict";n.r(r),n.d(r,{AudioPicker:()=>e.AudioPicker,CSVUploader:()=>e.CSVUploader,Checkboxes:()=>e.Checkboxes,ImagePicker:()=>e.ImagePicker,MediaPicker:()=>e.MediaPicker,PostPicker:()=>e.PostPicker,PostSelector:()=>e.PostSelector,SafeHtml:()=>e.SafeHtml,Selector:()=>e.Selector,Sortable:()=>e.Sortable,SortableItem:()=>e.SortableItem,TermSelector:()=>e.TermSelector,VideoPicker:()=>e.VideoPicker,getMediaUrl:()=>s.getMediaUrl,parseCSVFile:()=>s.parseCSVFile,useCurrentPostId:()=>t.useCurrentPostId,useDebounce:()=>t.useDebounce,useHasInnerBlocks:()=>t.useHasInnerBlocks,useInnerBlocks:()=>t.useInnerBlocks,useInnerBlocksAttributes:()=>t.useInnerBlocksAttributes,useInnerBlocksCount:()=>t.useInnerBlocksCount,useInnerBlocksIndex:()=>t.useInnerBlocksIndex,useMedia:()=>t.useMedia,useOption:()=>t.useOption,useParentBlock:()=>t.useParentBlock,useParentBlockAttributes:()=>t.useParentBlockAttributes,usePost:()=>t.usePost,usePostById:()=>t.usePostById,usePostMeta:()=>t.usePostMeta,usePostMetaValue:()=>t.usePostMetaValue,usePosts:()=>t.usePosts,useTerms:()=>t.useTerms});var e=n(7720),t=n(2e3),s=n(5328)})(),r})(),e.exports=t()},362:function(e,t,n){"use strict";var r=window.wp.blocks,s=window.React,o=n(373),i=window.wp.i18n,a=window.wp.blockEditor,l=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wp-newsletter-builder/post-title","version":"0.1.0","title":"Newsletter Post Title","category":"design","icon":"admin-post","description":"Displays a post title","textdomain":"wp-newsletter-builder","editorScript":"file:index.ts","style":["file:style-index.css"],"render":"file:render.php","attributes":{"overrideTitle":{"type":"string","default":""},"smallerFont":{"type":"boolean","default":false}},"usesContext":["postId"]}');(0,r.registerBlockType)(l,{edit:function(e){var t;let{attributes:{overrideTitle:n,smallerFont:r},context:{postId:l},setAttributes:c}=e;const u=null!==(t=(0,o.usePostById)(l))&&void 0!==t?t:null;let d=u?u.title.rendered:(0,i.__)("Post Title","wp-newsletter-builder");d=n||d;const p=r?"post__title--small":"";return(0,s.createElement)("h2",{...(0,a.useBlockProps)({className:p})},(0,s.createElement)(a.RichText,{value:d,tagName:"span",onChange:e=>c({overrideTitle:e})}))}})}},n={};function r(e){var s=n[e];if(void 0!==s)return s.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=function(t,n,s,o){if(!n){var i=1/0;for(u=0;u=o)&&Object.keys(r.O).every((function(e){return r.O[e](n[l])}))?n.splice(l--,1):(a=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,s,o]},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={391:0,353:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var s,o,i=n[0],a=n[1],l=n[2],c=0;if(i.some((function(t){return 0!==e[t]}))){for(s in a)r.o(a,s)&&(r.m[s]=a[s]);if(l)var u=l(r)}for(t&&t(n);c. + * @param WP_Block $block The instance of the WP_Block class that represents the block being rendered. + * + * @package wp-newsletter-builder + */ + +$wp_newsletter_builder_block_post = $block->context['postId'] ?? null; + +$wp_newsletter_builder_block_post = get_post( $wp_newsletter_builder_block_post ); +if ( empty( $wp_newsletter_builder_block_post ) ) { + return; +} +$wp_newsletter_builder_post_title = ! empty( $attributes['overrideTitle'] ) ? $attributes['overrideTitle'] : $wp_newsletter_builder_block_post->post_title; + +$wp_newsletter_builder_smaller_font = $attributes['smallerFont'] ?? false; +$wp_newsletter_builder_title_class = $wp_newsletter_builder_smaller_font ? 'post__title--small' : ''; + +$wp_newsletter_builder_post_permalink = (string) get_the_permalink(); +?> + 'post__title-link' ] ) ); ?> href=""> +

+ + + + +

+
diff --git a/build/post-title/style-index.css b/build/post-title/style-index.css new file mode 100644 index 00000000..a7a3213a --- /dev/null +++ b/build/post-title/style-index.css @@ -0,0 +1 @@ +a.post__title-link{color:#000;display:block;margin:20px auto;text-decoration:none}a.post__title-link h2{margin-bottom:0;text-align:center}a.post__title-link h2.post__title--small{font-size:24px} diff --git a/build/post/block.json b/build/post/block.json new file mode 100644 index 00000000..aa7ae4e6 --- /dev/null +++ b/build/post/block.json @@ -0,0 +1,37 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 2, + "name": "wp-newsletter-builder/post", + "version": "0.1.0", + "title": "Newsletter Single Post", + "category": "design", + "icon": "admin-post", + "description": "Displays a post", + "textdomain": "wp-newsletter-builder", + "editorScript": "file:index.js", + "editorStyle": "file:index.css", + "style": [ + "file:style-index.css" + ], + "render": "file:render.php", + "attributes": { + "postId": { + "type": "number", + "default": 0 + }, + "postType": { + "type": "string", + "default": "post" + }, + "overrideUrl": { + "type": "string", + "default": "" + } + }, + "providesContext": { + "postId": "postId", + "postType": "postType", + "queryId": "0", + "overrideUrl": "overrideUrl" + } +} \ No newline at end of file diff --git a/build/post/index.asset.php b/build/post/index.asset.php new file mode 100644 index 00000000..815bf1fe --- /dev/null +++ b/build/post/index.asset.php @@ -0,0 +1 @@ + array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-i18n'), 'version' => '58f20f948084dd7f9c55'); diff --git a/build/post/index.css b/build/post/index.css new file mode 100644 index 00000000..43978d98 --- /dev/null +++ b/build/post/index.css @@ -0,0 +1,2 @@ +.post-type-nb_newsletter .alley-scripts-post-picker__post-list .alley-scripts-post-picker__post{height:auto;padding:0 5px 0 0;width:99%}.post-type-nb_newsletter .nb-post-picker-result{align-items:center;display:flex;flex-direction:row;gap:10px;justify-content:flex-start;width:100%}.post-type-nb_newsletter .nb-post-picker-result-image__container{height:56px;width:100px}.post-type-nb_newsletter .nb-post-picker-result-image__container img{max-height:56px;max-width:100px}.post-type-nb_newsletter .nb-post-picker-result-title{font-weight:600;margin:5px 0;text-align:left}.post-type-nb_newsletter .nb-post-picker-result-date{margin-left:auto;text-align:right} +.wp-block-wp-newsletter-builder-post{margin:0 auto}.wp-block-wp-newsletter-builder-post .newsletter-remove-post{margin:0;position:absolute;right:3px;top:3px}.wp-block-wp-newsletter-builder-post.edit-nb_template{border:1px dashed #ddd;padding:.5rem}.wp-block-wp-newsletter-builder-post.edit-nb_template .block-list-appender{display:block;position:relative}.image-container{line-height:0}.newsletter-read-more{margin-bottom:30px} diff --git a/build/post/index.js b/build/post/index.js new file mode 100644 index 00000000..4bd080d8 --- /dev/null +++ b/build/post/index.js @@ -0,0 +1,42 @@ +!function(){var e,t={373:function(e){var t;self,t=()=>(()=>{var e={6484:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e=[],t=0;t{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__post-list{display:flex;flex-wrap:wrap;float:left;height:calc(70vh - 200px);justify-content:flex-start;overflow-y:auto;padding:8px;width:100%}.alley-scripts-post-picker__post{border:1px solid #eee;height:auto;justify-content:center;margin:0 8px 8px 0;transition:background-color .2s ease-in-out;width:calc((100% - 40px)/3)}@media(min-width: 780px){.alley-scripts-post-picker__post{width:calc((100% - 40px)/5)}}.alley-scripts-post-picker__post:hover{background-color:#f5f5f5}.alley-scripts-post-picker__post.is-selected{background-color:#f5f5f5}.alley-scripts-post-picker__load-more{clear:both;float:left;text-align:center;width:100%}","",{version:3,sources:["webpack://./src/components/post-picker/post-list.scss"],names:[],mappings:"AAAA,sCACE,YAAA,CACA,cAAA,CACA,UAAA,CACA,yBAAA,CACA,0BAAA,CACA,eAAA,CACA,WAAA,CACA,UAAA,CAGF,iCACE,qBAAA,CACA,WAAA,CACA,sBAAA,CACA,kBAAA,CACA,2CAAA,CACA,2BAAA,CAGA,yBATF,iCAUI,2BAAA,CAAA,CAGF,uCACE,wBAAA,CAGF,6CACE,wBAAA,CAIJ,sCACE,UAAA,CACA,UAAA,CACA,iBAAA,CACA,UAAA",sourcesContent:[".alley-scripts-post-picker__post-list {\n display: flex;\n flex-wrap: wrap;\n float: left;\n height: calc(70vh - 200px);\n justify-content: flex-start;\n overflow-y: auto;\n padding: 8px;\n width: 100%;\n}\n\n.alley-scripts-post-picker__post {\n border: 1px solid #eee;\n height: auto;\n justify-content: center;\n margin: 0 8px 8px 0;\n transition: background-color 0.2s ease-in-out;\n width: calc((100% - 40px) / 3);\n\n\n @media (min-width: 780px) {\n width: calc((100% - 40px) / 5);\n }\n\n &:hover {\n background-color: #f5f5f5;\n }\n\n &.is-selected {\n background-color: #f5f5f5;\n }\n}\n\n.alley-scripts-post-picker__load-more {\n clear: both;\n float: left;\n text-align: center;\n width: 100%;\n}\n"],sourceRoot:""}]);const a=i},9680:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__modal .components-modal__content{width:90vw}.alley-scripts-post-picker__buttons{clear:both;display:block;text-align:right;width:100%}.alley-scripts-post-picker__buttons button{margin:5px}","",{version:3,sources:["webpack://./src/components/post-picker/search-modal.scss"],names:[],mappings:"AACE,6DACE,UAAA,CAIJ,oCACE,UAAA,CACA,aAAA,CACA,gBAAA,CACA,UAAA,CAEA,2CACE,UAAA",sourcesContent:[".alley-scripts-post-picker__modal {\n .components-modal__content {\n width: 90vw;\n }\n}\n\n.alley-scripts-post-picker__buttons {\n clear: both;\n display: block;\n text-align: right;\n width: 100%;\n\n button {\n margin: 5px;\n }\n}\n"],sourceRoot:""}]);const a=i},3800:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".post-picker-notice{margin:0 0 .5rem 0}","",{version:3,sources:["webpack://./src/components/post-picker/style.scss"],names:[],mappings:"AAAA,oBACE,kBAAA",sourcesContent:[".post-picker-notice {\n margin: 0 0 0.5rem 0;\n}\n"],sourceRoot:""}]);const a=i},5500:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,'.edit-post-sidebar .autocomplete__component,.editor-styles-wrapper .autocomplete__component{margin-bottom:20px}.edit-post-sidebar .autocomplete-base-control,.editor-styles-wrapper .autocomplete-base-control{position:relative}.edit-post-sidebar .autocomplete-text-control__input,.editor-styles-wrapper .autocomplete-text-control__input{margin:0}.edit-post-sidebar .autocomplete__selection-list,.editor-styles-wrapper .autocomplete__selection-list{list-style-type:none;margin:0 0 6px;padding:0}.edit-post-sidebar .autocomplete__selection-list--item,.editor-styles-wrapper .autocomplete__selection-list--item{display:inline-block;list-style:none}.edit-post-sidebar .autocomplete__selection-list--item--button,.editor-styles-wrapper .autocomplete__selection-list--item--button{margin-bottom:4px;margin-right:3px}.edit-post-sidebar .autocomplete__selection-list--item--button::after,.editor-styles-wrapper .autocomplete__selection-list--item--button::after{content:"×";font-size:16px;line-height:20px;margin-left:5px}.edit-post-sidebar .autocomplete__dropdown,.editor-styles-wrapper .autocomplete__dropdown{background-color:#fff;border-color:rgba(0,0,0,0) #e2e4e7 #e2e4e7;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px;left:0;max-height:0;overflow-y:hidden;position:absolute;top:calc(100% + 1px);visibility:hidden;width:100%;z-index:10}.edit-post-sidebar .autocomplete__dropdown--is-open,.editor-styles-wrapper .autocomplete__dropdown--is-open{box-shadow:0 3px 30px rgba(25,30,35,.1);max-height:225px;overflow-y:scroll;visibility:visible}.edit-post-sidebar .autocomplete__dropdown--notice,.editor-styles-wrapper .autocomplete__dropdown--notice{padding:15px}.edit-post-sidebar .autocomplete__dropdown--results,.editor-styles-wrapper .autocomplete__dropdown--results{list-style:none;margin:0;padding:0}.edit-post-sidebar .autocomplete__list--item,.editor-styles-wrapper .autocomplete__list--item{list-style:none}.edit-post-sidebar .autocomplete__list--item>button,.editor-styles-wrapper .autocomplete__list--item>button{background:rgba(0,0,0,0);border-color:#e2e4e7;border-style:solid;border-width:0 0 1px;height:100%;line-height:1.25;text-align:left;white-space:inherit;width:100%}.edit-post-sidebar .autocomplete__list--item:last-child>button,.editor-styles-wrapper .autocomplete__list--item:last-child>button{border-bottom:0}',"",{version:3,sources:["webpack://./src/components/selector/styles.scss"],names:[],mappings:"AAAA,4FAgBI,kBACE,CAAA,gGAMF,iBACE,CAAA,8GAMF,QACE,CAAA,sGAMF,oBACE,CAAA,cACA,CAAA,SACA,CAAA,kHAEA,oBACE,CAAA,eACA,CAAA,kIAEA,iBACE,CAAA,gBACA,CAAA,gJAEA,WACE,CAAA,cACA,CAAA,gBACA,CAAA,eACA,CAAA,0FASR,qBACE,CAAA,0CACA,CAAA,yBACA,CAAA,kBACA,CAAA,sBACA,CAAA,MACA,CAAA,YACA,CAAA,iBACA,CAAA,iBACA,CAAA,oBACA,CAAA,iBACA,CAAA,UACA,CAAA,UACA,CAAA,4GAGA,uCACE,CAAA,gBACA,CAAA,iBACA,CAAA,kBACA,CAAA,0GAIF,YACE,CAAA,4GAIF,eACE,CAAA,QACA,CAAA,SACA,CAAA,8FAOJ,eACE,CAAA,4GAEA,wBACE,CAAA,oBACA,CAAA,kBACA,CAAA,oBACA,CAAA,WACA,CAAA,gBACA,CAAA,eACA,CAAA,mBACA,CAAA,UACA,CAAA,kIAGF,eACE",sourcesContent:["//--------------------------------------------------------------\n// AutoComplete Styles\n//--------------------------------------------------------------\n\n/* stylelint-disable max-nesting-depth */\n\n//-----------------------------------------\n// Accommodate editor well, or the sidebar.\n//-----------------------------------------\n.edit-post-sidebar,\n.editor-styles-wrapper {\n .autocomplete {\n\n //-----------------------------------------\n // Parent form wrapper.\n //-----------------------------------------\n &__component {\n margin-bottom: 20px;\n }\n\n //-----------------------------------------\n // Wrapper\n //-----------------------------------------\n &-base-control {\n position: relative;\n }\n\n //-----------------------------------------\n // Input\n //-----------------------------------------\n &-text-control__input {\n margin: 0;\n }\n\n //-----------------------------------------\n // Selected buttons.\n //-----------------------------------------\n &__selection-list {\n list-style-type: none;\n margin: 0 0 6px;\n padding: 0;\n\n &--item {\n display: inline-block;\n list-style: none;\n\n &--button {\n margin-bottom: 4px;\n margin-right: 3px;\n\n &::after {\n content: '×';\n font-size: 16px;\n line-height: 20px;\n margin-left: 5px;\n }\n }\n }\n }\n\n //-----------------------------------------\n // Results\n //-----------------------------------------\n &__dropdown {\n background-color: #fff;\n border-color: transparent #e2e4e7 #e2e4e7;\n border-radius: 0 0 4px 4px;\n border-style: solid;\n border-width: 0 1px 1px;\n left: 0;\n max-height: 0;\n overflow-y: hidden;\n position: absolute;\n top: calc(100% + 1px); // Offset focus border.\n visibility: hidden;\n width: 100%;\n z-index: 10;\n\n // Container is open.\n &--is-open {\n box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);\n max-height: 225px;\n overflow-y: scroll;\n visibility: visible;\n }\n\n // Notice handler.\n &--notice {\n padding: 15px;\n }\n\n // Results container.\n &--results {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n }\n\n //-----------------------------------------\n // List/Results\n //-----------------------------------------\n &__list--item {\n list-style: none;\n\n > button {\n background: transparent;\n border-color: #e2e4e7;\n border-style: solid;\n border-width: 0 0 1px;\n height: 100%;\n line-height: 1.25;\n text-align: left;\n white-space: inherit;\n width: 100%;\n }\n\n &:last-child > button {\n border-bottom: 0;\n }\n }\n }\n}\n"],sourceRoot:""}]);const a=i},1849:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,s,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var a=0;a0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),s&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=s):u[4]="".concat(s)),t.push(u))}},t}},2876:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(s," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},6595:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:s}=Object;let{freeze:o,seal:i,create:a}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(e){return e}),i||(i=function(e){return e}),l||(l=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});const u=w(Array.prototype.forEach),p=w(Array.prototype.pop),d=w(Array.prototype.push),f=w(String.prototype.toLowerCase),h=w(String.prototype.toString),m=w(String.prototype.match),g=w(String.prototype.replace),y=w(String.prototype.indexOf),v=w(String.prototype.trim),b=w(RegExp.prototype.test),A=(_=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),s=1;s2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let o=r.length;for(;o--;){let t=r[o];if("string"==typeof t){const e=s(t);e!==t&&(n(r)||(r[o]=e),t=e)}e[t]=!0}return e}function x(t){const n=a(null);for(const[r,o]of e(t))void 0!==s(t,r)&&(n[r]=o);return n}function S(e,t){for(;null!==e;){const n=s(e,t);if(n){if(n.get)return w(n.get);if("function"==typeof n.value)return w(n.value)}e=r(e)}return function(e){return console.warn("fallback value for",e),null}}const k=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),R=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),N=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),P=o(["#text"]),O=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),L=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),j=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),D=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=i(/\{\{[\w\W]*|[\w\W]*\}\}/gm),M=i(/<%[\w\W]*|[\w\W]*%>/gm),B=i(/\${[\w\W]*}/gm),F=i(/^data-[\-\w.\u00B7-\uFFFF]/),z=i(/^aria-[\-\w]+$/),q=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=i(/^(?:\w+script|data):/i),H=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W=i(/^html$/i);var G=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:M,TMPLIT_EXPR:B,DATA_ATTR:F,ARIA_ATTR:z,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:$,ATTR_WHITESPACE:H,DOCTYPE_NAME:W});return function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const r=e=>t(e);if(r.version="3.0.6",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;let{document:s}=n;const i=s,l=i.currentScript,{DocumentFragment:c,HTMLTemplateElement:_,Node:w,Element:U,NodeFilter:M,NamedNodeMap:B=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:F,DOMParser:z,trustedTypes:$}=n,H=U.prototype,Y=S(H,"cloneNode"),V=S(H,"nextSibling"),K=S(H,"childNodes"),Q=S(H,"parentNode");if("function"==typeof _){const e=s.createElement("template");e.content&&e.content.ownerDocument&&(s=e.content.ownerDocument)}let J,X="";const{implementation:Z,createNodeIterator:ee,createDocumentFragment:te,getElementsByTagName:ne}=s,{importNode:re}=i;let se={};r.isSupported="function"==typeof e&&"function"==typeof Q&&Z&&void 0!==Z.createHTMLDocument;const{MUSTACHE_EXPR:oe,ERB_EXPR:ie,TMPLIT_EXPR:ae,DATA_ATTR:le,ARIA_ATTR:ce,IS_SCRIPT_OR_DATA:ue,ATTR_WHITESPACE:pe}=G;let{IS_ALLOWED_URI:de}=G,fe=null;const he=C({},[...k,...E,...R,...I,...P]);let me=null;const ge=C({},[...O,...L,...j,...D]);let ye=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,be=null,Ae=!0,_e=!0,we=!1,Ce=!0,xe=!1,Se=!1,ke=!1,Ee=!1,Re=!1,Te=!1,Ie=!1,Ne=!0,Pe=!1,Oe=!0,Le=!1,je={},De=null;const Ue=C({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Me=null;const Be=C({},["audio","video","img","source","image","track"]);let Fe=null;const ze=C({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",$e="http://www.w3.org/2000/svg",He="http://www.w3.org/1999/xhtml";let We=He,Ge=!1,Ye=null;const Ve=C({},[qe,$e,He],h);let Ke=null;const Qe=["application/xhtml+xml","text/html"];let Je=null,Xe=null;const Ze=s.createElement("form"),et=function(e){return e instanceof RegExp||e instanceof Function},tt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Xe||Xe!==e){if(e&&"object"==typeof e||(e={}),e=x(e),Ke=Ke=-1===Qe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Je="application/xhtml+xml"===Ke?h:f,fe="ALLOWED_TAGS"in e?C({},e.ALLOWED_TAGS,Je):he,me="ALLOWED_ATTR"in e?C({},e.ALLOWED_ATTR,Je):ge,Ye="ALLOWED_NAMESPACES"in e?C({},e.ALLOWED_NAMESPACES,h):Ve,Fe="ADD_URI_SAFE_ATTR"in e?C(x(ze),e.ADD_URI_SAFE_ATTR,Je):ze,Me="ADD_DATA_URI_TAGS"in e?C(x(Be),e.ADD_DATA_URI_TAGS,Je):Be,De="FORBID_CONTENTS"in e?C({},e.FORBID_CONTENTS,Je):Ue,ve="FORBID_TAGS"in e?C({},e.FORBID_TAGS,Je):{},be="FORBID_ATTR"in e?C({},e.FORBID_ATTR,Je):{},je="USE_PROFILES"in e&&e.USE_PROFILES,Ae=!1!==e.ALLOW_ARIA_ATTR,_e=!1!==e.ALLOW_DATA_ATTR,we=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,xe=e.SAFE_FOR_TEMPLATES||!1,Se=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Te=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,Ee=e.FORCE_BODY||!1,Ne=!1!==e.SANITIZE_DOM,Pe=e.SANITIZE_NAMED_PROPS||!1,Oe=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,de=e.ALLOWED_URI_REGEXP||q,We=e.NAMESPACE||He,ye=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ye.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ye.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ye.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),xe&&(_e=!1),Te&&(Re=!0),je&&(fe=C({},[...P]),me=[],!0===je.html&&(C(fe,k),C(me,O)),!0===je.svg&&(C(fe,E),C(me,L),C(me,D)),!0===je.svgFilters&&(C(fe,R),C(me,L),C(me,D)),!0===je.mathMl&&(C(fe,I),C(me,j),C(me,D))),e.ADD_TAGS&&(fe===he&&(fe=x(fe)),C(fe,e.ADD_TAGS,Je)),e.ADD_ATTR&&(me===ge&&(me=x(me)),C(me,e.ADD_ATTR,Je)),e.ADD_URI_SAFE_ATTR&&C(Fe,e.ADD_URI_SAFE_ATTR,Je),e.FORBID_CONTENTS&&(De===Ue&&(De=x(De)),C(De,e.FORBID_CONTENTS,Je)),Oe&&(fe["#text"]=!0),Se&&C(fe,["html","head","body"]),fe.table&&(C(fe,["tbody"]),delete ve.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');J=e.TRUSTED_TYPES_POLICY,X=J.createHTML("")}else void 0===J&&(J=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}}($,l)),null!==J&&"string"==typeof X&&(X=J.createHTML(""));o&&o(e),Xe=e}},nt=C({},["mi","mo","mn","ms","mtext"]),rt=C({},["foreignobject","desc","title","annotation-xml"]),st=C({},["title","style","font","a","script"]),ot=C({},E);C(ot,R),C(ot,T);const it=C({},I);C(it,N);const at=function(e){d(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},lt=function(e,t){try{d(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){d(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!me[e])if(Re||Te)try{at(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ct=function(e){let t=null,n=null;if(Ee)e=""+e;else{const t=m(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ke&&We===He&&(e=''+e+"");const r=J?J.createHTML(e):e;if(We===He)try{t=(new z).parseFromString(r,Ke)}catch(e){}if(!t||!t.documentElement){t=Z.createDocument(We,"template",null);try{t.documentElement.innerHTML=Ge?X:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(s.createTextNode(n),o.childNodes[0]||null),We===He?ne.call(t,Se?"html":"body")[0]:Se?t.documentElement:o},ut=function(e){return ee.call(e.ownerDocument||e,e,M.SHOW_ELEMENT|M.SHOW_COMMENT|M.SHOW_TEXT,null)},pt=function(e){return"function"==typeof w&&e instanceof w},dt=function(e,t,n){se[e]&&u(se[e],(e=>{e.call(r,t,n,Xe)}))},ft=function(e){let t=null;if(dt("beforeSanitizeElements",e,null),(n=e)instanceof F&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof B)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return at(e),!0;var n;const s=Je(e.nodeName);if(dt("uponSanitizeElement",e,{tagName:s,allowedTags:fe}),e.hasChildNodes()&&!pt(e.firstElementChild)&&b(/<[/\w]/g,e.innerHTML)&&b(/<[/\w]/g,e.textContent))return at(e),!0;if(!fe[s]||ve[s]){if(!ve[s]&&mt(s)){if(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,s))return!1;if(ye.tagNameCheck instanceof Function&&ye.tagNameCheck(s))return!1}if(Oe&&!De[s]){const t=Q(e)||e.parentNode,n=K(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r)t.insertBefore(Y(n[r],!0),V(e))}return at(e),!0}return e instanceof U&&!function(e){let t=Q(e);t&&t.tagName||(t={namespaceURI:We,tagName:"template"});const n=f(e.tagName),r=f(t.tagName);return!!Ye[e.namespaceURI]&&(e.namespaceURI===$e?t.namespaceURI===He?"svg"===n:t.namespaceURI===qe?"svg"===n&&("annotation-xml"===r||nt[r]):Boolean(ot[n]):e.namespaceURI===qe?t.namespaceURI===He?"math"===n:t.namespaceURI===$e?"math"===n&&rt[r]:Boolean(it[n]):e.namespaceURI===He?!(t.namespaceURI===$e&&!rt[r])&&!(t.namespaceURI===qe&&!nt[r])&&!it[n]&&(st[n]||!ot[n]):!("application/xhtml+xml"!==Ke||!Ye[e.namespaceURI]))}(e)?(at(e),!0):"noscript"!==s&&"noembed"!==s&&"noframes"!==s||!b(/<\/no(script|embed|frames)/i,e.innerHTML)?(xe&&3===e.nodeType&&(t=e.textContent,u([oe,ie,ae],(e=>{t=g(t,e," ")})),e.textContent!==t&&(d(r.removed,{element:e.cloneNode()}),e.textContent=t)),dt("afterSanitizeElements",e,null),!1):(at(e),!0)},ht=function(e,t,n){if(Ne&&("id"===t||"name"===t)&&(n in s||n in Ze))return!1;if(_e&&!be[t]&&b(le,t));else if(Ae&&b(ce,t));else if(!me[t]||be[t]){if(!(mt(e)&&(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,e)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(e))&&(ye.attributeNameCheck instanceof RegExp&&b(ye.attributeNameCheck,t)||ye.attributeNameCheck instanceof Function&&ye.attributeNameCheck(t))||"is"===t&&ye.allowCustomizedBuiltInElements&&(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,n)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(n))))return!1}else if(Fe[t]);else if(b(de,g(n,pe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!Me[e])if(we&&!b(ue,g(n,pe,"")));else if(n)return!1;return!0},mt=function(e){return e.indexOf("-")>0},gt=function(e){dt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:me};let s=t.length;for(;s--;){const o=t[s],{name:i,namespaceURI:a,value:l}=o,c=Je(i);let d="value"===i?l:v(l);if(n.attrName=c,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,dt("uponSanitizeAttribute",e,n),d=n.attrValue,n.forceKeepAttr)continue;if(lt(i,e),!n.keepAttr)continue;if(!Ce&&b(/\/>/i,d)){lt(i,e);continue}xe&&u([oe,ie,ae],(e=>{d=g(d,e," ")}));const f=Je(e.nodeName);if(ht(f,c,d)){if(!Pe||"id"!==c&&"name"!==c||(lt(i,e),d="user-content-"+d),J&&"object"==typeof $&&"function"==typeof $.getAttributeType)if(a);else switch($.getAttributeType(f,c)){case"TrustedHTML":d=J.createHTML(d);break;case"TrustedScriptURL":d=J.createScriptURL(d)}try{a?e.setAttributeNS(a,i,d):e.setAttribute(i,d),p(r.removed)}catch(e){}}}dt("afterSanitizeAttributes",e,null)},yt=function e(t){let n=null;const r=ut(t);for(dt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)dt("uponSanitizeShadowNode",n,null),ft(n)||(n.content instanceof c&&e(n.content),gt(n));dt("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,s=null,o=null,a=null;if(Ge=!e,Ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!pt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!r.isSupported)return e;if(ke||tt(t),r.removed=[],"string"==typeof e&&(Le=!1),Le){if(e.nodeName){const t=Je(e.nodeName);if(!fe[t]||ve[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof w)n=ct("\x3c!----\x3e"),s=n.ownerDocument.importNode(e,!0),1===s.nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?n=s:n.appendChild(s);else{if(!Re&&!xe&&!Se&&-1===e.indexOf("<"))return J&&Ie?J.createHTML(e):e;if(n=ct(e),!n)return Re?null:Ie?X:""}n&&Ee&&at(n.firstChild);const l=ut(Le?e:n);for(;o=l.nextNode();)ft(o)||(o.content instanceof c&&yt(o.content),gt(o));if(Le)return e;if(Re){if(Te)for(a=te.call(n.ownerDocument);n.firstChild;)a.appendChild(n.firstChild);else a=n;return(me.shadowroot||me.shadowrootmode)&&(a=re.call(i,a,!0)),a}let p=Se?n.outerHTML:n.innerHTML;return Se&&fe["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&b(W,n.ownerDocument.doctype.name)&&(p="\n"+p),xe&&u([oe,ie,ae],(e=>{p=g(p,e," ")})),J&&Ie?J.createHTML(p):p},r.setConfig=function(){tt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ke=!0},r.clearConfig=function(){Xe=null,ke=!1},r.isValidAttribute=function(e,t,n){Xe||tt({});const r=Je(e),s=Je(t);return ht(r,s,n)},r.addHook=function(e,t){"function"==typeof t&&(se[e]=se[e]||[],d(se[e],t))},r.removeHook=function(e){if(se[e])return p(se[e])},r.removeHooks=function(e){se[e]&&(se[e]=[])},r.removeAllHooks=function(){se={}},r}()}()},2232:function(e,t){var n,r;n=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,s={},o=0,i={parse:function(n,r){var a=(r=r||{}).dynamicTyping||!1;if(_(a)&&(r.dynamicTypingFunction=a,a={}),r.dynamicTyping=a,r.transform=!!_(r.transform)&&r.transform,r.worker&&i.WORKERS_SUPPORTED){var l=function(){if(!i.WORKERS_SUPPORTED)return!1;var n,r,a=(n=t.URL||t.webkitURL||null,r=e.toString(),i.BLOB_URL||(i.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),l=new t.Worker(a);return l.onmessage=g,l.id=o++,s[l.id]=l}();return l.userStep=r.step,l.userChunk=r.chunk,l.userComplete=r.complete,l.userError=r.error,r.step=_(r.step),r.chunk=_(r.chunk),r.complete=_(r.complete),r.error=_(r.error),delete r.worker,void l.postMessage({input:n,config:r,workerId:l.id})}var f=null;return i.NODE_STREAM_INPUT,"string"==typeof n?(n=function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}(n),f=r.download?new c(r):new p(r)):!0===n.readable&&_(n.read)&&_(n.on)?f=new d(r):(t.File&&n instanceof File||n instanceof Object)&&(f=new u(r)),f.stream(n)},unparse:function(e,t){var n=!1,r=!0,s=",",o="\r\n",a='"',l=a+a,c=!1,u=null,p=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||i.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(s=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(c=t.skipEmptyLines),"string"==typeof t.newline&&(o=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+a),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(p=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var d=new RegExp(h(a),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return f(null,e,c);if("object"==typeof e[0])return f(u||Object.keys(e[0]),e,c)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),f(e.fields||[],e.data||[],c);throw new Error("Unable to serialize unrecognized input");function f(e,t,n){var i="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var a=Array.isArray(e)&&0=this._config.preview;if(r)t.postMessage({results:a,workerId:i.WORKER_ID,finished:c});else if(_(this._config.chunk)&&!n){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);a=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!c||!_(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:i.WORKER_ID,error:e,finished:!1})}}function c(e){var t;(e=e||{}).chunkSize||(e.chunkSize=i.RemoteChunkSize),l.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=A(this._chunkLoaded,this),t.onerror=A(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var s=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+s)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function u(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=i.LocalChunkSize),l.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=A(this._chunkLoaded,this),t.onerror=A(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function p(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function d(e){l.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=A((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=A((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=A((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=A((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function f(e){var t,n,r,s=Math.pow(2,53),o=-s,a=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,u=0,p=0,d=!1,f=!1,g=[],y={data:[],errors:[],meta:{}};if(_(e.step)){var v=e.step;e.step=function(t){if(y=t,C())w();else{if(w(),0===y.data.length)return;u+=t.data.length,e.preview&&u>e.preview?n.abort():(y.data=y.data[0],v(y,c))}}}function A(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function w(){return y&&r&&(S("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+i.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(y.data=y.data.filter((function(e){return!A(e)}))),C()&&function(){if(y)if(Array.isArray(y.data[0])){for(var t=0;C()&&t=g.length?"__parsed_extra":g[r]),e.transform&&(i=e.transform(i,o)),i=x(o,i),"__parsed_extra"===o?(s[o]=s[o]||[],s[o].push(i)):s[o]=i}return e.header&&(r>g.length?S("FieldMismatch","TooManyFields","Too many fields: expected "+g.length+" fields but parsed "+r,p+n):r=r.length/2?"\r\n":"\r"}(s,l)),r=!1,e.delimiter)_(e.delimiter)&&(e.delimiter=e.delimiter(s),y.meta.delimiter=e.delimiter);else{var c=function(t,n,r,s,o){var a,l,c,u;o=o||[",","\t","|",";",i.RECORD_SEP,i.UNIT_SEP];for(var p=0;p=a)return G(!0)}else for(B=u,u++;;){if(-1===(B=i.indexOf(t,B+1)))return f||w.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:A.length,index:u}),H();if(B===m-1)return H(i.substring(u,B).replace(M,t));if(t!==c||i[B+1]!==c){if(t===c||0===B||i[B-1]!==c){-1!==D&&D=a)return G(!0);break}w.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:A.length,index:u}),B++}}else B++}return H();function q(e){A.push(e),x=u}function $(e){var t=0;if(-1!==e){var n=i.substring(B+1,e);n&&""===n.trim()&&(t=n.length)}return t}function H(e){return f||(void 0===e&&(e=i.substring(u)),C.push(e),u=m,q(C),b&&Y()),G()}function W(e){u=e,q(C),C=[],U=i.indexOf(r,u)}function G(e){return{data:A,errors:w,meta:{delimiter:n,linebreak:r,aborted:p,truncated:!!e,cursor:x+(d||0)}}}function Y(){o(G()),A=[],w=[]}},this.abort=function(){p=!0},this.getCharIndex=function(){return u}}function g(e){var t=e.data,n=s[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var o={abort:function(){r=!0,y(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(_(n.userStep)){for(var i=0;i{"use strict";var r=n(7200);function s(){}function o(){}o.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,o,i){if(i!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:s};return n.PropTypes=n,n}},900:(e,t,n)=>{e.exports=n(7336)()},7200:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4108:(e,t,n)=>{"use strict";var r=n(1280),s=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:s,type:e,key:c,ref:u,props:o,_owner:a.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},7e3:(e,t,n)=>{"use strict";e.exports=n(4108)},3736:e=>{e.exports=function(e,t,n,r){var s=n?n.call(r,e,t):void 0;if(void 0!==s)return!!s;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),l=0;l{"use strict";var t=[];function n(e){for(var n=-1,r=0;r{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},2940:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},9516:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7020:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var s=void 0!==n.layer;s&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,s&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9296:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},3376:(e,t,n)=>{"use strict";n.d(t,{cp:()=>Ut});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n2||H(j)>3?"":" "}function Y(e,t){for(;--t&&F()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return $(e,q()+(t<6&&32==z()&&32==F()))}function V(e){for(;F();)switch(j){case e:return L;case 34:case 39:34!==e&&39!==e&&V(j);break;case 40:41===e&&V(e);break;case 92:F()}return L}function K(e,t){for(;F()&&e+j!==57&&(e+j!==84||47!==z()););return"/*"+$(t,L-1)+"*"+b(47===e?e:F())}function Q(e){for(;!H(z());)F();return $(e,L)}function J(e,t){for(var n="",r=0;r6)switch(S(e,t+1)){case 109:if(45!==S(e,t+4))break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+p+"$2-$3$1"+u+(108==S(e,t+3)?"$3":"$2-$3"))+e;case 115:return~x(e,"stretch")?Z(C(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return C(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,s,o,i,a){return c+n+":"+r+a+(s?c+n+"-span:"+(o?i:+i-+r)+a:"")+e}));case 4949:if(121===S(e,t+6))return C(e,":",":"+p)+e;break;case 6444:switch(S(e,45===S(e,14)?18:11)){case 120:return C(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+p+(45===S(e,14)?"inline-":"")+"box$3$1"+p+"$2$3$1"+c+"$2box$3")+e;case 100:return C(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return C(e,"scroll-","scroll-snap-")+e}return e}function ee(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case h:return void(e.return=Z(e.value,e.length,n));case g:return J([M(e,{value:C(e.value,"@","@"+p)})],r);case f:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(w(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":B(M(e,{props:[C(t,/:(read-\w+)/,":"+u+"$1")]})),B(M(e,{props:[t]})),A(e,{props:I(n,r)});break;case"::placeholder":B(M(e,{props:[C(t,/:(plac\w+)/,":"+p+"input-$1")]})),B(M(e,{props:[C(t,/:(plac\w+)/,":"+u+"$1")]})),B(M(e,{props:[C(t,/:(plac\w+)/,c+"input-$1")]})),B(M(e,{props:[t]})),A(e,{props:I(n,r)})}return""}))}}function te(e){return function(e){return D="",e}(ne("",null,null,null,[""],e=function(e){return N=P=1,O=E(D=e),L=0,[]}(e),0,[0],e))}function ne(e,t,n,r,s,o,i,a,l){for(var c=0,u=0,p=i,d=0,f=0,h=0,m=1,g=1,y=1,v=0,A="",_=s,w=o,k=r,R=A;g;)switch(h=v,v=F()){case 40:if(108!=h&&58==S(R,p-1)){-1!=x(R+=C(W(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:R+=W(v);break;case 9:case 10:case 13:case 32:R+=G(h);break;case 92:R+=Y(q()-1,7);continue;case 47:switch(z()){case 42:case 47:T(se(K(F(),q()),t,n,l),l);break;default:R+="/"}break;case 123*m:a[c++]=E(R)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==y&&(R=C(R,/\f/g,"")),f>0&&E(R)-p&&T(f>32?oe(R+";",r,n,p-1,l):oe(C(R," ","")+";",r,n,p-2,l),l);break;case 59:R+=";";default:if(T(k=re(R,t,n,c,u,s,a,A,_=[],w=[],p,o),o),123===v)if(0===u)ne(R,t,k,k,_,o,p,a,w);else switch(99===d&&110===S(R,3)?100:d){case 100:case 108:case 109:case 115:ne(e,k,k,r&&T(re(e,k,k,0,0,s,a,A,s,_=[],p,w),w),s,w,p,a,r?_:w);break;default:ne(R,k,k,k,[""],w,0,a,w)}}c=u=f=0,m=y=1,A=R="",p=i;break;case 58:p=1+E(R),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==(j=L>0?S(D,--L):0,P--,10===j&&(P=1,N--),j))continue;switch(R+=b(v),v*m){case 38:y=u>0?1:(R+="\f",-1);break;case 44:a[c++]=(E(R)-1)*y,y=1;break;case 64:45===z()&&(R+=W(F())),d=z(),u=p=E(A=R+=Q(q())),v++;break;case 45:45===h&&2==E(R)&&(m=0)}}return o}function re(e,t,n,r,s,o,i,a,l,c,u,p){for(var d=s-1,h=0===s?o:[""],m=R(h),g=0,y=0,b=0;g0?h[A]+" "+w:C(w,/&\f/g,h[A])))&&(l[b++]=x);return U(e,t,n,0===s?f:a,l,c,u,p)}function se(e,t,n,r){return U(e,t,n,d,b(j),k(e,2,-2),0,r)}function oe(e,t,n,r,s){return U(e,t,n,h,k(e,0,r),k(e,r+1,-1),r,s)}const ie={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ae="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",le="undefined"!=typeof window&&"HTMLElement"in window,ce=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),ue=(new Set,Object.freeze([])),pe=Object.freeze({}),de=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),fe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,he=/(^-|-$)/g;function me(e){return e.replace(fe,"-").replace(he,"")}var ge=/(a)(d)/gi,ye=function(e){return String.fromCharCode(e+(e>25?39:97))};function ve(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ye(t%52)+n;return(ye(t%52)+n).replace(ge,"$1-$2")}var be,Ae=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},_e=function(e){return Ae(5381,e)};function we(e){return"string"==typeof e&&!0}var Ce="function"==typeof Symbol&&Symbol.for,xe=Ce?Symbol.for("react.memo"):60115,Se=Ce?Symbol.for("react.forward_ref"):60112,ke={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ee={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Re={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Te=((be={})[Se]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},be[xe]=Re,be);function Ie(e){return("type"in(t=e)&&t.type.$$typeof)===xe?Re:"$$typeof"in e?Te[e.$$typeof]:ke;var t}var Ne=Object.defineProperty,Pe=Object.getOwnPropertyNames,Oe=Object.getOwnPropertySymbols,Le=Object.getOwnPropertyDescriptor,je=Object.getPrototypeOf,De=Object.prototype;function Ue(e,t,n){if("string"!=typeof t){if(De){var r=je(t);r&&r!==De&&Ue(e,r,n)}var s=Pe(t);Oe&&(s=s.concat(Oe(t)));for(var o=Ie(e),i=Ie(t),a=0;a0?" Args: ".concat(t.join(", ")):""))}var Ge=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,s=r;e>=s;)if((s<<=1)<0)throw We(16,"".concat(e));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var o=r;o=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),s=r+n,o=r;o=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))})),r+="".concat(i).concat(a,'{content:"').concat(l,'"}').concat("/*!sc*/\n")},o=0;o0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===f&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(ut,n).replace(r,c))})),i.prefix&&u.push(ee),u.push(X);var p=function(e,s,o,a){void 0===s&&(s=""),void 0===o&&(o=""),void 0===a&&(a="&"),t=a,n=s,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(pt,""),c=te(o||s?"".concat(o," ").concat(s," { ").concat(l," }"):l);i.namespace&&(c=dt(c,i.namespace));var p,d,f,h=[];return J(c,(p=u.concat((f=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&f(e)})),d=R(p),function(e,t,n,r){for(var s="",o=0;o="A"&&e<="Z"};function wt(e){for(var t="",n=0;n>>0);if(!t.hasNameForId(this.componentId,o)){var i=n(s,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,i)}r=Fe(r,o),this.staticRulesId=o}else{for(var a=Ae(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(l,".".concat(d),void 0,this.componentId)),r=Fe(r,d)}}return r},e}(),Tt=i().createContext(void 0);Tt.Consumer;var It={};function Nt(e,t,n){var s=Be(e),a=e,l=!we(e),c=t.attrs,u=void 0===c?ue:c,p=t.componentId,d=void 0===p?function(e,t){var n="string"!=typeof e?"sc":me(e);It[n]=(It[n]||0)+1;var r="".concat(n,"-").concat(function(e){return ve(_e(e)>>>0)}("6.1.1"+n+It[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):p,f=t.displayName,h=void 0===f?function(e){return we(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):f,m=t.displayName&&t.componentId?"".concat(me(t.displayName),"-").concat(t.componentId):t.componentId||d,g=s&&a.attrs?a.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(s&&a.shouldForwardProp){var v=a.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;y=function(e,t){return v(e,t)&&b(e,t)}}else y=v}var A=new Rt(n,m,s?a.componentStyle:void 0);function _(e,t){return function(e,t,n){var s=e.attrs,a=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,p=e.target,d=i().useContext(Tt),f=vt(),h=e.shouldForwardProp||f.shouldForwardProp,m=function(e,t,n){for(var s,o=r(r({},t),{className:void 0,theme:n}),i=0;i2&&ct.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=nt(),r=ze([n&&'nonce="'.concat(n,'"'),"".concat(ae,'="true"'),"".concat("data-styled-version",'="').concat("6.1.1",'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw We(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw We(2);var n=((t={})[ae]="",t["data-styled-version"]="6.1.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),s=nt();return s&&(n.nonce=s),[i().createElement("style",r({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ct({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw We(2);return i().createElement(bt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw We(3)}}(),"__sc-".concat(ae,"__")},4928:(e,t,n)=>{"use strict";n.d(t,{default:()=>p});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("audio",{className:"edit-audio-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["audio"],className:e,icon:"format-audio",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const p=u},2312:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(7e3),s=n(900),o=n.n(s),i=n(7287);const a=({label:e,value:t,options:n,onChange:s})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BaseControl,{label:e}),n.map((e=>(0,r.jsx)(i.CheckboxControl,{label:e.label,checked:t.includes(e.value),onChange:n=>{s(n?[...t,e.value]:[...t.filter((t=>t!==e.value))])}})))]});a.propTypes={label:o().string.isRequired,value:o().arrayOf(o().string).isRequired,options:o().arrayOf(o().shape({label:o().string.isRequired,value:o().string.isRequired})).isRequired,onChange:o().func.isRequired};const l=a},8312:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(7e3),s=n(1280),o=n.n(s),i=n(3396),a=n(900),l=n.n(a),c=n(5328);class u extends o().PureComponent{static handleSubmit(e){e.preventDefault()}constructor(e){super(e),this.handleChange=this.handleChange.bind(this),this.state={error:"",success:""}}handleChange(e){const{attributeName:t,callback:n,setAttributes:r}=this.props;e.target.files&&e.target.files[0]&&(0,c.parseCSVFile)(e.target.files[0]).then((e=>n?n(e):e)).then((e=>{Array.isArray(e)&&e.length>0?(this.setState({error:"",success:(0,i.__)("Successfully read CSV data.","alley-scripts")}),r({[t]:JSON.stringify(e)})):this.setState({error:(0,i.__)("Could not map CSV data. Please check the source file to ensure that it has the correct structure.","alley-scripts"),success:""})})).catch((e=>{this.setState({error:e,success:""})}))}render(){const{error:e="",success:t=""}=this.state;return(0,r.jsxs)("div",{className:"alley-scripts-block-csv-uploader",children:[(0,r.jsx)("h2",{children:(0,i.__)("Upload CSV","alley-scripts")}),(0,r.jsxs)("form",{onSubmit:this.handleSubmit,children:[""!==e?(0,r.jsxs)("div",{style:{color:"#c00"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Error:","alley-scripts")})," ",e]}):null,""!==t?(0,r.jsxs)("div",{style:{color:"#0c0"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Success:","alley-scripts")})," ",t]}):null,(0,r.jsx)("div",{children:(0,r.jsxs)("label",{htmlFor:"alley-scripts-block-csv-uploader-file",children:[(0,r.jsx)("p",{children:(0,i.__)("Select a file to load data.","alley-scripts")}),(0,r.jsx)("input",{id:"alley-scripts-block-csv-uploader-file",onChange:this.handleChange,type:"file"})]})})]})]})}}u.defaultProps={callback:null},u.propTypes={attributeName:l().string.isRequired,callback:l().func,setAttributes:l().func.isRequired}},8348:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(3396),o=n(900),i=n.n(o),a=n(3376),l=n(7720);const c=a.cp.div` + box-sizing: border-box; + flex-shrink: 0; + height: auto; + max-height: 1450px; + max-width: 1450px; + min-height: 20px; + min-width: 20px; + position: relative; + width: auto; +`,u=({src:e})=>(0,r.jsx)(c,{children:(0,r.jsx)("img",{alt:(0,s.__)("Edit image","alley-scripts"),className:"edit-image-preview",src:e,title:(0,s.__)("Edit image","alley-scripts")})});u.propTypes={src:i().string.isRequired};const p=({className:e,imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,value:a,valueURL:c})=>(0,r.jsx)(l.MediaPicker,{allowedTypes:["image"],className:e,icon:"format-image",imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,preview:u,value:a,valueURL:c});p.defaultProps={className:"",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,valueURL:""},p.propTypes={className:i().string,imageSize:i().string,displayControlsInToolbar:i().bool,onReset:i().func.isRequired,onUpdate:i().func.isRequired,onUpdateURL:i().func,value:i().number.isRequired,valueURL:i().string};const d=p},7720:(e,t,n)=>{"use strict";n.d(t,{AudioPicker:()=>r.default,CSVUploader:()=>o.default,Checkboxes:()=>s.default,ImagePicker:()=>i.default,MediaPicker:()=>a.default,PostPicker:()=>c.default,PostSelector:()=>u.default,SafeHtml:()=>l.default,Selector:()=>p.default,Sortable:()=>d.default,SortableItem:()=>f.default,TermSelector:()=>h.default,VideoPicker:()=>m.default});var r=n(4928),s=n(2312),o=n(8312),i=n(8348),a=n(5680),l=n(9160),c=n(4808),u=n(8800),p=n(9064),d=n(8504),f=n(1917),h=n(668),m=n(5316)},5680:(e,t,n)=>{"use strict";n.d(t,{default:()=>m});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(9528),l=n(7287),c=n(7752),u=n(3396),p=n(5328);const d=i.cp.div` + display: block; + position: relative; +`,f=i.cp.div` + background: white; + border: 1px solid black; + padding: 1em; +`,h=({allowedTypes:e,className:t,icon:n,imageSize:s,displayControlsInToolbar:o,onReset:i,onUpdate:h,onUpdateURL:m,preview:g,value:y,valueURL:v})=>{const{media:b}=(0,c.useSelect)((e=>({media:y?e("core").getMedia(y):void 0})),[y]);if(0!==y&&null===b)return(0,r.jsx)(l.Spinner,{});const A=b?(0,p.getMediaUrl)(b,s):v;return A?(0,r.jsxs)(d,{className:t,children:[g?(0,r.jsx)(g,{src:A}):(0,r.jsxs)(f,{className:"alley-scripts-media-picker__preview",children:[(0,r.jsx)("p",{children:(0,u.__)("Selected file:","alley-scripts")}),(0,r.jsx)("p",{children:(0,r.jsx)("a",{href:A,children:A})})]}),o?(0,r.jsx)(a.BlockControls,{group:"other",children:(0,r.jsx)(a.MediaReplaceFlow,{name:(0,u.__)("Edit Media","alley-scripts"),mediaId:y,mediaURL:A,allowedTypes:e,onSelect:h,onSelectURL:m,children:(0,r.jsx)(l.ToolbarButton,{isDestructive:!0,text:(0,u.__)("Remove","alley-scripts"),onClick:i})})}):(0,r.jsx)(l.Button,{variant:"primary",onClick:i,children:(0,u.__)("Reset","alley-scripts")})]}):(0,r.jsx)(d,{className:t,children:(0,r.jsx)(a.MediaPlaceholder,{allowedTypes:e,disableMediaButtons:!!v,icon:(0,r.jsx)(a.BlockIcon,{icon:n}),onSelect:h,onSelectURL:m,value:{id:y,src:A}})})};h.defaultProps={allowedTypes:[],className:"",icon:"format-aside",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,preview:null,valueURL:""},h.propTypes={allowedTypes:o().arrayOf(o().string),className:o().string,icon:o().string,imageSize:o().string,displayControlsInToolbar:o().bool,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,preview:o().element,value:o().number.isRequired,valueURL:o().string};const m=h},4808:(e,t,n)=>{"use strict";n.d(t,{default:()=>F});var r=n(7e3),s=n(1280),o=n(3376),i=n(7287),a=n(3396),l=n(7204),c=n(2e3),u=n(2108),p=n.n(u),d=n(7020),f=n.n(d),h=n(7240),m=n.n(h),g=n(9516),y=n.n(g),v=n(2940),b=n.n(v),A=n(9296),_=n.n(A),w=n(9680),C={};C.styleTagTransform=_(),C.setAttributes=y(),C.insert=m().bind(null,"head"),C.domAPI=f(),C.insertStyleElement=b(),p()(w.c,C),w.c&&w.c.locals&&w.c.locals;var x=n(4632),S=n.n(x),k=n(6484),E=n.n(k),R=n(7424),T={};T.styleTagTransform=_(),T.setAttributes=y(),T.insert=m().bind(null,"head"),T.domAPI=f(),T.insertStyleElement=b(),p()(R.c,T),R.c&&R.c.locals&&R.c.locals;const I=window.wp.htmlEntities;var N=n(9160);const P=o.cp.div` + align-items: center; + gap: 4px; + overflow-wrap: anywhere; + display: flex; + flex-direction: column; + justify-content: center; + padding: 0.5rem 0.75rem; +`,O=({title:e,postType:t,attachmentID:n})=>{const s=(0,c.useMedia)(n),o=s?.media_details?.sizes?.thumbnail?.source_url,i=s?.alt_text??"";return(0,r.jsxs)(P,{children:[o?(0,r.jsx)("img",{style:{maxWidth:"100%",height:"auto"},loading:"lazy",src:o,alt:i}):null,(0,r.jsx)(N.default,{html:(0,I.decodeEntities)(e),className:"post-picker-result-title",tag:"strong"}),(0,a.sprintf)(" (%s)",t)]})},L=({baseUrl:e,searchRender:t,selected:n,setSelected:o,suppressPostIds:c=[]})=>{const[u,p]=(0,s.useState)(!1),[d,f]=(0,s.useState)([]),[h,m]=(0,s.useState)(!1),[g,y]=(0,s.useState)(0),[v,b]=(0,s.useState)({searchValue:"",page:1}),A=(0,s.useCallback)((async(t,n=!1)=>{if(t.searchValue&&t.searchValue.length<=2)return;const r=function(){let n=(0,l.addQueryArgs)(e,{page:t.page,_embed:1,exclude:c.join(",")});return t.searchValue&&t.searchValue.length>2&&(n=(0,l.addQueryArgs)(n,{search:t.searchValue})),n}();p(!0);const s=await S()({path:r,parse:!1});y(parseInt(s.headers.get("X-WP-TotalPages"),10));const o=await s.json();let i=o;t.page>1&&(i=[...d,...o]),n||(f(i),p(!1))}),[d,e,c]);return(0,s.useEffect)((()=>{let e=!1;return h||(m(!0),A(v,e)),()=>{e=!0}}),[A,h,v]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.TextControl,{value:v.searchValue,placeholder:(0,a.__)("Search...","alley-scripts"),label:(0,a.__)("Search","alley-scripts"),onChange:e=>{const t={...v,searchValue:e,page:1};b(t),A(t)}}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__post-list",children:[d?d.map((e=>(0,r.jsx)(i.Button,{className:E()({"alley-scripts-post-picker__post":!0,"is-selected":e.id===n}),onClick:()=>o(e.id),children:t?t(e):(0,r.jsx)(O,{title:e.title,postType:e.subtype,attachmentID:e?._embedded?.self[0]?.featured_media})},e.id))):null,u?(0,r.jsx)(i.Spinner,{}):null,g>0&&v.page{const e={...v,page:v.page+1};b(e),A(e)},children:(0,a.__)("Load More","alley-scripts")})}):null]})]})},j=({baseUrl:e,closeModal:t,modalTitle:n,onUpdate:o,searchRender:l,suppressPostIds:c=[]})=>{const[u,p]=(0,s.useState)();return(0,r.jsxs)(i.Modal,{className:"alley-scripts-post-picker__modal",isDismissible:!0,title:n,onRequestClose:t,closeButtonLabel:"Close",children:[(0,r.jsx)(L,{baseUrl:e,selected:u??0,setSelected:p,searchRender:l,suppressPostIds:c}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__buttons",children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:t,children:(0,a.__)("Cancel","alley-scripts")}),(0,r.jsx)(i.Button,{variant:"primary",onClick:()=>{u&&(o(u),t())},disabled:!u,children:(0,a.__)("Select","alley-scripts")})]})]})};var D=n(3800),U={};U.styleTagTransform=_(),U.setAttributes=y(),U.insert=m().bind(null,"head"),U.domAPI=f(),U.insertStyleElement=b(),p()(D.c,U),D.c&&D.c.locals&&D.c.locals;const M=o.cp.div` + display: block; + position: relative; +`,B=o.cp.div` + border: 1px solid #eee; + display: flex; + flex-direction: column; + margin: 5px 0; + padding: 0.5rem 0.75rem; + text-align: center; +`,F=({allowedTypes:e,className:t,getPostType:n,modalTitle:o=(0,a.__)("Select Post","alley-scripts"),onReset:u,onUpdate:p,params:d={},previewRender:f,replaceText:h=(0,a.__)("Replace","alley-scripts"),resetText:m=(0,a.__)("Reset","alley-scripts"),searchEndpoint:g="/wp/v2/search",searchRender:y,selectText:v=(0,a.__)("Select","alley-scripts"),suppressPostIds:b=[],title:A="",value:_=0})=>{const[w,C]=(0,s.useState)(!1),x=(0,l.addQueryArgs)(g,{type:"post",subtype:e??"any",...d}),S=(0,c.usePostById)(_,n),{featured_media:k,title:{rendered:E=""}={},type:R=""}=S||{},T=()=>{C(!0)},I=()=>(0,r.jsxs)(i.ButtonGroup,{children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:u,style:{margin:"0 4px"},children:m}),(0,r.jsx)(i.Button,{variant:"secondary",onClick:T,style:{margin:"0 4px"},children:h})]});return 0!==_&&null===S?(0,r.jsx)(i.Spinner,{}):(0,r.jsxs)(M,{className:t,children:[A?(0,r.jsx)("h4",{children:A}):null,0!==_&&void 0===S?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Notice,{status:"error",isDismissible:!1,className:"post-picker-notice",children:(0,r.jsx)("p",{children:(0,a.sprintf)((0,a.__)("Post %d is no longer available; it has been unpublished or deleted","alley-scripts"),_)})}),I()]}):null,0!==_&&void 0!==S?(0,r.jsxs)(r.Fragment,{children:[void 0!==f?f(S):(0,r.jsx)(B,{children:(0,r.jsx)(O,{title:E,postType:R,attachmentID:k})}),I()]}):null,0===_?(0,r.jsx)(i.Button,{onClick:T,variant:"secondary",children:v}):null,w?(0,r.jsx)(j,{closeModal:()=>{C(!1)},baseUrl:x,modalTitle:o,onUpdate:p,searchRender:y,suppressPostIds:b}):null]})}},8800:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:p})=>(0,r.jsx)(a.Selector,{type:"post",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:p});l.defaultProps={className:"",emptyLabel:(0,i.__)("No posts found","alley-scripts"),label:(0,i.__)("Search for posts","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for posts","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},9160:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(6595),o=n.n(s),i=n(900),a=n.n(i);const l=({className:e,html:t,tag:n})=>(0,r.jsx)(n,{className:e,dangerouslySetInnerHTML:{__html:o().sanitize(t)}});l.defaultProps={className:""},l.propTypes={className:a().string,html:a().string.isRequired,tag:a().string.isRequired};const c=l},9064:(e,t,n)=>{"use strict";n.d(t,{default:()=>M});var r=n(7e3),s=n(900),o=n.n(s),i=n(1280),a=n(4632),l=n.n(a),c=n(6484),u=n.n(c),p=n(7287),d=n(3396),f=n(7204);const h={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let m;const g=new Uint8Array(16);function y(){if(!m&&(m="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!m))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return m(g)}const v=[];for(let e=0;e<256;++e)v.push((e+256).toString(16).slice(1));const b=function(e,t,n){if(h.randomUUID&&!t&&!e)return h.randomUUID();const r=(e=e||{}).random||(e.rng||y)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return v[e[t+0]]+v[e[t+1]]+v[e[t+2]]+v[e[t+3]]+"-"+v[e[t+4]]+v[e[t+5]]+"-"+v[e[t+6]]+v[e[t+7]]+"-"+v[e[t+8]]+v[e[t+9]]+"-"+v[e[t+10]]+v[e[t+11]]+v[e[t+12]]+v[e[t+13]]+v[e[t+14]]+v[e[t+15]]}(r)};var A=n(2e3);const _=({emptyLabel:e,error:t,id:n,isOpen:s,labelledbyId:o,loading:i,onSelect:a,options:l,selectedItems:c,threshold:f,value:h})=>{if(!i&&(""===h||f>h.length))return null;let m="",g="";return i?(m="loading",g=(0,d.__)("Loading...","alley-scripts")):t?(m="error",g=t):i||0!==l.length||(m="no-posts",g=e),i||!i&&(h&&0===l.length||t)?(0,r.jsx)("div",{"aria-busy":!0,className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("div",{className:u()("autocomplete__dropdown--notice",`autocomplete__${m}`),children:g})}):(0,r.jsx)("div",{className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("ul",{role:"listbox","aria-labelledby":o,id:n,className:u()("autocomplete__dropdown--results","autocomplete__list"),children:l.map((e=>(0,r.jsx)("li",{className:"autocomplete__list--item",children:(0,r.jsx)(p.Button,{onClick:()=>a(e),type:"button",disabled:c.some((t=>t.id===e.id)),isTertiary:!0,children:e.title})},e.id)))})})};_.propTypes={emptyLabel:o().string.isRequired,error:o().string.isRequired,id:o().string.isRequired,isOpen:o().bool.isRequired,labelledbyId:o().string.isRequired,loading:o().bool.isRequired,options:o().arrayOf(o().shape({label:o().string,value:o().string})).isRequired,onSelect:o().func.isRequired,selectedItems:o().shape([]).isRequired,threshold:o().number.isRequired,value:o().string.isRequired};const w=_;var C=n(2108),x=n.n(C),S=n(7020),k=n.n(S),E=n(7240),R=n.n(E),T=n(9516),I=n.n(T),N=n(2940),P=n.n(N),O=n(9296),L=n.n(O),j=n(5500),D={};D.styleTagTransform=L(),D.setAttributes=I(),D.insert=R().bind(null,"head"),D.domAPI=k(),D.insertStyleElement=P(),x()(j.c,D),j.c&&j.c.locals&&j.c.locals;const U=({type:e,className:t,emptyLabel:n,label:s,maxPages:o,multiple:a,onSelect:c,placeholder:d,subTypes:h,selected:m,threshold:g})=>{const y=b(),[v,_]=(0,i.useState)(""),[C,x]=(0,i.useState)([]),[S,k]=(0,i.useState)(!1),[E,R]=(0,i.useState)(!1),[T,I]=(0,i.useState)(""),[N,P]=(0,i.useState)([]),O=(0,i.useRef)(),L=(0,A.useDebounce)(T,750),j=(0,i.useCallback)((async(t=1)=>{if(L.length0?h.join(","):"any",type:e});await l()({path:r,parse:!1}).then((e=>{const t=parseInt(e.headers.get("X-WP-TotalPages"),10);return n=t>o?o:t,e.json()})).then((e=>{x((t=>[...t,...e])),R(!1),(n&&n>t||t>=1&&a&&N.length>0)&&j(t+1)})).catch((e=>_(e.message)))}),[L,e,o,a,h,N.length,g]);(0,i.useEffect)((()=>{P(m)}),[m]),(0,i.useEffect)((()=>{L&&g<=L.length?j():x([])}),[L,j,g]);const D=e=>{k(O.current.contains(e.target))},U=e=>{"Escape"===e.key&&k(!1)};(0,i.useEffect)((()=>(document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)))),(0,i.useEffect)((()=>(O&&document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D))));const M=e=>{let t=[];if(N.some((t=>t.id===e.id))){const n=N.findIndex((t=>t.id===e.id));t=[...N.slice(0,n),...N.slice(n+1,N.length)]}else a?t=[...N,e]:(t=[e],k(!1));P(t),c(t)};return(0,r.jsx)("form",{className:"autocomplete__component",onSubmit:e=>e.preventDefault(),children:(0,r.jsxs)("div",{className:u()("components-base-control","autocomplete-base-control",t),ref:O,children:[(0,r.jsxs)("div",{"aria-expanded":S,"aria-haspopup":"listbox","aria-owns":`listbox-${y}`,className:u()("components-base-control__field","autocomplete-base-control__field"),role:"combobox",children:[(0,r.jsx)("label",{className:u()("components-base-control__label","autocomplete-base-control__label"),htmlFor:`autocomplete-${y}`,children:(0,r.jsx)("div",{children:s})}),N.length>0?(0,r.jsx)("ul",{role:"listbox","aria-labelledby":`autocomplete-${y}`,id:`selected-items-${y}`,className:u()("autocomplete__selection--results","autocomplete__selection-list"),children:N.map((e=>(0,r.jsx)("li",{className:"autocomplete__selection-list--item",children:(0,r.jsx)(p.Button,{className:"autocomplete__selection-list--item--button",isSecondary:!0,isSmall:!0,onClick:()=>M(e),type:"button",children:e.title})},e.title)))}):null,(0,r.jsx)("input",{"aria-autocomplete":"list",autoComplete:"off",className:u()("components-text-control__input","autocomplete-text-control__input",{"autocomplete-text-control__input--working":S}),id:`autocomplete-${y}`,onChange:e=>I(e.target.value),onFocus:()=>k(!0),placeholder:d,type:"text",value:T})]}),(0,r.jsx)(w,{emptyLabel:n,error:v,labelledById:`autocomplete-${y}`,id:`listbox-${y}`,isOpen:S,loading:E&&L,onSelect:M,options:C,selectedItems:N,threshold:g,value:L})]})})};U.defaultProps={type:"post",className:"",emptyLabel:(0,d.__)("No items found","alley-scripts"),label:(0,d.__)("Search for items","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,d.__)("Search for items","alley-scripts"),subTypes:[],selected:[],threshold:3},U.propTypes={type:o().string,className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const M=U},1917:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,index:t,list:n,setList:i}){return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(s.Button,{disabled:0===t,icon:"arrow-up-alt2",label:(0,o.__)("Move up","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t-1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{disabled:t===n.length-1,icon:"arrow-down-alt2",label:(0,o.__)("Move down","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t+1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{icon:"trash",label:(0,o.__)("Remove","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t,1),i(e)}})]}),(0,r.jsx)("div",{children:e})]})}},8504:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,emptyItem:t,list:n,setList:i}){return(0,r.jsxs)(r.Fragment,{children:[e,(0,r.jsx)("div",{style:{margin:"1em 0"},children:(0,r.jsx)(s.Button,{icon:"plus",onClick:()=>i([...n,t]),variant:"primary",children:(0,o.__)("Add Item","alley-scripts")})})]})}},668:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:p})=>(0,r.jsx)(a.Selector,{type:"term",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:p});l.defaultProps={className:"",emptyLabel:(0,i.__)("No terms found","alley-scripts"),label:(0,i.__)("Search for terms","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for terms","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},5316:(e,t,n)=>{"use strict";n.d(t,{default:()=>p});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("video",{className:"edit-video-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["video"],className:e,icon:"format-video",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const p=u},2e3:(e,t,n)=>{"use strict";n.d(t,{useCurrentPostId:()=>h.default,useDebounce:()=>r.default,useHasInnerBlocks:()=>s.default,useInnerBlocks:()=>i.default,useInnerBlocksAttributes:()=>a.default,useInnerBlocksCount:()=>l.default,useInnerBlocksIndex:()=>o.default,useMedia:()=>c.default,useOption:()=>u.default,useParentBlock:()=>p.default,useParentBlockAttributes:()=>d.default,usePost:()=>f.default,usePostById:()=>m.default,usePostMeta:()=>g.default,usePostMetaValue:()=>y.default,usePosts:()=>v.default,useTerms:()=>b.default});var r=n(7112),s=n(6980),o=n(6644),i=n(864),a=n(8512),l=n(1344),c=n(592),u=n(7188),p=n(224),d=n(8004),f=n(1744),h=n(9695),m=n(9480),g=n(6504),y=n(3772),v=n(4704),b=n(1848)},9695:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=()=>(0,r.useSelect)((e=>{const t=e("core/editor");return t?t.getCurrentPostId():null}),[])},7112:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(1280);const s=(e,t)=>{const[n,s]=(0,r.useState)(e);return(0,r.useEffect)((()=>{const n=setTimeout((()=>{s(e)}),t);return()=>{clearTimeout(n)}}),[e,t]),n}},6980:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocksCount)(e)>0},6644:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>{const t=(0,r.useParentBlock)(e),n=(0,r.useInnerBlocks)(t);return n?n.findIndex((t=>t.clientId===e)):-1}},8512:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).map((e=>e.attributes))},1344:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).length},864:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>t(r.store).getBlocks(e)),[e])},592:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=e=>(0,r.useSelect)((t=>t("core").getMedia(e)),[e])},7188:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=function(e){const t=(0,r.useSelect)((t=>{const{getEditedEntityRecord:n,getEntityRecordEdits:r,isSavingEntityRecord:s}=t("core"),o=n("root","site"),i=r("root","site");return{value:o?.[e],isEdited:!!i?.[e],isSaving:s("root","site")}}),[]),{editEntityRecord:n,saveEntityRecord:s}=(0,r.useDispatch)("core");return{...t,onChange:function(t){n("root","site",void 0,{[e]:t})},onSave:async function(){await s("root","site",{[e]:t.value})}}}},8004:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlockAttributes:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},224:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlock:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},9480:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(1280),s=n(4632),o=n.n(s),i=n(7204),a=n(1744);const l=(e,t=null)=>{const[n,s]=(0,r.useState)({}),[l,c]=(0,r.useState)(!0);(0,r.useEffect)((()=>{c(!0),e&&!n[e]?(async()=>{if(t){const n=await t(e);n?s((t=>({...t,[e]:n}))):console.error(`Custom function to get post with ID ${e} failed.`)}else{const t=(0,i.addQueryArgs)("/wp/v2/search",{include:e}),n=await o()({path:t});n.length>0&&s((t=>({...t,[e]:n[0]?.subtype})))}c(!1)})():e&&n[e]&&c(!1)}),[e]);const u=(0,a.default)(e,n[e]??"");return l||!u&&n[e]?null:u}},3772:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=(e,t=null,n=null)=>{const[s,o]=(0,r.usePostMeta)(t,n);return[s[e],t=>o({...s,[e]:t})]}},6504:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null)=>{const n=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[o,i]=(0,r.useEntityProp)("postType",n,"meta",t),a="function"==typeof i?i:()=>console.error(`Error attempting to set post meta for post type ${n}. Does it have support for custom-fields?`);return["object"==typeof o?o:{},e=>a({...e})]}},1744:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>n("core").getEntityRecord("postType",t,e)),[e,t])},4704:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>{const{getEntityRecords:r}=n("core");return r("postType",t,{include:e})}),[e,t])},1848:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null,n="categories")=>{const o=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[i,a]=(0,r.useEntityProp)("postType",o,n,t);return[i,e=>a(e)]}},5328:(e,t,n)=>{"use strict";n.d(t,{getMediaUrl:()=>i.c,parseCSVFile:()=>o});var r=n(2232),s=n.n(r);const o=e=>new Promise(((t,n)=>{s().parse(e,{complete:e=>t(e.data),dynamicTyping:!0,error:e=>n(e),header:!0,skipEmptyLines:!0})}));var i=n(6199)},6199:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=(e,t="full")=>{const{media_details:{sizes:{[t]:{source_url:n=""}={},full:{source_url:r=""}={}}={}}={},sizes:{[t]:{url:s=""}={},full:{url:o=""}={}}={},source_url:i="",url:a=""}=e;return s||n||o||r||a||i||""}},1280:e=>{"use strict";e.exports=window.React},4632:e=>{"use strict";e.exports=window.wp.apiFetch},9528:e=>{"use strict";e.exports=window.wp.blockEditor},7287:e=>{"use strict";e.exports=window.wp.components},3048:e=>{"use strict";e.exports=window.wp.coreData},7752:e=>{"use strict";e.exports=window.wp.data},3396:e=>{"use strict";e.exports=window.wp.i18n},7204:e=>{"use strict";e.exports=window.wp.url}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,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 r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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.nc=void 0;var r={};return(()=>{"use strict";n.r(r),n.d(r,{AudioPicker:()=>e.AudioPicker,CSVUploader:()=>e.CSVUploader,Checkboxes:()=>e.Checkboxes,ImagePicker:()=>e.ImagePicker,MediaPicker:()=>e.MediaPicker,PostPicker:()=>e.PostPicker,PostSelector:()=>e.PostSelector,SafeHtml:()=>e.SafeHtml,Selector:()=>e.Selector,Sortable:()=>e.Sortable,SortableItem:()=>e.SortableItem,TermSelector:()=>e.TermSelector,VideoPicker:()=>e.VideoPicker,getMediaUrl:()=>s.getMediaUrl,parseCSVFile:()=>s.parseCSVFile,useCurrentPostId:()=>t.useCurrentPostId,useDebounce:()=>t.useDebounce,useHasInnerBlocks:()=>t.useHasInnerBlocks,useInnerBlocks:()=>t.useInnerBlocks,useInnerBlocksAttributes:()=>t.useInnerBlocksAttributes,useInnerBlocksCount:()=>t.useInnerBlocksCount,useInnerBlocksIndex:()=>t.useInnerBlocksIndex,useMedia:()=>t.useMedia,useOption:()=>t.useOption,useParentBlock:()=>t.useParentBlock,useParentBlockAttributes:()=>t.useParentBlockAttributes,usePost:()=>t.usePost,usePostById:()=>t.usePostById,usePostMeta:()=>t.usePostMeta,usePostMetaValue:()=>t.usePostMetaValue,usePosts:()=>t.usePosts,useTerms:()=>t.useTerms});var e=n(7720),t=n(2e3),s=n(5328)})(),r})(),e.exports=t()},773:function(e,t,n){"use strict";var r=window.React,s=window.wp.blocks,o=window.wp.blockEditor,i=window.wp.i18n,a=n(373),l=window.wp.data,c=window.wp.components,u=function(e){let{featured_image:t,post_date:n,title:s}=e;return(0,r.createElement)("div",{className:"nb-post-picker-result"},(0,r.createElement)("div",{className:"nb-post-picker-result-image__container"},t?(0,r.createElement)("img",{className:"nb-post-picker-result-image",src:t,alt:""}):null),(0,r.createElement)(a.SafeHtml,{html:s,className:"nb-post-picker-result-title",tag:"div"}),(0,r.createElement)("span",{className:"nb-post-picker-result-date"},n))},p=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wp-newsletter-builder/post","version":"0.1.0","title":"Newsletter Single Post","category":"design","icon":"admin-post","description":"Displays a post","textdomain":"wp-newsletter-builder","editorScript":"file:index.ts","editorStyle":"file:index.css","style":["file:style-index.css"],"render":"file:render.php","attributes":{"postId":{"type":"number","default":0},"postType":{"type":"string","default":"post"},"overrideUrl":{"type":"string","default":""}},"providesContext":{"postId":"postId","postType":"postType","queryId":"0","overrideUrl":"overrideUrl"}}');(0,s.registerBlockType)(p,{edit:function(e){let{attributes:{postId:t=0,overrideUrl:n=""},setAttributes:s}=e;const p=e=>{s({postId:e})},d=(0,l.useSelect)((e=>e("core/editor").getCurrentPostType()),[]),f=new Date;return f.setMonth(f.getMonth()-3),(0,r.createElement)("div",{...(0,o.useBlockProps)({className:`edit-${d}`})},t&&"nb_template"!==d?(0,r.createElement)(r.Fragment,null,(0,r.createElement)(c.Button,{variant:"primary",isDestructive:!0,onClick:()=>p(0),className:"newsletter-remove-post","aria-label":(0,i.__)("Remove Post","wp-newsletter-builder")},"X")):null,t||"nb_template"===d?null:(0,r.createElement)("div",null,(0,r.createElement)(a.PostPicker,{onUpdate:p,allowedTypes:["post"],onReset:()=>p(0),params:{after:f.toISOString(),per_page:20},title:(0,i.__)("Please select a post","wp-newsletter-builder"),value:t,searchRender:u})),t||"nb_template"===d?(0,r.createElement)(o.InnerBlocks,{template:[["wp-newsletter-builder/post-featured-image",{}],["wp-newsletter-builder/post-title",{}],["wp-newsletter-builder/post-byline",{}],["wp-newsletter-builder/post-excerpt",{}],["wp-newsletter-builder/post-read-more",{}]],allowedBlocks:["wp-newsletter-builder/post-byline","wp-newsletter-builder/post-content","wp-newsletter-builder/post-excerpt","wp-newsletter-builder/post-featured-image","wp-newsletter-builder/post-read-more","wp-newsletter-builder/post-title"],templateLock:!1}):null,(0,r.createElement)(o.InspectorControls,null,t?(0,r.createElement)(c.PanelBody,{title:(0,i.__)("Override URL","wp-newsletter-builder"),initialOpen:!0},(0,r.createElement)(c.PanelRow,null,(0,r.createElement)(c.TextControl,{value:null!=n?n:"",onChange:e=>s({overrideUrl:e}),type:"url"}))):null))},save:()=>{const e=o.useBlockProps.save();return(0,r.createElement)("div",{...e},(0,r.createElement)(o.InnerBlocks.Content,null))}})}},n={};function r(e){var s=n[e];if(void 0!==s)return s.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=function(t,n,s,o){if(!n){var i=1/0;for(u=0;u=o)&&Object.keys(r.O).every((function(e){return r.O[e](n[l])}))?n.splice(l--,1):(a=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,s,o]},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={844:0,253:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var s,o,i=n[0],a=n[1],l=n[2],c=0;if(i.some((function(t){return 0!==e[t]}))){for(s in a)r.o(a,s)&&(r.m[s]=a[s]);if(l)var u=l(r)}for(t&&t(n);c. + * @param WP_Block $block_instance The instance of the WP_Block class that represents the block being rendered. + * + * @package wp-newsletter-builder + */ + +if ( empty( $attributes['postId'] ) ) { + return; +} + +$wp_newsletter_builder_block_post = get_post( $attributes['postId'] ); +if ( empty( $wp_newsletter_builder_block_post ) ) { + return; +} + +?> +
> + +
diff --git a/build/post/style-index.css b/build/post/style-index.css new file mode 100644 index 00000000..2df066c6 --- /dev/null +++ b/build/post/style-index.css @@ -0,0 +1 @@ +.wp-block-wp-newsletter-builder-post>*{margin:15px 0}.wp-block-wp-newsletter-builder-post .post__title-link{color:#000;display:block;margin:20px auto;text-decoration:none}.wp-block-wp-newsletter-builder-post h2{margin-bottom:0;text-align:center}.wp-block-wp-newsletter-builder-post h2.post__title--small{font-size:24px}.wp-block-wp-newsletter-builder-two-up-post .wp-block-wp-newsletter-builder-post h2{font-size:18px}.wp-block-wp-newsletter-builder-post .post__byline{font-family:Georgia,serif;font-size:15px;font-weight:700;text-align:center}.wp-block-wp-newsletter-builder-post .post__image-link{display:block;margin:20px auto}.wp-block-wp-newsletter-builder-post .post__dek p{margin:20px}.wp-block-wp-newsletter-builder-post .wp-block-button{margin:20px auto}.wp-block-wp-newsletter-builder-post .newsletter-post__number{color:#d62827}.wp-block-wp-newsletter-builder-post table{width:100%} diff --git a/build/section/block.json b/build/section/block.json new file mode 100644 index 00000000..7b0983ff --- /dev/null +++ b/build/section/block.json @@ -0,0 +1,31 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 2, + "name": "wp-newsletter-builder/section", + "version": "0.1.0", + "title": "Newsletter Section", + "category": "design", + "icon": "layout", + "description": "Section to contain other blocks and allow for choosing multiple posts.", + "textdomain": "wp-newsletter-builder", + "editorScript": "file:index.js", + "editorStyle": "file:index.css", + "style": [ + "file:style-index.css" + ], + "render": "file:render.php", + "attributes": { + "showNumbers": { + "type": "boolean", + "default": false + }, + "heading": { + "type": "string", + "default": "" + }, + "adAfter": { + "type": "boolean", + "default": false + } + } +} \ No newline at end of file diff --git a/build/section/index.asset.php b/build/section/index.asset.php new file mode 100644 index 00000000..fe0a6e59 --- /dev/null +++ b/build/section/index.asset.php @@ -0,0 +1 @@ + array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => 'f447d1cd8e1fc31c495a'); diff --git a/build/section/index.css b/build/section/index.css new file mode 100644 index 00000000..e80a94d9 --- /dev/null +++ b/build/section/index.css @@ -0,0 +1,5 @@ +.components-modal__content{width:90vw}.alley-scripts-post-picker__buttons{clear:both;display:block;text-align:right;width:100%}.alley-scripts-post-picker__buttons button{margin:5px}.nb-multi-post-picker-modal{display:flex;flex-direction:row;height:90%;justify-content:space-between;margin-bottom:10px;width:100%}.nb-multi-post-picker-modal__search-results,.nb-multi-post-picker-modal__selected{border:1px solid #ccc;height:100%;padding:5px;width:49%} +.nb-multi-post-picker-modal .alley-scripts-post-picker__post-list{float:left;height:calc(70vh - 250px);overflow-y:auto}.alley-scripts-post-picker__post{align-items:center;border:1px solid #eee;display:flex;float:left;height:150px;margin:5px;overflow:hidden;padding:.5rem .75rem;transition:background-color .2s ease-in-out;width:150px}.alley-scripts-post-picker__post.is-selected,.alley-scripts-post-picker__post:hover{background-color:#f5f5f5}.alley-scripts-post-picker__load-more{clear:both;float:left;text-align:center;width:100%} +.nb-multi-post-picker-modal .alley-scripts-post-picker__post-list.nb-sortable-list{height:calc(70vh - 170px);width:100%}.nb-post-picker-draggable{align-items:center;border:1px solid #ccc;display:flex;flex-direction:row;margin:5px 0;min-height:60px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.nb-post-picker-draggable>span{cursor:move;height:100%} +.post-type-nb_newsletter .alley-scripts-post-picker__post-list .alley-scripts-post-picker__post{height:auto;padding:0 5px 0 0;width:99%}.post-type-nb_newsletter .nb-post-picker-result{align-items:center;display:flex;flex-direction:row;gap:10px;justify-content:flex-start;width:100%}.post-type-nb_newsletter .nb-post-picker-result-image__container{height:56px;width:100px}.post-type-nb_newsletter .nb-post-picker-result-image__container img{max-height:56px;max-width:100px}.post-type-nb_newsletter .nb-post-picker-result-title{font-weight:600;margin:5px 0;text-align:left}.post-type-nb_newsletter .nb-post-picker-result-date{margin-left:auto;text-align:right} +.wp-block-wp-newsletter-builder-section{border:1px dashed #ccc;padding:2px} diff --git a/build/section/index.js b/build/section/index.js new file mode 100644 index 00000000..a54ac677 --- /dev/null +++ b/build/section/index.js @@ -0,0 +1,42 @@ +!function(){var e,t={373:function(e){var t;self,t=()=>(()=>{var e={6484:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e=[],t=0;t{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__post-list{display:flex;flex-wrap:wrap;float:left;height:calc(70vh - 200px);justify-content:flex-start;overflow-y:auto;padding:8px;width:100%}.alley-scripts-post-picker__post{border:1px solid #eee;height:auto;justify-content:center;margin:0 8px 8px 0;transition:background-color .2s ease-in-out;width:calc((100% - 40px)/3)}@media(min-width: 780px){.alley-scripts-post-picker__post{width:calc((100% - 40px)/5)}}.alley-scripts-post-picker__post:hover{background-color:#f5f5f5}.alley-scripts-post-picker__post.is-selected{background-color:#f5f5f5}.alley-scripts-post-picker__load-more{clear:both;float:left;text-align:center;width:100%}","",{version:3,sources:["webpack://./src/components/post-picker/post-list.scss"],names:[],mappings:"AAAA,sCACE,YAAA,CACA,cAAA,CACA,UAAA,CACA,yBAAA,CACA,0BAAA,CACA,eAAA,CACA,WAAA,CACA,UAAA,CAGF,iCACE,qBAAA,CACA,WAAA,CACA,sBAAA,CACA,kBAAA,CACA,2CAAA,CACA,2BAAA,CAGA,yBATF,iCAUI,2BAAA,CAAA,CAGF,uCACE,wBAAA,CAGF,6CACE,wBAAA,CAIJ,sCACE,UAAA,CACA,UAAA,CACA,iBAAA,CACA,UAAA",sourcesContent:[".alley-scripts-post-picker__post-list {\n display: flex;\n flex-wrap: wrap;\n float: left;\n height: calc(70vh - 200px);\n justify-content: flex-start;\n overflow-y: auto;\n padding: 8px;\n width: 100%;\n}\n\n.alley-scripts-post-picker__post {\n border: 1px solid #eee;\n height: auto;\n justify-content: center;\n margin: 0 8px 8px 0;\n transition: background-color 0.2s ease-in-out;\n width: calc((100% - 40px) / 3);\n\n\n @media (min-width: 780px) {\n width: calc((100% - 40px) / 5);\n }\n\n &:hover {\n background-color: #f5f5f5;\n }\n\n &.is-selected {\n background-color: #f5f5f5;\n }\n}\n\n.alley-scripts-post-picker__load-more {\n clear: both;\n float: left;\n text-align: center;\n width: 100%;\n}\n"],sourceRoot:""}]);const a=i},9680:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__modal .components-modal__content{width:90vw}.alley-scripts-post-picker__buttons{clear:both;display:block;text-align:right;width:100%}.alley-scripts-post-picker__buttons button{margin:5px}","",{version:3,sources:["webpack://./src/components/post-picker/search-modal.scss"],names:[],mappings:"AACE,6DACE,UAAA,CAIJ,oCACE,UAAA,CACA,aAAA,CACA,gBAAA,CACA,UAAA,CAEA,2CACE,UAAA",sourcesContent:[".alley-scripts-post-picker__modal {\n .components-modal__content {\n width: 90vw;\n }\n}\n\n.alley-scripts-post-picker__buttons {\n clear: both;\n display: block;\n text-align: right;\n width: 100%;\n\n button {\n margin: 5px;\n }\n}\n"],sourceRoot:""}]);const a=i},3800:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".post-picker-notice{margin:0 0 .5rem 0}","",{version:3,sources:["webpack://./src/components/post-picker/style.scss"],names:[],mappings:"AAAA,oBACE,kBAAA",sourcesContent:[".post-picker-notice {\n margin: 0 0 0.5rem 0;\n}\n"],sourceRoot:""}]);const a=i},5500:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,'.edit-post-sidebar .autocomplete__component,.editor-styles-wrapper .autocomplete__component{margin-bottom:20px}.edit-post-sidebar .autocomplete-base-control,.editor-styles-wrapper .autocomplete-base-control{position:relative}.edit-post-sidebar .autocomplete-text-control__input,.editor-styles-wrapper .autocomplete-text-control__input{margin:0}.edit-post-sidebar .autocomplete__selection-list,.editor-styles-wrapper .autocomplete__selection-list{list-style-type:none;margin:0 0 6px;padding:0}.edit-post-sidebar .autocomplete__selection-list--item,.editor-styles-wrapper .autocomplete__selection-list--item{display:inline-block;list-style:none}.edit-post-sidebar .autocomplete__selection-list--item--button,.editor-styles-wrapper .autocomplete__selection-list--item--button{margin-bottom:4px;margin-right:3px}.edit-post-sidebar .autocomplete__selection-list--item--button::after,.editor-styles-wrapper .autocomplete__selection-list--item--button::after{content:"×";font-size:16px;line-height:20px;margin-left:5px}.edit-post-sidebar .autocomplete__dropdown,.editor-styles-wrapper .autocomplete__dropdown{background-color:#fff;border-color:rgba(0,0,0,0) #e2e4e7 #e2e4e7;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px;left:0;max-height:0;overflow-y:hidden;position:absolute;top:calc(100% + 1px);visibility:hidden;width:100%;z-index:10}.edit-post-sidebar .autocomplete__dropdown--is-open,.editor-styles-wrapper .autocomplete__dropdown--is-open{box-shadow:0 3px 30px rgba(25,30,35,.1);max-height:225px;overflow-y:scroll;visibility:visible}.edit-post-sidebar .autocomplete__dropdown--notice,.editor-styles-wrapper .autocomplete__dropdown--notice{padding:15px}.edit-post-sidebar .autocomplete__dropdown--results,.editor-styles-wrapper .autocomplete__dropdown--results{list-style:none;margin:0;padding:0}.edit-post-sidebar .autocomplete__list--item,.editor-styles-wrapper .autocomplete__list--item{list-style:none}.edit-post-sidebar .autocomplete__list--item>button,.editor-styles-wrapper .autocomplete__list--item>button{background:rgba(0,0,0,0);border-color:#e2e4e7;border-style:solid;border-width:0 0 1px;height:100%;line-height:1.25;text-align:left;white-space:inherit;width:100%}.edit-post-sidebar .autocomplete__list--item:last-child>button,.editor-styles-wrapper .autocomplete__list--item:last-child>button{border-bottom:0}',"",{version:3,sources:["webpack://./src/components/selector/styles.scss"],names:[],mappings:"AAAA,4FAgBI,kBACE,CAAA,gGAMF,iBACE,CAAA,8GAMF,QACE,CAAA,sGAMF,oBACE,CAAA,cACA,CAAA,SACA,CAAA,kHAEA,oBACE,CAAA,eACA,CAAA,kIAEA,iBACE,CAAA,gBACA,CAAA,gJAEA,WACE,CAAA,cACA,CAAA,gBACA,CAAA,eACA,CAAA,0FASR,qBACE,CAAA,0CACA,CAAA,yBACA,CAAA,kBACA,CAAA,sBACA,CAAA,MACA,CAAA,YACA,CAAA,iBACA,CAAA,iBACA,CAAA,oBACA,CAAA,iBACA,CAAA,UACA,CAAA,UACA,CAAA,4GAGA,uCACE,CAAA,gBACA,CAAA,iBACA,CAAA,kBACA,CAAA,0GAIF,YACE,CAAA,4GAIF,eACE,CAAA,QACA,CAAA,SACA,CAAA,8FAOJ,eACE,CAAA,4GAEA,wBACE,CAAA,oBACA,CAAA,kBACA,CAAA,oBACA,CAAA,WACA,CAAA,gBACA,CAAA,eACA,CAAA,mBACA,CAAA,UACA,CAAA,kIAGF,eACE",sourcesContent:["//--------------------------------------------------------------\n// AutoComplete Styles\n//--------------------------------------------------------------\n\n/* stylelint-disable max-nesting-depth */\n\n//-----------------------------------------\n// Accommodate editor well, or the sidebar.\n//-----------------------------------------\n.edit-post-sidebar,\n.editor-styles-wrapper {\n .autocomplete {\n\n //-----------------------------------------\n // Parent form wrapper.\n //-----------------------------------------\n &__component {\n margin-bottom: 20px;\n }\n\n //-----------------------------------------\n // Wrapper\n //-----------------------------------------\n &-base-control {\n position: relative;\n }\n\n //-----------------------------------------\n // Input\n //-----------------------------------------\n &-text-control__input {\n margin: 0;\n }\n\n //-----------------------------------------\n // Selected buttons.\n //-----------------------------------------\n &__selection-list {\n list-style-type: none;\n margin: 0 0 6px;\n padding: 0;\n\n &--item {\n display: inline-block;\n list-style: none;\n\n &--button {\n margin-bottom: 4px;\n margin-right: 3px;\n\n &::after {\n content: '×';\n font-size: 16px;\n line-height: 20px;\n margin-left: 5px;\n }\n }\n }\n }\n\n //-----------------------------------------\n // Results\n //-----------------------------------------\n &__dropdown {\n background-color: #fff;\n border-color: transparent #e2e4e7 #e2e4e7;\n border-radius: 0 0 4px 4px;\n border-style: solid;\n border-width: 0 1px 1px;\n left: 0;\n max-height: 0;\n overflow-y: hidden;\n position: absolute;\n top: calc(100% + 1px); // Offset focus border.\n visibility: hidden;\n width: 100%;\n z-index: 10;\n\n // Container is open.\n &--is-open {\n box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);\n max-height: 225px;\n overflow-y: scroll;\n visibility: visible;\n }\n\n // Notice handler.\n &--notice {\n padding: 15px;\n }\n\n // Results container.\n &--results {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n }\n\n //-----------------------------------------\n // List/Results\n //-----------------------------------------\n &__list--item {\n list-style: none;\n\n > button {\n background: transparent;\n border-color: #e2e4e7;\n border-style: solid;\n border-width: 0 0 1px;\n height: 100%;\n line-height: 1.25;\n text-align: left;\n white-space: inherit;\n width: 100%;\n }\n\n &:last-child > button {\n border-bottom: 0;\n }\n }\n }\n}\n"],sourceRoot:""}]);const a=i},1849:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,s,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var a=0;a0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),s&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=s):u[4]="".concat(s)),t.push(u))}},t}},2876:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(s," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},6595:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:s}=Object;let{freeze:o,seal:i,create:a}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(e){return e}),i||(i=function(e){return e}),l||(l=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});const u=w(Array.prototype.forEach),d=w(Array.prototype.pop),p=w(Array.prototype.push),f=w(String.prototype.toLowerCase),h=w(String.prototype.toString),m=w(String.prototype.match),g=w(String.prototype.replace),y=w(String.prototype.indexOf),v=w(String.prototype.trim),b=w(RegExp.prototype.test),_=(A=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),s=1;s2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let o=r.length;for(;o--;){let t=r[o];if("string"==typeof t){const e=s(t);e!==t&&(n(r)||(r[o]=e),t=e)}e[t]=!0}return e}function C(t){const n=a(null);for(const[r,o]of e(t))void 0!==s(t,r)&&(n[r]=o);return n}function S(e,t){for(;null!==e;){const n=s(e,t);if(n){if(n.get)return w(n.get);if("function"==typeof n.value)return w(n.value)}e=r(e)}return function(e){return console.warn("fallback value for",e),null}}const E=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),k=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),R=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),N=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),O=o(["#text"]),P=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),L=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),j=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),D=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=i(/\{\{[\w\W]*|[\w\W]*\}\}/gm),M=i(/<%[\w\W]*|[\w\W]*%>/gm),B=i(/\${[\w\W]*}/gm),F=i(/^data-[\-\w.\u00B7-\uFFFF]/),z=i(/^aria-[\-\w]+$/),q=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=i(/^(?:\w+script|data):/i),H=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W=i(/^html$/i);var G=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:M,TMPLIT_EXPR:B,DATA_ATTR:F,ARIA_ATTR:z,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:$,ATTR_WHITESPACE:H,DOCTYPE_NAME:W});return function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const r=e=>t(e);if(r.version="3.0.6",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;let{document:s}=n;const i=s,l=i.currentScript,{DocumentFragment:c,HTMLTemplateElement:A,Node:w,Element:U,NodeFilter:M,NamedNodeMap:B=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:F,DOMParser:z,trustedTypes:$}=n,H=U.prototype,V=S(H,"cloneNode"),Y=S(H,"nextSibling"),K=S(H,"childNodes"),Q=S(H,"parentNode");if("function"==typeof A){const e=s.createElement("template");e.content&&e.content.ownerDocument&&(s=e.content.ownerDocument)}let X,J="";const{implementation:Z,createNodeIterator:ee,createDocumentFragment:te,getElementsByTagName:ne}=s,{importNode:re}=i;let se={};r.isSupported="function"==typeof e&&"function"==typeof Q&&Z&&void 0!==Z.createHTMLDocument;const{MUSTACHE_EXPR:oe,ERB_EXPR:ie,TMPLIT_EXPR:ae,DATA_ATTR:le,ARIA_ATTR:ce,IS_SCRIPT_OR_DATA:ue,ATTR_WHITESPACE:de}=G;let{IS_ALLOWED_URI:pe}=G,fe=null;const he=x({},[...E,...k,...R,...I,...O]);let me=null;const ge=x({},[...P,...L,...j,...D]);let ye=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,be=null,_e=!0,Ae=!0,we=!1,xe=!0,Ce=!1,Se=!1,Ee=!1,ke=!1,Re=!1,Te=!1,Ie=!1,Ne=!0,Oe=!1,Pe=!0,Le=!1,je={},De=null;const Ue=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Me=null;const Be=x({},["audio","video","img","source","image","track"]);let Fe=null;const ze=x({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",$e="http://www.w3.org/2000/svg",He="http://www.w3.org/1999/xhtml";let We=He,Ge=!1,Ve=null;const Ye=x({},[qe,$e,He],h);let Ke=null;const Qe=["application/xhtml+xml","text/html"];let Xe=null,Je=null;const Ze=s.createElement("form"),et=function(e){return e instanceof RegExp||e instanceof Function},tt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Je||Je!==e){if(e&&"object"==typeof e||(e={}),e=C(e),Ke=Ke=-1===Qe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Xe="application/xhtml+xml"===Ke?h:f,fe="ALLOWED_TAGS"in e?x({},e.ALLOWED_TAGS,Xe):he,me="ALLOWED_ATTR"in e?x({},e.ALLOWED_ATTR,Xe):ge,Ve="ALLOWED_NAMESPACES"in e?x({},e.ALLOWED_NAMESPACES,h):Ye,Fe="ADD_URI_SAFE_ATTR"in e?x(C(ze),e.ADD_URI_SAFE_ATTR,Xe):ze,Me="ADD_DATA_URI_TAGS"in e?x(C(Be),e.ADD_DATA_URI_TAGS,Xe):Be,De="FORBID_CONTENTS"in e?x({},e.FORBID_CONTENTS,Xe):Ue,ve="FORBID_TAGS"in e?x({},e.FORBID_TAGS,Xe):{},be="FORBID_ATTR"in e?x({},e.FORBID_ATTR,Xe):{},je="USE_PROFILES"in e&&e.USE_PROFILES,_e=!1!==e.ALLOW_ARIA_ATTR,Ae=!1!==e.ALLOW_DATA_ATTR,we=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ce=e.SAFE_FOR_TEMPLATES||!1,Se=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Te=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,ke=e.FORCE_BODY||!1,Ne=!1!==e.SANITIZE_DOM,Oe=e.SANITIZE_NAMED_PROPS||!1,Pe=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,pe=e.ALLOWED_URI_REGEXP||q,We=e.NAMESPACE||He,ye=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ye.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ye.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ye.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ce&&(Ae=!1),Te&&(Re=!0),je&&(fe=x({},[...O]),me=[],!0===je.html&&(x(fe,E),x(me,P)),!0===je.svg&&(x(fe,k),x(me,L),x(me,D)),!0===je.svgFilters&&(x(fe,R),x(me,L),x(me,D)),!0===je.mathMl&&(x(fe,I),x(me,j),x(me,D))),e.ADD_TAGS&&(fe===he&&(fe=C(fe)),x(fe,e.ADD_TAGS,Xe)),e.ADD_ATTR&&(me===ge&&(me=C(me)),x(me,e.ADD_ATTR,Xe)),e.ADD_URI_SAFE_ATTR&&x(Fe,e.ADD_URI_SAFE_ATTR,Xe),e.FORBID_CONTENTS&&(De===Ue&&(De=C(De)),x(De,e.FORBID_CONTENTS,Xe)),Pe&&(fe["#text"]=!0),Se&&x(fe,["html","head","body"]),fe.table&&(x(fe,["tbody"]),delete ve.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');X=e.TRUSTED_TYPES_POLICY,J=X.createHTML("")}else void 0===X&&(X=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}}($,l)),null!==X&&"string"==typeof J&&(J=X.createHTML(""));o&&o(e),Je=e}},nt=x({},["mi","mo","mn","ms","mtext"]),rt=x({},["foreignobject","desc","title","annotation-xml"]),st=x({},["title","style","font","a","script"]),ot=x({},k);x(ot,R),x(ot,T);const it=x({},I);x(it,N);const at=function(e){p(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},lt=function(e,t){try{p(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!me[e])if(Re||Te)try{at(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ct=function(e){let t=null,n=null;if(ke)e=""+e;else{const t=m(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ke&&We===He&&(e=''+e+"");const r=X?X.createHTML(e):e;if(We===He)try{t=(new z).parseFromString(r,Ke)}catch(e){}if(!t||!t.documentElement){t=Z.createDocument(We,"template",null);try{t.documentElement.innerHTML=Ge?J:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(s.createTextNode(n),o.childNodes[0]||null),We===He?ne.call(t,Se?"html":"body")[0]:Se?t.documentElement:o},ut=function(e){return ee.call(e.ownerDocument||e,e,M.SHOW_ELEMENT|M.SHOW_COMMENT|M.SHOW_TEXT,null)},dt=function(e){return"function"==typeof w&&e instanceof w},pt=function(e,t,n){se[e]&&u(se[e],(e=>{e.call(r,t,n,Je)}))},ft=function(e){let t=null;if(pt("beforeSanitizeElements",e,null),(n=e)instanceof F&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof B)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return at(e),!0;var n;const s=Xe(e.nodeName);if(pt("uponSanitizeElement",e,{tagName:s,allowedTags:fe}),e.hasChildNodes()&&!dt(e.firstElementChild)&&b(/<[/\w]/g,e.innerHTML)&&b(/<[/\w]/g,e.textContent))return at(e),!0;if(!fe[s]||ve[s]){if(!ve[s]&&mt(s)){if(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,s))return!1;if(ye.tagNameCheck instanceof Function&&ye.tagNameCheck(s))return!1}if(Pe&&!De[s]){const t=Q(e)||e.parentNode,n=K(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r)t.insertBefore(V(n[r],!0),Y(e))}return at(e),!0}return e instanceof U&&!function(e){let t=Q(e);t&&t.tagName||(t={namespaceURI:We,tagName:"template"});const n=f(e.tagName),r=f(t.tagName);return!!Ve[e.namespaceURI]&&(e.namespaceURI===$e?t.namespaceURI===He?"svg"===n:t.namespaceURI===qe?"svg"===n&&("annotation-xml"===r||nt[r]):Boolean(ot[n]):e.namespaceURI===qe?t.namespaceURI===He?"math"===n:t.namespaceURI===$e?"math"===n&&rt[r]:Boolean(it[n]):e.namespaceURI===He?!(t.namespaceURI===$e&&!rt[r])&&!(t.namespaceURI===qe&&!nt[r])&&!it[n]&&(st[n]||!ot[n]):!("application/xhtml+xml"!==Ke||!Ve[e.namespaceURI]))}(e)?(at(e),!0):"noscript"!==s&&"noembed"!==s&&"noframes"!==s||!b(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ce&&3===e.nodeType&&(t=e.textContent,u([oe,ie,ae],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(r.removed,{element:e.cloneNode()}),e.textContent=t)),pt("afterSanitizeElements",e,null),!1):(at(e),!0)},ht=function(e,t,n){if(Ne&&("id"===t||"name"===t)&&(n in s||n in Ze))return!1;if(Ae&&!be[t]&&b(le,t));else if(_e&&b(ce,t));else if(!me[t]||be[t]){if(!(mt(e)&&(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,e)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(e))&&(ye.attributeNameCheck instanceof RegExp&&b(ye.attributeNameCheck,t)||ye.attributeNameCheck instanceof Function&&ye.attributeNameCheck(t))||"is"===t&&ye.allowCustomizedBuiltInElements&&(ye.tagNameCheck instanceof RegExp&&b(ye.tagNameCheck,n)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(n))))return!1}else if(Fe[t]);else if(b(pe,g(n,de,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!Me[e])if(we&&!b(ue,g(n,de,"")));else if(n)return!1;return!0},mt=function(e){return e.indexOf("-")>0},gt=function(e){pt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:me};let s=t.length;for(;s--;){const o=t[s],{name:i,namespaceURI:a,value:l}=o,c=Xe(i);let p="value"===i?l:v(l);if(n.attrName=c,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,pt("uponSanitizeAttribute",e,n),p=n.attrValue,n.forceKeepAttr)continue;if(lt(i,e),!n.keepAttr)continue;if(!xe&&b(/\/>/i,p)){lt(i,e);continue}Ce&&u([oe,ie,ae],(e=>{p=g(p,e," ")}));const f=Xe(e.nodeName);if(ht(f,c,p)){if(!Oe||"id"!==c&&"name"!==c||(lt(i,e),p="user-content-"+p),X&&"object"==typeof $&&"function"==typeof $.getAttributeType)if(a);else switch($.getAttributeType(f,c)){case"TrustedHTML":p=X.createHTML(p);break;case"TrustedScriptURL":p=X.createScriptURL(p)}try{a?e.setAttributeNS(a,i,p):e.setAttribute(i,p),d(r.removed)}catch(e){}}}pt("afterSanitizeAttributes",e,null)},yt=function e(t){let n=null;const r=ut(t);for(pt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)pt("uponSanitizeShadowNode",n,null),ft(n)||(n.content instanceof c&&e(n.content),gt(n));pt("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,s=null,o=null,a=null;if(Ge=!e,Ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!dt(e)){if("function"!=typeof e.toString)throw _("toString is not a function");if("string"!=typeof(e=e.toString()))throw _("dirty is not a string, aborting")}if(!r.isSupported)return e;if(Ee||tt(t),r.removed=[],"string"==typeof e&&(Le=!1),Le){if(e.nodeName){const t=Xe(e.nodeName);if(!fe[t]||ve[t])throw _("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof w)n=ct("\x3c!----\x3e"),s=n.ownerDocument.importNode(e,!0),1===s.nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?n=s:n.appendChild(s);else{if(!Re&&!Ce&&!Se&&-1===e.indexOf("<"))return X&&Ie?X.createHTML(e):e;if(n=ct(e),!n)return Re?null:Ie?J:""}n&&ke&&at(n.firstChild);const l=ut(Le?e:n);for(;o=l.nextNode();)ft(o)||(o.content instanceof c&&yt(o.content),gt(o));if(Le)return e;if(Re){if(Te)for(a=te.call(n.ownerDocument);n.firstChild;)a.appendChild(n.firstChild);else a=n;return(me.shadowroot||me.shadowrootmode)&&(a=re.call(i,a,!0)),a}let d=Se?n.outerHTML:n.innerHTML;return Se&&fe["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&b(W,n.ownerDocument.doctype.name)&&(d="\n"+d),Ce&&u([oe,ie,ae],(e=>{d=g(d,e," ")})),X&&Ie?X.createHTML(d):d},r.setConfig=function(){tt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ee=!0},r.clearConfig=function(){Je=null,Ee=!1},r.isValidAttribute=function(e,t,n){Je||tt({});const r=Xe(e),s=Xe(t);return ht(r,s,n)},r.addHook=function(e,t){"function"==typeof t&&(se[e]=se[e]||[],p(se[e],t))},r.removeHook=function(e){if(se[e])return d(se[e])},r.removeHooks=function(e){se[e]&&(se[e]=[])},r.removeAllHooks=function(){se={}},r}()}()},2232:function(e,t){var n,r;n=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,s={},o=0,i={parse:function(n,r){var a=(r=r||{}).dynamicTyping||!1;if(A(a)&&(r.dynamicTypingFunction=a,a={}),r.dynamicTyping=a,r.transform=!!A(r.transform)&&r.transform,r.worker&&i.WORKERS_SUPPORTED){var l=function(){if(!i.WORKERS_SUPPORTED)return!1;var n,r,a=(n=t.URL||t.webkitURL||null,r=e.toString(),i.BLOB_URL||(i.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),l=new t.Worker(a);return l.onmessage=g,l.id=o++,s[l.id]=l}();return l.userStep=r.step,l.userChunk=r.chunk,l.userComplete=r.complete,l.userError=r.error,r.step=A(r.step),r.chunk=A(r.chunk),r.complete=A(r.complete),r.error=A(r.error),delete r.worker,void l.postMessage({input:n,config:r,workerId:l.id})}var f=null;return i.NODE_STREAM_INPUT,"string"==typeof n?(n=function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}(n),f=r.download?new c(r):new d(r)):!0===n.readable&&A(n.read)&&A(n.on)?f=new p(r):(t.File&&n instanceof File||n instanceof Object)&&(f=new u(r)),f.stream(n)},unparse:function(e,t){var n=!1,r=!0,s=",",o="\r\n",a='"',l=a+a,c=!1,u=null,d=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||i.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(s=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(c=t.skipEmptyLines),"string"==typeof t.newline&&(o=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+a),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(d=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var p=new RegExp(h(a),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return f(null,e,c);if("object"==typeof e[0])return f(u||Object.keys(e[0]),e,c)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),f(e.fields||[],e.data||[],c);throw new Error("Unable to serialize unrecognized input");function f(e,t,n){var i="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var a=Array.isArray(e)&&0=this._config.preview;if(r)t.postMessage({results:a,workerId:i.WORKER_ID,finished:c});else if(A(this._config.chunk)&&!n){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);a=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!c||!A(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(e){A(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:i.WORKER_ID,error:e,finished:!1})}}function c(e){var t;(e=e||{}).chunkSize||(e.chunkSize=i.RemoteChunkSize),l.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=_(this._chunkLoaded,this),t.onerror=_(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var s=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+s)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function u(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=i.LocalChunkSize),l.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=_(this._chunkLoaded,this),t.onerror=_(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function d(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function p(e){l.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=_((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=_((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=_((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=_((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function f(e){var t,n,r,s=Math.pow(2,53),o=-s,a=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,u=0,d=0,p=!1,f=!1,g=[],y={data:[],errors:[],meta:{}};if(A(e.step)){var v=e.step;e.step=function(t){if(y=t,x())w();else{if(w(),0===y.data.length)return;u+=t.data.length,e.preview&&u>e.preview?n.abort():(y.data=y.data[0],v(y,c))}}}function _(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function w(){return y&&r&&(S("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+i.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(y.data=y.data.filter((function(e){return!_(e)}))),x()&&function(){if(y)if(Array.isArray(y.data[0])){for(var t=0;x()&&t=g.length?"__parsed_extra":g[r]),e.transform&&(i=e.transform(i,o)),i=C(o,i),"__parsed_extra"===o?(s[o]=s[o]||[],s[o].push(i)):s[o]=i}return e.header&&(r>g.length?S("FieldMismatch","TooManyFields","Too many fields: expected "+g.length+" fields but parsed "+r,d+n):r=r.length/2?"\r\n":"\r"}(s,l)),r=!1,e.delimiter)A(e.delimiter)&&(e.delimiter=e.delimiter(s),y.meta.delimiter=e.delimiter);else{var c=function(t,n,r,s,o){var a,l,c,u;o=o||[",","\t","|",";",i.RECORD_SEP,i.UNIT_SEP];for(var d=0;d=a)return G(!0)}else for(B=u,u++;;){if(-1===(B=i.indexOf(t,B+1)))return f||w.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:_.length,index:u}),H();if(B===m-1)return H(i.substring(u,B).replace(M,t));if(t!==c||i[B+1]!==c){if(t===c||0===B||i[B-1]!==c){-1!==D&&D=a)return G(!0);break}w.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:_.length,index:u}),B++}}else B++}return H();function q(e){_.push(e),C=u}function $(e){var t=0;if(-1!==e){var n=i.substring(B+1,e);n&&""===n.trim()&&(t=n.length)}return t}function H(e){return f||(void 0===e&&(e=i.substring(u)),x.push(e),u=m,q(x),b&&V()),G()}function W(e){u=e,q(x),x=[],U=i.indexOf(r,u)}function G(e){return{data:_,errors:w,meta:{delimiter:n,linebreak:r,aborted:d,truncated:!!e,cursor:C+(p||0)}}}function V(){o(G()),_=[],w=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return u}}function g(e){var t=e.data,n=s[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var o={abort:function(){r=!0,y(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(A(n.userStep)){for(var i=0;i{"use strict";var r=n(7200);function s(){}function o(){}o.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,o,i){if(i!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:s};return n.PropTypes=n,n}},900:(e,t,n)=>{e.exports=n(7336)()},7200:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4108:(e,t,n)=>{"use strict";var r=n(1280),s=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:s,type:e,key:c,ref:u,props:o,_owner:a.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},7e3:(e,t,n)=>{"use strict";e.exports=n(4108)},3736:e=>{e.exports=function(e,t,n,r){var s=n?n.call(r,e,t):void 0;if(void 0!==s)return!!s;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),l=0;l{"use strict";var t=[];function n(e){for(var n=-1,r=0;r{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},2940:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},9516:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7020:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var s=void 0!==n.layer;s&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,s&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9296:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},3376:(e,t,n)=>{"use strict";n.d(t,{cp:()=>Ut});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n2||H(j)>3?"":" "}function V(e,t){for(;--t&&F()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return $(e,q()+(t<6&&32==z()&&32==F()))}function Y(e){for(;F();)switch(j){case e:return L;case 34:case 39:34!==e&&39!==e&&Y(j);break;case 40:41===e&&Y(e);break;case 92:F()}return L}function K(e,t){for(;F()&&e+j!==57&&(e+j!==84||47!==z()););return"/*"+$(t,L-1)+"*"+b(47===e?e:F())}function Q(e){for(;!H(z());)F();return $(e,L)}function X(e,t){for(var n="",r=0;r6)switch(S(e,t+1)){case 109:if(45!==S(e,t+4))break;case 102:return x(e,/(.+:)(.+)-([^]+)/,"$1"+d+"$2-$3$1"+u+(108==S(e,t+3)?"$3":"$2-$3"))+e;case 115:return~C(e,"stretch")?Z(x(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return x(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,s,o,i,a){return c+n+":"+r+a+(s?c+n+"-span:"+(o?i:+i-+r)+a:"")+e}));case 4949:if(121===S(e,t+6))return x(e,":",":"+d)+e;break;case 6444:switch(S(e,45===S(e,14)?18:11)){case 120:return x(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+d+(45===S(e,14)?"inline-":"")+"box$3$1"+d+"$2$3$1"+c+"$2box$3")+e;case 100:return x(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return x(e,"scroll-","scroll-snap-")+e}return e}function ee(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case h:return void(e.return=Z(e.value,e.length,n));case g:return X([M(e,{value:x(e.value,"@","@"+d)})],r);case f:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(w(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":B(M(e,{props:[x(t,/:(read-\w+)/,":"+u+"$1")]})),B(M(e,{props:[t]})),_(e,{props:I(n,r)});break;case"::placeholder":B(M(e,{props:[x(t,/:(plac\w+)/,":"+d+"input-$1")]})),B(M(e,{props:[x(t,/:(plac\w+)/,":"+u+"$1")]})),B(M(e,{props:[x(t,/:(plac\w+)/,c+"input-$1")]})),B(M(e,{props:[t]})),_(e,{props:I(n,r)})}return""}))}}function te(e){return function(e){return D="",e}(ne("",null,null,null,[""],e=function(e){return N=O=1,P=k(D=e),L=0,[]}(e),0,[0],e))}function ne(e,t,n,r,s,o,i,a,l){for(var c=0,u=0,d=i,p=0,f=0,h=0,m=1,g=1,y=1,v=0,_="",A=s,w=o,E=r,R=_;g;)switch(h=v,v=F()){case 40:if(108!=h&&58==S(R,d-1)){-1!=C(R+=x(W(v),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:R+=W(v);break;case 9:case 10:case 13:case 32:R+=G(h);break;case 92:R+=V(q()-1,7);continue;case 47:switch(z()){case 42:case 47:T(se(K(F(),q()),t,n,l),l);break;default:R+="/"}break;case 123*m:a[c++]=k(R)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==y&&(R=x(R,/\f/g,"")),f>0&&k(R)-d&&T(f>32?oe(R+";",r,n,d-1,l):oe(x(R," ","")+";",r,n,d-2,l),l);break;case 59:R+=";";default:if(T(E=re(R,t,n,c,u,s,a,_,A=[],w=[],d,o),o),123===v)if(0===u)ne(R,t,E,E,A,o,d,a,w);else switch(99===p&&110===S(R,3)?100:p){case 100:case 108:case 109:case 115:ne(e,E,E,r&&T(re(e,E,E,0,0,s,a,_,s,A=[],d,w),w),s,w,d,a,r?A:w);break;default:ne(R,E,E,E,[""],w,0,a,w)}}c=u=f=0,m=y=1,_=R="",d=i;break;case 58:d=1+k(R),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==(j=L>0?S(D,--L):0,O--,10===j&&(O=1,N--),j))continue;switch(R+=b(v),v*m){case 38:y=u>0?1:(R+="\f",-1);break;case 44:a[c++]=(k(R)-1)*y,y=1;break;case 64:45===z()&&(R+=W(F())),p=z(),u=d=k(_=R+=Q(q())),v++;break;case 45:45===h&&2==k(R)&&(m=0)}}return o}function re(e,t,n,r,s,o,i,a,l,c,u,d){for(var p=s-1,h=0===s?o:[""],m=R(h),g=0,y=0,b=0;g0?h[_]+" "+w:x(w,/&\f/g,h[_])))&&(l[b++]=C);return U(e,t,n,0===s?f:a,l,c,u,d)}function se(e,t,n,r){return U(e,t,n,p,b(j),E(e,2,-2),0,r)}function oe(e,t,n,r,s){return U(e,t,n,h,E(e,0,r),E(e,r+1,-1),r,s)}const ie={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ae="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",le="undefined"!=typeof window&&"HTMLElement"in window,ce=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),ue=(new Set,Object.freeze([])),de=Object.freeze({}),pe=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),fe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,he=/(^-|-$)/g;function me(e){return e.replace(fe,"-").replace(he,"")}var ge=/(a)(d)/gi,ye=function(e){return String.fromCharCode(e+(e>25?39:97))};function ve(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ye(t%52)+n;return(ye(t%52)+n).replace(ge,"$1-$2")}var be,_e=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Ae=function(e){return _e(5381,e)};function we(e){return"string"==typeof e&&!0}var xe="function"==typeof Symbol&&Symbol.for,Ce=xe?Symbol.for("react.memo"):60115,Se=xe?Symbol.for("react.forward_ref"):60112,Ee={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ke={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Re={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Te=((be={})[Se]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},be[Ce]=Re,be);function Ie(e){return("type"in(t=e)&&t.type.$$typeof)===Ce?Re:"$$typeof"in e?Te[e.$$typeof]:Ee;var t}var Ne=Object.defineProperty,Oe=Object.getOwnPropertyNames,Pe=Object.getOwnPropertySymbols,Le=Object.getOwnPropertyDescriptor,je=Object.getPrototypeOf,De=Object.prototype;function Ue(e,t,n){if("string"!=typeof t){if(De){var r=je(t);r&&r!==De&&Ue(e,r,n)}var s=Oe(t);Pe&&(s=s.concat(Pe(t)));for(var o=Ie(e),i=Ie(t),a=0;a0?" Args: ".concat(t.join(", ")):""))}var Ge=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,s=r;e>=s;)if((s<<=1)<0)throw We(16,"".concat(e));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var o=r;o=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),s=r+n,o=r;o=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))})),r+="".concat(i).concat(a,'{content:"').concat(l,'"}').concat("/*!sc*/\n")},o=0;o0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===f&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(ut,n).replace(r,c))})),i.prefix&&u.push(ee),u.push(J);var d=function(e,s,o,a){void 0===s&&(s=""),void 0===o&&(o=""),void 0===a&&(a="&"),t=a,n=s,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(dt,""),c=te(o||s?"".concat(o," ").concat(s," { ").concat(l," }"):l);i.namespace&&(c=pt(c,i.namespace));var d,p,f,h=[];return X(c,(d=u.concat((f=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&f(e)})),p=R(d),function(e,t,n,r){for(var s="",o=0;o="A"&&e<="Z"};function wt(e){for(var t="",n=0;n>>0);if(!t.hasNameForId(this.componentId,o)){var i=n(s,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,i)}r=Fe(r,o),this.staticRulesId=o}else{for(var a=_e(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=Fe(r,p)}}return r},e}(),Tt=i().createContext(void 0);Tt.Consumer;var It={};function Nt(e,t,n){var s=Be(e),a=e,l=!we(e),c=t.attrs,u=void 0===c?ue:c,d=t.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":me(e);It[n]=(It[n]||0)+1;var r="".concat(n,"-").concat(function(e){return ve(Ae(e)>>>0)}("6.1.1"+n+It[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):d,f=t.displayName,h=void 0===f?function(e){return we(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):f,m=t.displayName&&t.componentId?"".concat(me(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&a.attrs?a.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(s&&a.shouldForwardProp){var v=a.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;y=function(e,t){return v(e,t)&&b(e,t)}}else y=v}var _=new Rt(n,m,s?a.componentStyle:void 0);function A(e,t){return function(e,t,n){var s=e.attrs,a=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=i().useContext(Tt),f=vt(),h=e.shouldForwardProp||f.shouldForwardProp,m=function(e,t,n){for(var s,o=r(r({},t),{className:void 0,theme:n}),i=0;i2&&ct.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=nt(),r=ze([n&&'nonce="'.concat(n,'"'),"".concat(ae,'="true"'),"".concat("data-styled-version",'="').concat("6.1.1",'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw We(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw We(2);var n=((t={})[ae]="",t["data-styled-version"]="6.1.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),s=nt();return s&&(n.nonce=s),[i().createElement("style",r({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ct({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw We(2);return i().createElement(bt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw We(3)}}(),"__sc-".concat(ae,"__")},4928:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("audio",{className:"edit-audio-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["audio"],className:e,icon:"format-audio",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const d=u},2312:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(7e3),s=n(900),o=n.n(s),i=n(7287);const a=({label:e,value:t,options:n,onChange:s})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BaseControl,{label:e}),n.map((e=>(0,r.jsx)(i.CheckboxControl,{label:e.label,checked:t.includes(e.value),onChange:n=>{s(n?[...t,e.value]:[...t.filter((t=>t!==e.value))])}})))]});a.propTypes={label:o().string.isRequired,value:o().arrayOf(o().string).isRequired,options:o().arrayOf(o().shape({label:o().string.isRequired,value:o().string.isRequired})).isRequired,onChange:o().func.isRequired};const l=a},8312:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(7e3),s=n(1280),o=n.n(s),i=n(3396),a=n(900),l=n.n(a),c=n(5328);class u extends o().PureComponent{static handleSubmit(e){e.preventDefault()}constructor(e){super(e),this.handleChange=this.handleChange.bind(this),this.state={error:"",success:""}}handleChange(e){const{attributeName:t,callback:n,setAttributes:r}=this.props;e.target.files&&e.target.files[0]&&(0,c.parseCSVFile)(e.target.files[0]).then((e=>n?n(e):e)).then((e=>{Array.isArray(e)&&e.length>0?(this.setState({error:"",success:(0,i.__)("Successfully read CSV data.","alley-scripts")}),r({[t]:JSON.stringify(e)})):this.setState({error:(0,i.__)("Could not map CSV data. Please check the source file to ensure that it has the correct structure.","alley-scripts"),success:""})})).catch((e=>{this.setState({error:e,success:""})}))}render(){const{error:e="",success:t=""}=this.state;return(0,r.jsxs)("div",{className:"alley-scripts-block-csv-uploader",children:[(0,r.jsx)("h2",{children:(0,i.__)("Upload CSV","alley-scripts")}),(0,r.jsxs)("form",{onSubmit:this.handleSubmit,children:[""!==e?(0,r.jsxs)("div",{style:{color:"#c00"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Error:","alley-scripts")})," ",e]}):null,""!==t?(0,r.jsxs)("div",{style:{color:"#0c0"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Success:","alley-scripts")})," ",t]}):null,(0,r.jsx)("div",{children:(0,r.jsxs)("label",{htmlFor:"alley-scripts-block-csv-uploader-file",children:[(0,r.jsx)("p",{children:(0,i.__)("Select a file to load data.","alley-scripts")}),(0,r.jsx)("input",{id:"alley-scripts-block-csv-uploader-file",onChange:this.handleChange,type:"file"})]})})]})]})}}u.defaultProps={callback:null},u.propTypes={attributeName:l().string.isRequired,callback:l().func,setAttributes:l().func.isRequired}},8348:(e,t,n)=>{"use strict";n.d(t,{default:()=>p});var r=n(7e3),s=n(3396),o=n(900),i=n.n(o),a=n(3376),l=n(7720);const c=a.cp.div` + box-sizing: border-box; + flex-shrink: 0; + height: auto; + max-height: 1450px; + max-width: 1450px; + min-height: 20px; + min-width: 20px; + position: relative; + width: auto; +`,u=({src:e})=>(0,r.jsx)(c,{children:(0,r.jsx)("img",{alt:(0,s.__)("Edit image","alley-scripts"),className:"edit-image-preview",src:e,title:(0,s.__)("Edit image","alley-scripts")})});u.propTypes={src:i().string.isRequired};const d=({className:e,imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,value:a,valueURL:c})=>(0,r.jsx)(l.MediaPicker,{allowedTypes:["image"],className:e,icon:"format-image",imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,preview:u,value:a,valueURL:c});d.defaultProps={className:"",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,valueURL:""},d.propTypes={className:i().string,imageSize:i().string,displayControlsInToolbar:i().bool,onReset:i().func.isRequired,onUpdate:i().func.isRequired,onUpdateURL:i().func,value:i().number.isRequired,valueURL:i().string};const p=d},7720:(e,t,n)=>{"use strict";n.d(t,{AudioPicker:()=>r.default,CSVUploader:()=>o.default,Checkboxes:()=>s.default,ImagePicker:()=>i.default,MediaPicker:()=>a.default,PostPicker:()=>c.default,PostSelector:()=>u.default,SafeHtml:()=>l.default,Selector:()=>d.default,Sortable:()=>p.default,SortableItem:()=>f.default,TermSelector:()=>h.default,VideoPicker:()=>m.default});var r=n(4928),s=n(2312),o=n(8312),i=n(8348),a=n(5680),l=n(9160),c=n(4808),u=n(8800),d=n(9064),p=n(8504),f=n(1917),h=n(668),m=n(5316)},5680:(e,t,n)=>{"use strict";n.d(t,{default:()=>m});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(9528),l=n(7287),c=n(7752),u=n(3396),d=n(5328);const p=i.cp.div` + display: block; + position: relative; +`,f=i.cp.div` + background: white; + border: 1px solid black; + padding: 1em; +`,h=({allowedTypes:e,className:t,icon:n,imageSize:s,displayControlsInToolbar:o,onReset:i,onUpdate:h,onUpdateURL:m,preview:g,value:y,valueURL:v})=>{const{media:b}=(0,c.useSelect)((e=>({media:y?e("core").getMedia(y):void 0})),[y]);if(0!==y&&null===b)return(0,r.jsx)(l.Spinner,{});const _=b?(0,d.getMediaUrl)(b,s):v;return _?(0,r.jsxs)(p,{className:t,children:[g?(0,r.jsx)(g,{src:_}):(0,r.jsxs)(f,{className:"alley-scripts-media-picker__preview",children:[(0,r.jsx)("p",{children:(0,u.__)("Selected file:","alley-scripts")}),(0,r.jsx)("p",{children:(0,r.jsx)("a",{href:_,children:_})})]}),o?(0,r.jsx)(a.BlockControls,{group:"other",children:(0,r.jsx)(a.MediaReplaceFlow,{name:(0,u.__)("Edit Media","alley-scripts"),mediaId:y,mediaURL:_,allowedTypes:e,onSelect:h,onSelectURL:m,children:(0,r.jsx)(l.ToolbarButton,{isDestructive:!0,text:(0,u.__)("Remove","alley-scripts"),onClick:i})})}):(0,r.jsx)(l.Button,{variant:"primary",onClick:i,children:(0,u.__)("Reset","alley-scripts")})]}):(0,r.jsx)(p,{className:t,children:(0,r.jsx)(a.MediaPlaceholder,{allowedTypes:e,disableMediaButtons:!!v,icon:(0,r.jsx)(a.BlockIcon,{icon:n}),onSelect:h,onSelectURL:m,value:{id:y,src:_}})})};h.defaultProps={allowedTypes:[],className:"",icon:"format-aside",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,preview:null,valueURL:""},h.propTypes={allowedTypes:o().arrayOf(o().string),className:o().string,icon:o().string,imageSize:o().string,displayControlsInToolbar:o().bool,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,preview:o().element,value:o().number.isRequired,valueURL:o().string};const m=h},4808:(e,t,n)=>{"use strict";n.d(t,{default:()=>F});var r=n(7e3),s=n(1280),o=n(3376),i=n(7287),a=n(3396),l=n(7204),c=n(2e3),u=n(2108),d=n.n(u),p=n(7020),f=n.n(p),h=n(7240),m=n.n(h),g=n(9516),y=n.n(g),v=n(2940),b=n.n(v),_=n(9296),A=n.n(_),w=n(9680),x={};x.styleTagTransform=A(),x.setAttributes=y(),x.insert=m().bind(null,"head"),x.domAPI=f(),x.insertStyleElement=b(),d()(w.c,x),w.c&&w.c.locals&&w.c.locals;var C=n(4632),S=n.n(C),E=n(6484),k=n.n(E),R=n(7424),T={};T.styleTagTransform=A(),T.setAttributes=y(),T.insert=m().bind(null,"head"),T.domAPI=f(),T.insertStyleElement=b(),d()(R.c,T),R.c&&R.c.locals&&R.c.locals;const I=window.wp.htmlEntities;var N=n(9160);const O=o.cp.div` + align-items: center; + gap: 4px; + overflow-wrap: anywhere; + display: flex; + flex-direction: column; + justify-content: center; + padding: 0.5rem 0.75rem; +`,P=({title:e,postType:t,attachmentID:n})=>{const s=(0,c.useMedia)(n),o=s?.media_details?.sizes?.thumbnail?.source_url,i=s?.alt_text??"";return(0,r.jsxs)(O,{children:[o?(0,r.jsx)("img",{style:{maxWidth:"100%",height:"auto"},loading:"lazy",src:o,alt:i}):null,(0,r.jsx)(N.default,{html:(0,I.decodeEntities)(e),className:"post-picker-result-title",tag:"strong"}),(0,a.sprintf)(" (%s)",t)]})},L=({baseUrl:e,searchRender:t,selected:n,setSelected:o,suppressPostIds:c=[]})=>{const[u,d]=(0,s.useState)(!1),[p,f]=(0,s.useState)([]),[h,m]=(0,s.useState)(!1),[g,y]=(0,s.useState)(0),[v,b]=(0,s.useState)({searchValue:"",page:1}),_=(0,s.useCallback)((async(t,n=!1)=>{if(t.searchValue&&t.searchValue.length<=2)return;const r=function(){let n=(0,l.addQueryArgs)(e,{page:t.page,_embed:1,exclude:c.join(",")});return t.searchValue&&t.searchValue.length>2&&(n=(0,l.addQueryArgs)(n,{search:t.searchValue})),n}();d(!0);const s=await S()({path:r,parse:!1});y(parseInt(s.headers.get("X-WP-TotalPages"),10));const o=await s.json();let i=o;t.page>1&&(i=[...p,...o]),n||(f(i),d(!1))}),[p,e,c]);return(0,s.useEffect)((()=>{let e=!1;return h||(m(!0),_(v,e)),()=>{e=!0}}),[_,h,v]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.TextControl,{value:v.searchValue,placeholder:(0,a.__)("Search...","alley-scripts"),label:(0,a.__)("Search","alley-scripts"),onChange:e=>{const t={...v,searchValue:e,page:1};b(t),_(t)}}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__post-list",children:[p?p.map((e=>(0,r.jsx)(i.Button,{className:k()({"alley-scripts-post-picker__post":!0,"is-selected":e.id===n}),onClick:()=>o(e.id),children:t?t(e):(0,r.jsx)(P,{title:e.title,postType:e.subtype,attachmentID:e?._embedded?.self[0]?.featured_media})},e.id))):null,u?(0,r.jsx)(i.Spinner,{}):null,g>0&&v.page{const e={...v,page:v.page+1};b(e),_(e)},children:(0,a.__)("Load More","alley-scripts")})}):null]})]})},j=({baseUrl:e,closeModal:t,modalTitle:n,onUpdate:o,searchRender:l,suppressPostIds:c=[]})=>{const[u,d]=(0,s.useState)();return(0,r.jsxs)(i.Modal,{className:"alley-scripts-post-picker__modal",isDismissible:!0,title:n,onRequestClose:t,closeButtonLabel:"Close",children:[(0,r.jsx)(L,{baseUrl:e,selected:u??0,setSelected:d,searchRender:l,suppressPostIds:c}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__buttons",children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:t,children:(0,a.__)("Cancel","alley-scripts")}),(0,r.jsx)(i.Button,{variant:"primary",onClick:()=>{u&&(o(u),t())},disabled:!u,children:(0,a.__)("Select","alley-scripts")})]})]})};var D=n(3800),U={};U.styleTagTransform=A(),U.setAttributes=y(),U.insert=m().bind(null,"head"),U.domAPI=f(),U.insertStyleElement=b(),d()(D.c,U),D.c&&D.c.locals&&D.c.locals;const M=o.cp.div` + display: block; + position: relative; +`,B=o.cp.div` + border: 1px solid #eee; + display: flex; + flex-direction: column; + margin: 5px 0; + padding: 0.5rem 0.75rem; + text-align: center; +`,F=({allowedTypes:e,className:t,getPostType:n,modalTitle:o=(0,a.__)("Select Post","alley-scripts"),onReset:u,onUpdate:d,params:p={},previewRender:f,replaceText:h=(0,a.__)("Replace","alley-scripts"),resetText:m=(0,a.__)("Reset","alley-scripts"),searchEndpoint:g="/wp/v2/search",searchRender:y,selectText:v=(0,a.__)("Select","alley-scripts"),suppressPostIds:b=[],title:_="",value:A=0})=>{const[w,x]=(0,s.useState)(!1),C=(0,l.addQueryArgs)(g,{type:"post",subtype:e??"any",...p}),S=(0,c.usePostById)(A,n),{featured_media:E,title:{rendered:k=""}={},type:R=""}=S||{},T=()=>{x(!0)},I=()=>(0,r.jsxs)(i.ButtonGroup,{children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:u,style:{margin:"0 4px"},children:m}),(0,r.jsx)(i.Button,{variant:"secondary",onClick:T,style:{margin:"0 4px"},children:h})]});return 0!==A&&null===S?(0,r.jsx)(i.Spinner,{}):(0,r.jsxs)(M,{className:t,children:[_?(0,r.jsx)("h4",{children:_}):null,0!==A&&void 0===S?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Notice,{status:"error",isDismissible:!1,className:"post-picker-notice",children:(0,r.jsx)("p",{children:(0,a.sprintf)((0,a.__)("Post %d is no longer available; it has been unpublished or deleted","alley-scripts"),A)})}),I()]}):null,0!==A&&void 0!==S?(0,r.jsxs)(r.Fragment,{children:[void 0!==f?f(S):(0,r.jsx)(B,{children:(0,r.jsx)(P,{title:k,postType:R,attachmentID:E})}),I()]}):null,0===A?(0,r.jsx)(i.Button,{onClick:T,variant:"secondary",children:v}):null,w?(0,r.jsx)(j,{closeModal:()=>{x(!1)},baseUrl:C,modalTitle:o,onUpdate:d,searchRender:y,suppressPostIds:b}):null]})}},8800:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d})=>(0,r.jsx)(a.Selector,{type:"post",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d});l.defaultProps={className:"",emptyLabel:(0,i.__)("No posts found","alley-scripts"),label:(0,i.__)("Search for posts","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for posts","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},9160:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(6595),o=n.n(s),i=n(900),a=n.n(i);const l=({className:e,html:t,tag:n})=>(0,r.jsx)(n,{className:e,dangerouslySetInnerHTML:{__html:o().sanitize(t)}});l.defaultProps={className:""},l.propTypes={className:a().string,html:a().string.isRequired,tag:a().string.isRequired};const c=l},9064:(e,t,n)=>{"use strict";n.d(t,{default:()=>M});var r=n(7e3),s=n(900),o=n.n(s),i=n(1280),a=n(4632),l=n.n(a),c=n(6484),u=n.n(c),d=n(7287),p=n(3396),f=n(7204);const h={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let m;const g=new Uint8Array(16);function y(){if(!m&&(m="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!m))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return m(g)}const v=[];for(let e=0;e<256;++e)v.push((e+256).toString(16).slice(1));const b=function(e,t,n){if(h.randomUUID&&!t&&!e)return h.randomUUID();const r=(e=e||{}).random||(e.rng||y)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return v[e[t+0]]+v[e[t+1]]+v[e[t+2]]+v[e[t+3]]+"-"+v[e[t+4]]+v[e[t+5]]+"-"+v[e[t+6]]+v[e[t+7]]+"-"+v[e[t+8]]+v[e[t+9]]+"-"+v[e[t+10]]+v[e[t+11]]+v[e[t+12]]+v[e[t+13]]+v[e[t+14]]+v[e[t+15]]}(r)};var _=n(2e3);const A=({emptyLabel:e,error:t,id:n,isOpen:s,labelledbyId:o,loading:i,onSelect:a,options:l,selectedItems:c,threshold:f,value:h})=>{if(!i&&(""===h||f>h.length))return null;let m="",g="";return i?(m="loading",g=(0,p.__)("Loading...","alley-scripts")):t?(m="error",g=t):i||0!==l.length||(m="no-posts",g=e),i||!i&&(h&&0===l.length||t)?(0,r.jsx)("div",{"aria-busy":!0,className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("div",{className:u()("autocomplete__dropdown--notice",`autocomplete__${m}`),children:g})}):(0,r.jsx)("div",{className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("ul",{role:"listbox","aria-labelledby":o,id:n,className:u()("autocomplete__dropdown--results","autocomplete__list"),children:l.map((e=>(0,r.jsx)("li",{className:"autocomplete__list--item",children:(0,r.jsx)(d.Button,{onClick:()=>a(e),type:"button",disabled:c.some((t=>t.id===e.id)),isTertiary:!0,children:e.title})},e.id)))})})};A.propTypes={emptyLabel:o().string.isRequired,error:o().string.isRequired,id:o().string.isRequired,isOpen:o().bool.isRequired,labelledbyId:o().string.isRequired,loading:o().bool.isRequired,options:o().arrayOf(o().shape({label:o().string,value:o().string})).isRequired,onSelect:o().func.isRequired,selectedItems:o().shape([]).isRequired,threshold:o().number.isRequired,value:o().string.isRequired};const w=A;var x=n(2108),C=n.n(x),S=n(7020),E=n.n(S),k=n(7240),R=n.n(k),T=n(9516),I=n.n(T),N=n(2940),O=n.n(N),P=n(9296),L=n.n(P),j=n(5500),D={};D.styleTagTransform=L(),D.setAttributes=I(),D.insert=R().bind(null,"head"),D.domAPI=E(),D.insertStyleElement=O(),C()(j.c,D),j.c&&j.c.locals&&j.c.locals;const U=({type:e,className:t,emptyLabel:n,label:s,maxPages:o,multiple:a,onSelect:c,placeholder:p,subTypes:h,selected:m,threshold:g})=>{const y=b(),[v,A]=(0,i.useState)(""),[x,C]=(0,i.useState)([]),[S,E]=(0,i.useState)(!1),[k,R]=(0,i.useState)(!1),[T,I]=(0,i.useState)(""),[N,O]=(0,i.useState)([]),P=(0,i.useRef)(),L=(0,_.useDebounce)(T,750),j=(0,i.useCallback)((async(t=1)=>{if(L.length0?h.join(","):"any",type:e});await l()({path:r,parse:!1}).then((e=>{const t=parseInt(e.headers.get("X-WP-TotalPages"),10);return n=t>o?o:t,e.json()})).then((e=>{C((t=>[...t,...e])),R(!1),(n&&n>t||t>=1&&a&&N.length>0)&&j(t+1)})).catch((e=>A(e.message)))}),[L,e,o,a,h,N.length,g]);(0,i.useEffect)((()=>{O(m)}),[m]),(0,i.useEffect)((()=>{L&&g<=L.length?j():C([])}),[L,j,g]);const D=e=>{E(P.current.contains(e.target))},U=e=>{"Escape"===e.key&&E(!1)};(0,i.useEffect)((()=>(document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)))),(0,i.useEffect)((()=>(P&&document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D))));const M=e=>{let t=[];if(N.some((t=>t.id===e.id))){const n=N.findIndex((t=>t.id===e.id));t=[...N.slice(0,n),...N.slice(n+1,N.length)]}else a?t=[...N,e]:(t=[e],E(!1));O(t),c(t)};return(0,r.jsx)("form",{className:"autocomplete__component",onSubmit:e=>e.preventDefault(),children:(0,r.jsxs)("div",{className:u()("components-base-control","autocomplete-base-control",t),ref:P,children:[(0,r.jsxs)("div",{"aria-expanded":S,"aria-haspopup":"listbox","aria-owns":`listbox-${y}`,className:u()("components-base-control__field","autocomplete-base-control__field"),role:"combobox",children:[(0,r.jsx)("label",{className:u()("components-base-control__label","autocomplete-base-control__label"),htmlFor:`autocomplete-${y}`,children:(0,r.jsx)("div",{children:s})}),N.length>0?(0,r.jsx)("ul",{role:"listbox","aria-labelledby":`autocomplete-${y}`,id:`selected-items-${y}`,className:u()("autocomplete__selection--results","autocomplete__selection-list"),children:N.map((e=>(0,r.jsx)("li",{className:"autocomplete__selection-list--item",children:(0,r.jsx)(d.Button,{className:"autocomplete__selection-list--item--button",isSecondary:!0,isSmall:!0,onClick:()=>M(e),type:"button",children:e.title})},e.title)))}):null,(0,r.jsx)("input",{"aria-autocomplete":"list",autoComplete:"off",className:u()("components-text-control__input","autocomplete-text-control__input",{"autocomplete-text-control__input--working":S}),id:`autocomplete-${y}`,onChange:e=>I(e.target.value),onFocus:()=>E(!0),placeholder:p,type:"text",value:T})]}),(0,r.jsx)(w,{emptyLabel:n,error:v,labelledById:`autocomplete-${y}`,id:`listbox-${y}`,isOpen:S,loading:k&&L,onSelect:M,options:x,selectedItems:N,threshold:g,value:L})]})})};U.defaultProps={type:"post",className:"",emptyLabel:(0,p.__)("No items found","alley-scripts"),label:(0,p.__)("Search for items","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,p.__)("Search for items","alley-scripts"),subTypes:[],selected:[],threshold:3},U.propTypes={type:o().string,className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const M=U},1917:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,index:t,list:n,setList:i}){return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(s.Button,{disabled:0===t,icon:"arrow-up-alt2",label:(0,o.__)("Move up","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t-1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{disabled:t===n.length-1,icon:"arrow-down-alt2",label:(0,o.__)("Move down","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t+1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{icon:"trash",label:(0,o.__)("Remove","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t,1),i(e)}})]}),(0,r.jsx)("div",{children:e})]})}},8504:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,emptyItem:t,list:n,setList:i}){return(0,r.jsxs)(r.Fragment,{children:[e,(0,r.jsx)("div",{style:{margin:"1em 0"},children:(0,r.jsx)(s.Button,{icon:"plus",onClick:()=>i([...n,t]),variant:"primary",children:(0,o.__)("Add Item","alley-scripts")})})]})}},668:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d})=>(0,r.jsx)(a.Selector,{type:"term",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d});l.defaultProps={className:"",emptyLabel:(0,i.__)("No terms found","alley-scripts"),label:(0,i.__)("Search for terms","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for terms","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},5316:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("video",{className:"edit-video-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["video"],className:e,icon:"format-video",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const d=u},2e3:(e,t,n)=>{"use strict";n.d(t,{useCurrentPostId:()=>h.default,useDebounce:()=>r.default,useHasInnerBlocks:()=>s.default,useInnerBlocks:()=>i.default,useInnerBlocksAttributes:()=>a.default,useInnerBlocksCount:()=>l.default,useInnerBlocksIndex:()=>o.default,useMedia:()=>c.default,useOption:()=>u.default,useParentBlock:()=>d.default,useParentBlockAttributes:()=>p.default,usePost:()=>f.default,usePostById:()=>m.default,usePostMeta:()=>g.default,usePostMetaValue:()=>y.default,usePosts:()=>v.default,useTerms:()=>b.default});var r=n(7112),s=n(6980),o=n(6644),i=n(864),a=n(8512),l=n(1344),c=n(592),u=n(7188),d=n(224),p=n(8004),f=n(1744),h=n(9695),m=n(9480),g=n(6504),y=n(3772),v=n(4704),b=n(1848)},9695:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=()=>(0,r.useSelect)((e=>{const t=e("core/editor");return t?t.getCurrentPostId():null}),[])},7112:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(1280);const s=(e,t)=>{const[n,s]=(0,r.useState)(e);return(0,r.useEffect)((()=>{const n=setTimeout((()=>{s(e)}),t);return()=>{clearTimeout(n)}}),[e,t]),n}},6980:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocksCount)(e)>0},6644:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>{const t=(0,r.useParentBlock)(e),n=(0,r.useInnerBlocks)(t);return n?n.findIndex((t=>t.clientId===e)):-1}},8512:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).map((e=>e.attributes))},1344:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).length},864:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>t(r.store).getBlocks(e)),[e])},592:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=e=>(0,r.useSelect)((t=>t("core").getMedia(e)),[e])},7188:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=function(e){const t=(0,r.useSelect)((t=>{const{getEditedEntityRecord:n,getEntityRecordEdits:r,isSavingEntityRecord:s}=t("core"),o=n("root","site"),i=r("root","site");return{value:o?.[e],isEdited:!!i?.[e],isSaving:s("root","site")}}),[]),{editEntityRecord:n,saveEntityRecord:s}=(0,r.useDispatch)("core");return{...t,onChange:function(t){n("root","site",void 0,{[e]:t})},onSave:async function(){await s("root","site",{[e]:t.value})}}}},8004:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlockAttributes:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},224:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlock:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},9480:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(1280),s=n(4632),o=n.n(s),i=n(7204),a=n(1744);const l=(e,t=null)=>{const[n,s]=(0,r.useState)({}),[l,c]=(0,r.useState)(!0);(0,r.useEffect)((()=>{c(!0),e&&!n[e]?(async()=>{if(t){const n=await t(e);n?s((t=>({...t,[e]:n}))):console.error(`Custom function to get post with ID ${e} failed.`)}else{const t=(0,i.addQueryArgs)("/wp/v2/search",{include:e}),n=await o()({path:t});n.length>0&&s((t=>({...t,[e]:n[0]?.subtype})))}c(!1)})():e&&n[e]&&c(!1)}),[e]);const u=(0,a.default)(e,n[e]??"");return l||!u&&n[e]?null:u}},3772:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=(e,t=null,n=null)=>{const[s,o]=(0,r.usePostMeta)(t,n);return[s[e],t=>o({...s,[e]:t})]}},6504:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null)=>{const n=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[o,i]=(0,r.useEntityProp)("postType",n,"meta",t),a="function"==typeof i?i:()=>console.error(`Error attempting to set post meta for post type ${n}. Does it have support for custom-fields?`);return["object"==typeof o?o:{},e=>a({...e})]}},1744:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>n("core").getEntityRecord("postType",t,e)),[e,t])},4704:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>{const{getEntityRecords:r}=n("core");return r("postType",t,{include:e})}),[e,t])},1848:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null,n="categories")=>{const o=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[i,a]=(0,r.useEntityProp)("postType",o,n,t);return[i,e=>a(e)]}},5328:(e,t,n)=>{"use strict";n.d(t,{getMediaUrl:()=>i.c,parseCSVFile:()=>o});var r=n(2232),s=n.n(r);const o=e=>new Promise(((t,n)=>{s().parse(e,{complete:e=>t(e.data),dynamicTyping:!0,error:e=>n(e),header:!0,skipEmptyLines:!0})}));var i=n(6199)},6199:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=(e,t="full")=>{const{media_details:{sizes:{[t]:{source_url:n=""}={},full:{source_url:r=""}={}}={}}={},sizes:{[t]:{url:s=""}={},full:{url:o=""}={}}={},source_url:i="",url:a=""}=e;return s||n||o||r||a||i||""}},1280:e=>{"use strict";e.exports=window.React},4632:e=>{"use strict";e.exports=window.wp.apiFetch},9528:e=>{"use strict";e.exports=window.wp.blockEditor},7287:e=>{"use strict";e.exports=window.wp.components},3048:e=>{"use strict";e.exports=window.wp.coreData},7752:e=>{"use strict";e.exports=window.wp.data},3396:e=>{"use strict";e.exports=window.wp.i18n},7204:e=>{"use strict";e.exports=window.wp.url}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,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 r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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.nc=void 0;var r={};return(()=>{"use strict";n.r(r),n.d(r,{AudioPicker:()=>e.AudioPicker,CSVUploader:()=>e.CSVUploader,Checkboxes:()=>e.Checkboxes,ImagePicker:()=>e.ImagePicker,MediaPicker:()=>e.MediaPicker,PostPicker:()=>e.PostPicker,PostSelector:()=>e.PostSelector,SafeHtml:()=>e.SafeHtml,Selector:()=>e.Selector,Sortable:()=>e.Sortable,SortableItem:()=>e.SortableItem,TermSelector:()=>e.TermSelector,VideoPicker:()=>e.VideoPicker,getMediaUrl:()=>s.getMediaUrl,parseCSVFile:()=>s.parseCSVFile,useCurrentPostId:()=>t.useCurrentPostId,useDebounce:()=>t.useDebounce,useHasInnerBlocks:()=>t.useHasInnerBlocks,useInnerBlocks:()=>t.useInnerBlocks,useInnerBlocksAttributes:()=>t.useInnerBlocksAttributes,useInnerBlocksCount:()=>t.useInnerBlocksCount,useInnerBlocksIndex:()=>t.useInnerBlocksIndex,useMedia:()=>t.useMedia,useOption:()=>t.useOption,useParentBlock:()=>t.useParentBlock,useParentBlockAttributes:()=>t.useParentBlockAttributes,usePost:()=>t.usePost,usePostById:()=>t.usePostById,usePostMeta:()=>t.usePostMeta,usePostMetaValue:()=>t.usePostMetaValue,usePosts:()=>t.usePosts,useTerms:()=>t.useTerms});var e=n(7720),t=n(2e3),s=n(5328)})(),r})(),e.exports=t()},797:function(e,t,n){"use strict";var r=window.React,s=n.n(r),o=window.wp.blocks,i=window.wp.blockEditor,a=window.wp.data,l=window.wp.i18n,c=window.wp.components,u=window.wp.element,d=window.wp.url,p=window.wp.apiFetch,f=n.n(p),h=function(e){let{baseUrl:t,searchRender:n,selected:s,setSelected:o}=e;const[i,a]=(0,u.useState)(!1),[p,h]=(0,u.useState)([]),[m,g]=(0,u.useState)(!1),[y,v]=(0,u.useState)(0),[b,_]=(0,u.useState)({searchValue:"",page:1}),A=(0,u.useCallback)((async function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.searchValue&&e.searchValue.length<=2)return;const r=function(){let n=(0,d.addQueryArgs)(t,{page:e.page});return e.searchValue&&e.searchValue.length>2&&(n=(0,d.addQueryArgs)(n,{search:e.searchValue})),n}();a(!0);const s=await f()({path:r,parse:!1});v(parseInt(s.headers.get("X-WP-TotalPages"),10));const o=await s.json();let i=o;e.page>1&&(i=[...p,...o]),n||(h(i),a(!1))}),[p,t]);return(0,u.useEffect)((()=>{let e=!1;return m||(g(!0),A(b,e)),()=>{e=!0}}),[A,m,b]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)(c.TextControl,{value:b.searchValue,placeholder:(0,l.__)("Search...","alley-scripts"),label:(0,l.__)("Search","alley-scripts"),onChange:e=>{const t={...b,searchValue:e,page:1};_(t),A(t)}}),(0,r.createElement)("div",{className:"alley-scripts-post-picker__post-list"},p?p.map((e=>s&&s.includes(e)?null:(0,r.createElement)(c.Button,{key:e.id,className:"alley-scripts-post-picker__post",onClick:()=>o(e)},n?n(e):(0,r.createElement)("div",null,(0,r.createElement)("strong",null,e.title),(0,l.sprintf)(" (%s)",e.subtype))))):null,i?(0,r.createElement)(c.Spinner,null):null,y>0&&b.page{const e={...b,page:b.page+1};_(e),A(e)}},(0,l.__)("Load More","alley-scripts"))):null))},m=function(){return m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=u.left&&r=u.top&&s=r&&l<=i||!a&&l>=i&&l<=r){var p=S.current[a?l-1:l+1];if(p){var f=p.left-u.left,h=p.top-u.top;c.style.transform="translate3d("+f+"px, "+h+"px, 0px)"}}else c.style.transform="translate3d(0,0,0)";c.style.transitionDuration="300ms"}null===(t=O.setPosition)||void 0===t||t.call(O,I.current,S.current,d)}}},onEnd:function(){for(var e,t=0;t{const r=(o=[...n],i=e,a=t,function(e,t,n){const r=t<0?e.length+t:t;if(r>=0&&r(0,r.createElement)(S,{key:e.id},(0,r.createElement)("div",{className:"nb-post-picker-draggable"},(0,r.createElement)(E,null,(0,r.createElement)("span",{"aria-label":(0,l.__)("Move item","wp-newsletter-builder")},"::")),(0,r.createElement)(c.Button,{className:"nb-post-picker__post",onClick:()=>{return t=e,void s(n?n.filter((e=>e.id!==t.id)):[]);var t}},t(e)))))):null)},T=function(e){let{baseUrl:t,closeModal:n,onUpdate:s,searchRender:o}=e;const[i,a]=(0,u.useState)([]);return(0,r.createElement)(c.Modal,{isDismissible:!0,title:(0,l.__)("Select Post","alley-scripts"),onRequestClose:n,closeButtonLabel:"Close"},(0,r.createElement)("div",{className:"nb-multi-post-picker-modal"},(0,r.createElement)("div",{className:"nb-multi-post-picker-modal__search-results"},(0,r.createElement)(h,{baseUrl:t,selected:null!=i?i:[],setSelected:e=>{a([...i,e])},searchRender:o})),(0,r.createElement)("div",{className:"nb-multi-post-picker-modal__selected"},(0,r.createElement)(R,{selected:i,setSelected:a,searchRender:o}))),(0,r.createElement)("div",{className:"alley-scripts-post-picker__buttons"},(0,r.createElement)(c.Button,{variant:"secondary",onClick:n},(0,l.__)("Cancel","alley-scripts")),(0,r.createElement)(c.Button,{variant:"primary",onClick:()=>{if(!i)return;const e=i.map((e=>e.id));s(e),n()},disabled:!i},(0,l.__)("Select","alley-scripts"))))},I=function(e){let{allowedTypes:t,onUpdate:n,params:s={},searchEndpoint:o="/wp/v2/search",searchRender:i}=e;const[a,p]=(0,u.useState)(!1),f=(0,d.addQueryArgs)(o,{type:"post",subtype:null!=t?t:"any",...s});return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(c.Button,{onClick:()=>{p(!0)},variant:"secondary"},(0,l.__)("Select Posts","alley-scripts")),a?(0,r.createElement)(T,{closeModal:()=>{p(!1)},baseUrl:f,onUpdate:n,searchRender:i}):null)},N=n(373),O=function(e){let{featured_image:t,post_date:n,title:s}=e;return(0,r.createElement)("div",{className:"nb-post-picker-result"},(0,r.createElement)("div",{className:"nb-post-picker-result-image__container"},t?(0,r.createElement)("img",{className:"nb-post-picker-result-image",src:t,alt:""}):null),(0,r.createElement)(N.SafeHtml,{html:s,className:"nb-post-picker-result-title",tag:"div"}),(0,r.createElement)("span",{className:"nb-post-picker-result-date"},n))},P=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wp-newsletter-builder/section","version":"0.1.0","title":"Newsletter Section","category":"design","icon":"layout","description":"Section to contain other blocks and allow for choosing multiple posts.","textdomain":"wp-newsletter-builder","editorScript":"file:index.ts","editorStyle":"file:index.css","style":["file:style-index.css"],"render":"file:render.php","attributes":{"showNumbers":{"type":"boolean","default":false},"heading":{"type":"string","default":""},"adAfter":{"type":"boolean","default":false}}}');(0,o.registerBlockType)(P,{edit:function(e){let{clientId:t,attributes:{showNumbers:n=!1,heading:s=""},setAttributes:o}=e;const d=new Date;d.setMonth(d.getMonth()-3);const p=(0,a.select)("core/block-editor").getBlocksByClientId(t)[0]||null,f=function e(t,n,r){return t.forEach((t=>(n.includes(t.name)&&r.push(t.clientId),t.innerBlocks&&t.innerBlocks.length>0?e(t.innerBlocks,n,r):r))),r}(p?p.innerBlocks:[],["wp-newsletter-builder/post"],[]);return(0,u.useEffect)((()=>{n&&f.forEach(((e,t)=>{(0,a.dispatch)("core/block-editor").updateBlockAttributes(e,{number:t+1})}))}),[f,n]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{...(0,i.useBlockProps)()},s?(0,r.createElement)(i.RichText,{tagName:"h2",value:s,onChange:e=>o({heading:e}),className:"wp-newsletter-builder-section__heading"}):null,(0,r.createElement)(i.InnerBlocks,null)),(0,r.createElement)(i.InspectorControls,null,(0,r.createElement)(c.PanelBody,{title:(0,l.__)("Post Selection","wp-newsletter-builder"),initialOpen:!0},(0,r.createElement)(c.PanelRow,null,(0,r.createElement)(I,{onUpdate:e=>{f.forEach((t=>{const n=e.shift();(0,a.dispatch)("core/block-editor").updateBlockAttributes(t,{postId:n})}))},allowedTypes:["post"],params:{after:d.toISOString(),per_page:20},searchRender:O})))))},save:()=>{const e=i.useBlockProps.save();return(0,r.createElement)("div",{...e},(0,r.createElement)(i.InnerBlocks.Content,null))}})},206:function(e){"use strict";const t=(e,t,n)=>{const r=t<0?e.length+t:t;if(r>=0&&r(e=[...e],t(e,n,r),e),e.exports.mutate=t}},n={};function r(e){var s=n[e];if(void 0!==s)return s.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,r),o.exports}r.m=t,e=[],r.O=function(t,n,s,o){if(!n){var i=1/0;for(u=0;u=o)&&Object.keys(r.O).every((function(e){return r.O[e](n[l])}))?n.splice(l--,1):(a=!1,o0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,s,o]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={581:0,41:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var s,o,i=n[0],a=n[1],l=n[2],c=0;if(i.some((function(t){return 0!==e[t]}))){for(s in a)r.o(a,s)&&(r.m[s]=a[s]);if(l)var u=l(r)}for(t&&t(n);c. + * @param WP_Block $block_instance The instance of the WP_Block class that represents the block being rendered. + * + * @package wp-newsletter-builder + */ + +$wp_newsletter_builder_heading = $attributes['heading'] ?? ''; +$wp_newsletter_builder_content = $content ?? ''; + +// Check if the content is empty. +if ( empty( trim( wp_strip_all_tags( $wp_newsletter_builder_content ) ) ) ) { + return; +} +if ( ! empty( $wp_newsletter_builder_heading ) ) { + printf( '

%s

', esc_html( $wp_newsletter_builder_heading ) ); +} + +echo $wp_newsletter_builder_content; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped diff --git a/build/section/style-index.css b/build/section/style-index.css new file mode 100644 index 00000000..a61b1ce2 --- /dev/null +++ b/build/section/style-index.css @@ -0,0 +1 @@ +h2.wp-newsletter-builder-section__heading{color:#d62827;font-size:40px;line-height:47px;text-align:center;text-transform:uppercase} diff --git a/build/signup-form-list/block.json b/build/signup-form-list/block.json new file mode 100644 index 00000000..c5f5af66 --- /dev/null +++ b/build/signup-form-list/block.json @@ -0,0 +1,35 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 2, + "name": "wp-newsletter-builder/signup-form-list", + "version": "0.1.0", + "title": "Newsletter Signup Form List", + "category": "widgets", + "icon": "yes", + "description": "Child block of Newsletter Signup Form to show a single list", + "textdomain": "wp-newsletter-builder", + "editorScript": "file:index.js", + "render": "file:render.php", + "attributes": { + "logo": { + "type": "number", + "default": 0 + }, + "title": { + "type": "string" + }, + "frequency": { + "type": "string" + }, + "description": { + "type": "string" + }, + "listId": { + "type": "string" + }, + "initialChecked": { + "type": "boolean", + "default": false + } + } +} \ No newline at end of file diff --git a/build/signup-form-list/index.asset.php b/build/signup-form-list/index.asset.php new file mode 100644 index 00000000..8bb064dc --- /dev/null +++ b/build/signup-form-list/index.asset.php @@ -0,0 +1 @@ + array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '8c1b544918527779dfeb'); diff --git a/build/signup-form-list/index.js b/build/signup-form-list/index.js new file mode 100644 index 00000000..185b28a6 --- /dev/null +++ b/build/signup-form-list/index.js @@ -0,0 +1 @@ +!function(){"use strict";var e={n:function(t){var l=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(l,{a:l}),l},d:function(t,l){for(var n in l)e.o(l,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:l[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t=window.wp.blocks,l=window.React,n=window.wp.i18n,i=window.wp.data,r=window.wp.components,o=window.wp.blockEditor,a=window.wp.element,s=window.wp.apiFetch,c=e.n(s);function u(e){let{selected:t,updateFunction:i}=e;const[o,s]=(0,a.useState)([]),u=o.length>0?(e=>{const t=e.map((e=>({label:e.Name,value:e.ListID})));return t.unshift({label:(0,n.__)("Select a list","wp-newsletter-builder"),value:""}),t})(o):[];return(0,a.useEffect)((()=>{o.length>0||c()({path:"/wp-newsletter-builder/v1/lists"}).then((e=>{s(e)}))}),[o]),(0,l.createElement)(r.SelectControl,{value:t,options:u,onChange:i})}var d=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wp-newsletter-builder/signup-form-list","version":"0.1.0","title":"Newsletter Signup Form List","category":"widgets","icon":"yes","description":"Child block of Newsletter Signup Form to show a single list","textdomain":"wp-newsletter-builder","editorScript":"file:index.ts","render":"file:render.php","attributes":{"logo":{"type":"number","default":0},"title":{"type":"string"},"frequency":{"type":"string"},"description":{"type":"string"},"listId":{"type":"string"},"initialChecked":{"type":"boolean","default":false}}}');(0,t.registerBlockType)(d,{edit:function(e){let{attributes:{logo:t=0,title:a="",frequency:s="",description:c="",listId:d="",initialChecked:p=!1},setAttributes:w}=e;const{logoMedia:m=null}=(0,i.useSelect)((e=>({logoMedia:t?e("core").getMedia(t):null})),[t]);return(0,l.createElement)("div",{...(0,o.useBlockProps)()},m?(0,l.createElement)(l.Fragment,null,(0,l.createElement)(r.Button,{type:"button",onClick:()=>w({logo:null}),"aria-label":(0,n.__)("Remove Logo","wp-newsletter-builder"),isDestructive:!0,variant:"primary",className:"wp-block-wp-newsletter-builder-signup-form-list__image_delete"},"X"),(0,l.createElement)("img",{src:m.media_details?.sizes?.medium?.source_url||m.source_url,alt:(0,n.__)("Newsletter Logo","wp-newsletter-builder")})):(0,l.createElement)(o.MediaPlaceholder,{icon:"format-image",labels:{title:(0,n.__)("Image","wp-newsletter-builder"),instructions:(0,n.__)("Drag an image, upload a new one or select a file from your library.","wp-newsletter-builder")},onSelect:e=>w({logo:e.id}),accept:"image/*",allowedTypes:["image"]}),(0,l.createElement)("div",{className:"wp-block-wp-newsletter-builder-signup-form-list__content"},(0,l.createElement)(o.RichText,{tagName:"h3",value:a,onChange:e=>w({title:e}),placeholder:(0,n.__)("Title","wp-newsletter-builder")}),(0,l.createElement)(o.RichText,{tagName:"div",value:s,className:"wp-block-wp-newsletter-builder-signup-form-list__frequency",onChange:e=>w({frequency:e}),placeholder:(0,n.__)("Frequency","wp-newsletter-builder")}),(0,l.createElement)(o.RichText,{tagName:"div",value:c,className:"wp-block-wp-newsletter-builder-signup-form-list__description",onChange:e=>w({description:e}),placeholder:(0,n.__)("Description","wp-newsletter-builder")}),(0,l.createElement)(r.CheckboxControl,{checked:p,onChange:e=>w({initialChecked:e})})),(0,l.createElement)(o.InspectorControls,null,(0,l.createElement)(r.PanelBody,{title:(0,n.__)("List Settings","wp-newsletter-builder")},(0,l.createElement)(r.PanelRow,null,(0,l.createElement)(u,{selected:d,updateFunction:e=>w({listId:e})})))))}})}(); \ No newline at end of file diff --git a/build/signup-form-list/index.php b/build/signup-form-list/index.php new file mode 100644 index 00000000..8c9bbfa5 --- /dev/null +++ b/build/signup-form-list/index.php @@ -0,0 +1,21 @@ +. + * @param WP_Block $block_instance The instance of the WP_Block class that represents the block being rendered. + * + * @package wp-newsletter-builder + */ + +$wp_newsletter_builder_title = $attributes['title'] ?? ''; +$wp_newsletter_builder_frequency = $attributes['frequency'] ?? ''; +$wp_newsletter_builder_description = $attributes['description'] ?? ''; +$wp_newsletter_builder_list_id = $attributes['listId'] ?? ''; +$wp_newsletter_builder_logo_id = $attributes['logo'] ?? null; +$wp_newsletter_builder_checked = $attributes['initialChecked'] ?? false; +$wp_newsletter_builder_checked_str = $wp_newsletter_builder_checked ? 'checked="checked"' : ''; + +if ( empty( $wp_newsletter_builder_title ) || empty( $wp_newsletter_builder_list_id ) ) { + return; +} +?> +
> + +
diff --git a/build/signup-form/block.json b/build/signup-form/block.json new file mode 100644 index 00000000..123dee95 --- /dev/null +++ b/build/signup-form/block.json @@ -0,0 +1,37 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 2, + "name": "wp-newsletter-builder/signup-form", + "version": "0.1.0", + "title": "Newsletter Signup Form", + "category": "widgets", + "icon": "forms", + "description": "Shows a form to allow users to subscribe to newsletter lists", + "textdomain": "wp-newsletter-builder", + "editorScript": "file:index.js", + "editorStyle": "file:index.css", + "style": [ + "file:style-index.css" + ], + "render": "file:render.php", + "viewScript": [ + "file:view.js" + ], + "attributes": { + "headerText": { + "type": "string" + }, + "subheaderText": { + "type": "string" + }, + "disclaimerText": { + "type": "string" + }, + "buttonText": { + "type": "string" + }, + "listId": { + "type": "string" + } + } +} \ No newline at end of file diff --git a/build/signup-form/index.asset.php b/build/signup-form/index.asset.php new file mode 100644 index 00000000..d470990b --- /dev/null +++ b/build/signup-form/index.asset.php @@ -0,0 +1 @@ + array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '8118cc93a596d20207b8'); diff --git a/build/signup-form/index.css b/build/signup-form/index.css new file mode 100644 index 00000000..e8237759 --- /dev/null +++ b/build/signup-form/index.css @@ -0,0 +1 @@ +.wp-block-wp-newsletter-builder-signup-form div.block-editor-block-list__layout{grid-gap:1rem;display:grid;grid-template-columns:1fr 1fr 1fr}.wp-block-wp-newsletter-builder-signup-form-list__image_delete{position:absolute;right:0;top:0}.wp-block-wp-newsletter-builder-signup-form__fake-text-input{border:1px solid #000;display:block;font-family:sans-serif;font-size:16px;padding:6px 4px 2px;width:300px}.wp-block-wp-newsletter-builder-signup-form__fake-button{background:#fff;border:1px solid var(--primary-black,#1d1d1f)} diff --git a/build/signup-form/index.js b/build/signup-form/index.js new file mode 100644 index 00000000..c172c95e --- /dev/null +++ b/build/signup-form/index.js @@ -0,0 +1 @@ +!function(){"use strict";var e={n:function(t){var l=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(l,{a:l}),l},d:function(t,l){for(var n in l)e.o(l,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:l[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t=window.React,l=window.wp.blocks,n=window.wp.blockEditor,r=window.wp.i18n,i=window.wp.components,s=window.wp.element,a=window.wp.apiFetch,o=e.n(a);function c(e){let{selected:l,updateFunction:n}=e;const[a,c]=(0,s.useState)([]),u=a.length>0?(e=>{const t=e.map((e=>({label:e.Name,value:e.ListID})));return t.unshift({label:(0,r.__)("Select a list","wp-newsletter-builder"),value:""}),t})(a):[];return(0,s.useEffect)((()=>{a.length>0||o()({path:"/wp-newsletter-builder/v1/lists"}).then((e=>{c(e)}))}),[a]),(0,t.createElement)(i.SelectControl,{value:l,options:u,onChange:n})}var u=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wp-newsletter-builder/signup-form","version":"0.1.0","title":"Newsletter Signup Form","category":"widgets","icon":"forms","description":"Shows a form to allow users to subscribe to newsletter lists","textdomain":"wp-newsletter-builder","editorScript":"file:index.ts","editorStyle":"file:index.css","style":["file:style-index.css"],"render":"file:render.php","viewScript":["file:view.ts"],"attributes":{"headerText":{"type":"string"},"subheaderText":{"type":"string"},"disclaimerText":{"type":"string"},"buttonText":{"type":"string"},"listId":{"type":"string"}}}');(0,l.registerBlockType)(u,{edit:function(e){let{attributes:{headerText:l,subheaderText:s="",disclaimerText:a="",buttonText:o,listId:u},setAttributes:d}=e;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("div",{...(0,n.useBlockProps)()},(0,t.createElement)("div",{className:"wp-block-wp-newsletter-builder-signup-form__header"},(0,t.createElement)("div",null,(0,t.createElement)(n.RichText,{tagName:"h2",value:l,onChange:e=>d({headerText:e}),placeholder:(0,r.__)("Header Text","wp-newsletter-builder")}),(0,t.createElement)(n.RichText,{tagName:"div",value:s,className:"wp-block-wp-newsletter-builder-signup-form__subheader",onChange:e=>d({subheaderText:e}),placeholder:(0,r.__)("Subheader Text","wp-newsletter-builder")})),(0,t.createElement)("div",null,(0,t.createElement)("div",null,(0,t.createElement)("span",{className:"wp-block-wp-newsletter-builder-signup-form__fake-text-input wp-block-wp-newsletter-builder-signup-form__email-input"},(0,r.__)("Email","wp-newsletter-builder"))),(0,t.createElement)(n.RichText,{tagName:"div",value:a,className:"wp-block-wp-newsletter-builder-signup-form__disclaimer",onChange:e=>d({disclaimerText:e}),placeholder:(0,r.__)("Disclaimer Text","wp-newsletter-builder")}),(0,t.createElement)("div",{className:"wp-block-button is-style-subscribe"},(0,t.createElement)("div",{className:"wp-block-wp-newsletter-builder-signup-form__fake-button wp-block-button__link wp-element-button"},(0,t.createElement)(n.RichText,{tagName:"span",value:o,onChange:e=>d({buttonText:e}),placeholder:(0,r.__)("Button Text","wp-newsletter-builder")}))))),u?null:(0,t.createElement)(n.InnerBlocks,{allowedBlocks:["wp-newsletter-builder/signup-form-list"]})),(0,t.createElement)(n.InspectorControls,null,(0,t.createElement)(i.PanelBody,{title:(0,r.__)("List Settings","wp-newsletter-builder")},(0,t.createElement)(i.PanelRow,null,(0,t.createElement)(c,{selected:null!=u?u:"",updateFunction:e=>d({listId:e})})))))},save:()=>{const e=n.useBlockProps.save();return(0,t.createElement)("div",{...e},(0,t.createElement)(n.InnerBlocks.Content,null))}})}(); \ No newline at end of file diff --git a/build/signup-form/index.php b/build/signup-form/index.php new file mode 100644 index 00000000..61aa832e --- /dev/null +++ b/build/signup-form/index.php @@ -0,0 +1,40 @@ +|bool>> $tags The allowed tags. + * @return array|bool>> + */ +function wp_newsletter_builder_modify_wpkses_post_allowed_tags( array $tags ): array { + $tags['input'] = [ + 'type' => true, + 'name' => true, + 'value' => [], + 'placeholder' => true, + 'class' => true, + 'checked' => true, + ]; + return $tags; +} +add_filter( 'wp_kses_allowed_html', 'wp_newsletter_builder_modify_wpkses_post_allowed_tags' ); diff --git a/build/signup-form/render.php b/build/signup-form/render.php new file mode 100644 index 00000000..6322632a --- /dev/null +++ b/build/signup-form/render.php @@ -0,0 +1,56 @@ +. + * @param WP_Block $block_instance The instance of the WP_Block class that represents the block being rendered. + * + * @package wp-newsletter-builder + */ + +$wp_newsletter_builder_header_text = $attributes['headerText'] ?? ''; +$wp_newsletter_builder_subheader_text = $attributes['subheaderText'] ?? ''; +$wp_newsletter_builder_disclaimer_text = $attributes['disclaimerText'] ?? ''; +$wp_newsletter_builder_button_text = $attributes['buttonText'] ?? __( 'Subscribe', 'wp-newsletter-builder' ); +$wp_newsletter_builder_list_id = $attributes['listId'] ?? ''; +$wp_newsletter_builder_content = $content ?? ''; +?> +
data-component="wp-newsletter-builder-signup"> + + ', esc_attr( $wp_newsletter_builder_list_id ) ); + } else { + echo wp_kses_post( $wp_newsletter_builder_content ); + } + ?> +
diff --git a/build/signup-form/view.asset.php b/build/signup-form/view.asset.php new file mode 100644 index 00000000..1616c8c5 --- /dev/null +++ b/build/signup-form/view.asset.php @@ -0,0 +1 @@ + array(), 'version' => '04ecbe14f3ebccb80f72'); diff --git a/build/signup-form/view.js b/build/signup-form/view.js new file mode 100644 index 00000000..3c570a7b --- /dev/null +++ b/build/signup-form/view.js @@ -0,0 +1 @@ +window.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll('[data-component="wp-newsletter-builder-signup"]').forEach((e=>{const r=e.querySelector("button");r&&r.addEventListener("click",(r=>{r.preventDefault();const t=e.querySelector('input[type="email"]'),n=e.querySelectorAll('input[type="checkbox"]:checked'),s=e.querySelector('input[name="wp-newsletter-builder-hidden"]'),l=e.querySelector(".wp-block-wp-newsletter-builder-signup-form__response");if(!l||!t)return;if(l.innerHTML="",l.classList.remove("success","error"),!t.value)return l.classList.add("error"),l.innerHTML="Email is required",void t.focus();if(!n.length&&!s)return l.classList.add("error"),void(l.innerHTML="Please select a newsletter");const o=new URLSearchParams;var i;o.append("email",t.value),s?o.append("listIds",s.value):o.append("listIds",(null!==(i=Array.from(n).map((e=>e.value)))&&void 0!==i?i:[]).join(",")),fetch("/wp-json/wp-newsletter-builder/v1/subscribe",{method:"POST",body:o,headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((e=>e.json())).then((e=>{const{success:r,message:t}=e;l.classList.add(r?"success":"error"),l.innerHTML=t}))}))}))})); \ No newline at end of file diff --git a/build/two-up-post/block.json b/build/two-up-post/block.json new file mode 100644 index 00000000..44b9b5f5 --- /dev/null +++ b/build/two-up-post/block.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 2, + "name": "wp-newsletter-builder/two-up-post", + "version": "0.1.0", + "title": "Two Up Newsletter Post", + "category": "design", + "icon": "editor-table", + "description": "Displays two posts, side by side", + "textdomain": "wp-newsletter-builder", + "editorScript": "file:index.js", + "editorStyle": "file:index.css", + "style": [ + "file:style-index.css" + ], + "render": "file:render.php" +} \ No newline at end of file diff --git a/build/two-up-post/index.asset.php b/build/two-up-post/index.asset.php new file mode 100644 index 00000000..1f89aba4 --- /dev/null +++ b/build/two-up-post/index.asset.php @@ -0,0 +1 @@ + array('react', 'wp-block-editor', 'wp-blocks'), 'version' => 'a38a0dbc03165052649b'); diff --git a/build/two-up-post/index.css b/build/two-up-post/index.css new file mode 100644 index 00000000..e7fac430 --- /dev/null +++ b/build/two-up-post/index.css @@ -0,0 +1 @@ +.wp-block-wp-newsletter-builder-two-up-post .block-editor-block-list__layout{display:flex}.wp-block-wp-newsletter-builder-two-up-post .block-editor-block-list__layout>div{width:50%} diff --git a/build/two-up-post/index.js b/build/two-up-post/index.js new file mode 100644 index 00000000..9a2ec7f7 --- /dev/null +++ b/build/two-up-post/index.js @@ -0,0 +1 @@ +!function(){"use strict";var e,t={110:function(){var e=window.React,t=window.wp.blocks,r=window.wp.blockEditor;const n=[["wp-newsletter-builder/post",{showContent:!1,showExcerpt:!1,showByline:!1,showCta:!1,order:["image","title","excerpt","content","byline"]}],["wp-newsletter-builder/post",{showContent:!1,showExcerpt:!1,showByline:!1,showCta:!1,order:["image","title","excerpt","content","byline"]}]];var o=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"wp-newsletter-builder/two-up-post","version":"0.1.0","title":"Two Up Newsletter Post","category":"design","icon":"editor-table","description":"Displays two posts, side by side","textdomain":"wp-newsletter-builder","editorScript":"file:index.ts","editorStyle":"file:index.css","style":["file:style-index.css"],"render":"file:render.php"}');(0,t.registerBlockType)(o,{apiVersion:2,edit:function(){return(0,e.createElement)("div",{...(0,r.useBlockProps)()},(0,e.createElement)(r.InnerBlocks,{orientation:"horizontal",template:n,templateLock:"all"}))},title:o.title,save:()=>{const t=r.useBlockProps.save();return(0,e.createElement)("div",{...t},(0,e.createElement)(r.InnerBlocks.Content,null))}})}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.m=t,e=[],n.O=function(t,r,o,i){if(!r){var s=1/0;for(a=0;a=i)&&Object.keys(n.O).every((function(e){return n.O[e](r[c])}))?r.splice(c--,1):(l=!1,i0&&e[a-1][2]>i;a--)e[a]=e[a-1];e[a]=[r,o,i]},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={918:0,764:0};n.O.j=function(t){return 0===e[t]};var t=function(t,r){var o,i,s=r[0],l=r[1],c=r[2],p=0;if(s.some((function(t){return 0!==e[t]}))){for(o in l)n.o(l,o)&&(n.m[o]=l[o]);if(c)var a=c(n)}for(t&&t(r);p -

> - -

-{{/isDynamicVariant}} + array('react', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-data', 'wp-edit-post', 'wp-element', 'wp-i18n', 'wp-plugins'), 'version' => '184af9e606640f03a843'); diff --git a/build/wp-newsletter-builder-from-post/index.js b/build/wp-newsletter-builder-from-post/index.js new file mode 100644 index 00000000..54ca1017 --- /dev/null +++ b/build/wp-newsletter-builder-from-post/index.js @@ -0,0 +1,42 @@ +!function(){var e={373:function(e){var t;self,t=()=>(()=>{var e={6484:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e=[],t=0;t{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__post-list{display:flex;flex-wrap:wrap;float:left;height:calc(70vh - 200px);justify-content:flex-start;overflow-y:auto;padding:8px;width:100%}.alley-scripts-post-picker__post{border:1px solid #eee;height:auto;justify-content:center;margin:0 8px 8px 0;transition:background-color .2s ease-in-out;width:calc((100% - 40px)/3)}@media(min-width: 780px){.alley-scripts-post-picker__post{width:calc((100% - 40px)/5)}}.alley-scripts-post-picker__post:hover{background-color:#f5f5f5}.alley-scripts-post-picker__post.is-selected{background-color:#f5f5f5}.alley-scripts-post-picker__load-more{clear:both;float:left;text-align:center;width:100%}","",{version:3,sources:["webpack://./src/components/post-picker/post-list.scss"],names:[],mappings:"AAAA,sCACE,YAAA,CACA,cAAA,CACA,UAAA,CACA,yBAAA,CACA,0BAAA,CACA,eAAA,CACA,WAAA,CACA,UAAA,CAGF,iCACE,qBAAA,CACA,WAAA,CACA,sBAAA,CACA,kBAAA,CACA,2CAAA,CACA,2BAAA,CAGA,yBATF,iCAUI,2BAAA,CAAA,CAGF,uCACE,wBAAA,CAGF,6CACE,wBAAA,CAIJ,sCACE,UAAA,CACA,UAAA,CACA,iBAAA,CACA,UAAA",sourcesContent:[".alley-scripts-post-picker__post-list {\n display: flex;\n flex-wrap: wrap;\n float: left;\n height: calc(70vh - 200px);\n justify-content: flex-start;\n overflow-y: auto;\n padding: 8px;\n width: 100%;\n}\n\n.alley-scripts-post-picker__post {\n border: 1px solid #eee;\n height: auto;\n justify-content: center;\n margin: 0 8px 8px 0;\n transition: background-color 0.2s ease-in-out;\n width: calc((100% - 40px) / 3);\n\n\n @media (min-width: 780px) {\n width: calc((100% - 40px) / 5);\n }\n\n &:hover {\n background-color: #f5f5f5;\n }\n\n &.is-selected {\n background-color: #f5f5f5;\n }\n}\n\n.alley-scripts-post-picker__load-more {\n clear: both;\n float: left;\n text-align: center;\n width: 100%;\n}\n"],sourceRoot:""}]);const a=i},9680:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".alley-scripts-post-picker__modal .components-modal__content{width:90vw}.alley-scripts-post-picker__buttons{clear:both;display:block;text-align:right;width:100%}.alley-scripts-post-picker__buttons button{margin:5px}","",{version:3,sources:["webpack://./src/components/post-picker/search-modal.scss"],names:[],mappings:"AACE,6DACE,UAAA,CAIJ,oCACE,UAAA,CACA,aAAA,CACA,gBAAA,CACA,UAAA,CAEA,2CACE,UAAA",sourcesContent:[".alley-scripts-post-picker__modal {\n .components-modal__content {\n width: 90vw;\n }\n}\n\n.alley-scripts-post-picker__buttons {\n clear: both;\n display: block;\n text-align: right;\n width: 100%;\n\n button {\n margin: 5px;\n }\n}\n"],sourceRoot:""}]);const a=i},3800:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,".post-picker-notice{margin:0 0 .5rem 0}","",{version:3,sources:["webpack://./src/components/post-picker/style.scss"],names:[],mappings:"AAAA,oBACE,kBAAA",sourcesContent:[".post-picker-notice {\n margin: 0 0 0.5rem 0;\n}\n"],sourceRoot:""}]);const a=i},5500:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(2876),s=n.n(r),o=n(1849),i=n.n(o)()(s());i.push([e.id,'.edit-post-sidebar .autocomplete__component,.editor-styles-wrapper .autocomplete__component{margin-bottom:20px}.edit-post-sidebar .autocomplete-base-control,.editor-styles-wrapper .autocomplete-base-control{position:relative}.edit-post-sidebar .autocomplete-text-control__input,.editor-styles-wrapper .autocomplete-text-control__input{margin:0}.edit-post-sidebar .autocomplete__selection-list,.editor-styles-wrapper .autocomplete__selection-list{list-style-type:none;margin:0 0 6px;padding:0}.edit-post-sidebar .autocomplete__selection-list--item,.editor-styles-wrapper .autocomplete__selection-list--item{display:inline-block;list-style:none}.edit-post-sidebar .autocomplete__selection-list--item--button,.editor-styles-wrapper .autocomplete__selection-list--item--button{margin-bottom:4px;margin-right:3px}.edit-post-sidebar .autocomplete__selection-list--item--button::after,.editor-styles-wrapper .autocomplete__selection-list--item--button::after{content:"×";font-size:16px;line-height:20px;margin-left:5px}.edit-post-sidebar .autocomplete__dropdown,.editor-styles-wrapper .autocomplete__dropdown{background-color:#fff;border-color:rgba(0,0,0,0) #e2e4e7 #e2e4e7;border-radius:0 0 4px 4px;border-style:solid;border-width:0 1px 1px;left:0;max-height:0;overflow-y:hidden;position:absolute;top:calc(100% + 1px);visibility:hidden;width:100%;z-index:10}.edit-post-sidebar .autocomplete__dropdown--is-open,.editor-styles-wrapper .autocomplete__dropdown--is-open{box-shadow:0 3px 30px rgba(25,30,35,.1);max-height:225px;overflow-y:scroll;visibility:visible}.edit-post-sidebar .autocomplete__dropdown--notice,.editor-styles-wrapper .autocomplete__dropdown--notice{padding:15px}.edit-post-sidebar .autocomplete__dropdown--results,.editor-styles-wrapper .autocomplete__dropdown--results{list-style:none;margin:0;padding:0}.edit-post-sidebar .autocomplete__list--item,.editor-styles-wrapper .autocomplete__list--item{list-style:none}.edit-post-sidebar .autocomplete__list--item>button,.editor-styles-wrapper .autocomplete__list--item>button{background:rgba(0,0,0,0);border-color:#e2e4e7;border-style:solid;border-width:0 0 1px;height:100%;line-height:1.25;text-align:left;white-space:inherit;width:100%}.edit-post-sidebar .autocomplete__list--item:last-child>button,.editor-styles-wrapper .autocomplete__list--item:last-child>button{border-bottom:0}',"",{version:3,sources:["webpack://./src/components/selector/styles.scss"],names:[],mappings:"AAAA,4FAgBI,kBACE,CAAA,gGAMF,iBACE,CAAA,8GAMF,QACE,CAAA,sGAMF,oBACE,CAAA,cACA,CAAA,SACA,CAAA,kHAEA,oBACE,CAAA,eACA,CAAA,kIAEA,iBACE,CAAA,gBACA,CAAA,gJAEA,WACE,CAAA,cACA,CAAA,gBACA,CAAA,eACA,CAAA,0FASR,qBACE,CAAA,0CACA,CAAA,yBACA,CAAA,kBACA,CAAA,sBACA,CAAA,MACA,CAAA,YACA,CAAA,iBACA,CAAA,iBACA,CAAA,oBACA,CAAA,iBACA,CAAA,UACA,CAAA,UACA,CAAA,4GAGA,uCACE,CAAA,gBACA,CAAA,iBACA,CAAA,kBACA,CAAA,0GAIF,YACE,CAAA,4GAIF,eACE,CAAA,QACA,CAAA,SACA,CAAA,8FAOJ,eACE,CAAA,4GAEA,wBACE,CAAA,oBACA,CAAA,kBACA,CAAA,oBACA,CAAA,WACA,CAAA,gBACA,CAAA,eACA,CAAA,mBACA,CAAA,UACA,CAAA,kIAGF,eACE",sourcesContent:["//--------------------------------------------------------------\n// AutoComplete Styles\n//--------------------------------------------------------------\n\n/* stylelint-disable max-nesting-depth */\n\n//-----------------------------------------\n// Accommodate editor well, or the sidebar.\n//-----------------------------------------\n.edit-post-sidebar,\n.editor-styles-wrapper {\n .autocomplete {\n\n //-----------------------------------------\n // Parent form wrapper.\n //-----------------------------------------\n &__component {\n margin-bottom: 20px;\n }\n\n //-----------------------------------------\n // Wrapper\n //-----------------------------------------\n &-base-control {\n position: relative;\n }\n\n //-----------------------------------------\n // Input\n //-----------------------------------------\n &-text-control__input {\n margin: 0;\n }\n\n //-----------------------------------------\n // Selected buttons.\n //-----------------------------------------\n &__selection-list {\n list-style-type: none;\n margin: 0 0 6px;\n padding: 0;\n\n &--item {\n display: inline-block;\n list-style: none;\n\n &--button {\n margin-bottom: 4px;\n margin-right: 3px;\n\n &::after {\n content: '×';\n font-size: 16px;\n line-height: 20px;\n margin-left: 5px;\n }\n }\n }\n }\n\n //-----------------------------------------\n // Results\n //-----------------------------------------\n &__dropdown {\n background-color: #fff;\n border-color: transparent #e2e4e7 #e2e4e7;\n border-radius: 0 0 4px 4px;\n border-style: solid;\n border-width: 0 1px 1px;\n left: 0;\n max-height: 0;\n overflow-y: hidden;\n position: absolute;\n top: calc(100% + 1px); // Offset focus border.\n visibility: hidden;\n width: 100%;\n z-index: 10;\n\n // Container is open.\n &--is-open {\n box-shadow: 0 3px 30px rgba(25, 30, 35, 0.1);\n max-height: 225px;\n overflow-y: scroll;\n visibility: visible;\n }\n\n // Notice handler.\n &--notice {\n padding: 15px;\n }\n\n // Results container.\n &--results {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n }\n\n //-----------------------------------------\n // List/Results\n //-----------------------------------------\n &__list--item {\n list-style: none;\n\n > button {\n background: transparent;\n border-color: #e2e4e7;\n border-style: solid;\n border-width: 0 0 1px;\n height: 100%;\n line-height: 1.25;\n text-align: left;\n white-space: inherit;\n width: 100%;\n }\n\n &:last-child > button {\n border-bottom: 0;\n }\n }\n }\n}\n"],sourceRoot:""}]);const a=i},1849:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,s,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var a=0;a0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),s&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=s):u[4]="".concat(s)),t.push(u))}},t}},2876:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(s," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},6595:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:s}=Object;let{freeze:o,seal:i,create:a}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect;o||(o=function(e){return e}),i||(i=function(e){return e}),l||(l=function(e,t,n){return e.apply(t,n)}),c||(c=function(e,t){return new e(...t)});const u=w(Array.prototype.forEach),d=w(Array.prototype.pop),p=w(Array.prototype.push),f=w(String.prototype.toLowerCase),h=w(String.prototype.toString),m=w(String.prototype.match),g=w(String.prototype.replace),y=w(String.prototype.indexOf),b=w(String.prototype.trim),v=w(RegExp.prototype.test),_=(A=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),s=1;s2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let o=r.length;for(;o--;){let t=r[o];if("string"==typeof t){const e=s(t);e!==t&&(n(r)||(r[o]=e),t=e)}e[t]=!0}return e}function C(t){const n=a(null);for(const[r,o]of e(t))void 0!==s(t,r)&&(n[r]=o);return n}function S(e,t){for(;null!==e;){const n=s(e,t);if(n){if(n.get)return w(n.get);if("function"==typeof n.value)return w(n.value)}e=r(e)}return function(e){return console.warn("fallback value for",e),null}}const k=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),R=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),N=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),P=o(["#text"]),O=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),j=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),L=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),D=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=i(/\{\{[\w\W]*|[\w\W]*\}\}/gm),M=i(/<%[\w\W]*|[\w\W]*%>/gm),B=i(/\${[\w\W]*}/gm),F=i(/^data-[\-\w.\u00B7-\uFFFF]/),z=i(/^aria-[\-\w]+$/),q=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=i(/^(?:\w+script|data):/i),$=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W=i(/^html$/i);var G=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:M,TMPLIT_EXPR:B,DATA_ATTR:F,ARIA_ATTR:z,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:H,ATTR_WHITESPACE:$,DOCTYPE_NAME:W});return function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const r=e=>t(e);if(r.version="3.0.6",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;let{document:s}=n;const i=s,l=i.currentScript,{DocumentFragment:c,HTMLTemplateElement:A,Node:w,Element:U,NodeFilter:M,NamedNodeMap:B=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:F,DOMParser:z,trustedTypes:H}=n,$=U.prototype,V=S($,"cloneNode"),Y=S($,"nextSibling"),K=S($,"childNodes"),Q=S($,"parentNode");if("function"==typeof A){const e=s.createElement("template");e.content&&e.content.ownerDocument&&(s=e.content.ownerDocument)}let J,X="";const{implementation:Z,createNodeIterator:ee,createDocumentFragment:te,getElementsByTagName:ne}=s,{importNode:re}=i;let se={};r.isSupported="function"==typeof e&&"function"==typeof Q&&Z&&void 0!==Z.createHTMLDocument;const{MUSTACHE_EXPR:oe,ERB_EXPR:ie,TMPLIT_EXPR:ae,DATA_ATTR:le,ARIA_ATTR:ce,IS_SCRIPT_OR_DATA:ue,ATTR_WHITESPACE:de}=G;let{IS_ALLOWED_URI:pe}=G,fe=null;const he=x({},[...k,...E,...R,...I,...P]);let me=null;const ge=x({},[...O,...j,...L,...D]);let ye=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),be=null,ve=null,_e=!0,Ae=!0,we=!1,xe=!0,Ce=!1,Se=!1,ke=!1,Ee=!1,Re=!1,Te=!1,Ie=!1,Ne=!0,Pe=!1,Oe=!0,je=!1,Le={},De=null;const Ue=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Me=null;const Be=x({},["audio","video","img","source","image","track"]);let Fe=null;const ze=x({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",He="http://www.w3.org/2000/svg",$e="http://www.w3.org/1999/xhtml";let We=$e,Ge=!1,Ve=null;const Ye=x({},[qe,He,$e],h);let Ke=null;const Qe=["application/xhtml+xml","text/html"];let Je=null,Xe=null;const Ze=s.createElement("form"),et=function(e){return e instanceof RegExp||e instanceof Function},tt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Xe||Xe!==e){if(e&&"object"==typeof e||(e={}),e=C(e),Ke=Ke=-1===Qe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Je="application/xhtml+xml"===Ke?h:f,fe="ALLOWED_TAGS"in e?x({},e.ALLOWED_TAGS,Je):he,me="ALLOWED_ATTR"in e?x({},e.ALLOWED_ATTR,Je):ge,Ve="ALLOWED_NAMESPACES"in e?x({},e.ALLOWED_NAMESPACES,h):Ye,Fe="ADD_URI_SAFE_ATTR"in e?x(C(ze),e.ADD_URI_SAFE_ATTR,Je):ze,Me="ADD_DATA_URI_TAGS"in e?x(C(Be),e.ADD_DATA_URI_TAGS,Je):Be,De="FORBID_CONTENTS"in e?x({},e.FORBID_CONTENTS,Je):Ue,be="FORBID_TAGS"in e?x({},e.FORBID_TAGS,Je):{},ve="FORBID_ATTR"in e?x({},e.FORBID_ATTR,Je):{},Le="USE_PROFILES"in e&&e.USE_PROFILES,_e=!1!==e.ALLOW_ARIA_ATTR,Ae=!1!==e.ALLOW_DATA_ATTR,we=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ce=e.SAFE_FOR_TEMPLATES||!1,Se=e.WHOLE_DOCUMENT||!1,Re=e.RETURN_DOM||!1,Te=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,Ee=e.FORCE_BODY||!1,Ne=!1!==e.SANITIZE_DOM,Pe=e.SANITIZE_NAMED_PROPS||!1,Oe=!1!==e.KEEP_CONTENT,je=e.IN_PLACE||!1,pe=e.ALLOWED_URI_REGEXP||q,We=e.NAMESPACE||$e,ye=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ye.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&et(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ye.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ye.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ce&&(Ae=!1),Te&&(Re=!0),Le&&(fe=x({},[...P]),me=[],!0===Le.html&&(x(fe,k),x(me,O)),!0===Le.svg&&(x(fe,E),x(me,j),x(me,D)),!0===Le.svgFilters&&(x(fe,R),x(me,j),x(me,D)),!0===Le.mathMl&&(x(fe,I),x(me,L),x(me,D))),e.ADD_TAGS&&(fe===he&&(fe=C(fe)),x(fe,e.ADD_TAGS,Je)),e.ADD_ATTR&&(me===ge&&(me=C(me)),x(me,e.ADD_ATTR,Je)),e.ADD_URI_SAFE_ATTR&&x(Fe,e.ADD_URI_SAFE_ATTR,Je),e.FORBID_CONTENTS&&(De===Ue&&(De=C(De)),x(De,e.FORBID_CONTENTS,Je)),Oe&&(fe["#text"]=!0),Se&&x(fe,["html","head","body"]),fe.table&&(x(fe,["tbody"]),delete be.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');J=e.TRUSTED_TYPES_POLICY,X=J.createHTML("")}else void 0===J&&(J=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const s="dompurify"+(n?"#"+n:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}}(H,l)),null!==J&&"string"==typeof X&&(X=J.createHTML(""));o&&o(e),Xe=e}},nt=x({},["mi","mo","mn","ms","mtext"]),rt=x({},["foreignobject","desc","title","annotation-xml"]),st=x({},["title","style","font","a","script"]),ot=x({},E);x(ot,R),x(ot,T);const it=x({},I);x(it,N);const at=function(e){p(r.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},lt=function(e,t){try{p(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!me[e])if(Re||Te)try{at(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},ct=function(e){let t=null,n=null;if(Ee)e=""+e;else{const t=m(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ke&&We===$e&&(e=''+e+"");const r=J?J.createHTML(e):e;if(We===$e)try{t=(new z).parseFromString(r,Ke)}catch(e){}if(!t||!t.documentElement){t=Z.createDocument(We,"template",null);try{t.documentElement.innerHTML=Ge?X:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(s.createTextNode(n),o.childNodes[0]||null),We===$e?ne.call(t,Se?"html":"body")[0]:Se?t.documentElement:o},ut=function(e){return ee.call(e.ownerDocument||e,e,M.SHOW_ELEMENT|M.SHOW_COMMENT|M.SHOW_TEXT,null)},dt=function(e){return"function"==typeof w&&e instanceof w},pt=function(e,t,n){se[e]&&u(se[e],(e=>{e.call(r,t,n,Xe)}))},ft=function(e){let t=null;if(pt("beforeSanitizeElements",e,null),(n=e)instanceof F&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof B)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return at(e),!0;var n;const s=Je(e.nodeName);if(pt("uponSanitizeElement",e,{tagName:s,allowedTags:fe}),e.hasChildNodes()&&!dt(e.firstElementChild)&&v(/<[/\w]/g,e.innerHTML)&&v(/<[/\w]/g,e.textContent))return at(e),!0;if(!fe[s]||be[s]){if(!be[s]&&mt(s)){if(ye.tagNameCheck instanceof RegExp&&v(ye.tagNameCheck,s))return!1;if(ye.tagNameCheck instanceof Function&&ye.tagNameCheck(s))return!1}if(Oe&&!De[s]){const t=Q(e)||e.parentNode,n=K(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r)t.insertBefore(V(n[r],!0),Y(e))}return at(e),!0}return e instanceof U&&!function(e){let t=Q(e);t&&t.tagName||(t={namespaceURI:We,tagName:"template"});const n=f(e.tagName),r=f(t.tagName);return!!Ve[e.namespaceURI]&&(e.namespaceURI===He?t.namespaceURI===$e?"svg"===n:t.namespaceURI===qe?"svg"===n&&("annotation-xml"===r||nt[r]):Boolean(ot[n]):e.namespaceURI===qe?t.namespaceURI===$e?"math"===n:t.namespaceURI===He?"math"===n&&rt[r]:Boolean(it[n]):e.namespaceURI===$e?!(t.namespaceURI===He&&!rt[r])&&!(t.namespaceURI===qe&&!nt[r])&&!it[n]&&(st[n]||!ot[n]):!("application/xhtml+xml"!==Ke||!Ve[e.namespaceURI]))}(e)?(at(e),!0):"noscript"!==s&&"noembed"!==s&&"noframes"!==s||!v(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ce&&3===e.nodeType&&(t=e.textContent,u([oe,ie,ae],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(r.removed,{element:e.cloneNode()}),e.textContent=t)),pt("afterSanitizeElements",e,null),!1):(at(e),!0)},ht=function(e,t,n){if(Ne&&("id"===t||"name"===t)&&(n in s||n in Ze))return!1;if(Ae&&!ve[t]&&v(le,t));else if(_e&&v(ce,t));else if(!me[t]||ve[t]){if(!(mt(e)&&(ye.tagNameCheck instanceof RegExp&&v(ye.tagNameCheck,e)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(e))&&(ye.attributeNameCheck instanceof RegExp&&v(ye.attributeNameCheck,t)||ye.attributeNameCheck instanceof Function&&ye.attributeNameCheck(t))||"is"===t&&ye.allowCustomizedBuiltInElements&&(ye.tagNameCheck instanceof RegExp&&v(ye.tagNameCheck,n)||ye.tagNameCheck instanceof Function&&ye.tagNameCheck(n))))return!1}else if(Fe[t]);else if(v(pe,g(n,de,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!Me[e])if(we&&!v(ue,g(n,de,"")));else if(n)return!1;return!0},mt=function(e){return e.indexOf("-")>0},gt=function(e){pt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:me};let s=t.length;for(;s--;){const o=t[s],{name:i,namespaceURI:a,value:l}=o,c=Je(i);let p="value"===i?l:b(l);if(n.attrName=c,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,pt("uponSanitizeAttribute",e,n),p=n.attrValue,n.forceKeepAttr)continue;if(lt(i,e),!n.keepAttr)continue;if(!xe&&v(/\/>/i,p)){lt(i,e);continue}Ce&&u([oe,ie,ae],(e=>{p=g(p,e," ")}));const f=Je(e.nodeName);if(ht(f,c,p)){if(!Pe||"id"!==c&&"name"!==c||(lt(i,e),p="user-content-"+p),J&&"object"==typeof H&&"function"==typeof H.getAttributeType)if(a);else switch(H.getAttributeType(f,c)){case"TrustedHTML":p=J.createHTML(p);break;case"TrustedScriptURL":p=J.createScriptURL(p)}try{a?e.setAttributeNS(a,i,p):e.setAttribute(i,p),d(r.removed)}catch(e){}}}pt("afterSanitizeAttributes",e,null)},yt=function e(t){let n=null;const r=ut(t);for(pt("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)pt("uponSanitizeShadowNode",n,null),ft(n)||(n.content instanceof c&&e(n.content),gt(n));pt("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,s=null,o=null,a=null;if(Ge=!e,Ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!dt(e)){if("function"!=typeof e.toString)throw _("toString is not a function");if("string"!=typeof(e=e.toString()))throw _("dirty is not a string, aborting")}if(!r.isSupported)return e;if(ke||tt(t),r.removed=[],"string"==typeof e&&(je=!1),je){if(e.nodeName){const t=Je(e.nodeName);if(!fe[t]||be[t])throw _("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof w)n=ct("\x3c!----\x3e"),s=n.ownerDocument.importNode(e,!0),1===s.nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?n=s:n.appendChild(s);else{if(!Re&&!Ce&&!Se&&-1===e.indexOf("<"))return J&&Ie?J.createHTML(e):e;if(n=ct(e),!n)return Re?null:Ie?X:""}n&&Ee&&at(n.firstChild);const l=ut(je?e:n);for(;o=l.nextNode();)ft(o)||(o.content instanceof c&&yt(o.content),gt(o));if(je)return e;if(Re){if(Te)for(a=te.call(n.ownerDocument);n.firstChild;)a.appendChild(n.firstChild);else a=n;return(me.shadowroot||me.shadowrootmode)&&(a=re.call(i,a,!0)),a}let d=Se?n.outerHTML:n.innerHTML;return Se&&fe["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&v(W,n.ownerDocument.doctype.name)&&(d="\n"+d),Ce&&u([oe,ie,ae],(e=>{d=g(d,e," ")})),J&&Ie?J.createHTML(d):d},r.setConfig=function(){tt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ke=!0},r.clearConfig=function(){Xe=null,ke=!1},r.isValidAttribute=function(e,t,n){Xe||tt({});const r=Je(e),s=Je(t);return ht(r,s,n)},r.addHook=function(e,t){"function"==typeof t&&(se[e]=se[e]||[],p(se[e],t))},r.removeHook=function(e){if(se[e])return d(se[e])},r.removeHooks=function(e){se[e]&&(se[e]=[])},r.removeAllHooks=function(){se={}},r}()}()},2232:function(e,t){var n,r;n=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,s={},o=0,i={parse:function(n,r){var a=(r=r||{}).dynamicTyping||!1;if(A(a)&&(r.dynamicTypingFunction=a,a={}),r.dynamicTyping=a,r.transform=!!A(r.transform)&&r.transform,r.worker&&i.WORKERS_SUPPORTED){var l=function(){if(!i.WORKERS_SUPPORTED)return!1;var n,r,a=(n=t.URL||t.webkitURL||null,r=e.toString(),i.BLOB_URL||(i.BLOB_URL=n.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))),l=new t.Worker(a);return l.onmessage=g,l.id=o++,s[l.id]=l}();return l.userStep=r.step,l.userChunk=r.chunk,l.userComplete=r.complete,l.userError=r.error,r.step=A(r.step),r.chunk=A(r.chunk),r.complete=A(r.complete),r.error=A(r.error),delete r.worker,void l.postMessage({input:n,config:r,workerId:l.id})}var f=null;return i.NODE_STREAM_INPUT,"string"==typeof n?(n=function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}(n),f=r.download?new c(r):new d(r)):!0===n.readable&&A(n.read)&&A(n.on)?f=new p(r):(t.File&&n instanceof File||n instanceof Object)&&(f=new u(r)),f.stream(n)},unparse:function(e,t){var n=!1,r=!0,s=",",o="\r\n",a='"',l=a+a,c=!1,u=null,d=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||i.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(s=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(c=t.skipEmptyLines),"string"==typeof t.newline&&(o=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+a),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(d=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var p=new RegExp(h(a),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return f(null,e,c);if("object"==typeof e[0])return f(u||Object.keys(e[0]),e,c)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),f(e.fields||[],e.data||[],c);throw new Error("Unable to serialize unrecognized input");function f(e,t,n){var i="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var a=Array.isArray(e)&&0=this._config.preview;if(r)t.postMessage({results:a,workerId:i.WORKER_ID,finished:c});else if(A(this._config.chunk)&&!n){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);a=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!c||!A(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(e){A(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:i.WORKER_ID,error:e,finished:!1})}}function c(e){var t;(e=e||{}).chunkSize||(e.chunkSize=i.RemoteChunkSize),l.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=_(this._chunkLoaded,this),t.onerror=_(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var r in e)t.setRequestHeader(r,e[r])}if(this._config.chunkSize){var s=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+s)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var n=t.statusText||e;this._sendError(new Error(n))}}function u(e){var t,n;(e=e||{}).chunkSize||(e.chunkSize=i.LocalChunkSize),l.call(this,e);var r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=_(this._chunkLoaded,this),t.onerror=_(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function d(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,n=this._config.chunkSize;return n?(e=t.substring(0,n),t=t.substring(n)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function p(e){l.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=_((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=_((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=_((function(){this._streamCleanUp(),r=!0,this._streamData("")}),this),this._streamCleanUp=_((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function f(e){var t,n,r,s=Math.pow(2,53),o=-s,a=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,u=0,d=0,p=!1,f=!1,g=[],y={data:[],errors:[],meta:{}};if(A(e.step)){var b=e.step;e.step=function(t){if(y=t,x())w();else{if(w(),0===y.data.length)return;u+=t.data.length,e.preview&&u>e.preview?n.abort():(y.data=y.data[0],b(y,c))}}}function _(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function w(){return y&&r&&(S("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+i.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(y.data=y.data.filter((function(e){return!_(e)}))),x()&&function(){if(y)if(Array.isArray(y.data[0])){for(var t=0;x()&&t=g.length?"__parsed_extra":g[r]),e.transform&&(i=e.transform(i,o)),i=C(o,i),"__parsed_extra"===o?(s[o]=s[o]||[],s[o].push(i)):s[o]=i}return e.header&&(r>g.length?S("FieldMismatch","TooManyFields","Too many fields: expected "+g.length+" fields but parsed "+r,d+n):r=r.length/2?"\r\n":"\r"}(s,l)),r=!1,e.delimiter)A(e.delimiter)&&(e.delimiter=e.delimiter(s),y.meta.delimiter=e.delimiter);else{var c=function(t,n,r,s,o){var a,l,c,u;o=o||[",","\t","|",";",i.RECORD_SEP,i.UNIT_SEP];for(var d=0;d=a)return G(!0)}else for(B=u,u++;;){if(-1===(B=i.indexOf(t,B+1)))return f||w.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:_.length,index:u}),$();if(B===m-1)return $(i.substring(u,B).replace(M,t));if(t!==c||i[B+1]!==c){if(t===c||0===B||i[B-1]!==c){-1!==D&&D=a)return G(!0);break}w.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:_.length,index:u}),B++}}else B++}return $();function q(e){_.push(e),C=u}function H(e){var t=0;if(-1!==e){var n=i.substring(B+1,e);n&&""===n.trim()&&(t=n.length)}return t}function $(e){return f||(void 0===e&&(e=i.substring(u)),x.push(e),u=m,q(x),v&&V()),G()}function W(e){u=e,q(x),x=[],U=i.indexOf(r,u)}function G(e){return{data:_,errors:w,meta:{delimiter:n,linebreak:r,aborted:d,truncated:!!e,cursor:C+(p||0)}}}function V(){o(G()),_=[],w=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return u}}function g(e){var t=e.data,n=s[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var o={abort:function(){r=!0,y(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:b,resume:b};if(A(n.userStep)){for(var i=0;i{"use strict";var r=n(7200);function s(){}function o(){}o.resetWarningCache=s,e.exports=function(){function e(e,t,n,s,o,i){if(i!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:s};return n.PropTypes=n,n}},900:(e,t,n)=>{e.exports=n(7336)()},7200:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4108:(e,t,n)=>{"use strict";var r=n(1280),s=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:s,type:e,key:c,ref:u,props:o,_owner:a.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},7e3:(e,t,n)=>{"use strict";e.exports=n(4108)},3736:e=>{e.exports=function(e,t,n,r){var s=n?n.call(r,e,t):void 0;if(void 0!==s)return!!s;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),l=0;l{"use strict";var t=[];function n(e){for(var n=-1,r=0;r{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},2940:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},9516:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7020:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var s=void 0!==n.layer;s&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,s&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9296:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},3376:(e,t,n)=>{"use strict";n.d(t,{cp:()=>Ut});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n2||$(L)>3?"":" "}function V(e,t){for(;--t&&F()&&!(L<48||L>102||L>57&&L<65||L>70&&L<97););return H(e,q()+(t<6&&32==z()&&32==F()))}function Y(e){for(;F();)switch(L){case e:return j;case 34:case 39:34!==e&&39!==e&&Y(L);break;case 40:41===e&&Y(e);break;case 92:F()}return j}function K(e,t){for(;F()&&e+L!==57&&(e+L!==84||47!==z()););return"/*"+H(t,j-1)+"*"+v(47===e?e:F())}function Q(e){for(;!$(z());)F();return H(e,j)}function J(e,t){for(var n="",r=0;r6)switch(S(e,t+1)){case 109:if(45!==S(e,t+4))break;case 102:return x(e,/(.+:)(.+)-([^]+)/,"$1"+d+"$2-$3$1"+u+(108==S(e,t+3)?"$3":"$2-$3"))+e;case 115:return~C(e,"stretch")?Z(x(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return x(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,s,o,i,a){return c+n+":"+r+a+(s?c+n+"-span:"+(o?i:+i-+r)+a:"")+e}));case 4949:if(121===S(e,t+6))return x(e,":",":"+d)+e;break;case 6444:switch(S(e,45===S(e,14)?18:11)){case 120:return x(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+d+(45===S(e,14)?"inline-":"")+"box$3$1"+d+"$2$3$1"+c+"$2box$3")+e;case 100:return x(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return x(e,"scroll-","scroll-snap-")+e}return e}function ee(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case h:return void(e.return=Z(e.value,e.length,n));case g:return J([M(e,{value:x(e.value,"@","@"+d)})],r);case f:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(w(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":B(M(e,{props:[x(t,/:(read-\w+)/,":"+u+"$1")]})),B(M(e,{props:[t]})),_(e,{props:I(n,r)});break;case"::placeholder":B(M(e,{props:[x(t,/:(plac\w+)/,":"+d+"input-$1")]})),B(M(e,{props:[x(t,/:(plac\w+)/,":"+u+"$1")]})),B(M(e,{props:[x(t,/:(plac\w+)/,c+"input-$1")]})),B(M(e,{props:[t]})),_(e,{props:I(n,r)})}return""}))}}function te(e){return function(e){return D="",e}(ne("",null,null,null,[""],e=function(e){return N=P=1,O=E(D=e),j=0,[]}(e),0,[0],e))}function ne(e,t,n,r,s,o,i,a,l){for(var c=0,u=0,d=i,p=0,f=0,h=0,m=1,g=1,y=1,b=0,_="",A=s,w=o,k=r,R=_;g;)switch(h=b,b=F()){case 40:if(108!=h&&58==S(R,d-1)){-1!=C(R+=x(W(b),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:R+=W(b);break;case 9:case 10:case 13:case 32:R+=G(h);break;case 92:R+=V(q()-1,7);continue;case 47:switch(z()){case 42:case 47:T(se(K(F(),q()),t,n,l),l);break;default:R+="/"}break;case 123*m:a[c++]=E(R)*y;case 125*m:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+u:-1==y&&(R=x(R,/\f/g,"")),f>0&&E(R)-d&&T(f>32?oe(R+";",r,n,d-1,l):oe(x(R," ","")+";",r,n,d-2,l),l);break;case 59:R+=";";default:if(T(k=re(R,t,n,c,u,s,a,_,A=[],w=[],d,o),o),123===b)if(0===u)ne(R,t,k,k,A,o,d,a,w);else switch(99===p&&110===S(R,3)?100:p){case 100:case 108:case 109:case 115:ne(e,k,k,r&&T(re(e,k,k,0,0,s,a,_,s,A=[],d,w),w),s,w,d,a,r?A:w);break;default:ne(R,k,k,k,[""],w,0,a,w)}}c=u=f=0,m=y=1,_=R="",d=i;break;case 58:d=1+E(R),f=h;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==(L=j>0?S(D,--j):0,P--,10===L&&(P=1,N--),L))continue;switch(R+=v(b),b*m){case 38:y=u>0?1:(R+="\f",-1);break;case 44:a[c++]=(E(R)-1)*y,y=1;break;case 64:45===z()&&(R+=W(F())),p=z(),u=d=E(_=R+=Q(q())),b++;break;case 45:45===h&&2==E(R)&&(m=0)}}return o}function re(e,t,n,r,s,o,i,a,l,c,u,d){for(var p=s-1,h=0===s?o:[""],m=R(h),g=0,y=0,v=0;g0?h[_]+" "+w:x(w,/&\f/g,h[_])))&&(l[v++]=C);return U(e,t,n,0===s?f:a,l,c,u,d)}function se(e,t,n,r){return U(e,t,n,p,v(L),k(e,2,-2),0,r)}function oe(e,t,n,r,s){return U(e,t,n,h,k(e,0,r),k(e,r+1,-1),r,s)}const ie={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var ae="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",le="undefined"!=typeof window&&"HTMLElement"in window,ce=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),ue=(new Set,Object.freeze([])),de=Object.freeze({}),pe=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),fe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,he=/(^-|-$)/g;function me(e){return e.replace(fe,"-").replace(he,"")}var ge=/(a)(d)/gi,ye=function(e){return String.fromCharCode(e+(e>25?39:97))};function be(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ye(t%52)+n;return(ye(t%52)+n).replace(ge,"$1-$2")}var ve,_e=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Ae=function(e){return _e(5381,e)};function we(e){return"string"==typeof e&&!0}var xe="function"==typeof Symbol&&Symbol.for,Ce=xe?Symbol.for("react.memo"):60115,Se=xe?Symbol.for("react.forward_ref"):60112,ke={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ee={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Re={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Te=((ve={})[Se]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ve[Ce]=Re,ve);function Ie(e){return("type"in(t=e)&&t.type.$$typeof)===Ce?Re:"$$typeof"in e?Te[e.$$typeof]:ke;var t}var Ne=Object.defineProperty,Pe=Object.getOwnPropertyNames,Oe=Object.getOwnPropertySymbols,je=Object.getOwnPropertyDescriptor,Le=Object.getPrototypeOf,De=Object.prototype;function Ue(e,t,n){if("string"!=typeof t){if(De){var r=Le(t);r&&r!==De&&Ue(e,r,n)}var s=Pe(t);Oe&&(s=s.concat(Oe(t)));for(var o=Ie(e),i=Ie(t),a=0;a0?" Args: ".concat(t.join(", ")):""))}var Ge=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,s=r;e>=s;)if((s<<=1)<0)throw We(16,"".concat(e));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var o=r;o=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),s=r+n,o=r;o=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))})),r+="".concat(i).concat(a,'{content:"').concat(l,'"}').concat("/*!sc*/\n")},o=0;o0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===f&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(ut,n).replace(r,c))})),i.prefix&&u.push(ee),u.push(X);var d=function(e,s,o,a){void 0===s&&(s=""),void 0===o&&(o=""),void 0===a&&(a="&"),t=a,n=s,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(dt,""),c=te(o||s?"".concat(o," ").concat(s," { ").concat(l," }"):l);i.namespace&&(c=pt(c,i.namespace));var d,p,f,h=[];return J(c,(d=u.concat((f=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&f(e)})),p=R(d),function(e,t,n,r){for(var s="",o=0;o="A"&&e<="Z"};function wt(e){for(var t="",n=0;n>>0);if(!t.hasNameForId(this.componentId,o)){var i=n(s,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,i)}r=Fe(r,o),this.staticRulesId=o}else{for(var a=_e(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=Fe(r,p)}}return r},e}(),Tt=i().createContext(void 0);Tt.Consumer;var It={};function Nt(e,t,n){var s=Be(e),a=e,l=!we(e),c=t.attrs,u=void 0===c?ue:c,d=t.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":me(e);It[n]=(It[n]||0)+1;var r="".concat(n,"-").concat(function(e){return be(Ae(e)>>>0)}("6.1.1"+n+It[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):d,f=t.displayName,h=void 0===f?function(e){return we(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):f,m=t.displayName&&t.componentId?"".concat(me(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&a.attrs?a.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(s&&a.shouldForwardProp){var b=a.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;y=function(e,t){return b(e,t)&&v(e,t)}}else y=b}var _=new Rt(n,m,s?a.componentStyle:void 0);function A(e,t){return function(e,t,n){var s=e.attrs,a=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=i().useContext(Tt),f=bt(),h=e.shouldForwardProp||f.shouldForwardProp,m=function(e,t,n){for(var s,o=r(r({},t),{className:void 0,theme:n}),i=0;i2&&ct.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=nt(),r=ze([n&&'nonce="'.concat(n,'"'),"".concat(ae,'="true"'),"".concat("data-styled-version",'="').concat("6.1.1",'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw We(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw We(2);var n=((t={})[ae]="",t["data-styled-version"]="6.1.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),s=nt();return s&&(n.nonce=s),[i().createElement("style",r({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ct({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw We(2);return i().createElement(vt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw We(3)}}(),"__sc-".concat(ae,"__")},4928:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("audio",{className:"edit-audio-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["audio"],className:e,icon:"format-audio",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const d=u},2312:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(7e3),s=n(900),o=n.n(s),i=n(7287);const a=({label:e,value:t,options:n,onChange:s})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BaseControl,{label:e}),n.map((e=>(0,r.jsx)(i.CheckboxControl,{label:e.label,checked:t.includes(e.value),onChange:n=>{s(n?[...t,e.value]:[...t.filter((t=>t!==e.value))])}})))]});a.propTypes={label:o().string.isRequired,value:o().arrayOf(o().string).isRequired,options:o().arrayOf(o().shape({label:o().string.isRequired,value:o().string.isRequired})).isRequired,onChange:o().func.isRequired};const l=a},8312:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(7e3),s=n(1280),o=n.n(s),i=n(3396),a=n(900),l=n.n(a),c=n(5328);class u extends o().PureComponent{static handleSubmit(e){e.preventDefault()}constructor(e){super(e),this.handleChange=this.handleChange.bind(this),this.state={error:"",success:""}}handleChange(e){const{attributeName:t,callback:n,setAttributes:r}=this.props;e.target.files&&e.target.files[0]&&(0,c.parseCSVFile)(e.target.files[0]).then((e=>n?n(e):e)).then((e=>{Array.isArray(e)&&e.length>0?(this.setState({error:"",success:(0,i.__)("Successfully read CSV data.","alley-scripts")}),r({[t]:JSON.stringify(e)})):this.setState({error:(0,i.__)("Could not map CSV data. Please check the source file to ensure that it has the correct structure.","alley-scripts"),success:""})})).catch((e=>{this.setState({error:e,success:""})}))}render(){const{error:e="",success:t=""}=this.state;return(0,r.jsxs)("div",{className:"alley-scripts-block-csv-uploader",children:[(0,r.jsx)("h2",{children:(0,i.__)("Upload CSV","alley-scripts")}),(0,r.jsxs)("form",{onSubmit:this.handleSubmit,children:[""!==e?(0,r.jsxs)("div",{style:{color:"#c00"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Error:","alley-scripts")})," ",e]}):null,""!==t?(0,r.jsxs)("div",{style:{color:"#0c0"},children:[(0,r.jsx)("strong",{children:(0,i.__)("Success:","alley-scripts")})," ",t]}):null,(0,r.jsx)("div",{children:(0,r.jsxs)("label",{htmlFor:"alley-scripts-block-csv-uploader-file",children:[(0,r.jsx)("p",{children:(0,i.__)("Select a file to load data.","alley-scripts")}),(0,r.jsx)("input",{id:"alley-scripts-block-csv-uploader-file",onChange:this.handleChange,type:"file"})]})})]})]})}}u.defaultProps={callback:null},u.propTypes={attributeName:l().string.isRequired,callback:l().func,setAttributes:l().func.isRequired}},8348:(e,t,n)=>{"use strict";n.d(t,{default:()=>p});var r=n(7e3),s=n(3396),o=n(900),i=n.n(o),a=n(3376),l=n(7720);const c=a.cp.div` + box-sizing: border-box; + flex-shrink: 0; + height: auto; + max-height: 1450px; + max-width: 1450px; + min-height: 20px; + min-width: 20px; + position: relative; + width: auto; +`,u=({src:e})=>(0,r.jsx)(c,{children:(0,r.jsx)("img",{alt:(0,s.__)("Edit image","alley-scripts"),className:"edit-image-preview",src:e,title:(0,s.__)("Edit image","alley-scripts")})});u.propTypes={src:i().string.isRequired};const d=({className:e,imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,value:a,valueURL:c})=>(0,r.jsx)(l.MediaPicker,{allowedTypes:["image"],className:e,icon:"format-image",imageSize:t,displayControlsInToolbar:n,onReset:s,onUpdate:o,onUpdateURL:i,preview:u,value:a,valueURL:c});d.defaultProps={className:"",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,valueURL:""},d.propTypes={className:i().string,imageSize:i().string,displayControlsInToolbar:i().bool,onReset:i().func.isRequired,onUpdate:i().func.isRequired,onUpdateURL:i().func,value:i().number.isRequired,valueURL:i().string};const p=d},7720:(e,t,n)=>{"use strict";n.d(t,{AudioPicker:()=>r.default,CSVUploader:()=>o.default,Checkboxes:()=>s.default,ImagePicker:()=>i.default,MediaPicker:()=>a.default,PostPicker:()=>c.default,PostSelector:()=>u.default,SafeHtml:()=>l.default,Selector:()=>d.default,Sortable:()=>p.default,SortableItem:()=>f.default,TermSelector:()=>h.default,VideoPicker:()=>m.default});var r=n(4928),s=n(2312),o=n(8312),i=n(8348),a=n(5680),l=n(9160),c=n(4808),u=n(8800),d=n(9064),p=n(8504),f=n(1917),h=n(668),m=n(5316)},5680:(e,t,n)=>{"use strict";n.d(t,{default:()=>m});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(9528),l=n(7287),c=n(7752),u=n(3396),d=n(5328);const p=i.cp.div` + display: block; + position: relative; +`,f=i.cp.div` + background: white; + border: 1px solid black; + padding: 1em; +`,h=({allowedTypes:e,className:t,icon:n,imageSize:s,displayControlsInToolbar:o,onReset:i,onUpdate:h,onUpdateURL:m,preview:g,value:y,valueURL:b})=>{const{media:v}=(0,c.useSelect)((e=>({media:y?e("core").getMedia(y):void 0})),[y]);if(0!==y&&null===v)return(0,r.jsx)(l.Spinner,{});const _=v?(0,d.getMediaUrl)(v,s):b;return _?(0,r.jsxs)(p,{className:t,children:[g?(0,r.jsx)(g,{src:_}):(0,r.jsxs)(f,{className:"alley-scripts-media-picker__preview",children:[(0,r.jsx)("p",{children:(0,u.__)("Selected file:","alley-scripts")}),(0,r.jsx)("p",{children:(0,r.jsx)("a",{href:_,children:_})})]}),o?(0,r.jsx)(a.BlockControls,{group:"other",children:(0,r.jsx)(a.MediaReplaceFlow,{name:(0,u.__)("Edit Media","alley-scripts"),mediaId:y,mediaURL:_,allowedTypes:e,onSelect:h,onSelectURL:m,children:(0,r.jsx)(l.ToolbarButton,{isDestructive:!0,text:(0,u.__)("Remove","alley-scripts"),onClick:i})})}):(0,r.jsx)(l.Button,{variant:"primary",onClick:i,children:(0,u.__)("Reset","alley-scripts")})]}):(0,r.jsx)(p,{className:t,children:(0,r.jsx)(a.MediaPlaceholder,{allowedTypes:e,disableMediaButtons:!!b,icon:(0,r.jsx)(a.BlockIcon,{icon:n}),onSelect:h,onSelectURL:m,value:{id:y,src:_}})})};h.defaultProps={allowedTypes:[],className:"",icon:"format-aside",imageSize:"thumbnail",displayControlsInToolbar:!1,onUpdateURL:null,preview:null,valueURL:""},h.propTypes={allowedTypes:o().arrayOf(o().string),className:o().string,icon:o().string,imageSize:o().string,displayControlsInToolbar:o().bool,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,preview:o().element,value:o().number.isRequired,valueURL:o().string};const m=h},4808:(e,t,n)=>{"use strict";n.d(t,{default:()=>F});var r=n(7e3),s=n(1280),o=n(3376),i=n(7287),a=n(3396),l=n(7204),c=n(2e3),u=n(2108),d=n.n(u),p=n(7020),f=n.n(p),h=n(7240),m=n.n(h),g=n(9516),y=n.n(g),b=n(2940),v=n.n(b),_=n(9296),A=n.n(_),w=n(9680),x={};x.styleTagTransform=A(),x.setAttributes=y(),x.insert=m().bind(null,"head"),x.domAPI=f(),x.insertStyleElement=v(),d()(w.c,x),w.c&&w.c.locals&&w.c.locals;var C=n(4632),S=n.n(C),k=n(6484),E=n.n(k),R=n(7424),T={};T.styleTagTransform=A(),T.setAttributes=y(),T.insert=m().bind(null,"head"),T.domAPI=f(),T.insertStyleElement=v(),d()(R.c,T),R.c&&R.c.locals&&R.c.locals;const I=window.wp.htmlEntities;var N=n(9160);const P=o.cp.div` + align-items: center; + gap: 4px; + overflow-wrap: anywhere; + display: flex; + flex-direction: column; + justify-content: center; + padding: 0.5rem 0.75rem; +`,O=({title:e,postType:t,attachmentID:n})=>{const s=(0,c.useMedia)(n),o=s?.media_details?.sizes?.thumbnail?.source_url,i=s?.alt_text??"";return(0,r.jsxs)(P,{children:[o?(0,r.jsx)("img",{style:{maxWidth:"100%",height:"auto"},loading:"lazy",src:o,alt:i}):null,(0,r.jsx)(N.default,{html:(0,I.decodeEntities)(e),className:"post-picker-result-title",tag:"strong"}),(0,a.sprintf)(" (%s)",t)]})},j=({baseUrl:e,searchRender:t,selected:n,setSelected:o,suppressPostIds:c=[]})=>{const[u,d]=(0,s.useState)(!1),[p,f]=(0,s.useState)([]),[h,m]=(0,s.useState)(!1),[g,y]=(0,s.useState)(0),[b,v]=(0,s.useState)({searchValue:"",page:1}),_=(0,s.useCallback)((async(t,n=!1)=>{if(t.searchValue&&t.searchValue.length<=2)return;const r=function(){let n=(0,l.addQueryArgs)(e,{page:t.page,_embed:1,exclude:c.join(",")});return t.searchValue&&t.searchValue.length>2&&(n=(0,l.addQueryArgs)(n,{search:t.searchValue})),n}();d(!0);const s=await S()({path:r,parse:!1});y(parseInt(s.headers.get("X-WP-TotalPages"),10));const o=await s.json();let i=o;t.page>1&&(i=[...p,...o]),n||(f(i),d(!1))}),[p,e,c]);return(0,s.useEffect)((()=>{let e=!1;return h||(m(!0),_(b,e)),()=>{e=!0}}),[_,h,b]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.TextControl,{value:b.searchValue,placeholder:(0,a.__)("Search...","alley-scripts"),label:(0,a.__)("Search","alley-scripts"),onChange:e=>{const t={...b,searchValue:e,page:1};v(t),_(t)}}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__post-list",children:[p?p.map((e=>(0,r.jsx)(i.Button,{className:E()({"alley-scripts-post-picker__post":!0,"is-selected":e.id===n}),onClick:()=>o(e.id),children:t?t(e):(0,r.jsx)(O,{title:e.title,postType:e.subtype,attachmentID:e?._embedded?.self[0]?.featured_media})},e.id))):null,u?(0,r.jsx)(i.Spinner,{}):null,g>0&&b.page{const e={...b,page:b.page+1};v(e),_(e)},children:(0,a.__)("Load More","alley-scripts")})}):null]})]})},L=({baseUrl:e,closeModal:t,modalTitle:n,onUpdate:o,searchRender:l,suppressPostIds:c=[]})=>{const[u,d]=(0,s.useState)();return(0,r.jsxs)(i.Modal,{className:"alley-scripts-post-picker__modal",isDismissible:!0,title:n,onRequestClose:t,closeButtonLabel:"Close",children:[(0,r.jsx)(j,{baseUrl:e,selected:u??0,setSelected:d,searchRender:l,suppressPostIds:c}),(0,r.jsxs)("div",{className:"alley-scripts-post-picker__buttons",children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:t,children:(0,a.__)("Cancel","alley-scripts")}),(0,r.jsx)(i.Button,{variant:"primary",onClick:()=>{u&&(o(u),t())},disabled:!u,children:(0,a.__)("Select","alley-scripts")})]})]})};var D=n(3800),U={};U.styleTagTransform=A(),U.setAttributes=y(),U.insert=m().bind(null,"head"),U.domAPI=f(),U.insertStyleElement=v(),d()(D.c,U),D.c&&D.c.locals&&D.c.locals;const M=o.cp.div` + display: block; + position: relative; +`,B=o.cp.div` + border: 1px solid #eee; + display: flex; + flex-direction: column; + margin: 5px 0; + padding: 0.5rem 0.75rem; + text-align: center; +`,F=({allowedTypes:e,className:t,getPostType:n,modalTitle:o=(0,a.__)("Select Post","alley-scripts"),onReset:u,onUpdate:d,params:p={},previewRender:f,replaceText:h=(0,a.__)("Replace","alley-scripts"),resetText:m=(0,a.__)("Reset","alley-scripts"),searchEndpoint:g="/wp/v2/search",searchRender:y,selectText:b=(0,a.__)("Select","alley-scripts"),suppressPostIds:v=[],title:_="",value:A=0})=>{const[w,x]=(0,s.useState)(!1),C=(0,l.addQueryArgs)(g,{type:"post",subtype:e??"any",...p}),S=(0,c.usePostById)(A,n),{featured_media:k,title:{rendered:E=""}={},type:R=""}=S||{},T=()=>{x(!0)},I=()=>(0,r.jsxs)(i.ButtonGroup,{children:[(0,r.jsx)(i.Button,{variant:"secondary",onClick:u,style:{margin:"0 4px"},children:m}),(0,r.jsx)(i.Button,{variant:"secondary",onClick:T,style:{margin:"0 4px"},children:h})]});return 0!==A&&null===S?(0,r.jsx)(i.Spinner,{}):(0,r.jsxs)(M,{className:t,children:[_?(0,r.jsx)("h4",{children:_}):null,0!==A&&void 0===S?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Notice,{status:"error",isDismissible:!1,className:"post-picker-notice",children:(0,r.jsx)("p",{children:(0,a.sprintf)((0,a.__)("Post %d is no longer available; it has been unpublished or deleted","alley-scripts"),A)})}),I()]}):null,0!==A&&void 0!==S?(0,r.jsxs)(r.Fragment,{children:[void 0!==f?f(S):(0,r.jsx)(B,{children:(0,r.jsx)(O,{title:E,postType:R,attachmentID:k})}),I()]}):null,0===A?(0,r.jsx)(i.Button,{onClick:T,variant:"secondary",children:b}):null,w?(0,r.jsx)(L,{closeModal:()=>{x(!1)},baseUrl:C,modalTitle:o,onUpdate:d,searchRender:y,suppressPostIds:v}):null]})}},8800:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d})=>(0,r.jsx)(a.Selector,{type:"post",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d});l.defaultProps={className:"",emptyLabel:(0,i.__)("No posts found","alley-scripts"),label:(0,i.__)("Search for posts","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for posts","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},9160:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(6595),o=n.n(s),i=n(900),a=n.n(i);const l=({className:e,html:t,tag:n})=>(0,r.jsx)(n,{className:e,dangerouslySetInnerHTML:{__html:o().sanitize(t)}});l.defaultProps={className:""},l.propTypes={className:a().string,html:a().string.isRequired,tag:a().string.isRequired};const c=l},9064:(e,t,n)=>{"use strict";n.d(t,{default:()=>M});var r=n(7e3),s=n(900),o=n.n(s),i=n(1280),a=n(4632),l=n.n(a),c=n(6484),u=n.n(c),d=n(7287),p=n(3396),f=n(7204);const h={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let m;const g=new Uint8Array(16);function y(){if(!m&&(m="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!m))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return m(g)}const b=[];for(let e=0;e<256;++e)b.push((e+256).toString(16).slice(1));const v=function(e,t,n){if(h.randomUUID&&!t&&!e)return h.randomUUID();const r=(e=e||{}).random||(e.rng||y)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return b[e[t+0]]+b[e[t+1]]+b[e[t+2]]+b[e[t+3]]+"-"+b[e[t+4]]+b[e[t+5]]+"-"+b[e[t+6]]+b[e[t+7]]+"-"+b[e[t+8]]+b[e[t+9]]+"-"+b[e[t+10]]+b[e[t+11]]+b[e[t+12]]+b[e[t+13]]+b[e[t+14]]+b[e[t+15]]}(r)};var _=n(2e3);const A=({emptyLabel:e,error:t,id:n,isOpen:s,labelledbyId:o,loading:i,onSelect:a,options:l,selectedItems:c,threshold:f,value:h})=>{if(!i&&(""===h||f>h.length))return null;let m="",g="";return i?(m="loading",g=(0,p.__)("Loading...","alley-scripts")):t?(m="error",g=t):i||0!==l.length||(m="no-posts",g=e),i||!i&&(h&&0===l.length||t)?(0,r.jsx)("div",{"aria-busy":!0,className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("div",{className:u()("autocomplete__dropdown--notice",`autocomplete__${m}`),children:g})}):(0,r.jsx)("div",{className:u()("autocomplete__dropdown",{"autocomplete__dropdown--is-open":s}),children:(0,r.jsx)("ul",{role:"listbox","aria-labelledby":o,id:n,className:u()("autocomplete__dropdown--results","autocomplete__list"),children:l.map((e=>(0,r.jsx)("li",{className:"autocomplete__list--item",children:(0,r.jsx)(d.Button,{onClick:()=>a(e),type:"button",disabled:c.some((t=>t.id===e.id)),isTertiary:!0,children:e.title})},e.id)))})})};A.propTypes={emptyLabel:o().string.isRequired,error:o().string.isRequired,id:o().string.isRequired,isOpen:o().bool.isRequired,labelledbyId:o().string.isRequired,loading:o().bool.isRequired,options:o().arrayOf(o().shape({label:o().string,value:o().string})).isRequired,onSelect:o().func.isRequired,selectedItems:o().shape([]).isRequired,threshold:o().number.isRequired,value:o().string.isRequired};const w=A;var x=n(2108),C=n.n(x),S=n(7020),k=n.n(S),E=n(7240),R=n.n(E),T=n(9516),I=n.n(T),N=n(2940),P=n.n(N),O=n(9296),j=n.n(O),L=n(5500),D={};D.styleTagTransform=j(),D.setAttributes=I(),D.insert=R().bind(null,"head"),D.domAPI=k(),D.insertStyleElement=P(),C()(L.c,D),L.c&&L.c.locals&&L.c.locals;const U=({type:e,className:t,emptyLabel:n,label:s,maxPages:o,multiple:a,onSelect:c,placeholder:p,subTypes:h,selected:m,threshold:g})=>{const y=v(),[b,A]=(0,i.useState)(""),[x,C]=(0,i.useState)([]),[S,k]=(0,i.useState)(!1),[E,R]=(0,i.useState)(!1),[T,I]=(0,i.useState)(""),[N,P]=(0,i.useState)([]),O=(0,i.useRef)(),j=(0,_.useDebounce)(T,750),L=(0,i.useCallback)((async(t=1)=>{if(j.length0?h.join(","):"any",type:e});await l()({path:r,parse:!1}).then((e=>{const t=parseInt(e.headers.get("X-WP-TotalPages"),10);return n=t>o?o:t,e.json()})).then((e=>{C((t=>[...t,...e])),R(!1),(n&&n>t||t>=1&&a&&N.length>0)&&L(t+1)})).catch((e=>A(e.message)))}),[j,e,o,a,h,N.length,g]);(0,i.useEffect)((()=>{P(m)}),[m]),(0,i.useEffect)((()=>{j&&g<=j.length?L():C([])}),[j,L,g]);const D=e=>{k(O.current.contains(e.target))},U=e=>{"Escape"===e.key&&k(!1)};(0,i.useEffect)((()=>(document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)))),(0,i.useEffect)((()=>(O&&document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D))));const M=e=>{let t=[];if(N.some((t=>t.id===e.id))){const n=N.findIndex((t=>t.id===e.id));t=[...N.slice(0,n),...N.slice(n+1,N.length)]}else a?t=[...N,e]:(t=[e],k(!1));P(t),c(t)};return(0,r.jsx)("form",{className:"autocomplete__component",onSubmit:e=>e.preventDefault(),children:(0,r.jsxs)("div",{className:u()("components-base-control","autocomplete-base-control",t),ref:O,children:[(0,r.jsxs)("div",{"aria-expanded":S,"aria-haspopup":"listbox","aria-owns":`listbox-${y}`,className:u()("components-base-control__field","autocomplete-base-control__field"),role:"combobox",children:[(0,r.jsx)("label",{className:u()("components-base-control__label","autocomplete-base-control__label"),htmlFor:`autocomplete-${y}`,children:(0,r.jsx)("div",{children:s})}),N.length>0?(0,r.jsx)("ul",{role:"listbox","aria-labelledby":`autocomplete-${y}`,id:`selected-items-${y}`,className:u()("autocomplete__selection--results","autocomplete__selection-list"),children:N.map((e=>(0,r.jsx)("li",{className:"autocomplete__selection-list--item",children:(0,r.jsx)(d.Button,{className:"autocomplete__selection-list--item--button",isSecondary:!0,isSmall:!0,onClick:()=>M(e),type:"button",children:e.title})},e.title)))}):null,(0,r.jsx)("input",{"aria-autocomplete":"list",autoComplete:"off",className:u()("components-text-control__input","autocomplete-text-control__input",{"autocomplete-text-control__input--working":S}),id:`autocomplete-${y}`,onChange:e=>I(e.target.value),onFocus:()=>k(!0),placeholder:p,type:"text",value:T})]}),(0,r.jsx)(w,{emptyLabel:n,error:b,labelledById:`autocomplete-${y}`,id:`listbox-${y}`,isOpen:S,loading:E&&j,onSelect:M,options:x,selectedItems:N,threshold:g,value:j})]})})};U.defaultProps={type:"post",className:"",emptyLabel:(0,p.__)("No items found","alley-scripts"),label:(0,p.__)("Search for items","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,p.__)("Search for items","alley-scripts"),subTypes:[],selected:[],threshold:3},U.propTypes={type:o().string,className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const M=U},1917:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,index:t,list:n,setList:i}){return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(s.Button,{disabled:0===t,icon:"arrow-up-alt2",label:(0,o.__)("Move up","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t-1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{disabled:t===n.length-1,icon:"arrow-down-alt2",label:(0,o.__)("Move down","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t+1,0,e.splice(t,1)[0]),i(e)}}),(0,r.jsx)(s.Button,{icon:"trash",label:(0,o.__)("Remove","alley-scripts"),onClick:()=>{const e=[...n];e.splice(t,1),i(e)}})]}),(0,r.jsx)("div",{children:e})]})}},8504:(e,t,n)=>{"use strict";n.d(t,{default:()=>i});var r=n(7e3),s=n(7287),o=n(3396);function i({children:e,emptyItem:t,list:n,setList:i}){return(0,r.jsxs)(r.Fragment,{children:[e,(0,r.jsx)("div",{style:{margin:"1em 0"},children:(0,r.jsx)(s.Button,{icon:"plus",onClick:()=>i([...n,t]),variant:"primary",children:(0,o.__)("Add Item","alley-scripts")})})]})}},668:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(7e3),s=n(900),o=n.n(s),i=n(3396),a=n(7720);const l=({className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d})=>(0,r.jsx)(a.Selector,{type:"term",className:e,emptyLabel:t,label:n,maxPages:s,multiple:o,onSelect:i,placeholder:l,subTypes:c,selected:u,threshold:d});l.defaultProps={className:"",emptyLabel:(0,i.__)("No terms found","alley-scripts"),label:(0,i.__)("Search for terms","alley-scripts"),maxPages:5,multiple:!1,placeholder:(0,i.__)("Search for terms","alley-scripts"),subTypes:[],selected:[],threshold:3},l.propTypes={className:o().string,emptyLabel:o().string,label:o().string,maxPages:o().number,multiple:o().bool,onSelect:o().func.isRequired,placeholder:o().string,subTypes:o().arrayOf(o().string),selected:o().arrayOf([o().shape({id:o().number,title:o().string})]),threshold:o().number};const c=l},5316:(e,t,n)=>{"use strict";n.d(t,{default:()=>d});var r=n(7e3),s=n(900),o=n.n(s),i=n(3376),a=n(7720);const l=i.cp.div` + height: auto; + width: 100%; +`,c=({src:e})=>(0,r.jsx)(l,{children:(0,r.jsx)("video",{className:"edit-video-preview",controls:!0,src:e})});c.propTypes={src:o().string.isRequired};const u=({className:e,onReset:t,onUpdate:n,onUpdateURL:s,value:o,valueURL:i})=>(0,r.jsx)(a.MediaPicker,{allowedTypes:["video"],className:e,icon:"format-video",onReset:t,onUpdate:n,onUpdateURL:s,preview:c,value:o,valueURL:i});u.defaultProps={className:"",onUpdateURL:null,valueURL:""},u.propTypes={className:o().string,onReset:o().func.isRequired,onUpdate:o().func.isRequired,onUpdateURL:o().func,value:o().number.isRequired,valueURL:o().string};const d=u},2e3:(e,t,n)=>{"use strict";n.d(t,{useCurrentPostId:()=>h.default,useDebounce:()=>r.default,useHasInnerBlocks:()=>s.default,useInnerBlocks:()=>i.default,useInnerBlocksAttributes:()=>a.default,useInnerBlocksCount:()=>l.default,useInnerBlocksIndex:()=>o.default,useMedia:()=>c.default,useOption:()=>u.default,useParentBlock:()=>d.default,useParentBlockAttributes:()=>p.default,usePost:()=>f.default,usePostById:()=>m.default,usePostMeta:()=>g.default,usePostMetaValue:()=>y.default,usePosts:()=>b.default,useTerms:()=>v.default});var r=n(7112),s=n(6980),o=n(6644),i=n(864),a=n(8512),l=n(1344),c=n(592),u=n(7188),d=n(224),p=n(8004),f=n(1744),h=n(9695),m=n(9480),g=n(6504),y=n(3772),b=n(4704),v=n(1848)},9695:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=()=>(0,r.useSelect)((e=>{const t=e("core/editor");return t?t.getCurrentPostId():null}),[])},7112:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(1280);const s=(e,t)=>{const[n,s]=(0,r.useState)(e);return(0,r.useEffect)((()=>{const n=setTimeout((()=>{s(e)}),t);return()=>{clearTimeout(n)}}),[e,t]),n}},6980:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocksCount)(e)>0},6644:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>{const t=(0,r.useParentBlock)(e),n=(0,r.useInnerBlocks)(t);return n?n.findIndex((t=>t.clientId===e)):-1}},8512:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).map((e=>e.attributes))},1344:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=e=>(0,r.useInnerBlocks)(e).length},864:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>t(r.store).getBlocks(e)),[e])},592:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=e=>(0,r.useSelect)((t=>t("core").getMedia(e)),[e])},7188:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=function(e){const t=(0,r.useSelect)((t=>{const{getEditedEntityRecord:n,getEntityRecordEdits:r,isSavingEntityRecord:s}=t("core"),o=n("root","site"),i=r("root","site");return{value:o?.[e],isEdited:!!i?.[e],isSaving:s("root","site")}}),[]),{editEntityRecord:n,saveEntityRecord:s}=(0,r.useDispatch)("core");return{...t,onChange:function(t){n("root","site",void 0,{[e]:t})},onSave:async function(){await s("root","site",{[e]:t.value})}}}},8004:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlockAttributes:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},224:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(9528),s=n(7752);const o=e=>(0,s.useSelect)((t=>{const{getBlock:n,getBlockRootClientId:s}=t(r.store),o=s(e);return o?n(o):null}),[e])},9480:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var r=n(1280),s=n(4632),o=n.n(s),i=n(7204),a=n(1744);const l=(e,t=null)=>{const[n,s]=(0,r.useState)({}),[l,c]=(0,r.useState)(!0);(0,r.useEffect)((()=>{c(!0),e&&!n[e]?(async()=>{if(t){const n=await t(e);n?s((t=>({...t,[e]:n}))):console.error(`Custom function to get post with ID ${e} failed.`)}else{const t=(0,i.addQueryArgs)("/wp/v2/search",{include:e}),n=await o()({path:t});n.length>0&&s((t=>({...t,[e]:n[0]?.subtype})))}c(!1)})():e&&n[e]&&c(!1)}),[e]);const u=(0,a.default)(e,n[e]??"");return l||!u&&n[e]?null:u}},3772:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(2e3);const s=(e,t=null,n=null)=>{const[s,o]=(0,r.usePostMeta)(t,n);return[s[e],t=>o({...s,[e]:t})]}},6504:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null)=>{const n=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[o,i]=(0,r.useEntityProp)("postType",n,"meta",t),a="function"==typeof i?i:()=>console.error(`Error attempting to set post meta for post type ${n}. Does it have support for custom-fields?`);return["object"==typeof o?o:{},e=>a({...e})]}},1744:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>n("core").getEntityRecord("postType",t,e)),[e,t])},4704:(e,t,n)=>{"use strict";n.d(t,{default:()=>s});var r=n(7752);const s=(e,t="post")=>(0,r.useSelect)((n=>{const{getEntityRecords:r}=n("core");return r("postType",t,{include:e})}),[e,t])},1848:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(3048),s=n(7752);const o=(e=null,t=null,n="categories")=>{const o=(0,s.useSelect)((t=>e||t("core/editor").getCurrentPostType()),[]),[i,a]=(0,r.useEntityProp)("postType",o,n,t);return[i,e=>a(e)]}},5328:(e,t,n)=>{"use strict";n.d(t,{getMediaUrl:()=>i.c,parseCSVFile:()=>o});var r=n(2232),s=n.n(r);const o=e=>new Promise(((t,n)=>{s().parse(e,{complete:e=>t(e.data),dynamicTyping:!0,error:e=>n(e),header:!0,skipEmptyLines:!0})}));var i=n(6199)},6199:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});const r=(e,t="full")=>{const{media_details:{sizes:{[t]:{source_url:n=""}={},full:{source_url:r=""}={}}={}}={},sizes:{[t]:{url:s=""}={},full:{url:o=""}={}}={},source_url:i="",url:a=""}=e;return s||n||o||r||a||i||""}},1280:e=>{"use strict";e.exports=window.React},4632:e=>{"use strict";e.exports=window.wp.apiFetch},9528:e=>{"use strict";e.exports=window.wp.blockEditor},7287:e=>{"use strict";e.exports=window.wp.components},3048:e=>{"use strict";e.exports=window.wp.coreData},7752:e=>{"use strict";e.exports=window.wp.data},3396:e=>{"use strict";e.exports=window.wp.i18n},7204:e=>{"use strict";e.exports=window.wp.url}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,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 r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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.nc=void 0;var r={};return(()=>{"use strict";n.r(r),n.d(r,{AudioPicker:()=>e.AudioPicker,CSVUploader:()=>e.CSVUploader,Checkboxes:()=>e.Checkboxes,ImagePicker:()=>e.ImagePicker,MediaPicker:()=>e.MediaPicker,PostPicker:()=>e.PostPicker,PostSelector:()=>e.PostSelector,SafeHtml:()=>e.SafeHtml,Selector:()=>e.Selector,Sortable:()=>e.Sortable,SortableItem:()=>e.SortableItem,TermSelector:()=>e.TermSelector,VideoPicker:()=>e.VideoPicker,getMediaUrl:()=>s.getMediaUrl,parseCSVFile:()=>s.parseCSVFile,useCurrentPostId:()=>t.useCurrentPostId,useDebounce:()=>t.useDebounce,useHasInnerBlocks:()=>t.useHasInnerBlocks,useInnerBlocks:()=>t.useInnerBlocks,useInnerBlocksAttributes:()=>t.useInnerBlocksAttributes,useInnerBlocksCount:()=>t.useInnerBlocksCount,useInnerBlocksIndex:()=>t.useInnerBlocksIndex,useMedia:()=>t.useMedia,useOption:()=>t.useOption,useParentBlock:()=>t.useParentBlock,useParentBlockAttributes:()=>t.useParentBlockAttributes,usePost:()=>t.usePost,usePostById:()=>t.usePostById,usePostMeta:()=>t.usePostMeta,usePostMetaValue:()=>t.usePostMetaValue,usePosts:()=>t.usePosts,useTerms:()=>t.useTerms});var e=n(7720),t=n(2e3),s=n(5328)})(),r})(),e.exports=t()},251:function(e,t,n){"use strict";var r=n(196),s=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:s,type:e,key:c,ref:u,props:o,_owner:a.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},893:function(e,t,n){"use strict";e.exports=n(251)},196:function(e){"use strict";e.exports=window.React}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=n(196),t=n.n(e),r=window.wp.plugins,s=window.wp.editPost,o=window.wp.components,i=window.wp.i18n,a=window.wp.element,l=window.wp.data,c=window.wp.apiFetch,u=n.n(c),d=n(373),p=n(893);!function(e,{insertAt:t}={}){if(!e||typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===t&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}(".rmsc{--rmsc-main: #4285f4;--rmsc-hover: #f1f3f5;--rmsc-selected: #e2e6ea;--rmsc-border: #ccc;--rmsc-gray: #aaa;--rmsc-bg: #fff;--rmsc-p: 10px;--rmsc-radius: 4px;--rmsc-h: 38px}.rmsc *{box-sizing:border-box;transition:all .2s ease}.rmsc .gray{color:var(--rmsc-gray)}.rmsc .dropdown-content{position:absolute;z-index:1;top:100%;width:100%;padding-top:8px}.rmsc .dropdown-content .panel-content{overflow:hidden;border-radius:var(--rmsc-radius);background:var(--rmsc-bg);box-shadow:0 0 0 1px #0000001a,0 4px 11px #0000001a}.rmsc .dropdown-container{position:relative;outline:0;background-color:var(--rmsc-bg);border:1px solid var(--rmsc-border);border-radius:var(--rmsc-radius)}.rmsc .dropdown-container[aria-disabled=true]:focus-within{box-shadow:var(--rmsc-gray) 0 0 0 1px;border-color:var(--rmsc-gray)}.rmsc .dropdown-container:focus-within{box-shadow:var(--rmsc-main) 0 0 0 1px;border-color:var(--rmsc-main)}.rmsc .dropdown-heading{position:relative;padding:0 var(--rmsc-p);display:flex;align-items:center;width:100%;height:var(--rmsc-h);cursor:default;outline:0}.rmsc .dropdown-heading .dropdown-heading-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.rmsc .clear-selected-button{cursor:pointer;background:none;border:0;padding:0;display:flex}.rmsc .options{max-height:260px;overflow-y:auto;margin:0;padding-left:0}.rmsc .options li{list-style:none;margin:0}.rmsc .select-item{box-sizing:border-box;cursor:pointer;display:block;padding:var(--rmsc-p);outline-offset:-1px;outline-color:var(--rmsc-primary)}.rmsc .select-item:hover{background:var(--rmsc-hover)}.rmsc .select-item.selected{background:var(--rmsc-selected)}.rmsc .no-options{padding:var(--rmsc-p);text-align:center;color:var(--rmsc-gray)}.rmsc .search{width:100%;position:relative;border-bottom:1px solid var(--rmsc-border)}.rmsc .search input{background:none;height:var(--rmsc-h);padding:0 var(--rmsc-p);width:100%;outline:0;border:0;font-size:1em}.rmsc .search input:focus{background:var(--rmsc-hover)}.rmsc .search-clear-button{cursor:pointer;position:absolute;top:0;right:0;bottom:0;background:none;border:0;padding:0 calc(var(--rmsc-p) / 2)}.rmsc .search-clear-button [hidden]{display:none}.rmsc .item-renderer{display:flex;align-items:baseline}.rmsc .item-renderer input{margin:0 5px 0 0}.rmsc .item-renderer.disabled{opacity:.5}.rmsc .spinner{animation:rotate 2s linear infinite}.rmsc .spinner .path{stroke:var(--rmsc-border);stroke-width:4px;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}\n");var f={allItemsAreSelected:"All items are selected.",clearSearch:"Clear Search",clearSelected:"Clear Selected",noOptions:"No options",search:"Search",selectAll:"Select All",selectAllFiltered:"Select All (Filtered)",selectSomeItems:"Select...",create:"Create"},h={value:[],hasSelectAll:!0,className:"multi-select",debounceDuration:200,options:[]},m=t().createContext({}),g=({props:t,children:n})=>{let[r,s]=(0,e.useState)(t.options);return(0,e.useEffect)((()=>{s(t.options)}),[t.options]),(0,p.jsx)(m.Provider,{value:{t:e=>{var n;return(null==(n=t.overrideStrings)?void 0:n[e])||f[e]},...h,...t,options:r,setOptions:s},children:n})},y=()=>t().useContext(m),b={when:!0,eventTypes:["keydown"]};function v(t,n,r){let s=(0,e.useMemo)((()=>Array.isArray(t)?t:[t]),[t]),o=Object.assign({},b,r),{when:i,eventTypes:a}=o,l=(0,e.useRef)(n),{target:c}=o;(0,e.useEffect)((()=>{l.current=n}));let u=(0,e.useCallback)((e=>{s.some((t=>e.key===t||e.code===t))&&l.current(e)}),[s]);(0,e.useEffect)((()=>{if(i&&typeof window<"u"){let e=c?c.current:window;return a.forEach((t=>{e&&e.addEventListener(t,u)})),()=>{a.forEach((t=>{e&&e.removeEventListener(t,u)}))}}}),[i,a,s,c,n])}var _={ARROW_DOWN:"ArrowDown",ARROW_UP:"ArrowUp",ENTER:"Enter",ESCAPE:"Escape",SPACE:"Space"},A=()=>(0,p.jsxs)("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"dropdown-search-clear-icon gray",children:[(0,p.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,p.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}),w=({checked:e,option:t,onClick:n,disabled:r})=>(0,p.jsxs)("div",{className:"item-renderer "+(r?"disabled":""),children:[(0,p.jsx)("input",{type:"checkbox",onChange:n,checked:e,tabIndex:-1,disabled:r}),(0,p.jsx)("span",{children:t.label})]}),x=({itemRenderer:t=w,option:n,checked:r,tabIndex:s,disabled:o,onSelectionChanged:i,onClick:a})=>{let l=(0,e.useRef)(),c=()=>{o||i(!r)};return v([_.ENTER,_.SPACE],(e=>{c(),e.preventDefault()}),{target:l}),(0,p.jsx)("label",{className:"select-item "+(r?"selected":""),role:"option","aria-selected":r,tabIndex:s,ref:l,children:(0,p.jsx)(t,{option:n,checked:r,onClick:e=>{c(),a(e)},disabled:o})})},C=({options:e,onClick:t,skipIndex:n})=>{let{disabled:r,value:s,onChange:o,ItemRenderer:i}=y();return(0,p.jsx)(p.Fragment,{children:e.map(((e,a)=>{let l=a+n;return(0,p.jsx)("li",{children:(0,p.jsx)(x,{tabIndex:l,option:e,onSelectionChanged:t=>((e,t)=>{r||o(t?[...s,e]:s.filter((t=>t.value!==e.value)))})(e,t),checked:!!s.find((t=>t.value===e.value)),onClick:e=>t(e,l),itemRenderer:i,disabled:e.disabled||r})},(null==e?void 0:e.key)||a)}))})},S=()=>{let{t:t,onChange:n,options:r,setOptions:s,value:o,filterOptions:i,ItemRenderer:a,disabled:l,disableSearch:c,hasSelectAll:u,ClearIcon:d,debounceDuration:f,isCreatable:h,onCreateOption:m}=y(),g=(0,e.useRef)(),b=(0,e.useRef)(),[w,S]=(0,e.useState)(""),[k,E]=(0,e.useState)(r),[R,T]=(0,e.useState)(""),[I,N]=(0,e.useState)(0),P=(0,e.useCallback)(((e,t)=>{let n;return function(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(null,r)}),t)}})((e=>T(e)),f),[]),O=(0,e.useMemo)((()=>{let e=0;return c||(e+=1),u&&(e+=1),e}),[c,u]),j={label:t(w?"selectAllFiltered":"selectAll"),value:""},L=()=>{var e;T(""),S(""),null==(e=null==b?void 0:b.current)||e.focus()},D=e=>N(e);v([_.ARROW_DOWN,_.ARROW_UP],(e=>{switch(e.code){case _.ARROW_UP:M(-1);break;case _.ARROW_DOWN:M(1);break;default:return}e.stopPropagation(),e.preventDefault()}),{target:g});let U=async()=>{let e={label:w,value:w,__isNew__:!0};m&&(e=await m(w)),s([e,...r]),L(),n([...o,e])},M=e=>{let t=I+e;t=Math.max(0,t),t=Math.min(t,r.length+Math.max(O-1,0)),N(t)};(0,e.useEffect)((()=>{var e,t;null==(t=null==(e=null==g?void 0:g.current)?void 0:e.querySelector(`[tabIndex='${I}']`))||t.focus()}),[I]);let[B,F]=(0,e.useMemo)((()=>{let e=k.filter((e=>!e.disabled));return[e.every((e=>-1!==o.findIndex((t=>t.value===e.value)))),0!==e.length]}),[k,o]);(0,e.useEffect)((()=>{(async()=>i?await i(r,R):function(e,t){return t?e.filter((({label:e,value:n})=>null!=e&&null!=n&&e.toLowerCase().includes(t.toLowerCase()))):e}(r,R))().then(E)}),[R,r]);let z=(0,e.useRef)();v([_.ENTER],U,{target:z});let q=h&&w&&!k.some((e=>(null==e?void 0:e.value)===w));return(0,p.jsxs)("div",{className:"select-panel",role:"listbox",ref:g,children:[!c&&(0,p.jsxs)("div",{className:"search",children:[(0,p.jsx)("input",{placeholder:t("search"),type:"text","aria-describedby":t("search"),onChange:e=>{P(e.target.value),S(e.target.value),N(0)},onFocus:()=>{N(0)},value:w,ref:b,tabIndex:0}),(0,p.jsx)("button",{type:"button",className:"search-clear-button",hidden:!w,onClick:L,"aria-label":t("clearSearch"),children:d||(0,p.jsx)(A,{})})]}),(0,p.jsxs)("ul",{className:"options",children:[u&&F&&(0,p.jsx)(x,{tabIndex:1===O?0:1,checked:B,option:j,onSelectionChanged:e=>{let t=(e=>{let t=k.filter((e=>!e.disabled)).map((e=>e.value));if(e){let e=[...o.map((e=>e.value)),...t];return(i?k:r).filter((t=>e.includes(t.value)))}return o.filter((e=>!t.includes(e.value)))})(e);n(t)},onClick:()=>D(1),itemRenderer:a,disabled:l}),k.length?(0,p.jsx)(C,{skipIndex:O,options:k,onClick:(e,t)=>D(t)}):q?(0,p.jsx)("li",{onClick:U,className:"select-item creatable",tabIndex:1,ref:z,children:`${t("create")} "${w}"`}):(0,p.jsx)("li",{className:"no-options",children:t("noOptions")})]})]})},k=({expanded:e})=>(0,p.jsx)("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"dropdown-heading-dropdown-arrow gray",children:(0,p.jsx)("path",{d:e?"M18 15 12 9 6 15":"M6 9L12 15 18 9"})}),E=()=>{let{t:e,value:t,options:n,valueRenderer:r}=y(),s=0===t.length,o=t.length===n.length,i=r&&r(t,n);return s?(0,p.jsx)("span",{className:"gray",children:i||e("selectSomeItems")}):(0,p.jsx)("span",{children:i||(o?e("allItemsAreSelected"):t.map((e=>e.label)).join(", "))})},R=({size:e=24})=>(0,p.jsx)("span",{style:{width:e,marginRight:"0.2rem"},children:(0,p.jsx)("svg",{width:e,height:e,className:"spinner",viewBox:"0 0 50 50",style:{display:"inline",verticalAlign:"middle"},children:(0,p.jsx)("circle",{cx:"25",cy:"25",r:"20",fill:"none",className:"path"})})}),T=()=>{let{t:t,onMenuToggle:n,ArrowRenderer:r,shouldToggleOnHover:s,isLoading:o,disabled:i,onChange:a,labelledBy:l,value:c,isOpen:u,defaultIsOpen:d,ClearSelectedIcon:f,closeOnChangedValue:h}=y();(0,e.useEffect)((()=>{h&&w(!1)}),[c]);let[m,g]=(0,e.useState)(!0),[b,w]=(0,e.useState)(d),[x,C]=(0,e.useState)(!1),T=r||k,I=(0,e.useRef)();(function(t,n){let r=(0,e.useRef)(!1);(0,e.useEffect)((()=>{r.current?t():r.current=!0}),n)})((()=>{n&&n(b)}),[b]),(0,e.useEffect)((()=>{void 0===d&&"boolean"==typeof u&&(g(!1),w(u))}),[u]),v([_.ENTER,_.ARROW_DOWN,_.SPACE,_.ESCAPE],(e=>{var t;["text","button"].includes(e.target.type)&&[_.SPACE,_.ENTER].includes(e.code)||(m&&(e.code===_.ESCAPE?(w(!1),null==(t=null==I?void 0:I.current)||t.focus()):w(!0)),e.preventDefault())}),{target:I});let N=e=>{m&&s&&w(e)};return(0,p.jsxs)("div",{tabIndex:0,className:"dropdown-container","aria-labelledby":l,"aria-expanded":b,"aria-readonly":!0,"aria-disabled":i,ref:I,onFocus:()=>!x&&C(!0),onBlur:e=>{!e.currentTarget.contains(e.relatedTarget)&&m&&(C(!1),w(!1))},onMouseEnter:()=>N(!0),onMouseLeave:()=>N(!1),children:[(0,p.jsxs)("div",{className:"dropdown-heading",onClick:()=>{m&&w(!o&&!i&&!b)},children:[(0,p.jsx)("div",{className:"dropdown-heading-value",children:(0,p.jsx)(E,{})}),o&&(0,p.jsx)(R,{}),c.length>0&&null!==f&&(0,p.jsx)("button",{type:"button",className:"clear-selected-button",onClick:e=>{e.stopPropagation(),a([]),m&&w(!1)},disabled:i,"aria-label":t("clearSelected"),children:f||(0,p.jsx)(A,{})}),(0,p.jsx)(T,{expanded:b})]}),b&&(0,p.jsx)("div",{className:"dropdown-content",children:(0,p.jsx)("div",{className:"panel-content",children:(0,p.jsx)(S,{})})})]})},I=e=>(0,p.jsx)(g,{props:e,children:(0,p.jsx)("div",{className:`rmsc ${e.className||"multi-select"}`,children:(0,p.jsx)(T,{})})}),N=window.wp.blocks;const{newsletterBuilder:{fromNames:P=[],templates:O={}}={}}=window,j=P.map((e=>({value:e,label:e})));var L=function(t){let{contentHandler:n,typeHandler:r,imageHandler:s,templateHandler:l,fromNameHandler:c,typeValue:d,templateValue:p,fromNameValue:f}=t;const[h,m]=(0,a.useState)({});(0,a.useEffect)((()=>{Object.keys(h).length>0||u()({path:"/wp-newsletter-builder/v1/email-types"}).then((e=>{m(e)}))}),[h]),(0,a.useEffect)((()=>{!f&&P.length>0&&c(P[0])}),[c,f]);const g=(e,t)=>e.labelt.label?1:0,y=e=>{var t;const n=null!==(t=e[d]?.templates)&&void 0!==t?t:[];if(!n.length)return[];const r=n.map((e=>({value:e,label:O[parseInt(e,10)]})));return r.sort(g),r.unshift({label:(0,i.__)("Select a template","wp-newsletter-builder"),value:""}),r},b=async e=>{if(l(e),!e)return;const t=h[d],{image:r,from_name:o}=t;s(parseInt(r,10)),c(o),u()({path:`/wp/v2/nb_template/${e}?context=edit`}).then((e=>{const{content:t}=e;n(t.raw)}))};return(0,a.useEffect)((()=>{if(!d)return;const e=h[d]?.templates;e&&1===e.length&&b(e[0])}),[d]),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(o.SelectControl,{label:(0,i.__)("Select Header Type","wp-newsletter-builder"),value:d,options:(e=>{const t=Object.keys(e).map((t=>({label:e[t].label,value:t})));return t.sort(g),t.unshift({label:(0,i.__)("Select a type","wp-newsletter-builder"),value:""}),t})(h),onChange:r}),y(h).length?(0,e.createElement)(o.SelectControl,{label:(0,i.__)("Select Template","wp-newsletter-builder"),value:p,options:y(h),onChange:b}):null,(0,e.createElement)(o.SelectControl,{label:(0,i.__)("From Name","wp-newsletter-builder"),value:f||h[d]?.from_name,options:j,onChange:c}))},D=function(t){let{postId:n}=t;const r=(0,d.usePost)(n,"nb_newsletter");if(!r)return null;const{meta:{nb_newsletter_subject:s=""}={},link:i=""}=r;return(0,e.createElement)(o.PanelRow,null,i&&s?(0,e.createElement)(o.Button,{variant:"link",href:i,target:"_blank",style:{marginTop:"1rem"}},s):null)},U=function(){const[t,n]=(0,d.usePostMeta)(),{nb_breaking_email_type:r="",nb_breaking_template:c="",nb_breaking_from_name:p="",nb_breaking_subject:f="",nb_breaking_preview:h="",nb_breaking_list:m=[],nb_breaking_header_img:g=0,nb_breaking_should_send:y=!1,nb_breaking_content:b="",nb_newsletter_sent_breaking_post_id:v=[]}=t,{postId:_,postStatus:A,postTitle:w,postExcerpt:x}=(0,l.useSelect)((e=>{const{getEditedPostAttribute:t}=e("core/editor");let n=t("excerpt");if(""===n){const e=t("content"),r=e?e.match(/

(.*?)<\/p>/):[];n=r&&r[1]?r[1]:""}return{postId:t("id"),postStatus:t("status"),postTitle:t("title"),postExcerpt:n}}),[]),[C,S]=(0,a.useState)([]),k=""!==f,E=""!==h,R=Array.isArray(m)?m:[m],{newsletterBuilder:{breakingLists:T={}}}=window,P=C.length>0?C.map((e=>({label:e.Name,value:e.ListID}))):[],O=P.filter((e=>R.includes(e.value)));(0,a.useEffect)((()=>{C.length>0||u()({path:"/wp-newsletter-builder/v1/lists"}).then((e=>{S(e)}))}),[C]);const j=""===r||""===c||""===p||""===f&&""===w||""===h&&""===x||0===m.length;return(0,e.createElement)(s.PluginSidebar,{icon:"email-alt2",name:"nb-newsletter",title:(0,i.__)("Newsletter","wp-newsletter-builder")},(0,e.createElement)(o.PanelBody,{initialOpen:!0,title:(0,i.__)("Send Newsletter","wp-newsletter-builder")},(0,e.createElement)(L,{contentHandler:e=>{const t=(0,N.parse)(e),r=t.findIndex((e=>"wp-newsletter-builder/post"===e.name));t[r].attributes.postId=_,n({nb_breaking_content:(0,N.serialize)(t)})},typeHandler:e=>{n({nb_breaking_email_type:e})},imageHandler:e=>{n({nb_breaking_header_img:e})},typeValue:r,templateHandler:e=>{n({nb_breaking_template:e})},fromNameHandler:e=>{n({nb_breaking_from_name:e})},templateValue:c,fromNameValue:p}),(0,e.createElement)(o.TextareaControl,{label:k?(0,i.__)("Subject","wp-newsletter-builder"):(0,i.__)("Subject (linked)","wp-newsletter-builder"),placeholder:(0,i.__)("Enter subject","wp-newsletter-builder"),value:""!==f?f:w,onChange:e=>{n({nb_breaking_subject:e})}}),(0,e.createElement)(o.TextareaControl,{label:E?(0,i.__)("Preview Text","wp-newsletter-builder"):(0,i.__)("Preview Text (linked)","wp-newsletter-builder"),placeholder:(0,i.__)("Enter preview text","wp-newsletter-builder"),value:""!==h?h:x,onChange:e=>{n({nb_breaking_preview:e})}}),Object.keys(T).map((t=>{const r=T[t];return(0,e.createElement)(o.CheckboxControl,{label:r,checked:R.includes(t),onChange:e=>{const r=e?[...R,t]:R.filter((e=>e!==t));n({nb_breaking_list:r})}})})),C.length>0?(0,e.createElement)("label",{htmlFor:"wp-newsletter-builder-list"},(0,i.__)("Email List","wp-newsletter-builder"),(0,e.createElement)(I,{labelledBy:(0,i.__)("List","wp-newsletter-builder"),value:O,options:P,onChange:e=>{const t=e.map((e=>e.value));n({nb_breaking_list:t})},hasSelectAll:!1,overrideStrings:{selectSomeItems:(0,i.__)("Select Email List","wp-newsletter-builder")}})):(0,e.createElement)(o.Spinner,null),(0,e.createElement)("div",{style:{marginTop:"1rem"}},(0,e.createElement)(o.CheckboxControl,{label:"draft"===A||"auto-draft"===A?(0,i.__)("Send Newsletter on Publish","wp-newsletter-builder"):(0,i.__)("Send Newsletter on Update","wp-newsletter-builder"),checked:y&&!j,onChange:e=>{n({nb_breaking_should_send:e})},disabled:j}),r?null:(0,e.createElement)("p",{style:{color:"red"}},(0,i.__)("Header Type is Required","wp-newsletter-builder")),c?null:(0,e.createElement)("p",{style:{color:"red"}},(0,i.__)("Template is Required","wp-newsletter-builder")),p?null:(0,e.createElement)("p",{style:{color:"red"}},(0,i.__)("From Name is Required","wp-newsletter-builder")),f||w?null:(0,e.createElement)("p",{style:{color:"red"}},(0,i.__)("Subject is Required","wp-newsletter-builder")),h||x?null:(0,e.createElement)("p",{style:{color:"red"}},(0,i.__)("Preview Text is Required","wp-newsletter-builder")),0===m.length?(0,e.createElement)("p",{style:{color:"red"}},(0,i.__)("Email List is Required","wp-newsletter-builder")):null)),v?(0,e.createElement)(o.PanelBody,{initialOpen:!1,title:(0,i.__)("Sent Newsletters","wp-newsletter-builder")},v.map((t=>(0,e.createElement)(D,{postId:t,key:t})))):null)};(0,r.registerPlugin)("wp-newsletter-builder-plugin-sidebar",{icon:"shield",render:()=>(0,e.createElement)(U,null)})}()}(); \ No newline at end of file diff --git a/build/wp-newsletter-builder-separator/index.asset.php b/build/wp-newsletter-builder-separator/index.asset.php new file mode 100644 index 00000000..185f825f --- /dev/null +++ b/build/wp-newsletter-builder-separator/index.asset.php @@ -0,0 +1 @@ + array('wp-hooks'), 'version' => '067db236664da0d1c597'); diff --git a/build/wp-newsletter-builder-separator/index.js b/build/wp-newsletter-builder-separator/index.js new file mode 100644 index 00000000..1bba8545 --- /dev/null +++ b/build/wp-newsletter-builder-separator/index.js @@ -0,0 +1 @@ +!function(){"use strict";(0,window.wp.hooks.addFilter)("blocks.registerBlockType","wp-newsletter-builder/separator",(e=>({...e,attributes:{...e.attributes,hasSeparator:{type:"boolean",default:!1},separatorIsWide:{type:"boolean",default:!1}}})))}(); \ No newline at end of file diff --git a/phpunit.xml b/phpunit.xml deleted file mode 100644 index c8d576ca..00000000 --- a/phpunit.xml +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/tests/bootstrap.php b/tests/bootstrap.php deleted file mode 100644 index 75e8e4a2..00000000 --- a/tests/bootstrap.php +++ /dev/null @@ -1,16 +0,0 @@ -maybe_rsync_plugin() - ->with_sqlite() - // Load the main file of the plugin. - ->loaded( fn () => require_once __DIR__ . '/../plugin.php' ) - ->install(); diff --git a/tests/class-test-case.php b/tests/class-test-case.php deleted file mode 100644 index 0d74e781..00000000 --- a/tests/class-test-case.php +++ /dev/null @@ -1,17 +0,0 @@ - + + Coding standards for Composer WordPress Autoload Plugin + + + + + + + + . + */.github/* + */vendor/* + tests/fixtures/* + + + + + + diff --git a/vendor/alleyinteractive/composer-wordpress-autoloader/src/AutoloadFactory.php b/vendor/alleyinteractive/composer-wordpress-autoloader/src/AutoloadFactory.php new file mode 100644 index 00000000..6d741dd0 --- /dev/null +++ b/vendor/alleyinteractive/composer-wordpress-autoloader/src/AutoloadFactory.php @@ -0,0 +1,61 @@ +> $rules Array of rules. + * @return array + */ + public static function generateFromRules(array $rules) + { + $loaders = []; + + foreach ($rules as $namespace => $paths) { + $loaders = array_merge( + $loaders, + array_map(function ($path) use ($namespace) { + $loader = new Autoloader($namespace, $path); + + if (static::$apcuPrefix) { + $loader->set_apcu_prefix(static::$apcuPrefix); + } + + return $loader; + }, $paths), + ); + } + + return $loaders; + } + + /** + * Register autoloaders from rules. + * + * @param array $rules Array of rules. + * @return void + */ + public static function registerFromRules(array $rules) + { + foreach (static::generateFromRules($rules) as $autoloader) { + $autoloader->register(); + } + } +} diff --git a/vendor/alleyinteractive/composer-wordpress-autoloader/src/AutoloadGenerator.php b/vendor/alleyinteractive/composer-wordpress-autoloader/src/AutoloadGenerator.php new file mode 100644 index 00000000..e6d8c279 --- /dev/null +++ b/vendor/alleyinteractive/composer-wordpress-autoloader/src/AutoloadGenerator.php @@ -0,0 +1,327 @@ +getEventDispatcher(), $io); + + $this->composer = $composer; + } + + /** + * @param bool $devMode + * @return void + */ + public function setDevMode($devMode = true) + { + parent::setDevMode($devMode); + + $this->devMode = (bool) $devMode; + } + + /** + * Whether generated autoloader considers APCu caching. + * + * @param bool $apcu + * @param string|null $apcuPrefix + * @return void + */ + public function setApcuMode(bool $apcu, ?string $apcuPrefix = null) + { + parent::setApcu($apcu, $apcuPrefix); + + $this->apcu = $apcu; + $this->apcuPrefix = $apcuPrefix !== null ? $apcuPrefix : $apcuPrefix; + } + + /** + * Generate the autoload file. + * + * @param boolean $beingInjected Flag if the autoload file is being injected. + * @param boolean $isDevMode Flag if dev dependencies are being included. + * @return string + */ + public function generate(bool $beingInjected, bool $isDevMode = true): string + { + $filesystem = new Filesystem(); + $basePath = $filesystem->normalizePath(realpath(realpath(getcwd()))); + $vendorPath = $filesystem->normalizePath(realpath(realpath($this->composer->getConfig()->get('vendor-dir')))); + + $vendorPathCode = '__DIR__'; + + $appBaseDirCode = $filesystem->findShortestPathCode($vendorPath, $basePath, true); + $appBaseDirCode = str_replace('__DIR__', '$vendorDir', $appBaseDirCode); + + $this->setDevMode($isDevMode); + + // Collect all the rules from all the packages. + $rules = array_merge_recursive( + $this->collectAutoloaderRules(), + $this->collectExtraAutoloaderRules(), + ); + + foreach ($rules as $namespace => $paths) { + // Convert the paths to be relative to the vendor/wordpress-autoload.php file. + $rules[$namespace] = array_values(array_unique( + array_map(fn ($path) => $this->getPathCode($filesystem, $basePath, $vendorPath, $path), $paths), + )); + } + + return $this->getAutoloadFileContents($rules, $beingInjected, $vendorPathCode, $appBaseDirCode); + } + + /** + * Create the autoloader file contents to write to vendor/wordpress-autoload.php. + * + * @param array $rules The rules to use to generate the autoloader. + * @param boolean $beingInjected Flag if the autoload file is being injected. + * @param string $vendorPathCode Vendor path code. + * @param string $appBaseDirCode App base dir code. + * @return string + */ + protected function getAutoloadFileContents( + array $rules, + bool $beingInjected, + string $vendorPathCode, + string $appBaseDirCode + ): string { + $autoloadFileContents = <<apcu) { + $apcuPrefix = var_export( + $this->apcuPrefix !== null + ? $this->apcuPrefix + : substr(base64_encode(md5(uniqid('', true), true)), 0, -3), + true, + ); + $autoloadFileContents .= "\n\\ComposerWordPressAutoloader\AutoloadFactory::setApcuPrefix($apcuPrefix);\n"; + } + + // Inject the file paths for the autoloader. + $autoloadFileContents .= << $paths) { + $autoloadFileContents .= sprintf( + ' %s => array(%s),', + var_export($namespace, true), + implode(', ', $paths), + ) . PHP_EOL; + } + + $autoloadFileContents .= "));\n"; + + if (!$beingInjected) { + $autoloadFileContents .= "\nreturn \$autoload;"; + } + + return $autoloadFileContents . "\n"; + } + + /** + * Collect the autoloader rules from 'autoload' and 'autoload-dev' to + * generate rules for. + * + * @return array + */ + protected function collectAutoloaderRules(): array + { + return $this->parseAutoloads( + $this->buildPackageMap( + $this->composer->getInstallationManager(), + $this->composer->getPackage(), + $this->composer->getRepositoryManager()->getLocalRepository()->getCanonicalPackages(), + ), + $this->composer->getPackage(), + !$this->devMode, + )['wordpress'] ?? []; + } + + /** + * Collect the autoloader rules registered via 'extra' to generate for. + * + * @return array + */ + protected function collectExtraAutoloaderRules(): array + { + return $this->parseExtraAutoloads( + $this->buildPackageMap( + $this->composer->getInstallationManager(), + $this->composer->getPackage(), + $this->composer->getRepositoryManager()->getLocalRepository()->getCanonicalPackages(), + ), + $this->composer->getPackage(), + !$this->devMode, + )['wordpress'] ?? []; + } + + /** + * Compiles an ordered list of namespace => path mappings + * + * @param array $packageMap + * @param PackageInterface $rootPackage + * @param boolean $filteredDevPackages + * @return array> + */ + public function parseAutoloads(array $packageMap, PackageInterface $rootPackage, $filteredDevPackages = false) + { + $rootPackageMap = array_shift($packageMap); + + // Mirroring existing logic in the Composer AutoloadGenerator. + if (is_array($filteredDevPackages)) { + $packageMap = array_filter($packageMap, function ($item) use ($filteredDevPackages) { + return !in_array($item[0]->getName(), $filteredDevPackages, true); + }); + } elseif ($filteredDevPackages) { + $packageMap = $this->filterPackageMap($packageMap, $rootPackage); + } + + if ($filteredDevPackages) { + $packageMap = $this->filterPackageMap($packageMap, $rootPackage); + } + + $sortedPackageMap = $this->sortPackageMap($packageMap); + $sortedPackageMap[] = $rootPackageMap; + array_unshift($packageMap, $rootPackageMap); + + $wordpress = $this->parseAutoloadsType($sortedPackageMap, 'wordpress', $rootPackage); + + krsort($wordpress); + + return [ + 'wordpress' => $wordpress, + ]; + } + + /** + * Compiles an ordered list of namespace => path mappings of autoloads defined in the 'extra' part of a package. + * + * @param array $packageMap + * @param PackageInterface $rootPackage + * @param boolean $filteredDevPackages + * @return array + */ + public function parseExtraAutoloads(array $packageMap, PackageInterface $rootPackage, $filteredDevPackages = false) + { + $rootPackageMap = array_shift($packageMap); + + // Mirroring existing logic in the Composer AutoloadGenerator. + if (is_array($filteredDevPackages)) { + $packageMap = array_filter($packageMap, function ($item) use ($filteredDevPackages) { + return !in_array($item[0]->getName(), $filteredDevPackages, true); + }); + } elseif ($filteredDevPackages) { + $packageMap = $this->filterPackageMap($packageMap, $rootPackage); + } + + if ($filteredDevPackages) { + $packageMap = $this->filterPackageMap($packageMap, $rootPackage); + } + + $sortedPackageMap = $this->sortPackageMap($packageMap); + $sortedPackageMap[] = $rootPackageMap; + array_unshift($packageMap, $rootPackageMap); + + return [ + 'wordpress' => $this->parseExtraAutoloadsType($sortedPackageMap, 'wordpress', $rootPackage), + ]; + } + + /** + * A modified port of the {@see AutoloadGenerator::parseAutoloadsType()} method from Composer. + * + * Imports autoload rules from a package's extra path. + * + * @param array $packageMap + * @param string $type one of: 'wordpress' + * @return array|array>|array + */ + protected function parseExtraAutoloadsType(array $packageMap, $type, RootPackageInterface $rootPackage) + { + $autoloads = []; + + foreach ($packageMap as $item) { + [$package, $installPath] = $item; + $autoload = [ + 'wordpress' => $package->getExtra()['wordpress-autoloader']['autoload'] ?? [], + ]; + + // Include autoload dev if we're in dev mode and this is the root package. + // Non-root package dev dependencies are not loaded. + if ($this->devMode && $package === $rootPackage) { + $autoload = array_merge_recursive( + $autoload, + [ + 'wordpress' => $package->getExtra()['wordpress-autoloader']['autoload-dev'] ?? [], + ], + ); + } + + // Skip misconfigured packages. + if (!isset($autoload[$type]) || !is_array($autoload[$type])) { + continue; + } + + if (null !== $package->getTargetDir() && $package !== $rootPackage) { + $installPath = substr($installPath, 0, -strlen('/' . $package->getTargetDir())); + } + + if ($package !== $rootPackage && $rootPackage->getTargetDir()) { + $installPath = str_replace($rootPackage->getTargetDir(), '', $installPath); + } + + foreach ($autoload[$type] as $namespace => $paths) { + foreach ((array) $paths as $path) { + $relativePath = empty($installPath) ? (empty($path) ? '.' : $path) : $installPath . '/' . $path; + $autoloads[$namespace][] = $relativePath; + } + } + } + + return $autoloads; + } +} diff --git a/vendor/alleyinteractive/composer-wordpress-autoloader/src/Plugin.php b/vendor/alleyinteractive/composer-wordpress-autoloader/src/Plugin.php new file mode 100644 index 00000000..90c9c021 --- /dev/null +++ b/vendor/alleyinteractive/composer-wordpress-autoloader/src/Plugin.php @@ -0,0 +1,209 @@ +composer = $composer; + $this->io = $io; + $this->filesystem = new Filesystem(); + } + + /** + * Remove any hooks from Composer + * + * This will be called when a plugin is deactivated before being + * uninstalled, but also before it gets upgraded to a new version + * so the old one can be deactivated and the new one activated. + * + * @param Composer $composer + * @param IOInterface $io + * + * @return void + */ + public function deactivate(Composer $composer, IOInterface $io) + { + } + + /** + * Prepare the plugin to be uninstalled + * + * This will be called after deactivate. + * + * @param Composer $composer + * @param IOInterface $io + * + * @return void + */ + public function uninstall(Composer $composer, IOInterface $io) + { + if ($this->filesystem->remove($this->getAutoloaderFilePath())) { + $this->io->write('Removed WordPress autoloader.'); + } + } + + /** + * Returns an array of event names this subscriber wants to listen to. + * + * @return array + */ + public static function getSubscribedEvents() + { + return [ + 'post-autoload-dump' => 'generateAutoloaderFile', + ]; + } + + /** + * Generate the autoloader file. + * + * @param Event $event + * @return void + */ + public function generateAutoloaderFile(Event $event): void + { + $this->filesystem->ensureDirectoryExists($this->composer->getConfig()->get('vendor-dir')); + + $this->generator = new AutoloadGenerator( + $this->composer, + $this->io, + ); + + $this->generator->setApcuMode( + $this->composer->getConfig()->get('apcu-autoloader') + ); + + // Merge default configuration with the one provided in the composer.json file. + $extra = array_merge( + [ + 'inject' => false, + ], + $this->composer->getPackage()->getExtra()['wordpress-autoloader'] ?? [], + ); + + /** + * Determine if we should inject our autoloader into the + * vendor/autoload.php from Composer. + * + * Injecting is not generally necessary any more since the file will + * automatically be loaded. However, it is still possible to inject it + * for circumstances where it is needed such as when dealing with symlinks. + */ + $injecting = $extra['inject'] ?? false; + + $autoloaderFile = $this->generator->generate($injecting, $event->isDevMode()); + + $partyEmoji = [ + '🪩', + '🎉', + '🎊', + '🍾', + ]; + + $partyEmoji = $partyEmoji[array_rand($partyEmoji)]; + + if ( + $this->filesystem->filePutContentsIfModified( + $this->getAutoloaderFilePath(), + $autoloaderFile, + ) + ) { + if (!$injecting) { + $this->io->write("{$partyEmoji} WordPress autoloader generated"); + } + } + + // Inject the autoloader into the existing autoloader. + if ($injecting) { + if ( + $this->filesystem->filePutContentsIfModified( + $this->composer->getConfig()->get('vendor-dir') . '/autoload.php', + $this->getInjectedAutoloaderFileContents($this->getAutoloaderFilePath()), + ) + ) { + $this->io->write( + "{$partyEmoji} WordPress autoloader genearted and injected into vendor/autoload.php." + ); + } else { + $this->io->write('⚠️ Error injecting Wordpress Autoloader.'); + } + } + } + + /** + * Retrieve the file path for the autoloader file. + * + * @return string + */ + protected function getAutoloaderFilePath(): string + { + $vendorDir = $this->composer->getConfig()->get('vendor-dir'); + return "{$vendorDir}/wordpress-autoload.php"; + } + + /** + * Generate the injected autoloader file. + * + * @param string $autoloaderFileName The path to the WordPress autoloader file. + * @return string + */ + protected function getInjectedAutoloaderFileContents(string $autoloaderFileName): string + { + $filename = basename($autoloaderFileName); + $autoloader = file_get_contents($this->composer->getConfig()->get('vendor-dir') . '/autoload.php'); + + $contents = preg_replace_callback( + '/^return (.*);$/m', + function ($matches) use ($filename) { + $autoloader = << wordpress-autoloader' + section of your composer.json file to false. Injecting the autoloader is + not generally necessary as the autoloader is automatically loaded for you. +*/ +require_once __DIR__ . '/{$filename}'; + +return \$loader; +AUTOLOADER; + + return "$autoloader\n"; + }, + $autoloader, + 1, + $count, + ); + + if (!$count) { + throw new RuntimeException('Error finding proper place to inject autoloader.'); + } + + return $contents; + } +} diff --git a/vendor/alleyinteractive/composer-wordpress-autoloader/src/autoload.php b/vendor/alleyinteractive/composer-wordpress-autoloader/src/autoload.php new file mode 100644 index 00000000..64922229 --- /dev/null +++ b/vendor/alleyinteractive/composer-wordpress-autoloader/src/autoload.php @@ -0,0 +1,30 @@ + Root_Namespace\Example_Class +src/trait-reusable-feature.php -> Root_Namesace\Reusable_Feature +src/feature/class-example-feature.php -> Root_Namespace\Feature\Example_Feature +``` + +Supports `class`, `trait`, `interface`, and `enum` files and any level of +namespaces. + +## Installation + +You can install the package via composer: + +```bash +composer require alleyinteractive/wordpress-autoloader +``` + +## Usage + +```php +Alley_Interactive\Autoloader\Autoloader::generate( + 'Plugin\\Namespace', + __DIR__ . '/src', +)->register(); + +// Or register the autoloader manually. +spl_autoload_register( + Alley_Interactive\Autoloader\Autoloader::generate( + 'Plugin\\Namespace', + __DIR__ . '/src', + ) +); +``` + +## Testing + +```bash +composer test +``` + +## Changelog + +Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently. diff --git a/vendor/alleyinteractive/wordpress-autoloader/composer.json b/vendor/alleyinteractive/wordpress-autoloader/composer.json new file mode 100644 index 00000000..ee1441e9 --- /dev/null +++ b/vendor/alleyinteractive/wordpress-autoloader/composer.json @@ -0,0 +1,43 @@ +{ + "name": "alleyinteractive/wordpress-autoloader", + "type": "library", + "description": "Autoload files using WordPress File Conventions", + "license": "GPL-2.0-or-later", + "authors": [ + { + "name": "Alley Interactive", + "email": "info@alley.co" + } + ], + "require": { + "php": "^7.4.0|^8.0|^8.1" + }, + "require-dev": { + "alleyinteractive/alley-coding-standards": "^0.3", + "phpunit/phpunit": "^9.5.8" + }, + "config": { + "sort-packages": true, + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } + }, + "autoload": { + "files": [ + "src/class-autoloader.php" + ] + }, + "minimum-stability": "dev", + "prefer-stable": true, + "scripts": { + "lint": "@phpcs", + "lint:fix": "@phpcbf", + "phpcbf": "phpcbf --standard=./phpcs.xml.dist .", + "phpcs": "phpcs --standard=./phpcs.xml.dist .", + "phpunit": "vendor/bin/phpunit", + "test": [ + "@phpcs", + "@phpunit" + ] + } +} diff --git a/vendor/alleyinteractive/wordpress-autoloader/src/class-autoloader.php b/vendor/alleyinteractive/wordpress-autoloader/src/class-autoloader.php new file mode 100644 index 00000000..f2a08085 --- /dev/null +++ b/vendor/alleyinteractive/wordpress-autoloader/src/class-autoloader.php @@ -0,0 +1,203 @@ + + */ + protected array $missing_classes = []; + + /** + * APCu cache key prefix. + * + * @var ?string + */ + protected ?string $apcu_prefix; + + /** + * Generate an autoloader for the WordPress file naming conventions. + * + * @param string $namespace Namespace to autoload. + * @param string $root_path Path in which to look for files. + * @return static Function for spl_autoload_register(). + */ + public static function generate( string $namespace, string $root_path ): callable { + return new static( $namespace, $root_path ); + } + + /** + * Constructor. + * + * @param string $namespace Namespace to register. + * @param string $root_path Root path of the namespace. + */ + public function __construct( string $namespace, string $root_path ) { + $this->namespace = $namespace; + + // Ensure consistent root. + $this->root_path = rtrim( $root_path, DIRECTORY_SEPARATOR ) . DIRECTORY_SEPARATOR; + } + + /** + * APCu prefix to use to cache found/not-found classes, if the extension is enabled. + * + * @param string|null $prefix Prefix to use. + * @return static + */ + public function set_apcu_prefix( string $prefix ) { + $this->apcu_prefix = function_exists( 'apcu_fetch' ) && filter_var( ini_get( 'apc.enabled' ), FILTER_VALIDATE_BOOLEAN ) + ? $prefix + : null; + + return $this; + } + + /** + * The APCu prefix in use, or null if APCu caching is not enabled. + * + * @return string|null + */ + public function get_apcu_prefix(): ?string { + return $this->apcu_prefix; + } + + /** + * Check if a class was missing from the autoloader. + * + * @param string $classname Class to check. + * @return bool + */ + public function is_missing_class( string $classname ): bool { + return isset( $this->missing_classes[ $classname ] ); + } + + /** + * Register the autoloader. + */ + public function register() { + spl_autoload_register( $this ); + } + + /** + * Unregister the autoloader. + */ + public function unregister() { + spl_autoload_unregister( $this ); + } + + /** + * Invoke method of the class. + * + * @param string $classname Class being autoloaded. + */ + public function __invoke( string $classname ) { + // Ignore if the base namespace doesn't match. + if ( 0 !== \strpos( $classname, $this->namespace ) ) { + return; + } + + // Check if the class was previously not found. + if ( isset( $this->missing_classes[ $classname ] ) ) { + return; + } + + // Check if the class was previously found with APCu caching. + if ( isset( $this->apcu_prefix ) ) { + $hit = false; + $file = apcu_fetch( $this->apcu_prefix . $classname, $hit ); + + if ( $hit ) { + require_once $file; // phpcs:ignore WordPressVIPMinimum.Files.IncludingFile.UsingVariable + return $file; + } + } + + $file = $this->find_file( $classname ); + + if ( $file ) { + require_once $file; // phpcs:ignore WordPressVIPMinimum.Files.IncludingFile.UsingVariable + + // Cache the found file with APCu if enabled. + if ( isset( $this->apcu_prefix ) ) { + apcu_add( $this->apcu_prefix . $classname, $file ); + } + } else { + // Mark the class as not found to save future lookups. + $this->missing_classes[ $classname ] = true; + } + } + + /** + * Find a file for the given class. + * + * @param string $classname Class to find. + * @return string|null + */ + protected function find_file( string $classname ): ?string { + // Break up the classname into parts. + $parts = \explode( '\\', $classname ); + + // Retrieve the class name (last item) and convert it to a filename. + $class = \strtolower( \str_replace( '_', '-', \array_pop( $parts ) ) ); + + $base_path = ''; + + // Build the base path relative to the sub-namespace. + $sub_namespace = \substr( \implode( DIRECTORY_SEPARATOR, $parts ), \strlen( $this->namespace ) ); + + if ( ! empty( $sub_namespace ) ) { + $base_path = \str_replace( '_', '-', \strtolower( $sub_namespace ) ); + } + + // Support multiple locations since the class could be a class, trait or interface. + $paths = [ + '%1$s' . DIRECTORY_SEPARATOR . 'class-%2$s.php', + '%1$s' . DIRECTORY_SEPARATOR . 'trait-%2$s.php', + '%1$s' . DIRECTORY_SEPARATOR . 'interface-%2$s.php', + '%1$s' . DIRECTORY_SEPARATOR . 'enum-%2$s.php', + ]; + + /* + * Attempt to find the file by looping through the various paths. + * + * Autoloading a class will also cause a trait or interface with the + * same fully qualified name to be autoloaded, as it's impossible to + * tell which was requested. + */ + foreach ( $paths as $path ) { + $path = $this->root_path . \sprintf( $path, $base_path, $class ); + + if ( \file_exists( $path ) ) { + return $path; + } + } + + return null; + } +} diff --git a/vendor/autoload.php b/vendor/autoload.php new file mode 100644 index 00000000..4748dd0c --- /dev/null +++ b/vendor/autoload.php @@ -0,0 +1,25 @@ +create('Segments List ID', array( + 'Title' => 'Segment Title', + 'Rules' => array( + array( + 'Subject' => 'EmailAddress', + 'Clauses' => array( + 'CONTAINS example.com' + ) + ) , + array( + 'Subject' => '[customfield]', + 'Clauses' => array( + 'PROVIDED', + 'EQUALS 1' + ) + ) + ) + )); + ``` + + You would _now_ do this: + + ```php + $result = $wrap->create('Segments List ID', array( + 'Title' => 'Segment Title', + 'RuleGroups' => array( + array( + 'Rules' => array( + array( + 'RuleType' => 'EmailAddress', + 'Clause' => 'CONTAINS example.com' + ) + ) + ) , + array( + 'Rules' => array( + array( + 'RuleType' => '[customfield]', + 'Clause' => 'PROVIDED' + ) , + array( + 'RuleType' => '[customfield]', + 'Clause' => 'EQUALS 1' + ) + ) + ) + ) + )); + ``` + + * The Add Rule call is now Add Rule Group, taking a `ruleGroup` argument instead of a `rule` argument. + + ```php + function CS_REST_Segments->add_rulegroup($rulegroup) + ``` + + So for example, when you _previously_ would have added a rule like so: + + ```php + $wrap = new CS_REST_Segments('Segment ID', $auth); + $result = $wrap->add_rule(array( + 'Subject' => 'EmailAddress', + 'Clauses' => array('CONTAINS example.com') + )); + ``` + + You would _now_ do this: + + ```php + $wrap = new CS_REST_Segments('Segment ID', $auth); + $result = $wrap->add_rulegroup(array( + 'Rules' => array( + array( + 'RuleType' => 'EmailAddress', + 'Clause' => 'CONTAINS example.com' + ) + ) + )); + ``` +* Removed the get_apikey method to promote usage of oAuth authentication + +## v3.1.3 - 10 Dec, 2013 + +* Fixed a notice that was raised when unscheduling a campaign. + +## v3.1.2 - 28 Oct, 2013 + +* Only set the ```CURLOPT_CAINFO``` option if not already set globally via the ini system. + +## v3.1.1 - 3 Oct, 2013 + +* Made it harder to accidentally email your subscribers when using the example code + +## v3.1.0 - 15 Apr, 2013 + +* Added support for [single sign on](http://www.campaignmonitor.com/api/account/#single_sign_on) which allows initiation of external login sessions to Campaign Monitor. + +## v3.0.0 - 25 Mar, 2013 + +* Added support for authenticating using OAuth. See the [README](README.md#authenticating) for full usage instructions. + * This introduces some changes to how you authenticate using this library. You now authenticate by passing an `$auth` array as the first argument when creating instances of any classes which inherit from the `CS_REST_Wrapper_Base` class. + + So in existing code, when you _previously_ would have authenticated using an API key as follows: + + ```php + $wrap = new CS_REST_General('Your API Key'); + $result = $wrap->get_clients(); + ``` + + If you want to authenticate using an API key, you should _now_ do this: + + ```php + $wrap = new CS_REST_General(array('api_key' => 'Your API Key')); + $result = $wrap->get_clients(); + ``` + +## v2.5.2 - 19 Dec, 2012 + +* Removed simpletest source files, and added simpletest as a dev dependency. +* Fixed autoloading with composer, so that only necessary classes are loaded. + +## v2.5.1 - 14 Dec, 2012 + +* Use CURLOPT_TIMEOUT and CURLOPT_CONNECTTIMEOUT constants instead of +CURLOPT_TIMEOUT_MS and CURLOPT_CONNECTTIMEOUT_MS. +* Added autoloading support when using Composer (PHP dependency management). + +## v2.5.0 - 11 Dec, 2012 + +* Added support for including from name, from email, and reply to email in +drafts, scheduled, and sent campaigns. +* Added support for campaign text version urls. +* Added support for transferring credits to/from a client. +* Added support for getting account billing details as well as client credits. +* Made all date fields optional when getting paged results. + +## v2.4.0 - 5 Nov, 2012 + +* Added CS_REST_Campaigns.get_email_client_usage(). +* Added support for ReadsEmailWith field on subscriber objects. +* Added support for retrieving unconfirmed subscribers for a list. +* Added support for suppressing email addresses. +* Added support for retrieving spam complaints for a campaign, as well as +adding SpamComplaints field to campaign summary output. +* Added VisibleInPreferenceCenter field to custom field output. +* Added support for setting preference center visibility when creating custom +fields. +* Added the ability to update a custom field name and preference visibility. +* Added documentation explaining that TextUrl is now optional when creating a +campaign. + +## v2.3.2 - 23 Oct, 2012 + +* Fixed timeout issue by setting CS_REST_SOCKET_TIMEOUT to 10 seconds. + +## v2.3.1 - 19 Oct, 2012 + +* Fixed #13. Load services_json.php only if Services_JSON class doesn't already +exist. +* Fixed issue with curl calls hangs hanging on proxy failure. + +## v2.3.0 - 10 Oct, 2012 + +* Added support for creating campaigns from templates. +* Added support for unsuppressing an email address. + +## 1.1.3 - 26 Sep, 2012 + +* Backported fix to use Mozilla certificate bundle, as per +http://curl.haxx.se/docs/caextract.html + +## v2.2.0 - 17 Sep, 2012 + +* Added WorldviewURL field to campaign summary response. +* Added Latitude, Longitude, City, Region, CountryCode, and CountryName +fields to campaign opens and clicks responses. + +## 2.1.1 - 11 Sep, 2012 + +* Added 'Contributing' section to README. +* Used the Mozilla certificate bundle, as per +http://curl.haxx.se/docs/caextract.html +* Bumping to 2.1.1 + +## v2.1.0 - 30 Aug, 2012 + +* Added support for basic / unlimited pricing. + +## v2.0.0 - 23 Aug, 2012 + +* Removing deprecated method CS_REST_Clients.set_access(). +* Removed traces of calling the API in a deprecated manner. + +## v1.2.0 - 22 Aug, 2012 + +* Added support for UnsubscribeSetting field when creating, updating and +getting list details. +* Added support for AddUnsubscribesToSuppList and ScrubActiveWithSuppList +fields when updating a list. +* Added support for finding all client lists to which a subscriber with a +specific email address belongs. + +## v1.1.2 - 23 Jul, 2012 + +* Added support for specifying whether subscription-based autoresponders +should be restarted when adding or updating subscribers. + +## v1.1.1 - 16 Jul, 2012 + +* Added Travis CI support. + +## v1.1.0 - 11 Jul, 2012 + +* Added support for team management. + +## 1.0.14 - 18 Mar, 2012 + +* Added support for new API methods. +* Fixed subscriber import sample. + +## 1.0.12 - 12 Sep, 2011 + +* Fixed response handling code so that it can deal with HTTP responses +beginning with "HTTP/1.1 Continue". + +## 1.0.11 - 25 Aug, 2011 + +* Fixed socket issue by added Connection:Close header for raw socket +transport. + +## 1.0.10 - 12 Jul, 2011 + +* Fixed #5. Updated recursive check_encoding call. +* Fixed #7. Modified template create/update to not require screenshot URL. + +## 1.0.9 - 18 Jun, 2011 + +* Fixed #4. Removed static function calls. + +## 1.0.8 - 6 Jun, 2011 + +* Initial release which supports current Campaign Monitor API. diff --git a/vendor/campaignmonitor/createsend-php/LICENSE b/vendor/campaignmonitor/createsend-php/LICENSE new file mode 100644 index 00000000..8b4f1d71 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/LICENSE @@ -0,0 +1,48 @@ +Copyright (c) 2010 Toby Brain + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +------------------------------------------------------------------------------ +For Services_JSON Library (classes/services_json.php) +------------------------------------------------------------------------------ +Redistribution and use in source and binary forms, with or +without modification, are permitted provided that the following +conditions are met: Redistributions of source code must retain the +above copyright notice, this list of conditions and the following +disclaimer. Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN +NO EVENT SHALL CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS +OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR +TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. +Author: Michal Migurski +Author: Matt Knapp +Author: Brett Stimmerman +Copyright (c) 2005 Michal Migurski +http://www.opensource.org/licenses/bsd-license.php diff --git a/vendor/campaignmonitor/createsend-php/README.md b/vendor/campaignmonitor/createsend-php/README.md new file mode 100644 index 00000000..42dd1810 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/README.md @@ -0,0 +1,154 @@ +# createsend [![Build Status](https://app.travis-ci.com/campaignmonitor/createsend-php.svg?branch=master)](https://app.travis-ci.com/campaignmonitor/createsend-php) +A PHP library which implements the complete functionality of the [Campaign Monitor API](http://www.campaignmonitor.com/api/). + +## Installation + +### Composer +If you use [Composer](http://getcomposer.org/), you can run the following command from the root of your project: + +``` +composer require campaignmonitor/createsend-php +``` + +Or add [campaignmonitor/createsend-php](https://packagist.org/packages/campaignmonitor/createsend-php) to your `composer.json` file: + +```json +{ + "require": { + "campaignmonitor/createsend-php": "{version}" + } +} +``` + +Followed by running: + +``` +composer update +``` + +### Manual Installation +Otherwise you can simply [download](https://github.com/campaignmonitor/createsend-php/tags) the library and include it in your project. + +After you have installed the library, simply include the relevant API class, as follows: + +```php +require_once 'csrest_campaigns.php' +``` + +## Authenticating + +The Campaign Monitor API supports authentication using either OAuth or an API key. + +### Using OAuth + +Depending on the environment you are developing in, you may wish to use a PHP OAuth library to get access tokens for your users. If you don't use an OAuth library, you will need to get access tokens for your users by following the instructions included in the Campaign Monitor API [documentation](http://www.campaignmonitor.com/api/getting-started/#authenticating_with_oauth). This package provides functionality to help you do this, as described below. You may also wish to reference this [example application](https://gist.github.com/jdennes/4973318), which is implemented using [Slim](http://slimframework.com/) but could easily be adapted for use with any PHP framework. + +The first thing your application should do is redirect your user to the Campaign Monitor authorization URL where they will have the opportunity to approve your application to access their Campaign Monitor account. You can get this authorization URL by using the `CS_REST_General::authorize_url()` method, like so: + +```php +require_once 'csrest_general.php'; + +$authorize_url = CS_REST_General::authorize_url( + 'Client ID for your application', + 'Redirect URI for your application', + 'The permission level your application requires', + 'Optional state data to be included' +); +# Redirect your users to $authorize_url. +``` + +If your user approves your application, they will then be redirected to the `redirect_uri` you specified, which will include a `code` parameter, and optionally a `state` parameter in the query string. Your application should implement a handler which can exchange the code passed to it for an access token, using `CS_REST_General::exchange_token()` like so: + +```php +require_once 'csrest_general.php'; + +$result = CS_REST_General::exchange_token( + 'Client ID for your application', + 'Client Secret for your application', + 'Redirect URI for your application', + 'A unique code for your user' # Get the code parameter from the query string +); + +if ($result->was_successful()) { + $access_token = $result->response->access_token; + $expires_in = $result->response->expires_in; + $refresh_token = $result->response->refresh_token; + # Save $access_token, $expires_in, and $refresh_token. +} else { + echo 'An error occurred:\n'; + echo $result->response->error.': '.$result->response->error_description."\n"; + # Handle error... +} +``` + +At this point you have an access token and refresh token for your user which you should store somewhere convenient so that your application can look up these values when your user wants to make future Campaign Monitor API calls. + +Once you have an access token and refresh token for your user, you can authenticate and make further API calls like so: + +```php +require_once 'csrest_general.php'; + +$auth = array( + 'access_token' => 'your access token', + 'refresh_token' => 'your refresh_token'); +$wrap = new CS_REST_General($auth); + +$result = $wrap->get_clients(); +var_dump($result->response); +``` + +All OAuth tokens have an expiry time, and can be renewed with a corresponding refresh token. If your access token expires when attempting to make an API call, you will receive an error response, so your code should handle this. Here's an example of how you could do this: + +```php +require_once 'csrest_general.php'; + +$auth = array( + 'access_token' => 'your access token', + 'refresh_token' => 'your refresh token' +); +$wrap = new CS_REST_General($auth); +$result = $wrap->get_clients(); +if (!$result->was_successful()) { + # If you receive '121: Expired OAuth Token', refresh the access token + if ($result->response->Code == 121) { + list($new_access_token, $new_expires_in, $new_refresh_token) = + $wrap->refresh_token(); + # Save $new_access_token, $new_expires_in, and $new_refresh_token + } + # Make the call again + $result = $wrap->get_clients(); +} +var_dump($result->response); +``` + +### Using an API key + +```php +require_once 'csrest_general.php'; + +$auth = array('api_key' => 'your API key'); +$wrap = new CS_REST_General($auth); + +$result = $wrap->get_clients(); +var_dump($result->response); +``` +## API Call Timeout +You can set your local API call timeout time in createsend-php\class\transport.php line 11, in the CS_REST_CALL_TIMEOUT variable. Currently the default is 120 secs. + +## Examples + +Samples for creating or accessing all resources can be found in the samples directory. +These samples can be used as the basis for your own application and provide an outline of +the expected inputs for each API call. + +Further documentation of the inputs and outputs of each call can be found in the +documentation in each of the csrest_*.php files or simply by examining the +var_dump results in each of the provided samples. + +## Contributing + +Please check the [guidelines for contributing](https://github.com/campaignmonitor/createsend-php/blob/master/CONTRIBUTING.md) to this repository. + +## Releasing + +Please check the [instructions for releasing](https://github.com/campaignmonitor/createsend-php/blob/master/RELEASE.md) this library. diff --git a/vendor/campaignmonitor/createsend-php/RELEASE.md b/vendor/campaignmonitor/createsend-php/RELEASE.md new file mode 100644 index 00000000..de33c515 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/RELEASE.md @@ -0,0 +1,42 @@ +# Releasing createsend-php + +## Requirements + +- You must have [Composer](https://getcomposer.org/) installed. + +## Prepare the release + +- Increment the `CS_REST_WRAPPER_VERSION` constant in the `class/base_classes.php` file, ensuring that you use [Semantic Versioning](http://semver.org/). +- Add an entry to `HISTORY.md` which clearly explains the new release. +- Install development dependencies and ensure that tests pass locally: + + ``` + composer install --dev + cd tests && php all_tests.php && cd .. + ``` + +- Commit your changes: + + ``` + git commit -am "Version X.Y.Z" + ``` + +- Tag the new version: + + ``` + git tag -a vX.Y.Z -m "Version X.Y.Z" + ``` + +- Push your changes to GitHub, including the tag you just created: + + ``` + git push origin master --tags + ``` + +- Ensure that all [tests](https://travis-ci.org/campaignmonitor/createsend-php) pass. + +## Release the module + +There is a [GitHub service hook](https://github.com/campaignmonitor/createsend-php/settings/hooks) for the [Packagist](https://packagist.org/) PHP package repository, which is configured to update the [createsend-php](https://packagist.org/packages/campaignmonitor/createsend-php) package when new tags are pushed to GitHub. + +So there are no further steps to releasing the module. You should now see the latest version of the module listed on [Packagist](https://packagist.org/packages/campaignmonitor/createsend-php). All done! diff --git a/vendor/campaignmonitor/createsend-php/class/base_classes.php b/vendor/campaignmonitor/createsend-php/class/base_classes.php new file mode 100644 index 00000000..02d59848 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/class/base_classes.php @@ -0,0 +1,317 @@ +response = $response; + $this->http_status_code = $code; + } + + /** + * Can be used to check if a call to the api resulted in a successful response. + * @return boolean False if the call failed. Check the response property for the failure reason. + * @access public + */ + function was_successful() { + return $this->http_status_code >= 200 && $this->http_status_code < 300; + } + } +} +/** + * Base class for the create send PHP wrapper. + * This class includes functions to access the general data, + * i.e timezones, clients and getting your API Key from username and password + * @author tobyb + * + */ +if (!class_exists('CS_REST_Wrapper_Base')) { + class CS_REST_Wrapper_Base { + /** + * The protocol to use while accessing the api + * @var string http or https + * @access private + */ + var $_protocol; + + /** + * The base route of the create send api. + * @var string + * @access private + */ + var $_base_route; + + /** + * The serialiser to use for serialisation and deserialisation + * of API request and response data + * @var CS_REST_JsonSerialiser or CS_REST_XmlSerialiser + * @access private + */ + var $_serialiser; + + /** + * The transport to use to send API requests + * @var CS_REST_CurlTransport or CS_REST_SocketTransport or your own custom transport. + * @access private + */ + var $_transport; + + /** + * The logger to use for debugging of all API requests + * @var CS_REST_Log + * @access private + */ + var $_log; + + /** + * The default options to use for each API request. + * These can be overridden by passing in an array as the call_options argument + * to a single api request. + * Valid options are: + * + * deserialise boolean: + * Set this to false if you want to get the raw response. + * This can be useful if your passing json directly to javascript. + * + * While there are clearly other options there is no need to change them. + * @var array + * @access private + */ + var $_default_call_options; + + /** + * Constructor. + * @param $auth_details array Authentication details to use for API calls. + * This array must take one of the following forms: + * If using OAuth to authenticate: + * array( + * 'access_token' => 'your access token', + * 'refresh_token' => 'your refresh token') + * + * Or if using an API key: + * array('api_key' => 'your api key') + * + * Note that this method will continue to work in the deprecated + * case when $auth_details is passed in as a string containing an + * API key. + * @param $protocol string The protocol to use for requests (http|https) + * @param $debug_level int The level of debugging required CS_REST_LOG_NONE | CS_REST_LOG_ERROR | CS_REST_LOG_WARNING | CS_REST_LOG_VERBOSE + * @param $host string The host to send API requests to. There is no need to change this + * @param $log CS_REST_Log The logger to use. Used for dependency injection + * @param $serialiser The serialiser to use. Used for dependency injection + * @param $transport The transport to use. Used for dependency injection + * @access public + */ + function __construct( + $auth_details, + $protocol = 'https', + $debug_level = CS_REST_LOG_NONE, + $host = CS_HOST, + $log = NULL, + $serialiser = NULL, + $transport = NULL) { + + if (is_string($auth_details)) { + # If $auth_details is a string, assume it is an API key + $auth_details = array('api_key' => $auth_details); + } + + $this->_log = is_null($log) ? new CS_REST_Log($debug_level) : $log; + + $this->_protocol = $protocol; + $this->_base_route = $protocol.'://'.$host.'/api/v3.3/'; + + $this->_log->log_message('Creating wrapper for '.$this->_base_route, get_class($this), CS_REST_LOG_VERBOSE); + + $this->_transport = is_null($transport) ? + CS_REST_TRANSPORT_get_available($this->is_secure(), $this->_log) : + $transport; + + $transport_type = method_exists($this->_transport, 'get_type') ? $this->_transport->get_type() : 'Unknown'; + $this->_log->log_message('Using '.$transport_type.' for transport', get_class($this), CS_REST_LOG_WARNING); + + $this->_serialiser = is_null($serialiser) ? + CS_REST_SERIALISATION_get_available($this->_log) : $serialiser; + + $this->_log->log_message('Using '.$this->_serialiser->get_type().' json serialising', get_class($this), CS_REST_LOG_WARNING); + + $this->_default_call_options = array ( + 'authdetails' => $auth_details, + 'userAgent' => 'createsend-php v'.CS_REST_WRAPPER_VERSION. + ' PHPv'.phpversion().' over '.$transport_type.' with '.$this->_serialiser->get_type(), + 'contentType' => 'application/json; charset=utf-8', + 'deserialise' => true, + 'host' => $host, + 'protocol' => $protocol + ); + + } + + /** + * Refresh the current OAuth token using the current refresh token. + * @access public + */ + function refresh_token() { + if (!isset($this->_default_call_options['authdetails']) || + !isset($this->_default_call_options['authdetails']['refresh_token'])) { + trigger_error( + 'Error refreshing token. There is no refresh token set on this object.', + E_USER_ERROR); + return array(NULL, NULL, NULL); + } + $body = "grant_type=refresh_token&refresh_token=".urlencode( + $this->_default_call_options['authdetails']['refresh_token']); + $options = array('contentType' => 'application/x-www-form-urlencoded'); + $wrap = new CS_REST_Wrapper_Base( + NULL, 'https', CS_REST_LOG_NONE, CS_HOST, NULL, + new CS_REST_DoNothingSerialiser(), NULL); + + $result = $wrap->post_request(CS_OAUTH_TOKEN_URI, $body, $options); + if ($result->was_successful()) { + $access_token = $result->response->access_token; + $expires_in = $result->response->expires_in; + $refresh_token = $result->response->refresh_token; + $this->_default_call_options['authdetails'] = array( + 'access_token' => $access_token, + 'refresh_token' => $refresh_token + ); + return array($access_token, $expires_in, $refresh_token); + } else { + trigger_error( + 'Error refreshing token. '.$result->response->error.': '.$result->response->error_description, + E_USER_ERROR); + return array(NULL, NULL, NULL); + } + } + + /** + * @return boolean True if the wrapper is using SSL. + * @access public + */ + function is_secure() { + return $this->_protocol === 'https'; + } + + function put_request($route, $data, $call_options = array()) { + return $this->_call($call_options, CS_REST_PUT, $route, $data); + } + + function post_request($route, $data, $call_options = array()) { + return $this->_call($call_options, CS_REST_POST, $route, $data); + } + + function delete_request($route, $call_options = array()) { + return $this->_call($call_options, CS_REST_DELETE, $route); + } + + function get_request($route, $include_tracking_pref = NULL, $call_options = array()) { + + if(isset($include_tracking_pref) + && is_bool($include_tracking_pref)) { + $route .= '&includeTrackingPreference='.($include_tracking_pref ? "true" : "false"); + } + + return $this->_call($call_options, CS_REST_GET, $route); + } + + function get_request_with_params($route, $params) { + if(!is_null($params)) { + # http_build_query coerces booleans to 1 and 0, not helpful + foreach($params as $key=>$value) { + if(is_bool($value)) { + $params[$key] = ($value) ? 'true' : 'false'; + } + } + $route = $route . '?' . http_build_query($params); + } + return $this->get_request($route); + } + + function get_request_paged($route, $page_number, $page_size, $order_field, $order_direction, $include_tracking_pref = NULL, + $join_char = 'deprecated') { + // Stores our query values + $query = array(); + // Extract any initial queries in the route into our local query + if(strpos($route, '?') !== false) { + $parts = parse_url($route); + $route = current(explode('?', $route)); + if(array_key_exists('query', $parts) && !empty($parts['query'])) { + parse_str($parts['query'], $query); + } + } + // Now selectively add supplied vars to the query + if(!is_null($page_number)) { + $query['page'] = $page_number; + } + if(!is_null($page_size)) { + $query['pageSize'] = $page_size; + } + if(!is_null($order_field)) { + $query['orderField'] = $order_field; + } + if(!is_null($order_direction)) { + $query['orderDirection'] = $order_direction; + } + // If we ended up with a query, add it back to the route + if(!empty($query)) { + $route .= '?'.http_build_query($query); + } + return $this->get_request($route, $include_tracking_pref); + } + + /** + * Internal method to make a general API request based on the provided options + * @param $call_options + * @access private + */ + function _call($call_options, $method, $route, $data = NULL) { + $call_options['route'] = $route; + $call_options['method'] = $method; + + if(!is_null($data)) { + $call_options['data'] = $this->_serialiser->serialise($data); + } + + $call_options = array_merge($this->_default_call_options, $call_options); + $this->_log->log_message('Making '.$call_options['method'].' call to: '.$call_options['route'], get_class($this), CS_REST_LOG_WARNING); + + $call_result = $this->_transport->make_call($call_options); + + $this->_log->log_message('Call result:

'.var_export($call_result, true).'
', + get_class($this), CS_REST_LOG_VERBOSE); + + if($call_options['deserialise']) { + $call_result['response'] = $this->_serialiser->deserialise($call_result['response']); + } + + return new CS_REST_Wrapper_Result($call_result['response'], $call_result['code']); + } + } +} diff --git a/vendor/campaignmonitor/createsend-php/class/cacert.pem b/vendor/campaignmonitor/createsend-php/class/cacert.pem new file mode 100644 index 00000000..1ccadf7d --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/class/cacert.pem @@ -0,0 +1,3849 @@ +## +## ca-bundle.crt -- Bundle of CA Root Certificates +## +## Certificate data from Mozilla as of: Thu Jun 28 15:03:08 2012 +## +## This is a bundle of X.509 certificates of public Certificate Authorities +## (CA). These were automatically extracted from Mozilla's root certificates +## file (certdata.txt). This file can be found in the mozilla source tree: +## http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1 +## +## It contains the certificates in PEM format and therefore +## can be directly used with curl / libcurl / php_curl, or with +## an Apache+mod_ssl webserver for SSL client authentication. +## Just configure this file as the SSLCACertificateFile. +## + +# @(#) $RCSfile: certdata.txt,v $ $Revision: 1.85 $ $Date: 2012/06/28 13:50:18 $ + +GTE CyberTrust Global Root +========================== +-----BEGIN CERTIFICATE----- +MIICWjCCAcMCAgGlMA0GCSqGSIb3DQEBBAUAMHUxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9HVEUg +Q29ycG9yYXRpb24xJzAlBgNVBAsTHkdURSBDeWJlclRydXN0IFNvbHV0aW9ucywgSW5jLjEjMCEG +A1UEAxMaR1RFIEN5YmVyVHJ1c3QgR2xvYmFsIFJvb3QwHhcNOTgwODEzMDAyOTAwWhcNMTgwODEz +MjM1OTAwWjB1MQswCQYDVQQGEwJVUzEYMBYGA1UEChMPR1RFIENvcnBvcmF0aW9uMScwJQYDVQQL +Ex5HVEUgQ3liZXJUcnVzdCBTb2x1dGlvbnMsIEluYy4xIzAhBgNVBAMTGkdURSBDeWJlclRydXN0 +IEdsb2JhbCBSb290MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCVD6C28FCc6HrHiM3dFw4u +sJTQGz0O9pTAipTHBsiQl8i4ZBp6fmw8U+E3KHNgf7KXUwefU/ltWJTSr41tiGeA5u2ylc9yMcql +HHK6XALnZELn+aks1joNrI1CqiQBOeacPwGFVw1Yh0X404Wqk2kmhXBIgD8SFcd5tB8FLztimQID +AQABMA0GCSqGSIb3DQEBBAUAA4GBAG3rGwnpXtlR22ciYaQqPEh346B8pt5zohQDhT37qw4wxYMW +M4ETCJ57NE7fQMh017l93PR2VX2bY1QY6fDq81yx2YtCHrnAlU66+tXifPVoYb+O7AWXX1uw16OF +NMQkpw0PlZPvy5TYnh+dXIVtx6quTx8itc2Vrb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KZuZ +GCg70eNAKJpaPNW15yAbi8qkq43pUdniTCxZqdq5snUb9kLy78fyGPmJvKP/iiMucEc= +-----END CERTIFICATE----- + +Thawte Premium Server CA +======================== +-----BEGIN CERTIFICATE----- +MIIDJzCCApCgAwIBAgIBATANBgkqhkiG9w0BAQQFADCBzjELMAkGA1UEBhMCWkExFTATBgNVBAgT +DFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYDVQQKExRUaGF3dGUgQ29uc3Vs +dGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcyBEaXZpc2lvbjEhMB8GA1UE +AxMYVGhhd3RlIFByZW1pdW0gU2VydmVyIENBMSgwJgYJKoZIhvcNAQkBFhlwcmVtaXVtLXNlcnZl +ckB0aGF3dGUuY29tMB4XDTk2MDgwMTAwMDAwMFoXDTIwMTIzMTIzNTk1OVowgc4xCzAJBgNVBAYT +AlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEdMBsGA1UEChMU +VGhhd3RlIENvbnN1bHRpbmcgY2MxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2 +aXNpb24xITAfBgNVBAMTGFRoYXd0ZSBQcmVtaXVtIFNlcnZlciBDQTEoMCYGCSqGSIb3DQEJARYZ +cHJlbWl1bS1zZXJ2ZXJAdGhhd3RlLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA0jY2 +aovXwlue2oFBYo847kkEVdbQ7xwblRZH7xhINTpS9CtqBo87L+pW46+GjZ4X9560ZXUCTe/LCaIh +Udib0GfQug2SBhRz1JPLlyoAnFxODLz6FVL88kRu2hFKbgifLy3j+ao6hnO2RlNYyIkFvYMRuHM/ +qgeN9EJN50CdHDcCAwEAAaMTMBEwDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0BAQQFAAOBgQAm +SCwWwlj66BZ0DK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GgYJKoZIhvZ9B0EABA0wCxsFVjMuMGMDAgbAMA0GCSqGSIb3DQEBBQUAA4GBAFjOKer89961 +zgK5F7WF0bnj4JXMJTENAKaSbn+2kmOeUJXRmm/kEd5jhW6Y7qj/WsjTVbJmcVfewCHrPSqnI0kB +BIZCe/zuf6IWUrVnZ9NA2zsmWLIodz2uFHdh1voqZiegDfqnc1zqcPGUIWVEX/r87yloqaKHee95 +70+sB3c4 +-----END CERTIFICATE----- + +Digital Signature Trust Co. Global CA 1 +======================================= +-----BEGIN CERTIFICATE----- +MIIDKTCCApKgAwIBAgIENnAVljANBgkqhkiG9w0BAQUFADBGMQswCQYDVQQGEwJVUzEkMCIGA1UE +ChMbRGlnaXRhbCBTaWduYXR1cmUgVHJ1c3QgQ28uMREwDwYDVQQLEwhEU1RDQSBFMTAeFw05ODEy +MTAxODEwMjNaFw0xODEyMTAxODQwMjNaMEYxCzAJBgNVBAYTAlVTMSQwIgYDVQQKExtEaWdpdGFs +IFNpZ25hdHVyZSBUcnVzdCBDby4xETAPBgNVBAsTCERTVENBIEUxMIGdMA0GCSqGSIb3DQEBAQUA +A4GLADCBhwKBgQCgbIGpzzQeJN3+hijM3oMv+V7UQtLodGBmE5gGHKlREmlvMVW5SXIACH7TpWJE +NySZj9mDSI+ZbZUTu0M7LklOiDfBu1h//uG9+LthzfNHwJmm8fOR6Hh8AMthyUQncWlVSn5JTe2i +o74CTADKAqjuAQIxZA9SLRN0dja1erQtcQIBA6OCASQwggEgMBEGCWCGSAGG+EIBAQQEAwIABzBo +BgNVHR8EYTBfMF2gW6BZpFcwVTELMAkGA1UEBhMCVVMxJDAiBgNVBAoTG0RpZ2l0YWwgU2lnbmF0 +dXJlIFRydXN0IENvLjERMA8GA1UECxMIRFNUQ0EgRTExDTALBgNVBAMTBENSTDEwKwYDVR0QBCQw +IoAPMTk5ODEyMTAxODEwMjNagQ8yMDE4MTIxMDE4MTAyM1owCwYDVR0PBAQDAgEGMB8GA1UdIwQY +MBaAFGp5fpFpRhgTCgJ3pVlbYJglDqL4MB0GA1UdDgQWBBRqeX6RaUYYEwoCd6VZW2CYJQ6i+DAM +BgNVHRMEBTADAQH/MBkGCSqGSIb2fQdBAAQMMAobBFY0LjADAgSQMA0GCSqGSIb3DQEBBQUAA4GB +ACIS2Hod3IEGtgllsofIH160L+nEHvI8wbsEkBFKg05+k7lNQseSJqBcNJo4cvj9axY+IO6CizEq +kzaFI4iKPANo08kJD038bKTaKHKTDomAsH3+gG9lbRgzl4vCa4nuYD3Im+9/KzJic5PLPON74nZ4 +RbyhkwS7hp86W0N6w4pl +-----END CERTIFICATE----- + +Digital Signature Trust Co. Global CA 3 +======================================= +-----BEGIN CERTIFICATE----- +MIIDKTCCApKgAwIBAgIENm7TzjANBgkqhkiG9w0BAQUFADBGMQswCQYDVQQGEwJVUzEkMCIGA1UE +ChMbRGlnaXRhbCBTaWduYXR1cmUgVHJ1c3QgQ28uMREwDwYDVQQLEwhEU1RDQSBFMjAeFw05ODEy +MDkxOTE3MjZaFw0xODEyMDkxOTQ3MjZaMEYxCzAJBgNVBAYTAlVTMSQwIgYDVQQKExtEaWdpdGFs +IFNpZ25hdHVyZSBUcnVzdCBDby4xETAPBgNVBAsTCERTVENBIEUyMIGdMA0GCSqGSIb3DQEBAQUA +A4GLADCBhwKBgQC/k48Xku8zExjrEH9OFr//Bo8qhbxe+SSmJIi2A7fBw18DW9Fvrn5C6mYjuGOD +VvsoLeE4i7TuqAHhzhy2iCoiRoX7n6dwqUcUP87eZfCocfdPJmyMvMa1795JJ/9IKn3oTQPMx7JS +xhcxEzu1TdvIxPbDDyQq2gyd55FbgM2UnQIBA6OCASQwggEgMBEGCWCGSAGG+EIBAQQEAwIABzBo +BgNVHR8EYTBfMF2gW6BZpFcwVTELMAkGA1UEBhMCVVMxJDAiBgNVBAoTG0RpZ2l0YWwgU2lnbmF0 +dXJlIFRydXN0IENvLjERMA8GA1UECxMIRFNUQ0EgRTIxDTALBgNVBAMTBENSTDEwKwYDVR0QBCQw +IoAPMTk5ODEyMDkxOTE3MjZagQ8yMDE4MTIwOTE5MTcyNlowCwYDVR0PBAQDAgEGMB8GA1UdIwQY +MBaAFB6CTShlgDzJQW6sNS5ay97u+DlbMB0GA1UdDgQWBBQegk0oZYA8yUFurDUuWsve7vg5WzAM +BgNVHRMEBTADAQH/MBkGCSqGSIb2fQdBAAQMMAobBFY0LjADAgSQMA0GCSqGSIb3DQEBBQUAA4GB +AEeNg61i8tuwnkUiBbmi1gMOOHLnnvx75pO2mqWilMg0HZHRxdf0CiUPPXiBng+xZ8SQTGPdXqfi +up/1902lMXucKS1M/mQ+7LZT/uqb7YLbdHVLB3luHtgZg3Pe9T7Qtd7nS2h9Qy4qIOF+oHhEngj1 +mPnHfxsb1gYgAlihw6ID +-----END CERTIFICATE----- + +Verisign Class 3 Public Primary Certification Authority +======================================================= +-----BEGIN CERTIFICATE----- +MIICPDCCAaUCEHC65B0Q2Sk0tjjKewPMur8wDQYJKoZIhvcNAQECBQAwXzELMAkGA1UEBhMCVVMx +FzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmltYXJ5 +IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2MDEyOTAwMDAwMFoXDTI4MDgwMTIzNTk1OVow +XzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAz +IFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUA +A4GNADCBiQKBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhEBarsAx94 +f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/isI19wKTakyYbnsZogy1Ol +hec9vn2a/iRFM9x2Fe0PonFkTGUugWhFpwIDAQABMA0GCSqGSIb3DQEBAgUAA4GBALtMEivPLCYA +TxQT3ab7/AoRhIzzKBxnki98tsX63/Dolbwdj2wsqFHMc9ikwFPwTtYmwHYBV4GSXiHx0bH/59Ah +WM1pF+NEHJwZRDmJXNycAA9WjQKZ7aKQRUzkuxCkPfAyAw7xzvjoyVGM5mKf5p/AfbdynMk2Omuf +Tqj/ZA1k +-----END CERTIFICATE----- + +Verisign Class 1 Public Primary Certification Authority - G2 +============================================================ +-----BEGIN CERTIFICATE----- +MIIDAjCCAmsCEEzH6qqYPnHTkxD4PTqJkZIwDQYJKoZIhvcNAQEFBQAwgcExCzAJBgNVBAYTAlVT +MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xhc3MgMSBQdWJsaWMgUHJpbWFy +eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMTowOAYDVQQLEzEoYykgMTk5OCBWZXJpU2ln +biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVz +dCBOZXR3b3JrMB4XDTk4MDUxODAwMDAwMFoXDTI4MDgwMTIzNTk1OVowgcExCzAJBgNVBAYTAlVT +MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xhc3MgMSBQdWJsaWMgUHJpbWFy +eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMTowOAYDVQQLEzEoYykgMTk5OCBWZXJpU2ln +biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVz +dCBOZXR3b3JrMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq0Lq+Fi24g9TK0g+8djHKlNgd +k4xWArzZbxpvUjZudVYKVdPfQ4chEWWKfo+9Id5rMj8bhDSVBZ1BNeuS65bdqlk/AVNtmU/t5eIq +WpDBucSmFc/IReumXY6cPvBkJHalzasab7bYe1FhbqZ/h8jit+U03EGI6glAvnOSPWvndQIDAQAB +MA0GCSqGSIb3DQEBBQUAA4GBAKlPww3HZ74sy9mozS11534Vnjty637rXC0Jh9ZrbWB85a7FkCMM +XErQr7Fd88e2CtvgFZMN3QO8x3aKtd1Pw5sTdbgBwObJW2uluIncrKTdcu1OofdPvAbT6shkdHvC +lUGcZXNY8ZCaPGqxmMnEh7zPRW1F4m4iP/68DzFc6PLZ +-----END CERTIFICATE----- + +Verisign Class 2 Public Primary Certification Authority - G2 +============================================================ +-----BEGIN CERTIFICATE----- +MIIDAzCCAmwCEQC5L2DMiJ+hekYJuFtwbIqvMA0GCSqGSIb3DQEBBQUAMIHBMQswCQYDVQQGEwJV +UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xPDA6BgNVBAsTM0NsYXNzIDIgUHVibGljIFByaW1h +cnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMjE6MDgGA1UECxMxKGMpIDE5OTggVmVyaVNp +Z24sIEluYy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25seTEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1 +c3QgTmV0d29yazAeFw05ODA1MTgwMDAwMDBaFw0yODA4MDEyMzU5NTlaMIHBMQswCQYDVQQGEwJV +UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xPDA6BgNVBAsTM0NsYXNzIDIgUHVibGljIFByaW1h +cnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMjE6MDgGA1UECxMxKGMpIDE5OTggVmVyaVNp +Z24sIEluYy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25seTEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1 +c3QgTmV0d29yazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAp4gBIXQs5xoD8JjhlzwPIQjx +nNuX6Zr8wgQGE75fUsjMHiwSViy4AWkszJkfrbCWrnkE8hM5wXuYuggs6MKEEyyqaekJ9MepAqRC +wiNPStjwDqL7MWzJ5m+ZJwf15vRMeJ5t60aG+rmGyVTyssSv1EYcWskVMP8NbPUtDm3Of3cCAwEA +ATANBgkqhkiG9w0BAQUFAAOBgQByLvl/0fFx+8Se9sVeUYpAmLho+Jscg9jinb3/7aHmZuovCfTK +1+qlK5X2JGCGTUQug6XELaDTrnhpb3LabK4I8GOSN+a7xDAXrXfMSTWqz9iP0b63GJZHc2pUIjRk +LbYWm1lbtFFZOrMLFPQS32eg9K0yZF6xRnInjBJ7xUS0rg== +-----END CERTIFICATE----- + +Verisign Class 3 Public Primary Certification Authority - G2 +============================================================ +-----BEGIN CERTIFICATE----- +MIIDAjCCAmsCEH3Z/gfPqB63EHln+6eJNMYwDQYJKoZIhvcNAQEFBQAwgcExCzAJBgNVBAYTAlVT +MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xhc3MgMyBQdWJsaWMgUHJpbWFy +eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMTowOAYDVQQLEzEoYykgMTk5OCBWZXJpU2ln +biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVz +dCBOZXR3b3JrMB4XDTk4MDUxODAwMDAwMFoXDTI4MDgwMTIzNTk1OVowgcExCzAJBgNVBAYTAlVT +MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjE8MDoGA1UECxMzQ2xhc3MgMyBQdWJsaWMgUHJpbWFy +eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMTowOAYDVQQLEzEoYykgMTk5OCBWZXJpU2ln +biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MR8wHQYDVQQLExZWZXJpU2lnbiBUcnVz +dCBOZXR3b3JrMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDMXtERXVxp0KvTuWpMmR9ZmDCO +FoUgRm1HP9SFIIThb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xrkEmCMgZK9FGqkjWZCrX +gzT/LCrBbBlDSgeF59N89iFo7+ryUp9/k5DPAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNV +HRMBAf8EBTADAQH/MB0GA1UdDgQWBBRge2YaRQ2XyolQL30EzTSo//z9SzANBgkqhkiG9w0BAQUF +AAOCAQEA1nPnfE920I2/7LqivjTFKDK1fPxsnCwrvQmeU79rXqoRSLblCKOzyj1hTdNGCbM+w6Dj +Y1Ub8rrvrTnhQ7k4o+YviiY776BQVvnGCv04zcQLcFGUl5gE38NflNUVyRRBnMRddWQVDf9VMOyG +j/8N7yy5Y0b2qvzfvGn9LhJIZJrglfCm7ymPAbEVtQwdpf5pLGkkeB6zpxxxYu7KyJesF12KwvhH +hm4qxFYxldBniYUr+WymXUadDKqC5JlR3XC321Y9YeRq4VzW9v493kHMB65jUr9TU/Qr6cf9tveC +X4XSQRjbgbMEHMUfpIBvFSDJ3gyICh3WZlXi/EjJKSZp4A== +-----END CERTIFICATE----- + +GlobalSign Root CA - R2 +======================= +-----BEGIN CERTIFICATE----- +MIIDujCCAqKgAwIBAgILBAAAAAABD4Ym5g0wDQYJKoZIhvcNAQEFBQAwTDEgMB4GA1UECxMXR2xv +YmFsU2lnbiBSb290IENBIC0gUjIxEzARBgNVBAoTCkdsb2JhbFNpZ24xEzARBgNVBAMTCkdsb2Jh +bFNpZ24wHhcNMDYxMjE1MDgwMDAwWhcNMjExMjE1MDgwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxT +aWduIFJvb3QgQ0EgLSBSMjETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2ln +bjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKbPJA6+Lm8omUVCxKs+IVSbC9N/hHD6 +ErPLv4dfxn+G07IwXNb9rfF73OX4YJYJkhD10FPe+3t+c4isUoh7SqbKSaZeqKeMWhG8eoLrvozp +s6yWJQeXSpkqBy+0Hne/ig+1AnwblrjFuTosvNYSuetZfeLQBoZfXklqtTleiDTsvHgMCJiEbKjN +S7SgfQx5TfC4LcshytVsW33hoCmEofnTlEnLJGKRILzdC9XZzPnqJworc5HGnRusyMvo4KD0L5CL +TfuwNhv2GXqF4G3yYROIXJ/gkwpRl4pazq+r1feqCapgvdzZX99yqWATXgAByUr6P6TqBwMhAo6C +ygPCm48CAwEAAaOBnDCBmTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4E +FgQUm+IHV2ccHsBqBt5ZtJot39wZhi4wNgYDVR0fBC8wLTAroCmgJ4YlaHR0cDovL2NybC5nbG9i +YWxzaWduLm5ldC9yb290LXIyLmNybDAfBgNVHSMEGDAWgBSb4gdXZxwewGoG3lm0mi3f3BmGLjAN +BgkqhkiG9w0BAQUFAAOCAQEAmYFThxxol4aR7OBKuEQLq4GsJ0/WwbgcQ3izDJr86iw8bmEbTUsp +9Z8FHSbBuOmDAGJFtqkIk7mpM0sYmsL4h4hO291xNBrBVNpGP+DTKqttVCL1OmLNIG+6KYnX3ZHu +01yiPqFbQfXf5WRDLenVOavSot+3i9DAgBkcRcAtjOj4LaR0VknFBbVPFd5uRHg5h6h+u/N5GJG7 +9G+dwfCMNYxdAfvDbbnvRG15RjF+Cv6pgsH/76tuIMRQyV+dTZsXjAzlAcmgQWpzU/qlULRuJQ/7 +TBj0/VLZjmmx6BEP3ojY+x1J96relc8geMJgEtslQIxq/H5COEBkEveegeGTLg== +-----END CERTIFICATE----- + +ValiCert Class 1 VA +=================== +-----BEGIN CERTIFICATE----- +MIIC5zCCAlACAQEwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRp +b24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENs +YXNzIDEgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDEx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SEwHwYDVQQDExhodHRwOi8vd3d3LnZh +bGljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMB4XDTk5MDYyNjAw +MjIzM1oXDTE5MDYyNjAwMjIzM1owgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTmV0 +d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENsYXNzIDMg +UG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0 +LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMIGfMA0GCSqGSIb3DQEBAQUA +A4GNADCBiQKBgQDjmFGWHOjVsQaBalfDcnWTq8+epvzzFlLWLU2fNUSoLgRNB0mKOCn1dzfnt6td +3zZxFJmP3MKS8edgkpfs2Ejcv8ECIMYkpChMMFp2bbFc893enhBxoYjHW5tBbcqwuI4V7q0zK89H +BFx1cQqYJJgpp0lZpd34t0NiYfPT4tBVPwIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAFa7AliEZwgs +3x/be0kz9dNnnfS0ChCzycUs4pJqcXgn8nCDQtM+z6lU9PHYkhaM0QTLS6vJn0WuPIqpsHEzXcjF +V9+vqDWzf4mH6eglkrh/hXqu1rweN1gqZ8mRzyqBPu3GOd/APhmcGcwTTYJBtYze4D1gCCAPRX5r +on+jjBXu +-----END CERTIFICATE----- + +Verisign Class 1 Public Primary Certification Authority - G3 +============================================================ +-----BEGIN CERTIFICATE----- +MIIEGjCCAwICEQCLW3VWhFSFCwDPrzhIzrGkMA0GCSqGSIb3DQEBBQUAMIHKMQswCQYDVQQGEwJV +UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv +cmsxOjA4BgNVBAsTMShjKSAxOTk5IFZl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Uc8f/NveGLezQXk//EZ9yBta4GvFMDSZl4kSAHsef493oCtrspSCAaWihT37h +a88HQfqDjrw43bAuEbFrskLMmrz5SCJ5ShkPshw+IHTZasO+8ih4E1Z5T21Q6huwtVexN2ZYI/Pc +D98Kh8TvhgXVOBRgmaNL3gaWcSzy27YfpO8/7g== +-----END CERTIFICATE----- + +Verisign Class 2 Public Primary Certification Authority - G3 +============================================================ +-----BEGIN CERTIFICATE----- +MIIEGTCCAwECEGFwy0mMX5hFKeewptlQW3owDQYJKoZIhvcNAQEFBQAwgcoxCzAJBgNVBAYTAlVT +MRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1c3QgTmV0d29y +azE6MDgGA1UECxMxKGMpIDE5OTkgVmVyaVNpZ24sIEluYy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ug +b25seTFFMEMGA1UEAxM8VmVyaVNpZ24gQ2xhc3MgMiBQdWJsaWMgUHJpbWFyeSBDZXJ0aWZpY2F0 +aW9uIEF1dGhvcml0eSAtIEczMB4XDTk5MTAwMTAwMDAwMFoXDTM2MDcxNjIzNTk1OVowgcoxCzAJ +BgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJpU2lnbiwgSW5jLjEfMB0GA1UECxMWVmVyaVNpZ24gVHJ1 +c3QgTmV0d29yazE6MDgGA1UECxMxKGMpIDE5OTkgVmVyaVNpZ24sIEluYy4gLSBGb3IgYXV0aG9y +aXplZCB1c2Ugb25seTFFMEMGA1UEAxM8VmVyaVNpZ24gQ2xhc3MgMiBQdWJsaWMgUHJpbWFyeSBD +ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEczMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC +AQEArwoNwtUs22e5LeWUJ92lvuCwTY+zYVY81nzD9M0+hsuiiOLh2KRpxbXiv8GmR1BeRjmL1Za6 +tW8UvxDOJxOeBUebMXoT2B/Z0wI3i60sR/COgQanDTAM6/c8DyAd3HJG7qUCyFvDyVZpTMUYwZF7 +C9UTAJu878NIPkZgIIUq1ZC2zYugzDLdt/1AVbJQHFauzI13TccgTacxdu9okoqQHgiBVrKtaaNS +0MscxCM9H5n+TOgWY47GCI72MfbS+uV23bUckqNJzc0BzWjNqWm6o+sdDZykIKbBoMXRRkwXbdKs +Zj+WjOCE1Db/IlnF+RFgqF8EffIa9iVCYQ/ESrg+iQIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQA0 +JhU8wI1NQ0kdvekhktdmnLfexbjQ5F1fdiLAJvmEOjr5jLX77GDx6M4EsMjdpwOPMPOY36TmpDHf +0xwLRtxyID+u7gU8pDM/CzmscHhzS5kr3zDCVLCoO1Wh/hYozUK9dG6A2ydEp85EXdQbkJgNHkKU +sQAsBNB0owIFImNjzYO1+8FtYmtpdf1dcEG59b98377BMnMiIYtYgXsVkXq642RIsH/7NiXaldDx +JBQX3RiAa0YjOVT1jmIJBB2UkKab5iXiQkWquJCtvgiPqQtCGJTPcjnhsUPgKM+351psE2tJs//j +GHyJizNdrDPXp/naOlXJWBD5qu9ats9LS98q +-----END CERTIFICATE----- + +Verisign Class 3 Public Primary Certification Authority - G3 +============================================================ +-----BEGIN CERTIFICATE----- +MIIEGjCCAwICEQCbfgZJoz5iudXukEhxKe9XMA0GCSqGSIb3DQEBBQUAMIHKMQswCQYDVQQGEwJV +UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv +cmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNl +IG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDMgUHVibGljIFByaW1hcnkgQ2VydGlmaWNh +dGlvbiBBdXRob3JpdHkgLSBHMzAeFw05OTEwMDEwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMIHKMQsw +CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRy +dXN0IE5ldHdvcmsxOjA4BgNVBAsTMShjKSAxOTk5IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhv +cml6ZWQgdXNlIG9ubHkxRTBDBgNVBAMTPFZlcmlTaWduIENsYXNzIDMgUHVibGljIFByaW1hcnkg +Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC +ggEBAMu6nFL8eB8aHm8bN3O9+MlrlBIwT/A2R/XQkQr1F8ilYcEWQE37imGQ5XYgwREGfassbqb1 +EUGO+i2tKmFZpGcmTNDovFJbcCAEWNF6yaRpvIMXZK0Fi7zQWM6NjPXr8EJJC52XJ2cybuGukxUc +cLwgTS8Y3pKI6GyFVxEa6X7jJhFUokWWVYPKMIno3Nij7SqAP395ZVc+FSBmCC+Vk7+qRy+oRpfw +EuL+wgorUeZ25rdGt+INpsyow0xZVYnm6FNcHOqd8GIWC6fJXwzw3sJ2zq/3avL6QaaiMxTJ5Xpj +055iN9WFZZ4O5lMkdBteHRJTW8cs54NJOxWuimi5V5cCAwEAATANBgkqhkiG9w0BAQUFAAOCAQEA +ERSWwauSCPc/L8my/uRan2Te2yFPhpk0djZX3dAVL8WtfxUfN2JzPtTnX84XA9s1+ivbrmAJXx5f +j267Cz3qWhMeDGBvtcC1IyIuBwvLqXTLR7sdwdela8wv0kL9Sd2nic9TutoAWii/gt/4uhMdUIaC +/Y4wjylGsB49Ndo4YhYYSq3mtlFs3q9i6wHQHiT+eo8SGhJouPtmmRQURVyu565pF4ErWjfJXir0 +xuKhXFSbplQAz/DxwceYMBo7Nhbbo27q/a2ywtrvAkcTisDxszGtTxzhT5yvDwyd93gN2PQ1VoDa +t20Xj50egWTh/sVFuq1ruQp6Tk9LhO5L8X3dEQ== +-----END CERTIFICATE----- + +Verisign Class 4 Public Primary Certification Authority - G3 +============================================================ +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AATANBgkqhkiG9w0BAQUFAAOCAQEA +j/ola09b5KROJ1WrIhVZPMq1CtRK26vdoV9TxaBXOcLORyu+OshWv8LZJxA6sQU8wHcxuzrTBXtt +mhwwjIDLk5Mqg6sFUYICABFna/OIYUdfA5PVWw3g8dShMjWFsjrbsIKr0csKvE+MW8VLADsfKoKm +fjaF3H48ZwC15DtS4KjrXRX5xm3wrR0OhbepmnMUWluPQSjA1egtTaRezarZ7c7c2NU8Qh0XwRJd +RTjDOPP8hS6DRkiy1yBfkjaP53kPmF6Z6PDQpLv1U70qzlmwr25/bLvSHgCwIe34QWKCudiyxLtG +UPMxxY8BqHTr9Xgn2uf3ZkPznoM+IKrDNWCRzg== +-----END CERTIFICATE----- + +Entrust.net Secure Server CA +============================ +-----BEGIN CERTIFICATE----- +MIIE2DCCBEGgAwIBAgIEN0rSQzANBgkqhkiG9w0BAQUFADCBwzELMAkGA1UEBhMCVVMxFDASBgNV +BAoTC0VudHJ1c3QubmV0MTswOQYDVQQLEzJ3d3cuZW50cnVzdC5uZXQvQ1BTIGluY29ycC4gYnkg +cmVmLiAobGltaXRzIGxpYWIuKTElMCMGA1UECxMcKGMpIDE5OTkgRW50cnVzdC5uZXQgTGltaXRl +ZDE6MDgGA1UEAxMxRW50cnVzdC5uZXQgU2VjdXJlIFNlcnZlciBDZXJ0aWZpY2F0aW9uIEF1dGhv +cml0eTAeFw05OTA1MjUxNjA5NDBaFw0xOTA1MjUxNjM5NDBaMIHDMQswCQYDVQQGEwJVUzEUMBIG +A1UEChMLRW50cnVzdC5uZXQxOzA5BgNVBAsTMnd3dy5lbnRydXN0Lm5ldC9DUFMgaW5jb3JwLiBi +eSByZWYuIChsaW1pdHMgbGlhYi4pMSUwIwYDVQQLExwoYykgMTk5OSBFbnRydXN0Lm5ldCBMaW1p +dGVkMTowOAYDVQQDEzFFbnRydXN0Lm5ldCBTZWN1cmUgU2VydmVyIENlcnRpZmljYXRpb24gQXV0 +aG9yaXR5MIGdMA0GCSqGSIb3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ATE----- + +Entrust.net Premium 2048 Secure Server CA +========================================= +-----BEGIN CERTIFICATE----- +MIIEXDCCA0SgAwIBAgIEOGO5ZjANBgkqhkiG9w0BAQUFADCBtDEUMBIGA1UEChMLRW50cnVzdC5u +ZXQxQDA+BgNVBAsUN3d3dy5lbnRydXN0Lm5ldC9DUFNfMjA0OCBpbmNvcnAuIGJ5IHJlZi4gKGxp +bWl0cyBsaWFiLikxJTAjBgNVBAsTHChjKSAxOTk5IEVudHJ1c3QubmV0IExpbWl0ZWQxMzAxBgNV +BAMTKkVudHJ1c3QubmV0IENlcnRpZmljYXRpb24gQXV0aG9yaXR5ICgyMDQ4KTAeFw05OTEyMjQx +NzUwNTFaFw0xOTEyMjQxODIwNTFaMIG0MRQwEgYDVQQKEwtFbnRydXN0Lm5ldDFAMD4GA1UECxQ3 +d3d3LmVudHJ1c3QubmV0L0NQU18yMDQ4IGluY29ycC4gYnkgcmVmLiAobGltaXRzIGxpYWIuKTEl +MCMGA1UECxMcKGMpIDE5OTkgRW50cnVzdC5uZXQgTGltaXRlZDEzMDEGA1UEAxMqRW50cnVzdC5u +ZXQgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgKDIwNDgpMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A +MIIBCgKCAQEArU1LqRKGsuqjIAcVFmQqK0vRvwtKTY7tgHalZ7d4QMBzQshowNtTK91euHaYNZOL +Gp18EzoOH1u3Hs/lJBQesYGpjX24zGtLA/ECDNyrpUAkAH90lKGdCCmziAv1h3edVc3kw37XamSr +hRSGlVuXMlBvPci6Zgzj/L24ScF2iUkZ/cCovYmjZy/Gn7xxGWC4LeksyZB2ZnuU4q941mVTXTzW +nLLPKQP5L6RQstRIzgUyVYr9smRMDuSYB3Xbf9+5CFVghTAp+XtIpGmG4zU/HoZdenoVve8AjhUi +VBcAkCaTvA5JaJG/+EfTnZVCwQ5N328mz8MYIWJmQ3DW1cAH4QIDAQABo3QwcjARBglghkgBhvhC +AQEEBAMCAAcwHwYDVR0jBBgwFoAUVeSB0RGAvtiJuQijMfmhJAkWuXAwHQYDVR0OBBYEFFXkgdER +gL7YibkIozH5oSQJFrlwMB0GCSqGSIb2fQdBAAQQMA4bCFY1LjA6NC4wAwIEkDANBgkqhkiG9w0B +AQUFAAOCAQEAWUesIYSKF8mciVMeuoCFGsY8Tj6xnLZ8xpJdGGQC49MGCBFhfGPjK50xA3B20qMo +oPS7mmNz7W3lKtvtFKkrxjYR0CvrB4ul2p5cGZ1WEvVUKcgF7bISKo30Axv/55IQh7A6tcOdBTcS +o8f0FbnVpDkWm1M6I5HxqIKiaohowXkCIryqptau37AUX7iH0N18f3v/rxzP5tsHrV7bhZ3QKw0z +2wTR5klAEyt2+z7pnIkPFc4YsIV4IU9rTw76NmfNB/L/CNDi3tm/Kq+4h4YhPATKt5Rof8886ZjX +OP/swNlQ8C5LWK5Gb9Auw2DaclVyvUxFnmG6v4SBkgPR0ml8xQ== +-----END CERTIFICATE----- + +Baltimore CyberTrust Root +========================= +-----BEGIN CERTIFICATE----- +MIIDdzCCAl+gAwIBAgIEAgAAuTANBgkqhkiG9w0BAQUFADBaMQswCQYDVQQGEwJJRTESMBAGA1UE +ChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJlclRydXN0MSIwIAYDVQQDExlCYWx0aW1vcmUgQ3li +ZXJUcnVzdCBSb290MB4XDTAwMDUxMjE4NDYwMFoXDTI1MDUxMjIzNTkwMFowWjELMAkGA1UEBhMC +SUUxEjAQBgNVBAoTCUJhbHRpbW9yZTETMBEGA1UECxMKQ3liZXJUcnVzdDEiMCAGA1UEAxMZQmFs +dGltb3JlIEN5YmVyVHJ1c3QgUm9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKME +uyKrmD1X6CZymrV51Cni4eiVgLGw41uOKymaZN+hXe2wCQVt2yguzmKiYv60iNoS6zjrIZ3AQSsB +UnuId9Mcj8e6uYi1agnnc+gRQKfRzMpijS3ljwumUNKoUMMo6vWrJYeKmpYcqWe4PwzV9/lSEy/C +G9VwcPCPwBLKBsua4dnKM3p31vjsufFoREJIE9LAwqSuXmD+tqYF/LTdB1kC1FkYmGP1pWPgkAx9 +XbIGevOF6uvUA65ehD5f/xXtabz5OTZydc93Uk3zyZAsuT3lySNTPx8kmCFcB5kpvcY67Oduhjpr +l3RjM71oGDHweI12v/yejl0qhqdNkNwnGjkCAwEAAaNFMEMwHQYDVR0OBBYEFOWdWTCCR1jMrPoI +VDaGezq1BE3wMBIGA1UdEwEB/wQIMAYBAf8CAQMwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEB +BQUAA4IBAQCFDF2O5G9RaEIFoN27TyclhAO992T9Ldcw46QQF+vaKSm2eT929hkTI7gQCvlYpNRh +cL0EYWoSihfVCr3FvDB81ukMJY2GQE/szKN+OMY3EU/t3WgxjkzSswF07r51XgdIGn9w/xZchMB5 +hbgF/X++ZRGjD8ACtPhSNzkE1akxehi/oCr0Epn3o0WC4zxe9Z2etciefC7IpJ5OCBRLbf1wbWsa +Y71k5h+3zvDyny67G7fyUIhzksLi4xaNmjICq44Y3ekQEe5+NauQrz4wlHrQMz2nZQ/1/I6eYs9H +RCwBXbsdtTLSR9I4LtD+gdwyah617jzV/OeBHRnDJELqYzmp +-----END CERTIFICATE----- + +Equifax Secure Global eBusiness CA +================================== +-----BEGIN CERTIFICATE----- +MIICkDCCAfmgAwIBAgIBATANBgkqhkiG9w0BAQQFADBaMQswCQYDVQQGEwJVUzEcMBoGA1UEChMT +RXF1aWZheCBTZWN1cmUgSW5jLjEtMCsGA1UEAxMkRXF1aWZheCBTZWN1cmUgR2xvYmFsIGVCdXNp +bmVzcyBDQS0xMB4XDTk5MDYyMTA0MDAwMFoXDTIwMDYyMTA0MDAwMFowWjELMAkGA1UEBhMCVVMx +HDAaBgNVBAoTE0VxdWlmYXggU2VjdXJlIEluYy4xLTArBgNVBAMTJEVxdWlmYXggU2VjdXJlIEds +b2JhbCBlQnVzaW5lc3MgQ0EtMTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuucXkAJlsTRV +PEnCUdXfp9E3j9HngXNBUmCbnaEXJnitx7HoJpQytd4zjTov2/KaelpzmKNc6fuKcxtc58O/gGzN +qfTWK8D3+ZmqY6KxRwIP1ORROhI8bIpaVIRw28HFkM9yRcuoWcDNM50/o5brhTMhHD4ePmBudpxn +hcXIw2ECAwEAAaNmMGQwEQYJYIZIAYb4QgEBBAQDAgAHMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0j +BBgwFoAUvqigdHJQa0S3ySPY+6j/s1draGwwHQYDVR0OBBYEFL6ooHRyUGtEt8kj2Puo/7NXa2hs +MA0GCSqGSIb3DQEBBAUAA4GBADDiAVGqx+pf2rnQZQ8w1j7aDRRJbpGTJxQx78T3LUX47Me/okEN +I7SS+RkAZ70Br83gcfxaz2TE4JaY0KNA4gGK7ycH8WUBikQtBmV1UsCGECAhX2xrD2yuCRyv8qIY +NMR1pHMc8Y3c7635s3a0kr/clRAevsvIO1qEYBlWlKlV +-----END CERTIFICATE----- + +Equifax Secure eBusiness CA 1 +============================= +-----BEGIN CERTIFICATE----- +MIICgjCCAeugAwIBAgIBBDANBgkqhkiG9w0BAQQFADBTMQswCQYDVQQGEwJVUzEcMBoGA1UEChMT +RXF1aWZheCBTZWN1cmUgSW5jLjEmMCQGA1UEAxMdRXF1aWZheCBTZWN1cmUgZUJ1c2luZXNzIENB +LTEwHhcNOTkwNjIxMDQwMDAwWhcNMjAwNjIxMDQwMDAwWjBTMQswCQYDVQQGEwJVUzEcMBoGA1UE +ChMTRXF1aWZheCBTZWN1cmUgSW5jLjEmMCQGA1UEAxMdRXF1aWZheCBTZWN1cmUgZUJ1c2luZXNz +IENBLTEwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAM4vGbwXt3fek6lfWg0XTzQaDJj0ItlZ +1MRoRvC0NcWFAyDGr0WlIVFFQesWWDYyb+JQYmT5/VGcqiTZ9J2DKocKIdMSODR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MQswCQYDVQQGEwJVUzEXMBUGA1UEChMORXF1aWZheCBTZWN1cmUx +JjAkBgNVBAsTHUVxdWlmYXggU2VjdXJlIGVCdXNpbmVzcyBDQS0yMQ0wCwYDVQQDEwRDUkwxMBoG +A1UdEAQTMBGBDzIwMTkwNjIzMTIxNDQ1WjALBgNVHQ8EBAMCAQYwHwYDVR0jBBgwFoAUUJ4L6q9e +uSBIplBqy/3YIHqngnYwHQYDVR0OBBYEFFCeC+qvXrkgSKZQasv92CB6p4J2MAwGA1UdEwQFMAMB +Af8wGgYJKoZIhvZ9B0EABA0wCxsFVjMuMGMDAgbAMA0GCSqGSIb3DQEBBQUAA4GBAAyGgq3oThr1 +jokn4jVYPSm0B482UJW/bsGe68SQsoWou7dC4A8HOd/7npCy0cE+U58DRLB+S/Rv5Hwf5+Kx5Lia +78O9zt4LMjTZ3ijtM2vE1Nc9ElirfQkty3D1E4qUoSek1nDFbZS1yX2doNLGCEnZZpum0/QL3MUm +V+GRMOrN +-----END CERTIFICATE----- + +AddTrust Low-Value Services Root +================================ +-----BEGIN CERTIFICATE----- +MIIEGDCCAwCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBlMQswCQYDVQQGEwJTRTEUMBIGA1UEChML +QWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3b3JrMSEwHwYDVQQDExhBZGRU +cnVzdCBDbGFzcyAxIENBIFJvb3QwHhcNMDAwNTMwMTAzODMxWhcNMjAwNTMwMTAzODMxWjBlMQsw +CQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBO +ZXR3b3JrMSEwHwYDVQQDExhBZGRUcnVzdCBDbGFzcyAxIENBIFJvb3QwggEiMA0GCSqGSIb3DQEB +AQUAA4IBDwAwggEKAoIBAQCWltQhSWDia+hBBwzexODcEyPNwTXH+9ZOEQpnXvUGW2ulCDtbKRY6 +54eyNAbFvAWlA3yCyykQruGIgb3WntP+LVbBFc7jJp0VLhD7Bo8wBN6ntGO0/7Gcrjyvd7ZWxbWr +oulpOj0OM3kyP3CCkplhbY0wCI9xP6ZIVxn4JdxLZlyldI+Yrsj5wAYi56xz36Uu+1LcsRVlIPo1 +Zmne3yzxbrww2ywkEtvrNTVokMsAsJchPXQhI2U0K7t4WaPW4XY5mqRJjox0r26kmqPZm9I4XJui +GMx1I4S+6+JNM3GOGvDC+Mcdoq0Dlyz4zyXG9rgkMbFjXZJ/Y/AlyVMuH79NAgMBAAGjgdIwgc8w +HQYDVR0OBBYEFJWxtPCUtr3H2tERCSG+wa9J/RB7MAsGA1UdDwQEAwIBBjAPBgNVHRMBAf8EBTAD +AQH/MIGPBgNVHSMEgYcwgYSAFJWxtPCUtr3H2tERCSG+wa9J/RB7oWmkZzBlMQswCQYDVQQGEwJT +RTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3b3JrMSEw +HwYDVQQDExhBZGRUcnVzdCBDbGFzcyAxIENBIFJvb3SCAQEwDQYJKoZIhvcNAQEFBQADggEBACxt +ZBsfzQ3duQH6lmM0MkhHma6X7f1yFqZzR1r0693p9db7RcwpiURdv0Y5PejuvE1Uhh4dbOMXJ0Ph +iVYrqW9yTkkz43J8KiOavD7/KCrto/8cI7pDVwlnTUtiBi34/2ydYB7YHEt9tTEv2dB8Xfjea4MY +eDdXL+gzB2ffHsdrKpV2ro9Xo/D0UrSpUwjP4E/TelOL/bscVjby/rK25Xa71SJlpz/+0WatC7xr +mYbvP33zGDLKe8bjq2RGlfgmadlVg3sslgf/WSxEo8bl6ancoWOAWiFeIc9TVPC6b4nbqKqVz4vj +ccweGyBECMB6tkD9xOQ14R0WHNC8K47Wcdk= +-----END CERTIFICATE----- + +AddTrust External Root +====================== +-----BEGIN CERTIFICATE----- +MIIENjCCAx6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBvMQswCQYDVQQGEwJTRTEUMBI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dQZic2YR5gdkeWxQHIzZl +j7DYd7usQWxHYINRsPkyPef89iYTx4AWpb9a/IfPeHmJIZriTAcKhjW88t5RxNKWt9x+Tu5w/Rw5 +6wwCURQtjr0W4MHfRnXnJK3s9EK0hZNwEGe6nQY1ShjTK3rMUUKhemPR5ruhxSvCNr4TDea9Y355 +e6cJDUCrat2PisP29owaQgVR1EX1n6diIWgVIEM8med8vSTYqZEXc4g/VhsxOBi0cQ+azcgOno4u +G+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5amnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ= +-----END CERTIFICATE----- + +AddTrust Public Services Root +============================= +-----BEGIN CERTIFICATE----- +MIIEFTCCAv2gAwIBAgIBATANBgkqhkiG9w0BAQUFADBkMQswCQYDVQQGEwJTRTEUMBIGA1UEChML +QWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3b3JrMSAwHgYDVQQDExdBZGRU +cnVzdCBQdWJsaWMgQ0EgUm9vdDAeFw0wMDA1MzAxMDQxNTBaFw0yMDA1MzAxMDQxNTBaMGQxCzAJ +BgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRUcnVzdCBBQjEdMBsGA1UECxMUQWRkVHJ1c3QgVFRQIE5l +dHdvcmsxIDAeBgNVBAMTF0FkZFRydXN0IFB1YmxpYyBDQSBSb290MIIBIjANBgkqhkiG9w0BAQEF +AAOCAQ8AMIIBCgKCAQEA6Rowj4OIFMEg2Dybjxt+A3S72mnTRqX4jsIMEZBRpS9mVEBV6tsfSlbu +nyNu9DnLoblv8n75XYcmYZ4c+OLspoH4IcUkzBEMP9smcnrHAZcHF/nXGCwwfQ56HmIexkvA/X1i +d9NEHif2P0tEs7c42TkfYNVRknMDtABp4/MUTu7R3AnPdzRGULD4EfL+OHn3Bzn+UZKXC1sIXzSG +Aa2Il+tmzV7R/9x98oTaunet3IAIx6eH1lWfl2royBFkuucZKT8Rs3iQhCBSWxHveNCD9tVIkNAw +HM+A+WD+eeSI8t0A65RF62WUaUC6wNW0uLp9BBGo6zEFlpROWCGOn9Bg/QIDAQABo4HRMIHOMB0G +A1UdDgQWBBSBPjfYkrAfd59ctKtzquf2NGAv+jALBgNVHQ8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB +/zCBjgYDVR0jBIGGMIGDgBSBPjfYkrAfd59ctKtzquf2NGAv+qFopGYwZDELMAkGA1UEBhMCU0Ux +FDASBgNVBAoTC0FkZFRydXN0IEFCMR0wGwYDVQQLExRBZGRUcnVzdCBUVFAgTmV0d29yazEgMB4G +A1UEAxMXQWRkVHJ1c3QgUHVibGljIENBIFJvb3SCAQEwDQYJKoZIhvcNAQEFBQADggEBAAP3FUr4 +JNojVhaTdt02KLmuG7jD8WS6IBh4lSknVwW8fCr0uVFV2ocC3g8WFzH4qnkuCRO7r7IgGRLlk/lL ++YPoRNWyQSW/iHVv/xD8SlTQX/D67zZzfRs2RcYhbbQVuE7PnFylPVoAjgbjPGsye/Kf8Lb93/Ao +GEjwxrzQvzSAlsJKsW2Ox5BF3i9nrEUEo3rcVZLJR2bYGozH7ZxOmuASu7VqTITh4SINhwBk/ox9 +Yjllpu9CtoAlEmEBqCQTcAARJl/6NVDFSMwGR+gn2HCNX2TmoUQmXiLsks3/QppEIW1cxeMiHV9H +EufOX1362KqxMy3ZdvJOOjMMK7MtkAY= +-----END CERTIFICATE----- + +AddTrust Qualified Certificates Root +==================================== +-----BEGIN CERTIFICATE----- +MIIEHjCCAwagAwIBAgIBATANBgkqhkiG9w0BAQUFADBnMQswCQYDVQQGEwJTRTEUMBIGA1UEChML +QWRkVHJ1c3QgQUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3b3JrMSMwIQYDVQQDExpBZGRU +cnVzdCBRdWFsaWZpZWQgQ0EgUm9vdDAeFw0wMDA1MzAxMDQ0NTBaFw0yMDA1MzAxMDQ0NTBaMGcx +CzAJBgNVBAYTAlNFMRQwEgYDVQQKEwtBZGRUcn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kh7sKAPgZcLlVAwRv1cEWw3F369nJad9Jjzc9YiQBCYz95OdBEsIJuQRno3eDB +iFrRHnGTHyQwdOUeqN48Jzd/g66ed8/wMLH/S5noxqE= +-----END CERTIFICATE----- + +Entrust Root Certification Authority +==================================== +-----BEGIN CERTIFICATE----- +MIIEkTCCA3mgAwIBAgIERWtQVDANBgkqhkiG9w0BAQUFADCBsDELMAkGA1UEBhMCVVMxFjAUBgNV +BAoTDUVudHJ1c3QsIEluYy4xOTA3BgNVBAsTMHd3dy5lbnRydXN0Lm5ldC9DUFMgaXMgaW5jb3Jw +b3JhdGVkIGJ5IHJlZmVyZW5jZTEfMB0GA1UECxMWKGMpIDIwMDYgRW50cnVzdCwgSW5jLjEtMCsG +A1UEAxMkRW50cnVzdCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA2MTEyNzIwMjM0 +MloXDTI2MTEyNzIwNTM0MlowgbAxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1FbnRydXN0LCBJbmMu +MTkwNwYDVQQLEzB3d3cuZW50cnVzdC5uZXQvQ1BTIGlzIGluY29ycG9yYXRlZCBieSByZWZlcmVu +Y2UxHzAdBgNVBAsTFihjKSAyMDA2IEVudHJ1c3QsIEluYy4xLTArBgNVBAMTJEVudHJ1c3QgUm9v +dCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB +ALaVtkNC+sZtKm9I35RMOVcF7sN5EUFoNu3s/poBj6E4KPz3EEZmLk0eGrEaTsbRwJWIsMn/MYsz +A9u3g3s+IIRe7bJWKKf44LlAcTfFy0cOlypowCKVYhXbR9n10Cv/gkvJrT7eTNuQgFA/CYqEAOww +Cj0Yzfv9KlmaI5UXLEWeH25DeW0MXJj+SKfFI0dcXv1u5x609mhF0YaDW6KKjbHjKYD+JXGIrb68 +j6xSlkuqUY3kEzEZ6E5Nn9uss2rVvDlUccp6en+Q3X0dgNmBu1kmwhH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0EwHhcNMDIwNTIxMDQw +MDAwWhcNMjIwNTIxMDQwMDAwWjBCMQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5j +LjEbMBkGA1UEAxMSR2VvVHJ1c3QgR2xvYmFsIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB +CgKCAQEA2swYYzD99BcjGlZ+W988bDjkcbd4kdS8odhM+KhDtgPpTSEHCIjaWC9mOSm9BXiLnTjo +BbdqfnGk5sRgprDvgOSJKA+eJdbtg/OtppHHmMlCGDUUna2YRpIuT8rxh0PBFpVXLVDviS2Aelet +8u5fa9IAjbkU+BQVNdnARqN7csiRv8lVK83Qlz6cJmTM386DGXHKTubU1XupGc1V3sjs0l44U+Vc +T4wt/lAjNvxm5suOpDkZALeVAjmRCw7+OC7RHQWa9k0+bw8HHa8sHo9gOeL6NlMTOdReJivbPagU +vTLrGAMoUgRx5aszPeE4uwc2hGKceeoWMPRfwCvocWvk+QIDAQABo1MwUTAPBgNVHRMBAf8EBTAD +AQH/MB0GA1UdDgQWBBTAephojYn7qwVkDBF9qn1luMrMTjAfBgNVHSMEGDAWgBTAephojYn7qwVk +DBF9qn1luMrMTjANBgkqhkiG9w0BAQUFAAOCAQEANeMpauUvXVSOKVCUn5kaFOSPeCpilKInZ57Q +zxpeR+nBsqTP3UEaBU6bS+5Kb1VSsyShNwrrZHYqLizz/Tt1kL/6cdjHPTfStQWVYrmm3ok9Nns4 +d0iXrKYgjy6myQzCsplFAMfOEVEiIuCl6rYVSAlk6l5PdPcFPseKUgzbFbS9bZvlxrFUaKnjaZC2 +mqUPuLk/IH2uSrW4nOQdtqvmlKXBx4Ot2/Unhw4EbNX/3aBd7YdStysVAq45pmp06drE57xNNB6p +XE0zX5IJL4hmXXeXxx12E6nV5fEWCRE11azbJHFwLJhWC9kXtNHjUStedejV0NxPNO3CBWaAocvm +Mw== +-----END CERTIFICATE----- + +GeoTrust Global CA 2 +==================== +-----BEGIN CERTIFICATE----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sbxWZJue2Kf8i7MkC +x1YAzUm5s2x7UwQa4qjJqhIFI8LO57sEAszAR6LkxCkvW0VXiVHuPOtSCP8HNR6fNWpHSlaY0VqF +H4z1Ir+rzoPz4iIprn2DQKi6bA== +-----END CERTIFICATE----- + +GeoTrust Universal CA +===================== +-----BEGIN CERTIFICATE----- +MIIFaDCCA1CgAwIBAgIBATANBgkqhkiG9w0BAQUFADBFMQswCQYDVQQGEwJVUzEWMBQGA1UEChMN +R2VvVHJ1c3QgSW5jLjEeMBwGA1UEAxMVR2VvVHJ1c3QgVW5pdmVyc2FsIENBMB4XDTA0MDMwNDA1 +MDAwMFoXDTI5MDMwNDA1MDAwMFowRTELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDUdlb1RydXN0IElu +Yy4xHjAcBgNVBAMTFUdlb1RydXN0IFVuaXZlcnNhbCBDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIP +ADCCAgoCggIBAKYVVaCjxuAfjJ0hUNfBvitbtaSeodlyWL0AG0y/YckUHUWCq8YdgNY96xCcOq9t +JPi8cQGeBvV8Xx7BDlXKg5pZMK4ZyzBIle0iN430SppyZj6tlcDgFgDgEB8rMQ7XlFTTQjOgNB0e +RXbdT8oYN+yFFXoZCPzVx5zw8qkuEKmS5j1YPakWaDwvdSEYfyh3peFhF7em6fgemdtzbvQKoiFs +7tqqhZJmr/Z6a4LauiIINQ/PQvE1+mrufislzDoR5G2vc7J2Ha3QsnhnGqQ5HFELZ1aD/ThdDc7d +8Lsrlh/eezJS/R27tQahsiFepdaVaH/wmZ7cRQg+59IJDTWU3YBOU5fXtQlEIGQWFwMCTFMNaN7V +qnJNk22CDtucvc+081xdVHppCZbW2xHBjXWotM85yM48vCR85mLK4b19p71XZQvk/iXttmkQ3Cga +Rr0BHdCXteGYO8A3ZNY9lO4L4fUorgtWv3GLIylBjobFS1J72HGrH4oVpjuDWtdYAVHGTEHZf9hB +Z3KiKN9gg6meyHv8U3NyWfWTehd2Ds735VzZC1U0oqpbtWpU5xPKV+yXbfReBi9Fi1jUIxaS5BZu +KGNZMN9QAZxjiRqf2xeUgnA3wySemkfWWspOqGmJch+RbNt+nhutxx9z3SxPGWX9f5NAEC7S8O08 +ni4oPmkmM8V7AgMBAAGjYzBhMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFNq7LqqwDLiIJlF0 +XG0D08DYj3rWMB8GA1UdIwQYMBaAFNq7LqqwDLiIJlF0XG0D08DYj3rWMA4GA1UdDwEB/wQEAwIB +hjANBgkqhkiG9w0BAQUFAAOCAgEAMXjmx7XfuJRAyXHEqDXsRh3ChfMoWIawC/yOsjmPRFWrZIRc +aanQmjg8+uUfNeVE44B5lGiku8SfPeE0zTBGi1QrlaXv9z+ZhP015s8xxtxqv6fXIwjhmF7DWgh2 +qaavdy+3YL1ERmrvl/9zlcGO6JP7/TG37FcREUWbMPEaiDnBTzynANXH/KttgCJwpQzgXQQpAvvL +oJHRfNbDflDVnVi+QTjruXU8FdmbyUqDWcDaU/0zuzYYm4UPFd3uLax2k7nZAY1IEKj79TiG8dsK +xr2EoyNB3tZ3b4XUhRxQ4K5RirqNPnbiucon8l+f725ZDQbYKxek0nxru18UGkiPGkzns0ccjkxF +KyDuSN/n3QmOGKjaQI2SJhFTYXNd673nxE0pN2HrrDktZy4W1vUAg4WhzH92xH3kt0tm7wNFYGm2 +DFKWkoRepqO1pD4r2czYG0eq8kTaT/kD6PAUyz/zg97QwVTjt+gKN02LIFkDMBmhLMi9ER/frslK +xfMnZmaGrGiR/9nmUxwPi1xpZQomyB40w11Re9epnAahNt3ViZS82eQtDF4JbAiXfKM9fJP/P6EU +p8+1Xevb2xzEdt+Iub1FBZUbrvxGakyvSOPOrg/SfuvmbJxPgWp6ZKy7PtXny3YuxadIwVyQD8vI +P/rmMuGNG2+k5o7Y+SlIis5z/iw= +-----END CERTIFICATE----- + +GeoTrust Universal CA 2 +======================= +-----BEGIN CERTIFICATE----- +MIIFbDCCA1SgAwIBAgIBATANBgkqhkiG9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z0RzgQKzAfBgNVHSMEGDAWgBR281Xh+qQ2+/CfXGJx7Tz0RzgQKzAOBgNVHQ8BAf8E +BAMCAYYwDQYJKoZIhvcNAQEFBQADggIBAGbBxiPz2eAubl/oz66wsCVNK/g7WJtAJDday6sWSf+z +dXkzoS9tcBc0kf5nfo/sm+VegqlVHy/c1FEHEv6sFj4sNcZj/NwQ6w2jqtB8zNHQL1EuxBRa3ugZ +4T7GzKQp5y6EqgYweHZUcyiYWTjgAA1i00J9IZ+uPTqM1fp3DRgrFg5fNuH8KrUwJM/gYwx7WBr+ +mbpCErGR9Hxo4sjoryzqyX6uuyo9DRXcNJW2GHSoag/HtPQTxORb7QrSpJdMKu0vbBKJPfEncKpq +A1Ihn0CoZ1Dy81of398j9tx4TuaYT1U6U+Pv8vSfx3zYWK8pIpe44L2RLrB27FcRz+8pRPPphXpg +Y+RdM4kX2TGq2tbzGDVyz4crL2MjhF2EjD9XoIj8mZEoJmmZ1I+XRL6O1UixpCgp8RW04eWe3fiP +pm8m1wk8OhwRDqZsN/etRIcsKMfYdIKz0G9KV7s1KSegi+ghp4dkNl3M2Basx7InQJJVOCiNUW7d +FGdTbHFcJoRNdVq2fmBWqU2t+5sel/MN2dKXVHfaPRK34B7vCAas+YWH6aLcr34YEoP9VhdBLtUp +gn2Z9DH2canPLAEnpQW5qrJITirvn5NSUZU8UnOOVkwXQMAJKOSLakhT2+zNVVXxxvjpoixMptEm +X36vWkzaH6byHCx+rgIW0lbQL1dTR+iS +-----END CERTIFICATE----- + +UTN-USER First-Network Applications +=================================== +-----BEGIN CERTIFICATE----- +MIIEZDCCA0ygAwIBAgIQRL4Mi1AAJLQR0zYwS8AzdzANBgkqhkiG9w0BAQUFADCBozELMAkGA1UE +BhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2UgQ2l0eTEeMBwGA1UEChMVVGhl +IFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExhodHRwOi8vd3d3LnVzZXJ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z+7qEUqf9FuVSTiuwL7MT++6LzsQCv4AdRWOOTK +RIK1YSAhZ2X28AvnNPilwpyjXEAfhZOVBt5P1CeptqX8Fs1zMT+4ZSfP1FMa8Kxun08FDAOBp4Qp +xFq9ZFdyrTvPNximmMatBrTcCKME1SmklpoSZ0qMYEWd8SOasACcaLWYUNPvji6SZbFIPiG+FTAq +DbUMo2s/rn9X9R+WfN9v3YIwLGUbQErNaLly7HF27FSOH4UMAWr6pjisH8SE +-----END CERTIFICATE----- + +America Online Root Certification Authority 1 +============================================= +-----BEGIN CERTIFICATE----- +MIIDpDCCAoygAwIBAgIBATANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEcMBoGA1UEChMT +QW1lcmljYSBPbmxpbmUgSW5jLjE2MDQGA1UEAxMtQW1lcmljYSBPbmxpbmUgUm9vdCBDZXJ0aWZp +Y2F0aW9uIEF1dGhvcml0eSAxMB4XDTAyMDUyODA2MDAwMFoXDTM3MTExOTIwNDMwMFowYzELMAkG +A1UEBhMCVVMxHDAaBgNVBAoTE0FtZXJpY2EgT25saW5lIEluYy4xNjA0BgNVBAMTLUFtZXJpY2Eg +T25saW5lIFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgMTCCASIwDQYJKoZIhvcNAQEBBQAD +ggEPADCCAQoCggEBAKgv6KRpBgNHw+kqmP8ZonCaxlCyfqXfaE0bfA+2l2h9LaaLl+lkhsmj76CG +v2BlnEtUiMJIxUo5vxTjWVXlGbR0yLQFOVwWpeKVBeASrlmLojNoWBym1BW32J/X3HGrfpq/m44z +DyL9Hy7nBzbvYjnF3cu6JRQj3gzGPTzOggjmZj7aUTsWOqMFf6Dch9Wc/HKpoH145LcxVR5lu9Rh +sCFg7RAycsWSJR74kEoYeEfffjA3PlAb2xzTa5qGUwew76wGePiEmf4hjUyAtgyC9mZweRrTT6PP +8c9GsEsPPt2IYriMqQkoO3rHl+Ee5fSfwMCuJKDIodkP1nsmgmkyPacCAwEAAaNjMGEwDwYDVR0T +AQH/BAUwAwEB/zAdBgNVHQ4EFgQUAK3Zo/Z59m50qX8zPYEX10zPM94wHwYDVR0jBBgwFoAUAK3Z +o/Z59m50qX8zPYEX10zPM94wDgYDVR0PAQH/BAQDAgGGMA0GCSqGSIb3DQEBBQUAA4IBAQB8itEf +GDeC4Liwo+1WlchiYZwFos3CYiZhzRAW18y0ZTTQEYqtqKkFZu90821fnZmv9ov761KyBZiibyrF +VL0lvV+uyIbqRizBs73B6UlwGBaXCBOMIOAbLjpHyx7kADCVW/RFo8AasAFOq73AI25jP4BKxQft +3OJvx8Fi8eNy1gTIdGcL+oiroQHIb/AUr9KZzVGTfu0uOMe9zkZQPXLjeSWdm4grECDdpbgyn43g +Kd8hdIaC2y+CMMbHNYaz+ZZfRtsMRf3zUMNvxsNIrUam4SdHCh0Om7bCd39j8uB9Gr784N/Xx6ds +sPmuujz9dLQR6FgNgLzTqIA6me11zEZ7 +-----END CERTIFICATE----- + +America Online Root Certification Authority 2 +============================================= +-----BEGIN CERTIFICATE----- +MIIFpDCCA4ygAwIBAgIBATANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJVUzEcMBoGA1UEChMT +QW1lcmljYSBPbmxpbmUgSW5jLjE2MDQGA1UEAxMtQW1lcmljYSBPbmxpbmUgUm9vdCBDZXJ0aWZp +Y2F0aW9uIEF1dGhvcml0eSAyMB4XDTAyMDUyODA2MDAwMFoXDTM3MDkyOTE0MDgwMFowYzELMAkG +A1UEBhMCVVMxHDAaBgNVBAoTE0FtZXJpY2EgT25saW5lIEluYy4xNjA0BgNVBAMTLUFtZXJpY2Eg +T25saW5lIFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgMjCCAiIwDQYJKoZIhvcNAQEBBQAD +ggIPADCCAgoCggIBAMxBRR3pPU0Q9oyxQcngXssNt79Hc9PwVU3dxgz6sWYFas14tNwC206B89en +fHG8dWOgXeMHDEjsJcQDIPT/DjsS/5uN4cbVG7RtIuOx238hZK+Gv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dL +kKWoePhzQ3ukYbDYWMzhbGZ+nPMJXlVjhNWo7/OxLjBos8Q82KxujZlakE403Daaj4GIULdtlkIJ +89eVgw1BS7Bqa/j8D35in2fE7SZfECYPCE/wpFcozo+47UX2bu4lXapuOb7kky/ZR6By6/qmW6/K +Uz/iDsaWVhFu9+lmqSbYf5VT7QqFiLpPKaVCjF62/IUgAKpoC6EahQGcxEZjgoi2IrHu/qpGWX7P +NSzVttpd90gzFFS269lvzs2I1qsb2pY7HVkCAwEAAaMTMBEwDwYDVR0TAQH/BAUwAwEB/zANBgkq +hkiG9w0BAQUFAAOCAQEAuI3O7+cUus/usESSbLQ5PqKEbq24IXfS1HeCh+YgQYHu4vgRt2PRFze+ +GXYkHAQaTOs9qmdvLdTN/mUxcMUbpgIKumB7bVjCmkn+YzILa+M6wKyrO7Do0wlRjBCDxjTgxSvg +GrZgFCdsMneMvLJymM/NzD+5yCRCFNZX/OYmQ6kd5YCQzgNUKD73P9P4Te1qCjqTE5s7FCMTY5w/ +0YcneeVMUeMBrYVdGjux1XMQpNPyvG5k9VpWkKjHDkx0Dy5xO/fIR/RpbxXyEV6DHpx8Uq79AtoS +qFlnGNu8cN2bsWntgM6JQEhqDjXKKWYVIZQs6GAqm4VKQPNriiTsBhYscw== +-----END CERTIFICATE----- + +Comodo AAA Services root +======================== +-----BEGIN CERTIFICATE----- +MIIEMjCCAxqgAwIBAgIBATANBgkqhkiG9w0BAQUFADB7MQswCQYDVQQGEwJHQjEbMBkGA1UECAwS +R3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRowGAYDVQQKDBFDb21vZG8gQ0Eg +TGltaXRlZDEhMB8GA1UEAwwYQUFBIENlcnRpZmljYXRlIFNlcnZpY2VzMB4XDTA0MDEwMTAwMDAw +MFoXDTI4MTIzMTIzNTk1OVowezELMAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFuY2hl +c3RlcjEQMA4GA1UEBwwHU2FsZm9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+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3smPi9WIsgtRqAEFQ8TmDn5XpNpaYbg== +-----END CERTIFICATE----- + +Comodo Secure Services root +=========================== +-----BEGIN CERTIFICATE----- +MIIEPzCCAyegAwIBAgIBATANBgkqhkiG9w0BAQUFADB+MQswCQYDVQQGEwJHQjEbMBkGA1UECAwS +R3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRowGAYDVQQKDBFDb21vZG8gQ0Eg +TGltaXRlZDEkMCIGA1UEAwwbU2VjdXJlIENlcnRpZmljYXRlIFNlcnZpY2VzMB4XDTA0MDEwMTAw +MDAwMFoXDTI4MTIzMTIzNTk1OVowfjELMAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFu +Y2hlc3RlcjEQMA4GA1UEBwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxJDAi +BgNVBAMMG1NlY3VyZSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEBBQADggEP +ADCCAQoCggEBAMBxM4KK0HDrc4eCQNUd5MvJDkKQ+d40uaG6EfQlhfPMcm3ye5drswfxdySRXyWP +9nQ95IDC+DwN879A6vfIUtFyb+/Iq0G4bi4XKpVpDM3SHpR7LZQdqnXXs5jLrLxkU0C8j6ysNstc +rbvd4JQX7NFc0L/vpZXJkMWwrPsbQ996CF23uPJAGysnnlDOXmWCiIxe004MeuoIkbY2qitC++rC +oznl2yY4rYsK7hljxxwk3wN42ubqwUcaCwtGCd0C/N7Lh1/XMGNooa7cMqG6vv5Eq2i2pRcV/b3V +p6ea5EQz6YiO/O1R65NxTq0B50SOqy3LqP4BSUjwwN3HaNiS/j0CAwEAAaOBxzCBxDAdBgNVHQ4E +FgQUPNiTiMLAggnMAZkGkyDpnnAJY08wDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8w +gYEGA1UdHwR6MHgwO6A5oDeGNWh0dHA6Ly9jcmwuY29tb2RvY2EuY29tL1NlY3VyZUNlcnRpZmlj +YXRlU2VydmljZXMuY3JsMDmgN6A1hjNodHRwOi8vY3JsLmNvbW9kby5uZXQvU2VjdXJlQ2VydGlm +aWNhdGVTZXJ2aWNlcy5jcmwwDQYJKoZIhvcNAQEFBQADggEBAIcBbSMdflsXfcFhMs+P5/OKlFlm +4J4oqF7Tt/Q05qo5spcWxYJvMqTpjOev/e/C6LlLqqP05tqNZSH7uoDrJiiFGv45jN5bBAS0VPmj +Z55B+glSzAVIqMk/IQQezkhr/IXownuvf7fM+F86/TXGDe+X3EyrEeFryzHRbPtIgKvcnDe4IRRL +DXE97IMzbtFuMhbsmMcWi1mmNKsFVy2T96oTy9IT4rcuO81rUBcJaD61JlfutuC23bkpgHl9j6Pw +pCikFcSF9CfUa7/lXORlAnZUtOM3ZiTTGWHIUhDlizeauan5Hb/qmZJhlv8BzaFfDbxxvA6sCx1H +RR3B7Hzs/Sk= +-----END CERTIFICATE----- + +Comodo Trusted Services root +============================ +-----BEGIN CERTIFICATE----- +MIIEQzCCAyugAwIBAgIBATANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJHQjEbMBkGA1UECAwS +R3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRowGAYDVQQKDBFDb21vZG8gQ0Eg +TGltaXRlZDElMCMGA1UEAwwcVHJ1c3RlZCBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczAeFw0wNDAxMDEw +MDAwMDBaFw0yODEyMzEyMzU5NTlaMH8xCzAJBgNVBAYTAkdCMRswGQYDVQQIDBJHcmVhdGVyIE1h +bmNoZXN0ZXIxEDAOBgNVBAcMB1NhbGZvcmQxGjAYBgNVBAoMEUNvbW9kbyBDQSBMaW1pdGVkMSUw +IwYDVQQDDBxUcnVzdGVkIENlcnRpZmljYXRlIFNlcnZpY2VzMIIBIjANBgkqhkiG9w0BAQEFAAOC +AQ8AMIIBCgKCAQEA33FvNlhTWvI2VFeAxHQIIO0Yfyod5jWaHiWsnOWWfnJSoBVC21ndZHoa0Lh7 +3TkVvFVIxO06AOoxEbrycXQaZ7jPM8yoMa+j49d/vzMtTGo87IvDktJTdyR0nAducPy9C1t2ul/y +/9c3S0pgePfw+spwtOpZqqPOSC+pw7ILfhdyFgymBwwbOM/JYrc/oJOlh0Hyt3BAd9i+FHzjqMB6 +juljatEPmsbS9Is6FARW1O24zG71++IsWL1/T2sr92AkWCTOJu80kTrV44HQsvAEAtdbtz6SrGsS +ivnkBbA7kUlcsutT6vifR4buv5XAwAaf0lteERv0xwQ1KdJVXOTt6wIDAQABo4HJMIHGMB0GA1Ud +DgQWBBTFe1i97doladL3WRaoszLAeydb9DAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB +/zCBgwYDVR0fBHwwejA8oDqgOIY2aHR0cDovL2NybC5jb21vZG9jYS5jb20vVHJ1c3RlZENlcnRp +ZmljYXRlU2VydmljZXMuY3JsMDqgOKA2hjRodHRwOi8vY3JsLmNvbW9kby5uZXQvVHJ1c3RlZENl +cnRpZmljYXRlU2VydmljZXMuY3JsMA0GCSqGSIb3DQEBBQUAA4IBAQDIk4E7ibSvuIQSTI3S8Ntw +uleGFTQQuS9/HrCoiWChisJ3DFBKmwCL2Iv0QeLQg4pKHBQGsKNoBXAxMKdTmw7pSqBYaWcOrp32 +pSxBvzwGa+RZzG0Q8ZZvH9/0BAKkn0U+yNj6NkZEUD+Cl5EfKNsYEYwq5GWDVxISjBc/lDb+XbDA +BHcTuPQV1T84zJQ6VdCsmPW6AF/ghhmBeC8owH7TzEIK9a5QoNE+xqFx7D+gIIxmOom0jtTYsU0l +R+4viMi14QVFwL4Ucd56/Y57fU0IlqUSc/AtyjcndBInTMu2l+nZrghtWjlA3QVHdWpaIbOjGM9O +9y5Xt5hwXsjEeLBi +-----END CERTIFICATE----- + +QuoVadis Root CA +================ +-----BEGIN CERTIFICATE----- +MIIF0DCCBLigA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uIFByYWN0aWNlIFN0YXRlbWVudC4wLQYIKwYB +BQUHAgEWIWh0dHA6Ly93d3cucXVvdmFkaXNnbG9iYWwuY29tL2NwczALBgNVHQ8EBAMCAQYwHQYD +VR0OBBYEFPLAE+CCQz777i9nMpY1XNu4ywLQMG4GA1UdIwRnMGWAFPLAE+CCQz777i9nMpY1XNu4 +ywLQoUmkRzBFMQswCQYDVQQGEwJCTTEZMBcGA1UEChMQUXVvVmFkaXMgTGltaXRlZDEbMBkGA1UE +AxMSUXVvVmFkaXMgUm9vdCBDQSAzggIFxjANBgkqhkiG9w0BAQUFAAOCAgEAT62gLEz6wPJv92ZV +qyM07ucp2sNbtrCD2dDQ4iH782CnO11gUyeim/YIIirnv6By5ZwkajGxkHon24QRiSemd1o417+s +hvzuXYO8BsbRd2sPbSQvS3pspweWyuOEn62Iix2rFo1bZhfZFvSLgNLd+LJ2w/w4E6oM3kJpK27z +POuAJ9v1pkQNn1pVWQvVDVJIxa6f8i+AxeoyUDUSly7B4f/xI4hROJ/yZlZ25w9Rl6VSDE1JUZU2 +Pb+iSwwQHYaZTKrzchGT5Or2m9qoXadNt54CrnMAyNojA+j56hl0YgCUyyIgvpSnWbWCar6ZeXqp +8kokUvd0/bpO5qgdAm6xDYBEwa7TIzdfu4V8K5Iu6H6li92Z4b8nby1dqnuH/grdS/yO9SbkbnBC +bjPsMZ57k8HkyWkaPcBrTiJt7qtYTcbQQcEr6k8Sh17rRdhs9ZgC06DYVYoGmRmioHfRMJ6szHXu +g/WwYjnPbFfiTNKRCw51KBuav/0aQ/HKd/s7j2G4aSgWQgRecCocIdiP4b0jWy10QJLZYxkNc91p +vGJHvOB0K7Lrfb5BG7XARsWhIstfTsEokt4YutUqKLsRixeTmJlglFwjz1onl14LBQaTNx47aTbr +qZ5hHY8y2o4M1nQ+ewkk2gF3R8Q7zTSMmfXK4SVhM7JZG+Ju1zdXtg2pEto= +-----END CERTIFICATE----- + +Security Communication Root CA +============================== +-----BEGIN CERTIFICATE-----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yYjH3zYQIphZ +6rBK+1YWc26sTfcioU+tHXotRSflMMFe8toTyyVCUZVHA4xsIcx0Qu1T/zOLjw9XARYvz6buyXAi +FL39vmwLAw== +-----END CERTIFICATE----- + +Sonera Class 1 Root CA +====================== +-----BEGIN CERTIFICATE----- +MIIDIDCCAgigAwIBAgIBJDANBgkqhkiG9w0BAQUFADA5MQswCQYDVQQGEwJGSTEPMA0GA1UEChMG +U29uZXJhMRkwFwYDVQQDExBTb25lcmEgQ2xhc3MxIENBMB4XDTAxMDQwNjEwNDkxM1oXDTIxMDQw +NjEwNDkxM1owOTELMAkGA1UEBhMCRkkxDzANBgNVBAoTBlNvbmVyYTEZMBcGA1UEAxMQU29uZXJh +IENsYXNzMSBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALWJHytPZwp5/8Ue+H88 +7dF+2rDNbS82rDTG29lkFwhjMDMiikzujrsPDUJVyZ0upe/3p4zDq7mXy47vPxVnqIJyY1MPQYx9 +EJUkoVqlBvqSV536pQHydekfvFYmUk54GWVYVQNYwBSujHxVX3BbdyMGNpfzJLWaRpXk3w0LBUXl +0fIdgrvGE+D+qnr9aTCU89JFhfzyMlsy3uhsXR/LpCJ0sICOXZT3BgBLqdReLjVQCfOAl/QMF645 +2F/NM8EcyonCIvdFEu1eEpOdY6uCLrnrQkFEy0oaAIINnvmLVz5MxxftLItyM19yejhW1ebZrgUa +HXVFsculJRwSVzb9IjcCAwEAAaMzMDEwDwYDVR0TAQH/BAUwAwEB/zARBgNVHQ4ECgQIR+IMi/ZT +iFIwCwYDVR0PBAQDAgEGMA0GCSqGSIb3DQEBBQUAA4IBAQCLGrLJXWG04bkruVPRsoWdd44W7hE9 +28Jj2VuXZfsSZ9gqXLar5V7DtxYvyOirHYr9qxp81V9jz9yw3Xe5qObSIjiHBxTZ/75Wtf0HDjxV +yhbMp6Z3N/vbXB9OWQaHowND9Rart4S9Tu+fMTfwRvFAttEMpWT4Y14h21VOTzF2nBBhjrZTOqMR +vq9tfB69ri3iDGnHhVNoomG6xT60eVR4ngrHAr5i0RGCS2UvkVrCqIexVmiUefkl98HVrhq4uz2P +qYo4Ffdz0Fpg0YCw8NzVUM1O7pJIae2yIx4wzMiUyLb1O4Z/P6Yun/Y+LLWSlj7fLJOK/4GMDw9Z +IRlXvVWa +-----END CERTIFICATE----- + +Sonera Class 2 Root CA +====================== +-----BEGIN CERTIFICATE----- +MIIDIDCCAgigAwIBAgIBHTANBgkqhkiG9w0BAQUFADA5MQswCQYDVQQGEwJGSTEPMA0GA1UEChMG +U29uZXJhMRkwFwYDVQQDExBTb25lcmEgQ2xhc3MyIENBMB4XDTAxMDQwNjA3Mjk0MFoXDTIxMDQw +NjA3Mjk0MFowOTELMAkGA1UEBhMCRkkxDzANBgNVBAoTBlNvbmVyYTEZMBcGA1UEAxMQU29uZXJh +IENsYXNzMiBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJAXSjWdyvANlsdE+hY3 +/Ei9vX+ALTU74W+oZ6m/AxxNjG8yR9VBaKQTBME1DJqEQ/xcHf+Js+gXGM2RX/uJ4+q/Tl18GybT +dXnt5oTjV+WtKcT0OijnpXuENmmz/V52vaMtmdOQTiMofRhj8VQ7Jp12W5dCsv+u8E7s3TmVToMG +f+dJQMjFAbJUWmYdPfz56TwKnoG4cPABi+QjVHzIrviQHgCWctRUz2EjvOr7nQKV0ba5cTppCD8P +tOFCx4j1P5iop7oc4HFx71hXgVB6XGt0Rg6DA5jDjqhu8nYybieDwnPz3BjotJPqdURrBGAgcVeH +nfO+oJAjPYok4doh28MCAwEAAaMzMDEwDwYDVR0TAQH/BAUwAwEB/zARBgNVHQ4ECgQISqCqWITT +XjwwCwYDVR0PBAQDAgEGMA0GCSqGSIb3DQEBBQUAA4IBAQBazof5FnIVV0sd2ZvnoiYw7JNn39Yt +0jSv9zilzqsWuasvfDXLrNAPtEwr/IDva4yRXzZ299uzGxnq9LIR/WFxRL8oszodv7ND6J+/3DEI +cbCdjdY0RzKQxmUk96BKfARzjzlvF4xytb1LyHr4e4PDKE6cCepnP7JnBBvDFNr450kkkdAdavph +Oe9r5yF1BgfYErQhIHBCcYHaPJo2vqZbDWpsmh+Re/n570K6Tk6ezAyNlNzZRZxe7EJQY670XcSx +EtzKO6gunRRaBXW37Ndj4ro1tgQIkejanZz2ZrUYrAqmVCY0M9IbwdR/GjqOC6oybtv8TyWf2TLH +llpwrN9M +-----END CERTIFICATE----- + +Staat der Nederlanden Root CA +============================= +-----BEGIN CERTIFICATE----- +MIIDujCCAqKgAwIBAgIEAJiWijANBgkqhkiG9w0BAQUFADBVMQswCQYDVQQGEwJOTDEeMBwGA1UE +ChMVU3RhYXQgZGVyIE5lZGVybGFuZGVuMSYwJAYDVQQDEx1TdGFhdCBkZXIgTmVkZXJsYW5kZW4g +Um9vdCBDQTAeFw0wMjEyMTcwOTIzNDlaFw0xNTEyMTYwOTE1MzhaMFUxCzAJBgNVBAYTAk5MMR4w +HAYDVQQKExVTdGFhdCBkZXIgTmVkZXJsYW5kZW4xJjAkBgNVBAMTHVN0YWF0IGRlciBOZWRlcmxh +bmRlbiBSb290IENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmNK1URF6gaYUmHFt +vsznExvWJw56s2oYHLZhWtVhCb/ekBPHZ+7d89rFDBKeNVU+LCeIQGv33N0iYfXCxw719tV2U02P +jLwYdjeFnejKScfST5gTCaI+Ioicf9byEGW07l8Y1Rfj+MX94p2i71MOhXeiD+EwR+4A5zN9RGca +C1Hoi6CeUJhoNFIfLm0B8mBF8jHrqTFoKbt6QZ7GGX+UtFE5A3+y3qcym7RHjm+0Sq7lr7HcsBth +vJly3uSJt3omXdozSVtSnA71iq3DuD3oBmrC1SoLbHuEvVYFy4ZlkuxEK7COudxwC0barbxjiDn6 +22r+I/q85Ej0ZytqERAhSQIDAQABo4GRMIGOMAwGA1UdEwQFMAMBAf8wTwYDVR0gBEgwRjBEBgRV +HSAAMDwwOgYIKwYBBQUHAgEWLmh0dHA6Ly93d3cucGtpb3ZlcmhlaWQubmwvcG9saWNpZXMvcm9v +dC1wb2xpY3kwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBSofeu8Y6R0E3QA7Jbg0zTBLL9s+DAN +BgkqhkiG9w0BAQUFAAOCAQEABYSHVXQ2YcG70dTGFagTtJ+k/rvuFbQvBgwp8qiSpGEN/KtcCFtR +EytNwiphyPgJWPwtArI5fZlmgb9uXJVFIGzmeafR2Bwp/MIgJ1HI8XxdNGdphREwxgDS1/PTfLbw +MVcoEoJz6TMvplW0C5GUR5z6u3pCMuiufi3IvKwUv9kP2Vv8wfl6leF9fpb8cbDCTMjfRTTJzg3y +nGQI0DvDKcWy7ZAEwbEpkcUwb8GpcjPM/l0WFywRaed+/sWDCN+83CI6LiBpIzlWYGeQiy52OfsR +iJf2fL1LuCAWZwWN4jvBcj+UlTfHXbme2JOhF4//DGYVwSR8MnwDHTuhWEUykw== +-----END CERTIFICATE----- + +TDC Internet Root CA +==================== +-----BEGIN CERTIFICATE----- +MIIEKzCCAxOgAwIBAgIEOsylTDANBgkqhkiG9w0BAQUFADBDMQswCQYDVQQGEwJESzEVMBMGA1UE +ChMMVERDIEludGVybmV0MR0wGwYDVQQLExRUREMgSW50ZXJuZXQgUm9vdCBDQTAeFw0wMTA0MDUx +NjMzMTdaFw0yMTA0MDUxNzAzMTdaMEMxCzAJBgNVBAYTAkRLMRUwEwYDVQQKEwxUREMgSW50ZXJu +ZXQxHTAbBgNVBAsTFFREQyBJbnRlcm5ldCBSb290IENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A +MIIBCgKCAQEAxLhAvJHVYx/XmaCLDEAedLdInUaMArLgJF/wGROnN4NrXceO+YQwzho7+vvOi20j +xsNuZp+Jpd/gQlBn+h9sHvTQBda/ytZO5GhgbEaqHF1j4QeGDmUApy6mcca8uYGoOn0a0vnRrEvL +znWv3Hv6gXPU/Lq9QYjUdLP5Xjg6PEOo0pVOd20T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5SIv2MCN7ZF6TACPcn9d2t0bi0Vr591pl6jFVkwP +DPafepE39peC4N1xaf92P2BNPM/3mfnGV/TJVTl4uix5yaaIK/QI +-----END CERTIFICATE----- + +UTN USERFirst Email Root CA +=========================== +-----BEGIN CERTIFICATE----- +MIIEojCCA4qgAwIBAgIQRL4Mi1AAJLQR0zYlJWfJiTANBgkqhkiG9w0BAQUFADCBrjELMAkGA1UE +BhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2UgQ2l0eTEeMBwGA1UEChMVVGhl +IFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExhodHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xNjA0 +BgNVBAMTLVVUTi1VU0VSRmlyc3QtQ2xpZW50IEF1dGhlbnRpY2F0aW9uIGFuZCBFbWFpbDAeFw05 +OTA3MDkxNzI4NTBaFw0xOTA3MDkxNzM2NThaMIGuMQswCQYDVQQGEwJVUzELMAkGA1UECBMCVVQx +FzAVBgNVBAcTDlNhbHQgTGFrZSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsx +ITAfBgNVBAsTGGh0dHA6Ly93d3cudXNlcnRydXN0LmNvbTE2MDQGA1UEAxMtVVROLVVTRVJGaXJz +dC1DbGllbnQgQXV0aGVudGljYXRpb24gYW5kIEVtYWlsMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A +MIIBCgKCAQEAsjmFpPJ9q0E7YkY3rs3BYHW8OWX5ShpHornMSMxqmNVNNRm5pELlzkniii8efNIx +B8dOtINknS4p1aJkxIW9hVE1eaROaJB7HHqkkqgX8pgV8pPMyaQylbsMTzC9mKALi+VuG6JG+ni8 +om+rWV6lL8/K2m2qL+usobNqqrcuZzWLeeEeaYji5kbNoKXqvgvOdjp6Dpvq/NonWz1zHyLmSGHG +TPNpsaguG7bUMSAsvIKKjqQOpdeJQ/wWWq8dcdcRWdq6hw2v+vPhwvCkxWeM1tZUOt4KpLoDd7Nl +yP0e03RiqhjKaJMeoYV+9Udly/hNVyh00jT/MLbu9mIwFIws6wIDAQABo4G5MIG2MAsGA1UdDwQE +AwIBxjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBSJgmd9xJ0mcABLtFBIfN49rgRufTBYBgNV +HR8EUTBPME2gS6BJhkdodHRwOi8vY3JsLnVzZXJ0cnVzdC5jb20vVVROLVVTRVJGaXJzdC1DbGll +bnRBdXRoZW50aWNhdGlvbmFuZEVtYWlsLmNybDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUH +AwQwDQYJKoZIhvcNAQEFBQADggEBALFtYV2mGn98q0rkMPxTbyUkxsrt4jFcKw7u7mFVbwQ+zzne +xRtJlOTrIEy05p5QLnLZjfWqo7NK2lYcYJeA3IKirUq9iiv/Cwm0xtcgBEXkzYABurorbs6q15L+ +5K/r9CYdFip/bDCVNy8zEqx/3cfREYxRmLLQo5HQrfafnoOTHh1CuEava2bwm3/q4wMC5QJRwarV +NZ1yQAOJujEdxRBoUp7fooXFXAimeOZTT7Hot9MUnpOmw2TjrH5xzbyf6QMbzPvprDHBr3wVdAKZ +w7JHpsIyYdfHb0gkUSeh1YdV8nuPmD0Wnu51tvjQjvLzxq4oW6fw8zYX/MMF08oDSlQ= +-----END CERTIFICATE----- + +UTN USERFirst Hardware Root CA +============================== +-----BEGIN CERTIFICATE----- +MIIEdDCCA1ygAwIBAgIQRL4Mi1AAJLQR0zYq/mUK/TANBgkqhkiG9w0BAQUFADCBlzELMAkGA1UE +BhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2UgQ2l0eTEeMBwGA1UEChMVVGhl +IFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExhodHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xHzAd +BgNVBAMTFlVUTi1VU0VSRmlyc3QtSGFyZHdhcmUwHhcNOTkwNzA5MTgxMDQyWhcNMTkwNzA5MTgx +OTIy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HQQZexB2 +lzvukJDKxA4fFm517zP4029bHpbj4HR3dHuKom4t3XbWOTCC8KucUvIqx69JXn7HaOWCgchqJ/kn +iCrVWFCVH/A7HFe7fRQ5YiuayZSSKqMiDP+JJn1fIytH1xUdqWqeUQ0qUZ6B+dQ7XnASfxAynB67 +nfhmqA== +-----END CERTIFICATE----- + +UTN USERFirst Object Root CA +============================ +-----BEGIN CERTIFICATE----- +MIIEZjCCA06gAwIBAgIQRL4Mi1AAJLQR0zYt4LNfGzANBgkqhkiG9w0BAQUFADCBlTELMAkGA1UE +BhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2UgQ2l0eTEeMBwGA1UEChMVVGhl +IFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExhodHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xHTAb +BgNVBAMTFFVUTi1VU0VSRmlyc3QtT2JqZWN0MB4XDTk5MDcwOTE4MzEyMFoXDTE5MDcwOTE4NDAz +NlowgZUxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJVVDEXMBUGA1UEBxMOU2FsdCBMYWtlIENpdHkx +HjAcBgNVBAoTFVRoZSBVU0VSVFJVU1QgTmV0d29yazEhMB8GA1UECxMYaHR0cDovL3d3dy51c2Vy +dHJ1c3QuY29tMR0wGwYDVQQDExRVVE4tVVNFUkZpcnN0LU9iamVjdDCCASIwDQYJKoZIhvcNAQEB +BQADggEPADCCAQoCggEBAM6qgT+jo2F4qjEAVZURnicPHxzfOpuCaDDASmEd8S8O+r5596Uj71VR +loTN2+O5bj4x2AogZ8f02b+U60cEPgLOKqJdhwQJ9jCdGIqXsqoc/EHSoTbL+z2RuufZcDX65OeQ +w5ujm9M89RKZd7G3CeBo5hy485RjiGpq/gt2yb70IuRnuasaXnfBhQfdDWy/7gbHd2pBnqcP1/vu +lBe3/IW+pKvEHDHd17bR5PDv3xaPslKT16HUiaEHLr/hARJCHhrh2JU022R5KP+6LhHC5ehbkkj7 +RwvCbNqtMoNB86XlQXD9ZZBt+vpRxPm9lisZBCzTbafc8H9vg2XiaquHhnUCAwEAAaOBrzCBrDAL +BgNVHQ8EBAMCAcYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU2u1kdBScFDyr3ZmpvVsoTYs8 +ydgwQgYDVR0fBDswOTA3oDWgM4YxaHR0cDovL2NybC51c2VydHJ1c3QuY29tL1VUTi1VU0VSRmly +c3QtT2JqZWN0LmNybDApBgNVHSUEIjAgBggrBgEFBQcDAwYIKwYBBQUHAwgGCisGAQQBgjcKAwQw +DQYJKoZIhvcNAQEFBQADggEBAAgfUrE3RHjb/c652pWWmKpVZIC1WkDdIaXFwfNfLEzIR1pp6ujw +NTX00CXzyKakh0q9G7FzCL3Uw8q2NbtZhncxzaeAFK4T7/yxSPlrJSUtUbYsbUXBmMiKVl0+7kNO +PmsnjtA6S4ULX9Ptaqd1y9Fahy85dRNacrACgZ++8A+EVCBibGnU4U3GDZlDAQ0Slox4nb9QorFE +qmrPF3rPbw/U+CRVX/A0FklmPlBGyWNxODFiuGK581OtbLUrohKqGU8J2l7nk8aOFAj+8DCAGKCG +hU3IfdeLA/5u1fedFqySLKAj5ZyRUh+U3xeUc8OzwcFxBSAAeL0TUh2oPs0AH8g= +-----END CERTIFICATE----- + +Camerfirma Chambers of Commerce Root +==================================== +-----BEGIN CERTIFICATE----- +MIIEvTCCA6WgAwIBAgIBADANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJFVTEnMCUGA1UEChMe +QUMgQ2FtZXJmaXJtYSBTQSBDSUYgQTgyNzQzMjg3MSMwIQYDVQQLExpodHRwOi8vd3d3LmNoYW1i +ZXJzaWduLm9yZzEiMCAGA1UEAxMZQ2hhbWJlcnMgb2YgQ29tbWVyY2UgUm9vdDAeFw0wMzA5MzAx +NjEzNDNaFw0zNzA5MzAxNjEzNDRaMH8xCzAJBgNVBAYTAkVVMScwJQYDVQQKEx5BQyBDYW1lcmZp +cm1hIFNBIENJR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98/d3tGfToSJI6WjzwFCm/SlCgdbQzALogi1djPHRPH8EjX1wWnz8dHnjs8NMiAT9QUu/wN +UPf6s+xCX6ndbcj0dc97wXImsQEcXCz9ek60AcUFV7nnPKoF2YjpB0ZBzu9Bga5Y34OirsrXdx/n +ADydb47kMgkdTXg0eDQ8lJsm7U9xxhl6vSAiSFr+S30Dt+dYvsYyTnQeaN2oaFuzPu5ifdmA6Ap1 +erfutGWaIZDgqtCYvDi1czyL+Nw= +-----END CERTIFICATE----- + +Camerfirma Global Chambersign Root +================================== +-----BEGIN CERTIFICATE----- +MIIExTCCA62gAwIBAgIBADANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQGEwJFVTEnMCUGA1UEChMe +QUMgQ2FtZXJmaXJtYSBTQSBDSUYgQTgyNzQzMjg3MSMwIQYDVQQLExpodHRwOi8vd3d3LmNoYW1i +ZXJzaWduLm9yZzEgMB4GA1UEAxMXR2xvYmFsIENoYW1iZXJzaWduIFJvb3QwHhcNMDMwOTMwMTYx +NDE4WhcNMzcwOTMwMTYxNDE4WjB9MQswCQYDVQQGEwJFVTEnMCUGA1UEChMeQUMgQ2FtZXJmaXJt +YSBTQSBDSUYgQTgyNzQzMjg3MSMwIQYDVQQLExpodHRwOi8vd3d3LmNoYW1iZXJzaWduLm9yZzEg +MB4GA1UEAxMXR2xvYmFsIENoYW1iZXJzaWduIFJvb3QwggEgMA0GCSqGSIb3DQEBAQUAA4IBDQAw +ggEIAoIBAQCicKLQn0KuWxfH2H3PFIP8T8mhtxOviteePgQKkotgVvq0Mi+ITaFgCPS3CU6gSS9J +1tPfnZdan5QEcOw/Wdm3zGaLmFIoCQLfxS+EjXqXd7/sQJ0lcqu1PzKY+7e3/HKE5TWH+VX6ox8O +by4o3Wmg2UIQxvi1RMLQQ3/bvOSiPGpVeAp3qdjqGTK3L/5cPxvusZjsyq16aUXjlg9V9ubtdepl +6DJWk0aJqCWKZQbua795B9Dxt6/tLE2Su8CoX6dnfQTyFQhwrJLWfQTSM/tMtgsL+xrJxI0DqX5c +8lCrEqWhz0hQpe/SyBoT+rB/sYIcd2oPX9wLlY/vQ37mRQklAgEDo4IBUDCCAUwwEgYDVR0TAQH/ +BAgwBgEB/wIBDDA/BgNVHR8EODA2MDSgMqAwhi5odHRwOi8vY3JsLmNoYW1iZXJzaWduLm9yZy9j +aGFtYmVyc2lnbnJvb3QuY3JsMB0GA1UdDgQWBBRDnDafsJ4wTcbOX60Qq+UDpfqpFDAOBgNVHQ8B +Af8EBAMCAQYwEQYJYIZIAYb4QgEBBAQDAgAHMCoGA1UdEQQjMCGBH2NoYW1iZXJzaWducm9vdEBj +aGFtYmVyc2lnbi5vcmcwKgYDVR0SBCMwIYEfY2hhbWJlcnNpZ25yb290QGNoYW1iZXJzaWduLm9y +ZzBbBgNVHSAEVDBSMFAGCysGAQQBgYcuCgEBMEEwPwYIKwYBBQUHAgEWM2h0dHA6Ly9jcHMuY2hh +bWJlcnNpZ24ub3JnL2Nwcy9jaGFtYmVyc2lnbnJvb3QuaHRtbDANBgkqhkiG9w0BAQUFAAOCAQEA +PDtwkfkEVCeR4e3t/mh/YV3lQWVPMvEYBZRqHN4fcNs+ezICNLUMbKGKfKX0j//U2K0X1S0E0T9Y +gOKBWYi+wONGkyT+kL0mojAt6JcmVzWJdJYY9hXiryQZVgICsroPFOrGimbBhkVVi76SvpykBMdJ +PJ7oKXqJ1/6v/2j1pReQvayZzKWGVwlnRtvWFsJG8eSpUPWP0ZIV018+xgBJOm5YstHRJw0lyDL4 +IBHNfTIzSJRUTN3cecQwn+uOuFW114hcxWokPbLTBQNRxgfvzBRydD1ucs4YKIxKoHflCStFREes +t2d/AYoFWpO+ocH/+OcOZ6RHSXZddZAa9SaP8A== +-----END CERTIFICATE----- + +NetLock Qualified (Class QA) Root +================================= +-----BEGIN CERTIFICATE----- +MIIG0TCCBbmgAwIBAgIBezANBgkqhkiG9w0BAQUFADCByTELMAkGA1UEBhMCSFUxETAPBgNVBAcT +CEJ1ZGFwZXN0M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CHnpgu0mfVRQdzNo0ci2ccBgcTc +R08m6h/t280NmPSjnLRzMkqWmf68f8glWPhY83ZmiVSkpj7EUFy6iRiCdUgh0k8T6GB+B3bbELVR +5qq5aKrN9p2QdRLqOBrKROi3macqaJVmlaut74nLYKkGEsaUR+ko +-----END CERTIFICATE----- + +NetLock Notary (Class A) Root +============================= +-----BEGIN CERTIFICATE----- +MIIGfTCCBWWgAwIBAgICAQMwDQYJKoZIhvcNAQEEBQAwga8xCzAJBgNVBAYTAkhVMRAwDgYDVQQI +EwdIdW5nYXJ5MREwDwYDVQQHEwhCdWRhcGVzdDEnMCUGA1UEChMeTmV0TG9jayBIYWxvemF0Yml6 +dG9uc2FnaSBLZnQuMRowGAYDVQQLExFUYW51c2l0dmFueWtpYWRvazE2MDQGA1UEAxMtTmV0TG9j +ayBLb3pqZWd5em9pIChDbGFzcyBBKSBUYW51c2l0dmFueWtpYWRvMB4XDTk5MDIyNDIzMTQ0N1oX +DTE5MDIxOTIzMTQ0N1owga8xCzAJBgNVBAYTAkhVMRAwDgYDVQQIEwdIdW5nYXJ5MREwDwYDVQQH +EwhCdWRhcGVzdDEnMCUGA1UEChMeTmV0TG9jayBIYWxvemF0Yml6dG9uc2FnaSBLZnQuMRowGAYD +VQQLExFUYW51c2l0dmFueWtpYWRvazE2MDQGA1UEAxMtTmV0TG9jayBLb3pqZWd5em9pIChDbGFz +cyBBKSBUYW51c2l0dmFueWtpYWRvMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvHSM +D7tM9DceqQWC2ObhbHDqeLVu0ThEDaiDzl3S1tWBxdRL51uUcCbbO51qTGL3cfNk1mE7PetzozfZ +z+qMkjvN9wfcZnSX9EUi3fRc4L9t875lM+QVOr/bmJBVOMTtplVjC7B4BPTjbsE/jvxReB+SnoPC +/tmwqcm8WgD/qaiYdPv2LD4VOQ22BFWoDpggQrOxJa1+mm9dU7GrDPzr4PN6s6iz/0b2Y6LYOph7 +tqyF/7AlT3R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ulZv+sgoA0BO5TE5 +ayZrU3/b39/zcT0mwBQOxmd7I6gMc90Bu8bKbjc5VdXHjFYgDigKDtIqpLBJUsY4B/6+CgmM0ZjP +ytoUMaFP0jn8DxEsQ8Pdq5PHVT5HfBgaANzze9jyf1JsIPQLX2lS9O74silg6+NJMSEN1rUQQeJB +CWziGppWS3cC9qCbmieH6FUpccKQn0V4GuEVZD3QDtigdp+uxdAu6tYPVuxkf1qbFFgBJ34TUMdr +KuZoPL9coAob4Q566eKAw+np9v1sEZ7Q5SgnK1QyQhSCdeZK8CtmdWOMovsEPoMOmzbwGOQmIMOM +8CgHrTwXZoi1/baI +-----END CERTIFICATE----- + +NetLock Business (Class B) Root +=============================== +-----BEGIN CERTIFICATE----- +MIIFSzCCBLSgAwIBAgIBaTANBgkqhkiG9w0BAQQFADCBmTELMAkGA1UEBhMCSFUxETAPBgNVBAcT +CEJ1ZGFwZXN0MScwJQYDVQQKEx5OZXRMb2NrIEhhbG96YXRiaXp0b25zYWdpIEtmdC4xGjAYBgNV +BAsTEVRhbnVzaXR2YW55a2lhZG9rMTIwMAYDVQQDEylOZXRMb2NrIFV6bGV0aSAoQ2xhc3MgQikg +VGFudXNpdHZhbnlraWFkbzAeFw05OTAyMjUxNDEwMjJaFw0xOTAyMjAxNDEwMjJaMIGZMQswCQYD +VQQGEwJIVTERMA8GA1UEBxMIQnVkYXBlc3QxJzAlBgNVBAoTHk5ldExvY2sgSGFsb3phdGJpenRv +bnNhZ2kgS2Z0LjEaMBgGA1UECxMRVGFudXNpdHZhbnlraWFkb2sxMjAwBgNVBAMTKU5ldExvY2sg +VXpsZXRpIChDbGFzcyBCKSBUYW51c2l0dmFueWtpYWRvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB +iQKBgQCx6gTsIKAjwo84YM/HRrPVG/77uZmeBNwcf4xKgZjupNTKihe5In+DCnVMm8Bp2GQ5o+2S +o/1bXHQawEfKOml2mrriRBf8TKPV/riXiK+IA4kfpPIEPsgHC+b5sy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cNl40JwuyKQ433bNXbhoLXan3BukxowOR0w2y7jfLKR +stE3Kfq51hdcR0/jHTjrn9V7lagonhVK0dHQKwCXoOKSNitjrFgBazMpUIaD8QFI +-----END CERTIFICATE----- + +NetLock Express (Class C) Root +============================== +-----BEGIN CERTIFICATE----- +MIIFTzCCBLigAwIBAgIBaDANBgkqhkiG9w0BAQQFADCBmzELMAkGA1UEBhMCSFUxETAPBgNVBAcT +CEJ1ZGFwZXN0MScwJQYDVQQKEx5OZXRMb2NrIEhhbG96YXRiaXp0b25zYWdpIEtmdC4xGjAYBgNV +BAsTEVRhbnVzaXR2YW55a2lhZG9rMTQwMgYDVQQDEytOZXRMb2NrIEV4cHJlc3N6IChDbGFzcyBD +KSBUYW51c2l0dmFueWtpYWRvMB4XDTk5MDIyNTE0MDgxMVoXDTE5MDIyMDE0MDgxMVowgZsxCzAJ +BgNVBAYTAkhVMREwDwYDVQQHEwhCdWRhcGVzdDEnMCUGA1UEChMeTmV0TG9jayBIYWxvemF0Yml6 +dG9uc2FnaSBLZnQuMRowGAYDVQQLExFUYW51c2l0dmFueWtpYWRvazE0MDIGA1UEAxMrTmV0TG9j +ayBFeHByZXNzeiAoQ2xhc3MgQykgVGFudXNpdHZhbnlraWFkbzCBnzANBgkqhkiG9w0BAQEFAAOB +jQAwgYkCgYEA6+ywbGGKIyWvYCDj2Z/8kwvbXY2wobNAOoLO/XXgeDIDhlqGlZHtU/qdQPzm6N3Z +W3oDvV3zOwzDUXmbrVWg6dADEK8KuhRC2VImESLH0iDMgqSaqf64gXadarfSNnU+sYYJ9m5tfk63 +euyucYT2BDMIJTLrdKwWRMbkQJMdf60CAwEAAaOCAp8wggKbMBIGA1UdEwEB/wQIMAYBAf8CAQQw +DgYDVR0PAQH/BAQDAgAGMBEGCWCGSAGG+EIBAQQEAwIABzCCAmAGCWCGSAGG+EIBDQSCAlEWggJN +RklHWUVMRU0hIEV6ZW4gdGFudXNpdHZhbnkgYSBOZXRMb2NrIEtmdC4gQWx0Y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ecw3ud72a9nmY +vLEHZ6IVDd2gWMZEewo+YihfukEHU1jPEX44dMX4/7VpkI+EdOqXG68CAQOjgcAwgb0wHQYDVR0O +BBYEFNLEsNKR1EwRcbNhyz2h/t2oatTjMIGNBgNVHSMEgYUwgYKAFNLEsNKR1EwRcbNhyz2h/t2o +atTjoWekZTBjMQswCQYDVQQGEwJVUzEhMB8GA1UEChMYVGhlIEdvIERhZGR5IEdyb3VwLCBJbmMu +MTEwLwYDVQQLEyhHbyBEYWRkeSBDbGFzcyAyIENlcnRpZmljYXRpb24gQXV0aG9yaXR5ggEAMAwG +A1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBADJL87LKPpH8EsahB4yOd6AzBhRckB4Y9wim +PQoZ+YeAEW5p5JYXMP80kWNyOO7MHAGjHZQopDH2esRU1/blMVgDoszOYtuURXO1v0XJJLXVggKt +I3lpjbi2Tc7PTMozI+gciKqdi0FuFskg5YmezTvacPd+mSYgFFQlq25zheabIZ0KbIIOqPjCDPoQ +HmyW74cNxA9hi63ugyuV+I6ShHI56yDqg+2DzZduCLzrTia2cyvk0/ZM/iZx4mERdEr/VxqHD3VI +Ls9RaRegAhJhldXRQLIQTO7ErBBDpqWeCtWVYpoNz4iCxTIM5CufReYNnyicsbkqWletNw+vHX/b +vZ8= +-----END CERTIFICATE----- + +Starfield Class 2 CA +==================== +-----BEGIN CERTIFICATE----- +MIIEDzCCAvegAwIBAgIBADANBgkqhkiG9w0BAQUFADBoMQswCQYDVQQGEwJVUzElMCMGA1UEChMc +U3RhcmZpZWxkIFRlY2hub2xvZ2llcywgSW5jLjEyMDAGA1UECxMpU3RhcmZpZWxkIENsYXNzIDIg +Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDQwNjI5MTczOTE2WhcNMzQwNjI5MTczOTE2WjBo +MQswCQYDVQQGEwJVUzElMCMGA1UEChMcU3RhcmZpZWxkIFRlY2hub2xvZ2llcywgSW5jLjEyMDAG +A1UECxMpU3RhcmZp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IFICATE----- + +StartCom Certification Authority +================================ +-----BEGIN CERTIFICATE----- +MIIHyTCCBbGgAwIBAgIBATANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQGEwJJTDEWMBQGA1UEChMN +U3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmlu +ZzEpMCcGA1UEAxMgU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDYwOTE3MTk0 +NjM2WhcNMzYwOTE3MTk0NjM2WjB9MQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRk +LjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzEpMCcGA1UEAxMg +U3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAw +ggIKAoICAQDBiNsJvGxGfHiflXu1M5DycmLWwTYgIiRezul38kMKogZkpMyONvg45iPwbm2xPN1y +o4UcodM9tDMr0y+v/uqwQVlntsQGfQqedIXWeUyAN3rfOQVSWff0G0ZDpNKFhdLDcfN1YjS6LIp/ +Ho/u7TTQEceWzVI9ujPW3U3eCztKS5/CJi/6tRYccjV3yjxd5srhJosaNnZcAdt0FCX+7bWgiA/d +eMotHweXMAEtcnn6RtYTKqi5pquDSR3l8u/d5AGOGAqPY1MWhWKpDhk6zLVmpsJrdAfkK+F2PrRt +2PZE4XNiHzvEvqBTViVsUQn3qqvKv3b9bZvzndu/PWa8DFaqr5hIlTpL36dYUNk4dalb6kMMAv+Z +6+hsTXBbKWWc3apdzK8BMewM69KN6Oqce+Zu9ydmDBpI125C4z/eIT574Q1w+2OqqGwaVLRcJXrJ +osmLFqa7LH4XXgVNWG4SHQHuEhANxjJ/GP/89PrNbpHoNkm+Gkhpi8KWTRoSsmkXwQqQ1vp5Iki/ +untp+HDH+no32NgN0nZPV/+Qt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+3TaHK0u7aNM5Zj2gJsfyOZEdUauCe37Vzlrk4gNXcGmXCPleWKYK34wGmkUWFjgKXlf2Ysd6AgXm +vB618p70qSmD+LIU424oh0TDkBreOKk8rENNZEXO3SipXPJzewT4F+irsfMuXGRuczE6Eri8sxHk +fY+BUZo7jYn0TZNmezwD7dOaHZrzZVD1oNB1ny+v8OqCQ5j4aZyJecRDjkZy42Q2Eq/3JR44iZB3 +fsNrarnDy0RLrHiQi+fHLB5LEUTINFInzQpdn4XBidUaePKVEFMy3YCEZnXZtWgo+2EuvoSoOMCZ +EoalHmdkrQYuL6lwhceWD3yJZfWOQ1QOq92lgDmUYMA0yZZwLKMS9R9Ie70cfmu3nZD0Ijuu+Pwq +yvqCUqDvr0tVk+vBtfAii6w0TiYiBKGHLHVKt+V9E9e4DGTANtLJL4YSjCMJwRuCO3NJo2pXh5Tl +1njFmUNj403gdy3hZZlyaQQaRwnmDwFWJPsfvw55qVguucQJAX6Vum0ABj6y6koQOdjQK/W/7HW/ +lwLFCRsI3FU34oH7N4RDYiDK51ZLZer+bMEkkyShNOsF/5oirpt9P/FlUQqmMGqz9IgcgA38coro +g14= +-----END CERTIFICATE----- + +Taiwan GRCA +=========== +-----BEGIN CERTIFICATE----- +MIIFcjCCA1qgAwIBAgIQH51ZWtcvwgZEpYAIaeNe9jANBgkqhkiG9w0BAQUFADA/MQswCQYDVQQG +EwJUVzEwMC4GA1UECgwnR292ZXJubWVudCBSb290IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4X +DTAyMTIwNTEzMjMzM1oXDTMyMTIwNTEzMjMzM1owPzELMAkGA1UEBhMCVFcxMDAuBgNVBAoMJ0dv +dmVybm1lbnQgUm9vdCBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTCCAiIwDQYJKoZIhvcNAQEBBQAD +ggIPADCCAgoCggIBAJoluOzMonWoe/fOW1mKydGGEghU7Jzy50b2iPN86aXfTEc2pBsBHH8eV4qN +w8XRIePaJD9IK/ufLqGU5yw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H+Mh6XgUmMqvtg7hUAV/h62ZT/FS9p+tXo1KaMuephgIqP0fSdOLeq0dDzpD6Qz +DxARvBMB1uUO07+1EqLhRSPAzAhuYbeJq4PjJB7mXQfnHyA+z2fI56wwbSdLaG5LKlwCCDTb+Hbk +Z6MmnD+iMsJKxYEYMRBWqoTvLQr/uB930r+lWKBi5NdLkXWNiYCYfm3LU05er/ayl4WXudpVBrkk +7tfGOB5jGxI7leFYrPLfhNVfmS8NVVvmONsuP3LpSIXLuykTjx44VbnzssQwmSNOXfJIoRIM3BKQ +CZBUkQM8R+XVyWXgt0t97EfTsws+rZ7QdAAO671RrcDeLMDDav7v3Aun+kbfYNucpllQdSNpc5Oy ++fwC00fmcc4QAu4njIT/rEUNE1yDMuAlpYYsfPQS +-----END CERTIFICATE----- + +Firmaprofesional Root CA +======================== +-----BEGIN CERTIFICATE----- +MIIEVzCCAz+gAwIBAgIBATANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCRVMxIjAgBgNVBAcT +GUMvIE11bnRhbmVyIDI0NCBCYXJjZWxvbmExQjBABgNVBAMTOUF1dG9yaWRhZCBkZSBDZXJ0aWZp +Y2FjaW9uIEZpcm1hcHJvZmVzaW9uYWwgQ0lGIEE2MjYzNDA2ODEmMCQGCSqGSIb3DQEJARYXY2FA +ZmlybWFwcm9mZXNpb25hbC5jb20wHhcNMDExMDI0MjIwMDAwWhcNMTMxMDI0MjIwMDAwWjCBnTEL +MAkGA1UEBhMCRVMxIjAgBgNVBAcTGUMvIE11bnRhbmVyIDI0NCBCYXJjZWxvbmExQjBABgNVBAMT +OUF1dG9yaWRhZCBkZSBDZXJ0aWZpY2FjaW9uIEZpcm1hcHJvZmVzaW9uYWwgQ0lGIEE2MjYzNDA2 +ODEmMCQGCSqGSIb3DQEJARYXY2FAZmlybWFwcm9mZXNpb25hbC5jb20wggEiMA0GCSqGSIb3DQEB +AQUAA4IBDwAwggEKAoIBAQDnIwNvbyOlXnjOlSztlB5uCp4Bx+ow0Syd3Tfom5h5VtP8c9/Qit5V +j1H5WuretXDE7aTt/6MNbg9kUDGvASdYrv5sp0ovFy3Tc9UTHI9ZpTQsHVQERc1ouKDAA6XPhUJH +lShbz++AbOCQl4oBPB3zhxAwJkh91/zpnZFx/0GaqUC1N5wpIE8fUuOgfRNtVLcK3ulqTgesrBlf +3H5idPayBQC6haD9HThuy1q7hryUZzM1gywfI834yJFxzJeL764P3CkDG8A563DtwW4O2GcLiam8 +NeTvtjS0pbbELaW+0MOUJEjb35bTALVmGotmBQ/dPz/LP6pemkr4tErvlTcbAgMBAAGjgZ8wgZww +KgYDVR0RBCMwIYYfaHR0cDovL3d3dy5maXJtYXByb2Zlc2lvbmFsLmNvbTASBgNVHRMBAf8ECDAG +AQH/AgEBMCsGA1UdEAQkMCKADzIwMDExMDI0MjIwMDAwWoEPMjAxMzEwMjQyMjAwMDBaMA4GA1Ud +DwEB/wQEAwIBBjAdBgNVHQ4EFgQUMwugZtHq2s7eYpMEKFK1FH84aLcwDQYJKoZIhvcNAQEFBQAD +ggEBAEdz/o0nVPD11HecJ3lXV7cVVuzH2Fi3AQL0M+2TUIiefEaxvT8Ub/GzR0iLjJcG1+p+o1wq +u00vR+L4OQbJnC4xGgN49Lw4xiKLMzHwFgQEffl25EvXwOaD7FnMP97/T2u3Z36mhoEyIwOdyPdf +wUpgpZKpsaSgYMN4h7Mi8yrrW6ntBas3D7Hi05V2Y1Z0jFhyGzflZKG+TQyTmAyX9odtsz/ny4Cm +7YjHX1BiAuiZdBbQ5rQ58SfLyEDW44YQqSMSkuBpQWOnryULwMWSyx6Yo1q6xTMPoJcB3X/ge9YG +VM+h4k0460tQtcsm9MracEpqoeJ5quGnM/b9Sh/22WA= +-----END CERTIFICATE----- + +Wells Fargo Root CA +=================== +-----BEGIN CERTIFICATE----- +MIID5TCCAs2gAwIBAgIEOeSXnjANBgkqhkiG9w0BAQUFADCBgjELMAkGA1UEBhMCVVMxFDASBgNV +BAoTC1dlbGxzIEZhcmdvMSw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jAWALXmmshFZhvnEX/h0TD/7Gh0Xp/jKgGg0TpJRVcaUWi7rKibCy +x/yP2FS1k2Kdzs9Z+z0YzirLNRWCXf9UIltxUvu3yf5gmwBBZPCqKuy2QkPOiWaByIufOVQDJdMW +NY6E0F/6MBr1mmz0DlP5OlvRHA== +-----END CERTIFICATE----- + +DigiCert Assured ID Root CA +=========================== +-----BEGIN CERTIFICATE----- +MIIDtzCCAp+gAwIBAgIQDOfg5RfYRv6P5WD8G/AwOTANBgkqhkiG9w0BAQUFADBlMQswCQYDVQQG +EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSQw +IgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgQ0EwHhcNMDYxMTEwMDAwMDAwWhcNMzEx +MTEwMDAwMDAwWjBlMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQL +ExB3d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgQ0Ew +ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCtDhXO5EOAXLGH87dg+XESpa7cJpSIqvTO +9SA5KFhgDPiA2qkVlTJhPLWxKISKityfCgyDF3qPkKyK53lTXDGEKvYPmDI2dsze3Tyoou9q+yHy +UmHfnyDXH+Kx2f4YZNISW1/5WBg1vEfNoTb5a3/UsDg+wRvDjDPZ2C8Y/igPs6eD1sNuRMBhNZYW +/lmci3Zt1/GiSw0r/wty2p5g0I6QNcZ4VYcgoc/lbQrISXwxmDNsIumH0DJaoroTghHtORedmTpy +oeb6pNnVFzF1roV9Iq4/AUaG9ih5yLHa5FcXxH4cDrC0kqZWs72yl+2qp/C3xag/lRbQ/6GW6whf +GHdPAgMBAAGjYzBhMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRF +66Kv9JLLgjEtUYunpyGd823IDzAfBgNVHSMEGDAWgBRF66Kv9JLLgjEtUYunpyGd823IDzANBgkq +hkiG9w0BAQUFAAOCAQEAog683+Lt8ONyc3pklL/3cmbYMuRCdWKuh+vy1dneVrOfzM4UKLkNl2Bc +EkxY5NM9g0lFWJc1aRqoR+pWxnmrEthngYTffwk8lOa4JiwgvT2zKIn3X/8i4peEH+ll74fg38Fn +SbNd67IJKusm7Xi+fT8r87cmNW1fiQG2SVufAQWbqz0lwcy2f8Lxb4bG+mRo64EtlOtCt/qMHt1i +8b5QZ7dsvfPxH2sMNgcWfzd8qVttevESRmCD1ycEvkvOl77DZypoEd+A5wwzZr8TDRRu838fYxAe ++o0bJW1sj6W3YQGx0qMmoRBxna3iw/nDmVG3KwcIzi7mULKn+gpFL6Lw8g== +-----END CERTIFICATE----- + +DigiCert Global Root CA +======================= +-----BEGIN CERTIFICATE----- +MIIDrzCCApegAwIBAgIQCDvgVpBCRrGhdWrJWZHHSjANBgkqhkiG9w0BAQUFADBhMQswCQYDVQQG +EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSAw +HgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBDQTAeFw0wNjExMTAwMDAwMDBaFw0zMTExMTAw +MDAwMDBaMGExCzAJBgNVBAYTAlVTMRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3 +dy5kaWdpY2VydC5jb20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IENBMIIBIjANBgkq +hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4jvhEXLeqKTTo1eqUKKPC3eQyaKl7hLOllsBCSDMAZOn +TjC3U/dDxGkAV53ijSLdhwZAAIEJzs4bg7/fzTtxRuLWZscFs3YnFo97nh6Vfe63SKMI2tavegw5 +BmV/Sl0fvBf4q77uKNd0f3p4mVmFaG5cIzJLv07A6Fpt43C/dxC//AH2hdmoRBBYMql1GNXRor5H +4idq9Joz+EkIYIvUX7Q6hL+hqkpMfT7PT19sdl6gSzeRntwi5m3OFBqOasv+zbMUZBfHWymeMr/y +7vrTC0LUq7dBMtoM1O/4gdW7jVg/tRvoSSiicNoxBN33shbyTApOB6jtSj1etX+jkMOvJwIDAQAB +o2MwYTAOBgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUA95QNVbRTLtm +8KPiGxvDl7I90VUwHwYDVR0jBBgwFoAUA95QNVbRTLtm8KPiGxvDl7I90VUwDQYJKoZIhvcNAQEF +BQADggEBAMucN6pIExIK+t1EnE9SsPTfrgT1eXkIoyQY/EsrhMAtudXH/vTBH1jLuG2cenTnmCmr +EbXjcKChzUyImZOMkXDiqw8cvpOp/2PV5Adg06O/nVsJ8dWO41P0jmP6P6fbtGbfYmbW0W5BjfIt +tep3Sp+dWOIrWcBAI+0tKIJFPnlUkiaY4IBIqDfv8NZ5YBberOgOzW6sRBc4L0na4UU+Krk2U886 +UAb3LujEV0lsYSEY1QSteDwsOoBrp+uvFRTp2InBuThs4pFsiv9kuXclVzDAGySj4dzp30d8tbQk +CAUw7C29C79Fv1C5qfPrmAESrciIxpg0X40KPMbp1ZWVbd4= +-----END CERTIFICATE----- + +DigiCert High Assurance EV Root CA +================================== +-----BEGIN CERTIFICATE----- +MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBsMQswCQYDVQQG +EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSsw +KQYDVQQDEyJEaWdpQ2VydCBIaWdoIEFzc3VyYW5jZSBFViBSb290IENBMB4XDTA2MTExMDAwMDAw +MFoXDTMxMTExMDAwMDAwMFowbDELMAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZ +MBcGA1UECxMQd3d3LmRpZ2ljZXJ0LmNvbTErMCkGA1UEAxMiRGlnaUNlcnQgSGlnaCBBc3N1cmFu +Y2UgRVYgUm9vdCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMbM5XPm+9S75S0t +Mqbf5YE/yc0lSbZxKsPVlDRnogocsF9ppkCxxLeyj9CYpKlBWTrT3JTWPNt0OKRKzE0lgvdKpVMS +OO7zSW1xkX5jtqumX8OkhPhPYlG++MXs2ziS4wblCJEMxChBVfvLWokVfnHoNb9Ncgk9vjo4UFt3 +MRuNs8ckRZqnrG0AFFoEt7oT61EKmEFBIk5lYYeBQVCmeVyJ3hlKV9Uu5l0cUyx+mM0aBhakaHPQ +NAQTXKFx01p8VdteZOE3hzBWBOURtCmAEvF5OYiiAhF8J2a3iLd48soKqDirCmTCv2ZdlYTBoSUe +h10aUAsgEsxBu24LUTi4S8sCAwEAAaNjMGEwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQFMAMB +Af8wHQYDVR0OBBYEFLE+w2kD+L9HAdSYJhoIAu9jZCvDMB8GA1UdIwQYMBaAFLE+w2kD+L9HAdSY +JhoIAu9jZCvDMA0GCSqGSIb3DQEBBQUAA4IBAQAcGgaX3NecnzyIZgYIVyHbIUf4KmeqvxgydkAQ +V8GK83rZEWWONfqe/EW1ntlMMUu4kehDLI6zeM7b41N5cdblIZQB2lWHmiRk9opmzN6cN82oNLFp +myPInngiK3BD41VHMWEZ71jFhS9OMPagMRYjyOfiZRYzy78aG6A9+MpeizGLYAiJLQwGXFK3xPkK +mNEVX58Svnw2Yzi9RKR/5CYrCsSXaQ3pjOLAEFe4yHYSkVXySGnYvCoCWw9E1CAx2/S6cCZdkGCe +vEsXCS+0yx5DaMkHJ8HSXPfqIbloEpw8nL+e/IBcm2PN7EeqJSdnoDfzAIJ9VNep+OkuE6N36B9K +-----END CERTIFICATE----- + +Certplus Class 2 Primary CA +=========================== +-----BEGIN CERTIFICATE----- +MI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ikug +dB/OEIKcdBodfpga3csTS7MgROSR6cz8faXbauX+5v3gTt23ADq1cEmv8uXrAvHRAosZy5Q6XkjE +GB5YGV8eAlrwDPGxrancWYaLbumR9YbK+rlmM6pZW87ipxZzR8srzJmwN0jP41ZL9c8PDHIyh8bw +RLtTcm1D9SZImlJnt1ir/md2cXjbDaJWFBM5JDGFoqgCWjBH4d1QB7wCCZAA62RjYJsWvIjJEubS +fZGL+T0yjWW06XyxV3bqxbYoOb8VZRzI9neWagqNdwvYkQsEjgfbKbYK7p2CNTUQ +-----END CERTIFICATE----- + +DST ACES CA X6 +============== +-----BEGIN CERTIFICATE----- +MIIECTCCAvGgAwIBAgIQDV6ZCtadt3js2AdWO4YV2TANBgkqhkiG9w0BAQUFADBbMQswCQYDVQQG +EwJVUzEgMB4GA1UEChMXRGlnaXRhbCBTaWduYXR1cmUgVHJ1c3QxETAPBgNVBAsTCERTVCBBQ0VT +MRcwFQYDVQQDEw5EU1QgQUNFUyBDQSBYNjAeFw0wMzExMjAyMTE5NThaFw0xNzExMjAyMTE5NTha +MFsxCzAJBgNVBAYTAlVTMSAwHgYDVQQKExdEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdDERMA8GA1UE +CxMIRFNUIEFDRVMxFzAVBgNVBAMTDkRTVCBBQ0VTIENBIFg2MIIBIjANBgkqhkiG9w0BAQEFAAOC +AQ8AMIIBCgKCAQEAuT31LMmU3HWKlV1j6IR3dma5WZFcRt2SPp/5DgO0PWGSvSMmtWPuktKe1jzI +DZBfZIGxqAgNTNj50wUoUrQBJcWVHAx+PhCEdc/BGZFjz+iokYi5Q1K7gLFViYsx+tC3dr5BPTCa +pCIlF3PoHuLTrCq9Wzgh1SpL11V94zpVvddtawJXa+ZHfAjIgrrep4c9oW24MFbCswKBXy314pow +GCi4ZtPLAZZv6opFVdbgnf9nKxcCpk4aahELfrd755jWjHZvwTvbUJN+5dCOHze4vbrGn2zpfDPy +MjwmR/onJALJfh1biEITajV8fTXpLmaRcpPVMibEdPVTo7NdmvYJywIDAQABo4HIMIHFMA8GA1Ud +EwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgHGMB8GA1UdEQQYMBaBFHBraS1vcHNAdHJ1c3Rkc3Qu +Y29tMGIGA1UdIARbMFkwVwYKYIZIAWUDAgEBATBJMEcGCCsGAQUFBwIBFjtodHRwOi8vd3d3LnRy +dXN0ZHN0LmNvbS9jZXJ0aWZpY2F0ZXMvcG9saWN5L0FDRVMtaW5kZXguaHRtbDAdBgNVHQ4EFgQU +CXIGThhDD+XWzMNqizF7eI+og7gwDQYJKoZIhvcNAQEFBQADggEBAKPYjtay284F5zLNAdMEA+V2 +5FYrnJmQ6AgwbN99Pe7lv7UkQIRJ4dEorsTCOlMwiPH1d25Ryvr/ma8kXxug/fKshMrfqfBfBC6t +Fr8hlxCBPeP/h40y3JTlR4peahPJlJU90u7INJXQgNStMgiAVDzgvVJT11J8smk/f3rPanTK+gQq +nExaBqXpIK1FZg9p8d2/6eMyi/rgwYZNcjwu2JN4Cir42NInPRmJX1p7ijvMDNpRrscL9yuwNwXs +vFcj4jjSm2jzVhKIT0J8uDHEtdvkyCE06UgRNe76x5JXxZ805Mf29w4LTJxoeHtxMcfrHuBnQfO3 +oKfN5XozNmr6mis= +-----END CERTIFICATE----- + +TURKTRUST Certificate Services Provider Root 1 +============================================== +-----BEGIN CERTIFICATE----- +MIID+zCCAuOgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBtzE/MD0GA1UEAww2VMOcUktUUlVTVCBF +bGVrdHJvbmlrIFNlcnRpZmlrYSBIaXptZXQgU2HEn2xhecSxY8Sxc8SxMQswCQYDVQQGDAJUUjEP +MA0GA1UEBwwGQU5LQVJBMVYwVAYDVQQKDE0oYykgMjAwNSBUw5xSS1RSVVNUIEJpbGdpIMSwbGV0 +acWfaW0gdmUgQmlsacWfaW0gR8O8dmVubGnEn2kgSGl6bWV0bGVyaSBBLsWeLjAeFw0wNTA1MTMx +MDI3MTdaFw0xNTAzMjIxM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-----END CERTIFICATE----- + +TURKTRUST Certificate Services Provider Root 2 +============================================== +-----BEGIN CERTIFICATE----- +MIIEPDCCAySgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBvjE/MD0GA1UEAww2VMOcUktUUlVTVCBF +bGVrdHJvbmlrIFNlcnRpZmlrYSBIaXptZXQgU2HEn2xhecSxY8Sxc8SxMQswCQYDVQQGEwJUUjEP +MA0GA1UEBwwGQW5rYXJhMV0wWwYDVQQKDFRUw5xSS1RSVVNUIEJpbGdpIMSwbGV0acWfaW0gdmUg +QmlsacWfaW0gR8O8dmVubGnEn2kgSGl6bWV0bGVyaSBBLsWeLiAoYykgS2FzxLFtIDIwMDUwHhcN +MDUxMTA3MTAwNzU3WhcNMTUwOTE2MTAwNzU3WjCBvjE/MD0GA1UEAww2VMOcUktUUlVTVCBFbGVr +dHJvbmlrIFNlcnRpZmlrYSBIaXptZXQgU2HEn2xhecSxY8Sxc8SxMQswCQYDVQQGEwJUUjEPMA0G +A1UEBwwGQW5rYXJhMV0wWwYDVQQKDFRUw5xSS1RSVVNUIEJpbGdpIMSwbGV0acWfaW0gdmUgQmls +acWfaW0gR8O8dmVubGnEn2kgSGl6bWV0bGVyaSBBLsWeLiAoYykgS2FzxLFtIDIwMDUwggEiMA0G +CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCpNn7DkUNMwxmYCMjHWHtPFoylzkkBH3MOrHUTpvqe +LCDe2JAOCtFp0if7qnefJ1Il4std2NiDUBd9irWCPwSOtNXwSadktx4uXyCcUHVPr+G1QRT0mJKI +x+XlZEdhR3n9wFHxwZnn3M5q+6+1ATDcRhzviuyV79z/rxAc653YsKpqhRgNF8k+v/Gb0AmJQv2g +QrSdiVFVKc8bcLyEVK3BEx+Y9C52YItdP5qtygy/p1Zbj3e41Z55SZI/4PGXJHpsmxcPbe9TmJEr +5A++WXkHeLuXlfSfadRYhwqp48y2WBmfJiGxxFmNskF1wK1pzpwACPI2/z7woQ8arBT9pmAPAgMB +AAGj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0xpuAxtpTmREl0xRbl +9x8DYSjFyMsSoEJL+WuICI20MhjzdZ/EfwBPBZWcoxcCw7NTm6ogOSkrZvqdr16zktK1puEa+S1B +aYEUtLS17Yk9zvupnTVCRLEcFHOBzyoBNZox1S2PbYTfgE1X4z/FhHXaicYwu+uPyyIIoK6q8QNs +OktNCaUOcsZWayFCTiMlFGiudgp8DAdwZPmaL/YFOSbGDI8Zf0NebvRbFS/bYV3mZy8/CJT5YLSY +Mdp08YSTcU1f+2BY0fvEwW2JorsgH51xkcsymxM9Pn2SUjWskpSi0xjCfMfqr3YFFt1nJ8J+HAci +IfNAChs0B0QTwoRqjt8ZWr9/6x3iGjjRXK9HkmuAtTClyY3YqzGBH9/CZjfTk6mFhnll0g== +-----END CERTIFICATE----- + +SwissSign Gold CA - G2 +====================== +-----BEGIN CERTIFICATE----- +MIIFujCCA6KgAwIBAgIJALtAHEP1Xk+wMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNVBAYTAkNIMRUw +EwYDVQQKEwxTd2lzc1NpZ24gQUcxHzAdBgNVBAMTFlN3aXNzU2lnbiBHb2xkIENBIC0gRzIwHhcN +MDYxMDI1MDgzMDM1WhcNMzYxMDI1MDgzMDM1WjBFMQswCQYDVQQGEwJDSDEVMBMGA1UEChMMU3dp +c3NTaWduIEFHMR8wHQYDVQQDExZTd2lzc1NpZ24gR29sZCBDQSAtIEcyMIICIjANBgkqhkiG9w0B +AQEFAAOCAg8AMIICCgKCAgEAr+TufoskDhJuqVAtFkQ7kpJcyrhdhJJCEyq8ZVeCQD5XJM1QiyUq +t2/876LQwB8CJEoTlo8jE+YoWACjR8cGp4QjK7u9lit/VcyLwVcfDmJlD909Vopz2q5+bbqBHH5C +jCA12UNNhPqE21Is8w4ndwtrvxEvcnifLtg+5hg3Wipy+dpikJKVyh+c6bM8K8vzARO/Ws/BtQpg +vd21mWRTuKCWs2/iJneRjOBiEAKfNA+k1ZIzUd6+jbqEemA8atufK+ze3gE/bk3lUIbLtK/tRED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CChdiDyyJk +vC24JdVUorgG6q2SpCSgwYa1ShNqR88uC1aVVMvOmttqtKay20EIhid392qgQmwLOM7XdVAyksLf +KzAiSNDVQTglXaTpXZ/GlHXQRf0wl0OPkKsKx4ZzYEppLd6leNcG2mqeSz53OiATIgHQv2ieY2Br +NU0LbbqhPcCT4H8js1WtciVORvnSFu+wZMEBnunKoGqYDs/YYPIvSbjkQuE4NRb0yG5P94FW6Lqj +viOvrv1vA+ACOzB2+httQc8Bsem4yWb02ybzOqR08kkkW8mw0FfB+j564ZfJ +-----END CERTIFICATE----- + +SwissSign Silver CA - G2 +======================== +-----BEGIN CERTIFICATE----- +MIIFvTCCA6WgAwIBAgIITxvUL1S7L0swDQYJKoZIhvcNAQEFBQAwRzELMAkGA1UEBhMCQ0gxFTAT +BgNVBAoTDFN3aXNzU2lnbiBBRzEhMB8GA1UEAxMYU3dpc3NTaWduIFNpbHZlciBDQSAtIEcyMB4X +DTA2MTAyNTA4MzI0NloXDTM2MTAyNTA4MzI0NlowRzELMAkGA1UEBhMCQ0gxFTATBgNVBAoTDFN3 +aXNzU2lnbiBBRzEhMB8GA1UEAxMYU3dpc3NTaWduIFNpbHZlciBDQSAtIEcyMIICIjANBgkqhkiG +9w0BAQEFAAOCAg8AMIICCgKCAgEAxPGHf9N4Mfc4yfjDmUO8x/e8N+dOcbpLj6VzHVxumK4DV644 +N0MvFz0fyM5oEMF4rhkDKxD6LHmD9ui5aLlV8gREpzn5/ASLHvGiTSf5YXu6t+WiE7brYT7QbNHm ++/pe7R20nqA1W6GSy/BJkv6FCgU+5tkL4k+73JU3/JHpMjUi0R86TieFnbAVlDLaYQ1HTWBCrpJH +6INaUFjpiou5XaHc3ZlKHzZnu0jkg7Y360g6rw9njxcH6ATK72oxh9TAtvmUcXtnZLi2kUpCe2Uu +MGoM9ZDulebyzYLs2aFK7PayS+VFheZteJMELpyCbTapxDFkH4aDCyr0NQp4yVXPQbBH6TCfmb5h +qAaEuSh6XzjZG6k4sIN/c8HDO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Y0IavdeQXRuwxF+B6wpYJE/OMpXEA29MC/HpeZBoNquBYeaoKRlbEwJ +DIm6uNO5wJOKMPqN5ZprFQFOZ6raYlY+hAhm0sQ2fac+EPyI4NSA5QC9qvNOBqN6avlicuMJT+ub +DgEj8Z+7fNzcbBGXJbLytGMU0gYqZ4yD9c7qB9iaah7s5Aq7KkzrCWA5zspi2C5u +-----END CERTIFICATE----- + +GeoTrust Primary Certification Authority +======================================== +-----BEGIN CERTIFICATE----- +MIIDfDCCAmSgAwIBAgIQGKy1av1pthU6Y2yv2vrEoTANBgkqhkiG9w0BAQUFADBYMQswCQYDVQQG +EwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjExMC8GA1UEAxMoR2VvVHJ1c3QgUHJpbWFyeSBD +ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTAeFw0wNjExMjcwMDAwMDBaFw0zNjA3MTYyMzU5NTlaMFgx +CzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMTEwLwYDVQQDEyhHZW9UcnVzdCBQ +cmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB +CgKCAQEAvrgVe//UfH1nrYNke8hCUy3f9oQIIGHWAVlqnEQRr+92/ZV+zmEwu3qDXwK9AWbK7hWN +b6EwnL2hhZ6UOvNWiAAxz9juapYC2e0DjPt1befquFUWBRaa9OBesYjAZIVcFU2Ix7e64HXprQU9 +nceJSOC7KMgD4TCTZF5SwFlwIjVXiIrxlQqD17wxcwE07e9GceBrAqg1cmuXm2bgyxx5X9gaBGge +RwLmnWDiNpcB3841kt++Z8dtd1k7j53WkBWUvEI0EME5+bEnPn7WinXFsq+W06Lem+SYvn3h6YGt +tm/81w7a4DSwDRp35+MImO9Y+pyEtzavwt+s0vQQBnBxNQIDAQABo0IwQDAPBgNVHRMBAf8EBTAD +AQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ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BAQUAA4IBDwAwggEKAoIBAQCs +oPD7gFnUnMekz52hWXMJEEUMDSxuaPFsW0hoSVk3/AszGcJ3f8wQLZU0HObrTQmnHNK4yZc2AreJ +1CRfBsDMRJSUjQJib+ta3RGNKJpchJAQeg29dGYvajig4tVUROsdB58Hum/u6f1OCyn1PoSgAfGc +q/gcfomk6KHYcWUNo1F77rzSImANuVud37r8UVsLr5iy6S7pBOhih94ryNdOwUxkHt3Ph1i6Sk/K +aAcdHJ1KxtUvkcx8cXIcxcBn6zL9yZJclNqFwJu/U30rCfSMnZEfl2pSy94JNqR32HuHUETVPm4p +afs5SSYeCaWAe0At6+gnhcn+Yf1+5nyXHdWdAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYD +VR0PAQH/BAQDAgEGMB0GA1UdDgQWBBR7W0XPr87Lev0xkhpqtvNG61dIUDANBgkqhkiG9w0BAQUF +AAOCAQEAeRHAS7ORtvzw6WfUDW5FvlXok9LOAz/t2iWwHVfLHjp2oEzsUHboZHIMpKnxuIvW1oeE +uzLlQRHAd9mzYJ3rG9XRbkREqaYB7FViHXe4XI5ISXycO1cRrK1zN44veFyQaEfZYGDm/Ac9IiAX +xPcW6cTYcvnIc3zfFi8VqT79aie2oetaupgf1eNNZAqdE8hhuvU5HIe6uL17In/2/qxAeeWsEG89 +jxt5dovEN7MhGITlNgDrYyCZuen+MwS7QcjBAvlEYyCegc5C09Y/LHbTY5xZ3Y+m4Q6gLkH3LpVH +z7z9M/P2C2F+fpErgUfCJzDupxBdN49cOSvkBPB7jVaMaA== +-----END CERTIFICATE----- + +VeriSign Class 3 Public Primary Certification Authority - G5 +============================================================ +-----BEGIN CERTIFICATE----- +MIIE0zCCA7ugAwIBAgIQGNrRniZ96LtKIVjNzGs7SjANBgkqhkiG9w0BAQUFADCByjELMAkGA1UE +BhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBO +ZXR3b3J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HR0cDovL2xvZ28udmVy +aXNpZ24uY29tL3ZzbG9nby5naWYwHQYDVR0OBBYEFH/TZafC3ey78DAJ80M5+gKvMzEzMA0GCSqG +SIb3DQEBBQUAA4IBAQCTJEowX2LP2BqYLz3q3JktvXf2pXkiOOzEp6B4Eq1iDkVwZMXnl2YtmAl+ +X6/WzChl8gGqCBpH3vn5fJJaCGkgDdk+bW48DW7Y5gaRQBi5+MHt39tBquCWIMnNZBU4gcmU7qKE +KQsTb47bDN0lAtukixlE0kF6BWlKWE9gyn6CagsCqiUXObXbf+eEZSqVir2G3l6BFoMtEMze/aiC +Km0oHw0LxOXnGiYZ4fQRbxC1lfznQgUy286dUV4otp6F01vvpX1FQHKOtw5rDgb7MzVIcbidJ4vE +ZV8NhnacRHr2lVz2XTIIM6RUthg/aFzyQkqFOFSDX9HoLPKsEdao7WNq +-----END CERTIFICATE----- + +SecureTrust CA +============== +-----BEGIN CERTIFICATE----- +MIIDuDCCAqCgAwIBAgIQDPCOXAgWpa1Cf/DrJxhZ0DANBgkqhkiG9w0BAQUFADBIMQswCQYDVQQG +EwJVUzEgMB4GA1UEChMXU2VjdXJlVHJ1c3QgQ29ycG9yYXRpb24xFzAVBgNVBAMTDlNlY3VyZVRy +dXN0IENBMB4XDTA2MTEwNzE5MzExOFoXDTI5MTIzMTE5NDA1NVowSDELMAkGA1UEBhMCVVMxIDAe +BgNVBAoTF1NlY3VyZVRydXN0IENvcnBvcmF0aW9uMRcwFQYDVQQDEw5TZWN1cmVUcnVzdCBDQTCC +ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKukgeWVzfX2FI7CT8rU4niVWJxB4Q2ZQCQX +OZEzZum+4YOvYlyJ0fwkW2Gz4BERQRwdbvC4u/jep4G6pkjGnx29vo6pQT64lO0pGtSO0gMdA+9t +DWccV9cGrcrI9f4Or2YlSASWC12juhbDCE/RRvgUXPLIXgGZbf2IzIaowW8xQmxSPmjL8xk037uH +GFaAJsTQ3MBv396gwpEWoGQ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XBgNVBAMTEFNlY3VyZSBHbG9iYWwg +Q0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvNS7YrGxVaQZx5RNoJLNP2MwhR/jx +YDiJiQPpvepeRlMJ3Fz1Wuj3RSoC6zFh1ykzTM7HfAo3fg+6MpjhHZevj8fcyTiW89sa/FHtaMbQ +bqR8JNGuQsiWUGMu4P51/pinX0kuleM5M2SOHqRfkNJnPLLZ/kG5VacJjnIFHovdRIWCQtBJwB1g +8NEXLJXr9qXBkqPFwqcIYA1gBBCWeZ4WNOaptvolRTnIHmX5k/Wq8VLcmZg9pYYaDDUz+kulBAYV +HDGA76oYa8J719rO+TMg1fW9ajMtgQT7sFzUnKPiXB3jqUJ1XnvUd+85VLrJChgbEplJL4hL/VBi +0XPnj3pDAgMBAAGjgZ0wgZowEwYJKwYBBAGCNxQCBAYeBABDAEEwCwYDVR0PBAQDAgGGMA8GA1Ud +EwEB/wQFMAMBAf8wHQYDVR0OBBYEFK9EBMJBfkiD2045AuzshHrmzsmkMDQGA1UdHwQtMCswKaAn +oCWGI2h0dHA6Ly9jcmwuc2VjdXJldHJ1c3QuY29tL1NHQ0EuY3JsMBAGCSsGAQQBgjcVAQQDAgEA +MA0GCSqGSIb3DQEBBQUAA4IBAQBjGghAfaReUw132HquHw0LURYD7xh8yOOvaliTFGCRsoTciE6+ +OYo68+aCiV0BN7OrJKQVDpI1WkpEXk5X+nXOH0jOZvQ8QCaSmGwb7iRGDBezUqXbpZGRzzfTb+cn +CDpOGR86p1hcF895P4vkp9MmI50mD1hp/Ed+stCNi5O/KU9DaXR2Z0vPB4zmAve14bRDtUstFJ/5 +3CYNv6ZHdAbYiNE6KTCEztI5gGIbqMdXSbxqVVFnFUq+NQfk1XWYN3kwFNspnWzFacxHVaIw98xc +f8LDmBxrThaA63p4ZUWiABqvDA1VZDRIuJK58bRQKfJPIx/abKwfROHdI3hRW8cW +-----END CERTIFICATE----- + +COMODO Certification Authority +============================== +-----BEGIN C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5LmNybDANBgkqhkiG9w0BAQUFAAOC +AQEAPpiem/Yb6dc5t3iuHXIYSdOH5EOC6z/JqvWote9VfCFSZfnVDeFs9D6Mk3ORLgLETgdxb8CP +OGEIqB6BCsAvIC9Bi5HcSEW88cbeunZrM8gALTFGTO3nnc+IlP8zwFboJIYmuNg4ON8qa90SzMc/ +RxdMosIGlgnW2/4/PEZB31jiVg88O8EckzXZOFKs7sjsLjBOlDW0JB9LeGna8gI4zJVSk/BwJVmc +IGfE7vmLV2H0knZ9P4SNVbfo5azV8fUZVqZa+5Acr5Pr5RzUZ5ddBA6+C4OmF4O5MBKgxTMVBbkN ++8cFduPYSo38NBejxiEovjBFMR7HeL5YYTisO+IBZQ== +-----END CERTIFICATE----- + +Network Solutions Certificate Authority +======================================= +-----BEGIN CERTIFICATE----- +MIID5jCCAs6gAwIBAgIQV8szb8JcFuZHFhfjkDFo4DANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQG +EwJVUzEhMB8GA1UEChMYTmV0d29yayBTb2x1dGlvbnMgTC5MLkMuMTAwLgYDVQQDEydOZXR3b3Jr +IFNvbHV0aW9ucyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMDYxMjAxMDAwMDAwWhcNMjkxMjMx +MjM1OTU5WjBiMQswCQYDVQQGEwJVUzEhMB8GA1UEChMYTmV0d29yayBTb2x1dGlvbnMgTC5MLkMu +MTAwLgYDVQQDEydOZXR3b3JrIFNvbHV0aW9ucyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwggEiMA0G +CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDkvH6SMG3G2I4rC7xGzuAnlt7e+foS0zwzc7MEL7xx +jOWftiJgPl9dzgn/ggwbmlFQGiaJ3dVhXRncEg8tCqJDXRfQNJIg6nPPOCwGJgl6cvf6UDL4wpPT +aaIjzkGxzOTVHzbRijr4jGPiFFlp7Q3Tf2vouAPlT2rlmGNpSAW+Lv8ztumXWWn4Zxmuk2GWRBXT +crA/vGp97Eh/jcOrqnErU2lBUzS1sLnFBgrEsEX1QV1uiUV7PTsmjHTC5dLRfbIR1PtYMiKagMnc +/Qzpf14Dl847ABSHJ3A4qY5usyd2mFHgBeMhqxrVhSI8KbWaFsWAqPS7azCPL0YCorEMIuDTAgMB +AAGjgZcwgZQwHQYDVR0OBBYEFCEwyfsA106Y2oeqKtCnLrFAMadMMA4GA1UdDwEB/wQEAwIBBjAP +BgNVHRMBAf8EBTADAQH/MFIGA1UdHwRLMEkwR6BFoEOGQWh0dHA6Ly9jcmwubmV0c29sc3NsLmNv +bS9OZXR3b3JrU29sdXRpb25zQ2VydGlmaWNhdGVBdXRob3JpdHkuY3JsMA0GCSqGSIb3DQEBBQUA +A4IBAQC7rkvnt1frf6ott3NHhWrB5KUd5Oc86fRZZXe1eltajSU24HqXLjjAV2CDmAaDn7l2em5Q +4LqILPxFzBiwmZVRDuwduIj/h1AcgsLj4DKAv6ALR8jDMe+ZZzKATxcheQxpXN5eNK4CtSbqUN9/ +GGUsyfJj4akH/nxxH2szJGoeBfcFaMBqEssuXmHLrijTfsK0ZpEmXzwuJF/LWA/rKOyvEZbz3Htv +wKeI8lN3s2Berq4o2jUsbzRF0ybh3uxbTydrFny9RAQYgrOJeRcQcT16ohZO9QHNpGxlaKFJdlxD +ydi8NmdspZS11My5vWo1ViHe2MPr+8ukYEywVaCge1ey +-----END CERTIFICATE----- + +WellsSecure Public Root Certificate Authority +============================================= +-----BEGIN CERTIFICATE----- +MIIEvTCCA6WgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBhTELMAkGA1UEBhMCVVMxIDAeBgNVBAoM +F1dlbGxzIEZhcmdvIFdlbGxzU2VjdXJlMRwwGgYDVQQLDBNXZWxscyBGYXJnbyBCYW5rIE5BMTYw +NAYDVQQDDC1XZWxsc1NlY3VyZSBQdWJsaWMgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcN +MDcxMjEzMTcwNzU0WhcNMjIxMjE0MDAwNzU0Wj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7mQDKfGYZUMbVmO2rvwNa5U3lHshPcZeG1eMd/ZDJPHV3V3p9+N701NX3leZ0 +bh08rnyd2wIDBSxxSyU+B+NemvVmFymIGjifz6pBA4SXa5M4esowRBskRDPQ5NHcKDj0E0M1NSlj +qHyita04pO2t/caaH/+Xc/77szWnk4bGdpEA5qxRFsQnMlzbc9qlk1eOPm01JghZ1edE13YgY+es +E2fDbbFwRnzVlhE9iW9dqKHrjQrawx0zbKPqZxmamX9LPYNRKh3KL4YMon4QLSvUFpULB6ouFJJJ +tylv2G0xffX8oRAHh84vWdw+WNs= +-----END CERTIFICATE----- + +COMODO ECC Certification Authority +================================== +-----BEGIN CERTIFICATE----- +MIICiTCCAg+gAwIBAgIQH0evqmIAcFBUTAGem2OZKjAKBggqhkjOPQQDAzCBhTELMAkGA1UEBhMC +R0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UE +ChMRQ09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBFQ0MgQ2VydGlmaWNhdGlvbiBB +dXRob3JpdHkwHhcNMDgwMzA2MDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCBhTELMAkGA1UEBhMCR0Ix +GzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMR +Q09NT0RPIENBIExpbWl0ZWQxKzApBgNVBAMTIkNPTU9ETyBFQ0MgQ2VydGlmaWNhdGlvbiBBdXRo +b3JpdHkwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQDR3svdcmCFYX7deSRFtSrYpn1PlILBs5BAH+X +4QokPB0BBO490o0JlwzgdeT6+3eKKvUDYEs2ixYjFq0JcfRK9ChQtP6IHG4/bC8vCVlbpVsLM5ni +wz2J+Wos77LTBumjQjBAMB0GA1UdDgQWBBR1cacZSBm8nZ3qQUfflMRId5nTeTAOBgNVHQ8BA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3TL0gzUEl4C7HG7vupARB0l2tEmqKm0f7yd1GQOGdPDPQ +tQIDAQABo3cwdTAPBgNVHRMBAf8EBTADAQH/MAsGA1UdDwQEAwIBRjAVBgNVHSAEDjAMMAoGCCqB +egF5AQEBMB0GA1UdDgQWBBSjBS8YYFDCiQrdKyFP/45OqDAxNjAfBgNVHSMEGDAWgBSjBS8YYFDC +iQrdKyFP/45OqDAxNjANBgkqhkiG9w0BAQUFAAOCAQEABdwm2Pp3FURo/C9mOnTgXeQp/wYHE4RK +q89toB9RlPhJy3Q2FLwV3duJL92PoF189RLrn544pEfMs5bZvpwlqwN+Mw+VgQ39FuCIvjfwbF3Q +MZsyK10XZZOYYLxuj7GoPB7ZHPOpJkL5ZB3C55L29B5aqhlSXa/oovdgoPaN8In1buAKBQGVyYsg +Crpa/JosPL3Dt8ldeCUFP1YUmwza+zpI/pdpXsoQhvdOlgQITeywvl3cO45Pwf2aNjSaTFR+FwNI +lQgRHAdvhQh+XU3Endv7rs6y0bO4g2wdsrN58dhwmX7wEwLOXt1R0982gaEbeC9xs/FZTEYYKKuF +0mBWWg== +-----END CERTIFICATE----- + +Security Communication EV RootCA1 +================================= +-----BEGIN CERTIFICATE----- +MIIDfTCCAmWgAwIBAgIBADANBgkqhkiG9w0BAQUFADBgMQswCQYDVQQGEwJKUDElMCMGA1UEChMc +U0VDT00gVHJ1c3QgU3lzdGVtcyBDTy4sTFRELjEqMCgGA1UECxMhU2VjdXJpdHkgQ29tbXVuaWNh +dGlvbiBFViBSb290Q0ExMB4XDTA3MDYwNjAyMTIzMloXDTM3MDYwNjAyMTIzMlowYDELMAkGA1UE +BhMCSlAxJTAjBgNVBAoTHFNFQ09NIFRydXN0IFN5c3RlbXMgQ08uLExURC4xKjAoBgNVBAsTIVNl +Y3VyaXR5IENvbW11bmljYXRpb24gRVYgUm9vdENBMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC +AQoCggEBALx/7FebJOD+nLpCeamIivqA4PUHKUPqjgo0No0c+qe1OXj/l3X3L+SqawSERMqm4miO +/VVQYg+kcQ7OBzgtQoVQrTyWb4vVog7P3kmJPdZkLjjlHmy1V4qe70gOzXppFodEtZDkBp2uoQSX +WHnvIEqCa4wiv+wfD+mEce3xDuS4GBPMVjZd0ZoeUWs5bmB2iDQL87PRsJ3KYeJkHcFGB7hj3R4z +ZbOOCVVSPbW9/wfrrWFVGCypaZhKqkDFMxRldAD5kd6vA0jFQFTcD4SQaCDFkpbcLuUCRarAX1T4 +bepJz11sS6/vmsJWXMY1VkJqMF/Cq/biPT+zyRGPMUzXn0kCAwEAAaNCMEAwHQYDVR0OBBYEFDVK +9U2vP9eCOKyrcWUXdYydVZPmMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MA0GCSqG +SIb3DQEBBQUAA4IBAQCoh+ns+EBnXcPBZsdAS5f8hxOQWsTvoMpfi7ent/HWtWS3irO4G8za+6xm +iEHO6Pzk2x6Ipu0nUBsCMCRGef4Eh3CXQHPRwMFXGZpppSeZq51ihPZRwSzJIxXYKLerJRO1RuGG +Av8mjMSIkh1W/hln8lXkgKNrnKt34VFxDSDbEJrbvXZ5B3eZKK2aXtqxT0QsNY6llsf9g/BYxnnW +mHyojf6GPgcWkuF75x3sM3Z+Qi5KhfmRiWiEA4Glm5q+4zfFVKtWOxgtQaQM+ELbmaDgcm+7XeEW +T1MKZPlO9L9OVL14bIjqv5wTJMJwaaJ/D8g8rQjJsJhAoyrniIPtd490 +-----END CERTIFICATE----- + +OISTE WISeKey Global Root GA CA +=============================== +-----BEGIN CERTIFICATE----- +MIID8TCCAtmgAwIBAgIQQT1yx/RrH4FDffHSKFTfmjANBgkqhkiG9w0BAQUFADCBijELMAkGA1UE +BhMCQ0gxEDAOBgNVBAoTB1dJU2VLZXkxGzAZBgNVBAsTEkNvcHlyaWdodCAoYykgMjAwNTEiMCAG +A1UECxMZT0lTVEUgRm91bmRhdGlvbiBFbmRvcnNlZDEoMCYGA1UEAxMfT0lTVEUg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iPAZZiFj4A4xylNoEY +okxSdsARo27mHbrjWr42U8U+dY+GaSlYU7Wcu2+fXMUY7N0v4ZjJ/L7fCg0= +-----END CERTIFICATE----- + +S-TRUST Authentication and Encryption Root CA 2005 PN +===================================================== +-----BEGIN CERTIFICATE----- +MIIEezCCA2OgAwIBAgIQNxkY5lNUfBq1uMtZWts1tzANBgkqhkiG9w0BAQUFADCBrjELMAkGA1UE +BhMCREUxIDAeBgNVBAgTF0JhZGVuLVd1ZXJ0dGVtYmVyZyAoQlcpMRIwEAYDVQQHEwlTdHV0dGdh +cnQxKTAnBgNVBAoTIERldXRzY2hlciBTcGFya2Fzc2VuIFZlcmxhZyBHbWJIMT4wPAYDVQQDEzVT +LVRSVVNUIEF1dGhlbnRpY2F0aW9uIGFuZCBFbmNyeXB0aW9uIFJvb3QgQ0EgMjAwNTpQTjAeFw0w +NTA2MjIwMDAwMDBaFw0zMDA2MjEyMzU5NTlaMIGuMQswCQYDVQQGEwJERTEgMB4GA1UECBMXQmFk +ZW4tV3VlcnR0ZW1iZXJnIChCVykxEjAQBgNVBAcTCVN0dXR0Z2FydDEpMCcGA1UEChMgRGV1dHNj +aGVyIFNwYXJrYXNzZW4gVmVybGFnIEdtYkgxPjA8BgNVBAMTNVMtVFJVU1QgQXV0aGVudGljYXRp +b24gYW5kIEVuY3J5cHRpb24gUm9vdCBDQSAyMDA1OlBOMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A +MIIBCgKCAQEA2bVKwdMz6tNGs9HiTNL1toPQb9UY6ZOvJ44TzbUlNlA0EmQpoVXhOmCTnijJ4/Ob +4QSwI7+Vio5bG0F/WsPoTUzVJBY+h0jUJ67m91MduwwA7z5hca2/OnpYH5Q9XIHV1W/fuJvS9eXL +g3KSwlOyggLrra1fFi2SU3bxibYs9cEv4KdKb6AwajLrmnQDaHgTncovmwsdvs91DSaXm8f1Xgqf +eN+zvOyauu9VjxuapgdjKRdZYgkqeQd3peDRF2npW932kKvimAoA0SVtnteFhy+S8dF2g08LOlk3 +KC8zpxdQ1iALCvQm+Z845y2kuJuJja2tyWp9iRe79n+Ag3rm7QIDAQABo4GSMIGPMBIGA1UdEwEB +/wQIMAYBAf8CAQAwDgYDVR0PAQH/BAQDAgEGMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFTVFJv +bmxpbmUxLTIwNDgtNTAdBgNVHQ4EFgQUD8oeXHngovMpttKFswtKtWXsa1IwHwYDVR0jBBgwFoAU +D8oeXHngovMpttKFswtKtWXsa1IwDQYJKoZIhvcNAQEFBQADggEBAK8B8O0ZPCjoTVy7pWMciDMD +pwCHpB8gq9Yc4wYfl35UvbfRssnV2oDsF9eK9XvCAPbpEW+EoFolMeKJ+aQAPzFoLtU96G7m1R08 +P7K9n3frndOMusDXtk3sU5wPBG7qNWdX4wple5A64U8+wwCSersFiXOMy6ZNwPv2AtawB6MDwidA +nwzkhYItr5pCHdDHjfhA7p0GVxzZotiAFP7hYy0yh9WUUpY6RsZxlj33mA6ykaqP2vROJAA5Veit +F7nTNCtKqUDMFypVZUF0Qn71wK/Ik63yGFs9iQzbRzkk+OBM8h+wPQrKBU6JIRrjKpms/H+h8Q8b +Hz2eBIPdltkdOpQ= +-----END CERTIFICATE----- + +Microsec e-Szigno Root CA +========================= +-----BEGIN CERTIFICATE----- +MIIHqDCCBpCgAwIBAgIRAMy4579OKRr9otxmpRwsDxEwDQYJKoZIhvcNAQEFBQAwcjELMAkGA1UE +BhMCSFUxETAPBgNVBAcTCEJ1ZGFwZXN0MRYwFAYDVQQKEw1NaWNyb3NlYyBMdGQuMRQwEgYDVQQL +EwtlLVN6aWdubyBDQTEiMCAGA1UEAxMZTWljcm9zZWMgZS1Temlnbm8gUm9vdCBDQTAeFw0wNTA0 +MDYxMjI4NDRaFw0xNzA0MDYxMjI4NDRaMHIxCzAJBgNVBAYTAkhVMREwDwYDVQQHEwhCdWRhcGVz +dDEWMBQGA1UEChMNTWljcm9zZWMgTHRkLjEUMBIGA1UECxMLZS1Temlnbm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0PAQH/BAQDAgEGMBEGCWCGSAGG+EIBAQQEAwIABzANBgkqhkiG9w0BAQUFAAOCAQEA +hQMeknH2Qq/ho2Ge6/PAD/Kl1NqV5ta+aDY9fm4fTIrv0Q8hbV6lUmPOEvjvKtpv6zf+EwLHyzs+ +ImvaYS5/1HI93TDhHkxAGYwP15zRgzB7mFncfca5DClMoTOi62c6ZYTTluLtdkVwj7Ur3vkj1klu +PBS1xp81HlDQwY9qcEQCYsuuHWhBp6pX6FOqB9IG9tUUBguRA3UsbHK1YZWaDYu5Def131TN3ubY +1gkIl2PlwS6wt0QmwCbAr1UwnjvVNioZBPRcHv/PLLf/0P2HQBHVESO7SMAhqaQoLf0V+LBOK/Qw +WyH8EZE0vkHve52Xdf+XlcCWWC/qu0bXu+TZLg== +-----END CERTIFICATE----- + +AC Ra\xC3\xADz Certic\xC3\xA1mara S.A. +====================================== +-----BEGIN CERTIFICATE----- +MIIGZjCCBE6gAwIBAgIPB35Sk3vgFeNX8GmMy+wMMA0GCSqGSIb3DQEBBQUAMHsxCzAJBgNVBAYT +AkNPMUcwRQYDVQQKDD5Tb2NpZWRhZCBDYW1lcmFsIGRlIENlcnRpZmljYWNpw7NuIERpZ2l0YWwg +LSBDZXJ0aWPDoW1hcmEgUy5BLjEjMCEGA1UEAwwaQUMgUmHDrXogQ2VydGljw6FtYXJhIFMuQS4w +HhcNMDYxMTI3MjA0NjI5WhcNMzAwNDAyMjE0MjAyWjB7MQswCQYDVQQGEwJDTzFHMEUGA1UECgw+ +U29jaWVkYWQgQ2FtZXJhbCBkZSBDZXJ0aWZpY2FjacOzbiBEaWdpdGFsIC0gQ2VydGljw6FtYXJh +IFMuQS4xIzAhBgNVBAMMGkFDIFJhw616IENlcnRpY8OhbWFyYSBTLkEuMIICIjANBgkqhkiG9w0B +AQEFAAOCAg8AMIICCgKCAgEAq2uJo1PMSCMI+8PPUZYILrgIem08kBeGqentLhM0R7LQcNzJPNCN +yu5LF6vQhbCnIwTLqKL85XXbQMpi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yDADiZ9lA4CQze28suVyrZZ0srHbqNZn1l7kP +JOzHdiEoZa5X6AeIdUpWoNIFOqTmjZKILPPy4cHGYdtBxceb9w4aUUXCYWvcZCcXjFq32nQozZfk +vQ== +-----END CERTIFICATE----- + +TC TrustCenter Class 3 CA II +============================ +-----BEGIN CERTIFICATE----- +MIIEqjCCA5KgAwIBAgIOSkcAAQAC5aBd1j8AUb8wDQYJKoZIhvcNAQEFBQAwdjELMAkGA1UEBhMC +REUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxIjAgBgNVBAsTGVRDIFRydXN0Q2VudGVy +IENsYXNzIDMgQ0ExJTAjBgNVBAMTHFRDIFRydXN0Q2VudGVyIENsYXNzIDMgQ0EgSUkwHhcNMDYw +MTEyMTQ0MTU3WhcNMjUxMjMxMjI1OTU5WjB2MQswCQYDVQQGEwJERTEcMBoGA1UEChMTVEMgVHJ1 +c3RDZW50ZXIgR21iSDEiMCAGA1UECxMZVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMyBDQTElMCMGA1UE +AxMcVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMyBDQSBJSTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC +AQoCggEBALTgu1G7OVyLBMVMeRwjhjEQY0NVJz/GRcekPewJDRoeIMJWHt4bNwcwIi9v8Qbxq63W +yKthoy9DxLCyLfzDlml7forkzMA5EpBCYMnMNWju2l+QVl/NHE1bWEnrDgFPZPosPIlY2C8u4rBo +6SI7dYnWRBpl8huXJh0obazovVkdKyT21oQDZogkAHhg8fir/gKya/si+zXmFtGt9i4S5Po1auUZ +uV3bOx4a+9P/FRQI2AlqukWdFHlgfa9Aigdzs5OW03Q0jTo3Kd5c7PXuLjHCINy+8U9/I1LZW+Jk +2ZyqBwi1Rb3R0DHBq1SfqdLDYmAD8bs5SpJKPQq5ncWg/jcCAwEAAaOCATQwggEwMA8GA1UdEwEB +/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTUovyfs8PYA9NXXAek0CSnwPIA1DCB +7QYDVR0fBIHlMIHiMIHfoIHcoIHZhjVodHRwOi8vd3d3LnRydXN0Y2VudGVyLmRlL2NybC92Mi90 +Y19jbGFzc18zX2NhX0lJLmNybIaBn2xkYXA6Ly93d3cudHJ1c3RjZW50ZXIuZGUvQ049VEMlMjBU +cnVzdENlbnRlciUyMENsYXNzJTIwMyUyMENBJTIwSUksTz1UQyUyMFRydXN0Q2VudGVyJTIwR21i +SCxPVT1yb290Y2VydHMsREM9dHJ1c3RjZW50ZXIsREM9ZGU/Y2VydGlmaWNhdGVSZXZvY2F0aW9u +TGlzdD9iYXNlPzANBgkqhkiG9w0BAQUFAAOCAQEANmDkcPcGIEPZIxpC8vijsrlNirTzwppVMXzE +O2eatN9NDoqTSheLG43KieHPOh6sHfGcMrSOWXaiQYUlN6AT0PV8TtXqluJucsG7Kv5sbviRmEb8 +yRtXW+rIGjs/sFGYPAfaLFkB2otE6OF0/ado3VS6g0bsyEa1+K+XwDsJHI/OcpY9M1ZwvJbL2NV9 +IJqDnxrcOfHFcqMRA/07QlIp2+gB95tejNaNhk4Z+rwcvsUhpYeeeC422wlxo3I0+GzjBgnyXlal +092Y+tTmBvTwtiBjS+opvaqCZh77gaqnN60TGOaSw4HBM7uIHqHn4rS9MWwOUT1v+5ZWgOI2F9Hc +5A== +-----END CERTIFICATE----- + +TC TrustCenter Universal CA I +============================= +-----BEGIN CERTIFICATE----- +MIID3TCCAsWgAwIBAgIOHaIAAQAC7LdggHiNtgYwDQYJKoZIhvcNAQEFBQAweTELMAkGA1UEBhMC +REUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxJDAiBgNVBAsTG1RDIFRydXN0Q2VudGVy +IFVuaXZlcnNhbCBDQTEmMCQGA1UEAxMdVEMgVHJ1c3RDZW50ZXIgVW5pdmVyc2FsIENBIEkwHhcN +MDYwMzIyMTU1NDI4WhcNMjUxMjMxMjI1OTU5WjB5MQswCQ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V0fb8XQC9eY +-----END CERTIFICATE----- + +Deutsche Telekom Root CA 2 +========================== +-----BEGIN CERTIFICATE----- +MIIDnzCCAoegAwIBAgIBJjANBgkqhkiG9w0BAQUFADBxMQswCQYDVQQGEwJERTEcMBoGA1UEChMT +RGV1dHNjaGUgVGVsZWtvbSBBRzEfMB0GA1UECxMWVC1UZWxlU2VjIFRydXN0IENlbnRlcjEjMCEG +A1UEAxMaRGV1dHNjaGUgVGVsZWtvbSBSb290IENBIDIwHhcNOTkwNzA5MTIxMTAwWhcNMTkwNzA5 +MjM1OTAwWjBxMQswCQYDVQQGEwJERTEcMBoGA1UEChMTRGV1dHNjaGUgVGVsZWtvbSBBRzEfMB0G +A1UECxMWVC1UZWxlU2VjIFRydXN0IENlbnRlcjEjMCEGA1UEAxMaRGV1dHNjaGUgVGVsZWtvbSBS +b290IENBIDIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCrC6M14IspFLEUha88EOQ5 +bzVdSq7d6mGNlUn0b2SjGmBmpKlAIoTZ1KXleJMOaAGtuU1cOs7TuKhCQN/Po7qCWWqSG6wcmtoI +KyUn+WkjR/Hg6yx6m/UTAtB+NHzCnjwAWav12gz1MjwrrFDa1sPeg5TKqAyZMg4ISFZbavva4VhY +AUlfckE8FQYBjl2tqriTtM2e66foai1SNNs671x1Udrb8zH57nGYMsRUFUQM+ZtV7a3fGAigo4aK +Se5TBY8ZTNXeWHmb0mocQqvF1afPaA+W5OFhmHZhyJF81j4A4pFQh+GdCuatl9Idxjp9y7zaAzTV +jlsB9WoHtxa2bkp/AgMBAAGjQjBAMB0GA1UdDgQWBBQxw3kbuvVT1xfgiXotF2wKsyudMzAPBgNV +HRMECDAGAQH/AgEFMA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQUFAAOCAQEAlGRZrTlk5ynr +E/5aw4sTV8gEJPB0d8Bg42f76Ymmg7+Wgnxu1MM9756AbrsptJh6sTtU6zkXR34ajgv8HzFZMQSy +zh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+AQH/BAQDAgGGMB8GA1UdIwQYMBaAFEsBmz5WGmU2dst7l6qSBe4y5ygxMB0GA1UdDgQWBBRLAZs+ +VhplNnbLe5eqkgXuMucoMTANBgkqhkiG9w0BAQUFAAOCAQEA0Nmlfv4pYEWdfoPPbrxHbvUanlR2 +QnG0PFg/LUAlQvaBnPGJEMgOqnhPOAlXsDzACPw1jvFIUY0McXS6hMTXcpuEfDhOZAYnKuGntewI +mbQKDdSFc8gS4TXt8QUxHXOZDOuWyt3T5oWq8Ir7dcHyCTxlZWTzTNity4hp8+SDtwy9F1qWF8pb +/627HOkthIDYIb6FUtnUdLlphbpN7Sgy6/lhSuTENh4Z3G+EER+V9YMoGKgzkkMn3V0TBEVPh9VG +zT2ouvDzuFYkRes3x+F2T3I5GN9+dHLHcy056mDmrRGiVod7w2ia/viMcKjfZTL0pECMocJEAw6U +AGegcQCCSA== +-----END CERTIFICATE----- + +ComSign Secured CA +================== +-----BEGIN CERTIFICATE----- +MIIDqzCCApOgAwIBAgIRAMcoRwmzuGxFjB36JPU2TukwDQYJKoZIhvcNAQEFBQAwPDEbMBkGA1UE +AxMSQ29tU2lnbiBTZWN1cmVkIENBMRAwDgYDVQQKEwdDb21TaWduMQswCQYDVQQGEwJJTDAeFw0w +NDAzMjQxMTM3MjBaFw0yOTAzMTYxNTA0NTZaMDwxGzAZBgNVBAMTEkNvbVNpZ24gU2VjdXJlZCBD +QTEQMA4GA1UEChMHQ29tU2lnbjELMAkGA1UEBhMCSUwwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw +ggEKAoIBAQDGtWhfHZQVw6QIVS3joFd67+l0Kru5fFdJGhFeTymHDEjWaueP1H5XJLkGieQcPOqs +49ohgHMhCu95mGwfCP+hUH3ymBvJVG8+pSjsIQQPRbsHPaHA+iqYHU4Gk/v1iDurX8sWv+bznkqH +7Rnqwp9D5PGBpX8QTz7RSmKtUxvLg/8HZaWSLWapW7ha9B20IZFKF3ueMv5WJDmyVIRD9YTC2LxB +kM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IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA ++Mi8vRRQZhP/8NN57CPytxrHjoXxEnOmGaoQ25yiZXRadz5RfVb23CO21O1fWLE3TdVJDm71aofW +0ozSJ8bi/zafmGWgE07GKmSb1ZASzxQG9Dvj1Ci+6A74q05IlG2OlTEQXO2iLb3VOm2yHLtgwEZL +AfVJrn5GitB0jaEMAs7u/OePuGtm839EAL9mJRQr3RAwHQeWP032a7iPt3sMpTjr3kfb1V05/Iin +89cqdPHoWqI7n1C6poxFNcJQZZXcY4Lv3b93TZxiyWNzFtApD0mpSPCzqrdsxacwOUBdrsTiXSZT +8M4cIwhhqJQZugRiQOwfOHB3EgZxpzAYXSUnpQIDAQABo4GlMIGiMA4GA1UdDwEB/wQEAwIBBjAP +BgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBS2CHsNesysIEyGVjJez6tuhS1wVzA/BgNVHR8EODA2 +MDSgMqAwhi5odHRwOi8vd3d3Mi5wdWJsaWMtdHJ1c3QuY29tL2NybC9jdC9jdHJvb3QuY3JsMB8G +A1UdIwQYMBaAFLYIew16zKwgTIZWMl7Pq26FLXBXMA0GCSqGSIb3DQEBBQUAA4IBAQBW7wojoFRO +lZfJ+InaRcHUowAl9B8Tq7ejhVhpwjCt2BWKLePJzYFa+HMjWqd8BfP9IjsO0QbE2zZMcwSO5bAi +5MXzLqXZI+O4Tkogp24CJJ8iYGd7ix1yCcUxXOl5n4BHPa2hCwcUPUf/A2kaDAtE52Mlp3+yybh2 +hO0j9n0Hq0V+09+zv+mKts2oomcrUtW3ZfA5TGOgkXmTUg9U3YO7n9GPp1Nzw8v/MOx8BLjYRB+T +X3EJIrduPuocA06dGiBh+4E37F78CkWr1+cXVdCg6mCbpvbjjFspwgZgFJ0tl0ypkxWdYcQBX0jW +WL1WMRJOEcgh4LMRkWXbtKaIOM5V +-----END CERTIFICATE----- + +ePKI Root Certification Authority +================================= +-----BEGIN CERTIFICATE----- +MIIFsDCCA5igAwI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zo1jDiVN1Rmy5nk3pyKdVDECAwEAAaNqMGgwHQYDVR0OBBYEFB4M97Zn8uGSJglFwFU5Lnc/Qkqi +MAwGA1UdEwQFMAMBAf8wOQYEZyoHAAQxMC8wLQIBADAJBgUrDgMCGgUAMAcGBWcqAwAABBRFsMLH +ClZ87lt4DJX5GFPBphzYEDANBgkqhkiG9w0BAQUFAAOCAgEACbODU1kBPpVJufGBuvl2ICO1J2B0 +1GqZNF5sAFPZn/KmsSQHRGoqxqWOeBLoR9lYGxMqXnmbnwoqZ6YlPwZpVnPDimZI+ymBV3QGypzq +KOg4ZyYr8dW1P2WT+DZdjo2NQCCHGervJ8A9tDkPJXtoUHRVnAxZfVo9QZQlUgjgRywVMRnVvwdV +xrsStZf0X4OFunHB2WyBEXYKCrC/gpf36j36+uwtqSiUO1bd0lEursC9CBWMd1I0ltabrNMdjmEP +NXubrjlpC2JgQCA2j6/7Nu4tCEoduL+bXPjqpRugc6bY+G7gMwRfaKonh+3ZwZCc7b3jajWvY9+r +GNm65ulK6lCKD2GTHuItGeIwlDWSXQ62B68ZgI9HkFFLLk3dheLSClIKF5r8GrBQAuUBo2M3IUxE +xJtRmREOc5wGj1QupyheRDmHVi03vYVElOEMSyycw5KFNGHLD7ibSkNS/jQ6fbjpKdx2qcgw+BRx +gMYeNkh0IkFch4LoGHGLQYlE535YW6i4jRPpp2zDR+2zGp1iro2C6pSe3VkQw63d4k3jMdXH7Ojy +sP6SHhYKGvzZ8/gntsm+HbRsZJB/9OTEW9c3rkIO3aQab3yIVMUWbuF6aC74Or8NpDyJO3inTmOD +BCEIZ43ygknQW/2xzQ+DhNQ+IIX3Sj0rnP0qCglN6oH4EZw= +-----END CERTIFICATE----- + +T\xc3\x9c\x42\xC4\xB0TAK UEKAE K\xC3\xB6k Sertifika Hizmet Sa\xC4\x9Flay\xc4\xb1\x63\xc4\xb1s\xc4\xb1 - S\xC3\xBCr\xC3\xBCm 3 +============================================================================================================================= +-----BEGIN CERTIFICATE----- +MII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LAdsyv9Lrhc+hDVXDWzhXcLh1 +xnnRFDDtG1hba+818qEhTsXOfJlfbLm4IpNQp81McGq+agV/E5wrHur+R84EpW+sky58K5+eeROR +6Oqeyjh1jmKwlZMq5d/pXpduIF9fhHpEORlAHLpVK/swsoHvhOPc7Jg4OQOFCKlUAwUp8MmPi+oL +hmUZEdPpCSPeaJMDyTYcIW7OjGbxmTDY17PDHfiBLqi9ggtm/oLL4eAagsNAgQIDAQABo0IwQDAd +BgNVHQ4EFgQUvYiHyY/2pAoLquvF/pEjnatKijIwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQF +MAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAB18+kmPNOm3JpIWmgV050vQbTlswyb2zrgxvMTfvCr4 +N5EY3ATIZJkrGG2AA1nJrvhY0D7twyOfaTyGOBye79oneNGEN3GKPEs5z35FBtYt2IpNeBLWrcLT +y9LQQfMmNkqblWwM7uXRQydmwYj3erMgbOqwaSvHIOgMA8RBBZniP+Rr+KCGgceExh/VS4ESshYh +LBOhgLJeDEoTniDYYkCrkOpkSi+sDQESeUWoL4cZaMjihccwsnX5OD+ywJO0a+IDRM5noN+J1q2M +dqMTw5RhK2vZbMEHCiIHhWyFJEapvj+LeISCfiQMnf2BN+MlqO02TpUsyZyQ2uypQjyttgI= +-----END CERTIFICATE----- + +Buypass Class 2 CA 1 +==================== +-----BEGIN CERTIFICATE----- +MIIDUzCCAjugAwIBAgIBATANBgkqhkiG9w0BAQUFADBLMQswCQYDVQQGEwJOTzEdMBsGA1UECgwU +QnV5cGFzcyBBUy05ODMxNjMzMjcxHTAbBgNVBAMMFEJ1eXBhc3MgQ2xhc3MgMiBDQSAxMB4XDTA2 +MTAxMzEwMjUwOVoXDTE2MTAxMzEwMjUwOVowSzELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1eXBh +c3MgQVMtOTgzMTYzMzI3MR0wGwYDVQQDDBRCdXlwYXNzIENsYXNzIDIgQ0EgMTCCASIwDQYJ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c4\xb1 +========================================================================== +-----BEGIN CERTIFICATE----- +MIIF5zCCA8+gAwIBAgIITK9zQhyOdAIwDQYJKoZIhvcNAQEFBQAwgYAxODA2BgNVBAMML0VCRyBF +bGVrdHJvbmlrIFNlcnRpZmlrYSBIaXptZXQgU2HEn2xhecSxY8Sxc8SxMTcwNQYDVQQKDC5FQkcg +QmlsacWfaW0gVGVrbm9sb2ppbGVyaSB2ZSBIaXptZXRsZXJpIEEuxZ4uMQswCQYDVQQGEwJUUjAe +Fw0wNjA4MTcwMDIxMDlaFw0xNjA4MTQwMDMxMDlaMIGAMTgwNgYDVQQDDC9FQkcgRWxla3Ryb25p +ayBTZXJ0aWZpa2EgSGl6bWV0IFNhxJ9sYXnEsWPEsXPEsTE3MDUGA1UECgwuRUJHIEJpbGnFn2lt +IFRla25vbG9qaWxlcmkgdmUgSGl6bWV0bGVyaSBBLsWeLjELMAkGA1UEBhMCVFIwggIiMA0GCSqG +SIb3DQEBAQUAA4ICDwAwggIKAoICAQDuoIRh0DpqZhAy2DE4f6en5f2h4fuXd7hxlugTlkaDT7by +X3JWbhNgpQGR4lvFzVcfd2NR/y8927k/qqk153nQ9dAktiHq6yOU/im/+4mRDGSaBUorzAzu8T2b +gmmkTPiab+ci2hC6X5L8GCcKqKpE+i4stPtGmggDg3KriORqcsnlZR9uKg+ds+g75AxuetpX/dfr +eYteIAbTdgtsApWjluTLdlHRKJ2hGvxEok3MenaoDT2/F08iiFD9rrbskFBKW5+VQarKD7JK/oCZ +TqNGFav4c0JqwmZ2sQomFd2TkuzbqV9UIlKRcF0T6kjsbgNs2d1s/OsNA/+mgxKb8amTD8UmTDGy +Y5lhcucqZJnSuOl14nypqZoaqsNW2xCaPINStnuWt6yHd6i58mcLlEOzrz5z+kI2sSXFCjEmN1Zn +uqMLfdb3ic1nobc6HmZP9qBVFCVMLDMNpkGMvQQxahByCp0OLna9XvNRiYuoP1Vzv9s6xiQFlpJI +qkuNKgPlV5EQ9GooFW5Hd4RcUXSfGenmHmMWOeMRFeNYGkS9y8RsZteEBt8w9DeiQyJ50hBs37vm +ExH8nYQKE3vwO9D8owrXieqWfo1IhR5kX9tUoqzVegJ5a9KK8GfaZXINFHDk6Y54jzJ0fFfy1tb0 +Nokb+Clsi7n2l9GkLqq+CxnCRelwXQIDAJ3Zo2MwYTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB +/wQEAwIBBjAdBgNVHQ4EFgQU587GT/wWZ5b6SqMHwQSny2re2kcwHwYDVR0jBBgwFoAU587GT/wW +Z5b6SqMHwQSny2re2kcwDQYJKoZIhvcNAQEFBQADggIBAJuYml2+8ygjdsZs93/mQJ7ANtyVDR2t +FcU22NU57/IeIl6zgrRdu0waypIN30ckHrMk2pGI6YNw3ZPX6bqz3xZaPt7gyPvT/Wwp+BVGoGgm +zJNSroIBk5DKd8pNSe/iWtkqvTDOTLKBtjDOWU/aWR1qeqRFsIImgYZ29fUQALjuswnoT4cCB64k +XPBfrAowzIpAoHMEwfuJJPaaHFy3PApnNgUIMbOv2AFoKuB4j3TeuFGkjGwgPaL7s9QJ/XvCgKqT +bCmYIai7FvOpEl90tYeY8pUm3zTvilORiF0alKM/fCL414i6poyWqD1SNGKfAB5UVUJnxk1Gj7sU +RT0KlhaOEKGXmdXTMIXM3rRyt7yKPBgpaP3ccQfuJDlq+u2lrDgv+R4QDgZxGhBM/nV+/x5XOULK +1+EVoVZVWRvRo68R2E7DpSvvkL/A7IITW43WciyTTo9qKd+FPNMN4KIYEsxVL0e3p5sC/kH2iExt +2qkBR4NkJ2IQgtYSe14DHzSpyZH+r11thie3I6p1GMog57AP14kOpmciY/SDQSsGS7tY1dHXt7kQ +Y9iJSrSq3RZj9W6+YKH47ejWkE8axsWgKdOnIaj1Wjz3x0miIZpKlVIglnKaZsv30oZDfCK+lvm9 +AahH3eU7QPl1K5srRmSGjR70j/sHd9DqSaIcjVIUpgqT +-----END CERTIFICATE----- + +certSIGN ROOT CA +================ +-----BEGIN CERTIFICATE----- +MIIDOD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A/qIYM/PmLXoXLT1tLYhFHxUV8 +BS9BsZ4QaRuZluBVeftOhpm4lNqGOGqTo+fLbuXf6iFViZx9fX+Y9QCJ7uOEwFyWtcVG6kbghVW2 +G8kS1sHNzYDzAgE8yGnLRUhj2JTQ7IUOO04RZfSCjKY9ri4ilAnIXOo8gV0WKgOXFlUJ24pBgp5m +mxE= +-----END CERTIFICATE----- + +ApplicationCA - Japanese Government +=================================== +-----BEGIN CERTIFICATE----- +MIIDoDCCAoigAwIBAgIBMTANBgkqhkiG9w0BAQUFADBDMQswCQYDVQQGEwJKUDEcMBoGA1UEChMT +SmFwYW5lc2UgR292ZXJubWVudDEWMBQGA1UECxMNQXBwbGljYXRpb25DQTAeFw0wNzEyMTIxNTAw +MDBaFw0xNzEyMTIxNTAwMDBaMEMxCzAJBgNVBAYTAkpQMRwwGgYDVQQKExNKYXBhbmVzZSBHb3Zl +cm5tZW50MRYwFAYDVQQLEw1BcHBsaWNhdGlvbkNBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB +CgKCAQEAp23gdE6Hj6UG3mii24aZS2QNcfAKBZuOquHMLtJqO8F6tJdhjYq+xpqcBrSGUeQ3DnR4 +fl+Kf5Sk10cI/VBaVuRorChzoHvpfxiSQE8tnfWuREhzNgaeZCw7NCPbXCbkcXmP1G55IrmTwcrN +wVbtiGrXoDkhBFcsovW8R0FPXjQilbUfKW1eSvNNcr5BViCH/OlQR9cwFO5cjFW6WY2H/CPek9AE +jP3vbb3QesmlOmpyM8ZKDQUXKi17safY1vC+9D/qDihtQWEjdnjDuGWk81quzMKq2edY3rZ+nYVu +nyoKb58DKTCXKB28t89UKU5RMfkntigm/qJj5kEW8DOYRwIDAQABo4GeMIGbMB0GA1UdDgQWBBRU +WssmP3HMlEYNllPqa0jQk/5CdTAOBgNVHQ8BAf8EBAMCAQYwWQYDVR0RBFIwUKROMEwxCzAJBgNV +BAYTAkpQMRgwFgYDVQQKDA/ml6XmnKzlm73mlL/lupwxIzAhBgNVBAsMGuOCouODl+ODquOCseOD +vOOCt+ODp+ODs0NBMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBADlqRHZ3ODrs +o2dGD/mLBqj7apAxzn7s2tGJfHrrLgy9mTLnsCTWw//1sogJhyzjVOGjprIIC8CFqMjSnHH2HZ9g +/DgzE+Ge3Atf2hZQKXsvcJEPmbo0NI2VdMV+eKlmXb3KIXdCEKxmJj3ekav9FfBv7WxfEPjzFvYD +io+nEhEMy/0/ecGc/WLuo89UDNErXxc+4z6/wCs+CZv+iKZ+tJIX/COUgb1up8WMwusRRdv4QcmW +dupwX3kSa+SjB1oF7ydJzyGfikwJcGapJsErEU4z0g781mzSDjJkaP+tBXhfAx2o45CsJOAPQKdL +rosot4LKGAfmt1t06SAZf7IbiVQ= +-----END CERTIFICATE----- + +GeoTrust Primary Certification Authority - G3 +============================================= +-----BEGIN CERTIFICATE----- +MIID/jCCAuagAwIBAgIQFaxulBmyeUtB9iepwxgPHzANBgkqhkiG9w0BAQsFADCBmDELMAkGA1UE +BhMCVVMxFjAUBgNVBAoTDUdlb1RydXN0IEluYy4xOTA3BgNVBAsTMChjKSAyMDA4IEdlb1RydXN0 +IEluYy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25seTE2MDQGA1UEAxMtR2VvVHJ1c3QgUHJpbWFy +eSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEczMB4XDTA4MDQwMjAwMDAwMFoXDTM3MTIwMTIz +NTk1OVowgZgxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMTkwNwYDVQQLEzAo +YykgMjAwOCBHZW9UcnVzdCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxNjA0BgNVBAMT +LUdlb1RydXN0IFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMzCCASIwDQYJKoZI +hvcNAQEBBQADggEPADCCAQoCggEBANziXmJYHTNXOTIz+uvLh4yn1ErdBojqZI4xmKU4kB6Yzy5j +K/BGvESyiaHAKAxJcCGVn2TAppMSAmUmhsalifD614SgcK9PGpc/BkTVyetyEH3kMSj7HGHmKAdE +c5IiaacDiGydY8hS2pgn5whMcD60yRLBxWeDXTPzAxHsatBT4tG6NmCUgLthY2xbF37fQJQeqw3C +IShwiP/WJmxsYAQlTlV+fe+/lEjetx3dcI0FX4ilm/LC7urRQEFtYjgdVgbFA0dRIBn8exALDmKu +dlW/X3e+PkkBUz2YJQN2JFodtNuJ6nnltrM7P7pMKEF/BqxqjsHQ9gUdfeZChuOl1UcCAwEAAaNC +MEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFMR5yo6hTgMdHNxr +2zFblD4/MH8tMA0GCSqGSIb3DQEBCwUAA4IBAQAtxRPPVoB7eni9n64smefv2t+UXglpp+duaIy9 +cr5HqQ6XErhK8WTTOd8lNNTBzU6B8A8ExCSzNJbGpqow32hhc9f5joWJ7w5elShKKiePEI4ufIbE +Ap7aDHdlDkQNkv39sxY2+hENHYwOB4lqKVb3cvTdFZx3NWZXqxNT2I7BQMXXExZacse3aQHEerGD +AWh9jUGhlBjBJVz88P6DAod8DQ3PLghcSkANPuyBYeYk28rgDi0Hsj5W3I31QYUHSJsMC8tJP33s +t/3LjWeJGqvtux6jAAgIFyqCXDFdRootD4abdNlF+9RAsXqqaC2Gspki4cErx5z481+oghLrGREt +-----END CERTIFICATE----- + +thawte Primary Root CA - G2 +=========================== +-----BEGIN CERTIFICATE----- +MIICiDCCAg2gAwIBAgIQNfwmXNmET8k9Jj1Xm67XVjAKBggqhkjOPQQDAzCBhDELMAkGA1UEBhMC +VVMxFTATBgNVBAoTDHRoYXd0ZSwgSW5jLjE4MDYGA1UECxMvKGMpIDIwMDcgdGhhd3RlLCBJbmMu +IC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxJDAiBgNVBAMTG3RoYXd0ZSBQcmltYXJ5IFJvb3Qg +Q0EgLSBHMjAeFw0wNzExMDUwMDAwMDBaFw0zODAxMTgyMzU5NTlaMIGEMQswCQYDVQQGEwJVUzEV +MBMGA1UEChMMdGhhd3RlLCBJbmMuMTgwNgYDVQQLEy8oYykgMjAwNyB0aGF3dGUsIEluYy4gLSBG +b3IgYXV0aG9yaXplZCB1c2Ugb25seTEkMCIGA1UEAxMbdGhhd3RlIFByaW1hcnkgUm9vdCBDQSAt +IEcyMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEotWcgnuVnfFSeIf+iha/BebfowJPDQfGAFG6DAJS +LSKkQjnE/o/qycG+1E3/n3qe4rF8mq2nhglzh9HnmuN6papu+7qzcMBniKI11KOasf2twu8x+qi5 +8/sIxpHR+ymVo0IwQDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU +mtgAMADna3+FGO6Lts6KDPgR4bswCgYIKoZIzj0EAwMDaQAwZgIxAN344FdHW6fmCsO99YCKlzUN +G4k8VIZ3KMqh9HneteY4sPBlcIx/AlTCv//YoT7ZzwIxAMSNlPzcU9LcnXgWHxUzI1NS41oxXZ3K +rr0TKUQNJ1uo52icEvdYPy5yAlejj6EULg== +-----END CERTIFICATE----- + +thawte Primary Root CA - G3 +=========================== +-----BEGIN CERTIFICATE----- +MIIEKjCCAxKgAwIBAgIQYAGXt0an6rS0mtZLL/eQ+zANBgkqhkiG9w0BAQsFADCBrjELMAkGA1UE +BhMCVVMxFTATBgNVBAoTDHRoYXd0ZSwgSW5jLjEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2 +aWNlcyBEaXZpc2lvbjE4MDYGA1UECxMvKGMpIDIwMDggdGhhd3RlLCBJbmMuIC0gRm9yIGF1dGhv +cml6ZWQgdXNlIG9ubHkxJDAiBgNVBAMTG3RoYXd0ZSBQcmltYXJ5IFJvb3QgQ0EgLSBHMzAeFw0w +ODA0MDIwMDAwMDBaFw0zNz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vdwY9k5vG8cwnncdimvzsUsZAReiDZuMdRAGmI0Nj81Aa6sY6A= +-----END CERTIFICATE----- + +GeoTrust Primary Certification Authority - G2 +============================================= +-----BEGIN CERTIFICATE----- +MIICrjCCAjWgAwIBAgIQPLL0SAoA4v7rJDteYD7DazAKBggqhkjOPQQDAzCBmDELMAkGA1UEBhMC +VVMxFjAUBgNVBAoTDUdlb1RydXN0IEluYy4xOTA3BgNVBAsTMChjKSAyMDA3IEdlb1RydXN0IElu +Yy4gLSBGb3IgYXV0aG9yaXplZCB1c2Ugb25seTE2MDQGA1UEAxMtR2VvVHJ1c3QgUHJpbWFyeSBD +ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eSAtIEcyMB4XDTA3MTEwNTAwMDAwMFoXDTM4MDExODIzNTk1 +OVowgZgxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMTkwNwYDVQQLEzAoYykg +MjAwNyBHZW9UcnVzdCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNlIG9ubHkxNjA0BgNVBAMTLUdl +b1RydXN0IFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgLSBHMjB2MBAGByqGSM49AgEG +BSuBBAAiA2IABBWx6P0DFUPlrOuHNxFi79KDNlJ9RVcLSo17VDs6bl8VAsBQps8lL33KSLjHUGMc +KiEIfJo22Av+0SbFWDEwKCXzXV2juLaltJLtbCyf691DiaI8S0iRHVDsJt/WYC69IaNCMEAwDwYD +VR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFBVfNVdRVfslsq0DafwBo/q+ +EVXVMAoGCCqGSM49BAMDA2cAMGQCMGSWWaboCd6LuvpaiIjwH5HTRqjySkwCY/tsXzjbLkGTqQ7m +ndwxHLKgpxgceeHHNgIwOlavmnRs9vuD4DPTCF+hnMJbn0bWtsuRBmOiBuczrD6ogRLQy7rQkgu2 +npaqBA+K +-----END CERTIFICATE----- + +VeriSign Universal Root Certification Authority +=============================================== +-----BEGIN CERTIFICATE----- +MIIEuTCCA6GgAwIBAgIQQBrEZCGzEyEDDrvkEhrFHTANBgkqhkiG9w0BAQsFADCBvTELMAkGA1UE +BhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBO +ZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwOCBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVk +IHVzZSBvbmx5MTgwNgYDVQQDEy9WZXJpU2lnbiBVbml2ZXJzYWwgUm9vdCBDZXJ0aWZpY2F0aW9u +IEF1dGhvcml0eTAeFw0wODA0MDIwMDAwMDBaFw0zNzEyMDEyMzU5NTlaMIG9MQswCQYDVQQGEwJV +UzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZlcmlTaWduIFRydXN0IE5ldHdv +cmsxOjA4BgNVBAsTMShjKSAyMDA4IFZlcmlTaWduLCBJbmMuIC0gRm9yIGF1dGhvcml6ZWQgdXNl +IG9ubHkxODA2BgNVBAMTL1ZlcmlTaWduIFVuaXZlcnNhbCBSb290IENlcnRpZmljYXRpb24gQXV0 +aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx2E3XrEBNNti1xWb/1hajCMj +1mCOkdeQmIN65lgZOIzF9uVkhbSicfvtvbnazU0AtMgtc6XHaXGVHzk8skQHnOgO+k1KxCHfKWGP +MiJhgsWHH26MfF8WIFFE0XBPV+rjHOPMee5Y2A7Cs0WTwCznmhcrewA3ekEzeOEz4vMQGn+HLL72 +9fdC4uW/h2KJXwBL38Xd5HVEMkE6HnFuacsLdUYI0crSK5XQz/u5QGtkjFdN/BMReYTtXlT2NJ8I +AfMQJQYXStrxHXpma5hgZqTZ79IugvHw7wnqRMkVauIDbjPTrJ9VAMf2CGqUuV/c4DPxhGD5WycR +tPwW8rtWaoAljQIDAQABo4GyMIGvMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMG0G +CCsGAQUFBwEMBGEwX6FdoFswWTBXMFUWCWltYWdlL2dpZjAhMB8wBwYFKw4DAhoEFI/l0xqGrI2O +a8PPgGrUSBgsexkuMCUWI2h0dHA6Ly9sb2dvLnZlcmlzaWduLmNvbS92c2xvZ28uZ2lmMB0GA1Ud +DgQWBBS2d/ppSEefUxLVwuoHMnYH0ZcHGTANBgkqhkiG9w0BAQsFAAOCAQEASvj4sAPmLGd75JR3 +Y8xuTPl9Dg3cyLk1uXBPY/ok+myDjEedO2Pzmvl2MpWRsXe8rJq+seQxIcaBlVZaDrHC1LGmWazx +Y8u4TB1ZkErvkBYoH1quEPuBUDgMbMzxPcP1Y+Oz4yHJJDnp/RVmRvQbEdBNc6N9Rvk97ahfYtTx +P/jgdFcrGJ2BtMQo2pSXpXDrrB2+BxHw1dvd5Yzw1TKwg+ZX4o+/vqGqvz0dtdQ46tewXDpPaj+P +wGZsY6rp2aQW9IHRlRQOfc2VNNnSj3BzgXucfr2YYdhFh5iQxeuGMMY1v/D/w1WIg0vvBZIGcfK4 +mJO37M2CYfE45k+XmCpajQ== +-----END CERTIFICATE----- + +VeriSign Class 3 Public Primary Certification Authority - G4 +============================================================ +-----BEGIN CERTIFICATE----- +MIIDhDCCAwqgAwIBAgIQL4D+I4wOIg9IZxIokYesszAKBggqhkjOPQQDAzCByjELMAkGA1UEBhMC +VVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBUcnVzdCBOZXR3 +b3JrMTowOAYDVQQLEzEoYykgMjAwNyBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVz +ZSBvbmx5MUUwQwYDVQQDEzxWZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmlj +YXRpb24gQXV0aG9yaXR5IC0gRzQwHhcNMDcxMTA1MDAwMDAwWhcNMzgwMTE4MjM1OTU5WjCByjEL +MAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZWZXJpU2lnbiBU +cnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNyBWZXJpU2lnbiwgSW5jLiAtIEZvciBhdXRo +b3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5 +IENlcnRpZmljYXRpb24gQXV0aG9yaXR5IC0gRzQwdjAQBgcqhkjOPQIBBgUrgQQAIgNiAASnVnp8 +Utpkmw4tXNherJI9/gHmGUo9FANL+mAnINmDiWn6VMaaGF5VKmTeBvaNSjutEDxlPZCIBIngMGGz +rl0Bp3vefLK+ymVhAIau2o970ImtTR1ZmkGxvEeA3J5iw/mjgbIwga8wDwYDVR0TAQH/BAUwAwEB +/zAOBgNVHQ8BAf8EBAMCAQYwbQYIKwYBBQUHAQwEYTBfoV2gWzBZMFcwVRYJaW1hZ2UvZ2lmMCEw +HzAHBgUrDgMCGgQUj+XTGoasjY5rw8+AatRIGCx7GS4wJRYjaHR0cDovL2xvZ28udmVyaXNpZ24u +Y29tL3ZzbG9nby5naWYwHQYDVR0OBBYEFLMWkf3upm7ktS5Jj4d4gYDs5bG1MAoGCCqGSM49BAMD +A2gAMGUCMGYhDBgmYFo4e1ZC4Kf8NoRRkSAsdk1DPcQdhCPQrNZ8NQbOzWm9kA3bbEhCHQ6qQgIx +AJw9SDkjOVgaFRJZap7v1VmyHVIsmXHNxynfGyphe3HR3vPA5Q06Sqotp9iGKt0uEA== +-----END CERTIFICATE----- + +NetLock Arany (Class Gold) Főtanúsítvány +============================================ +-----BEGIN CERTIFICATE----- +MIIEFTCCAv2gAwIBAgIGSUEs5AAQMA0GCSqGSIb3DQEBCwUAMIGnMQswCQYDVQQGEwJIVTERMA8G +A1UEBwwIQnVkYXBlc3QxFTATBgNVBAoMDE5ldExvY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C8lcLIhJsFyUR+MLMOEkMNaj7rP9KdlpeuY0fsFskZ1FSNqb4VjMIDw1Z4fKRzC +bLBQWV2QWzuoDTDPv31/zvGdg73JRm4gpvlhUbohL3u+pRVjodSVh/GeufOJ8z2FuLjbvrW5Kfna +NwUASZQDhETnv0Mxz3WLJdH0pmT1kvarBes96aULNmLazAZfNou2XjG4Kvte9nHfRCaexOYNkbQu +dZWAUWpLMKawYqGT8ZvYzsRjdT9ZR7E= +-----END CERTIFICATE----- + +Staat der Nederlanden Root CA - G2 +================================== +-----BEGIN CERTIFICATE----- +MIIFyjCCA7KgAwIBAgIEAJiWjDANBgkqhkiG9w0BAQsFADBaMQswCQYDVQQGEwJOTDEeMBwGA1UE +CgwVU3RhYXQgZGVyIE5lZGVybGFuZGVuMSswKQYDVQQDDCJTdGFhdCBkZXIgTmVkZXJsYW5kZW4g +Um9vdCBDQSAtIEcyMB4XDTA4MDMyNjExMTgxN1oXDTIwMDMyNTExMDMxMFowWjELMAkGA1UEBhMC +TkwxHjAcBgNVBAoMFVN0YWF0IGRlciBOZWRlcmxhbmRlbjErMCkGA1UEAwwiU3RhYXQgZGVyIE5l +ZGVybGFuZGVuIFJvb3QgQ0EgLSBHMjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMVZ +5291qj5LnLW4rJ4L5PnZyqtdj7U5EILXr1HgO+EASGrP2uEGQxGZqhQlEq0i6ABtQ8SpuOUfiUtn +vWFI7/3S4GCI5bkYYCjDdyutsDeqN95kWSpGV+RLufg3fNU254DBtvPUZ5uW6M7XxgpT0GtJlvOj +CwV3SPcl5XCsMBQgJeN/dVrlSPhOewMHBPqCYYdu8DvEpMfQ9XQ+pV0aCPKbJdL2rAQmPlU6Yiil +e7Iwr/g3wtG61jj99O9JMDeZJiFIhQGp5Rbn3JBV3w/oOM2ZNyFPXfUib2rFEhZgF1XyZWampzCR +OME4HYYEhLoaJXhena/MUGDWE4dS7WMfbWV9whUYdMrhfmQpjHLYFhN9C0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+Ne6ML678 +IIbsSt4beDI3poHSna9aEhbKmVv8b20OxaAehsmR0FyYgl9jDIpaq9iVpszLita/ZEuOyoqysOkh +Mp6qqIWYNIE5ITuoOlIyPfZrN4YGWhWY3PARZv40ILcD9EEQfTmEeZZyY7aWAuVrua0ZTbvGRNs2 +yyqcjg== +-----END CERTIFICATE----- + +Hongkong Post Root CA 1 +======================= +-----BEGIN CERTIFICATE----- +MIIDMDCCAhigAwIBAgICA+gwDQYJKoZIhvcNAQEFBQAwRzELMAkGA1UEBhMCSEsxFjAUBgNVBAoT +DUhvbmdrb25nIFBvc3QxIDAeBgNVBAMTF0hvbmdrb25nIFBvc3QgUm9vdCBDQSAxMB4XDTAzMDUx +NTA1MTMxNFoXDTIzMDUxNTA0NTIyOVowRzELMAkGA1UEBhMCSEsxFjAUBgNVBAoTDUhvbmdrb25n +IFBvc3QxIDAeBgNVBAMTF0hvbmdrb25nIFBvc3QgUm9vdCBDQSAxMIIBIjANBgkqhkiG9w0BAQEF +AAOCAQ8AMIIBCgKCAQEArP84tulmAknjorThkPlAj3n54r15/gK97iSSHSL22oVyaf7XPwnU3ZG1 +ApzQjVrhVcNQhrkpJsLj2aDxaQMoIIBFIi1WpztUlVYiWR8o3x8gPW2iNr4joLFutbEnPzlTCeqr +auh0ssJlXI6/fMN4hM2eFvz1Lk8gKgifd/PFHsSaUmYeSF7jEAaPIpjhZY4bXSNmO7ilMlHIhqqh +qZ5/dpTCpmy3QfDVyAY45tQM4vM7TG1QjMSDJ8EThFk9nnV0ttgCXjqQesBCNnLsak3c78QA3xMY +V18meMjWCnl3v/evt3a5pQuEF10Q6m/hq5URX208o1xNg1vysxmKgIsLhwIDAQABoyYwJDASBgNV +HRMBAf8ECDAGAQH/AgEDMA4GA1UdDwEB/wQEAwIBxjANBgkqhkiG9w0BAQUFAAOCAQEADkbVPK7i +h9legYsCmEEIjEy82tvuJxuC52pF7BaLT4Wg87JwvVqWuspube5Gi27nKi6Wsxkz67SfqLI37pio +l7Yutmcn1KZJ/RyTZXaeQi/cImyaT/JaFTmxcdcrUehtHJjA2Sr0oYJ71clBoiMBdDhViw+5Lmei +IAQ32pwL0xch4I+XeTRvhEgCIDMb5jREn5Fw9IBehEPCKdJsEhTkYY2sEJCehFC78JZvRZ+K88ps +T/oROhUVRsPNH4NbLUES7VBnQRM9IauUiqpOfMGx+6fWtScvl6tu4B3i0RwsH0Ti/L6RoZz71ilT +c4afU9hDDl3WY4JxHYB0yvbiAmvZWg== +-----END CERTIFICATE----- + +SecureSign RootCA11 +=================== +-----BEGIN CERTIFICATE----- +MIIDbTCCAlWgAwIBAgIBATANBgkqhkiG9w0BAQUFADBYMQswCQYDVQQGEwJKUDErMCkGA1UEChMi +SmFwYW4gQ2VydGlmaWNhdGlvbiBTZXJ2aWNlcywgSW5jLjEcMBoGA1UEAxMTU2VjdXJlU2lnbiBS +b290Q0ExMTAeFw0wOTA0MDgwNDU2NDdaFw0yOTA0MDgwNDU2NDdaMFgxCzAJBgNVBAYTAkpQMSsw +KQYDVQQKEyJKYXBhbiBDZXJ0aWZpY2F0aW9uIFNlcnZpY2VzLCBJbmMuMRwwGgYDVQQDExNTZWN1 +cmVTaWduIFJvb3RDQTExMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA/XeqpRyQBTvL +TJszi1oURaTnkBbR31fSIRCkF/3frNYfp+TbfPfs37gD2pRY/V1yfIw/XwFndBWW4wI8h9uuywGO +wvNmxoVF9ALGOrVisq/6nL+k5tSAMJjzDbaTj6nU2DbysPyKyiyhFTOVMdrAG/LuYpmGYz+/3ZMq +g6h2uRMft85OQoWPIucuGvKVCbIFtUROd6EgvanyTgp9UK31BQ1FT0Zx/Sg+U/sE2C3XZR1KG/rP +O7AxmjVuyIsG0wCR8pQIZUyxNAYAeoni8McDWc/V1uinMrPmmECGxc0nEovMe863ETxiYAcjPitA +bpSACW22s293bzUIUPsCh8U+iQIDAQABo0IwQDAdBgNVHQ4EFgQUW/hNT7KlhtQ60v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jxn4tncB7rrZXtaAWPWkFtPF2Y9fwsZo5NjEFIq +nxQWWOLcpfShFosOkYuByptZ+thrkQdlVV9SH686+5DdaaVbnG0OLLb6zqylfDJKZ0DcMDQj3dcE +I2bw/FWAp/tmGYI1Z2JwOV5vx+qQQEQIHriy1tvuWacNGHk0vFQYXlPKNFHtRQrmjseCNj6nOGOp +MCwXEGCSn1WHElkQwg9naRHMTh5+Spqtr0CodaxWkHS4oJyleW/c6RrIaQXpuvoDs3zk4E7Czp3o +tkYNbn5XOmeUwssfnHdKZ05phkOTOPu220+DkdRgfks+KzgHVZhepA== +-----END CERTIFICATE----- + +Verisign Class 1 Public Primary Certification Authority +======================================================= +-----BEGIN CERTIFICATE----- +MIICPDCCAaUCED9pHoGc8JpK83P/uUii5N0wDQYJKoZIhvcNAQEFBQAwXzELMAkGA1UEBhMCVVMx +FzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAxIFB1YmxpYyBQcmltYXJ5 +IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2MDEyOTAwMDAwMFoXDTI4MDgwMjIzNTk1OVow +XzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAx +IFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUA +A4GNADCBiQKBgQDlGb9to1ZhLZlIcfZn3rmN67eehoAKkQ76OCWvRoiC5XOooJskXQ0fzGVuDLDQ +VoQYh5oGmxChc9+0WDlrbsH2FdWoqD+qEgaNMax/sDTXjzRniAnNFBHiTkVWaR94AoDa3EeRKbs2 +yWNcxeDXLYd7obcysHswuiovMaruo2fa2wIDAQABMA0GCSqGSIb3DQEBBQUAA4GBAFgVKTk8d6Pa +XCUDfGD67gmZPCcQcMgMCeazh88K4hiWNWLMv5sneYlfycQJ9M61Hd8qveXbhpxoJeUwfLaJFf5n +0a3hUKw8fGJLj7qE1xIVGx/KXQ/BUpQqEZnae88MNhPVNdwQGVnqlMEAv3WP2fr9dgTbYruQagPZ +RjXZ+Hxb +-----END CERTIFICATE----- + +Verisign Class 3 Public Primary Certification Authority +======================================================= +-----BEGIN CERTIFICATE----- +MIICPDCCAaUCEDyRMcsf9tAbDpq40ES/Er4wDQYJKoZIhvcNAQEFBQAwXzELMAkGA1UEBhMCVVMx +FzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAzIFB1YmxpYyBQcmltYXJ5 +IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTk2MDEyOTAwMDAwMFoXDTI4MDgwMjIzNTk1OVow +XzELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMTcwNQYDVQQLEy5DbGFzcyAz +IFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIGfMA0GCSqGSIb3DQEBAQUA +A4GNADCBiQKBgQDJXFme8huKARS0EN8EQNvjV69qRUCPhAwL0TPZ2RHP7gJYHyX3KqhEBarsAx94 +f56TuZoAqiN91qyFomNFx3InzPRMxnVx0jnvT0Lwdd8KkMaOIG+YD/isI19wKTakyYbnsZogy1Ol +hec9vn2a/iRFM9x2Fe0PonFkTGUugWhFpwIDAQABMA0GCSqGSIb3DQEBBQUAA4GBABByUqkFFBky +CEHwxWsKzH4PIRnN5GfcX6kb5sroc50i2JhucwNhkcV8sEVAbkSdjbCxlnRhLQ2pRdKkkirWmnWX +bj9T/UWZYB2oK0z5XqcJ2HUw19JlYD1n1khVdWk/kfVIC0dpImmClr7JyDiGSnoscxlIaU5rfGW/ +D/xwzoiQ +-----END CERTIFICATE----- + +Microsec e-Szigno Root CA 2009 +============================== +-----BEGIN CERTIFICATE----- +MIIECjCCAvKgAwIBAgIJAMJ+QwRORz8ZMA0GCSqGSIb3DQEBCwUAMIGCMQswCQYDVQQGEw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C7DBsoKqpyvGvivo/C3NqPuouQH4frlRheesuCDfX +I/OMn74dseGkddug4lQUsbocKaQY9hK6ohQU4zE1yED/t+AFdlfBHFny+L/k7SViXITwfn4fs775 +tyERzAMBVnCnEJIeGzSBHq2cGsMEPO0CYdYeBvNfOofyK/FFh+U9rNHHV4S9a67c2Pm2G2JwCz02 +yULyMtd6YebS2z3PyKnJm9zbWETXbzivf3jTo60adbocwTZ8jx5tHMN1Rq41Bab2XD0h7lbwyYIi +LXpUq3DDfSJlgnCW +-----END CERTIFICATE----- + +E-Guven Kok Elektronik Sertifika Hizmet Saglayicisi +=================================================== +-----BEGIN CERTIFICATE----- +MIIDtjCCAp6gAwIBAgIQRJmNPMADJ72cdpW56tustTANBgkqhkiG9w0BAQUFADB1MQswCQYDVQQG +EwJUUjEoMCYGA1UEChMfRWxla3Ryb25payBCaWxnaSBHdXZlbmxpZ2kgQS5TLjE8MDoGA1UEAxMz +ZS1HdXZlbiBLb2sgRWxla3Ryb25payBTZXJ0aWZpa2EgSGl6bWV0IFNhZ2xheWljaXNpMB4XDTA3 +MDEwNDExMzI0OFoXDTE3MDEwNDExMzI0OFowdTELMAkGA1UEBhMCVFIxKDAmBgNVBAoTH0VsZWt0 +cm9uaWsgQmlsZ2kgR3V2ZW5saWdpIEEuUy4xPDA6BgNVBAMTM2UtR3V2ZW4gS29rIEVsZWt0cm9u +aWsgU2VydGlmaWthIEhpem1ldCBTYWdsYXlpY2lzaTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC +AQoCggEBAMMSIJ6wXgBljU5Gu4Bc6SwGl9XzcslwuedLZYDBS75+PNdUMZTe1RK6UxYC6lhj71vY +8+0qGqpxSKPcEC1fX+tcS5yWCEIlKBHMilpiAVDV6wlTL/jDj/6z/P2douNffb7tC+Bg62nsM+3Y +jfsSSYMAyYuXjDtzKjKzEve5TfL0TW3H5tYmNwjy2f1rXKPlSFxYvEK+A1qBuhw1DADT9SN+cTAI +JjjcJRFHLfO6IxClv7wC90N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ev1LKMPgj0MK66X17YUhhB5uzsTgHeMCOFJ +0mpiLx9e+pZo34knlTifBtc+ycsmWQ1z3rDI6SYOgxXG71uL0gRgykmmKPZpO/bLyCiR5Z2KYVc3 +rHQU3HTgOu5yLy6c+9C7v/U9AOEGM+iCK65TpjoWc4zdQQ4gOsC0p6Hpsk+QLjJg6VfLuQSSaGjl +OCZgdbKfd/+RFO+uIEn8rUAVSNECMWEZXriX7613t2Saer9fwRPvm2L7DWzgVGkWqQPabumDk3F2 +xmmFghcCAwEAAaNCMEAwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYE +FI/wS3+oLkUkrk1Q+mOai97i3Ru8MA0GCSqGSIb3DQEBCwUAA4IBAQBLQNvAUKr+yAzv95ZURUm7 +lgAJQayzE4aGKAczymvmdLm6AC2upArT9fHxD4q/c2dKg8dEe3jgr25sbwMpjjM5RcOO5LlXbKr8 +EpbsU8Yt5CRsuZRj+9xTaGdWPoO4zzUhw8lo/s7awlOqzJCK6fBdRoyV3XpYKBovHd7NADdBj+1E +bddTKJd+82cEHhXXipa0095MJ6RMG3NzdvQXmcIfeg7jLQitChws/zyrVQ4PkX4268NXSb7hLi18 +YIvDQVETI53O9zJrlAGomecsMx86OyXShkDOOyyGeMlhLxS67ttVb9+E7gUJTb0o2HLO02JQZR7r +kpeDMdmztcpHWD9f +-----END CERTIFICATE----- + +TC TrustCenter Universal CA III +=============================== +-----BEGIN CERTIFICATE----- +MIID4TCCAsmgAwIBAgIOYyUAAQACFI0zFQLkbPQwDQYJKoZIhvcNAQEFBQAwezELMAkGA1UEBhMC +REUxHDAaBgNVBAoTE1RDIFRydXN0Q2VudGVyIEdtYkgxJDAiBgNVBAsTG1RDIFRydXN0Q2VudGVy +IFVuaXZlcnNhbCBDQTEoMCYGA1UEAxMfVEMgVHJ1c3RDZW50ZXIgVW5pdmVyc2FsIENBIElJSTAe +Fw0wOTA5MDkwODE1MjdaFw0yOTEyMzEyMzU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AluA0OKBtHd0e9HKgl8ZS0Zg== +-----END CERTIFICATE----- + +Autoridad de Certificacion Firmaprofesional CIF A62634068 +========================================================= +-----BEGIN CERTIFICATE----- +MIIGFDCCA/ygAwIBAgIIU+w77vuySF8wDQYJKoZIhvcNAQEFBQAwUTELMAkGA1UEBhMCRVMxQjBA +BgNVBAMMOUF1dG9yaWRhZCBkZSBDZXJ0aWZpY2FjaW9uIEZpcm1hcHJvZmVzaW9uYWwgQ0lGIEE2 +MjYzNDA2ODAeFw0wOTA1MjAwODM4MTVaFw0zMDEyMzEwODM4MTVaMFExCzAJBgNVBAYTAkVTMUIw +QAYDVQQDDDlBdXRvcmlkYWQgZGUgQ2VydGlmaWNhY2lvbiBGaXJtYXByb2Zlc2lvbmFsIENJRiBB +NjI2MzQwNjgwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDKlmuO6vj78aI14H9M2uDD +Utd9thDIAl6zQyrET2qyyhxdKJp4ERppWVevtSBC5IsP5t9bpgOSL/UR5GLXMnE42QQMcas9UX4P +B99jBVzpv5RvwSmCwLTaUbDBPLutN0pcyvFLNg4kq7/DhHf9qFD0sefGL9ItWY16Ck6WaVICqjaY +7Pz6FIMMNx/Jkjd/14Et5cS54D40/mf0PmbR0/RAz15iNA9wBj4gGFrO93IbJWyTdBSTo3OxDqqH +ECNZXyAFGUftaI6SEspd/NYrspI8IM/hX68gvqB2f3bl7BqGYTM+53u0P6APjqK5am+5hyZvQWyI +plD9amML9ZMWGxmPsu2bm8mQ9QEM3xk9Dz44I8kvjwzRAv4bVdZO0I08r0+k8/6vKtMFnXkIoctX +MbScyJCyZ/QYFpM6/EfY0XiWMR+6KwxfXZmtY4laJCB22N/9q06mIqqdXuYnin1oKaPnirjaEbsX +LZmdEyRG98Xi2J+Of8ePdG1asuhy9azuJBCtLxTa/y2aRnFHvkLfuwHb9H/TKI8xWVvTyQKmtFLK +bpf7Q8UIJm+K9Lv9nyiqDdVF8xM6HdjAeI9BZzwelGSu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V4tC5h9Pmzb/CaIxw== +-----END CERTIFICATE----- + +Chambers of Commerce Root - 2008 +================================ +-----BEGIN CERTIFICATE----- +MIIHTzCCBTegAwIBAgIJAKPaQn6ksa7aMA0GCSqGSIb3DQEBBQUAMIGuMQswCQYDVQQGEwJFVTFD +MEEGA1UEBxM6TWFkcmlkIChzZWUgY3VycmVudCBhZGRyZXNzIGF0IHd3dy5jYW1lcmZpcm1hLmNv +bS9hZGRyZXNzKTESMBAGA1UEBRMJQTgyNzQzMjg3MRswGQYDVQQKExJBQyBDYW1lcmZpcm1hIFMu +QS4xKTAnBgNVBAMTIENoYW1iZXJzIG9mIENvbW1lcmNlIFJvb3QgLSAyMDA4MB4XDTA4MDgwMTEy +Mjk1MFoXDTM4MDczMTEyMjk1MFowga4xCzAJBgNVBAYTAkVVMUMwQQYDVQQHEzpNYWRyaWQgKHNl +ZSBjdXJyZW50IGFkZHJlc3MgYXQgd3d3LmNhbWVyZmlybWEuY29tL2FkZHJlc3MpMRIwEAYDVQQF +EwlBODI3NDMyODcxGzAZBgNVBAoTEkFDIENhbWVyZmlybWEgUy5BLjEpMCcGA1UEAxMgQ2hhbWJl +cnMgb2YgQ29tbWVyY2UgUm9vdCAtIDIwMDgwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoIC +AQCvAMtwNyuAWko6bHiUfaN/Gh/2NdW928sNRHI+JrKQUrpjOyhYb6WzbZSm891kDFX29ufyIiKA +XuFixrYp4YFs8r/lfTJqVKAyGVn+H4vXPWCGhSRv4xGzdz4gljUha7MI2XAuZPeEklPWDrCQiorj +h40G072QDuKZoRuGDtqaCrsLYVAGUvGef3bsyw/QHg3PmTA9HMRFEFis1tPo1+XqxQEHd9ZR5gN/ +ikilTWh1uem8nk4ZcfUyS5xtYBkL+8ydddy/Js2Pk3g5eXNeJQ7KXOt3EgfLZEFHcpOrUMPrCXZk +NNI5t3YRCQ12RcSprj1qr7V9ZS+UWBDsXHyvfuK2GNnQm05aSd+pZgvMPMZ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Ck18pPfNKXG9/jvjA9iSnyu0/VU+I22mlaHFoI6 +M6taIgj3grrqLuBHmrS1RaMFO9ncLkVAO+rcf+g769HsJtg1pDDFOqxXnrN2pSB7+R5KBWIBpih1 +YJeSDW4+TTdDDZIVnBgizVGZoCkaPF+KMjNbMMeJL0eYD6MDxvbxrN8y8NmBGuScvfaAFPDRLLmF +9dijscilIeUcE5fuDr3fKanvNFNb0+RqE4QGtjICxFKuItLcsiFCGtpA8CnJ7AoMXOLQusxI0zcK +zBIKinmwPQN/aUv0NCB9szTqjktk9T79syNnFQ0EuPAtwQlRPLJsFfClI9eDdOTlLsn+mCdCxqvG +nrDQWzilm1DefhiYtUU79nm06PcaewaD+9CL2rvHvRirCG88gGtAPxkZumWK5r7VXNM21+9AUiRg +OGcEMeyP84LG3rlV8zsxkVrctQgVrXYlCg17LofiDKYGvCYQbTed7N14jHyAxfDZd0jQ +-----END CERTIFICATE----- + +Global Chambersign Root - 2008 +============================== +-----BEGIN CERTIFICATE----- +MIIHSTCCBTGgAwIBAgIJAMnN0+nVfSPOMA0GCSqGSIb3DQEBBQUAMIGsMQswCQYDVQQGEwJFVTFD +MEEGA1UEBxM6TWFkcmlkIChzZWUgY3VycmVudCBhZGRyZXNzIGF0IHd3dy5jYW1lcmZpcm1hLmNv +bS9hZGRyZXNzKTESMBAGA1UEBRMJQTgyNzQzMjg3MRswGQYDVQQKExJBQyBDYW1lcmZpcm1hIFMu +QS4xJzAlBgNVBAMTHkdsb2JhbCBDaGFtYmVyc2lnbiBSb290IC0gMjAwODAeFw0wODA4MDExMjMx +NDBaFw0zODA3MzExMjMxNDBaMIGsMQswCQYDVQQGEwJFVTFDMEEGA1UEBxM6TWFkcmlkIChzZWUg +Y3VycmVudCBhZGRyZXNzIGF0IHd3dy5jYW1lcmZpcm1hLmNvbS9hZGRyZXNzKTESMBAGA1UEBRMJ +QTgyNzQzMjg3MRswGQYDVQQKExJBQyBDYW1lcmZpcm1hIFMuQS4xJzAlBgNVBAMTHkd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EChMSQUMgQ2FtZXJm +aXJtYSBTLkEuMScwJQYDVQQDEx5HbG9iYWwgQ2hhbWJlcnNpZ24gUm9vdCAtIDIwMDiCCQDJzdPp +1X0jzjAOBgNVHQ8BAf8EBAMCAQYwPQYDVR0gBDYwNDAyBgRVHSAAMCowKAYIKwYBBQUHAgEWHGh0 +dHA6Ly9wb2xpY3kuY2FtZXJmaXJtYS5jb20wDQYJKoZIhvcNAQEFBQADggIBAICIf3DekijZBZRG +/5BXqfEv3xoNa/p8DhxJJHkn2EaqbylZUohwEurdPfWbU1Rv4WCiqAm57OtZfMY18dwY6fFn5a+6 +ReAJ3spED8IXDneRRXozX1+WLGiLwUePmJs9wOzL9dWCkoQ10b42OFZyMVtHLaoXpGNR6woBrX/s +dZ7LoR/xfxKxueRkf2fWIyr0uDldmOghp+G9PUIadJpwr2hsUF1Jz//7Dl3mLEfXgTpZALVza2Mg +9jFFCDkO9HB+QHBaP9BrQql0PSgvAm11cpUJjUhjxsYjV5KTXjXBjfkK9yydYhz2rXzdpjEetrHH +foUm+qRqtdpjMNHvkzeyZi99Bffnt0uYlDXA2TopwZ2yUDMdSqlapskD7+3056huirRXhOukP9Du +qqqHW2Pok+JrqNS4cnhrG+055F3Lm6qH1U9OAP7Zap88MQ8oAgF9mOinsKJknnn4SPIVqczmyETr +P3iZ8ntxPjzxmKfFGBI/5rsoM0LpRQp8bfKGeS/Fghl9CYl8slR2iK7ewfPM4W7bMdaTrpmg7yVq +c5iJWzouE4gev8CSlDQb4ye3ix5vQv/n6TebUB0tovkC7stYWDpxvGjjqsGvHCgfotwjZT+B6q6Z +09gwzxMNTxXJhLynSC34MCN32EZLeW32jO06f2ARePTpm67VVMB0gNELQp/B +-----END CERTIFICATE----- + +Go Daddy Root Certificate Authority - G2 +======================================== +-----BEGIN CERTIFICATE----- +MIIDxTCCAq2gAwIBAgIBADANBgkqhkiG9w0BAQsFADCBgzELMAkGA1UEBhMCVVMxEDAOBgNVBAgT +B0FyaXpvbmExEzARB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o2GTzLH4U/ALqn83/B2gX2yKQOC16jdFU8WnjXzPKej17CuPKf1855eJ1usV2GDPO +LPAvTK33sefOT6jEm0pUBsV/fdUID+Ic/n4XuKxe9tQWskMJDE32p2u0mYRlynqI4uJEvlz36hz1 +-----END CERTIFICATE----- + +Starfield Root Certificate Authority - G2 +========================================= +-----BEGIN CERTIFICATE----- +MIID3TCCAsWgAwIBAgIBADANBgkqhkiG9w0BAQsFADCBjzELMAkGA1UEBhMCVVMxEDAOBgNVBAgT +B0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxJTAjBgNVBAoTHFN0YXJmaWVsZCBUZWNobm9s +b2dpZXMsIEluYy4xMjAwBgNVBAMTKVN0YXJmaWVsZCBSb290IENlcnRpZmljYXRlIEF1dGhvcml0 +eSAtIEcyMB4XDTA5MDkwMTAwMDAwMFoXDTM3MTIzMTIzNTk1OVowgY8xCzAJBgNVBAYTAlVTMRAw +DgYDVQQIEwdBcml6b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMSUwIwYDVQQKExxTdGFyZmllbGQg +VGVjaG5vbG9naWVzLCBJbmMuMTIwMAYDVQQDEylTdGFyZmllbGQgUm9vdCBDZXJ0aWZpY2F0ZSBB +dXRob3JpdHkgLSBHMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL3twQP89o/8ArFv +W59I2Z154qK3A2FWGMNHttfKPTUuiUP3oWmb3ooa/RMgnLRJdzIpVv257IzdIvpy3Cdhl+72WoTs +bhm5iSzchFvVdPtrX8WJpRBSiUZV9Lh1HOZ/5FSuS/hVclcCGfgXcVnrHigHdMWdSL5stPSksPNk +N3mSwOxGXn/hbVNMYq/NHwtjuzqd+/x5AJhhdM8mgkBj87JyahkNmcrUDnXMN/uLicFZ8WJ/X7Nf +ZTD4p7dNdloedl40wOiWVpmKs/B/pM293DIxfJHP4F8R+GuqSVzRmZTRouNjWwl2tVZi4Ut0HZbU +JtQIBFnQmA4O5t78w+wfkPECAwEAAaNCMEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC +AQYwHQYDVR0OBBYEFHwMMh+n2TB/xH1oo2Kooc6rB1snMA0GCSqGSIb3DQEBCwUAA4IBAQARWfol +TwNvlJk7mh+ChTnUdgWUXuEok21iXQnCoKjUsHU48TRqneSfioYmUeYs0cYtbpUgSpIB7LiKZ3sx +4mcujJUDJi5DnUox9g61DLu34jd/IroAow57UvtruzvE03lRTs2Q9GcHGcg8RnoNAX3FWOdt5oUw +F5okxBDgBPfg8n/Uqgr/Qh037ZTlZFkSIHc40zI+OIF1lnP6aI+xy84fxez6nH7PfrHxBy22/L/K +pL/QlwVKvOoYKAKQvVR4CSFx09F9HdkWsKlhPdAKACL8x3vLCWRFCztAgfd9fDL1mMpYjn0q7pBZ +c2T5NnReJaH1ZgUufzkVqSr7UIuOhWn0 +-----END CERTIFICATE----- + +Starfield Services Root Certificate Authority - G2 +================================================== +-----BEGIN CERTIFICATE----- +MIID7zCCAtegAwIBAgIBADANBgkqhkiG9w0BAQsFADCBmDELMAkGA1UEBhMCVVMxEDAOBgNVBAgT +B0FyaXpvbmExEzARBgNVBAcTClNjb3R0c2RhbGUxJTAjBgNVBAoTHFN0YXJmaWVsZCBUZWNobm9s +b2dpZXMsIEluYy4xOzA5BgNVBAMTMlN0YXJmaWVsZCBTZXJ2aWNlcyBSb290IENlcnRpZmljYXRl +IEF1dGhvcml0eSAtIEcyMB4XDTA5MDkwMTAwMDAwMFoXDTM3MTIzMTIzNTk1OVowgZgxCzAJBgNV +BAYTAlVTMRAwDgYDVQQIEwdBcml6b25hMRMwEQYDVQQHEwpTY290dHNkYWxlMSUwIwYDVQQKExxT +dGFyZmllbGQgVGVjaG5vbG9naWVzLCBJbmMuMTswOQYDVQQDEzJTdGFyZmllbGQgU2VydmljZXMg +Um9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkgLSBHMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC +AQoCggEBANUMOsQq+U7i9b4Zl1+OiFOxHz/Lz58gE20pOsgPfTz3a3Y4Y9k2YKibXlwAgLIvWX/2 +h/klQ4bnaRtSmpDhcePYLQ1Ob/bISdm28xpWriu2dBTrz/sm4xq6HZYuajtYlIlHVv8loJNwU4Pa +hHQUw2eeBGg6345AWh1KTs9DkTvnVtYAcMtS7nt9rjrnvDH5RfbCYM8TWQIrgMw0R9+53pBlbQLP +LJGmpufehRhJfGZOozptqbXuNC66DQO4M99H67FrjSXZm86B0UVGMpZwh94CDklDhbZsc7tk6mFB +rMnUVN+HL8cisibMn1lUaJ/8viovxFUcdUBgF4UCVTmLfwUCAwEAAaNCMEAwDwYDVR0TAQH/BAUw +AwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFJxfAN+qAdcwKziIorhtSpzyEZGDMA0GCSqG +SIb3DQEBCwUAA4IBAQBLNqaEd2ndOxmfZyMIbw5hyf2E3F/YNoHN2BtBLZ9g3ccaaNnRbobhiCPP +E95Dz+I0swSdHynVv/heyNXBve6SbzJ08pGCL72CQnqtKrcgfU28elUSwhXqvfdqlS5sdJ/PHLTy +xQGjhdByPq1zqwubdQxtRbeOlKyWN7Wg0I8VRw7j6IPdj/3vQQF3zCepYoUz8jcI73HPdwbeyBkd +iEDPfUYd/x7H4c7/I9vG+o1VTqkC50cRRj70/b17KSa7qWFiNyi2LSr2EIZkyXCn0q23KXB56jza +YyWf/Wi3MOxw+3WKt21gZ7IeyLnp2KhvAotnDU0mV3HaIPzBSlCNsSi6 +-----END CERTIFICATE----- + +AffirmTrust Commercial +====================== +-----BEGIN CERTIFICATE----- +MIIDTDCCAjSgAwIBAgIId3cGJyapsXwwDQYJKoZIhvcNAQELBQAwRDELMAkGA1UEBhMCVVMxFDAS +BgNVBAoMC0FmZmlybVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVzdCBDb21tZXJjaWFsMB4XDTEw +MDEyOTE0MDYwNloXDTMwMTIzMTE0MDYwNlowRDELMAkGA1UEBhMCVVMxFDASBgNVBAoMC0FmZmly +bVRydXN0MR8wHQYDVQQDDBZBZmZpcm1UcnVzdCBDb21tZXJjaWFsMIIBIjANBgkqhkiG9w0BAQEF +AAOCAQ8AMIIBCgKCAQEA9htPZwcroRX1BiLLHwGy43NFBkRJLLtJJRTWzsO3qyxPxkEylFf6Eqdb +DuKPHx6GGaeqtS25Xw2Kwq+FNXkyLbscYjfysVtKPcrNcV/pQr6U6Mje+SJIZMblq8Yrba0F8PrV +C8+a5fBQpIs7R6UjW3p6+DM/uO+Zl+MgwdYoic+U+7lF7eNAFxHUdPALMeIrJmqbTFeurCA+ukV6 +BfO9m2kVrn1OIGPENXY6BwLJN/3HR+7o8XYdcxXyl6S1yHp52UKqK39c/s4mT6NmgTWvRLpUHhww +MmWd5jyTXlBOeuM61G7MGvv50jeuJCqrVwMiKA1JdX+3KNp1v47j3A55MQIDAQABo0IwQDAdBgNV +HQ4EFgQUnZPGU4teyq8/nx4P5ZmVvCT2lI8wDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMC +AQYwDQYJKoZIhvcNAQELBQADggEBAFis9AQOzcAN/wr91LoWXym9e2iZWEnStB03TX8nfUYGXUPG +hi4+c7ImfU+TqbbEKpqrIZcUsd6M06uJFdhrJNTxFq7YpFzUf1GO7RgBsZNjvbz4YYCanrHOQnDi +qX0GJX0nof5v7LMeJNrjS1UaADs1tDvZ110w/YETifLCBivtZ8SOyUOyXGsViQK8YvxO8rUzqrJv +0wqiUOP2O+guRMLbZjipM1ZI8W0bM40NjD9gN53Tym1+NH4Nn3J2ixufcv1SNUFFApYvHLKac0kh +sUlHRUe072o0EclNmsxZt9YCnlpOZbWUrhvfKbAW8b8Angc6F2S1BLUjIZkKlTuXfO8= +-----END CERTIFICATE----- + +AffirmTrust Networking +====================== +-----BEGIN CERTIFICATE----- +MIIDTDCCAjSgAwIBAgIIfE8EORzUmS0wDQYJKoZIhvcNAQEFBQAwRDELMAkGA1UEBhMCVVMxFDAS +BgN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nz2snmKtmcCAwEAAaNCMEAwHQYDVR0OBBYEFJ3AZ6YMItkm9UWrpmVSESfYRaxjMA8GA1UdEwEB +/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBDAUAA4ICAQCzV00QYk465KzquByv +MiPIs0laUZx2KI15qldGF9X1Uva3ROgIRL8YhNILgM3FEv0AVQVhh0HctSSePMTYyPtwni94loMg +Nt58D2kTiKV1NpgIpsbfrM7jWNa3Pt668+s0QNiigfV4Py/VpfzZotReBA4Xrf5B8OWycvpEgjNC +6C1Y91aMYj+6QrCcDFx+LmUmXFNPALJ4fqENmS2NuB2OosSw/WDQMKSOyARiqcTtNd56l+0OOF6S +L5Nwpamcb6d9Ex1+xghIsV5n61EIJenmJWtSKZGc0jlzCFfemQa0W50QBuHCAKi4HEoCChTQwUHK ++4w1IX2COPKpVJEZNZOUbWo6xbLQu4mGk+ibyQ86p3q4ofB4Rvr8Ny/lioTz3/4E2aFooC8k4gmV +BtWVyuEklut89pMFu+1z6S3RdTnX5yTb2E5fQ4+e0BQ5v1VwSJlXMbSc7kqYA5YwH2AG7hsj/oFg +IxpHYoWlzBk0gG+zrBrjn/B7SK3VAdlntqlyk+otZrWyuOQ9PLLvTIzq6we/qzWaVYa8GKa1qF60 +g2xraUDTn9zxw2lrueFtCfTxqlB2Cnp9ehehVZZCmTEJ3WARjQUwfuaORtGdFNrHF+QFlozEJLUb +zxQHskD4o55BhrwE0GuWyCqANP2/7waj3VjFhT0+j/6eKeC2uAloGRwYQw== +-----END CERTIFICATE----- + +AffirmTrust Premium ECC +======================= +-----BEGIN CERTIFICATE----- +MIIB/jCCAYWgAwIBAgIIdJclisc/elQwCgYIKoZIzj0EAwMwRTELMAkGA1UEBhMCVVMxFDASBgNV +BAoMC0FmZmlybVRydXN0MSAwHgYDVQQDDBdBZmZpcm1UcnVzdCBQcmVtaXVtIEVDQzAeFw0xMDAx +MjkxNDIwMjRaFw00MDEyMzExNDIwMjRaMEUxCzAJBgNVBAYTAlVTMRQwEgYDVQQKDAtBZmZpcm1U +cnVzdDEgMB4GA1UEAwwXQWZmaXJtVHJ1c3QgUHJlbWl1bSBFQ0MwdjAQBgcqhkjOPQIBBgUrgQQA +IgNiAAQNMF4bFZ0D0KF5Nbc6PJJ6yhUczWLznCZcBz3lVPqj1swS6vQUX+iOGasvLkjmrBhDeKzQ +N8O9ss0s5kfiGuZjuD0uL3jET9v0D6RoTFVya5UdThhClXjMNzyR4ptlKymjQjBAMB0GA1UdDgQW +BBSaryl6wBE1NSZRMADDav5A1a7WPDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAK +BggqhkjOPQQDAwNnADBkAjAXCfOHiFBar8jAQr9HX/VsaobgxCd05DhT1wV/GzTjxi+zygk8N53X +57hG8f2h4nECMEJZh0PUUd+60wkyWs6Iflc9nF9Ca/UHLbXwgpP5WW+uZPpY5Yse42O+tYHNbwKM +eQ== +-----END CERTIFICATE----- + +Certum Trusted Network CA +========================= +-----BEGIN CERTIFICATE----- +MIIDuzCCAqOgAwIBAgIDBETAMA0GCSqGSIb3DQEBBQUAMH4xCzAJBgNVBAYTAlBMMSIwIAYDVQQK +ExlVbml6ZXRvIFRlY2hub2xvZ2llcyBTLkEuMScwJQYDVQQLEx5DZXJ0dW0gQ2VydGlmaWNhdGlv +biBBdXRob3JpdHkxIjAgBgNVBAMTGUNlcnR1bSBUcnVzdGVkIE5ldHdvcmsgQ0EwHhcNMDgxMDIy +MTIwNzM3WhcNMjkxMjMxMTIwNzM3WjB+MQswCQYDVQQGEwJQTDEiMCAGA1UEChMZVW5pemV0byBU +ZWNobm9sb2dpZXMgUy5BLjEnMCUGA1UECxMeQ2VydHVtIENlcnRpZmljYXRpb24gQXV0aG9yaXR5 +MSIwIAYDVQQDExlDZXJ0dW0gVHJ1c3RlZCBOZXR3b3JrIENBMIIBIjANBgkqhkiG9w0BAQEFAAOC +AQ8AMIIBCgKCAQEA4/t9o3K6wvDJFIf1awFO4W5AB7ptJ11/91sts1rHUV+rpDKmYYe2bg+G0jAC +l/jXaVehGDldamR5xgFZrDwxSjh80gTSSyjoIF87B6LMTXPb865Px1bVWqeWifrzq2jUI4ZZJ88J +J7ysbnKDHDBy3+Ci6dLhdHUZvSqeexVUBBvXQzmtVSjF4hq79MDkrjhJM8x2hZ85RdKknvISjFH4 +fOQtf/WsX+sWn7Et0brMkUJ3TCXJkDhv2/DM+44el1k+1WBO5gUo7Ul5E0u6SNsv+XLTOcr+H9g0 +cvW0QM8xAcPs3hEtF10fuFDRXhmnad4HMyjKUJX5p1TLVIZQRan5SQIDAQABo0IwQDAPBgNVHRMB +Af8EBTADAQH/MB0GA1UdDgQWBBQIds3LB/8k9sXN7buQvOKEN0Z19zAOBgNVHQ8BAf8EBAMCAQYw +DQYJKoZIhvcNAQEFBQADggEBAKaorSLOAT2mo/9i0Eidi15ysHhE49wcrwn9I0j6vSrEuVUEtRCj +jSfeC4Jj0O7eDDd5QVsisrCaQVymcODU0HfLI9MA4GxWL+FpDQ3Zqr8hgVDZBqWo/5U30Kr+4rP1 +mS1FhIrlQgnXdAIv94nYmem8J9RHjboNRhx3zxSkHLmkMcScKHQDNP8zGSal6Q10tz6XxnboJ5aj +Zt3hrvJBW8qYVoNzcOSGGtIxQbovvi0TWnZvTuhOgQ4/WwMioBK+ZlgRSssDxLQqKi2WF+A5VLxI +03YnnZotBqbJ7DnSq9ufmgsnAjUpsUCV5/nonFWIGUbWtzT1fs45mtk48VH3Tyw= +-----END CERTIFICATE----- + +Certinomis - Autorité Racine +============================= +-----BEGIN CERTIFICATE----- +MIIFnDCCA4SgAwIBAgIBATANBgkqhkiG9w0BAQUFADBjMQswCQYDVQQGEwJGUjETMBEGA1UEChMK +Q2VydGlub21pczEXMBUGA1UECxMOMDAwMiA0MzM5OTg5MDMxJjAkBgNVBAMMHUNlcnRpbm9taXMg +LSBBdXRvcml0w6kgUmFjaW5lMB4XDTA4MDkxNzA4Mjg1OVoXDTI4MDkxNzA4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86PtvqrxyaLAEL9MW12Ukx9F1BjYkMTv9sov3/4gbIOZ/x +WqndIlgVqIrTseYyCYIDbNc/CMf4uboAbbnW/FIyXaR/pDGUu7ZMOH8oMDX/nyNTt7buFHAAQCva +R6s0fl6nVjBhK4tDrP22iCj1a7Y+YEq6QpA0Z43q619FVDsXrIvkxmUP7tCMXWY5zjKn2BCXwH40 +nJ+U8/aGH88bc62UeYdocMMzpXDn2NU4lG9jeeu/Cg4I58UvD0KgKxRA/yHgBcUn4YQRE7rWhh1B +CxMjidPJC+iKunqjo3M3NYB9Ergzd0A4wPpeMNLytqOx1qKVl4GbUu1pTP+A5FPbVFsDbVRfsbjv +JL1vnxHDx2TCDyhihWZeGnuyt++uNckZM6i4J9szVb9o4XVIRFb7zdNIu0eJOqxp9YDG5ERQL1TE +qkPFMTFYvZbF6nVsmnWxTfj3l/+WFvKXTej28xH5On2KOG4Ey+HTRRWqpdEdnV1j6CTmNhTih60b +WfVEm/vXd3wfAXBioSAaosUaKPQhA+4u2cGA6rnZgtZbdsLLO7XSAPCjDuGtbkD326C00EauFddE +wk01+dIL8hf2rGbVJLJP0RyZwG71fet0BLj5TXcJ17TPBzAJ8bgAVtkXFhYKK4bfjwEZGuW7gmP/ +vgt2Fl43N+bYdJeimUV5 +-----END CERTIFICATE----- + +Root CA Generalitat Valenciana +============================== +-----BEGIN CERTIFICATE----- +MIIGizCCBXOgAwIBAgIEO0XlaDANBgkqhkiG9w0BAQUFADBoMQswCQYDVQQGEwJFUzEfMB0GA1UE +ChMWR2VuZXJhbGl0YXQgVmFsZW5jaWFuYTEPMA0GA1UECxMGUEtJR1ZBMScwJQYDVQQDEx5Sb290 +IENBIEdlbmVyYWxpdGF0IFZhbGVuY2lhbmEwHhcNMDEwNzA2MTYyMjQ3WhcNMjEwNzAxMTUyMjQ3 +WjBoMQswCQYDVQQGEwJFUzEfMB0GA1UEChMWR2VuZXJhbGl0YXQgVmFsZW5jaWFuYTEPMA0GA1UE +CxMGUEtJR1ZB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ABlACAAQwBlAHIAdABpAGYAaQBjAGEAYwBpAPMAbgAgAHMAZQAgAGUAbgBjAHUAZQBu +AHQAcgBhACAAZQBuACAAbABhACAAZABpAHIAZQBjAGMAaQDzAG4AIAB3AGUAYgAgAGgAdAB0AHAA +OgAvAC8AdwB3AHcALgBwAGsAaQAuAGcAdgBhAC4AZQBzAC8AYwBwAHMwJQYIKwYBBQUHAgEWGWh0 +dHA6Ly93d3cucGtpLmd2YS5lcy9jcHMwHQYDVR0OBBYEFHs100DSHHgZZu90ECjcPk+yeAT8MIGV +BgNVHSMEgY0wgYqAFHs100DSHHgZZu90ECjcPk+yeAT8oWykajBoMQswCQYDVQQGEwJFUzEfMB0G +A1UEChMWR2VuZXJhbGl0YXQgVmFsZW5jaWFuYTEPMA0GA1UECxMGUEtJR1ZBMScwJQYDVQQDEx5S +b290IENBIEdlbmVyYWxpdGF0IFZhbGVuY2lhbmGCBDtF5WgwDQYJKoZIhvcNAQEFBQADggEBACRh +TvW1yEICKrNcda3FbcrnlD+laJWIwVTAEGmiEi8YPyVQqHxK6sYJ2fR1xkDar1CdPaUWu20xxsdz +Ckj+IHLtb8zog2EWRpABlUt9jppSCS/2bxzkoXHPjCpaF3ODR00PNvsETUlR4hTJZGH71BTg9J63 +NI8KJr2XXPR5OkowGcytT6CYirQxlyric21+eLj4iIlPsSKRZEv1UN4D2+XFducTZnV+ZfsBn5OH +iJ35Rld8TWCvmHMTI6QgkYH60GFmuH3Rr9ZvHmw96RH9qfmCIoaZM3Fa6hlXPZHNqcCjbgcTpsnt ++GijnsNacgmHKNHEc8RzGF9QdRYxn7fofMM= +-----END CERTIFICATE----- + +A-Trust-nQual-03 +================ +-----BEGIN CERTIFICATE----- +MIIDzzCCAregAwIBAgIDAWweMA0GCSqGSIb3DQEBBQUAMIGNMQswCQYDVQQGEwJBVDFIMEYGA1UE +Cgw/QS1UcnVzdCBHZXMuIGYuIFNpY2hlcmhlaXRzc3lzdGVtZSBpbSBlbGVrdHIuIERhdGV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hsnLuP1Hyl0Te2v9+GS +mYHovjrHF1D2t8b8m7CKa9aIA5GPBnc6hQLdmNVDeD/GMBWsm2vLV7eJUYs66MmEDNuxUCAKGkq6 +ahq97BvIxYSazQ== +-----END CERTIFICATE----- + +TWCA Root Certification Authority +================================= +-----BEGIN CERTIFICATE----- +MIIDezCCAmOgAwIBAgIBATANBgkqhkiG9w0BAQUFADBfMQswCQYDVQQGEwJUVzESMBAGA1UECgwJ +VEFJV0FOLUNBMRAwDgYDVQQLDAdSb290IENBMSowKAYDVQQDDCFUV0NBIFJvb3QgQ2VydGlmaWNh +dGlvbiBBdXRob3JpdHkwHhcNMDgwODI4MDcyNDMzWhcNMzAxMjMxMTU1OTU5WjBfMQswCQYDVQQG +EwJUVzESMBAGA1UECgwJVEFJV0FOLUNBMRAwDgYDVQQLDAdSb290IENBMSowKAYDVQQDDCFUV0NB +IFJvb3QgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK +AoIBAQCwfnK4pAOU5qfeCTiRShFAh6d8WWQUe7UREN3+v9XAu1bihSX0NXIP+FPQQeFEAcK0HMMx +QhZHhTMidrIKbw/lJVBPhYa+v5guEGcevhEFhgWQxFnQfHgQsIBct+HHK3XLfJ+utdGdIzdjp9xC +oi2SBBtQwXu4PhvJVgSLL1KbralW6cH/ralYhzC2gfeXRfwZVzsrb+RH9JlF/h3x+JejiB03HFyP +4HYlmlD4oFT/RJB2I9IyxsOrBr/8+7/zrX2SYgJbKdM1o5OaQ2RgXbL6Mv87BK9NQGr5x+PvI/1r +y+UPizgN7gr8/g+YnzAx3WxSZfmLgb4i4RxYA7qRG4kHAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIB +BjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRqOFsmjd6LWvJPelSDGRjjCDWmujANBgkqhkiG +9w0BAQUFAAOCAQEAPNV3PdrfibqHDAhUaiBQkr6wQT25JmSDCi/oQMCXKCeCMErJk/9q56YAf4lC +mtYR5VPOL8zy2gXE/uJQxDqGfczafhAJO5I1KlOy/usrBdlsXebQ79NqZp4VKIV66IIArB6nCWlW +QtNoURi+VJq/REG6Sb4gumlc7rh3zc5sH62Dlhh9DrUUOYTxKOkto557HnpyWoOzeW/vtPzQCqVY +T0bf+215WfKEIlKuD8z7fDvnaspHYcN6+NOSBB+4IIThNlQWx0DeO4pz3N/GCUzf7Nr/1FNCocny +Yh0igzyXxfkZYiesZSLX0zzG5Y6yU8xJzrww/nsOM5D77dIUkR8Hrw== +-----END CERTIFICATE----- + +Security Communication RootCA2 +============================== +-----BEGIN CERTIFICATE----- +MIIDdzCCAl+gAwIBAgIBADANBgkqhkiG9w0BAQsFADBdMQswCQYDVQQGEwJKUDElMCMGA1UEChMc +U0VDT00gVHJ1c3QgU3lzdGVtcyBDTy4sTFRELjEnMCUGA1UECxMeU2VjdXJpdHkgQ29tbXVuaWNh +dGlvbiBSb290Q0EyMB4XDTA5MDUyOTA1MDAzOVoXDTI5MDUyOTA1MDAzOVowXTELMAkGA1UEBhMC +SlAxJTAjBgNVBAoTHFNFQ09NIFRydXN0IFN5c3RlbXMgQ08uLExURC4xJzAlBgNVBAsTHlNlY3Vy +aXR5IENvbW11bmljYXRpb24gUm9vdENBMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB +ANAVOVKxUrO6xVmCxF1SrjpDZYBLx/KWvNs2l9amZIyoXvDjChz335c9S672XewhtUGrzbl+dp++ ++T42NKA7wfYxEUV0kz1XgMX5iZnK5atq1LXaQZAQwdbWQonCv/Q4EpVMVAX3NuRFg3sUZdbcDE3R +3n4MqzvEFb46VqZab3ZpUql6ucjrappdUtAtCms1FgkQhNBqyjoGADdH5H5XTz+L62e4iKrFvlNV +spHEfbmwhRkGeC7bYRr6hfVKkaHnFtWOojnflLhwHyg/i/xAXmODPIMqGplrz95Zajv8bxbXH/1K +EOtOghY6rCcMU/Gt1SSwawNQwS08Ft1ENCcadfs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QXlxJ7HNd+KDM3FIUPpqojlNcAZQmNa +Al6kSBg6hW/cnbw/nZzBh7h6YQjpdwt/cKt63dmXLGQehb+8dJahw3oS7AwaboMMPOhyRp/7SNVe +l+axofjk70YllJyJ22k4vuxcDlbHZVHlUIiIv0LVKz3l+bqeLrPK9HOSAgu+TGbrIP65y7WZf+a2 +E/rKS03Z7lNGBjvGTq2TWoF+bCpLagVFjPIhpDGQh2xlnJ2lYJU6Un/10asIbvPuW/mIPX64b24D +5EI= +-----END CERTIFICATE----- + +Hellenic Academic and Research Institutions RootCA 2011 +======================================================= +-----BEGIN CERTIFICATE----- +MIIEMTCCAxmgAwIBAgIBADANBgkqhkiG9w0BAQUFADCBlTELMAkGA1UEBhMCR1IxRDBCBgNVBAoT +O0hlbGxlbmljIEFjYWRlbWljIGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgQ2VydC4gQXV0aG9y +aXR5MUAwPgYDVQQDEzdIZWxsZW5pYyBBY2FkZW1pYyBhbmQgUmVzZWFyY2ggSW5zdGl0dXRpb25z +IFJvb3RDQSAyMDExMB4XDTExMTIwNjEzNDk1MloXDTMxMTIwMTEzNDk1MlowgZUxCzAJBgNVBAYT +AkdSMUQwQgYDVQQKEztIZWxsZW5pYyBBY2FkZW1pYyBhbmQgUmVzZWFyY2ggSW5zdGl0dXRpb25z +IENlcnQuIEF1dGhvcml0eTFAMD4GA1UEAxM3SGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2VhcmNo +IEluc3RpdHV0aW9ucyBSb290Q0EgMjAxMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB +AKlTAOMupvaO+mDYLZU++CwqVE7NuYRhlFhPjz2L5EPzdYmNUeTDN9KKiE15HrcS3UN4SoqS5tdI +1Q+kOilENbgH9mgdVc04UfCMJDGFr4PJfel3r+0ae50X+bOdOFAPplp5kYCvN66m0zH7tSYJnTxa +71HFK9+WXesyHgLacEnsbgzImjeN9/E2YEsmLIKe0HjzDQ9jpFEw4fkrJxIH2Oq9GGKYsFk3fb7u +8yBRQlqD75O6aRXxYp2fmTmCobd0LovUxQt7L/DICto9eQqakxylKHJzkUOap9FNhYS5qXSPFEDH +3N6sQWRstBmbAmNtJGSPRLIl6s5ddAxjMlyNh+UCAwEAAaOBiTCBhjAPBgNVHRMBAf8EBTADAQH/ +MAsGA1UdDwQEAwIBBjAdBgNVHQ4EFgQUppFC/RNhSiOeCKQp5dgTBCPuQSUwRwYDVR0eBEAwPqA8 +MAWCAy5ncjAFggMuZXUwBoIELmVkdTAGggQub3JnMAWBAy5ncjAFgQMuZXUwBoEELmVkdTAGgQQu +b3JnMA0GCSqGSIb3DQEBBQUAA4IBAQAf73lB4XtuP7KMhjdCSk4cNx6NZrokgclPEg8hwAOXhiVt +XdMiKahsog2p6z0GW5k6x8zDmjR/qw7IThzh+uTczQ2+vyT+bOdrwg3IBp5OjWEopmr95fZi6hg8 +TqBTnbI6nOulnJEWtk2C4AwFSKls9cz4y51JtPACpf1wA+2KIaWuE4ZJwzNzvoc7dIsXRSZMFpGD +/md9zU1jZ/rzAxKWeAaNsWftjj++n08C9bMJL/NMh98qy5V8AcysNnq/onN694/BtZqhFLKPM58N +7yLcZnuEvUUXBj08yrl3NI/K6s8/MT7jiOOASSXIl7WdmplNsDz4SgCbZN2fOUvRJ9e4 +-----END CERTIFICATE----- + +Actalis Authentication Root CA +============================== +-----BEGIN CERTIFICATE----- +MIIFuzCCA6OgAwIBAgIIVwoRl0LE48wwDQYJKoZIhvcNAQELBQAwazELMAkGA1UEBhMCSVQxDjAM +BgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlzIFMucC5BLi8wMzM1ODUyMDk2NzEnMCUGA1UE +AwweQWN0YWxpcyBBdXRoZW50aWNhdGlvbiBSb290IENBMB4XDTExMDkyMjExMjIwMloXDTMwMDky +MjExMjIwMlowazELMAkGA1UEBhMCSVQxDjAMBgNVBAcMBU1pbGFuMSMwIQYDVQQKDBpBY3RhbGlz +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AEzlgqqI0 +JZN1Ut6nna0Oh4lScWoWPBkdg/iaKWW+9D+a2fDzWochcYBNy+A4mz+7+uAwTc+G02UQGRjRlwKx +K3JCaKygvU5a2hi/a5iB0P2avl4VSM0RFbnAKVy06Ij3Pjaut2L9HmLecHgQHEhb2rykOLpn7VU+ +Xlff1ANATIGk0k9jpwlCCRT8AKnCgHNPLsBA2RF7SOp6AsDT6ygBJlh0wcBzIm2Tlf05fbsq4/aC +4yyXX04fkZT6/iyj2HYauE2yOE+b+h1IYHkm4vP9qdCa6HCPSXrW5b0KDtst842/6+OkfcvHlXHo +2qN8xcL4dJIEG4aspCJTQLas/kx2z/uUMsA1n3Y/buWQbqCmJqK4LL7RK4X9p2jIugErsWx0Hbhz +lefut8cl8ABMALJ+tguLHPPAUJ4lueAI3jZm/zel0btUZCzJJ7VLkn5l/9Mt4blOvH+kQSGQQXem +OR/qnuOf0GZvBeyqdn6/axag67XH/JJULysRJyU3eExRarDzzFhdFPFqSBX/wge2sY0PjlxQRrM9 +vwGYT7JZVEc+NHt4bVaTLnPqZih4zR0Uv6CPLy64Lo7yFIrM6bV8+2ydDKXhlg== +-----END CERTIFICATE----- + +Trustis FPS Root CA +=================== +-----BEGIN CERTIFICATE----- +MIIDZzCCAk+gAwIBAgIQGx+ttiD5JNM2a/fH8YygWTANBgkqhkiG9w0BAQUFADBFMQswCQYDVQQG +EwJHQjEYMBYGA1UEChMPVHJ1c3RpcyBMaW1pdGVkMRwwGgYDVQQLExNUcnVzdGlzIEZQUyBSb290 +IENBMB4XDTAzMTIyMzEyMTQwNloXDTI0MDEyMTExMzY1NFowRTELMAkGA1UEBhMCR0IxGDAWBgNV +BAoTD1RydXN0aXMgTGltaXRlZDEcMBoGA1UECxMTVHJ1c3RpcyBGUFMgUm9vdCBDQTCCASIwDQYJ +KoZIhvcNAQEBBQADggEPADCCAQoCggEBAMVQe547NdDfxIzNjpvto8A2mfRC6qc+gIMPpqdZh8mQ +RUN+AOqGeSoDvT03mYlmt+WKVoaTnGhLaASMk5MCPjDSNzoiYYkchU59j9WvezX2fihHiTHcDnlk +H5nSW7r+f2C/revnPDgpai/lkQtV/+xvWNUtyd5MZnGPDNcE2gfmHhjjvSkCqPoc4Vu5g6hBSLwa +cY3nYuUtsuvffM/bq1rKMfFMIvMFE/eC+XN5DL7XSxzA0RU8k0Fk0ea+IxciAIleH2ulrG6nS4zt +o3Lmr2NNL4XSFDWaLk6M6jKYKIahkQlBOrTh4/L68MkKokHdqeMDx4gVOxzUGpTXn2RZEm0CAwEA +AaNTMFEwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBS6+nEleYtXQSUhhgtx67JkDoshZzAd +BgNVHQ4EFgQUuvpxJXmLV0ElIYYLceuyZA6LIWcwDQYJKoZIhvcNAQEFBQADggEBAH5Y//01GX2c +GE+esCu8jowU/yyg2kdbw++BLa8F6nRIW/M+TgfHbcWzk88iNVy2P3UnXwmWzaD+vkAMXBJV+JOC +yinpXj9WV4s4NvdFGkwozZ5BuO1WTISkQMi4sKUraXAEasP41BIy+Q7DsdwyhEQsb8tGD+pmQQ9P +8Vilpg0ND2HepZ5dfWWhPBfnqFVO76DH7cZEf1T1o+CP8HxVIo8ptoGj4W1OLBuAZ+ytIJ8MYmHV +l/9D7S3B2l0pKoU/rGXuhg8FjZBf3+6f9L/uHfuY5H+QK4R4EA5sSVPvFVtlRkpdr7r7OnIdzfYl +iB6XzCGcKQENZetX2fNXlrtIzYE= +-----END CERTIFICATE----- + +StartCom Certification Authority +================================ +-----BEGIN CERTIFICATE----- +MIIHhzCCBW+gAwIBAgIBLTANBgkqhkiG9w0BAQsFADB9MQswCQYDVQQGEwJJTDEWMBQGA1UEChMN +U3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmlu +ZzEpMCcGA1UEAxMgU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMDYwOTE3MTk0 +N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0JBlPvfrhsiAhS90a2Cl9qrjeVOwhVYBs +HvUwyKMQ5bLmKhQxw4UtjJixhlpPiVktucf3HMiKf8CdBUrmQk9io20ppB+Fq9vlgcitKj1MXVuE +JnHEhV5xJMqlG2zYYdMa4FTbzrqpMrUi9nNBCV24F10OD5mQ1kfabwo6YigUZ4LZ8dCAWZvLMdib +D4x3TrVoivJs9iQOLWxwxXPR3hTQcY+203sC9uO41Alua551hDnmfyWl8kgAwKQB2j8= +-----END CERTIFICATE----- + +StartCom Certification Authority G2 +=================================== +-----BEGIN CERTIFICATE----- +MIIFYzCCA0ugAwIBAgIBOzANBgkqhkiG9w0BAQsFADBTMQswCQYDVQQGEwJJTDEWMBQGA1UEChMN +U3RhcnRDb20gTHRkLjEsMCoGA1UEAxMjU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkg +RzIwHhcNMTAwMTAxMDEwMDAxWhcNMzkxMjMxMjM1OTAxWjBTMQswCQYDVQQGEwJJTDEWMBQGA1UE +ChMNU3RhcnRDb20gTHRkLjEsMCoGA1UEAxMjU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3Jp +dHkgRzIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC2iTZbB7cgNr2Cu+EWIAOVeq8O +o1XJJZlKxdBWQYeQTSFgpBSHO839sj60ZwNq7eEPS8CRhXBF4EKe3ikj1AENoBB5uNsDvfOpL9HG +4A/LnooUCri99lZi8cVytjIl2bLzvWXFDSxu1ZJvGIsAQRSCb0AgJnooD/Uefyf3lLE3PbfHkffi +Aez9lInhzG7TNtYKGXmu1zSCZf98Qru23QumNK9LYP5/Q0kGi4xDuFby2X8hQxfqp0iVAXV16iul +Q5XqFYSdCI0mblWbq9zSOdIxHWDirMxWRST1HFSr7obdljKF+ExP6JV2tgXdNiNnvP8V4so75qbs +O+wmETRIjfaAKxojAuuKHDp2KntWFhxyKrOq42ClAJ8Em+JvHhRYW6Vsi1g8w7pOOlz34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w8HaOFvjqerm +obp573PYtlNXLfbQ4ddI +-----END CERTIFICATE----- + +Buypass Class 2 Root CA +======================= +-----BEGIN CERTIFICATE----- +MIIFWTCCA0GgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQGEwJOTzEdMBsGA1UECgwU +QnV5cGFzcyBBUy05ODMxNjMzMjcxIDAeBgNVBAMMF0J1eXBhc3MgQ2xhc3MgMiBSb290IENBMB4X +DTEwMTAyNjA4MzgwM1oXDTQwMTAyNjA4MzgwM1owTjELMAkGA1UEBhMCTk8xHTAbBgNVBAoMFEJ1 +eXBhc3MgQVMtOTgzMTYzMzI3MSAwHgYDVQQDDBdCdXlwYXNzIENsYXNzIDIgUm9vdCBDQTCCAiIw +DQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANfHXvfBB9R3+0Mh9PT1aeTuMgHbo4Yf5FkNuud1 +g1Lr6hxhFUi7HQfKjK6w3Jad6sNgkoaCKHOcVgb/S2TwDCo3SbXlzwx87vFKu3MwZfPVL4O2fuPn +9Z6rYPnT8Z2SdIrkHJasW4DptfQxh6NR/Md+oW+OU3fUl8FVM5I+GC911K2GScuVr1QGbNgGE41b +/+EmGVnAJLqBcXmQRFBoJJRfuLMR8SlBYaNByyM21cHxMlAQTn/0hpPshNOOvEu/XAFOBz3cFIqU +CqTqc/sLUegTBxj6DvEr0VQVfTzh97QZQmdiXnfgolXsttlpF9U6r0TtSsWe5HonfOV116rLJeff +awrbD02TTqigzXsu8lkBarcNuAeBfos4GzjmCleZPe4h6KP1DBbdi+w0jpwqHAAVF41og9JwnxgI +zRFo1clrUs3ERo/ctfPYV3Me6ZQ5BL/T3jjetFPsaRyifsSP5BtwrfKi+fv3FmRmaZ9JUaLiFRhn +Bkp/1Wy1TbMz4GHrXb7pmA8y1x1LPC5aAVKRCfLf6o3YBkBjqhHk/sM3nhRSP/TizPJhk9H9Z2vX +Uq6/aKtAQ6BXNVN48FP4YUIHZMbXb5tMOA1jrGKvNouicwoN9SG9dKpN6nIDSdvHXx1iY8f93ZHs +M+71bbRuMGjeyNYmsHVee7QHIJihdjK4TWxPAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wHQYD +VR0OBBYEFMmAd+BikoL1RpzzuvdMw964o605MA4GA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQsF +AAOCAgEAU18h9bqwOlI5LJKwbADJ784g7wbylp7ppHR/ehb8t/W2+xUbP6umwHJdELFx7rxP462s +A20ucS6vxOOto70MEae0/0qyexAQH6dXQbLArvQsWdZHEIjzIVEpMMpghq9Gqx3tOluwlN5E40EI +osHsHdb9T7bWR9AUC8rmyrV7d35BH16Dx7aMOZawP5aBQW9gkOLo+fsicdl9sz1Gv7SEr5AcD48S +aq/v7h56rgJKihcrdv6sVIkkLE8/trKnToyokZf7KcZ7XC25y2a2t6hbElGFtQl+Ynhw/qlqYLYd +DnkM/crqJIByw5c/8nerQyIKx+u2DISCLIBrQYoIwOula9+ZEsuK1V6ADJHgJgg2SMX6OBE1/yWD +LfJ6v9r9jv6ly0UsH8SIU653DtmadsWOLB2jutXsMq7Aqqz30XpN69QH4kj3Io6wpJ9qzo6ysmD0 +oyLQI+uUWnpp3Q+/QFesa1lQ2aOZ4W7+jQF5JyMV3pKdewlNWudLSDBaGOYKbeaP4NK75t98biGC +wWg5TbSYWGZizEqQXsP6JwSxeRV0mcy+rSDeJmAc61ZRpqPq5KM/p/9h3PFaTWwyI0PurKju7koS +CTxdccK+efrCh2gdC/1cacwG0Jp9VJkqyTkaGa9LKkPzY11aWOIv4x3kqdbQCtCev9eBCfHJxyYN +rJgWVqA= +-----END CERTIFICATE----- + +Buypass Class 3 Root CA +======================= +-----BEGIN CERTIFICATE----- +MIIFWTCCA0GgAwIBAgIBAjANBgkqhkiG9w0BAQsFADBOMQswCQYDVQQGEwJOTzEdMBsGA1UECgwU +QnV5cGFzcyBBUy05ODMxNjMzMjcxIDAeBgNVBAMMF0J1eXBhc3MgQ2xhc3MgMyBSb290IENBM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n9iB5btb2iUspKdV +cSQy9sgL8rxq+JOssgfCX5/bzMiKqr5qb+FJEMwx14C7u8jYog5kV+qi9cKpMRXSIGrs/CIBKM+G +uIAeqcwRpTzyFrNHnfzSgCHEy9BHcEGhyoMZCCxt8l13nIoUE9Q2HJLw5QY33KbmkJs4j1xrG0aG +Q0JfPgEHU1RdZX33inOhmlRaHylDFCfChQ+1iHsaO5S3HWCntZznKWlXWpuTekMwGwPXYshApqr8 +ZORK15FTAaggiG6cX0S5y2CBNOxv033aSF/rtJC8LakcC6wc1aJoIIAE1vyxjy+7SjENSoYc6+I2 +KSb12tjE8nVhz36udmNKekBlk4f4HoCMhuWG1o8O/FMsYOgWYRqiPkN7zTlgVGr18okmAWiDSKIz +6MkEkbIRNBE+6tBDGR8Dk5AM/1E9V/RBbuHLoL7ryWPNbczk+DaqaJ3tvV2XcEQNtg413OEMXbug +UZTLfhbrES+jkkXITHHZvMmZUldGL1DPvTVp9D0VzgalLA8+9oG6lLvDu79leNKGef9JOxqDDPDe +eOzI8k1MGt6CKfjBWtrt7uYnXuhF0J0cUahoq0Tj0Itq4/g7u9xN12TyUb7mqqta6THuBrxzvxNi +Cp/HuZc= +-----END CERTIFICATE----- \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/class/exceptions.php b/vendor/campaignmonitor/createsend-php/class/exceptions.php new file mode 100644 index 00000000..9ce49e4d --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/class/exceptions.php @@ -0,0 +1,10 @@ +_level = $level; + } + + function log_message($message, $module, $level) { + if($this->_level >= $level) { + echo date('G:i:s').' - '.$module.': '.$message."
\n"; + } + } + } +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/class/serialisation.php b/vendor/campaignmonitor/createsend-php/class/serialisation.php new file mode 100644 index 00000000..dd3451ea --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/class/serialisation.php @@ -0,0 +1,136 @@ +log_message('Getting serialiser', __FUNCTION__, CS_REST_LOG_VERBOSE); + if(function_exists('json_decode') && function_exists('json_encode')) { + return new CS_REST_NativeJsonSerialiser($log); + } else { + return new CS_REST_ServicesJsonSerialiser($log); + } + } +} + +if (!class_exists('CS_REST_BaseSerialiser')) { + class CS_REST_BaseSerialiser { + + var $_log; + + function __construct($log) { + $this->_log = $log; + } + + /** + * Recursively ensures that all data values are utf-8 encoded. + * @param array $data All values of this array are checked for utf-8 encoding. + */ + function check_encoding($data) { + + foreach($data as $k => $v) { + // If the element is a sub-array then recusively encode the array + if(is_array($v)) { + $data[$k] = $this->check_encoding($v); + // Otherwise if the element is a string then we need to check the encoding + } else if(is_string($v)) { + if((function_exists('mb_detect_encoding') && mb_detect_encoding($v) !== 'UTF-8') || + (function_exists('mb_check_encoding') && !mb_check_encoding($v, 'UTF-8'))) { + // The string is using some other encoding, make sure we utf-8 encode + $v = utf8_encode($v); + } + + $data[$k] = $v; + } + } + + return $data; + } + } +} + +if (!class_exists('CS_REST_DoNothingSerialiser')) { + class CS_REST_DoNothingSerialiser extends CS_REST_BaseSerialiser { + function __construct() {} + function get_type() { return 'do_nothing'; } + function serialise($data) { return $data; } + function deserialise($text) { + $data = json_decode($text); + return is_null($data) ? $text : $data; + } + function check_encoding($data) { return $data; } + } +} + +if (!class_exists('CS_REST_NativeJsonSerialiser')) { + class CS_REST_NativeJsonSerialiser extends CS_REST_BaseSerialiser { + + function get_format() { + return 'json'; + } + + function get_type() { + return 'native'; + } + + function serialise($data) { + if(is_null($data) || $data == '') return ''; + return json_encode($this->check_encoding($data)); + } + + function deserialise($text) { + $data = json_decode($text); + + return $this->strip_surrounding_quotes(is_null($data) ? $text : $data); + } + + /** + * We've had sporadic reports of people getting ID's from create routes with the surrounding quotes present. + * There is no case where these should be present. Just get rid of it. + */ + function strip_surrounding_quotes($data) { + if(is_string($data)) { + return trim($data, '"'); + } + + return $data; + } + } +} + +if (!class_exists('CS_REST_ServicesJsonSerialiser')) { + class CS_REST_ServicesJsonSerialiser extends CS_REST_BaseSerialiser { + + var $_serialiser; + + function __construct($log) { + parent::__construct($log); + if (!class_exists('Services_JSON', false)) { + require_once dirname(__FILE__).'/services_json.php'; + } + + $this->_serialiser = new Services_JSON(); + } + + function get_content_type() { + return 'application/json'; + } + + function get_format() { + return 'json'; + } + + function get_type() { + return 'services_json'; + } + + function serialise($data) { + if(is_null($data) || $data == '') return ''; + return $this->_serialiser->encode($this->check_encoding($data)); + } + + function deserialise($text) { + $data = $this->_serialiser->decode($text); + + return is_null($data) ? $text : $data; + } + } +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/class/services_json.php b/vendor/campaignmonitor/createsend-php/class/services_json.php new file mode 100644 index 00000000..5fde58ae --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/class/services_json.php @@ -0,0 +1,786 @@ + + * @author Matt Knapp + * @author Brett Stimmerman + * @copyright 2005 Michal Migurski + * @version CVS: $Id: JSON.php,v 1.31 2006/06/28 05:54:17 migurski Exp $ + * @license http://www.opensource.org/licenses/bsd-license.php + * @link http://pear.php.net/pepr/pepr-proposal-show.php?id=198 + */ + +/** + * Marker constant for Services_JSON::decode(), used to flag stack state + */ +defined('SERVICES_JSON_SLICE') or define('SERVICES_JSON_SLICE', 1); + +/** + * Marker constant for Services_JSON::decode(), used to flag stack state + */ +defined('SERVICES_JSON_IN_STR') or define('SERVICES_JSON_IN_STR', 2); + +/** + * Marker constant for Services_JSON::decode(), used to flag stack state + */ +defined('SERVICES_JSON_IN_ARR') or define('SERVICES_JSON_IN_ARR', 3); + +/** + * Marker constant for Services_JSON::decode(), used to flag stack state + */ +defined('SERVICES_JSON_IN_OBJ') or define('SERVICES_JSON_IN_OBJ', 4); + +/** + * Marker constant for Services_JSON::decode(), used to flag stack state + */ +defined('SERVICES_JSON_IN_CMT') or define('SERVICES_JSON_IN_CMT', 5); + +/** + * Behavior switch for Services_JSON::decode() + */ +defined('SERVICES_JSON_LOOSE_TYPE') or define('SERVICES_JSON_LOOSE_TYPE', 16); + +/** + * Behavior switch for Services_JSON::decode() + */ +defined('SERVICES_JSON_SUPPRESS_ERRORS') or define('SERVICES_JSON_SUPPRESS_ERRORS', 32); + +/** + * Converts to and from JSON format. + * + * Brief example of use: + * + * + * // create a new instance of Services_JSON + * $json = new Services_JSON(); + * + * // convert a complexe value to JSON notation, and send it to the browser + * $value = array('foo', 'bar', array(1, 2, 'baz'), array(3, array(4))); + * $output = $json->encode($value); + * + * print($output); + * // prints: ["foo","bar",[1,2,"baz"],[3,[4]]] + * + * // accept incoming POST data, assumed to be in JSON notation + * $input = file_get_contents('php://input', 1000000); + * $value = $json->decode($input); + * + */ +if (!class_exists('Services_JSON')) { + class Services_JSON + { + /** + * constructs a new JSON instance + * + * @param int $use object behavior flags; combine with boolean-OR + * + * possible values: + * - SERVICES_JSON_LOOSE_TYPE: loose typing. + * "{...}" syntax creates associative arrays + * instead of objects in decode(). + * - SERVICES_JSON_SUPPRESS_ERRORS: error suppression. + * Values which can't be encoded (e.g. resources) + * appear as NULL instead of throwing errors. + * By default, a deeply-nested resource will + * bubble up with an error, so all return values + * from encode() should be checked with isError() + */ + function __construct($use = 0) + { + $this->use = $use; + } + + /** + * convert a string from one UTF-16 char to one UTF-8 char + * + * Normally should be handled by mb_convert_encoding, but + * provides a slower PHP-only method for installations + * that lack the multibye string extension. + * + * @param string $utf16 UTF-16 character + * @return string UTF-8 character + * @access private + */ + function utf162utf8($utf16) + { + // oh please oh please oh please oh please oh please + if(function_exists('mb_convert_encoding')) { + return mb_convert_encoding($utf16, 'UTF-8', 'UTF-16'); + } + + $bytes = (ord($utf16[0]) << 8) | ord($utf16[1]); + + switch(true) { + case ((0x7F & $bytes) == $bytes): + // this case should never be reached, because we are in ASCII range + // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + return chr(0x7F & $bytes); + + case (0x07FF & $bytes) == $bytes: + // return a 2-byte UTF-8 character + // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + return chr(0xC0 | (($bytes >> 6) & 0x1F)) + . chr(0x80 | ($bytes & 0x3F)); + + case (0xFFFF & $bytes) == $bytes: + // return a 3-byte UTF-8 character + // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + return chr(0xE0 | (($bytes >> 12) & 0x0F)) + . chr(0x80 | (($bytes >> 6) & 0x3F)) + . chr(0x80 | ($bytes & 0x3F)); + } + + // ignoring UTF-32 for now, sorry + return ''; + } + + /** + * convert a string from one UTF-8 char to one UTF-16 char + * + * Normally should be handled by mb_convert_encoding, but + * provides a slower PHP-only method for installations + * that lack the multibye string extension. + * + * @param string $utf8 UTF-8 character + * @return string UTF-16 character + * @access private + */ + function utf82utf16($utf8) + { + // oh please oh please oh please oh please oh please + if(function_exists('mb_convert_encoding')) { + return mb_convert_encoding($utf8, 'UTF-16', 'UTF-8'); + } + + switch(strlen($utf8)) { + case 1: + // this case should never be reached, because we are in ASCII range + // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + return $utf8; + + case 2: + // return a UTF-16 character from a 2-byte UTF-8 char + // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + return chr(0x07 & (ord($utf8[0]) >> 2)) + . chr((0xC0 & (ord($utf8[0]) << 6)) + | (0x3F & ord($utf8[1]))); + + case 3: + // return a UTF-16 character from a 3-byte UTF-8 char + // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + return chr((0xF0 & (ord($utf8[0]) << 4)) + | (0x0F & (ord($utf8[1]) >> 2))) + . chr((0xC0 & (ord($utf8[1]) << 6)) + | (0x7F & ord($utf8[2]))); + } + + // ignoring UTF-32 for now, sorry + return ''; + } + + /** + * encodes an arbitrary variable into JSON format + * + * @param mixed $var any number, boolean, string, array, or object to be encoded. + * see argument 1 to Services_JSON() above for array-parsing behavior. + * if var is a strng, note that encode() always expects it + * to be in ASCII or UTF-8 format! + * + * @return mixed JSON string representation of input var or an error if a problem occurs + * @access public + */ + function encode($var) + { + switch (gettype($var)) { + case 'boolean': + return $var ? 'true' : 'false'; + + case 'NULL': + return 'null'; + + case 'integer': + return (int) $var; + + case 'double': + case 'float': + return (float) $var; + + case 'string': + // STRINGS ARE EXPECTED TO BE IN ASCII OR UTF-8 FORMAT + $ascii = ''; + $strlen_var = strlen($var); + + /* + * Iterate over every character in the string, + * escaping with a slash or encoding to UTF-8 where necessary + */ + for ($c = 0; $c < $strlen_var; ++$c) { + + $ord_var_c = ord($var[$c]); + + switch (true) { + case $ord_var_c == 0x08: + $ascii .= '\b'; + break; + case $ord_var_c == 0x09: + $ascii .= '\t'; + break; + case $ord_var_c == 0x0A: + $ascii .= '\n'; + break; + case $ord_var_c == 0x0C: + $ascii .= '\f'; + break; + case $ord_var_c == 0x0D: + $ascii .= '\r'; + break; + + case $ord_var_c == 0x22: + case $ord_var_c == 0x2F: + case $ord_var_c == 0x5C: + // double quote, slash, slosh + $ascii .= '\\'.$var[$c]; + break; + + case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)): + // characters U-00000000 - U-0000007F (same as ASCII) + $ascii .= $var[$c]; + break; + + case (($ord_var_c & 0xE0) == 0xC0): + // characters U-00000080 - U-000007FF, mask 110XXXXX + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $char = pack('C*', $ord_var_c, ord($var[$c + 1])); + $c += 1; + $utf16 = $this->utf82utf16($char); + $ascii .= sprintf('\u%04s', bin2hex($utf16)); + break; + + case (($ord_var_c & 0xF0) == 0xE0): + // characters U-00000800 - U-0000FFFF, mask 1110XXXX + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $char = pack('C*', $ord_var_c, + ord($var[$c + 1]), + ord($var[$c + 2])); + $c += 2; + $utf16 = $this->utf82utf16($char); + $ascii .= sprintf('\u%04s', bin2hex($utf16)); + break; + + case (($ord_var_c & 0xF8) == 0xF0): + // characters U-00010000 - U-001FFFFF, mask 11110XXX + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $char = pack('C*', $ord_var_c, + ord($var[$c + 1]), + ord($var[$c + 2]), + ord($var[$c + 3])); + $c += 3; + $utf16 = $this->utf82utf16($char); + $ascii .= sprintf('\u%04s', bin2hex($utf16)); + break; + + case (($ord_var_c & 0xFC) == 0xF8): + // characters U-00200000 - U-03FFFFFF, mask 111110XX + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $char = pack('C*', $ord_var_c, + ord($var[$c + 1]), + ord($var[$c + 2]), + ord($var[$c + 3]), + ord($var[$c + 4])); + $c += 4; + $utf16 = $this->utf82utf16($char); + $ascii .= sprintf('\u%04s', bin2hex($utf16)); + break; + + case (($ord_var_c & 0xFE) == 0xFC): + // characters U-04000000 - U-7FFFFFFF, mask 1111110X + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $char = pack('C*', $ord_var_c, + ord($var[$c + 1]), + ord($var[$c + 2]), + ord($var[$c + 3]), + ord($var[$c + 4]), + ord($var[$c + 5])); + $c += 5; + $utf16 = $this->utf82utf16($char); + $ascii .= sprintf('\u%04s', bin2hex($utf16)); + break; + } + } + + return '"'.$ascii.'"'; + + case 'array': + /* + * As per JSON spec if any array key is not an integer + * we must treat the the whole array as an object. We + * also try to catch a sparsely populated associative + * array with numeric keys here because some JS engines + * will create an array with empty indexes up to + * max_index which can cause memory issues and because + * the keys, which may be relevant, will be remapped + * otherwise. + * + * As per the ECMA and JSON specification an object may + * have any string as a property. Unfortunately due to + * a hole in the ECMA specification if the key is a + * ECMA reserved word or starts with a digit the + * parameter is only accessible using ECMAScript's + * bracket notation. + */ + + // treat as a JSON object + if (is_array($var) && count($var) && (array_keys($var) !== range(0, sizeof($var) - 1))) { + $properties = array_map(array($this, 'name_value'), + array_keys($var), + array_values($var)); + + foreach($properties as $property) { + if($this->isError($property)) { + return $property; + } + } + + return '{' . join(',', $properties) . '}'; + } + + // treat it like a regular array + $elements = array_map(array($this, 'encode'), $var); + + foreach($elements as $element) { + if($this->isError($element)) { + return $element; + } + } + + return '[' . join(',', $elements) . ']'; + + case 'object': + $vars = get_object_vars($var); + + $properties = array_map(array($this, 'name_value'), + array_keys($vars), + array_values($vars)); + + foreach($properties as $property) { + if($this->isError($property)) { + return $property; + } + } + + return '{' . join(',', $properties) . '}'; + + default: + return ($this->use & SERVICES_JSON_SUPPRESS_ERRORS) + ? 'null' + : new Services_JSON_Error(gettype($var)." can not be encoded as JSON string"); + } + } + + /** + * array-walking function for use in generating JSON-formatted name-value pairs + * + * @param string $name name of key to use + * @param mixed $value reference to an array element to be encoded + * + * @return string JSON-formatted name-value pair, like '"name":value' + * @access private + */ + function name_value($name, $value) + { + $encoded_value = $this->encode($value); + + if($this->isError($encoded_value)) { + return $encoded_value; + } + + return $this->encode(strval($name)) . ':' . $encoded_value; + } + + /** + * reduce a string by removing leading and trailing comments and whitespace + * + * @param $str string string value to strip of comments and whitespace + * + * @return string string value stripped of comments and whitespace + * @access private + */ + function reduce_string($str) + { + $str = preg_replace(array( + + // eliminate single line comments in '// ...' form + '#^\s*//(.+)$#m', + + // eliminate multi-line comments in '/* ... */' form, at start of string + '#^\s*/\*(.+)\*/#Us', + + // eliminate multi-line comments in '/* ... */' form, at end of string + '#/\*(.+)\*/\s*$#Us' + + ), '', $str); + + // eliminate extraneous space + return trim($str); + } + + /** + * decodes a JSON string into appropriate variable + * + * @param string $str JSON-formatted string + * + * @return mixed number, boolean, string, array, or object + * corresponding to given JSON input string. + * See argument 1 to Services_JSON() above for object-output behavior. + * Note that decode() always returns strings + * in ASCII or UTF-8 format! + * @access public + */ + function decode($str) + { + $str = $this->reduce_string($str); + + switch (strtolower($str)) { + case 'true': + return true; + + case 'false': + return false; + + case 'null': + return null; + + default: + $m = array(); + + if (is_numeric($str)) { + // Lookie-loo, it's a number + + // This would work on its own, but I'm trying to be + // good about returning integers where appropriate: + // return (float)$str; + + // Return float or int, as appropriate + return ((float)$str == (integer)$str) + ? (integer)$str + : (float)$str; + + } elseif (preg_match('/^("|\').*(\1)$/s', $str, $m) && $m[1] == $m[2]) { + // STRINGS RETURNED IN UTF-8 FORMAT + $delim = substr($str, 0, 1); + $chrs = substr($str, 1, -1); + $utf8 = ''; + $strlen_chrs = strlen($chrs); + + for ($c = 0; $c < $strlen_chrs; ++$c) { + + $substr_chrs_c_2 = substr($chrs, $c, 2); + $ord_chrs_c = ord($chrs[$c]); + + switch (true) { + case $substr_chrs_c_2 == '\b': + $utf8 .= chr(0x08); + ++$c; + break; + case $substr_chrs_c_2 == '\t': + $utf8 .= chr(0x09); + ++$c; + break; + case $substr_chrs_c_2 == '\n': + $utf8 .= chr(0x0A); + ++$c; + break; + case $substr_chrs_c_2 == '\f': + $utf8 .= chr(0x0C); + ++$c; + break; + case $substr_chrs_c_2 == '\r': + $utf8 .= chr(0x0D); + ++$c; + break; + + case $substr_chrs_c_2 == '\\"': + case $substr_chrs_c_2 == '\\\'': + case $substr_chrs_c_2 == '\\\\': + case $substr_chrs_c_2 == '\\/': + if (($delim == '"' && $substr_chrs_c_2 != '\\\'') || + ($delim == "'" && $substr_chrs_c_2 != '\\"')) { + $utf8 .= $chrs[++$c]; + } + break; + + case preg_match('/\\\u[0-9A-F]{4}/i', substr($chrs, $c, 6)): + // single, escaped unicode character + $utf16 = chr(hexdec(substr($chrs, ($c + 2), 2))) + . chr(hexdec(substr($chrs, ($c + 4), 2))); + $utf8 .= $this->utf162utf8($utf16); + $c += 5; + break; + + case ($ord_chrs_c >= 0x20) && ($ord_chrs_c <= 0x7F): + $utf8 .= $chrs[$c]; + break; + + case ($ord_chrs_c & 0xE0) == 0xC0: + // characters U-00000080 - U-000007FF, mask 110XXXXX + //see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $utf8 .= substr($chrs, $c, 2); + ++$c; + break; + + case ($ord_chrs_c & 0xF0) == 0xE0: + // characters U-00000800 - U-0000FFFF, mask 1110XXXX + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $utf8 .= substr($chrs, $c, 3); + $c += 2; + break; + + case ($ord_chrs_c & 0xF8) == 0xF0: + // characters U-00010000 - U-001FFFFF, mask 11110XXX + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $utf8 .= substr($chrs, $c, 4); + $c += 3; + break; + + case ($ord_chrs_c & 0xFC) == 0xF8: + // characters U-00200000 - U-03FFFFFF, mask 111110XX + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $utf8 .= substr($chrs, $c, 5); + $c += 4; + break; + + case ($ord_chrs_c & 0xFE) == 0xFC: + // characters U-04000000 - U-7FFFFFFF, mask 1111110X + // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 + $utf8 .= substr($chrs, $c, 6); + $c += 5; + break; + + } + + } + + return $utf8; + + } elseif (preg_match('/^\[.*\]$/s', $str) || preg_match('/^\{.*\}$/s', $str)) { + // array, or object notation + + if ($str[0] == '[') { + $stk = array(SERVICES_JSON_IN_ARR); + $arr = array(); + } else { + if ($this->use & SERVICES_JSON_LOOSE_TYPE) { + $stk = array(SERVICES_JSON_IN_OBJ); + $obj = array(); + } else { + $stk = array(SERVICES_JSON_IN_OBJ); + $obj = new stdClass(); + } + } + + array_push($stk, array('what' => SERVICES_JSON_SLICE, + 'where' => 0, + 'delim' => false)); + + $chrs = substr($str, 1, -1); + $chrs = $this->reduce_string($chrs); + + if ($chrs == '') { + if (reset($stk) == SERVICES_JSON_IN_ARR) { + return $arr; + + } else { + return $obj; + + } + } + + //print("\nparsing {$chrs}\n"); + + $strlen_chrs = strlen($chrs); + + for ($c = 0; $c <= $strlen_chrs; ++$c) { + + $top = end($stk); + $substr_chrs_c_2 = substr($chrs, $c, 2); + + if (($c == $strlen_chrs) || (($chrs[$c] == ',') && ($top['what'] == SERVICES_JSON_SLICE))) { + // found a comma that is not inside a string, array, etc., + // OR we've reached the end of the character list + $slice = substr($chrs, $top['where'], ($c - $top['where'])); + array_push($stk, array('what' => SERVICES_JSON_SLICE, 'where' => ($c + 1), 'delim' => false)); + //print("Found split at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n"); + + if (reset($stk) == SERVICES_JSON_IN_ARR) { + // we are in an array, so just push an element onto the stack + array_push($arr, $this->decode($slice)); + + } elseif (reset($stk) == SERVICES_JSON_IN_OBJ) { + // we are in an object, so figure + // out the property name and set an + // element in an associative array, + // for now + $parts = array(); + + if (preg_match('/^\s*(["\'].*[^\\\]["\'])\s*:\s*(\S.*),?$/Uis', $slice, $parts)) { + // "name":value pair + $key = $this->decode($parts[1]); + $val = $this->decode($parts[2]); + + if ($this->use & SERVICES_JSON_LOOSE_TYPE) { + $obj[$key] = $val; + } else { + $obj->$key = $val; + } + } elseif (preg_match('/^\s*(\w+)\s*:\s*(\S.*),?$/Uis', $slice, $parts)) { + // name:value pair, where name is unquoted + $key = $parts[1]; + $val = $this->decode($parts[2]); + + if ($this->use & SERVICES_JSON_LOOSE_TYPE) { + $obj[$key] = $val; + } else { + $obj->$key = $val; + } + } + + } + + } elseif ((($chrs[$c] == '"') || ($chrs[$c] == "'")) && ($top['what'] != SERVICES_JSON_IN_STR)) { + // found a quote, and we are not inside a string + array_push($stk, array('what' => SERVICES_JSON_IN_STR, 'where' => $c, 'delim' => $chrs[$c])); + //print("Found start of string at {$c}\n"); + + } elseif (($chrs[$c] == $top['delim']) && + ($top['what'] == SERVICES_JSON_IN_STR) && + ((strlen(substr($chrs, 0, $c)) - strlen(rtrim(substr($chrs, 0, $c), '\\'))) % 2 != 1)) { + // found a quote, we're in a string, and it's not escaped + // we know that it's not escaped becase there is _not_ an + // odd number of backslashes at the end of the string so far + array_pop($stk); + //print("Found end of string at {$c}: ".substr($chrs, $top['where'], (1 + 1 + $c - $top['where']))."\n"); + + } elseif (($chrs[$c] == '[') && + in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { + // found a left-bracket, and we are in an array, object, or slice + array_push($stk, array('what' => SERVICES_JSON_IN_ARR, 'where' => $c, 'delim' => false)); + //print("Found start of array at {$c}\n"); + + } elseif (($chrs[$c] == ']') && ($top['what'] == SERVICES_JSON_IN_ARR)) { + // found a right-bracket, and we're in an array + array_pop($stk); + //print("Found end of array at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n"); + + } elseif (($chrs[$c] == '{') && + in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { + // found a left-brace, and we are in an array, object, or slice + array_push($stk, array('what' => SERVICES_JSON_IN_OBJ, 'where' => $c, 'delim' => false)); + //print("Found start of object at {$c}\n"); + + } elseif (($chrs[$c] == '}') && ($top['what'] == SERVICES_JSON_IN_OBJ)) { + // found a right-brace, and we're in an object + array_pop($stk); + //print("Found end of object at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n"); + + } elseif (($substr_chrs_c_2 == '/*') && + in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { + // found a comment start, and we are in an array, object, or slice + array_push($stk, array('what' => SERVICES_JSON_IN_CMT, 'where' => $c, 'delim' => false)); + $c++; + //print("Found start of comment at {$c}\n"); + + } elseif (($substr_chrs_c_2 == '*/') && ($top['what'] == SERVICES_JSON_IN_CMT)) { + // found a comment end, and we're in one now + array_pop($stk); + $c++; + + for ($i = $top['where']; $i <= $c; ++$i) + $chrs = substr_replace($chrs, ' ', $i, 1); + + //print("Found end of comment at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n"); + + } + + } + + if (reset($stk) == SERVICES_JSON_IN_ARR) { + return $arr; + + } elseif (reset($stk) == SERVICES_JSON_IN_OBJ) { + return $obj; + + } + + } + } + } + + function isError($data, $code = null) + { + if (is_object($data) && (get_class($data) == 'services_json_error' || + is_subclass_of($data, 'services_json_error'))) { + return true; + } + + return false; + } + } +} + +if (!class_exists('Services_JSON_Error')) { + class Services_JSON_Error + { + function __construct($message = 'unknown error', $code = null, + $mode = null, $options = null, $userinfo = null) + { + + } + } +} + +?> diff --git a/vendor/campaignmonitor/createsend-php/class/transport.php b/vendor/campaignmonitor/createsend-php/class/transport.php new file mode 100644 index 00000000..067aee2c --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/class/transport.php @@ -0,0 +1,352 @@ +log_message('No transport is available', __FUNCTION__, CS_REST_LOG_ERROR); + trigger_error('No transport is available.'. + ($requires_ssl ? ' Try using non-secure (http) mode or ' : ' Please '). + 'ensure the cURL extension is loaded', E_USER_ERROR); + } + } +} + +if(!function_exists("CS_REST_TRANSPORT_can_use_raw_socket")) { + function CS_REST_TRANSPORT_can_use_raw_socket($requires_ssl) { + if(function_exists('fsockopen')) { + if($requires_ssl) { + return extension_loaded('openssl'); + } + + return true; + } + + return false; + } +} + +if (!class_exists('CS_REST_BaseTransport')) { + class CS_REST_BaseTransport { + + var $_log; + + function __construct($log) { + $this->_log = $log; + } + + function split_and_inflate($response, $may_be_compressed) { + $ra = explode("\r\n\r\n", $response); + + $result = array_pop($ra); + $headers = array_pop($ra); + + if($may_be_compressed && preg_match('/^Content-Encoding:\s+gzip\s+$/im', $headers)) { + $original_length = strlen($response); + $result = gzinflate(substr($result, 10, -8)); + + $this->_log->log_message('Inflated gzipped response: '.$original_length.' bytes ->'. + strlen($result).' bytes', get_class(), CS_REST_LOG_VERBOSE); + } + + return array($headers, $result); + } + + } +} +/** + * Provide HTTP request functionality via cURL extensions + * + * @author tobyb + * @since 1.0 + */ +if (!class_exists('CS_REST_CurlTransport')) { + class CS_REST_CurlTransport extends CS_REST_BaseTransport { + + var $_curl_zlib; + + function __construct($log) { + parent::__construct($log); + + $curl_version = curl_version(); + $this->_curl_zlib = isset($curl_version['libz_version']); + } + + /** + * @return string The type of transport used + */ + function get_type() { + return 'cURL'; + } + + function make_call($call_options) { + $ch = curl_init(); + + curl_setopt($ch, CURLOPT_URL, $call_options['route']); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + curl_setopt($ch, CURLOPT_HEADER, true); + $headers = array(); + $headers[] = 'Content-Type: '.$call_options['contentType']; + + + if (array_key_exists('authdetails', $call_options) && + isset($call_options['authdetails'])) { + if (array_key_exists('username', $call_options['authdetails']) && + array_key_exists('password', $call_options['authdetails'])) { + # Authenticating using basic auth for retrieving user's API key. + curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); + curl_setopt($ch, CURLOPT_USERPWD, $call_options['authdetails']['username'].':'.$call_options['authdetails']['password']); + } elseif (array_key_exists('access_token', $call_options['authdetails'])) { + # Authenticating using OAuth. + $access_token = $call_options['authdetails']['access_token']; + $headers[] = 'Authorization: Bearer '.$access_token; + } elseif (array_key_exists('api_key', $call_options['authdetails'])) { + # Authenticating using an API key. + curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); + $api_key = $call_options['authdetails']['api_key']; + curl_setopt($ch, CURLOPT_USERPWD, $api_key.':nopass'); + } + } + + curl_setopt($ch, CURLOPT_USERAGENT, $call_options['userAgent']); + curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, CS_REST_SOCKET_TIMEOUT); + curl_setopt($ch, CURLOPT_TIMEOUT, CS_REST_CALL_TIMEOUT); + + $inflate_response = false; + if($this->_curl_zlib) { + $this->_log->log_message('curl+zlib support available. Requesting gzipped response.', + get_class($this), CS_REST_LOG_VERBOSE); + curl_setopt($ch, CURLOPT_ENCODING, 'gzip'); + } else if(function_exists('gzinflate')) { + $headers[] = 'Accept-Encoding: gzip'; + $inflate_response = true; + } + + if($call_options['protocol'] === 'https') { + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true); + curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2); + + if(strlen(ini_get('curl.cainfo')) === 0) { + curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__).'/cacert.pem'); + } + } + + switch($call_options['method']) { + case CS_REST_PUT: + curl_setopt($ch, CURLOPT_CUSTOMREQUEST, CS_REST_PUT); + $headers[] = 'Content-Length: '.strlen($call_options['data']); + curl_setopt($ch, CURLOPT_POSTFIELDS, $call_options['data']); + break; + case CS_REST_POST: + curl_setopt($ch, CURLOPT_POST, true); + curl_setopt($ch, CURLOPT_POSTFIELDS, isset($call_options['data']) ? $call_options['data'] : ''); + break; + case CS_REST_DELETE: + curl_setopt($ch, CURLOPT_CUSTOMREQUEST, CS_REST_DELETE); + break; + } + + if(count($headers) > 0) { + curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); + } + + $response = curl_exec($ch); + + if(!$response && $response !== '') { + $this->_log->log_message('Error making request with curl_error: '.curl_errno($ch), + get_class($this), CS_REST_LOG_ERROR); + + require_once dirname(__FILE__).'/exceptions.php'; + throw new CurlException(curl_error($ch), curl_errno($ch)); + } + + list( $headers, $result ) = $this->split_and_inflate($response, $inflate_response); + + $this->_log->log_message('API Call Info for '.$call_options['method'].' '. + curl_getinfo($ch, CURLINFO_EFFECTIVE_URL).': '.curl_getinfo($ch, CURLINFO_SIZE_UPLOAD). + ' bytes uploaded. '.curl_getinfo($ch, CURLINFO_SIZE_DOWNLOAD).' bytes downloaded'. + ' Total time (seconds): '.curl_getinfo($ch, CURLINFO_TOTAL_TIME), + get_class($this), CS_REST_LOG_VERBOSE); + + $result = array( + 'code' => curl_getinfo($ch, CURLINFO_HTTP_CODE), + 'response' => $result + ); + + curl_close($ch); + + return $result; + } + } +} + +if (!class_exists('CS_REST_SocketWrapper')) { + class CS_REST_SocketWrapper { + var $socket; + + function open($domain, $port) { + $this->socket = fsockopen($domain, $port, $errno, $errstr, CS_REST_SOCKET_TIMEOUT); + + if(!$this->socket) { + die('Error making request with '.$errno.': '.$errstr); + return false; + } else if(function_exists('stream_set_timeout')) { + stream_set_timeout($this->socket, CS_REST_SOCKET_TIMEOUT); + } + + return true; + } + + function write($data) { + fwrite($this->socket, $data); + } + + function read() { + ob_start(); + fpassthru($this->socket); + + return ob_get_clean(); + } + + function close() { + fclose($this->socket); + } + } +} + +if (!class_exists('CS_REST_SocketTransport')) { + class CS_REST_SocketTransport extends CS_REST_BaseTransport { + + var $_socket_wrapper; + + function __construct($log, $socket_wrapper = NULL) { + parent::__construct($log); + + if(is_null($socket_wrapper)) { + $socket_wrapper = new CS_REST_SocketWrapper(); + } + + $this->_socket_wrapper = $socket_wrapper; + } + + /** + * @return string The type of transport used + */ + function get_type() { + return 'Socket'; + } + + function make_call($call_options) { + $start_host = strpos($call_options['route'], $call_options['host']); + $host_len = strlen($call_options['host']); + + $domain = substr($call_options['route'], $start_host, $host_len); + $host = $domain; + $path = substr($call_options['route'], $start_host + $host_len); + $protocol = substr($call_options['route'], 0, $start_host); + $port = 80; + + $this->_log->log_message('Creating socket to '.$domain.' over '.$protocol.' for request to '.$path, + get_class($this), CS_REST_LOG_VERBOSE); + + if($protocol === 'https://') { + $domain = 'ssl://'.$domain; + $port = 443; + } + + if($this->_socket_wrapper->open($domain, $port)) { + $inflate_response = function_exists('gzinflate'); + + $request = $this->_build_request($call_options, $host, $path, $inflate_response); + $this->_log->log_message('Sending
'.$request.'
down the socket', + get_class($this), CS_REST_LOG_VERBOSE); + + $this->_socket_wrapper->write($request); + $response = $this->_socket_wrapper->read(); + $this->_socket_wrapper->close(); + + $this->_log->log_message('API Call Info for '.$call_options['method'].' '. + $call_options['route'].': '.strlen($request). + ' bytes uploaded. '.strlen($response).' bytes downloaded', + get_class($this), CS_REST_LOG_VERBOSE); + + list( $headers, $result ) = $this->split_and_inflate($response, $inflate_response); + + $this->_log->log_message('Received headers
'.$headers.'
', + get_class($this), CS_REST_LOG_VERBOSE); + + return array( + 'code' => $this->_get_status_code($headers), + 'response' => trim($result) + ); + } + } + + function _get_status_code($headers) { + if (preg_match('%^\s*HTTP/1\.1 (?P\d{3})%', $headers, $regs)) { + $this->_log->log_message('Got HTTP Status Code: '.$regs['code'], + get_class($this), CS_REST_LOG_VERBOSE); + return $regs['code']; + } + + $this->_log->log_message('Failed to get HTTP status code from request headers
'.$headers.'
', + get_class($this), CS_REST_LOG_ERROR); + trigger_error('Failed to get HTTP status code from request', E_USER_ERROR); + } + + function _build_request($call_options, $host, $path, $accept_gzip) { + $request_auth_details = ''; + + if (array_key_exists('authdetails', $call_options)) { + if (array_key_exists('username', $call_options['authdetails']) && + array_key_exists('password', $call_options['authdetails'])) { + # Authenticating using basic auth for retrieving user's API key. + $request_auth_details .= 'Authorization: Basic '.base64_encode($call_options['authdetails']['username'].':'.$call_options['authdetails']['password'])."\n"; + } elseif (array_key_exists('access_token', $call_options['authdetails'])) { + # Authenticating using OAuth. + $access_token = $call_options['authdetails']['access_token']; + $request_auth_details .= 'Authorization: Bearer '.$access_token."\n"; + } elseif (array_key_exists('api_key', $call_options['authdetails'])) { + # Authenticating using an API key. + $api_key = $call_options['authdetails']['api_key']; + $request_auth_details .= 'Authorization: Basic '.base64_encode($api_key.':nopass')."\n"; + } + } + + $request = + $call_options['method'].' '.$path." HTTP/1.1\n". + 'Host: '.$host."\n". + $request_auth_details. + 'User-Agent: '.$call_options['userAgent']."\n". + "Connection: Close\n". + 'Content-Type: '.$call_options['contentType']."\n"; + + if($accept_gzip) { + $request .= + "Accept-Encoding: gzip\n"; + } + + if(isset($call_options['data'])) { + $request .= + 'Content-Length: '.strlen($call_options['data'])."\n\n". + $call_options['data']; + } + + return $request."\n\n"; + } + } +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/composer.json b/vendor/campaignmonitor/createsend-php/composer.json new file mode 100644 index 00000000..8df5e8ab --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/composer.json @@ -0,0 +1,40 @@ +{ + "name": "campaignmonitor/createsend-php", + "type": "library", + "description": "A php library which implements the complete functionality of the Campaign Monitor API.", + "keywords": ["campaign", "monitor", "api"], + "homepage": "http://campaignmonitor.github.io/createsend-php/", + "license": "MIT", + "authors": [ + { + "name": "Toby Brain", + "email": "tobio85@gmail.com", + "role": "Developer" + } + ], + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "simpletest/simpletest": "~1.1.3" + }, + "autoload": { + "classmap": [ + "csrest_administrators.php", + "csrest_campaigns.php", + "csrest_clients.php", + "csrest_general.php", + "csrest_events.php", + "csrest_lists.php", + "csrest_people.php", + "csrest_segments.php", + "csrest_subscribers.php", + "csrest_templates.php", + "csrest_transactional_classicemail.php", + "csrest_transactional_smartemail.php", + "csrest_transactional_timeline.php", + "csrest_journeys.php", + "csrest_journey_emails.php" + ] + } +} diff --git a/vendor/campaignmonitor/createsend-php/csrest_administrators.php b/vendor/campaignmonitor/createsend-php/csrest_administrators.php new file mode 100644 index 00000000..dfee6b34 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/csrest_administrators.php @@ -0,0 +1,110 @@ + 'your access token', + * 'refresh_token' => 'your refresh token') + * + * Or if using an API key: + * array('api_key' => 'your api key') + * @param $protocol string The protocol to use for requests (http|https) + * @param $debug_level int The level of debugging required CS_REST_LOG_NONE | CS_REST_LOG_ERROR | CS_REST_LOG_WARNING | CS_REST_LOG_VERBOSE + * @param $host string The host to send API requests to. There is no need to change this + * @param $log CS_REST_Log The logger to use. Used for dependency injection + * @param $serialiser The serialiser to use. Used for dependency injection + * @param $transport The transport to use. Used for dependency injection + * @access public + */ + function __construct ( + $auth_details, + $protocol = 'https', + $debug_level = CS_REST_LOG_NONE, + $host = 'api.createsend.com', + $log = NULL, + $serialiser = NULL, + $transport = NULL) { + + parent::__construct($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport); + $this->_admins_base_route = $this->_base_route.'admins'; + } + + /** + * Adds a new administrator to the current account + * @param array $admin The administrator details to use during creation. + * This array should be of the form + * array ( + * 'EmailAddress' => The new administrator email address + * 'Name' => The name of the new administrator + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function add($admin) { + return $this->post_request($this->_admins_base_route.'.json', $admin); + } + + /** + * Updates details for an existing administrator associated with the current account + * @param string $email The email address of the administrator to be updated + * @param array $admin The updated administrator details to use for the update. + * This array should be of the form + * array ( + * 'EmailAddress' => The new email address + * 'Name' => The updated name of the administrator + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function update($email, $admin) { + return $this->put_request($this->_admins_base_route.'.json?email='.urlencode($email), $admin); + } + + /** + * Gets the details for a specific administrator + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'EmailAddress' => The email address of the administrator + * 'Name' => The name of the administrator + * 'Status' => The status of the administrator + * ) + * } + */ + function get($email) { + return $this->get_request($this->_admins_base_route.'.json?email='.urlencode($email)); + } + + + /** + * deletes the given administrator from the current account + * @param string $email The email address of the administrator to delete + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function delete($email) { + return $this->delete_request($this->_admins_base_route.'.json?email='.urlencode($email)); + } + } +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/csrest_campaigns.php b/vendor/campaignmonitor/createsend-php/csrest_campaigns.php new file mode 100644 index 00000000..fdab3308 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/csrest_campaigns.php @@ -0,0 +1,442 @@ + 'your access token', + * 'refresh_token' => 'your refresh token') + * + * Or if using an API key: + * array('api_key' => 'your api key') + * @param $protocol string The protocol to use for requests (http|https) + * @param $debug_level int The level of debugging required CS_REST_LOG_NONE | CS_REST_LOG_ERROR | CS_REST_LOG_WARNING | CS_REST_LOG_VERBOSE + * @param $host string The host to send API requests to. There is no need to change this + * @param $log CS_REST_Log The logger to use. Used for dependency injection + * @param $serialiser The serialiser to use. Used for dependency injection + * @param $transport The transport to use. Used for dependency injection + * @access public + */ + function __construct ( + $campaign_id, + $auth_details, + $protocol = 'https', + $debug_level = CS_REST_LOG_NONE, + $host = 'api.createsend.com', + $log = NULL, + $serialiser = NULL, + $transport = NULL) { + + parent::__construct($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport); + $this->set_campaign_id($campaign_id); + } + + /** + * Change the campaign id used for calls after construction + * @param $campaign_id + * @access public + */ + function set_campaign_id($campaign_id) { + $this->_campaigns_base_route = $this->_base_route.'campaigns/'.$campaign_id.'/'; + } + + /** + * Creates a new campaign based on the provided campaign info. + * At least on of the ListIDs and Segments parameters must be provided + * @param string $client_id The client to create the campaign for + * @param array $campaign_info The campaign information to use during creation. + * This array should be of the form + * array( + * 'Subject' => string required The campaign subject + * 'Name' => string required The campaign name + * 'FromName' => string required The From name for the campaign + * 'FromEmail' => string required The From address for the campaign + * 'ReplyTo' => string required The Reply-To address for the campaign + * 'HtmlUrl' => string required A url to download the campaign HTML from + * 'TextUrl' => string optional A url to download the campaign + * text version from. If not provided, text content will be + * automatically generated from HTML content. + * 'ListIDs' => array optional An array of list ids to send the campaign to + * 'SegmentIDs' => array optional An array of segment ids to send the campaign to. + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be the ID of the newly created campaign + */ + function create($client_id, $campaign_info) { + return $this->post_request($this->_base_route.'campaigns/'.$client_id.'.json', $campaign_info); + } + + /** + * Creates a new campaign from a template based on the info provided. + * At least on of the ListIDs and Segments parameters must be provided + * @param string $client_id The client to create the campaign for + * @param array $campaign_info The campaign information to use during creation. + * This array should be of the form + * array( + * 'Subject' => string required The campaign subject + * 'Name' => string required The campaign name + * 'FromName' => string required The From name for the campaign + * 'FromEmail' => string required The From address for the campaign + * 'ReplyTo' => string required The Reply-To address for the campaign + * 'ListIDs' => array optional An array of list ids to send the campaign to + * 'SegmentIDs' => array optional An array of segment ids to send the campaign to + * 'TemplateID' => string required The ID of the template to use + * 'TemplateContent' => array required The content which will be used to fill the editable areas of the template + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be the ID of the newly created campaign + */ + function create_from_template($client_id, $campaign_info) { + return $this->post_request($this->_base_route.'campaigns/'.$client_id.'/fromtemplate.json', $campaign_info); + } + + /** + * Sends a preview of an existing campaign to the specified recipients. + * @param array $recipients The recipients to send the preview to. + * @param string $personalize How to personalize the campaign content. Valid options are: + * 'Random': Choose a random campaign recipient and use their personalisation data + * 'Fallback': Use the fallback terms specified in the campaign content + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function send_preview($recipients, $personalize = 'Random') { + $preview_data = array( + 'PreviewRecipients' => $recipients, + 'Personalize' => $personalize + ); + + return $this->post_request($this->_campaigns_base_route.'sendpreview.json', $preview_data); + } + + /** + * Sends an existing campaign based on the scheduling information provided + * @param array $schedule The campaign scheduling information. + * This array should be of the form + * array ( + * 'ConfirmationEmail' => string required The email address to send a confirmation email to, + * 'SendDate' => string required The date to send the campaign or 'immediately'. + * The date should be in the format 'y-M-d' + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function send($schedule) { + return $this->post_request($this->_campaigns_base_route.'send.json', $schedule); + } + + /** + * Unschedules the campaign, moving it back into the drafts. If the campaign has been sent or is + * in the process of sending, this api request will fail. + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function unschedule() { + return $this->post_request($this->_campaigns_base_route.'unschedule.json', NULL); + } + + /** + * Deletes an existing campaign from the system + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function delete() { + return $this->delete_request(trim($this->_campaigns_base_route, '/').'.json'); + } + + /** + * Gets all email addresses on the current clients suppression list + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field The field to order the record set by ('EMAIL', 'LIST') + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The suppressed email address + * 'ListID' => The ID of the list this subscriber comes from + * } + * ) + * } + */ + function get_recipients($page_number = NULL, $page_size = NULL, $order_field = NULL, + $order_direction = NULL) { + return $this->get_request_paged($this->_campaigns_base_route.'recipients.json', $page_number, + $page_size, $order_field, $order_direction); + } + + /** + * Gets all bounces recorded for a campaign + * @param string $since The date to start getting bounces from + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field The field to order the record set by ('EMAIL', 'LIST', 'DATE') + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The email that bounced + * 'ListID' => The ID of the list the subscriber was on + * 'BounceType' => The type of bounce + * 'Date' => The date the bounce message was received + * 'Reason' => The reason for the bounce + * } + * ) + * } + * ) + */ + function get_bounces($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL, + $order_direction = NULL) { + return $this->get_request_paged($this->_campaigns_base_route.'bounces.json?date='.urlencode($since), + $page_number, $page_size, $order_field, $order_direction); + } + + /** + * Gets the lists a campaign was sent to + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'Lists' => array( + * { + * 'ListID' => The list id + * 'Name' => The list name + * } + * ), + * 'Segments' => array( + * { + * 'ListID' => The list id of the segment + * 'SegmentID' => The id of the segment + * 'Title' => The title of the segment + * } + * ) + * } + */ + function get_lists_and_segments() { + return $this->get_request($this->_campaigns_base_route.'listsandsegments.json'); + } + + /** + * Gets a summary of all campaign reporting statistics + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'Name' => The name of the campaign + * 'Recipients' => The total recipients of the campaign + * 'TotalOpened' => The total number of opens recorded + * 'Clicks' => The total number of recorded clicks + * 'Unsubscribed' => The number of recipients who unsubscribed + * 'Bounced' => The number of recipients who bounced + * 'UniqueOpened' => The number of recipients who opened + * 'WebVersionURL' => The url of the web version of the campaign + * 'WebVersionTextURL' => The url of the web version of the text version of the campaign + * 'WorldviewURL' => The public Worldview URL for the campaign + * 'Forwards' => The number of times the campaign has been forwarded to a friend + * 'Likes' => The number of times the campaign has been 'liked' on Facebook + * 'Mentions' => The number of times the campaign has been tweeted about + * 'SpamComplaints' => The number of recipients who marked the campaign as spam + * } + */ + function get_summary() { + return $this->get_request($this->_campaigns_base_route.'summary.json'); + } + + /** + * Gets the email clients that subscribers used to open the campaign + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array( + * { + * Client => The email client name + * Version => The email client version + * Percentage => The percentage of subscribers who used this email client + * Subscribers => The actual number of subscribers who used this email client + * } + * ) + */ + function get_email_client_usage() { + return $this->get_request($this->_campaigns_base_route.'emailclientusage.json'); + } + + /** + * Gets all opens recorded for a campaign since the provided date + * @param string $since The date to start getting opens from + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field The field to order the record set by ('EMAIL', 'LIST', 'DATE') + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The email address of the subscriber who opened + * 'ListID' => The list id of the list containing the subscriber + * 'Date' => The date of the open + * 'IPAddress' => The ip address where the open originated + * 'Latitude' => The geocoded latitude from the IP address + * 'Longitude' => The geocoded longitude from the IP address + * 'City' => The geocoded city from the IP address + * 'Region' => The geocoded region from the IP address + * 'CountryCode' => The geocoded two letter country code from the IP address + * 'CountryName' => The geocoded full country name from the IP address + * } + * ) + * } + */ + function get_opens($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL, + $order_direction = NULL) { + return $this->get_request_paged($this->_campaigns_base_route.'opens.json?date='.urlencode($since), + $page_number, $page_size, $order_field, $order_direction); + } + + /** + * Gets all clicks recorded for a campaign since the provided date + * @param string $since The date to start getting clicks from + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field The field to order the record set by ('EMAIL', 'LIST', 'DATE') + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The email address of the subscriber who clicked + * 'ListID' => The list id of the list containing the subscriber + * 'Date' => The date of the click + * 'IPAddress' => The ip address where the click originated + * 'URL' => The url that the subscriber clicked on + * 'Latitude' => The geocoded latitude from the IP address + * 'Longitude' => The geocoded longitude from the IP address + * 'City' => The geocoded city from the IP address + * 'Region' => The geocoded region from the IP address + * 'CountryCode' => The geocoded two letter country code from the IP address + * 'CountryName' => The geocoded full country name from the IP address + * } + * ) + * } + */ + function get_clicks($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL, + $order_direction = NULL) { + return $this->get_request_paged($this->_campaigns_base_route.'clicks.json?date='.urlencode($since), + $page_number, $page_size, $order_field, $order_direction); + } + + /** + * Gets all unsubscribes recorded for a campaign since the provided date + * @param string $since The date to start getting unsubscribes from + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field The field to order the record set by ('EMAIL', 'LIST', 'DATE') + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The email address of the subscriber who unsubscribed + * 'ListID' => The list id of the list containing the subscriber + * 'Date' => The date of the unsubscribe + * 'IPAddress' => The ip address where the unsubscribe originated + * } + * ) + * } + */ + function get_unsubscribes($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL, + $order_direction = NULL) { + return $this->get_request_paged($this->_campaigns_base_route.'unsubscribes.json?date='.urlencode($since), + $page_number, $page_size, $order_field, $order_direction); + } + + /** + * Gets all spam complaints recorded for a campaign since the provided date + * @param string $since The date to start getting spam complaints from + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field The field to order the record set by ('EMAIL', 'LIST', 'DATE') + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The email address of the subscriber who unsubscribed + * 'ListID' => The list id of the list containing the subscriber + * 'Date' => The date of the unsubscribe + * } + * ) + * } + */ + function get_spam($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL, + $order_direction = NULL) { + return $this->get_request_paged($this->_campaigns_base_route.'spam.json?date='.urlencode($since), + $page_number, $page_size, $order_field, $order_direction); + } + } +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/csrest_clients.php b/vendor/campaignmonitor/createsend-php/csrest_clients.php new file mode 100644 index 00000000..51444c13 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/csrest_clients.php @@ -0,0 +1,519 @@ + 'your access token', + * 'refresh_token' => 'your refresh token') + * + * Or if using an API key: + * array('api_key' => 'your api key') + * @param $protocol string The protocol to use for requests (http|https) + * @param $debug_level int The level of debugging required CS_REST_LOG_NONE | CS_REST_LOG_ERROR | CS_REST_LOG_WARNING | CS_REST_LOG_VERBOSE + * @param $host string The host to send API requests to. There is no need to change this + * @param $log CS_REST_Log The logger to use. Used for dependency injection + * @param $serialiser The serialiser to use. Used for dependency injection + * @param $transport The transport to use. Used for dependency injection + * @access public + */ + function __construct( + $client_id, + $auth_details, + $protocol = 'https', + $debug_level = CS_REST_LOG_NONE, + $host = 'api.createsend.com', + $log = NULL, + $serialiser = NULL, + $transport = NULL) { + + parent::__construct($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport); + $this->set_client_id($client_id); + } + + /** + * Change the client id used for calls after construction + * @param $client_id + * @access public + */ + function set_client_id($client_id) { + $this->_clients_base_route = $this->_base_route.'clients/'.$client_id.'/'; + } + + /** + * Gets a list of sent campaigns for the current client + * @param string|array $tags The array or comma separated string of tags to filter by + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @param string $sent_from_date Only include campaigns after this date, in the format YYYY-MM-DD + * @param string $sent_to_date Only include campaigns before this date, in the format YYYY-MM-DD + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'WebVersionURL' => The web version url of the campaign + * 'WebVersionTextURL' => The web version url of the text version of the campaign + * 'CampaignID' => The id of the campaign + * 'Subject' => The campaign subject + * 'Name' => The name of the campaign + * 'FromName' => The from name for the campaign + * 'FromEmail' => The from email address for the campaign + * 'ReplyTo' => The reply to email address for the campaign + * 'SentDate' => The sent data of the campaign + * 'TotalRecipients' => The number of recipients of the campaign + * 'Tags' => An array of the tags associated with the campaign + * } + * ) + * } + */ + function get_campaigns($tags = NULL, $page_number = NULL, $page_size = NULL, $order_direction = NULL, $sent_from_date = NULL, $sent_to_date = NULL) { + if(!is_null($tags)) { + $query['tags'] = is_array($tags) + ? implode(',', $tags) + : $tags; + } + + if(!is_null($sent_from_date)) { + $query['sentFromDate'] = $sent_from_date; + } + + if(!is_null($sent_to_date)) { + $query['sentToDate'] = $sent_to_date; + } + + $query = !empty($query) ? '?'.http_build_query($query) : ''; + + return $this->get_request_paged($this->_clients_base_route.'campaigns.json'.$query, + $page_number, $page_size, NULL, $order_direction); + } + + /** + * Gets a list of scheduled campaigns for the current client + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array( + * { + * 'CampaignID' => The id of the campaign + * 'Name' => The name of the campaign + * 'Subject' => The subject of the campaign + * 'FromName' => The from name for the campaign + * 'FromEmail' => The from email address for the campaign + * 'ReplyTo' => The reply to email address for the campaign + * 'DateCreated' => The date the campaign was created + * 'PreviewURL' => The preview url of the campaign + * 'PreviewTextURL' => The preview url of the text version of the campaign + * 'DateScheduled' => The date the campaign is scheduled to be sent + * 'ScheduledTimeZone' => The time zone in which the campaign is scheduled to be sent at 'DateScheduled' + * 'Tags' => An array of the tags associated with the campaign + * } + * ) + */ + function get_scheduled() { + return $this->get_request($this->_clients_base_route.'scheduled.json'); + } + + /** + * Gets a list of draft campaigns for the current client + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array( + * { + * 'CampaignID' => The id of the campaign + * 'Name' => The name of the campaign + * 'Subject' => The subject of the campaign + * 'FromName' => The from name for the campaign + * 'FromEmail' => The from email address for the campaign + * 'ReplyTo' => The reply to email address for the campaign + * 'DateCreated' => The date the campaign was created + * 'PreviewURL' => The preview url of the draft campaign + * 'PreviewTextURL' => The preview url of the text version of the campaign + * 'Tags' => An array of the tags associated with the campaign + * } + * ) + */ + function get_drafts() { + return $this->get_request($this->_clients_base_route.'drafts.json'); + } + + /** + * Gets all subscriber lists the current client has created + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array( + * { + * 'ListID' => The id of the list + * 'Name' => The name of the list + * } + * ) + */ + function get_lists() { + return $this->get_request($this->_clients_base_route.'lists.json'); + } + + /** + * Gets the lists across a client to which a subscriber with a particular + * email address belongs. + * @param string $email_address Subscriber's email address. + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array( + * { + * 'ListID' => The id of the list + * 'ListName' => The name of the list + * 'SubscriberState' => The state of the subscriber in the list + * 'DateSubscriberAdded' => The date the subscriber was added + * } + * ) + */ + function get_lists_for_email($email_address) { + return $this->get_request($this->_clients_base_route . + 'listsforemail.json?email='.urlencode($email_address)); + } + + /** + * Gets all list segments the current client has created + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array( + * { + * 'ListID' => The id of the list owning this segment + * 'SegmentID' => The id of this segment + * 'Title' => The title of this segment + * } + * ) + */ + function get_segments() { + return $this->get_request($this->_clients_base_route.'segments.json'); + } + + /** + * Gets all email addresses on the current client's suppression list + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field The field to order the record set by ('EMAIL', 'DATE') + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The suppressed email address + * 'Date' => The date the email was suppressed + * 'State' => The state of the suppressed email + * } + * ) + * } + */ + function get_suppressionlist($page_number = NULL, $page_size = NULL, $order_field = NULL, + $order_direction = NULL) { + + return $this->get_request_paged($this->_clients_base_route.'suppressionlist.json', + $page_number, $page_size, $order_field, $order_direction, '?'); + } + + /** + * Adds email addresses to a client's suppression list. + * @param array $emails The email addresses to suppress. + * @access public + */ + function suppress($emails) { + $data = array('EmailAddresses' => $emails); + return $this->post_request($this->_clients_base_route.'suppress.json', $data); + } + + /** + * Unsuppresses an email address by removing it from the the client's + * suppression list. + * @param string $email The email address to be unsuppressed + * @access public + */ + function unsuppress($email) { + return $this->put_request($this->_clients_base_route.'unsuppress.json?email=' . urlencode($email), ''); + } + + /** + * Gets all templates the current client has access to + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array( + * { + * 'TemplateID' => The id of the template + * 'Name' => The name of the template + * 'PreviewURL' => The url to preview the template from + * 'ScreenshotURL' => The url of the template screenshot + * } + * ) + */ + function get_templates() { + return $this->get_request($this->_clients_base_route.'templates.json'); + } + + /** + * Get all the tags the current client has access to + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array( + * { + * 'Name' => The name of the tag + * 'NumberOfCampaigns' => The number of campaigns the tag is used on + * } + * ) + */ + function get_tags() { + return $this->get_request($this->_clients_base_route.'tags.json'); + } + + /** + * Gets all templates the current client has access to + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ApiKey' => The clients API Key, THIS IS NOT THE CLIENT ID + * 'BasicDetails' => + * { + * 'ClientID' => The id of the client + * 'CompanyName' => The company name of the client + * 'ContactName' => The contact name of the client + * 'EmailAddress' => The clients contact email address + * 'Country' => The clients country + * 'TimeZone' => The clients timezone + * } + * 'BillingDetails' => + * If on monthly billing + * { + * 'CurrentTier' => The current monthly tier the client sits in + * 'CurrentMonthlyRate' => The current pricing rate the client pays per month + * 'MarkupPercentage' => The percentage markup applied to the base rates + * 'Currency' => The currency paid in + * 'ClientPays' => Whether the client pays for themselves, + * 'MonthlyScheme' => Basic or Unlimited + * } + * If paying per campaign + * { + * 'CanPurchaseCredits' => Whether the client can purchase credits + * 'Credits' => The number of credits belonging to the client + * 'BaseDeliveryFee' => The base fee payable per campaign + * 'BaseRatePerRecipient' => The base fee payable per campaign recipient + * 'BaseDesignSpamTestRate' => The base fee payable per design and spam test + * 'MarkupOnDelivery' => The markup applied per campaign + * 'MarkupPerRecipient' => The markup applied per campaign recipient + * 'MarkupOnDesignSpamTest' => The markup applied per design and spam test + * 'Currency' => The currency fees are paid in + * 'ClientPays' => Whether client client pays for themselves + * } + * } + */ + function get() { + return $this->get_request(trim($this->_clients_base_route, '/').'.json'); + } + + /** + * Deletes an existing client from the system + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function delete() { + return $this->delete_request(trim($this->_clients_base_route, '/').'.json'); + } + + /** + * Creates a new client based on the provided information + * @param array $client Basic information of the new client. + * This should be an array of the form + * array( + * 'CompanyName' => The company name of the client + * 'Country' => The clients country + * 'TimeZone' => The clients timezone + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be the ID of the newly created client + */ + function create($client) { + if(isset($client['ContactName'])) { + trigger_error('[DEPRECATION] Use Person->add to set name on a new person in a client. For now, we will create a default person with the name provided.', E_USER_NOTICE); + } + if(isset($client['EmailAddress'])) { + trigger_error('[DEPRECATION] Use Person->add to set email on a new person in a client. For now, we will create a default person with the email provided.', E_USER_NOTICE); + } + return $this->post_request($this->_base_route.'clients.json', $client); + } + + /** + * Updates the basic information for a client + * @param array $client_basics Basic information of the client. + * This should be an array of the form + * array( + * 'CompanyName' => The company name of the client + * 'Country' => The clients country + * 'TimeZone' => The clients timezone + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function set_basics($client_basics) { + if(isset($client['ContactName'])) { + trigger_error('[DEPRECATION] Use person->update to set name on a particular person in a client. For now, we will update the default person with the name provided.', E_USER_NOTICE); + } + if(isset($client['EmailAddress'])) { + trigger_error('[DEPRECATION] Use person->update to set email on a particular person in a client. For now, we will update the default person with the email address provided.', E_USER_NOTICE); + } + return $this->put_request($this->_clients_base_route.'setbasics.json', $client_basics); + } + + /** + * Updates the billing details of the current client, setting the client to the payg billing model + * For clients not set to pay themselves then all fields below ClientPays are ignored + * All Markup fields are optional + * @param array $client_billing Payg billing details of the client. + * This should be an array of the form + * array( + * 'Currency' => The currency fees are paid in + * 'ClientPays' => Whether client client pays for themselves + * 'MarkupPercentage' => Can be used to set the percentage markup for all unset fees + * 'CanPurchaseCredits' => Whether the client can purchase credits + * 'MarkupOnDelivery' => The markup applied per campaign + * 'MarkupPerRecipient' => The markup applied per campaign recipient + * 'MarkupOnDesignSpamTest' => The markup applied per design and spam test + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function set_payg_billing($client_billing) { + return $this->put_request($this->_clients_base_route.'setpaygbilling.json', $client_billing); + } + + /** + * Updates the billing details of the current client, setting the client to the monthly billing model + * For clients not set to pay themselves then the markup percentage field is ignored + * @param array $client_billing Payg billing details of the client. + * This should be an array of the form + * array( + * 'Currency' => The currency fees are paid in + * 'ClientPays' => Whether client client pays for themselves + * 'MarkupPercentage' => Sets the percentage markup used for all monthly tiers + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function set_monthly_billing($client_billing) { + return $this->put_request($this->_clients_base_route.'setmonthlybilling.json', $client_billing); + } + + /** + * Transfer credits to or from this client. + * + * @param array $transfer_data Details for the credit transfer. This array + * should be of the form: + * array( + * 'Credits' => An in representing the number of credits to transfer. + * This value may be either positive if you want to allocate credits + * from your account to the client, or negative if you want to + * deduct credits from the client back into your account. + * 'CanUseMyCreditsWhenTheyRunOut' => A boolean value which if set + * to true, will allow the client to continue sending using your + * credits or payment details once they run out of credits, and if + * set to false, will prevent the client from using your credits to + * continue sending until you allocate more credits to them. + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object + * of the form: + * { + * 'AccountCredits' => Integer representing credits in your account now + * 'ClientCredits' => Integer representing credits in this client's + * account now + * } + */ + function transfer_credits($transfer_data) { + return $this->post_request($this->_clients_base_route.'credits.json', + $transfer_data); + } + + /** + * returns the people associated with this client. + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array({ + * 'EmailAddress' => the email address of the person + * 'Name' => the name of the person + * 'AccessLevel' => the access level of the person + * 'Status' => the status of the person + * }) + */ + function get_people() { + return $this->get_request($this->_clients_base_route.'people.json'); + } + + /** + * retrieves the email address of the primary contact for this client + * @return CS_REST_Wrapper_Result a successful response will be an array in the form: + * array('EmailAddress'=> email address of primary contact) + */ + function get_primary_contact() { + return $this->get_request($this->_clients_base_route.'primarycontact.json'); + } + + /** + * assigns the primary contact for this client to the person with the specified email address + * @param string $emailAddress the email address of the person designated to be the primary contact + * @return CS_REST_Wrapper_Result a successful response will be an array in the form: + * array('EmailAddress'=> email address of primary contact) + */ + function set_primary_contact($emailAddress) { + return $this->put_request($this->_clients_base_route.'primarycontact.json?email=' . urlencode($emailAddress), ''); + } + + + + /** + * Gets a list of journeys for the current client + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array({ + * 'ListID' => The id of the list + * 'JourneyID' => The id of the journey + * 'Name' => Name of the journey + * 'Status' => Status of the journey + * }) + */ + function get_journeys() { + return $this->get_request($this->_clients_base_route.'journeys.json'); + } + } +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/csrest_events.php b/vendor/campaignmonitor/createsend-php/csrest_events.php new file mode 100644 index 00000000..4eb8f958 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/csrest_events.php @@ -0,0 +1,332 @@ + 'your access token', + * 'refresh_token' => 'your refresh token') + * + * Or if using an API key: + * array('api_key' => 'your api key') + * @param $client_id string The client id to send event to + * @param $event_type string The event type we support - `custom`, `identify` and `shopify` + * @param $protocol string The protocol to use for requests (http|https) + * @param $debug_level int The level of debugging required CS_REST_LOG_NONE | CS_REST_LOG_ERROR | CS_REST_LOG_WARNING | CS_REST_LOG_VERBOSE + * @param $host string The host to send API requests to. There is no need to change this + * @param $log CS_REST_Log The logger to use. Used for dependency injection + * @param $serialiser The serialiser to use. Used for dependency injection + * @param $transport The transport to use. Used for dependency injection + * @access public + */ + function __construct ( + $auth_details, + $client_id, + $event_type, + $protocol = 'https', + $debug_level = CS_REST_LOG_NONE, + $host = 'api.createsend.com', + $log = NULL, + $serialiser = NULL, + $transport = NULL) { + parent::__construct($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport); + $this->set_client_id($client_id); + if (!isset($event_type)) { + trigger_error('$event_type should be one of \'custom\', \'identify\' or \'shopify\''); + } + $this->setEventType($event_type); + } + + /** + * Change the client id used for calls after construction + * @param $client_id + * @access public + */ + function set_client_id($client_id) { + if (!isset($client_id)) { + trigger_error('$client_id needs to be set'); + } + $this->_events_base_route = $this->_base_route.'events/'.$client_id.'/'; + $this->_client_id = $client_id; + } + + /** + * Set the type of event that we support: 'custom', 'identify' and 'shopify' + * @param $event_type string Event that we support: 'custom', 'identify' and 'shopify' + * @access private + */ + private function setEventType($event_type) { + if (!isset($event_type)) { + trigger_error('$event_type needs to be set'); + return new CS_REST_Wrapper_Result(null, 400); + } + + if (strcmp($event_type, "custom") !== 0 && + strcmp($event_type,"identify") !== 0 && + strcmp($event_type,"shopify") !== 0) { + trigger_error('$event_type needs to be one of \'custom\', \'identify\' or \'shopify\''); + $this->_invalid_event = true; + return new CS_REST_Wrapper_Result(null, 400); + } + $this->_event_type = $event_type; + } + + + /* + * Validate email address + * @param $email string email address + * @access private + */ + private function validateEmail($email) { + if (!isset($email)) { + trigger_error('$email needs to be set'); + return new CS_REST_Wrapper_Result(null, 400); + } + + if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { + trigger_error('$email needs to be a valid email address'); + return new CS_REST_Wrapper_Result(null, 400); + } + + return $email; + } + + /** + * Get the event type name + * @access public + */ + function getEventType() { + return $this->_event_type; + } + + /** + * Tracks an event + * @param string $email required email in the form "user@example.com" + * + * @param string $event_name. Name to group events by for reporting max length 1000 + * For example "Page View", "Order confirmation" + * + * @param array $data optional. Event payload. + * This should be an array, with details of the event + * array( + * 'RandomFieldObject' => array( + * 'Example'' => 'test' + * ), + * 'RandomFieldURL' => 'Example', + * 'RandomArray' => array(1,3,5,6,7), + * ) + * @param $anonymous_id string Anonymous ID to use for identify events + * @param $user_id string User ID to use for identify events + * @access public + * @return CS_REST_Wrapper_Result A successful response will include an Event ID. + * array( + * array( + * 'EventID' => 'string' + * ) + * ) + */ + function track($email, $event_name, $anonymous_id = NULL, $user_id = NULL, $data = NULL) + { + // Basic validation + if (!isset($event_name)) { + trigger_error('$event_name needs to be set'); + return new CS_REST_Wrapper_Result(null, 400); + } + if (strlen($event_name) > 1000) { + trigger_error('$event_name needs to be shorter, max length is 1000 bytes'); + return new CS_REST_Wrapper_Result(null, 400); + } + if (isset($data)) { + if (!is_array($data)) { + trigger_error('$data needs to be a valid array'); + return new CS_REST_Wrapper_Result(null, 400); + } + } + if (empty($data)) { + $data = NULL; + } + + if (strcmp($this->_event_type, "identify") === 0) { + return $this->sendIdentifyTrack($email, $event_name, $anonymous_id, $user_id, $data); + } elseif (strcmp($this->_event_type, "custom") === 0 || strcmp($this->_event_type, "shopify") === 0) { + return $this->sendNonIdentifyTrack($email, $event_name, $anonymous_id, $user_id, $data); + } + + trigger_error('event type is invalid. Supported - custom, identify or shopify'); + return new CS_REST_Wrapper_Result(null, 400); + } + + /* + * Send identify track event + * @param $email string email address + * @param $event_name string event name + * @param $anonymousId string anonymous id + * @param $userId string user id + * @param $data array event data + * @access private + */ + private function sendIdentifyTrack($email, $event_name, $anonymousId, $userId, $data) { + if (!isset($email)) { + trigger_error('email needs to be a set for identify event'); + return new CS_REST_Wrapper_Result(null, 400); + } + $minRequiredParam = 1; // anonymous id / user id + $paramPresent = 0; + if (isset($anonymousId)) { + $paramPresent += 1; + } + if (isset($userId)) { + $paramPresent += 1; + } + + if ($paramPresent < $minRequiredParam) { + trigger_error('at least one of: anonymous id, user id needs to be set and be a valid string for identify event'); + return new CS_REST_Wrapper_Result(null, 400); + } + + $this->_anonymous_id = $anonymousId; + $this->_email = $this->validateEmail($email); + $this->_user_id = $userId; + + $payload = array( + 'ContactID' => + array( + 'Email' => $this->_email, + 'AnonymousID' => $this->_anonymous_id, + 'UserID' => $this->_user_id, + ), + 'EventName' => $event_name, + 'Data' => $data + ); + return $this->sendTrack($payload); + } + + /* + * Send non-identify track event (custom or shopify) + * @param $email string email + * @param $event_name string event name + * @param $data array event data + */ + private function sendNonIdentifyTrack($email, $event_name, $anonymousId, $userId, $data) { + $paramPresent = 0; + if (isset($email)) { + $this->_email = $this->validateEmail($email); + $paramPresent += 1; + } else { + $this->_email = NULL; + } + $minRequiredParam = 1; // anonymous id / user id / email + if (isset($anonymousId)) { + $paramPresent += 1; + } + if (isset($userId)) { + $paramPresent += 1; + } + + if ($paramPresent < $minRequiredParam) { + trigger_error('at least one of: anonymous id, user id, email needs to be set and be a valid string for identify event'); + return new CS_REST_Wrapper_Result(null, 400); + } + + $this->_anonymous_id = $anonymousId; + $this->_user_id = $userId; + + $payload = array( + 'ContactID' => + array( + 'Email' => $this->_email, + 'AnonymousID' => $this->_anonymous_id, + 'UserID' => $this->_user_id + ), + 'EventName' => $event_name, + 'Data' => $data + ); + return $this->sendTrack($payload); + } + + /* + * Send track event payload + * @param $payload array Payload to send to track endpoint + * @access private + */ + private function sendTrack($payload) { + if ($this->_invalid_event) { + trigger_error('$event_type must be one of \'identify\', \'custom\' or \'shopify\''); + return new CS_REST_Wrapper_Result(null, 400); + } + // Basic validation before finally POST'ing + if (!isset($this->_base_route) || !isset($this->_event_type) || !isset($this->_client_id)) { + trigger_error('one of: $_base_route, $_event_type, $_client_id is missing during URL construction'); + return new CS_REST_Wrapper_Result(null, 400); + } + if (isset($payload) && is_array($payload)) { + $event_url = $this->_base_route . 'events/' . $this->_event_type . '/' . $this->_client_id . '/track'; + return $this->post_request($event_url, $payload); + } + trigger_error('$payload needs to be a valid array'); + return new CS_REST_Wrapper_Result(null, 400); + } + } +} + diff --git a/vendor/campaignmonitor/createsend-php/csrest_general.php b/vendor/campaignmonitor/createsend-php/csrest_general.php new file mode 100644 index 00000000..d69ae369 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/csrest_general.php @@ -0,0 +1,214 @@ + The access token to use for API calls + * 'expires_in' => The number of seconds until this access token expires + * 'refresh_token' => The refresh token to refresh the access token once it expires + * } + * @access public + **/ + public static function exchange_token( + $client_id, $client_secret, $redirect_uri, $code) { + + $body = "grant_type=authorization_code"; + $body .= "&client_id=".urlencode($client_id); + $body .= "&client_secret=".urlencode($client_secret); + $body .= "&redirect_uri=".urlencode($redirect_uri); + $body .= "&code=".urlencode($code); + + $options = array('contentType' => 'application/x-www-form-urlencoded'); + + $wrap = new CS_REST_Wrapper_Base( + NULL, 'https', CS_REST_LOG_NONE, CS_HOST, NULL, + new CS_REST_DoNothingSerialiser(), NULL); + + return $wrap->post_request(CS_OAUTH_TOKEN_URI, $body, $options); + } + + /** + * Constructor. + * @param $auth_details array Authentication details to use for API calls. + * This array must take one of the following forms: + * If using OAuth to authenticate: + * array( + * 'access_token' => 'your access token', + * 'refresh_token' => 'your refresh token') + * + * Or if using an API key: + * array('api_key' => 'your api key') + * @param $protocol string The protocol to use for requests (http|https) + * @param $debug_level int The level of debugging required CS_REST_LOG_NONE | CS_REST_LOG_ERROR | CS_REST_LOG_WARNING | CS_REST_LOG_VERBOSE + * @param $host string The host to send API requests to. There is no need to change this + * @param $log CS_REST_Log The logger to use. Used for dependency injection + * @param $serialiser The serialiser to use. Used for dependency injection + * @param $transport The transport to use. Used for dependency injection + * @access public + */ + function CS_REST_Wrapper_Base( + $auth_details, + $protocol = 'https', + $debug_level = CS_REST_LOG_NONE, + $host = 'api.createsend.com', + $log = NULL, + $serialiser = NULL, + $transport = NULL) { + $this->CS_REST_Wrapper_Base($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport); + } + + /** + * Gets an array of valid timezones + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array(timezones) + */ + function get_timezones() { + return $this->get_request($this->_base_route.'timezones.json'); + } + + /** + * Gets the current date in your accounts timezone + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'SystemDate' => string The current system date in your accounts timezone + * } + */ + function get_systemdate() { + return $this->get_request($this->_base_route.'systemdate.json'); + } + + /** + * Gets an array of valid countries + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array(countries) + */ + function get_countries() { + return $this->get_request($this->_base_route.'countries.json'); + } + + /** + * Gets an array of clients + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array( + * { + * 'ClientID' => The clients API ID, + * 'Name' => The clients name + * } + * ) + */ + function get_clients() { + return $this->get_request($this->_base_route.'clients.json'); + } + + /** + * Gets your billing details. + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'Credits' => The number of credits belonging to the account + * } + */ + function get_billing_details() { + return $this->get_request($this->_base_route.'billingdetails.json'); + } + + /** + * Gets an array of administrators + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array( + * { + * 'EmailAddress' => The administrators email address + * 'Name' => The administrators name + * 'Status' => The administrators status + * } + * ) + */ + function get_administrators() { + return $this->get_request($this->_base_route.'admins.json'); + } + + /** + * Retrieves the email address of the primary contact for this account + * @return CS_REST_Wrapper_Result a successful response will be an array in the form: + * array('EmailAddress'=> email address of primary contact) + */ + function get_primary_contact() { + return $this->get_request($this->_base_route.'primarycontact.json'); + } + + /** + * Assigns the primary contact for this account to the administrator with the specified email address + * @param $emailAddress string The email address of the administrator designated to be the primary contact + * @return CS_REST_Wrapper_Result a successful response will be an array in the form: + * array('EmailAddress'=> email address of primary contact) + */ + function set_primary_contact($emailAddress) { + return $this->put_request($this->_base_route.'primarycontact.json?email=' . urlencode($emailAddress), ''); + } + + /** + * Get a URL which initiates a new external session for the user with the given email. + * Full details: http://www.campaignmonitor.com/api/account/#single_sign_on + * + * @param $session_options array Options for initiating the external login session. + * This should be an array of the form: + * array( + * 'Email' => 'The email address of the Campaign Monitor user for whom the login session should be created', + * 'Chrome' => 'Which 'chrome' to display - Must be either "all", "tabs", or "none"', + * 'Url' => 'The URL to display once logged in. e.g. "/subscribers/"', + * 'IntegratorID' => 'The Integrator ID. You need to contact Campaign Monitor support to get an Integrator ID.', + * 'ClientID' => 'The Client ID of the client which should be active once logged in to the Campaign Monitor account.' ) + * + * @return CS_REST_Wrapper_Result A successful response will be an array of the form: + * array('SessionUrl'=> 'https://external1.createsend.com/cd/create/ABCDEF12/DEADBEEF?url=FEEDDAD1') + */ + function external_session_url($session_options) { + return $this->put_request($this->_base_route.'externalsession.json', $session_options); + } + } +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/csrest_journey_emails.php b/vendor/campaignmonitor/createsend-php/csrest_journey_emails.php new file mode 100644 index 00000000..05b257a7 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/csrest_journey_emails.php @@ -0,0 +1,253 @@ + 'your access token', + * 'refresh_token' => 'your refresh token') + * + * Or if using an API key: + * array('api_key' => 'your api key') + * @param $protocol string The protocol to use for requests (http|https) + * @param $debug_level int The level of debugging required CS_REST_LOG_NONE | CS_REST_LOG_ERROR | CS_REST_LOG_WARNING | CS_REST_LOG_VERBOSE + * @param $host string The host to send API requests to. There is no need to change this + * @param $log CS_REST_Log The logger to use. Used for dependency injection + * @param $serialiser The serialiser to use. Used for dependency injection + * @param $transport The transport to use. Used for dependency injection + * @access public + */ + + function __construct ( + $email_id, + $auth_details, + $protocol = 'https', + $debug_level = CS_REST_LOG_NONE, + $host = 'api.createsend.com', + $log = NULL, + $serialiser = NULL, + $transport = NULL) { + + parent::__construct($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport); + $this->set_email_id($email_id); + } + + + /** + * Change the email id used for calls after construction + * @param $email_id + * @access public + */ + function set_email_id($email_id) { + $this->_journey_emails_base_route = $this->_base_route.'journeys/email/'.$email_id; + } + + + + /** + * Gets all email addresses from the journey email id specified + * @param string $since The date to start getting bounces from + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field Not used + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The email address of the subscriber + * 'SentDate' => The date the subscriber was sent the mailing + * } + * ) + * } + */ + + function get_journey_recipients($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL, + $order_direction = NULL) { + return $this->get_request_paged($this->_journey_emails_base_route.'/recipients.json?date='.urlencode($since), $page_number, + $page_size, $order_field, $order_direction); + } + + + /** + * Gets all recipients from the journey email id specified + * @param string $since The date to start getting bounces from + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field Not used + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The email address of the subscriber who opened + * 'Date' => The date of the open + * 'IPAddress' => The ip address where the open originated + * 'Latitude' => The geocoded latitude from the IP address + * 'Longitude' => The geocoded longitude from the IP address + * 'City' => The geocoded city from the IP address + * 'Region' => The geocoded region from the IP address + * 'CountryCode' => The geocoded two letter country code from the IP address + * 'CountryName' => The geocoded full country name from the IP address + * } + * ) + * } + */ + + function get_journey_opens($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL, + $order_direction = NULL) { + return $this->get_request_paged($this->_journey_emails_base_route.'/opens.json?date='.urlencode($since), $page_number, + $page_size, $order_field, $order_direction); + } + + /** + * Gets all recipients who opened the journey email + * @param string $since The date to start getting bounces from + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field Not used + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The email address of the subscriber who clicked + * 'Date' => The date of the click + * 'URL' => The URL of the link that was clicked + * 'IPAddress' => The ip address where the click originated + * 'Latitude' => The geocoded latitude from the IP address + * 'Longitude' => The geocoded longitude from the IP address + * 'City' => The geocoded city from the IP address + * 'Region' => The geocoded region from the IP address + * 'CountryCode' => The geocoded two letter country code from the IP address + * 'CountryName' => The geocoded full country name from the IP address + * } + * ) + * } + */ + + function get_journey_clicks($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL, + $order_direction = NULL) { + return $this->get_request_paged($this->_journey_emails_base_route.'/clicks.json?date='.urlencode($since), $page_number, + $page_size, $order_field, $order_direction); + } + + /** + * Gets all recipients who unsubscribed from the journey email + * @param string $since The date to start getting bounces from + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field Not used + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The email address of the subscriber who unsubscribed + * 'Date' => The date of the unsubscribe + * 'IPAddress' => The ip address where the unsubscribe originated + * } + * ) + * } + */ + function get_journey_unsubscribes($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL, + $order_direction = NULL) { + return $this->get_request_paged($this->_journey_emails_base_route.'/unsubscribes.json?date='.urlencode($since), $page_number, + $page_size, $order_field, $order_direction); + } + + /** + * Gets all recipients who bounced from the journey email send + * @param string $since The date to start getting bounces from + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field Not used + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The email address of the subscriber who unsubscribed + * 'BounceType' => The bounce type + * 'Date' => The date of the bounce + * 'Reason' => The reason for the bounce + * } + * ) + * } + */ + + function get_journey_bounces($since = '', $page_number = NULL, $page_size = NULL, $order_field = NULL, + $order_direction = NULL) { + return $this->get_request_paged($this->_journey_emails_base_route.'/bounces.json?date='.urlencode($since), $page_number, + $page_size, $order_field, $order_direction); + } + } + +} diff --git a/vendor/campaignmonitor/createsend-php/csrest_journeys.php b/vendor/campaignmonitor/createsend-php/csrest_journeys.php new file mode 100644 index 00000000..c1d0da5b --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/csrest_journeys.php @@ -0,0 +1,96 @@ + 'your access token', + * 'refresh_token' => 'your refresh token') + * + * Or if using an API key: + * array('api_key' => 'your api key') + * @param $protocol string The protocol to use for requests (http|https) + * @param $debug_level int The level of debugging required CS_REST_LOG_NONE | CS_REST_LOG_ERROR | CS_REST_LOG_WARNING | CS_REST_LOG_VERBOSE + * @param $host string The host to send API requests to. There is no need to change this + * @param $log CS_REST_Log The logger to use. Used for dependency injection + * @param $serialiser The serialiser to use. Used for dependency injection + * @param $transport The transport to use. Used for dependency injection + * @access public + */ + + function __construct ( + $journey_id, + $auth_details, + $protocol = 'https', + $debug_level = CS_REST_LOG_NONE, + $host = 'api.createsend.com', + $log = NULL, + $serialiser = NULL, + $transport = NULL) { + + parent::__construct($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport); + $this->set_journey_id($journey_id); + } + + + /** + * Change the email id used for calls after construction + * @param $email_id + * @access public + */ + function set_journey_id($journey_id) { + $this->_journeys_base_route = $this->_base_route.'journeys/'.$journey_id; + } + + /** + * Gets the details of the current journey + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'JourneyID' => The journey id + * 'Name' => The name of the journey + * 'TriggerType' => The method in which the journey was triggered + * 'Status' => The status of the journey + * 'Emails' => array( + * { + * 'EmailID' => The ID of the email attached to the journey + * 'Name' => The name of the email attached to the journey + * 'Bounced' => The number of recipients who bounced + * 'Clicked' => The total number of recorded clicks + * 'Opened' => The total number of recorded opens + * 'Sent' => The total recipients of the journey email + * 'UniqueOpened' => The number of recipients who opened + * 'Unsubscribed' => The number of recipients who unsubscribed + * } + * ) + * + */ + + function get_journey_summary() { + return $this->get_request(trim($this->_journeys_base_route, '/').'.json'); + } + } + +} diff --git a/vendor/campaignmonitor/createsend-php/csrest_lists.php b/vendor/campaignmonitor/createsend-php/csrest_lists.php new file mode 100644 index 00000000..16f7bcd2 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/csrest_lists.php @@ -0,0 +1,599 @@ + 'your access token', + * 'refresh_token' => 'your refresh token') + * + * Or if using an API key: + * array('api_key' => 'your api key') + * @param $protocol string The protocol to use for requests (http|https) + * @param $debug_level int The level of debugging required CS_REST_LOG_NONE | CS_REST_LOG_ERROR | CS_REST_LOG_WARNING | CS_REST_LOG_VERBOSE + * @param $host string The host to send API requests to. There is no need to change this + * @param $log CS_REST_Log The logger to use. Used for dependency injection + * @param $serialiser The serialiser to use. Used for dependency injection + * @param $transport The transport to use. Used for dependency injection + * @access public + */ + function __construct ( + $list_id, + $auth_details, + $protocol = 'https', + $debug_level = CS_REST_LOG_NONE, + $host = 'api.createsend.com', + $log = NULL, + $serialiser = NULL, + $transport = NULL) { + + parent::__construct($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport); + $this->set_list_id($list_id); + } + + /** + * Change the list id used for calls after construction + * @param $list_id + * @access public + */ + function set_list_id($list_id) { + $this->_lists_base_route = $this->_base_route.'lists/'.$list_id.'/'; + } + + /** + * Creates a new list based on the provided details. + * Both the UnsubscribePage and the ConfirmationSuccessPage parameters are optional + * @param string $client_id The client to create the campaign for + * @param array $list_details The list details to use during creation. + * This array should be of the form + * array( + * 'Title' => string The list title + * 'UnsubscribePage' => string The page to redirect subscribers to when they unsubscribe + * 'ConfirmedOptIn' => boolean Whether this list requires confirmation of subscription + * 'ConfirmationSuccessPage' => string The page to redirect subscribers to when + * they confirm their subscription + * 'UnsubscribeSetting' => string Unsubscribe setting must be + * CS_REST_LIST_UNSUBSCRIBE_SETTING_ALL_CLIENT_LISTS or + * CS_REST_LIST_UNSUBSCRIBE_SETTING_ONLY_THIS_LIST. + * See the documentation for details: http://www.campaignmonitor.com/api/lists/#creating_a_list + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be the ID of the newly created list + */ + function create($client_id, $list_details) { + return $this->post_request($this->_base_route.'lists/'.$client_id.'.json', $list_details); + } + + /** + * Updates the details of an existing list + * Both the UnsubscribePage and the ConfirmationSuccessPage parameters are optional + * @param string $client_id The client to create the campaign for + * @param array $list_details The list details to use during creation. + * This array should be of the form + * array( + * 'Title' => string The list title + * 'UnsubscribePage' => string The page to redirect subscribers to when they unsubscribe + * 'ConfirmedOptIn' => boolean Whether this list requires confirmation of subscription + * 'ConfirmationSuccessPage' => string The page to redirect subscribers to when + * they confirm their subscription + * 'UnsubscribeSetting' => string Unsubscribe setting must be + * CS_REST_LIST_UNSUBSCRIBE_SETTING_ALL_CLIENT_LISTS or + * CS_REST_LIST_UNSUBSCRIBE_SETTING_ONLY_THIS_LIST. + * See the documentation for details: http://www.campaignmonitor.com/api/lists/#updating_a_list + * 'AddUnsubscribesToSuppList' => boolean When UnsubscribeSetting + * is CS_REST_LIST_UNSUBSCRIBE_SETTING_ALL_CLIENT_LISTS, + * whether unsubscribes from this list should be added to the + * suppression list. + * 'ScrubActiveWithSuppList' => boolean When UnsubscribeSetting + * is CS_REST_LIST_UNSUBSCRIBE_SETTING_ALL_CLIENT_LISTS, + * whether active subscribers should be scrubbed against the + * suppression list. + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function update($list_details) { + return $this->put_request(trim($this->_lists_base_route, '/').'.json', $list_details); + } + + /** + * Creates a new custom field for the current list + * @param array $custom_field_details The details of the new custom field. + * This array should be of the form + * array( + * 'FieldName' => string The name of the new custom field + * 'DataType' => string The data type of the new custom field + * This should be one of + * CS_REST_CUSTOM_FIELD_TYPE_TEXT + * CS_REST_CUSTOM_FIELD_TYPE_NUMBER + * CS_REST_CUSTOM_FIELD_TYPE_MULTI_SELECTONE + * CS_REST_CUSTOM_FIELD_TYPE_MULTI_SELECTMANY + * CS_REST_CUSTOM_FIELD_TYPE_DATE + * CS_REST_CUSTOM_FIELD_TYPE_COUNTRY + * CS_REST_CUSTOM_FIELD_TYPE_USSTATE + * 'Options' => array Valid options for either + * Multi-Optioned field data type. + * 'VisibleInPreferenceCenter' => boolean representing whether or + * not the field should be visible in the subscriber preference + * center. + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be the + * personalisation tag of the newly created custom field + */ + function create_custom_field($custom_field_details) { + return $this->post_request($this->_lists_base_route.'customfields.json', $custom_field_details); + } + + /** + * Updates a custom field for the current list + * @param string $key The personalisation tag of the field to update + * @param array $custom_field_details The details of the new custom field. + * This array should be of the form + * array( + * 'FieldName' => string The new name for the field + * 'VisibleInPreferenceCenter' => boolean representing whether or + * not the field should be visible in the subscriber preference + * center. + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be the + * personalisation tag of the updated custom field + */ + function update_custom_field($key, $custom_field_details) { + return $this->put_request($this->_lists_base_route.'customfields/'.rawurlencode($key).'.json', + $custom_field_details); + } + + /** + * Updates the optios for the given multi-optioned custom field + * @param string $key The personalisation tag of the field to update + * @param array $new_options The set of options to add to the custom field + * @param boolean $keep_existing Whether to remove any existing options not contained in $new_options + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function update_field_options($key, $new_options, $keep_existing) { + $options = array( + 'KeepExistingOptions' => $keep_existing, + 'Options' => $new_options + ); + + return $this->put_request($this->_lists_base_route.'customfields/'.rawurlencode($key).'/options.json', + $options); + } + + /** + * Deletes an existing list from the system + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function delete() { + return $this->delete_request(trim($this->_lists_base_route, '/').'.json'); + } + + /** + * Deletes an existing custom field from the system + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function delete_custom_field($key) { + return $this->delete_request($this->_lists_base_route.'customfields/'.rawurlencode($key).'.json'); + } + + /** + * Gets a list of all custom fields defined for the current list + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array( + * { + * 'FieldName' => The name of the custom field + * 'Key' => The personalisation tag of the custom field + * 'DataType' => The data type of the custom field + * 'FieldOptions' => Valid options for a multi-optioned custom field + * 'VisibleInPreferenceCenter' => Boolean representing whether or + * not the field is visible in the subscriber preference center + * } + * ) + */ + function get_custom_fields() { + return $this->get_request($this->_lists_base_route.'customfields.json'); + } + + /** + * Gets a list of all segments defined for the current list + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array( + * { + * 'ListID' => The current list id + * 'SegmentID' => The id of this segment + * 'Title' => The title of this segment + * } + * ) + */ + function get_segments() { + return $this->get_request($this->_lists_base_route.'segments.json'); + } + + /** + * Gets all active subscribers added since the given date + * @param string $added_since The date to start getting subscribers from + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field The field to order the record set by ('EMAIL', 'NAME', 'DATE') + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @param boolean $include_tracking_pref Whether or not to return the ConsentToTrack value (true, false) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The email address of the subscriber + * 'Name' => The name of the subscriber + * 'Date' => The date when the status of subscriber last changed (ie: becomes active) + * 'ListJoinedDate' => The date the subscriber was first added to the list + * 'State' => The current state of the subscriber, will be 'Active' + * 'CustomFields' => array ( + * { + * 'Key' => The personalisation tag of the custom field + * 'Value' => The value of the custom field for this subscriber + * } + * ) + * } + * ) + * } + */ + function get_active_subscribers($added_since = '', $page_number = NULL, + $page_size = NULL, $order_field = NULL, $order_direction = NULL, $include_tracking_pref = NULL) { + + return $this->get_request_paged($this->_lists_base_route.'active.json?date='.urlencode($added_since), + $page_number, $page_size, $order_field, $order_direction, $include_tracking_pref); + } + + /** + * Gets all unconfirmed subscribers added since the given date + * @param string $added_since The date to start getting subscribers from + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field The field to order the record set by ('EMAIL', 'NAME', 'DATE') + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @param boolean $include_tracking_pref Whether or not to return the ConsentToTrack value (true, false) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The email address of the subscriber + * 'Name' => The name of the subscriber + * 'Date' => The date when the status of subscriber last changed (ie: becomes unconfirmed) + * 'ListJoinedDate' => The date the subscriber was first added to the list + * 'State' => The current state of the subscriber, will be 'Unconfirmed' + * 'CustomFields' => array ( + * { + * 'Key' => The personalisation tag of the custom field + * 'Value' => The value of the custom field for this subscriber + * } + * ) + * } + * ) + * } + */ + function get_unconfirmed_subscribers($added_since = '', $page_number = NULL, + $page_size = NULL, $order_field = NULL, $order_direction = NULL, $include_tracking_pref = NULL) { + + return $this->get_request_paged($this->_lists_base_route.'unconfirmed.json?date='.urlencode($added_since), + $page_number, $page_size, $order_field, $order_direction, $include_tracking_pref); + } + + /** + * Gets all bounced subscribers who have bounced out since the given date + * @param string $added_since The date to start getting subscribers from + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field The field to order the record set by ('EMAIL', 'NAME', 'DATE') + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @param boolean $include_tracking_pref Whether or not to return the ConsentToTrack value (true, false) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The email address of the subscriber + * 'Name' => The name of the subscriber + * 'Date' => The date when the status of subscriber last changed (ie: becomes bounced) + * 'ListJoinedDate' => The date the subscriber was first added to the list + * 'State' => The current state of the subscriber, will be 'Bounced' + * 'CustomFields' => array ( + * { + * 'Key' => The personalisation tag of the custom field + * 'Value' => The value of the custom field for this subscriber + * } + * ) + * } + * ) + * } + */ + function get_bounced_subscribers($bounced_since = '', $page_number = NULL, + $page_size = NULL, $order_field = NULL, $order_direction = NULL, $include_tracking_pref = NULL) { + + return $this->get_request_paged($this->_lists_base_route.'bounced.json?date='.urlencode($bounced_since), + $page_number, $page_size, $order_field, $order_direction, $include_tracking_pref); + } + + /** + * Gets all unsubscribed subscribers who have unsubscribed since the given date + * @param string $added_since The date to start getting subscribers from + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field The field to order the record set by ('EMAIL', 'NAME', 'DATE') + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @param boolean $include_tracking_pref Whether or not to return the ConsentToTrack value (true, false) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The email address of the subscriber + * 'Name' => The name of the subscriber + * 'Date' => The date when the status of subscriber last changed (ie: becomes unsubscribed) + * 'ListJoinedDate' => The date the subscriber was first added to the list + * 'State' => The current state of the subscriber, will be 'Unsubscribed' + * 'CustomFields' => array ( + * { + * 'Key' => The personalisation tag of the custom field + * 'Value' => The value of the custom field for this subscriber + * } + * ) + * } + * ) + * } + */ + function get_unsubscribed_subscribers($unsubscribed_since = '', $page_number = NULL, + $page_size = NULL, $order_field = NULL, $order_direction = NULL, $include_tracking_pref = NULL) { + + return $this->get_request_paged($this->_lists_base_route.'unsubscribed.json?date='.urlencode($unsubscribed_since), + $page_number, $page_size, $order_field, $order_direction,$include_tracking_pref); + } + + /** + * Gets all subscribers who have been deleted since the given date + * @param string $deleted_since The date to start getting subscribers from + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field The field to order the record set by ('EMAIL', 'NAME', 'DATE') + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @param boolean $include_tracking_pref Whether or not to return the ConsentToTrack value (true, false) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The email address of the subscriber + * 'Name' => The name of the subscriber + * 'Date' => The date when the status of subscriber last changed (ie: becomes deleted) + * 'ListJoinedDate' => The date the subscriber was first added to the list + * 'State' => The current state of the subscriber, will be 'Deleted' + * 'CustomFields' => array ( + * { + * 'Key' => The personalisation tag of the custom field + * 'Value' => The value of the custom field for this subscriber + * } + * ) + * } + * ) + * } + */ + function get_deleted_subscribers($deleted_since = '', $page_number = NULL, + $page_size = NULL, $order_field = NULL, $order_direction = NULL, $include_tracking_pref = NULL) { + + return $this->get_request_paged($this->_lists_base_route.'deleted.json?date='.urlencode($deleted_since), + $page_number, $page_size, $order_field, $order_direction, $include_tracking_pref); + } + + /** + * Gets the basic details of the current list + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ListID' => The id of the list + * 'Title' => The title of the list + * 'UnsubscribePage' => The page which subscribers are redirected to upon unsubscribing + * 'ConfirmedOptIn' => Whether the list is Double-Opt In + * 'ConfirmationSuccessPage' => The page which subscribers are + * redirected to upon confirming their subscription + * 'UnsubscribeSetting' => The unsubscribe setting for the list. Will + * be either CS_REST_LIST_UNSUBSCRIBE_SETTING_ALL_CLIENT_LISTS or + * CS_REST_LIST_UNSUBSCRIBE_SETTING_ONLY_THIS_LIST. + * } + */ + function get() { + return $this->get_request(trim($this->_lists_base_route, '/').'.json'); + } + + /** + * Gets statistics for list subscriptions, deletions, bounces and unsubscriptions + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'TotalActiveSubscribers' + * 'NewActiveSubscribersToday' + * 'NewActiveSubscribersYesterday' + * 'NewActiveSubscribersThisWeek' + * 'NewActiveSubscribersThisMonth' + * 'NewActiveSubscribersThisYeay' + * 'TotalUnsubscribes' + * 'UnsubscribesToday' + * 'UnsubscribesYesterday' + * 'UnsubscribesThisWeek' + * 'UnsubscribesThisMonth' + * 'UnsubscribesThisYear' + * 'TotalDeleted' + * 'DeletedToday' + * 'DeletedYesterday' + * 'DeletedThisWeek' + * 'DeletedThisMonth' + * 'DeletedThisYear' + * 'TotalBounces' + * 'BouncesToday' + * 'BouncesYesterday' + * 'BouncesThisWeek' + * 'BouncesThisMonth' + * 'BouncesThisYear' + * } + */ + function get_stats() { + return $this->get_request($this->_lists_base_route.'stats.json'); + } + + /** + * Gets the webhooks which are currently subcribed to event on this list + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array( + * { + * 'WebhookID' => The if of + * 'Events' => An array of the events this webhook is subscribed to ('Subscribe', 'Update', 'Deactivate') + * 'Url' => The url the webhook data will be POSTed to + * 'Status' => The current status of this webhook + * 'PayloadFormat' => The format in which data will be POSTed + * } + * ) + */ + function get_webhooks() { + return $this->get_request($this->_lists_base_route.'webhooks.json'); + } + + /** + * Creates a new webhook based on the provided details + * @param array $webhook The details of the new webhook + * This array should be of the form + * array( + * 'Events' => array The events to subscribe to. Valid events are + * CS_REST_LIST_WEBHOOK_SUBSCRIBE, + * CS_REST_LIST_WEBHOOK_DEACTIVATE, + * CS_REST_LIST_WEBHOOK_UPDATE + * 'Url' => string The url of the page to POST the webhook events to + * 'PayloadFormat' => The format to use when POSTing webhook event data, either + * CS_REST_WEBHOOK_FORMAT_JSON or + * CS_REST_WEBHOOK_FORMAT_XML + * (xml or json) + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be the ID of the newly created webhook + */ + function create_webhook($webhook) { + return $this->post_request($this->_lists_base_route.'webhooks.json', $webhook); + } + + /** + * Sends test events for the given webhook id + * @param string $webhook_id The id of the webhook to test + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty. + */ + function test_webhook($webhook_id) { + return $this->get_request($this->_lists_base_route.'webhooks/'.$webhook_id.'/test.json'); + } + + /** + * Deletes an existing webhook from the system + * @param string $webhook_id The id of the webhook to delete + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function delete_webhook($webhook_id) { + return $this->delete_request($this->_lists_base_route.'webhooks/'.$webhook_id.'.json'); + } + + /** + * Activates an existing deactivated webhook + * @param string $webhook_id The id of the webhook to activate + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function activate_webhook($webhook_id) { + return $this->put_request($this->_lists_base_route.'webhooks/'.$webhook_id.'/activate.json', ''); + } + + /** + * Deactivates an existing activated webhook + * @param string $webhook_id The id of the webhook to deactivate + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function deactivate_webhook($webhook_id) { + return $this->put_request($this->_lists_base_route.'webhooks/'.$webhook_id.'/deactivate.json', ''); + } + } +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/csrest_people.php b/vendor/campaignmonitor/createsend-php/csrest_people.php new file mode 100644 index 00000000..9252d847 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/csrest_people.php @@ -0,0 +1,127 @@ + 'your access token', + * 'refresh_token' => 'your refresh token') + * + * Or if using an API key: + * array('api_key' => 'your api key') + * @param $protocol string The protocol to use for requests (http|https) + * @param $debug_level int The level of debugging required CS_REST_LOG_NONE | CS_REST_LOG_ERROR | CS_REST_LOG_WARNING | CS_REST_LOG_VERBOSE + * @param $host string The host to send API requests to. There is no need to change this + * @param $log CS_REST_Log The logger to use. Used for dependency injection + * @param $serialiser The serialiser to use. Used for dependency injection + * @param $transport The transport to use. Used for dependency injection + * @access public + */ + function __construct ( + $client_id, + $auth_details, + $protocol = 'https', + $debug_level = CS_REST_LOG_NONE, + $host = 'api.createsend.com', + $log = NULL, + $serialiser = NULL, + $transport = NULL) { + + parent::__construct($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport); + $this->set_client_id($client_id); + + } + + /** + * Change the client id used for calls after construction + * @param $client_id + * @access public + */ + function set_client_id($client_id) { + $this->_people_base_route = $this->_base_route.'clients/'.$client_id . '/people'; + } + + /** + * Adds a new person to the specified client + * @param array $person The person details to use during creation. + * This array should be of the form + * array ( + * 'EmailAddress' => The new person email address + * 'Name' => The name of the new person + * 'AccessLevel' => The access level of the new person. See http://www.campaignmonitor.com/api/clients/#setting_access_details for details + * 'Password' => (optional) if not specified, an invitation will be sent to the person by email + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function add($person) { + return $this->post_request($this->_people_base_route.'.json', $person); + } + + /** + * Updates details for an existing person associated with the specified client. + * @param string $email The email address of the person to be updated + * @param array $person The updated person details to use for the update. + * This array should be of the form + * array ( + * 'EmailAddress' => The new email address + * 'Name' => The name of the person + * 'AccessLevel' => the access level of the person + * 'Password' => (optional) if specified, changes the password to the specified value + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function update($email, $person) { + return $this->put_request($this->_people_base_route.'.json?email='.urlencode($email), $person); + } + + /** + * Gets the details for a specific person + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'EmailAddress' => The email address of the person + * 'Name' => The name of the person + * 'Status' => The status of the person + * 'AccessLevel' => The access level of the person + * ) + * } + */ + function get($email) { + return $this->get_request($this->_people_base_route.'.json?email='.urlencode($email)); + } + + + /** + * deletes the given person from the current client + * @param string $email The email address of the person to delete + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function delete($email) { + return $this->delete_request($this->_people_base_route.'.json?email='.urlencode($email)); + } + } +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/csrest_segments.php b/vendor/campaignmonitor/createsend-php/csrest_segments.php new file mode 100644 index 00000000..c5ba8561 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/csrest_segments.php @@ -0,0 +1,210 @@ + 'your access token', + * 'refresh_token' => 'your refresh token') + * + * Or if using an API key: + * array('api_key' => 'your api key') + * @param $protocol string The protocol to use for requests (http|https) + * @param $debug_level int The level of debugging required CS_REST_LOG_NONE | CS_REST_LOG_ERROR | CS_REST_LOG_WARNING | CS_REST_LOG_VERBOSE + * @param $host string The host to send API requests to. There is no need to change this + * @param $log CS_REST_Log The logger to use. Used for dependency injection + * @param $serialiser The serialiser to use. Used for dependency injection + * @param $transport The transport to use. Used for dependency injection + * @access public + */ + function __construct ( + $segment_id, + $auth_details, + $protocol = 'https', + $debug_level = CS_REST_LOG_NONE, + $host = 'api.createsend.com', + $log = NULL, + $serialiser = NULL, + $transport = NULL) { + + parent::__construct($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport); + $this->set_segment_id($segment_id); + } + + /** + * Change the segment id used for calls after construction + * @param $segment_id + * @access public + */ + function set_segment_id($segment_id) { + $this->_segments_base_route = $this->_base_route.'segments/'.$segment_id; + } + + /** + * Creates a new segment on the given list with the provided details + * @param int $list_id The list on which to create the segment + * @param $segment_details The details of the new segment + * This should be an array of the form + * array( + * 'Title' => The title of the new segment + * 'RuleGroups' => array( + * array( + * 'Rules' => array( + * array( + * 'RuleType' => The subject of this rule + * 'Clause' => The specific clauses for this rule + * ) + * ) + * ) + * ) + * ) + * @return CS_REST_Wrapper_Result A successful response will be the ID of the newly created segment + */ + function create($list_id, $segment_details) { + return $this->post_request($this->_base_route.'segments/'.$list_id.'.json', $segment_details); + } + + /** + * Updates the current segment with the provided details. Calls to this route will clear any existing rules + * @param $segment_details The new details for the segment + * This should be an array of the form + * array( + * 'Title' => The title of the new segment + * 'RuleGroups' => array( + * array( + * 'Rules' => array( + * array( + * 'RuleType' => The subject of this rule + * 'Clause' => The specific clauses for this rule + * ) + * ) + * ) + * ) + * ) + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function update($segment_details) { + return $this->put_request($this->_segments_base_route.'.json', $segment_details); + } + + /** + * Adds the given rule to the current segment + * @param $rule The rule to add to the segment + * This should be an array of the form + * array( + * 'Rules' => array( + * array( + * 'RuleType' => The subject of this rule + * 'Clause' => The specific clauses for this rule + * ) + * ) + * ) + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function add_rulegroup($rulegroup) { + return $this->post_request($this->_segments_base_route.'/rules.json', $rulegroup); + } + + /** + * Gets the details of the current segment + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ActiveSubscribers' => The number of active subscribers in this segment + * 'Rules' => array( + * { + * 'Subject' => The subject of the rule + * 'Clauses' => array The clauses making up this segment rule + * } + * ), + * 'ListID' => The ID of the list on which this segment is applied + * 'SegmentID' => The ID of this segment + * 'Title' => The title of this segment + * } + */ + function get() { + return $this->get_request($this->_segments_base_route.'.json'); + } + + /** + * Deletes an existing segment from the system + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function delete() { + return $this->delete_request($this->_segments_base_route.'.json'); + } + + /** + * Deletes all rules for the current segment + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function clear_rules() { + return $this->delete_request($this->_segments_base_route.'/rules.json'); + } + + /** + * Gets a paged collection of subscribers which fall into the given segment + * @param string $subscribed_since The date to start getting subscribers from + * @param int $page_number The page number to get + * @param int $page_size The number of records per page + * @param string $order_field The field to order the record set by ('EMAIL', 'NAME', 'DATE') + * @param string $order_direction The direction to order the record set ('ASC', 'DESC') + * @param boolean $include_tracking_pref Whether or not to return the ConsentToTrack value (true, false) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'ResultsOrderedBy' => The field the results are ordered by + * 'OrderDirection' => The order direction + * 'PageNumber' => The page number for the result set + * 'PageSize' => The page size used + * 'RecordsOnThisPage' => The number of records returned + * 'TotalNumberOfRecords' => The total number of records available + * 'NumberOfPages' => The total number of pages for this collection + * 'Results' => array( + * { + * 'EmailAddress' => The email address of the subscriber + * 'Name' => The name of the subscriber + * 'Date' => The date when the status of subscriber last changed. + * 'ListJoinedDate' => The date the subscriber was first added to the list + * 'State' => The current state of the subscriber, will be 'Active' + * 'CustomFields' => array ( + * { + * 'Key' => The personalisation tag of the custom field + * 'Value' => The value of the custom field for this subscriber + * } + * ) + * } + * ) + * } + */ + function get_subscribers($subscribed_since = '', $page_number = NULL, + $page_size = NULL, $order_field = NULL, $order_direction = NULL, $include_tracking_pref = NULL) { + + return $this->get_request_paged($this->_segments_base_route.'/active.json?date='.urlencode($subscribed_since), + $page_number, $page_size, $order_field, $order_direction, $include_tracking_pref); + } + } +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/csrest_subscribers.php b/vendor/campaignmonitor/createsend-php/csrest_subscribers.php new file mode 100644 index 00000000..f892a8e2 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/csrest_subscribers.php @@ -0,0 +1,236 @@ + 'your access token', + * 'refresh_token' => 'your refresh token') + * + * Or if using an API key: + * array('api_key' => 'your api key') + * @param string $protocol The protocol to use for requests (http|https) + * @param int $debug_level The level of debugging required CS_REST_LOG_NONE | CS_REST_LOG_ERROR | CS_REST_LOG_WARNING | CS_REST_LOG_VERBOSE + * @param string $host The host to send API requests to. There is no need to change this + * @param CS_REST_Log $log The logger to use. Used for dependency injection + * @param object|null $serialiser The serialiser to use. Used for dependency injection + * @param object|null $transport The transport to use. Used for dependency injection + * @access public + */ + function __construct ( + $list_id, + $auth_details, + $protocol = 'https', + $debug_level = CS_REST_LOG_NONE, + $host = 'api.createsend.com', + $log = NULL, + $serialiser = NULL, + $transport = NULL) { + + parent::__construct($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport); + $this->set_list_id($list_id); + + } + + /** + * Change the list id used for calls after construction + * @param $list_id + * @access public + */ + function set_list_id($list_id) { + $this->_subscribers_base_route = $this->_base_route.'subscribers/'.$list_id; + } + + /** + * Adds a new subscriber to the specified list + * @param array $subscriber The subscriber details to use during creation. + * This array should be of the form + * array ( + * 'EmailAddress' => The new subscribers email address + * 'Name' => The name of the new subscriber + * 'CustomFields' => array( + * array( + * 'Key' => The custom fields personalisation tag + * 'Value' => The value for this subscriber + * ) + * ) + * 'ConsentToTrack' => Subscriber tracking preference ("yes", "no") + * 'Resubscribe' => Whether we should resubscribe this subscriber if they already exist in the list + * 'RestartSubscriptionBasedAutoResponders' => Whether we should restart subscription based auto responders which are sent when the subscriber first subscribes to a list. + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function add($subscriber) { + return $this->post_request($this->_subscribers_base_route.'.json', $subscriber); + } + + /** + * Updates an existing subscriber (email, name, state, or custom fields) in the specified list. + * The update is performed even for inactive subscribers, but will return an error in the event of the + * given email not existing in the list. + * @param string $email The email address of the susbcriber to be updated + * @param array $subscriber The subscriber details to use for the update. Empty parameters will remain unchanged + * This array should be of the form + * array ( + * 'EmailAddress' => The new email address + * 'Name' => The name of the subscriber + * 'CustomFields' => array( + * array( + * 'Key' => The custom fields personalisation tag + * 'Value' => The value for this subscriber + * 'Clear' => true/false (pass true to remove this custom field. in the case of a [multi-option, select many] field, pass an option in the 'Value' field to clear that option or leave Value blank to remove all options) + * ) + * ) + * 'ConsentToTrack' => Subscriber tracking preference ("yes", "no") + * 'Resubscribe' => Whether we should resubscribe this subscriber if they already exist in the list + * 'RestartSubscriptionBasedAutoResponders' => Whether we should restart subscription based auto responders which are sent when the subscriber first subscribes to a list. + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function update($email, $subscriber) { + return $this->put_request($this->_subscribers_base_route.'.json?email='.urlencode($email), $subscriber); + } + + /** + * Imports an array of subscribers into the current list + * @param array $subscribers An array of subscribers to import. + * This array should be of the form + * array ( + * array ( + * 'EmailAddress' => The new subscribers email address + * 'Name' => The name of the new subscriber + * 'CustomFields' => array( + * array( + * 'Key' => The custom fields personalisation tag + * 'Value' => The value for this subscriber + * 'Clear' => true/false (pass true to remove this custom field. in the case of a [multi-option, select many] field, pass an option in the 'Value' field to clear that option or leave Value blank to remove all options) + * ) + * ) + * ) + * ) + * @param bool $resubscribe Whether we should resubscribe any existing subscribers + * @param bool $queueSubscriptionBasedAutoResponders By default, subscription based auto responders do not trigger during an import. Pass a value of true to override this behaviour + * @param bool $restartSubscriptionBasedAutoResponders By default, subscription based auto responders will not be restarted + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'TotalUniqueEmailsSubmitted' => The number of unique emails submitted in the call + * 'TotalExistingSubscribers' => The number of subscribers who already existed in the list + * 'TotalNewSubscribers' => The number of new subscriptions to the list + * 'DuplicateEmailsInSubmission' => array The emails which appeared more than once in the batch + * 'FailureDetails' => array ( + * { + * 'EmailAddress' => The email address which failed + * 'Code' => The Create Send API Error code + * 'Message' => The reason for the failure + * } + * ) + * } + * + */ + function import($subscribers, $resubscribe, $queueSubscriptionBasedAutoResponders = false, $restartSubscriptionBasedAutoResponders = false) { + $subscribers = array( + 'Resubscribe' => $resubscribe, + 'QueueSubscriptionBasedAutoResponders' => $queueSubscriptionBasedAutoResponders, + 'Subscribers' => $subscribers, + 'RestartSubscriptionBasedAutoresponders' => $restartSubscriptionBasedAutoResponders + ); + + return $this->post_request($this->_subscribers_base_route.'/import.json', $subscribers); + } + + /** + * Gets a subscriber details, including custom fields + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'EmailAddress' => The subscriber email address + * 'Name' => The subscribers name + * 'Date' => The date when the status of subscriber last changed. + * 'ListJoinedDate' => The date the subscriber was first added to the list + * 'State' => The current state of the subscriber + * 'CustomFields' => array( + * { + * 'Key' => The custom fields personalisation tag + * 'Value' => The custom field value for this subscriber + * } + * ) + * } + */ + function get($email, $include_tracking_pref = NULL) { + return $this->get_request($this->_subscribers_base_route.'.json?email='.urlencode($email), $include_tracking_pref); + } + + /** + * Gets the sending history to a specific subscriber + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array( + * { + * ID => The id of the email which was sent + * Type => 'Campaign' + * Name => The name of the email + * Actions => array( + * { + * Event => The type of action (Click, Open, Unsubscribe etc) + * Date => The date the event occurred + * IPAddress => The IP that the event originated from + * Detail => Any available details about the event i.e the URL for clicks + * } + * ) + * } + * ) + */ + function get_history($email) { + return $this->get_request($this->_subscribers_base_route.'/history.json?email='.urlencode($email)); + } + + /** + * Unsubscribes the given subscriber from the current list + * @param string $email The email address to unsubscribe + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function unsubscribe($email) { + // We need to build the subscriber data structure. + $email = array( + 'EmailAddress' => $email + ); + + return $this->post_request($this->_subscribers_base_route.'/unsubscribe.json', $email); + } + + /** + * deletes the given subscriber from the current list + * @param string $email The email address to delete + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function delete($email) { + return $this->delete_request($this->_subscribers_base_route.'.json?email='.urlencode($email)); + } + } +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/csrest_templates.php b/vendor/campaignmonitor/createsend-php/csrest_templates.php new file mode 100644 index 00000000..c55cf609 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/csrest_templates.php @@ -0,0 +1,120 @@ + 'your access token', + * 'refresh_token' => 'your refresh token') + * + * Or if using an API key: + * array('api_key' => 'your api key') + * @param $protocol string The protocol to use for requests (http|https) + * @param $debug_level int The level of debugging required CS_REST_LOG_NONE | CS_REST_LOG_ERROR | CS_REST_LOG_WARNING | CS_REST_LOG_VERBOSE + * @param $host string The host to send API requests to. There is no need to change this + * @param $log CS_REST_Log The logger to use. Used for dependency injection + * @param $serialiser The serialiser to use. Used for dependency injection + * @param $transport The transport to use. Used for dependency injection + * @access public + */ + function __construct ( + $template_id, + $auth_details, + $protocol = 'https', + $debug_level = CS_REST_LOG_NONE, + $host = 'api.createsend.com', + $log = NULL, + $serialiser = NULL, + $transport = NULL) { + + parent::__construct($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport); + $this->set_template_id($template_id); + } + + /** + * Change the template id used for calls after construction + * @param $template_id + * @access public + */ + function set_template_id($template_id) { + $this->_templates_base_route = $this->_base_route.'templates/'.$template_id.'.json'; + } + + /** + * Creates a new template for the specified client based on the provided data + * @param string $client_id The client to create the template for + * @param array $template_details The details of the template + * This should be an array of the form + * array( + * 'Name' => The name of the template + * 'HtmlPageURL' => The url where the template html can be accessed + * 'ZipFileURL' => The url where the template image zip can be accessed + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be the ID of the newly created template + */ + function create($client_id, $template_details) { + return $this->post_request($this->_base_route.'templates/'.$client_id.'.json', $template_details); + } + + /** + * Updates the current template with the provided code + * @param array $template_details The details of the template + * This should be an array of the form + * array( + * 'Name' => The name of the template + * 'HtmlPageURL' => The url where the template html can be accessed + * 'ZipFileURL' => The url where the template image zip can be accessed + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function update($template_details) { + return $this->put_request($this->_templates_base_route, $template_details); + } + + /** + * Deletes the current template from the system + * @access public + * @return CS_REST_Wrapper_Result A successful response will be empty + */ + function delete() { + return $this->delete_request($this->_templates_base_route); + } + + /** + * Gets the basic details of the current template + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * { + * 'TemplateID' => The id of the template + * 'Name' => The name of the template + * 'PreviewURL' => A url where the template can be previewed from + * 'ScreenshotURL' => The url of the template screenshot if one was provided + * } + */ + function get() { + return $this->get_request($this->_templates_base_route); + } + } +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/csrest_transactional_classicemail.php b/vendor/campaignmonitor/createsend-php/csrest_transactional_classicemail.php new file mode 100644 index 00000000..0e3c1176 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/csrest_transactional_classicemail.php @@ -0,0 +1,138 @@ + 'your access token', + * 'refresh_token' => 'your refresh token') + * + * Or if using an API key: + * array('api_key' => 'your api key') + * @param $protocol string The protocol to use for requests (http|https) + * @param $debug_level int The level of debugging required CS_REST_LOG_NONE | CS_REST_LOG_ERROR | CS_REST_LOG_WARNING | CS_REST_LOG_VERBOSE + * @param $host string The host to send API requests to. There is no need to change this + * @param $log CS_REST_Log The logger to use. Used for dependency injection + * @param $serialiser The serialiser to use. Used for dependency injection + * @param $transport The transport to use. Used for dependency injection + * @access public + */ + function __construct ( + $auth_details, + $client_id = NULL, + $protocol = 'https', + $debug_level = CS_REST_LOG_NONE, + $host = 'api.createsend.com', + $log = NULL, + $serialiser = NULL, + $transport = NULL) { + parent::__construct($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport); + $this->set_client($client_id); + } + + /** + * Change the client id used for calls after construction + * Only required if using OAuth or an Account level API Key + * @param $client_id + * @access public + */ + function set_client($client_id) { + $this->_client_id_param = array("clientID" => $client_id); + } + + /** + * Sends a new classic transactional email + * @param array $message The details of the template + * This should be an array of the form + * array( + * 'From' => string required The From name/email in the form "first last " + * 'ReplyTo' => string optional The Reply-To address + * 'To' => array( + * "First Last ", "another@example.com" + * ) optional To recipients + * 'CC' => array( + * "First Last ", "another@example.com" + * ) optional CC recipients + * 'BCC' => array( + * "First Last ", "another@example.com" + * ) optional BCC recipients + * 'Subject' => string required The subject of the email + * 'Html' => string The HTML content of the message + * 'Text' => string optional The text content of the message + * 'Attachments' => array + * "Name" => string required + * "Type" => string required + * "Content" => string required + * ) optional + * ) + * @param string $group Optional. Name to group emails by for reporting + * For example "Password reset", "Order confirmation" + * @param array $options optional. Advanced options for sending this email (optional) + * This should be an array, each property is optionals + * array( + * TrackOpens => whether to track opens, defaults to true + * TrackClicks => whether to track clicks, defaults to true + * InlineCSS => whether inline CSS, defaults to true + * AddRecipientsToListID => ID of a list to add all recipeints to + * ) + * @access public + * @return CS_REST_Wrapper_Result A successful response will be the include the details of the action, including a Message ID. + * array( + * array( + * "MessageID" => string + * "Recipient" => string + * "Status" => string + * ) + * ) + */ + function send($message, $group = NULL, $consent_to_track, $add_to_list_ID = NULL, $options = array()) { + $all_params = array( + "Group" => $group, + "AddRecipientsToListID" => $add_to_list_ID, + "ConsentToTrack" => $consent_to_track + ); + $data = array_merge( + $this->_client_id_param, $message, $all_params, $options + ); + return $this->post_request($this->_base_route.'transactional/classicemail/send', $data); + } + + /** + * Gets the list of Classic Groups + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an array of the form + * array( + * array( + * "Group" => string + * "CreatedAt" => string + * ) + * ) + */ + function groups() { + $data = array_merge($this->_client_id_param); + return $this->get_request($this->_base_route . 'transactional/classicemail/groups', $data); + } + + } +} + diff --git a/vendor/campaignmonitor/createsend-php/csrest_transactional_smartemail.php b/vendor/campaignmonitor/createsend-php/csrest_transactional_smartemail.php new file mode 100644 index 00000000..a0348dfc --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/csrest_transactional_smartemail.php @@ -0,0 +1,184 @@ + 'your access token', + * 'refresh_token' => 'your refresh token') + * + * Or if using an API key: + * array('api_key' => 'your api key') + * @param $protocol string The protocol to use for requests (http|https) + * @param $debug_level int The level of debugging required CS_REST_LOG_NONE | CS_REST_LOG_ERROR | CS_REST_LOG_WARNING | CS_REST_LOG_VERBOSE + * @param $host string The host to send API requests to. There is no need to change this + * @param $log CS_REST_Log The logger to use. Used for dependency injection + * @param $serialiser The serialiser to use. Used for dependency injection + * @param $transport The transport to use. Used for dependency injection + * @access public + */ + function __construct ( + $smartemail_id, + $auth_details, + $client_id = NULL, + $protocol = 'https', + $debug_level = CS_REST_LOG_NONE, + $host = 'api.createsend.com', + $log = NULL, + $serialiser = NULL, + $transport = NULL) { + parent::__construct($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport); + $this->set_client($client_id); + $this->set_smartemail_id($smartemail_id); + } + + /** + * Change the client id used for calls after construction + * Only required if using OAuth or an Account level API Key + * @param $client_id + * @access public + */ + function set_client($client_id) { + $this->_client_id_param = array("clientID" => $client_id); + } + + /** + * Change the smart email id used for calls after construction + * @param $smartemail_id + * @access public + */ + function set_smartemail_id($smartemail_id) { + $this->_smartemail_base_route = $this->_base_route . 'transactional/smartEmail/' . $smartemail_id; + } + + /** + * Gets a list of smart emails + * @access public + * @param $options optional array Query params to filter list + * This should be an array of the form + * array( + * "status" => "all|drafts|active" + * ) + * @return CS_REST_Wrapper_Result A successful response will be an object of the form + * array( + * array ( + * 'ID' => string + * 'Name' => string + * 'CreatedAt' => datestring + * 'Status' => string + * ) + * ) + */ + function get_list($options = array()) { + $data = array_merge($this->_client_id_param, $options); + return $this->get_request_with_params($this->_base_route . 'transactional/smartemail', $data); + } + + /** + * Sends a new smart transactional email + * @param array $message The details of the template + * This should be an array of the form + * array( + * 'To' => array( + * "First Last ", "another@example.com" + * ) optional To recipients + * 'CC' => array( + * "First Last ", "another@example.com" + * ) optional CC recipients + * 'BCC' => array( + * "First Last ", "another@example.com" + * ) optional BCC recipients + * 'Attachments' => array( + * array( + * "Name" => string + * "Type" => string mime type + * "Content" => string base64-encoded + * ) + * ) optional + * 'Data' => array( + * "variable" => "value", + * "variable" => "value", + * ) + * ) + * @param boolean $add_to_list optional. Whether to add all recipients to the list specified for the smart email + * @access public + * @return CS_REST_Wrapper_Result A successful response will be the include the details of the action, including a Message ID. + * array( + * array( + * "MessageID" => string + * "Recipient" => string + * "Status" => string + * ) + * ) + */ + function send($message, $consent_to_track, $add_to_list = true) { + $data = array_merge($message, array( + "AddRecipientsToList" => $add_to_list, + "ConsentToTrack" => $consent_to_track + )); + return $this->post_request($this->_smartemail_base_route . '/send.json', $data); + } + + /** + * Gets the details of Smart Email + * @access public + * @return CS_REST_Wrapper_Result A successful response will be an array of the form + * array( + * "SmartEmailID" => string + * "Name" => string + * "CreatedAt" => string + * "Status" => string + * "Properties" => array ( + * "From" =. string + * "ReplyTo" => string + * "Subject" => string + * "Content": array( + * "HTML": string + * "Text": string + * "EmailVariables": array( + * "username", + * "reset_token" + * ), + * "InlineCss": boolean + * }, + * "TextPreviewUrl": string + * "HtmlPreviewUrl": string + * ), + * "AddRecipientsToList": string + * } + */ + function get_details() { + return $this->get_request($this->_smartemail_base_route); + } + + } +} diff --git a/vendor/campaignmonitor/createsend-php/csrest_transactional_timeline.php b/vendor/campaignmonitor/createsend-php/csrest_transactional_timeline.php new file mode 100644 index 00000000..c38b414c --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/csrest_transactional_timeline.php @@ -0,0 +1,161 @@ + 'your access token', + * 'refresh_token' => 'your refresh token') + * + * Or if using an API key: + * array('api_key' => 'your api key') + * @param $protocol string The protocol to use for requests (http|https) + * @param $debug_level int The level of debugging required CS_REST_LOG_NONE | CS_REST_LOG_ERROR | CS_REST_LOG_WARNING | CS_REST_LOG_VERBOSE + * @param $host string The host to send API requests to. There is no need to change this + * @param $log CS_REST_Log The logger to use. Used for dependency injection + * @param $serialiser The serialiser to use. Used for dependency injection + * @param $transport The transport to use. Used for dependency injection + * @access public + */ + function __construct ( + $auth_details, + $client_id = NULL, + $protocol = 'https', + $debug_level = CS_REST_LOG_NONE, + $host = 'api.createsend.com', + $log = NULL, + $serialiser = NULL, + $transport = NULL) { + parent::__construct($auth_details, $protocol, $debug_level, $host, $log, $serialiser, $transport); + $this->set_client($client_id); + } + + /** + * Change the client id used for calls after construction + * Only required if using OAuth or an Account level API Key + * @param $client_id + * @access public + */ + function set_client($client_id) { + $this->_client_id_param = array("clientID" => $client_id); + } + + /** + * Gets the list of sent messages + * @access public + * @param $params, array Parameters used to filter results + * This should be an array of the form + * array( + * "status" => string delivered|bounced|spam|all + * "count" => integer optional, maximum number of results to return in a single request (default: 50, max: 200) + * "sentBeforeID" => string optional, messageID used for pagination, returns emails sent before the specified message + * "sentAfterID" => string optional, messageID used for pagination, returns emails sent after the specified message + * "smartEmaiLID" => string optional, smart email to filter by + * "group" => string optional, classic group name to filter by + * ) + * @return CS_REST_Wrapper_Result A successful response will be an array of the form + * array( + * array( + * "MessageID" => string + * "Status" => string + * "SentAt" => string + * "Recipient" => string + * "From" => string + * "Subject" => string + * "TotalOpens" => integer + * "TotalClicks" => integer + * "CanBeResent" => boolean + * "Group" => string, optional + * "SmartEmailID" => string, optional + * ) + * ) + */ + function messages($query = array()) { + $params = array_merge($this->_client_id_param, $query); + return $this->get_request_with_params($this->_base_route . 'transactional/messages', $params); + } + + /** + * Gets the list of details of a sent message + * @access public + * @param $message_id, string Message ID to get the details for + * @return CS_REST_Wrapper_Result The details of the message + */ + function details($message_id, $show_details = false) { + $params = array_merge($this->_client_id_param, array("statistics" => $show_details)); + return $this->get_request_with_params($this->_base_route . 'transactional/messages/' . $message_id, $params); + } + + /** + * Resend a sent message + * @access public + * @param $message_id, string Message ID to resend + * @return CS_REST_Wrapper_Result The details of the message + * array( + * "MessageID" => string + * "Recipient" => string + * "Status" => string + * ) + */ + function resend($message_id) { + $data = array_merge($this->_client_id_param); + return $this->post_request($this->_base_route.'transactional/messages/' . $message_id . '/resend', $data); + } + + /** + * Gets statistics for sends/bounces/opens/clicks + * @access public + * @param $params, array Parameters used to filter results + * This should be an array of the form + * array( + * "from" => iso-8601 date, optional, default 30 days ago + * "to" => iso-8601 date, optional, default today + * "timezone" => client|utc, optional, how to handle date boundaries + * "group" => string optional, classic group name to filter by + * "smartEmailID" => string optional. smart email to filter results by + * ) + * @return CS_REST_Wrapper_Result A successful response will be an array of the form + * array( + * array( + * "MessageID" => string + * "Status" => string + * "SentAt" => string + * "Recipient" => string + * "From" => string + * "Subject" => string + * "TotalOpens" => integer + * "TotalClicks" => integer + * "CanBeResent" => boolean + * "Group" => string, optional + * "SmartEmailID" => string, optional + * ) + * ) + */ + function statistics($query = array()) { + $params = array_merge($this->_client_id_param, $query); + return $this->get_request_with_params($this->_base_route.'transactional/statistics', $params); + } + + } +} + diff --git a/vendor/campaignmonitor/createsend-php/samples/authentication/auth_with_api_key.php b/vendor/campaignmonitor/createsend-php/samples/authentication/auth_with_api_key.php new file mode 100644 index 00000000..dc413231 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/authentication/auth_with_api_key.php @@ -0,0 +1,19 @@ + 'your api key'); +$wrap = new CS_REST_General($auth); + +$result = $wrap->get_clients(); + + +echo "Result of /api/v3.1/clients\n
"; +if($result->was_successful()) { + echo "Got clients\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/authentication/auth_with_oauth.php b/vendor/campaignmonitor/createsend-php/samples/authentication/auth_with_oauth.php new file mode 100644 index 00000000..060366fe --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/authentication/auth_with_oauth.php @@ -0,0 +1,21 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_General($auth); + +$result = $wrap->get_clients(); + + +echo "Result of /api/v3.1/clients\n
"; +if($result->was_successful()) { + echo "Got clients\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/authentication/exchange_token.php b/vendor/campaignmonitor/createsend-php/samples/authentication/exchange_token.php new file mode 100644 index 00000000..00566c75 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/authentication/exchange_token.php @@ -0,0 +1,24 @@ +was_successful()) { + $access_token = $result->response->access_token; + $expires_in = $result->response->expires_in; + $refresh_token = $result->response->refresh_token; + # Save $access_token, $expires_in, and $refresh_token. + echo "access token: ".$access_token."\n"; + echo "expires in (seconds): ".$expires_in."\n"; + echo "refresh token: ".$refresh_token."\n"; +} else { + echo 'An error occurred:\n'; + echo $result->response->error.': '.$result->response->error_description."\n"; + # Handle error... +} diff --git a/vendor/campaignmonitor/createsend-php/samples/authentication/get_authorize_url.php b/vendor/campaignmonitor/createsend-php/samples/authentication/get_authorize_url.php new file mode 100644 index 00000000..bd9795d8 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/authentication/get_authorize_url.php @@ -0,0 +1,12 @@ +"; diff --git a/vendor/campaignmonitor/createsend-php/samples/authentication/refresh_token.php b/vendor/campaignmonitor/createsend-php/samples/authentication/refresh_token.php new file mode 100644 index 00000000..f71e4ed9 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/authentication/refresh_token.php @@ -0,0 +1,21 @@ + 'your access token', + 'refresh_token' => 'your refresh token' +); +$wrap = new CS_REST_General($auth); +$result = $wrap->get_clients(); +if (!$result->was_successful()) { + # If you receive '121: Expired OAuth Token', refresh the access token + if ($result->response->Code == 121) { + list($new_access_token, $new_expires_in, $new_refresh_token) = + $wrap->refresh_token(); + # Save $new_access_token, $new_expires_in, and $new_refresh_token + } + # Make the call again + $result = $wrap->get_clients(); +} +var_dump($result->response); diff --git a/vendor/campaignmonitor/createsend-php/samples/campaign/create.php b/vendor/campaignmonitor/createsend-php/samples/campaign/create.php new file mode 100644 index 00000000..719fc053 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/campaign/create.php @@ -0,0 +1,29 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Campaigns(NULL, $auth); + +$result = $wrap->create('Campaigns Client ID', array( + 'Subject' => 'Campaign Subject', + 'Name' => 'Campaign Name', + 'FromName' => 'Campaign From Name', + 'FromEmail' => 'Campaign From Email Address', + 'ReplyTo' => 'Campaign Reply To Email Address', + 'HtmlUrl' => 'Campaign HTML Import URL', + # 'TextUrl' => 'Optional campaign text import URL', + 'ListIDs' => array('First List', 'Second List'), + 'SegmentIDs' => array('First Segment', 'Second Segment') +)); + +echo "Result of POST /api/v3.1/campaigns/{clientID}\n
"; +if($result->was_successful()) { + echo "Created with ID\n
".$result->response; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/campaign/create_from_template.php b/vendor/campaignmonitor/createsend-php/samples/campaign/create_from_template.php new file mode 100644 index 00000000..ac12212f --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/campaign/create_from_template.php @@ -0,0 +1,99 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Campaigns(NULL, $auth); + +$template_content = array( + 'Singlelines' => array( + array( + 'Content' => 'This is a heading', + 'Href' => 'http://example.com/' + ) + ), + 'Multilines' => array( + array( + 'Content' => '

This is example

multiline content...

' + ) + ), + 'Images' => array( + array( + 'Content' => 'http://example.com/image.png', + 'Alt' => 'This is alt text for an image', + 'Href' => 'http://example.com/' + ) + ), + 'Repeaters' => array( + array( + 'Items' => array( + array( + 'Layout' => 'My layout', + 'Singlelines' => array( + array( + 'Content' => 'This is a repeater heading', + 'Href' => 'http://example.com/' + ) + ), + 'Multilines' => array( + array( + 'Content' => '

This is example

multiline content...

' + ) + ), + 'Images' => array( + array( + 'Content' => 'http://example.com/image.png', + 'Alt' => 'This is alt text for a repeater image', + 'Href' => 'http://example.com/' + ) + ) + ) + ) + ) + ) +); + +# $template_content as defined above would be used to fill the content of +# a template with markup similar to the following: +# +# +# My Template +# +#

Enter heading...

+#
Enter description...
+# +# +# +#
+#

+#
+# +#
+#
+#
+#

Unsubscribe

+# +# + +$result = $wrap->create_from_template('Campaigns Client ID', array( + 'Subject' => 'Campaign Subject', + 'Name' => 'Campaign Name', + 'FromName' => 'Campaign From Name', + 'FromEmail' => 'Campaign From Email Address', + 'ReplyTo' => 'Campaign Reply To Email Address', + 'ListIDs' => array('First List', 'Second List'), + 'SegmentIDs' => array('First Segment', 'Second Segment'), + 'TemplateID' => 'Template ID', + 'TemplateContent' => $template_content +)); + +echo "Result of POST /api/v3.1/campaigns/{clientID}/fromtemplate\n
"; +if($result->was_successful()) { + echo "Created with ID\n
".$result->response; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/campaign/delete.php b/vendor/campaignmonitor/createsend-php/samples/campaign/delete.php new file mode 100644 index 00000000..74cbfcee --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/campaign/delete.php @@ -0,0 +1,18 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Campaigns('Campaign ID to Delete', $auth); +$result = $wrap->delete(); + +echo "Result of DELETE /api/v3.1/campaigns/{id}\n
"; +if($result->was_successful()) { + echo "Deleted with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/campaign/get_bounces.php b/vendor/campaignmonitor/createsend-php/samples/campaign/get_bounces.php new file mode 100644 index 00000000..267af8ea --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/campaign/get_bounces.php @@ -0,0 +1,20 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Campaigns('Campaign ID to get bounces for', $auth); +$result = $wrap->get_bounces('Get bounces since', 1, 50, 'email', 'asc'); +//$result = $wrap->get_bounces(page, page size, order field, order direction); + +echo "Result of GET /api/v3.1/campaigns/{id}/bounces\n
"; +if($result->was_successful()) { + echo "Got bounces\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/campaign/get_clicks.php b/vendor/campaignmonitor/createsend-php/samples/campaign/get_clicks.php new file mode 100644 index 00000000..8f24a523 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/campaign/get_clicks.php @@ -0,0 +1,20 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Campaigns('Campaign ID to get clicks for', $auth); +$result = $wrap->get_clicks('Get clicks since', 1, 50, 'email', 'asc'); +//$result = $wrap->get_clicks(date('Y-m-d', strtotime('-30 days')), page, page size, order field, order direction); + +echo "Result of GET /api/v3.1/campaigns/{id}/clicks\n
"; +if($result->was_successful()) { + echo "Got clicks\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/campaign/get_email_client_usage.php b/vendor/campaignmonitor/createsend-php/samples/campaign/get_email_client_usage.php new file mode 100644 index 00000000..1a9e2c13 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/campaign/get_email_client_usage.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Campaigns('Campaign ID to get the email client usage for', $auth); +$result = $wrap->get_email_client_usage(); + +echo "Result of GET /api/v3.1/campaigns/{id}/emailclientusage\n
"; +if($result->was_successful()) { + echo "Got email client usage\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/campaign/get_lists_and_segments.php b/vendor/campaignmonitor/createsend-php/samples/campaign/get_lists_and_segments.php new file mode 100644 index 00000000..06df4829 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/campaign/get_lists_and_segments.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Campaigns('Campaign ID to get lists for', $auth); +$result = $wrap->get_lists_and_segments(); + +echo "Result of GET /api/v3.1/campaigns/{id}/listsandsegments\n
"; +if($result->was_successful()) { + echo "Got lists and segments\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/campaign/get_opens.php b/vendor/campaignmonitor/createsend-php/samples/campaign/get_opens.php new file mode 100644 index 00000000..f73dc821 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/campaign/get_opens.php @@ -0,0 +1,20 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Campaigns('Campaign ID to get opens for', $auth); +$result = $wrap->get_opens('Get opens since', 1, 50, 'email', 'asc'); +//$result = $wrap->get_opens(date('Y-m-d', strtotime('-30 days')), page, page size, order field, order direction); + +echo "Result of GET /api/v3.1/campaigns/{id}/opens\n
"; +if($result->was_successful()) { + echo "Got opens\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/campaign/get_recipients.php b/vendor/campaignmonitor/createsend-php/samples/campaign/get_recipients.php new file mode 100644 index 00000000..d722b48d --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/campaign/get_recipients.php @@ -0,0 +1,20 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Campaigns('Campaign ID to get recipients for', $auth); +$result = $wrap->get_recipients(1, 50, 'email', 'asc'); +//$result = $wrap->get_recipients(page number, page size, order by, order direction); + +echo "Result of GET /api/v3.1/campaigns/{id}/recipients\n
"; +if($result->was_successful()) { + echo "Got recipients\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/campaign/get_spam.php b/vendor/campaignmonitor/createsend-php/samples/campaign/get_spam.php new file mode 100644 index 00000000..c6d9e388 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/campaign/get_spam.php @@ -0,0 +1,20 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Campaigns('Campaign ID to get spam complaints for', $auth); +$result = $wrap->get_spam('Get spam complaints since', 1, 50, 'email', 'asc'); +//$result = $wrap->get_spam(date('Y-m-d', strtotime('-30 days')), page, page size, order field, order direction); + +echo "Result of GET /api/v3.1/campaigns/{id}/spam\n
"; +if($result->was_successful()) { + echo "Got spam complaints\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/campaign/get_summary.php b/vendor/campaignmonitor/createsend-php/samples/campaign/get_summary.php new file mode 100644 index 00000000..06f34baa --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/campaign/get_summary.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Campaigns('Campaign ID to get the summary of', $auth); +$result = $wrap->get_summary(); + +echo "Result of GET /api/v3.3/campaigns/{id}/summary\n
"; +if($result->was_successful()) { + echo "Got summary\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/campaign/get_unsubscribes.php b/vendor/campaignmonitor/createsend-php/samples/campaign/get_unsubscribes.php new file mode 100644 index 00000000..e6b2c905 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/campaign/get_unsubscribes.php @@ -0,0 +1,20 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Campaigns('Campaign ID to get unsubscribes for', $auth); +$result = $wrap->get_unsubscribes('Get unsubscribes since', 1, 50, 'email', 'asc'); +//$result = $wrap->get_unsubscribes(date('Y-m-d', strtotime('-30 days')), page, page size, order field, order direction); + +echo "Result of GET /api/v3.1/campaigns/{id}/unsubscribes\n
"; +if($result->was_successful()) { + echo "Got unsubscribes\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/campaign/send.php b/vendor/campaignmonitor/createsend-php/samples/campaign/send.php new file mode 100644 index 00000000..533b900e --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/campaign/send.php @@ -0,0 +1,22 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Campaigns('Campaign ID to Send', $auth); + +$result = $wrap->send(array( + 'ConfirmationEmail' => 'Confirmation Email Address', + 'SendDate' => 'Date to send (yyyy-mm-dd or immediately)' +)); + +echo "Result of POST /api/v3.1/campaigns/{id}/send\n
"; +if($result->was_successful()) { + echo "Scheduled with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/campaign/send_preview.php b/vendor/campaignmonitor/createsend-php/samples/campaign/send_preview.php new file mode 100644 index 00000000..922425b4 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/campaign/send_preview.php @@ -0,0 +1,21 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Campaigns('Campaign ID to Test', $auth); +$result = $wrap->send_preview(array( + 'test1@test.com', + 'test2@test.com' +), 'Fallback'); + +echo "Result of POST /api/v3.1/campaigns/{id}/sendpreview\n
"; +if($result->was_successful()) { + echo "Preview sent with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/campaign/unschedule.php b/vendor/campaignmonitor/createsend-php/samples/campaign/unschedule.php new file mode 100644 index 00000000..9e1ef6a6 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/campaign/unschedule.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Campaigns('Campaign ID to unschedule', $auth); + +$result = $wrap->unschedule(); + +echo "Result of POST /api/v3.1/campaigns/{id}/unschedule\n
"; +if($result->was_successful()) { + echo "Scheduled with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/create.php b/vendor/campaignmonitor/createsend-php/samples/client/create.php new file mode 100644 index 00000000..8433825a --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/create.php @@ -0,0 +1,23 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients(NULL, $auth); + +$result = $wrap->create(array( + 'CompanyName' => 'Clients company name', + 'Country' => 'Clients country', + 'Timezone' => 'Clients timezone' +)); + +echo "Result of POST /api/v3.1/clients\n
"; +if($result->was_successful()) { + echo "Created with ID\n
".$result->response; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/delete.php b/vendor/campaignmonitor/createsend-php/samples/client/delete.php new file mode 100644 index 00000000..e9095806 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/delete.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients('Client ID to Delete', $auth); + +$result = $wrap->delete(); + +echo "Result of DELETE /api/v3.1/clients/{id}\n
"; +if($result->was_successful()) { + echo 'Deleted'; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/get.php b/vendor/campaignmonitor/createsend-php/samples/client/get.php new file mode 100644 index 00000000..ae2d21ea --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/get.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients('Your client ID', $auth); +$result = $wrap->get(); + +echo "Result of GET /api/v3.1/clients/{id}\n
"; +if($result->was_successful()) { + echo "Got client
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/get_campaigns.php b/vendor/campaignmonitor/createsend-php/samples/client/get_campaigns.php new file mode 100644 index 00000000..1655bbe6 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/get_campaigns.php @@ -0,0 +1,22 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients( + 'ClientID to get Campaigns for', + $auth); + +$result = $wrap->get_campaigns(); + +echo "Result of /api/v3.3/clients/{id}/campaigns\n
"; +if($result->was_successful()) { + echo "Got campaigns\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/get_drafts.php b/vendor/campaignmonitor/createsend-php/samples/client/get_drafts.php new file mode 100644 index 00000000..986c858d --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/get_drafts.php @@ -0,0 +1,22 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients( + 'ClientID to get drafts for', + $auth); + +$result = $wrap->get_drafts(); + +echo "Result of /api/v3.3/clients/{id}/drafts\n
"; +if($result->was_successful()) { + echo "Got drafts\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/get_journeys.php b/vendor/campaignmonitor/createsend-php/samples/client/get_journeys.php new file mode 100644 index 00000000..a5cc0f04 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/get_journeys.php @@ -0,0 +1,22 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients( + 'ClientID to get Journeys for', + $auth); + +$result = $wrap->get_journeys(); + +echo "Result of /api/v3.2/clients/{id}/journeys\n
"; +if($result->was_successful()) { + echo "Got journeys\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/get_lists.php b/vendor/campaignmonitor/createsend-php/samples/client/get_lists.php new file mode 100644 index 00000000..98abcc0f --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/get_lists.php @@ -0,0 +1,22 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients( + 'ClientID to get Lists for', + $auth); + +$result = $wrap->get_lists(); + +echo "Result of /api/v3.1/clients/{id}/lists\n
"; +if($result->was_successful()) { + echo "Got lists\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/get_lists_for_email.php b/vendor/campaignmonitor/createsend-php/samples/client/get_lists_for_email.php new file mode 100644 index 00000000..b7f937e5 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/get_lists_for_email.php @@ -0,0 +1,24 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients( + 'ClientID to get Lists for', + $auth); + +$email_address = 'your_email_address@example.com'; + +$result = $wrap->get_lists_for_email($email_address); + +echo "Result of /api/v3.1/clients/{id}/listsforemail\n
"; +if($result->was_successful()) { + echo "Got lists to which email address ".$email_address." is subscribed\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/get_scheduled.php b/vendor/campaignmonitor/createsend-php/samples/client/get_scheduled.php new file mode 100644 index 00000000..dc20a800 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/get_scheduled.php @@ -0,0 +1,22 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients( + 'ClientID to get scheduled campaigns for', + $auth); + +$result = $wrap->get_scheduled(); + +echo "Result of /api/v3.3/clients/{id}/scheduled\n
"; +if($result->was_successful()) { + echo "Got scheduled campaigns\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/get_segments.php b/vendor/campaignmonitor/createsend-php/samples/client/get_segments.php new file mode 100644 index 00000000..95aa19fd --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/get_segments.php @@ -0,0 +1,22 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients( + 'ClientID to get segments for', + $auth); + +$result = $wrap->get_segments(); + +echo "Result of /api/v3.1/clients/{id}/segments\n
"; +if($result->was_successful()) { + echo "Got segments\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/get_suppressionlist.php b/vendor/campaignmonitor/createsend-php/samples/client/get_suppressionlist.php new file mode 100644 index 00000000..7bb179aa --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/get_suppressionlist.php @@ -0,0 +1,23 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients( + 'ClientID to get the suppression list of', + $auth); + +$result = $wrap->get_suppressionlist(1, 50, 'email', 'asc'); +//$result = $wrap->get_suppressionlist(page number, page size, order by, order direction); + +echo "Result of /api/v3.1/clients/{id}/suppressionlist\n
"; +if($result->was_successful()) { + echo "Got suppression list\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/get_tags.php b/vendor/campaignmonitor/createsend-php/samples/client/get_tags.php new file mode 100644 index 00000000..2763108e --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/get_tags.php @@ -0,0 +1,22 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients( + 'ClientID to get Tags for', + $auth); + +$result = $wrap->get_tags(); + +echo "Result of /api/v3.3/clients/{id}/tags\n
"; +if($result->was_successful()) { + echo "Got tags\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/get_templates.php b/vendor/campaignmonitor/createsend-php/samples/client/get_templates.php new file mode 100644 index 00000000..7a8c6566 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/get_templates.php @@ -0,0 +1,22 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients( + 'ClientID to get the templates of', + $auth); + +$result = $wrap->get_templates(); + +echo "Result of /api/v3.1/clients/{id}/templates\n
"; +if($result->was_successful()) { + echo "Got templates\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/set_basics.php b/vendor/campaignmonitor/createsend-php/samples/client/set_basics.php new file mode 100644 index 00000000..5e8990c6 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/set_basics.php @@ -0,0 +1,23 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients('Your client ID', $auth); + +$result = $wrap->set_basics(array( + 'CompanyName' => 'Clients company name', + 'Country' => 'Clients country', + 'Timezone' => 'Clients timezone' +)); + +echo "Result of PUT /api/v3.1/clients/{id}/setbasics\n
"; +if($result->was_successful()) { + echo "Updated with Code ".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/set_monthly_billing.php b/vendor/campaignmonitor/createsend-php/samples/client/set_monthly_billing.php new file mode 100644 index 00000000..e8a4d024 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/set_monthly_billing.php @@ -0,0 +1,24 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients('Your client ID', $auth); + +$result = $wrap->set_monthly_billing(array( + 'Currency' => 'USD', + 'ClientPays' => true, + 'MarkupPercentage' => 100/*, + 'MonthlyScheme' => 'Basic' */ +)); + +echo "Result of PUT /api/v3.1/clients/{id}/setmonthlybilling\n
"; +if($result->was_successful()) { + echo "Updated with Code ".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/set_payg_billing.php b/vendor/campaignmonitor/createsend-php/samples/client/set_payg_billing.php new file mode 100644 index 00000000..2a514184 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/set_payg_billing.php @@ -0,0 +1,36 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients('Your client ID', $auth); + +/* + * Specific markup values can be set via the + * + * MarkupOnDelivery + * MarkupPerRecipient + * MarkupOnDesignSpamTest + * + * fields + */ +$result = $wrap->set_payg_billing(array( + 'Currency' => 'USD', + 'ClientPays' => true, + 'MarkupPercentage' => 100, + 'CanPurchaseCredits' => false/*, +'MarkupOnDelivery' => 4, +'MarkupPerRecipient' => 3, +'MarkupOnDesignSpamTest' => 7 */ +)); + +echo "Result of PUT /api/v3.1/clients/{id}/setpaygbilling\n
"; +if($result->was_successful()) { + echo "Updated with Code ".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/suppress.php b/vendor/campaignmonitor/createsend-php/samples/client/suppress.php new file mode 100644 index 00000000..3a873a63 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/suppress.php @@ -0,0 +1,24 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients('Your client ID', $auth); + +$emails = array( + 'example@example.com', + 'another@example.com' +); + +$result = $wrap->suppress($emails); + +echo "Result of PUT /api/v3.1/clients/{id}/suppress\n
"; +if($result->was_successful()) { + echo "Updated with Code ".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/transfer_credits.php b/vendor/campaignmonitor/createsend-php/samples/client/transfer_credits.php new file mode 100644 index 00000000..114c6462 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/transfer_credits.php @@ -0,0 +1,25 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients('Client ID', $auth); + +$transfer_details = array( + 'Credits' => 200, + 'CanUseMyCreditsWhenTheyRunOut' => false +); + +$result = $wrap->transfer_credits($transfer_details); + +echo "Result of POST /api/v3.1/clients/{id}/credits\n
"; +if($result->was_successful()) { + echo "Transferred with response\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/client/unsuppress.php b/vendor/campaignmonitor/createsend-php/samples/client/unsuppress.php new file mode 100644 index 00000000..feb85ec5 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/client/unsuppress.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Clients('Your client ID', $auth); + +$result = $wrap->unsuppress('Email address to unsuppress'); + +echo "Result of PUT /api/v3.1/clients/{id}/unsuppress\n
"; +if($result->was_successful()) { + echo "Updated with Code ".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/events/event_track.php b/vendor/campaignmonitor/createsend-php/samples/events/event_track.php new file mode 100644 index 00000000..6f5a383b --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/events/event_track.php @@ -0,0 +1,42 @@ + "sample api key"); +$client_id = "sample client id"; +$api_event_type = "identify"; +$wrap = new CS_REST_Events($auth, $client_id, $api_event_type); + +echo "\nSending a $api_event_type event...\n"; + +$contact = "joe@example.org"; +$event_type = "checkout"; +$event_data = array( + "Page" => "/cart/checkout", + "Items" => array( + array( + "Description" => "Rubber Widget", + "Quantity" => 1, + "Price" => 300, + ), + array( + "Description" => "Paint 1L", + "Quantity" => 10, + "Price" => 1, + ), + ), + "User" => "joe@example.org", + "CardType" => "VISA", +); + +if (strcmp($wrap->getEventType(), "identify") === 0) { + // `Identify` event + $anon_id = "anonymousid-0"; + $user_id = "userid-0"; + $result = $wrap->track($contact, $event_type, $anon_id, $user_id, $event_data); +} else { + // `Non-identify` event (custom, shopify) + $result = $wrap->track($contact, $event_type, NULL, NULL, $event_data); +} +echo "\nEvent Sent! Here's the response:\n"; +var_dump($result); + diff --git a/vendor/campaignmonitor/createsend-php/samples/external_session_url.php b/vendor/campaignmonitor/createsend-php/samples/external_session_url.php new file mode 100644 index 00000000..a9fd6457 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/external_session_url.php @@ -0,0 +1,27 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_General($auth); + +$result = $wrap->external_session_url(array( + 'Email' => 'The email address of the Campaign Monitor user for whom the login session should be created', + 'Chrome' => 'Which chrome to display - Must be either "all", "tabs", or "none"', + 'Url' => 'The URL to display once logged in. e.g. "/subscribers/"', + 'IntegratorID' => 'The Integrator ID. You need to contact Campaign Monitor support to get an Integrator ID.', + 'ClientID' => 'The Client ID of the client which should be active once logged in to the Campaign Monitor account.' +)); + +echo "Result of PUT /api/v3.1/externalsession\n
"; +if($result->was_successful()) { + echo "Succeeded with Code ".$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/get_apikey.php b/vendor/campaignmonitor/createsend-php/samples/get_apikey.php new file mode 100644 index 00000000..aaf148c7 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/get_apikey.php @@ -0,0 +1,17 @@ +get_apikey('Your username', 'Your password', 'account.test.createsend.com'); + +echo "Result of /api/v3.1/apikey\n
"; +if($result->was_successful()) { + echo "Got API Key\n
".$result->response->ApiKey; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} + diff --git a/vendor/campaignmonitor/createsend-php/samples/get_billing_details.php b/vendor/campaignmonitor/createsend-php/samples/get_billing_details.php new file mode 100644 index 00000000..0a892689 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/get_billing_details.php @@ -0,0 +1,21 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_General($auth); + + +$result = $wrap->get_billing_details(); + +echo "Result of /api/v3.1/billingdetails\n
"; +if($result->was_successful()) { + echo "Got billing details\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/get_clients.php b/vendor/campaignmonitor/createsend-php/samples/get_clients.php new file mode 100644 index 00000000..90ac01f1 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/get_clients.php @@ -0,0 +1,22 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_General($auth); + + +$result = $wrap->get_clients(); + + +echo "Result of /api/v3.1/clients\n
"; +if($result->was_successful()) { + echo "Got clients\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/get_countries.php b/vendor/campaignmonitor/createsend-php/samples/get_countries.php new file mode 100644 index 00000000..bf183915 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/get_countries.php @@ -0,0 +1,21 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_General($auth); + + +$result = $wrap->get_countries(); + +echo "Result of /api/v3.1/countries\n
"; +if($result->was_successful()) { + echo "Got countries\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/get_systemdate.php b/vendor/campaignmonitor/createsend-php/samples/get_systemdate.php new file mode 100644 index 00000000..3f156e7a --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/get_systemdate.php @@ -0,0 +1,20 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_General($auth); + + +$result = $wrap->get_systemdate(); + +echo "Result of /api/v3.1/systemdate\n
"; +if($result->was_successful()) { + echo "Got system date\n
".$result->response->SystemDate; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/get_timezones.php b/vendor/campaignmonitor/createsend-php/samples/get_timezones.php new file mode 100644 index 00000000..929dcf5a --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/get_timezones.php @@ -0,0 +1,21 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_General($auth); + + +$result = $wrap->get_timezones(); + +echo "Result of /api/v3.1/timezones\n
"; +if($result->was_successful()) { + echo "Got timezones\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_bounces.php b/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_bounces.php new file mode 100644 index 00000000..3def5e59 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_bounces.php @@ -0,0 +1,21 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_JourneyEmails('Email ID to get bounces for', $auth); + +//$result = $wrap->get_journey_bounces(date('Y-m-d', strtotime('-30 days')), page, page size, order direction); +$result = $wrap->get_journey_bounces('Get bounces since', 1, 50, 'email', 'asc'); + +echo "Result of GET /api/v3.2/journeys/email/{id}/bounces\n
"; +if($result->was_successful()) { + echo "Got bounces\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_clicks.php b/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_clicks.php new file mode 100644 index 00000000..b1b16c9e --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_clicks.php @@ -0,0 +1,21 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_JourneyEmails('Email ID to get clicks for', $auth); + +//$result = $wrap->get_journey_clicks(date('Y-m-d', strtotime('-30 days')), page, page size, order direction); +$result = $wrap->get_journey_clicks('Get clicks since', 1, 50, 'email', 'asc'); + +echo "Result of GET /api/v3.2/journeys/email/{id}/clicks\n
"; +if($result->was_successful()) { + echo "Got clicks\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_opens.php b/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_opens.php new file mode 100644 index 00000000..a303d031 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_opens.php @@ -0,0 +1,21 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_JourneyEmails('Email ID to get opens for', $auth); + +//$result = $wrap->get_journey_opens(date('Y-m-d', strtotime('-30 days')), page, page size, order direction); +$result = $wrap->get_journey_opens('Get opens since', 1, 50, 'email', 'asc'); + +echo "Result of GET /api/v3.2/journeys/email/{id}/opens\n
"; +if($result->was_successful()) { + echo "Got opens\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_recipients.php b/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_recipients.php new file mode 100644 index 00000000..a08caf47 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_recipients.php @@ -0,0 +1,21 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_JourneyEmails('Email ID to get recipients for', $auth); + +//$result = $wrap->get_journey_recipients(date('Y-m-d', strtotime('-30 days')), page, page size, order direction); +$result = $wrap->get_journey_recipients('Get recipients since', 1, 50, 'email', 'asc'); + +echo "Result of GET /api/v3.2/journeys/email/{id}/recipients\n
"; +if($result->was_successful()) { + echo "Got recipients\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_summary.php b/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_summary.php new file mode 100644 index 00000000..41b5fd10 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_summary.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Journeys('Journey ID to get the summary of', $auth); +$result = $wrap->get_summary(); + +echo "Result of GET /api/v3.2/journeys/{id}\n
"; +if($result->was_successful()) { + echo "Got summary\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_unsubscribes.php b/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_unsubscribes.php new file mode 100644 index 00000000..d3741830 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/journeys/get_journey_unsubscribes.php @@ -0,0 +1,21 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_JourneyEmails('Email ID to get unsubscribes for', $auth); + +//$result = $wrap->get_journey_unsubscribes(date('Y-m-d', strtotime('-30 days')), page, page size, order direction); +$result = $wrap->get_journey_unsubscribes('Get unsubscribes since', 1, 50, 'email', 'asc'); + +echo "Result of GET /api/v3.2/journeys/email/{id}/unsubscribes\n
"; +if($result->was_successful()) { + echo "Got unsubscribes\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/activate_webhook.php b/vendor/campaignmonitor/createsend-php/samples/list/activate_webhook.php new file mode 100644 index 00000000..69a8db38 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/activate_webhook.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->activate_webhook('Webhook ID'); + +echo "Result of PUT /api/v3.1/lists/{ID}/webhooks/{WHID}/activate\n
"; +if($result->was_successful()) { + echo "Activated with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/create.php b/vendor/campaignmonitor/createsend-php/samples/list/create.php new file mode 100644 index 00000000..334328e7 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/create.php @@ -0,0 +1,25 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists(NULL, $auth); + +$result = $wrap->create('Lists Client ID', array( + 'Title' => 'List Title', + 'UnsubscribePage' => 'List unsubscribe page', + 'ConfirmedOptIn' => false, + 'ConfirmationSuccessPage' => 'List confirmation success page', + 'UnsubscribeSetting' => CS_REST_LIST_UNSUBSCRIBE_SETTING_ALL_CLIENT_LISTS +)); + +echo "Result of POST /api/v3.1/lists/{clientID}\n
"; +if($result->was_successful()) { + echo "Created with ID\n
".$result->response; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} diff --git a/vendor/campaignmonitor/createsend-php/samples/list/create_custom_field.php b/vendor/campaignmonitor/createsend-php/samples/list/create_custom_field.php new file mode 100644 index 00000000..ff2c91d4 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/create_custom_field.php @@ -0,0 +1,34 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +/* + * The DataType parameter must be one of + * CS_REST_CUSTOM_FIELD_TYPE_TEXT + * CS_REST_CUSTOM_FIELD_TYPE_NUMBER + * CS_REST_CUSTOM_FIELD_TYPE_MULTI_SELECTONE + * CS_REST_CUSTOM_FIELD_TYPE_MULTI_SELECTMANY + * CS_REST_CUSTOM_FIELD_TYPE_DATE + * CS_REST_CUSTOM_FIELD_TYPE_COUNTRY + * CS_REST_CUSTOM_FIELD_TYPE_USSTATE + * + */ +$result = $wrap->create_custom_field(array( + 'FieldName' => 'Custom field name', + 'DataType' => CS_REST_CUSTOM_FIELD_TYPE_MULTI_SELECTONE, + 'Options' => array('First option', 'Second Option') +)); + +echo "Result of POST /api/v3.1/lists/{ID}/customfields\n
"; +if($result->was_successful()) { + echo "Created with ID\n
".$result->response; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/create_webhook.php b/vendor/campaignmonitor/createsend-php/samples/list/create_webhook.php new file mode 100644 index 00000000..93a6bd9d --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/create_webhook.php @@ -0,0 +1,33 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +/* + * The Events array must contain a combination of + * CS_REST_LIST_WEBHOOK_SUBSCRIBE + * CS_REST_LIST_WEBHOOK_DEACTIVATE + * CS_REST_LIST_WEBHOOK_UPDATE + * + * The payload format must be one of + * CS_REST_WEBHOOK_FORMAT_JSON or + * CS_REST_WEBHOOK_FORMAT_XML + */ +$result = $wrap->create_webhook(array( + 'Events' => array(CS_REST_LIST_WEBHOOK_SUBSCRIBE, CS_REST_LIST_WEBHOOK_DEACTIVATE), + 'Url' => 'http://www.example.com/webhook_receiver.php', + 'PayloadFormat' => CS_REST_WEBHOOK_FORMAT_JSON +)); + +echo "Result of POST /api/v3.1/lists/{ID}/webhooks\n
"; +if($result->was_successful()) { + echo "Created with ID\n
".$result->response; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/deactivate_webhook.php b/vendor/campaignmonitor/createsend-php/samples/list/deactivate_webhook.php new file mode 100644 index 00000000..500b3035 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/deactivate_webhook.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->deactivate_webhook('Webhook ID'); + +echo "Result of PUT /api/v3.1/lists/{ID}/webhooks/{WHID}/deactivate\n
"; +if($result->was_successful()) { + echo "Deactivated with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/delete.php b/vendor/campaignmonitor/createsend-php/samples/list/delete.php new file mode 100644 index 00000000..651bf9de --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/delete.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->delete(); + +echo "Result of DELETE /api/v3.1/lists/{ID}\n
"; +if($result->was_successful()) { + echo "Deleted with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/delete_custom_field.php b/vendor/campaignmonitor/createsend-php/samples/list/delete_custom_field.php new file mode 100644 index 00000000..5277953f --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/delete_custom_field.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->delete_custom_field('Custom field key'); + +echo "Result of DELETE /api/v3.1/lists/{ID}/{Key}\n
"; +if($result->was_successful()) { + echo "Deleted with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/delete_webhook.php b/vendor/campaignmonitor/createsend-php/samples/list/delete_webhook.php new file mode 100644 index 00000000..bfb29b2c --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/delete_webhook.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->delete_webhook('Webhook ID'); + +echo "Result of DELETE /api/v3.1/lists/{ID}/webhooks/{WHID}\n
"; +if($result->was_successful()) { + echo "Deleted with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/get.php b/vendor/campaignmonitor/createsend-php/samples/list/get.php new file mode 100644 index 00000000..96dc297a --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/get.php @@ -0,0 +1,20 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->get(); + +echo "Result of GET /api/v3.1/lists/{ID}\n
"; +if($result->was_successful()) { + echo "Got list details\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/get_active_subscribers.php b/vendor/campaignmonitor/createsend-php/samples/list/get_active_subscribers.php new file mode 100644 index 00000000..e3039d18 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/get_active_subscribers.php @@ -0,0 +1,24 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +//The 6th argument will return the tracking preference of the subscribers - 'ConsentToTrack' +$result = $wrap->get_active_subscribers('Added since', 1, 50, 'email', 'asc', true); + +//$result = $wrap->get_active_subscribers(date('Y-m-d', strtotime('-30 days')), +// page number, page size, order by, order direction); + +echo "Result of GET /api/v3.3/lists/{ID}/active\n
"; +if($result->was_successful()) { + echo "Got subscribers\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/get_bounced_subscribers.php b/vendor/campaignmonitor/createsend-php/samples/list/get_bounced_subscribers.php new file mode 100644 index 00000000..f921a1d0 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/get_bounced_subscribers.php @@ -0,0 +1,22 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->get_bounced_subscribers('Bounced Since', 1, 50, 'email', 'asc'); +//$result = $wrap->get_bounced_subscribers(date('Y-m-d', strtotime('-30 days')), +// page number, page size, order by, order direction); + +echo "Result of GET /api/v3.3/lists/{ID}/bounced\n
"; +if($result->was_successful()) { + echo "Got subscribers\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/get_custom_fields.php b/vendor/campaignmonitor/createsend-php/samples/list/get_custom_fields.php new file mode 100644 index 00000000..e77f0690 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/get_custom_fields.php @@ -0,0 +1,20 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->get_custom_fields(); + +echo "Result of GET /api/v3.1/lists/{ID}/customfields\n
"; +if($result->was_successful()) { + echo "Got custom fields\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/get_deleted_subscribers.php b/vendor/campaignmonitor/createsend-php/samples/list/get_deleted_subscribers.php new file mode 100644 index 00000000..0503e319 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/get_deleted_subscribers.php @@ -0,0 +1,22 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->get_deleted_subscribers('Deleted Since', 1, 50, 'email', 'asc'); +//$result = $wrap->get_bounced_subscribers(date('Y-m-d', strtotime('-30 days')), +// page number, page size, order by, order direction); + +echo "Result of GET /api/v3.3/lists/{ID}/deleted\n
"; +if($result->was_successful()) { + echo "Got subscribers\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/get_segments.php b/vendor/campaignmonitor/createsend-php/samples/list/get_segments.php new file mode 100644 index 00000000..20747dea --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/get_segments.php @@ -0,0 +1,20 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->get_segments(); + +echo "Result of GET /api/v3.1/lists/{ID}/segments\n
"; +if($result->was_successful()) { + echo "Got custom fields\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/get_stats.php b/vendor/campaignmonitor/createsend-php/samples/list/get_stats.php new file mode 100644 index 00000000..b97dce1c --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/get_stats.php @@ -0,0 +1,20 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->get_stats(); + +echo "Result of GET /api/v3.1/lists/{ID}/stats\n
"; +if($result->was_successful()) { + echo "Got list stats\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/get_unconfirmed_subscribers.php b/vendor/campaignmonitor/createsend-php/samples/list/get_unconfirmed_subscribers.php new file mode 100644 index 00000000..2aadf88a --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/get_unconfirmed_subscribers.php @@ -0,0 +1,22 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->get_unconfirmed_subscribers('Added since', 1, 50, 'email', 'asc'); +//$result = $wrap->get_active_subscribers(date('Y-m-d', strtotime('-30 days')), +// page number, page size, order by, order direction); + +echo "Result of GET /api/v3.3/lists/{ID}/unconfirmed\n
"; +if($result->was_successful()) { + echo "Got subscribers\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/get_unsubscribed_subscribers.php b/vendor/campaignmonitor/createsend-php/samples/list/get_unsubscribed_subscribers.php new file mode 100644 index 00000000..5f72e85a --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/get_unsubscribed_subscribers.php @@ -0,0 +1,22 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->get_unsubscribed_subscribers('Unsubscribed Since', 1, 50, 'email', 'asc'); +//$result = $wrap->get_bounced_subscribers(date('Y-m-d', strtotime('-30 days')), +// page number, page size, order by, order direction); + +echo "Result of GET /api/v3.3/lists/{ID}/unsubscribed\n
"; +if($result->was_successful()) { + echo "Got subscribers\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/get_webhooks.php b/vendor/campaignmonitor/createsend-php/samples/list/get_webhooks.php new file mode 100644 index 00000000..45bd818c --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/get_webhooks.php @@ -0,0 +1,20 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->get_webhooks(); + +echo "Result of GET /api/v3.1/lists/{ID}/webhooks\n
"; +if($result->was_successful()) { + echo "Got list webhooks\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/list_webhook_receiver.php b/vendor/campaignmonitor/createsend-php/samples/list/list_webhook_receiver.php new file mode 100644 index 00000000..a528832d --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/list_webhook_receiver.php @@ -0,0 +1,31 @@ +deserialise($raw_post); + +$parsed_log = fopen('parsed_log.txt', 'a') or die('Can\'t open parsed log'); + +fwrite($parsed_log, date('H:i:s').' Got hook data for list: '.$deserialised_data->ListID."\n"); + +// And now just do something with the data +foreach ($deserialised_data->Events as $event) { + fwrite($parsed_log, 'Got '.$event->Type.' event for: '.$event->EmailAddress."\n"); + fwrite($parsed_log, var_export($event, true)); +} + +fclose($parsed_log); +?> diff --git a/vendor/campaignmonitor/createsend-php/samples/list/test_webhook.php b/vendor/campaignmonitor/createsend-php/samples/list/test_webhook.php new file mode 100644 index 00000000..84e1028e --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/test_webhook.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->test_webhook('Webhook ID'); + +echo "Result of POST /api/v3.1/lists/{ID}/webhooks/{WHID}/test\n
"; +if($result->was_successful()) { + echo "Test was successful"; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/update.php b/vendor/campaignmonitor/createsend-php/samples/list/update.php new file mode 100644 index 00000000..3f7702f8 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/update.php @@ -0,0 +1,27 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->update(array( + 'Title' => 'List Title', + 'UnsubscribePage' => 'List unsubscribe page', + 'ConfirmedOptIn' => true, + 'ConfirmationSuccessPage' => 'List confirmation success page', + 'UnsubscribeSetting' => CS_REST_LIST_UNSUBSCRIBE_SETTING_ALL_CLIENT_LISTS, + 'AddUnsubscribesToSuppList' => true, + 'ScrubActiveWithSuppList' => true +)); + +echo "Result of PUT /api/v3.1/lists/{ID}\n
"; +if($result->was_successful()) { + echo "Updated with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/update_custom_field.php b/vendor/campaignmonitor/createsend-php/samples/list/update_custom_field.php new file mode 100644 index 00000000..531c2bb4 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/update_custom_field.php @@ -0,0 +1,25 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->update_custom_field( + '[CustomFieldKey]', + array( + 'FieldName' => 'new field name', + 'VisibleInPreferenceCenter' => true + ) +); + +echo "Result of PUT /api/v3.1/lists/{ID}/customfields/{fieldkey}\n
"; +if($result->was_successful()) { + echo "Updated with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/list/update_field_options.php b/vendor/campaignmonitor/createsend-php/samples/list/update_field_options.php new file mode 100644 index 00000000..45a88381 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/list/update_field_options.php @@ -0,0 +1,20 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Lists('List ID', $auth); + +$result = $wrap->update_field_options('[CustomFieldKey]', + array('Option 1', 'Option 2'), true); + +echo "Result of PUT /api/v3.1/lists/{ID}/customfields/{fieldkey}/options\n
"; +if($result->was_successful()) { + echo "Updated with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/segment/add_rule.php b/vendor/campaignmonitor/createsend-php/samples/segment/add_rule.php new file mode 100644 index 00000000..b993a055 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/segment/add_rule.php @@ -0,0 +1,26 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Segments('Segment ID', $auth); + +$result = $wrap->add_rulegroup(array( + 'Rules' => array( + array( + 'RuleType' => 'EmailAddress', + 'Clause' => 'CONTAINS example.com' + ) + ) +)); + +echo "Result of PUT /api/v3.1/segments/{segmentID}/rules\n
"; +if($result->was_successful()) { + echo "Updated with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/segment/clear_rules.php b/vendor/campaignmonitor/createsend-php/samples/segment/clear_rules.php new file mode 100644 index 00000000..dc987866 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/segment/clear_rules.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Segments('Segment ID', $auth); + +$result = $wrap->clear_rules(); + +echo "Result of DELETE /api/v3.1/segments/{ID}/rules\n
"; +if($result->was_successful()) { + echo "Cleared with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/segment/create.php b/vendor/campaignmonitor/createsend-php/samples/segment/create.php new file mode 100644 index 00000000..fc899fdc --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/segment/create.php @@ -0,0 +1,43 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Segments(NULL, $auth); + +$result = $wrap->create('Segments List ID', array( + 'Title' => 'Segment Title', + 'RuleGroups' => array( + array( + 'Rules' => array( + array( + 'RuleType' => 'EmailAddress', + 'Clause' => 'CONTAINS example.com' + ) + ) + ), + array( + 'Rules' => array( + array( + 'RuleType' => '[customfield]', + 'Clause' => 'PROVIDED' + ), + array( + 'RuleType' => '[customfield]', + 'Clause' => 'EQUALS 1' + ) + ) + ) + ) +)); + +echo "Result of POST /api/v3.1/segments/{listID}\n
"; +if($result->was_successful()) { + echo "Created with ID\n
".$result->response; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/segment/delete.php b/vendor/campaignmonitor/createsend-php/samples/segment/delete.php new file mode 100644 index 00000000..086aab7c --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/segment/delete.php @@ -0,0 +1,20 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Segments('Segment ID', $auth); + + +$result = $wrap->delete(); + +echo "Result of DELETE /api/v3.1/segments/{ID}\n
"; +if($result->was_successful()) { + echo "Deleted with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/segment/get.php b/vendor/campaignmonitor/createsend-php/samples/segment/get.php new file mode 100644 index 00000000..7da3b896 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/segment/get.php @@ -0,0 +1,20 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Segments('Segment ID', $auth); + +$result = $wrap->get(); + +echo "Result of GET /api/v3.1/segments/{ID}\n
"; +if($result->was_successful()) { + echo "Got segment details\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/segment/get_subscribers.php b/vendor/campaignmonitor/createsend-php/samples/segment/get_subscribers.php new file mode 100644 index 00000000..74ad7e64 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/segment/get_subscribers.php @@ -0,0 +1,24 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Segments('Segment ID', $auth); + +//The 6th argument will return the tracking preference of the subscribers - 'ConsentToTrack' +$result = $wrap->get_subscribers('Added since', 1, 50, 'email', 'asc', true); + +//$result = $wrap->get_subscribers(date('Y-m-d', strtotime('-30 days')), +// page number, page size, order by, order description); + +echo "Result of GET /api/v3.3/segments/{segment id}/active\n
"; +if($result->was_successful()) { + echo "Got subscribers\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/segment/update.php b/vendor/campaignmonitor/createsend-php/samples/segment/update.php new file mode 100644 index 00000000..2e7df69b --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/segment/update.php @@ -0,0 +1,39 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Segments('Segment ID', $auth); + +$result = $wrap->update(array( + 'Title' => 'Segment Title', + 'RuleGroups' => array( + array( + 'Rules' => array( + array( + 'RuleType' => 'EmailAddress', + 'Clause' => 'CONTAINS example.com' + ) + ) + ), + array( + 'Rules' => array( + array( + 'RuleType' => '[customfield]', + 'Clause' => 'EQUALS 1' + ) + ) + ) + ) +)); + +echo "Result of PUT /api/v3.1/segments/{segmentID}\n
"; +if($result->was_successful()) { + echo "Updated with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/subscriber/add.php b/vendor/campaignmonitor/createsend-php/samples/subscriber/add.php new file mode 100644 index 00000000..982d912b --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/subscriber/add.php @@ -0,0 +1,41 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Subscribers('Your list ID', $auth); +$result = $wrap->add(array( + 'EmailAddress' => 'Subscriber email', + 'Name' => 'Subscriber name', + 'CustomFields' => array( + array( + 'Key' => 'Field 1 Key', + 'Value' => 'Field Value' + ), + array( + 'Key' => 'Field 2 Key', + 'Value' => 'Field Value' + ), + array( + 'Key' => 'Multi Option Field 1', + 'Value' => 'Option 1' + ), + array( + 'Key' => 'Multi Option Field 1', + 'Value' => 'Option 2' + ) + ), + 'ConsentToTrack' => 'yes', + 'Resubscribe' => true +)); + +echo "Result of POST /api/v3.1/subscribers/{list id}.{format}\n
"; +if($result->was_successful()) { + echo "Subscribed with code ".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/subscriber/delete.php b/vendor/campaignmonitor/createsend-php/samples/subscriber/delete.php new file mode 100644 index 00000000..303acf40 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/subscriber/delete.php @@ -0,0 +1,18 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Subscribers('Your list ID', $auth); +$result = $wrap->delete('Email Address'); + +echo "Result of DELETE /api/v3.1/subscribers/{list id}.{format}?email={emailAddress}\n
"; +if($result->was_successful()) { + echo "Unsubscribed with code ".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/subscriber/get.php b/vendor/campaignmonitor/createsend-php/samples/subscriber/get.php new file mode 100644 index 00000000..b3fc935e --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/subscriber/get.php @@ -0,0 +1,21 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Subscribers('Your list ID', $auth); + +//The 2nd argument will return the tracking preference of the subscriber - 'ConsentToTrack' +$result = $wrap->get('Email address', true); + +echo "Result of GET /api/v3.3/subscribers/{list id}.{format}?email={email}\n
"; +if($result->was_successful()) { + echo "Got subscriber
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/subscriber/get_history.php b/vendor/campaignmonitor/createsend-php/samples/subscriber/get_history.php new file mode 100644 index 00000000..6b79d930 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/subscriber/get_history.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Subscribers('Your list ID', $auth); +$result = $wrap->get_history('Email address'); + +echo "Result of GET /api/v3.1/subscribers/{list id}/history.{format}?email={email}\n
"; +if($result->was_successful()) { + echo "Got subscriber history
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/subscriber/import.php b/vendor/campaignmonitor/createsend-php/samples/subscriber/import.php new file mode 100644 index 00000000..9139c4e2 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/subscriber/import.php @@ -0,0 +1,77 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Subscribers('Your list ID', $auth); + +$result = $wrap->import(array( + array( + 'EmailAddress' => 'Subscriber email', + 'Name' => 'Subscriber name', + 'CustomFields' => array( + array( + 'Key' => 'Field 1 Key', + 'Value' => 'Field Value' + ), + array( + 'Key' => 'Field 2 Key', + 'Value' => 'Field Value' + ), + array( + 'Key' => 'Multi Option Field 1', + 'Value' => 'Option 1' + ), + array( + 'Key' => 'Multi Option Field 1', + 'Value' => 'Option 2' + ) + ) + ), + array( + 'EmailAddress' => '2nd Subscriber email', + 'Name' => '2nd Subscriber name', + 'CustomFields' => array( + array( + 'Key' => 'Field 1 Key', + 'Value' => 'Field Value' + ), + array( + 'Key' => 'Field 2 Key', + 'Value' => 'Field Value' + ), + array( + 'Key' => 'Multi Option Field 1', + 'Value' => 'Option 1' + ), + array( + 'Key' => 'Multi Option Field 1', + 'Value' => 'Option 2' + ) + ) + ) +), false); + +echo "Result of POST /api/v3.1/subscribers/{list id}/import.{format}\n
"; +if($result->was_successful()) { + echo "Subscribed with results
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; + + if($result->response->ResultData->TotalExistingSubscribers > 0) { + echo 'Updated '.$result->response->ResultData->TotalExistingSubscribers.' existing subscribers in the list'; + } else if($result->response->ResultData->TotalNewSubscribers > 0) { + echo 'Added '.$result->response->ResultData->TotalNewSubscribers.' to the list'; + } else if(count($result->response->ResultData->DuplicateEmailsInSubmission) > 0) { + echo $result->response->ResultData->DuplicateEmailsInSubmission.' were duplicated in the provided array.'; + } + + echo 'The following emails failed to import correctly.
';
+    var_dump($result->response->ResultData->FailureDetails);
+}
+echo '
'; diff --git a/vendor/campaignmonitor/createsend-php/samples/subscriber/unsubscribe.php b/vendor/campaignmonitor/createsend-php/samples/subscriber/unsubscribe.php new file mode 100644 index 00000000..07443e91 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/subscriber/unsubscribe.php @@ -0,0 +1,18 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Subscribers('Your list ID', $auth); +$result = $wrap->unsubscribe('Email Address'); + +echo "Result of GET /api/v3.1/subscribers/{list id}/unsubscribe.{format}\n
"; +if($result->was_successful()) { + echo "Unsubscribed with code ".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/subscriber/update.php b/vendor/campaignmonitor/createsend-php/samples/subscriber/update.php new file mode 100644 index 00000000..5f3c79be --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/subscriber/update.php @@ -0,0 +1,29 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Subscribers('Your list ID', $auth); +$result = $wrap->update('Old Email Address', array( + 'EmailAddress' => 'New Email Address', + 'Name' => 'Subscriber name', + 'CustomFields' => array( + array( + 'Key' => 'Field Key', + 'Value' => 'Field Value' + ) + ), + 'ConsentToTrack' => 'unchanged', + 'Resubscribe' => true +)); + +echo "Result of PUT /api/v3.1/subscribers/{list id}.{format}?email={email}\n
"; +if($result->was_successful()) { + echo "Subscribed with code ".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/template/create.php b/vendor/campaignmonitor/createsend-php/samples/template/create.php new file mode 100644 index 00000000..7170acaa --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/template/create.php @@ -0,0 +1,23 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Templates(NULL, $auth); + +$result = $wrap->create('Templates Client ID', array( + 'Name' => 'Template Name', + 'HtmlPageURL' => 'Template HTML Url', + 'ZipFileURL' => 'Template Images Zip URL' +)); + +echo "Result of POST /api/v3.1/templates/{clientID}\n
"; +if($result->was_successful()) { + echo "Created with ID\n
".$result->response; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/template/delete.php b/vendor/campaignmonitor/createsend-php/samples/template/delete.php new file mode 100644 index 00000000..0031e5aa --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/template/delete.php @@ -0,0 +1,19 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Templates('Template ID', $auth); + +$result = $wrap->delete(); + +echo "Result of DELETE /api/v3.1/templates/{ID}\n
"; +if($result->was_successful()) { + echo "Deleted with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/template/get.php b/vendor/campaignmonitor/createsend-php/samples/template/get.php new file mode 100644 index 00000000..5fcc7863 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/template/get.php @@ -0,0 +1,20 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Templates('Template ID', $auth); + +$result = $wrap->get(); + +echo "Result of GET /api/v3.1/templates/{ID}\n
"; +if($result->was_successful()) { + echo "Got template details\n
";
+    var_dump($result->response);
+} else {
+    echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+}
+echo '
'; \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/template/update.php b/vendor/campaignmonitor/createsend-php/samples/template/update.php new file mode 100644 index 00000000..048f6ce8 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/template/update.php @@ -0,0 +1,23 @@ + 'your access token', + 'refresh_token' => 'your refresh token'); +$wrap = new CS_REST_Templates('Template ID', $auth); + +$result = $wrap->update(array( + 'Name' => 'Template Name', + 'HtmlPageURL' => 'Template HTML Url', + 'ZipFileURL' => 'Template Images Zip URL' +)); + +echo "Result of PUT /api/v3.1/templates/{ID}\n
"; +if($result->was_successful()) { + echo "Updated with code\n
".$result->http_status_code; +} else { + echo 'Failed with code '.$result->http_status_code."\n
";
+    var_dump($result->response);
+    echo '
'; +} \ No newline at end of file diff --git a/vendor/campaignmonitor/createsend-php/samples/transactional/classic_groups.php b/vendor/campaignmonitor/createsend-php/samples/transactional/classic_groups.php new file mode 100644 index 00000000..f025362b --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/transactional/classic_groups.php @@ -0,0 +1,12 @@ + "Your API Key"); + +$wrap = new CS_REST_Transactional_ClassicEmail($auth, $client_id); + +echo "Get the list of classic groups...\n"; +$result = $wrap->groups(); +var_dump($result->response); + diff --git a/vendor/campaignmonitor/createsend-php/samples/transactional/classic_send.php b/vendor/campaignmonitor/createsend-php/samples/transactional/classic_send.php new file mode 100644 index 00000000..97854540 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/transactional/classic_send.php @@ -0,0 +1,63 @@ + "Your API Key"); +$wrap = new CS_REST_Transactional_ClassicEmail($auth, $client_id); + +echo "\nSending a simple message...\n"; + +$simple_message = array( + "From" => "support@example.com", + "Subject" => "Test from createsend-php", + "To" => "Joe Bloggs ", + "HTML" => "This is the HTML message body with a link." +); +$group_name = 'PHP test group'; # optional but great for reporting, should not be unique per message +$consent_to_track = 'yes'; # Valid: 'yes', 'no', 'unchanged' + +$result = $wrap->send($simple_message, $group_name,$consent_to_track); +echo "\nSent! Here's the response:\n"; +var_dump($result->response); + +echo "\nSending a message with all the options...\n"; + +$complex_message = array( + "From" => "ed@example.com", + "ReplyTo" => "support@example.com", + "Subject" => "Test from createsend-php", + "To" => array( + "Sam Jones ", + "jane@example.org" + ), + "CC" => array( + "Mike ", + "Sally Perlis " + ), + "BCC" => array( + "tim@example.com", + "allison@example.com", + ), + "HTML" => "This is the HTML message body with a link.", + "Text" => "Instead of using the auto-generated text from the HTML, you can supply your own.", + "Attachments" => array( + array( + "Name" => "filename.gif", + "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NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAAAAAAAsAAAAACAAIAAAA5loutz+MKpSpIWU3r1KCBW3eYQmWgWhmiemEgPbNqk6xDOd1XGYV77UzTfbTWC4nAHYQRKLu1VSuXxlpsodAFDAZrfcIbXDFXqhNacoQ3vZpuxHSJZ2zufyTqcunugdd00vQ0F4chQCAgYCaTcxiYuMMhGJFG89kYpFl5MzkoRPnpJskFSaDqctRoBxHEQsdGs0f7Qjq3utDwkAOw==" + ) + ) +); +$group_name = "PHP test group"; # optional, great for reporting, should not be unique message +$add_recipients_to_subscriber_list_ID = "6d0366fcee146ab9bdaf3247446bbfdd"; # optional, make sure you have permission +$consent_to_track = 'yes'; # Valid: 'yes', 'no', 'unchanged' + +$options = array( + "TrackOpens" => true, + "TrackClicks" => true, + "InlineCSS" => true, +); # all are true by default, but you can override +$result = $wrap->send($complex_message, $group_name, $consent_to_track, $add_recipients_to_subscriber_list_ID, $options); +echo "\nSent! Here's the response:\n"; +var_dump($result->response); + diff --git a/vendor/campaignmonitor/createsend-php/samples/transactional/smart_details.php b/vendor/campaignmonitor/createsend-php/samples/transactional/smart_details.php new file mode 100644 index 00000000..69709e63 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/transactional/smart_details.php @@ -0,0 +1,12 @@ + "Your API Key"); + +$smart_email_id = "Smart Email ID goes here"; #grab it from the URL +$wrap = new CS_REST_Transactional_SmartEmail($smart_email_id, $auth); + +echo "\nGetting the details of the smart email...\n"; +$result = $wrap->get_details($smart_email_id); +var_dump($result->response); + diff --git a/vendor/campaignmonitor/createsend-php/samples/transactional/smart_list.php b/vendor/campaignmonitor/createsend-php/samples/transactional/smart_list.php new file mode 100644 index 00000000..1a2fa511 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/transactional/smart_list.php @@ -0,0 +1,21 @@ + "Your API Key"); +$wrap = new CS_REST_Transactional_SmartEmail(NULL, $auth, $client_id); + +echo "\nGetting the list of smart emails...\n"; + +$result = $wrap->get_list(); +echo "Found " . count($result->response) . " smart emails, here's the first in the list:\n"; +var_dump($result->response); + + +echo "\nGetting the list smart emails, filtered by status...\n"; + +$total = $wrap->get_list(array("status" => 'all'))->response; +$active = $wrap->get_list(array("status" => 'active'))->response; +$draft = $wrap->get_list(array("status" => 'draft'))->response; +echo "Found " . count($active) . " active and " . count($draft) . " draft smart emails, for a total of " . count($total) . " smart emails.\n"; + diff --git a/vendor/campaignmonitor/createsend-php/samples/transactional/smart_send.php b/vendor/campaignmonitor/createsend-php/samples/transactional/smart_send.php new file mode 100644 index 00000000..4cad6328 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/transactional/smart_send.php @@ -0,0 +1,56 @@ + "Your API Key"); +$smart_email_id = "Smart Email ID goes here"; #grab it from the URL +$wrap = new CS_REST_Transactional_SmartEmail($smart_email_id, $auth); + +echo "\nSending a simple smart email...\n"; + +$simple_message = array( + "To" => "Jane Bloggs ", + "Data" => array( + "username" => "janebloggs" + ), +); +$consent_to_track = 'yes'; # Valid: 'yes', 'no', 'unchanged' +$result = $wrap->send($simple_message, $consent_to_track); +echo "\nSent! Here's the response:\n"; +var_dump($result->response); + + +echo "\nSending a message with all the options...\n"; + +$complex_message = array( + "To" => array( + "Sam Jones ", + "Phil Oye ", + "jane@example.org" + ), + "CC" => array( + "Mike ", + "Sally Perlis " + ), + "BCC" => array( + "tim@example.com", + "allison@example.com" + ), + "Data" => array( + "username" => "janebloggs" + ), + "Attachments" => array( + array( + "Name" => 'filename.gif', + "Type" => 'image/gif', + "Content" => 'R0lGODlhIAAgAKIAAP8AAJmZADNmAMzMAP//AAAAAP///wAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMwMTQgNzkuMTU2Nzk3LCAyMDE0LzA4LzIwLTA5OjUzOjAyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNCAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowNzZGOUNGOUVDRDIxMUU0ODM2RjhGMjNCMTcxN0I2RiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowNzZGOUNGQUVDRDIxMUU0ODM2RjhGMjNCMTcxN0I2RiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjA3NkY5Q0Y3RUNEMjExRTQ4MzZGOEYyM0IxNzE3QjZGIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjA3NkY5Q0Y4RUNEMjExRTQ4MzZGOEYyM0IxNzE3QjZGIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAAAAAAAsAAAAACAAIAAAA5loutz+MKpSpIWU3r1KCBW3eYQmWgWhmiemEgPbNqk6xDOd1XGYV77UzTfbTWC4nAHYQRKLu1VSuXxlpsodAFDAZrfcIbXDFXqhNacoQ3vZpuxHSJZ2zufyTqcunugdd00vQ0F4chQCAgYCaTcxiYuMMhGJFG89kYpFl5MzkoRPnpJskFSaDqctRoBxHEQsdGs0f7Qjq3utDwkAOw==' + ) + ) +); + +$add_recipients_to_subscriber_list = true; +$consent_to_track = 'yes'; # Valid: 'yes', 'no', 'unchanged' + +$result = $wrap->send($complex_message, $consent_to_track, $add_recipients_to_subscriber_list); +echo "\nSent! Here's the response:\n"; +var_dump($result->response); + diff --git a/vendor/campaignmonitor/createsend-php/samples/transactional/timeline.php b/vendor/campaignmonitor/createsend-php/samples/transactional/timeline.php new file mode 100644 index 00000000..a41076d0 --- /dev/null +++ b/vendor/campaignmonitor/createsend-php/samples/transactional/timeline.php @@ -0,0 +1,81 @@ + "Your API Key"); +$wrap = new CS_REST_Transactional_Timeline($auth, $client_id); + + +echo "\nGetting the statistics with the default parameters...\n"; +$result = $wrap->statistics(); +var_dump($result->response); + + +echo "\nGetting the statistics, filtered to a classic group...\n"; +$result = $wrap->statistics(array( + "from" => "2015-01-01", + "to" => "2015-06-30", + "timezone" => "utc", + "group" => "PHP Test Group" +)); +var_dump($result->response); + + +echo "\nGetting the statistics, filtered to a smart email...\n"; +$smart_email_id = "94b2a1a5-6754-416b-a87f-1edb81c460a2"; #grab it from the URL +$result = $wrap->statistics(array( + "from" => "2015-01-01", + "to" => "2015-06-30", + "timezone" => "client", + "smartEmailID" => $smart_email_id +)); +var_dump($result->response); + + +echo "\nGetting the most recent sent messages...\n"; +$result = $wrap->messages(); +$last_message_id = $result->response[0]->MessageID; +echo "\nHere's the first:\n"; +var_dump($result->response[0]); + + +echo "\nGetting the most recent messages for a smart email, with all the options...\n"; +$result = $wrap->messages(array( + "status" => 'all', + "count" => 200, + "sentBeforeID" => NULL, # message ID + "sentAfterID" => NULL, # message ID + "smartEmailID" => '94b2a1a5-6754-416b-a87f-1edb81c460a2', +)); +$last_message_id = $result->response[0]->MessageID; +echo "\nHere's the first:\n"; +var_dump($result->response[0]); + + +echo "\nGetting the most recent messages for a classic email, with all the options...\n"; +$result = $wrap->messages(array( + "status" => 'all', + "count" => 200, + "sentBeforeID" => NULL, # message ID + "sentAfterID" => NULL, # message ID + "group" => 'PHP test group', +)); +$last_message_id = $result->response[0]->MessageID; +echo "\nHere's the first:\n"; +var_dump($result->response[0]); + + +echo "\nGetting the details of the most recent message...\n"; +$result = $wrap->details($last_message_id); +var_dump($result->response); + + +echo "\nGetting the message details with details of opens and clicks...\n"; +$result = $wrap->details($last_message_id, true); +var_dump($result->response); + + +echo "\nResending message...\n"; +$result = $wrap->resend($last_message_id); +var_dump($result->response); + diff --git a/vendor/composer/ClassLoader.php b/vendor/composer/ClassLoader.php new file mode 100644 index 00000000..7824d8f7 --- /dev/null +++ b/vendor/composer/ClassLoader.php @@ -0,0 +1,579 @@ + + * Jordi Boggiano + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Composer\Autoload; + +/** + * ClassLoader implements a PSR-0, PSR-4 and classmap class loader. + * + * $loader = new \Composer\Autoload\ClassLoader(); + * + * // register classes with namespaces + * $loader->add('Symfony\Component', __DIR__.'/component'); + * $loader->add('Symfony', __DIR__.'/framework'); + * + * // activate the autoloader + * $loader->register(); + * + * // to enable searching the include path (eg. for PEAR packages) + * $loader->setUseIncludePath(true); + * + * In this example, if you try to use a class in the Symfony\Component + * namespace or one of its children (Symfony\Component\Console for instance), + * the autoloader will first look for the class under the component/ + * directory, and it will then fallback to the framework/ directory if not + * found before giving up. + * + * This class is loosely based on the Symfony UniversalClassLoader. + * + * @author Fabien Potencier + * @author Jordi Boggiano + * @see https://www.php-fig.org/psr/psr-0/ + * @see https://www.php-fig.org/psr/psr-4/ + */ +class ClassLoader +{ + /** @var \Closure(string):void */ + private static $includeFile; + + /** @var string|null */ + private $vendorDir; + + // PSR-4 + /** + * @var array> + */ + private $prefixLengthsPsr4 = array(); + /** + * @var array> + */ + private $prefixDirsPsr4 = array(); + /** + * @var list + */ + private $fallbackDirsPsr4 = array(); + + // PSR-0 + /** + * List of PSR-0 prefixes + * + * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2'))) + * + * @var array>> + */ + private $prefixesPsr0 = array(); + /** + * @var list + */ + private $fallbackDirsPsr0 = array(); + + /** @var bool */ + private $useIncludePath = false; + + /** + * @var array + */ + private $classMap = array(); + + /** @var bool */ + private $classMapAuthoritative = false; + + /** + * @var array + */ + private $missingClasses = array(); + + /** @var string|null */ + private $apcuPrefix; + + /** + * @var array + */ + private static $registeredLoaders = array(); + + /** + * @param string|null $vendorDir + */ + public function __construct($vendorDir = null) + { + $this->vendorDir = $vendorDir; + self::initializeIncludeClosure(); + } + + /** + * @return array> + */ + public function getPrefixes() + { + if (!empty($this->prefixesPsr0)) { + return call_user_func_array('array_merge', array_values($this->prefixesPsr0)); + } + + return array(); + } + + /** + * @return array> + */ + public function getPrefixesPsr4() + { + return $this->prefixDirsPsr4; + } + + /** + * @return list + */ + public function getFallbackDirs() + { + return $this->fallbackDirsPsr0; + } + + /** + * @return list + */ + public function getFallbackDirsPsr4() + { + return $this->fallbackDirsPsr4; + } + + /** + * @return array Array of classname => path + */ + public function getClassMap() + { + return $this->classMap; + } + + /** + * @param array $classMap Class to filename map + * + * @return void + */ + public function addClassMap(array $classMap) + { + if ($this->classMap) { + $this->classMap = array_merge($this->classMap, $classMap); + } else { + $this->classMap = $classMap; + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, either + * appending or prepending to the ones previously set for this prefix. + * + * @param string $prefix The prefix + * @param list|string $paths The PSR-0 root directories + * @param bool $prepend Whether to prepend the directories + * + * @return void + */ + public function add($prefix, $paths, $prepend = false) + { + $paths = (array) $paths; + if (!$prefix) { + if ($prepend) { + $this->fallbackDirsPsr0 = array_merge( + $paths, + $this->fallbackDirsPsr0 + ); + } else { + $this->fallbackDirsPsr0 = array_merge( + $this->fallbackDirsPsr0, + $paths + ); + } + + return; + } + + $first = $prefix[0]; + if (!isset($this->prefixesPsr0[$first][$prefix])) { + $this->prefixesPsr0[$first][$prefix] = $paths; + + return; + } + if ($prepend) { + $this->prefixesPsr0[$first][$prefix] = array_merge( + $paths, + $this->prefixesPsr0[$first][$prefix] + ); + } else { + $this->prefixesPsr0[$first][$prefix] = array_merge( + $this->prefixesPsr0[$first][$prefix], + $paths + ); + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, either + * appending or prepending to the ones previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param list|string $paths The PSR-4 base directories + * @param bool $prepend Whether to prepend the directories + * + * @throws \InvalidArgumentException + * + * @return void + */ + public function addPsr4($prefix, $paths, $prepend = false) + { + $paths = (array) $paths; + if (!$prefix) { + // Register directories for the root namespace. + if ($prepend) { + $this->fallbackDirsPsr4 = array_merge( + $paths, + $this->fallbackDirsPsr4 + ); + } else { + $this->fallbackDirsPsr4 = array_merge( + $this->fallbackDirsPsr4, + $paths + ); + } + } elseif (!isset($this->prefixDirsPsr4[$prefix])) { + // Register directories for a new namespace. + $length = strlen($prefix); + if ('\\' !== $prefix[$length - 1]) { + throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); + } + $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; + $this->prefixDirsPsr4[$prefix] = $paths; + } elseif ($prepend) { + // Prepend directories for an already registered namespace. + $this->prefixDirsPsr4[$prefix] = array_merge( + $paths, + $this->prefixDirsPsr4[$prefix] + ); + } else { + // Append directories for an already registered namespace. + $this->prefixDirsPsr4[$prefix] = array_merge( + $this->prefixDirsPsr4[$prefix], + $paths + ); + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, + * replacing any others previously set for this prefix. + * + * @param string $prefix The prefix + * @param list|string $paths The PSR-0 base directories + * + * @return void + */ + public function set($prefix, $paths) + { + if (!$prefix) { + $this->fallbackDirsPsr0 = (array) $paths; + } else { + $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths; + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, + * replacing any others previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param list|string $paths The PSR-4 base directories + * + * @throws \InvalidArgumentException + * + * @return void + */ + public function setPsr4($prefix, $paths) + { + if (!$prefix) { + $this->fallbackDirsPsr4 = (array) $paths; + } else { + $length = strlen($prefix); + if ('\\' !== $prefix[$length - 1]) { + throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); + } + $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; + $this->prefixDirsPsr4[$prefix] = (array) $paths; + } + } + + /** + * Turns on searching the include path for class files. + * + * @param bool $useIncludePath + * + * @return void + */ + public function setUseIncludePath($useIncludePath) + { + $this->useIncludePath = $useIncludePath; + } + + /** + * Can be used to check if the autoloader uses the include path to check + * for classes. + * + * @return bool + */ + public function getUseIncludePath() + { + return $this->useIncludePath; + } + + /** + * Turns off searching the prefix and fallback directories for classes + * that have not been registered with the class map. + * + * @param bool $classMapAuthoritative + * + * @return void + */ + public function setClassMapAuthoritative($classMapAuthoritative) + { + $this->classMapAuthoritative = $classMapAuthoritative; + } + + /** + * Should class lookup fail if not found in the current class map? + * + * @return bool + */ + public function isClassMapAuthoritative() + { + return $this->classMapAuthoritative; + } + + /** + * APCu prefix to use to cache found/not-found classes, if the extension is enabled. + * + * @param string|null $apcuPrefix + * + * @return void + */ + public function setApcuPrefix($apcuPrefix) + { + $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null; + } + + /** + * The APCu prefix in use, or null if APCu caching is not enabled. + * + * @return string|null + */ + public function getApcuPrefix() + { + return $this->apcuPrefix; + } + + /** + * Registers this instance as an autoloader. + * + * @param bool $prepend Whether to prepend the autoloader or not + * + * @return void + */ + public function register($prepend = false) + { + spl_autoload_register(array($this, 'loadClass'), true, $prepend); + + if (null === $this->vendorDir) { + return; + } + + if ($prepend) { + self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders; + } else { + unset(self::$registeredLoaders[$this->vendorDir]); + self::$registeredLoaders[$this->vendorDir] = $this; + } + } + + /** + * Unregisters this instance as an autoloader. + * + * @return void + */ + public function unregister() + { + spl_autoload_unregister(array($this, 'loadClass')); + + if (null !== $this->vendorDir) { + unset(self::$registeredLoaders[$this->vendorDir]); + } + } + + /** + * Loads the given class or interface. + * + * @param string $class The name of the class + * @return true|null True if loaded, null otherwise + */ + public function loadClass($class) + { + if ($file = $this->findFile($class)) { + $includeFile = self::$includeFile; + $includeFile($file); + + return true; + } + + return null; + } + + /** + * Finds the path to the file where the class is defined. + * + * @param string $class The name of the class + * + * @return string|false The path if found, false otherwise + */ + public function findFile($class) + { + // class map lookup + if (isset($this->classMap[$class])) { + return $this->classMap[$class]; + } + if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) { + return false; + } + if (null !== $this->apcuPrefix) { + $file = apcu_fetch($this->apcuPrefix.$class, $hit); + if ($hit) { + return $file; + } + } + + $file = $this->findFileWithExtension($class, '.php'); + + // Search for Hack files if we are running on HHVM + if (false === $file && defined('HHVM_VERSION')) { + $file = $this->findFileWithExtension($class, '.hh'); + } + + if (null !== $this->apcuPrefix) { + apcu_add($this->apcuPrefix.$class, $file); + } + + if (false === $file) { + // Remember that this class does not exist. + $this->missingClasses[$class] = true; + } + + return $file; + } + + /** + * Returns the currently registered loaders keyed by their corresponding vendor directories. + * + * @return array + */ + public static function getRegisteredLoaders() + { + return self::$registeredLoaders; + } + + /** + * @param string $class + * @param string $ext + * @return string|false + */ + private function findFileWithExtension($class, $ext) + { + // PSR-4 lookup + $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext; + + $first = $class[0]; + if (isset($this->prefixLengthsPsr4[$first])) { + $subPath = $class; + while (false !== $lastPos = strrpos($subPath, '\\')) { + $subPath = substr($subPath, 0, $lastPos); + $search = $subPath . '\\'; + if (isset($this->prefixDirsPsr4[$search])) { + $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1); + foreach ($this->prefixDirsPsr4[$search] as $dir) { + if (file_exists($file = $dir . $pathEnd)) { + return $file; + } + } + } + } + } + + // PSR-4 fallback dirs + foreach ($this->fallbackDirsPsr4 as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { + return $file; + } + } + + // PSR-0 lookup + if (false !== $pos = strrpos($class, '\\')) { + // namespaced class name + $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1) + . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR); + } else { + // PEAR-like class name + $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext; + } + + if (isset($this->prefixesPsr0[$first])) { + foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) { + if (0 === strpos($class, $prefix)) { + foreach ($dirs as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + return $file; + } + } + } + } + } + + // PSR-0 fallback dirs + foreach ($this->fallbackDirsPsr0 as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + return $file; + } + } + + // PSR-0 include paths. + if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) { + return $file; + } + + return false; + } + + /** + * @return void + */ + private static function initializeIncludeClosure() + { + if (self::$includeFile !== null) { + return; + } + + /** + * Scope isolated include. + * + * Prevents access to $this/self from included files. + * + * @param string $file + * @return void + */ + self::$includeFile = \Closure::bind(static function($file) { + include $file; + }, null, null); + } +} diff --git a/vendor/composer/InstalledVersions.php b/vendor/composer/InstalledVersions.php new file mode 100644 index 00000000..51e734a7 --- /dev/null +++ b/vendor/composer/InstalledVersions.php @@ -0,0 +1,359 @@ + + * Jordi Boggiano + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Composer; + +use Composer\Autoload\ClassLoader; +use Composer\Semver\VersionParser; + +/** + * This class is copied in every Composer installed project and available to all + * + * See also https://getcomposer.org/doc/07-runtime.md#installed-versions + * + * To require its presence, you can require `composer-runtime-api ^2.0` + * + * @final + */ +class InstalledVersions +{ + /** + * @var mixed[]|null + * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array}|array{}|null + */ + private static $installed; + + /** + * @var bool|null + */ + private static $canGetVendors; + + /** + * @var array[] + * @psalm-var array}> + */ + private static $installedByVendor = array(); + + /** + * Returns a list of all package names which are present, either by being installed, replaced or provided + * + * @return string[] + * @psalm-return list + */ + public static function getInstalledPackages() + { + $packages = array(); + foreach (self::getInstalled() as $installed) { + $packages[] = array_keys($installed['versions']); + } + + if (1 === \count($packages)) { + return $packages[0]; + } + + return array_keys(array_flip(\call_user_func_array('array_merge', $packages))); + } + + /** + * Returns a list of all package names with a specific type e.g. 'library' + * + * @param string $type + * @return string[] + * @psalm-return list + */ + public static function getInstalledPackagesByType($type) + { + $packagesByType = array(); + + foreach (self::getInstalled() as $installed) { + foreach ($installed['versions'] as $name => $package) { + if (isset($package['type']) && $package['type'] === $type) { + $packagesByType[] = $name; + } + } + } + + return $packagesByType; + } + + /** + * Checks whether the given package is installed + * + * This also returns true if the package name is provided or replaced by another package + * + * @param string $packageName + * @param bool $includeDevRequirements + * @return bool + */ + public static function isInstalled($packageName, $includeDevRequirements = true) + { + foreach (self::getInstalled() as $installed) { + if (isset($installed['versions'][$packageName])) { + return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false; + } + } + + return false; + } + + /** + * Checks whether the given package satisfies a version constraint + * + * e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call: + * + * Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3') + * + * @param VersionParser $parser Install composer/semver to have access to this class and functionality + * @param string $packageName + * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package + * @return bool + */ + public static function satisfies(VersionParser $parser, $packageName, $constraint) + { + $constraint = $parser->parseConstraints((string) $constraint); + $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); + + return $provided->matches($constraint); + } + + /** + * Returns a version constraint representing all the range(s) which are installed for a given package + * + * It is easier to use this via isInstalled() with the $constraint argument if you need to check + * whether a given version of a package is installed, and not just whether it exists + * + * @param string $packageName + * @return string Version constraint usable with composer/semver + */ + public static function getVersionRanges($packageName) + { + foreach (self::getInstalled() as $installed) { + if (!isset($installed['versions'][$packageName])) { + continue; + } + + $ranges = array(); + if (isset($installed['versions'][$packageName]['pretty_version'])) { + $ranges[] = $installed['versions'][$packageName]['pretty_version']; + } + if (array_key_exists('aliases', $installed['versions'][$packageName])) { + $ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']); + } + if (array_key_exists('replaced', $installed['versions'][$packageName])) { + $ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']); + } + if (array_key_exists('provided', $installed['versions'][$packageName])) { + $ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']); + } + + return implode(' || ', $ranges); + } + + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); + } + + /** + * @param string $packageName + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present + */ + public static function getVersion($packageName) + { + foreach (self::getInstalled() as $installed) { + if (!isset($installed['versions'][$packageName])) { + continue; + } + + if (!isset($installed['versions'][$packageName]['version'])) { + return null; + } + + return $installed['versions'][$packageName]['version']; + } + + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); + } + + /** + * @param string $packageName + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present + */ + public static function getPrettyVersion($packageName) + { + foreach (self::getInstalled() as $installed) { + if (!isset($installed['versions'][$packageName])) { + continue; + } + + if (!isset($installed['versions'][$packageName]['pretty_version'])) { + return null; + } + + return $installed['versions'][$packageName]['pretty_version']; + } + + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); + } + + /** + * @param string $packageName + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference + */ + public static function getReference($packageName) + { + foreach (self::getInstalled() as $installed) { + if (!isset($installed['versions'][$packageName])) { + continue; + } + + if (!isset($installed['versions'][$packageName]['reference'])) { + return null; + } + + return $installed['versions'][$packageName]['reference']; + } + + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); + } + + /** + * @param string $packageName + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path. + */ + public static function getInstallPath($packageName) + { + foreach (self::getInstalled() as $installed) { + if (!isset($installed['versions'][$packageName])) { + continue; + } + + return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null; + } + + throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); + } + + /** + * @return array + * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool} + */ + public static function getRootPackage() + { + $installed = self::getInstalled(); + + return $installed[0]['root']; + } + + /** + * Returns the raw installed.php data for custom implementations + * + * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect. + * @return array[] + * @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} + */ + public static function getRawData() + { + @trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED); + + if (null === self::$installed) { + // only require the installed.php file if this file is loaded from its dumped location, + // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 + if (substr(__DIR__, -8, 1) !== 'C') { + self::$installed = include __DIR__ . '/installed.php'; + } else { + self::$installed = array(); + } + } + + return self::$installed; + } + + /** + * Returns the raw data of all installed.php which are currently loaded for custom implementations + * + * @return array[] + * @psalm-return list}> + */ + public static function getAllRawData() + { + return self::getInstalled(); + } + + /** + * Lets you reload the static array from another file + * + * This is only useful for complex integrations in which a project needs to use + * this class but then also needs to execute another project's autoloader in process, + * and wants to ensure both projects have access to their version of installed.php. + * + * A typical case would be PHPUnit, where it would need to make sure it reads all + * the data it needs from this class, then call reload() with + * `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure + * the project in which it runs can then also use this class safely, without + * interference between PHPUnit's dependencies and the project's dependencies. + * + * @param array[] $data A vendor/composer/installed.php data set + * @return void + * + * @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $data + */ + public static function reload($data) + { + self::$installed = $data; + self::$installedByVendor = array(); + } + + /** + * @return array[] + * @psalm-return list}> + */ + private static function getInstalled() + { + if (null === self::$canGetVendors) { + self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders'); + } + + $installed = array(); + + if (self::$canGetVendors) { + foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { + if (isset(self::$installedByVendor[$vendorDir])) { + $installed[] = self::$installedByVendor[$vendorDir]; + } elseif (is_file($vendorDir.'/composer/installed.php')) { + /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $required */ + $required = require $vendorDir.'/composer/installed.php'; + $installed[] = self::$installedByVendor[$vendorDir] = $required; + if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { + self::$installed = $installed[count($installed) - 1]; + } + } + } + } + + if (null === self::$installed) { + // only require the installed.php file if this file is loaded from its dumped location, + // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 + if (substr(__DIR__, -8, 1) !== 'C') { + /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $required */ + $required = require __DIR__ . '/installed.php'; + self::$installed = $required; + } else { + self::$installed = array(); + } + } + + if (self::$installed !== array()) { + $installed[] = self::$installed; + } + + return $installed; + } +} diff --git a/vendor/composer/LICENSE b/vendor/composer/LICENSE new file mode 100644 index 00000000..f27399a0 --- /dev/null +++ b/vendor/composer/LICENSE @@ -0,0 +1,21 @@ + +Copyright (c) Nils Adermann, Jordi Boggiano + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php new file mode 100644 index 00000000..2f0d9dea --- /dev/null +++ b/vendor/composer/autoload_classmap.php @@ -0,0 +1,25 @@ + $vendorDir . '/campaignmonitor/createsend-php/csrest_administrators.php', + 'CS_REST_Campaigns' => $vendorDir . '/campaignmonitor/createsend-php/csrest_campaigns.php', + 'CS_REST_Clients' => $vendorDir . '/campaignmonitor/createsend-php/csrest_clients.php', + 'CS_REST_Events' => $vendorDir . '/campaignmonitor/createsend-php/csrest_events.php', + 'CS_REST_General' => $vendorDir . '/campaignmonitor/createsend-php/csrest_general.php', + 'CS_REST_JourneyEmails' => $vendorDir . '/campaignmonitor/createsend-php/csrest_journey_emails.php', + 'CS_REST_Journeys' => $vendorDir . '/campaignmonitor/createsend-php/csrest_journeys.php', + 'CS_REST_Lists' => $vendorDir . '/campaignmonitor/createsend-php/csrest_lists.php', + 'CS_REST_People' => $vendorDir . '/campaignmonitor/createsend-php/csrest_people.php', + 'CS_REST_Segments' => $vendorDir . '/campaignmonitor/createsend-php/csrest_segments.php', + 'CS_REST_Subscribers' => $vendorDir . '/campaignmonitor/createsend-php/csrest_subscribers.php', + 'CS_REST_Templates' => $vendorDir . '/campaignmonitor/createsend-php/csrest_templates.php', + 'CS_REST_Transactional_ClassicEmail' => $vendorDir . '/campaignmonitor/createsend-php/csrest_transactional_classicemail.php', + 'CS_REST_Transactional_SmartEmail' => $vendorDir . '/campaignmonitor/createsend-php/csrest_transactional_smartemail.php', + 'CS_REST_Transactional_Timeline' => $vendorDir . '/campaignmonitor/createsend-php/csrest_transactional_timeline.php', + 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', +); diff --git a/vendor/composer/autoload_files.php b/vendor/composer/autoload_files.php new file mode 100644 index 00000000..5cefce64 --- /dev/null +++ b/vendor/composer/autoload_files.php @@ -0,0 +1,11 @@ + $vendorDir . '/alleyinteractive/wordpress-autoloader/src/class-autoloader.php', + 'd0b4d9ff2237dcc1a532ae9d039c0c2c' => $vendorDir . '/alleyinteractive/composer-wordpress-autoloader/src/autoload.php', +); diff --git a/vendor/composer/autoload_namespaces.php b/vendor/composer/autoload_namespaces.php new file mode 100644 index 00000000..15a2ff3a --- /dev/null +++ b/vendor/composer/autoload_namespaces.php @@ -0,0 +1,9 @@ + array($vendorDir . '/alleyinteractive/composer-wordpress-autoloader/src'), +); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php new file mode 100644 index 00000000..14eac40d --- /dev/null +++ b/vendor/composer/autoload_real.php @@ -0,0 +1,48 @@ +register(true); + + $filesToLoad = \Composer\Autoload\ComposerStaticInit95d57ede03dff9fcecd411b48cd00594::$files; + $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { + if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { + $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; + + require $file; + } + }, null, null); + foreach ($filesToLoad as $fileIdentifier => $file) { + $requireFile($fileIdentifier, $file); + } + + return $loader; + } +} diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php new file mode 100644 index 00000000..7d4aee8d --- /dev/null +++ b/vendor/composer/autoload_static.php @@ -0,0 +1,56 @@ + __DIR__ . '/..' . '/alleyinteractive/wordpress-autoloader/src/class-autoloader.php', + 'd0b4d9ff2237dcc1a532ae9d039c0c2c' => __DIR__ . '/..' . '/alleyinteractive/composer-wordpress-autoloader/src/autoload.php', + ); + + public static $prefixLengthsPsr4 = array ( + 'C' => + array ( + 'ComposerWordPressAutoloader\\' => 28, + ), + ); + + public static $prefixDirsPsr4 = array ( + 'ComposerWordPressAutoloader\\' => + array ( + 0 => __DIR__ . '/..' . '/alleyinteractive/composer-wordpress-autoloader/src', + ), + ); + + public static $classMap = array ( + 'CS_REST_Administrators' => __DIR__ . '/..' . '/campaignmonitor/createsend-php/csrest_administrators.php', + 'CS_REST_Campaigns' => __DIR__ . '/..' . '/campaignmonitor/createsend-php/csrest_campaigns.php', + 'CS_REST_Clients' => __DIR__ . '/..' . '/campaignmonitor/createsend-php/csrest_clients.php', + 'CS_REST_Events' => __DIR__ . '/..' . '/campaignmonitor/createsend-php/csrest_events.php', + 'CS_REST_General' => __DIR__ . '/..' . '/campaignmonitor/createsend-php/csrest_general.php', + 'CS_REST_JourneyEmails' => __DIR__ . '/..' . '/campaignmonitor/createsend-php/csrest_journey_emails.php', + 'CS_REST_Journeys' => __DIR__ . '/..' . '/campaignmonitor/createsend-php/csrest_journeys.php', + 'CS_REST_Lists' => __DIR__ . '/..' . '/campaignmonitor/createsend-php/csrest_lists.php', + 'CS_REST_People' => __DIR__ . '/..' . '/campaignmonitor/createsend-php/csrest_people.php', + 'CS_REST_Segments' => __DIR__ . '/..' . '/campaignmonitor/createsend-php/csrest_segments.php', + 'CS_REST_Subscribers' => __DIR__ . '/..' . '/campaignmonitor/createsend-php/csrest_subscribers.php', + 'CS_REST_Templates' => __DIR__ . '/..' . '/campaignmonitor/createsend-php/csrest_templates.php', + 'CS_REST_Transactional_ClassicEmail' => __DIR__ . '/..' . '/campaignmonitor/createsend-php/csrest_transactional_classicemail.php', + 'CS_REST_Transactional_SmartEmail' => __DIR__ . '/..' . '/campaignmonitor/createsend-php/csrest_transactional_smartemail.php', + 'CS_REST_Transactional_Timeline' => __DIR__ . '/..' . '/campaignmonitor/createsend-php/csrest_transactional_timeline.php', + 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', + ); + + public static function getInitializer(ClassLoader $loader) + { + return \Closure::bind(function () use ($loader) { + $loader->prefixLengthsPsr4 = ComposerStaticInit95d57ede03dff9fcecd411b48cd00594::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit95d57ede03dff9fcecd411b48cd00594::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit95d57ede03dff9fcecd411b48cd00594::$classMap; + + }, null, ClassLoader::class); + } +} diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json new file mode 100644 index 00000000..759a1133 --- /dev/null +++ b/vendor/composer/installed.json @@ -0,0 +1,180 @@ +{ + "packages": [ + { + "name": "alleyinteractive/composer-wordpress-autoloader", + "version": "v1.1.0", + "version_normalized": "1.1.0.0", + "source": { + "type": "git", + "url": "https://github.com/alleyinteractive/composer-wordpress-autoloader.git", + "reference": "30acf9e3498a84af478e316ae3869fa362835695" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/alleyinteractive/composer-wordpress-autoloader/zipball/30acf9e3498a84af478e316ae3869fa362835695", + "reference": "30acf9e3498a84af478e316ae3869fa362835695", + "shasum": "" + }, + "require": { + "alleyinteractive/wordpress-autoloader": "^1.1.1", + "composer-plugin-api": "^2.0", + "php": "^8.0" + }, + "require-dev": { + "composer/composer": "*", + "phpunit/phpunit": "^9.5.8", + "squizlabs/php_codesniffer": "^4.0" + }, + "time": "2023-12-06T20:21:22+00:00", + "type": "composer-plugin", + "extra": { + "class": "ComposerWordPressAutoloader\\Plugin" + }, + "installation-source": "dist", + "autoload": { + "files": [ + "src/autoload.php" + ], + "psr-4": { + "ComposerWordPressAutoloader\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "Alley Interactive", + "email": "info@alley.co" + }, + { + "name": "Sean Fisher", + "email": "sean@alley.co" + } + ], + "description": "Autoload files using WordPress File Conventions using Composer", + "support": { + "issues": "https://github.com/alleyinteractive/composer-wordpress-autoloader/issues", + "source": "https://github.com/alleyinteractive/composer-wordpress-autoloader/tree/v1.1.0" + }, + "install-path": "../alleyinteractive/composer-wordpress-autoloader" + }, + { + "name": "alleyinteractive/wordpress-autoloader", + "version": "v1.1.1", + "version_normalized": "1.1.1.0", + "source": { + "type": "git", + "url": "https://github.com/alleyinteractive/wordpress-autoloader.git", + "reference": "c7599d95f49f1cdc38fad19944a50b19ec0dd6ca" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/alleyinteractive/wordpress-autoloader/zipball/c7599d95f49f1cdc38fad19944a50b19ec0dd6ca", + "reference": "c7599d95f49f1cdc38fad19944a50b19ec0dd6ca", + "shasum": "" + }, + "require": { + "php": "^7.4.0|^8.0|^8.1" + }, + "require-dev": { + "alleyinteractive/alley-coding-standards": "^0.3", + "phpunit/phpunit": "^9.5.8" + }, + "time": "2022-08-31T20:51:21+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "files": [ + "src/class-autoloader.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "Alley Interactive", + "email": "info@alley.co" + } + ], + "description": "Autoload files using WordPress File Conventions", + "support": { + "issues": "https://github.com/alleyinteractive/wordpress-autoloader/issues", + "source": "https://github.com/alleyinteractive/wordpress-autoloader/tree/v1.1.1" + }, + "install-path": "../alleyinteractive/wordpress-autoloader" + }, + { + "name": "campaignmonitor/createsend-php", + "version": "v7.0.0", + "version_normalized": "7.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/campaignmonitor/createsend-php.git", + "reference": "3ac6d4d2721f6529a2cae2515f7e88a17baa7d19" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/campaignmonitor/createsend-php/zipball/3ac6d4d2721f6529a2cae2515f7e88a17baa7d19", + "reference": "3ac6d4d2721f6529a2cae2515f7e88a17baa7d19", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "simpletest/simpletest": "~1.1.3" + }, + "time": "2022-02-11T00:01:29+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "csrest_administrators.php", + "csrest_campaigns.php", + "csrest_clients.php", + "csrest_general.php", + "csrest_events.php", + "csrest_lists.php", + "csrest_people.php", + "csrest_segments.php", + "csrest_subscribers.php", + "csrest_templates.php", + "csrest_transactional_classicemail.php", + "csrest_transactional_smartemail.php", + "csrest_transactional_timeline.php", + "csrest_journeys.php", + "csrest_journey_emails.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Toby Brain", + "email": "tobio85@gmail.com", + "role": "Developer" + } + ], + "description": "A php library which implements the complete functionality of the Campaign Monitor API.", + "homepage": "http://campaignmonitor.github.io/createsend-php/", + "keywords": [ + "api", + "campaign", + "monitor" + ], + "support": { + "issues": "https://github.com/campaignmonitor/createsend-php/issues", + "source": "https://github.com/campaignmonitor/createsend-php/tree/v7.0.0" + }, + "install-path": "../campaignmonitor/createsend-php" + } + ], + "dev": false, + "dev-package-names": [] +} diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php new file mode 100644 index 00000000..3ef8705e --- /dev/null +++ b/vendor/composer/installed.php @@ -0,0 +1,50 @@ + array( + 'name' => 'alleyinteractive/wp-newsletter-builder', + 'pretty_version' => '1.0.0+no-version-set', + 'version' => '1.0.0.0', + 'reference' => null, + 'type' => 'wordpress-plugin', + 'install_path' => __DIR__ . '/../../', + 'aliases' => array(), + 'dev' => false, + ), + 'versions' => array( + 'alleyinteractive/composer-wordpress-autoloader' => array( + 'pretty_version' => 'v1.1.0', + 'version' => '1.1.0.0', + 'reference' => '30acf9e3498a84af478e316ae3869fa362835695', + 'type' => 'composer-plugin', + 'install_path' => __DIR__ . '/../alleyinteractive/composer-wordpress-autoloader', + 'aliases' => array(), + 'dev_requirement' => false, + ), + 'alleyinteractive/wordpress-autoloader' => array( + 'pretty_version' => 'v1.1.1', + 'version' => '1.1.1.0', + 'reference' => 'c7599d95f49f1cdc38fad19944a50b19ec0dd6ca', + 'type' => 'library', + 'install_path' => __DIR__ . '/../alleyinteractive/wordpress-autoloader', + 'aliases' => array(), + 'dev_requirement' => false, + ), + 'alleyinteractive/wp-newsletter-builder' => array( + 'pretty_version' => '1.0.0+no-version-set', + 'version' => '1.0.0.0', + 'reference' => null, + 'type' => 'wordpress-plugin', + 'install_path' => __DIR__ . '/../../', + 'aliases' => array(), + 'dev_requirement' => false, + ), + 'campaignmonitor/createsend-php' => array( + 'pretty_version' => 'v7.0.0', + 'version' => '7.0.0.0', + 'reference' => '3ac6d4d2721f6529a2cae2515f7e88a17baa7d19', + 'type' => 'library', + 'install_path' => __DIR__ . '/../campaignmonitor/createsend-php', + 'aliases' => array(), + 'dev_requirement' => false, + ), + ), +); diff --git a/vendor/wordpress-autoload.php b/vendor/wordpress-autoload.php new file mode 100644 index 00000000..cfc59831 --- /dev/null +++ b/vendor/wordpress-autoload.php @@ -0,0 +1,12 @@ + array($baseDir . '/src'), +)); + +return $autoload;