Preview: 11d3f6de05938fc53f6b51a30553350ab288ef245cc1007bdfbcde41b50bd1cf.php
Size: 98.23 KB
/home/nshryvcy/himaltourism.com/wp-content/plugins/mailpoet/generated/twig/11/11d3f6de05938fc53f6b51a30553350ab288ef245cc1007bdfbcde41b50bd1cf.php
<?php
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;
/* newsletter/editor.html */
class __TwigTemplate_aa06caf4713b6d5ac2d6909b4a0a21f60afeea73e802e676faab4d7dcfdcb31a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'templates' => [$this, 'block_templates'],
'content' => [$this, 'block_content'],
'after_css' => [$this, 'block_after_css'],
'after_javascript' => [$this, 'block_after_javascript'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout.html";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$this->parent = $this->loadTemplate("layout.html", "newsletter/editor.html", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_templates($context, array $blocks = [])
{
$macros = $this->macros;
// line 4
echo " ";
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_tools_generic", "newsletter/templates/blocks/base/toolsGeneric.hbs");
// line 7
echo "
";
// line 8
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_automated_latest_content_block", "newsletter/templates/blocks/automatedLatestContent/block.hbs");
// line 11
echo "
";
// line 12
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_automated_latest_content_widget", "newsletter/templates/blocks/automatedLatestContent/widget.hbs");
// line 15
echo "
";
// line 16
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_automated_latest_content_settings", "newsletter/templates/blocks/automatedLatestContent/settings.hbs");
// line 19
echo "
";
// line 20
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_automated_latest_content_layout_block", "newsletter/templates/blocks/automatedLatestContentLayout/block.hbs");
// line 23
echo "
";
// line 24
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_automated_latest_content_layout_widget", "newsletter/templates/blocks/automatedLatestContentLayout/widget.hbs");
// line 27
echo "
";
// line 28
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_automated_latest_content_layout_settings", "newsletter/templates/blocks/automatedLatestContentLayout/settings.hbs");
// line 31
echo "
";
// line 32
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_button_block", "newsletter/templates/blocks/button/block.hbs");
// line 35
echo "
";
// line 36
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_button_widget", "newsletter/templates/blocks/button/widget.hbs");
// line 39
echo "
";
// line 40
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_button_settings", "newsletter/templates/blocks/button/settings.hbs");
// line 43
echo "
";
// line 44
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_block", "newsletter/templates/blocks/container/block.hbs");
// line 47
echo "
";
// line 48
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_block_empty", "newsletter/templates/blocks/container/emptyBlock.hbs");
// line 51
echo "
";
// line 52
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_one_column_widget", "newsletter/templates/blocks/container/oneColumnLayoutWidget.hbs");
// line 55
echo "
";
// line 56
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_two_column_widget", "newsletter/templates/blocks/container/twoColumnLayoutWidget.hbs");
// line 59
echo "
";
// line 60
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_two_column_12_widget", "newsletter/templates/blocks/container/twoColumnLayoutWidget12.hbs");
// line 63
echo "
";
// line 64
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_two_column_21_widget", "newsletter/templates/blocks/container/twoColumnLayoutWidget21.hbs");
// line 67
echo "
";
// line 68
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_three_column_widget", "newsletter/templates/blocks/container/threeColumnLayoutWidget.hbs");
// line 71
echo "
";
// line 72
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_settings", "newsletter/templates/blocks/container/settings.hbs");
// line 75
echo "
";
// line 76
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_container_column_settings", "newsletter/templates/blocks/container/columnSettings.hbs");
// line 79
echo "
";
// line 80
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_divider_block", "newsletter/templates/blocks/divider/block.hbs");
// line 83
echo "
";
// line 84
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_divider_widget", "newsletter/templates/blocks/divider/widget.hbs");
// line 87
echo "
";
// line 88
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_divider_settings", "newsletter/templates/blocks/divider/settings.hbs");
// line 91
echo "
";
// line 92
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_footer_block", "newsletter/templates/blocks/footer/block.hbs");
// line 95
echo "
";
// line 96
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_footer_widget", "newsletter/templates/blocks/footer/widget.hbs");
// line 99
echo "
";
// line 100
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_footer_settings", "newsletter/templates/blocks/footer/settings.hbs");
// line 103
echo "
";
// line 104
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_header_block", "newsletter/templates/blocks/header/block.hbs");
// line 107
echo "
";
// line 108
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_header_widget", "newsletter/templates/blocks/header/widget.hbs");
// line 111
echo "
";
// line 112
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_header_settings", "newsletter/templates/blocks/header/settings.hbs");
// line 115
echo "
";
// line 116
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_image_block", "newsletter/templates/blocks/image/block.hbs");
// line 119
echo "
";
// line 120
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_image_widget", "newsletter/templates/blocks/image/widget.hbs");
// line 123
echo "
";
// line 124
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_image_settings", "newsletter/templates/blocks/image/settings.hbs");
// line 127
echo "
";
// line 128
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_posts_block", "newsletter/templates/blocks/posts/block.hbs");
// line 131
echo "
";
// line 132
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_posts_widget", "newsletter/templates/blocks/posts/widget.hbs");
// line 135
echo "
";
// line 136
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_posts_settings", "newsletter/templates/blocks/posts/settings.hbs");
// line 139
echo "
";
// line 140
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_posts_settings_display_options", "newsletter/templates/blocks/posts/settingsDisplayOptions.hbs");
// line 143
echo "
";
// line 144
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_posts_settings_selection", "newsletter/templates/blocks/posts/settingsSelection.hbs");
// line 147
echo "
";
// line 148
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_posts_settings_selection_empty", "newsletter/templates/blocks/posts/settingsSelectionEmpty.hbs");
// line 151
echo "
";
// line 152
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_posts_settings_single_post", "newsletter/templates/blocks/posts/settingsSinglePost.hbs");
// line 155
echo "
";
// line 156
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_products_block", "newsletter/templates/blocks/products/block.hbs");
// line 159
echo "
";
// line 160
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_products_widget", "newsletter/templates/blocks/products/widget.hbs");
// line 163
echo "
";
// line 164
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_products_settings", "newsletter/templates/blocks/products/settings.hbs");
// line 167
echo "
";
// line 168
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_products_settings_display_options", "newsletter/templates/blocks/products/settingsDisplayOptions.hbs");
// line 171
echo "
";
// line 172
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_products_settings_selection", "newsletter/templates/blocks/products/settingsSelection.hbs");
// line 175
echo "
";
// line 176
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_products_settings_selection_empty", "newsletter/templates/blocks/products/settingsSelectionEmpty.hbs");
// line 179
echo "
";
// line 180
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_products_settings_single_post", "newsletter/templates/blocks/products/settingsSinglePost.hbs");
// line 183
echo "
";
// line 184
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_acc_block", "newsletter/templates/blocks/abandonedCartContent/block.hbs");
// line 187
echo "
";
// line 188
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_acc_widget", "newsletter/templates/blocks/abandonedCartContent/widget.hbs");
// line 191
echo "
";
// line 192
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_acc_settings", "newsletter/templates/blocks/abandonedCartContent/settings.hbs");
// line 195
echo "
";
// line 196
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_acc_settings_display_options", "newsletter/templates/blocks/abandonedCartContent/settingsDisplayOptions.hbs");
// line 199
echo "
";
// line 200
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_social_block", "newsletter/templates/blocks/social/block.hbs");
// line 203
echo "
";
// line 204
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_social_block_icon", "newsletter/templates/blocks/social/blockIcon.hbs");
// line 207
echo "
";
// line 208
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_social_widget", "newsletter/templates/blocks/social/widget.hbs");
// line 211
echo "
";
// line 212
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_social_settings", "newsletter/templates/blocks/social/settings.hbs");
// line 215
echo "
";
// line 216
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_social_settings_icon", "newsletter/templates/blocks/social/settingsIcon.hbs");
// line 219
echo "
";
// line 220
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_social_settings_icon_selector", "newsletter/templates/blocks/social/settingsIconSelector.hbs");
// line 223
echo "
";
// line 224
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_social_settings_styles", "newsletter/templates/blocks/social/settingsStyles.hbs");
// line 227
echo "
";
// line 228
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_spacer_block", "newsletter/templates/blocks/spacer/block.hbs");
// line 231
echo "
";
// line 232
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_spacer_widget", "newsletter/templates/blocks/spacer/widget.hbs");
// line 235
echo "
";
// line 236
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_spacer_settings", "newsletter/templates/blocks/spacer/settings.hbs");
// line 239
echo "
";
// line 240
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_text_block", "newsletter/templates/blocks/text/block.hbs");
// line 243
echo "
";
// line 244
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_text_widget", "newsletter/templates/blocks/text/widget.hbs");
// line 247
echo "
";
// line 248
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_text_settings", "newsletter/templates/blocks/text/settings.hbs");
// line 251
echo "
";
// line 252
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_heading", "newsletter/templates/components/heading.hbs");
// line 255
echo "
";
// line 256
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_history", "newsletter/templates/components/history.hbs");
// line 259
echo "
";
// line 260
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_save", "newsletter/templates/components/save.hbs");
// line 263
echo "
";
// line 264
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_styles", "newsletter/templates/components/styles.hbs");
// line 267
echo "
";
// line 268
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_newsletter_preview", "newsletter/templates/components/newsletterPreview.hbs");
// line 271
echo "
";
// line 272
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_sidebar", "newsletter/templates/components/sidebar/sidebar.hbs");
// line 275
echo "
";
// line 276
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_sidebar_content", "newsletter/templates/components/sidebar/content.hbs");
// line 279
echo "
";
// line 280
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_sidebar_layout", "newsletter/templates/components/sidebar/layout.hbs");
// line 283
echo "
";
// line 284
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_sidebar_styles", "newsletter/templates/components/sidebar/styles.hbs");
// line 287
echo "
";
// line 288
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_new_account_content", "newsletter/templates/blocks/woocommerceContent/new_account.hbs");
// line 291
echo "
";
// line 292
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_processing_order_content", "newsletter/templates/blocks/woocommerceContent/processing_order.hbs");
// line 295
echo "
";
// line 296
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_completed_order_content", "newsletter/templates/blocks/woocommerceContent/completed_order.hbs");
// line 299
echo "
";
// line 300
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_customer_note_content", "newsletter/templates/blocks/woocommerceContent/customer_note.hbs");
// line 303
echo "
";
// line 304
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_content_widget", "newsletter/templates/blocks/woocommerceContent/widget.hbs");
// line 307
echo "
";
// line 308
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_heading_block", "newsletter/templates/blocks/woocommerceHeading/block.hbs");
// line 311
echo "
";
// line 312
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_woocommerce_heading_widget", "newsletter/templates/blocks/woocommerceHeading/widget.hbs");
// line 315
echo "
";
// line 316
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_unknown_block_fallback_block", "newsletter/templates/blocks/unknownBlockFallback/block.hbs");
// line 319
echo "
";
// line 320
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_unknown_block_fallback_widget", "newsletter/templates/blocks/unknownBlockFallback/widget.hbs");
// line 323
echo "
";
// line 324
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_coupon_block", "newsletter/templates/blocks/coupon/block.hbs");
// line 327
echo "
";
// line 328
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_coupon_widget", "newsletter/templates/blocks/coupon/widget.hbs");
// line 331
echo "
";
// line 332
echo $this->extensions['MailPoet\Twig\Handlebars']->generatePartial($this->env, $context, "newsletter_editor_template_coupon_settings", "newsletter/templates/blocks/coupon/settings.hbs");
// line 335
echo "
";
}
// line 338
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 339
echo "<!-- Hidden heading for notices to appear under -->
<h1 style=\"display:none\">";
// line 340
echo $this->extensions['MailPoet\Twig\I18n']->translate("Newsletter Editor");
echo "</h1>
<div id=\"mailpoet_editor\">
<div id=\"mailpoet_editor_steps_heading\"></div>
<div class=\"clearfix\"></div>
<div id=\"mailpoet_editor_heading_left\">
<div id=\"mailpoet_editor_heading\"></div>
</div>
<div id=\"mailpoet_editor_heading_right\">
<div id=\"mailpoet_editor_top\"></div>
</div>
<div class=\"clearfix\"></div>
<div id=\"mailpoet_editor_main_wrapper\">
<div id=\"mailpoet_editor_styles\"></div>
<div id=\"mailpoet_editor_content_container\">
<div class=\"mailpoet_newsletter_wrapper\">
<div id=\"mailpoet_editor_content\"></div>
</div>
</div>
<div id=\"mailpoet_editor_sidebar\"></div>
<div class=\"clear\"></div>
</div>
<div id=\"mailpoet_editor_bottom\"></div>
<div class=\"mailpoet_layer_overlay\" style=\"display:none;\"></div>
</div>
";
// line 365
if (($context["is_wc_transactional_email"] ?? null)) {
// line 366
echo " <script type=\"text/javascript\">
var mailpoet_beacon_articles = [
'5de8c5cd2c7d3a7e9ae4c15f',
];
</script>
";
}
// line 372
echo "
<script type=\"text/javascript\">
var mailpoet_email_editor_tutorial_seen = '";
// line 374
echo \MailPoetVendor\twig_escape_filter($this->env, ($context["editor_tutorial_seen"] ?? null), "html", null, true);
echo "';
var mailpoet_email_editor_tutorial_url = '";
// line 375
echo $this->extensions['MailPoet\Twig\Assets']->generateCdnUrl("newsletter-editor/editor-drag-demo.20190226-1505.mp4");
echo "';
var mailpoet_installed_at = '";
// line 376
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["settings"] ?? null), "installed_at", [], "any", false, false, false, 376), "html", null, true);
echo "';
</script>
";
}
// line 381
public function block_after_css($context, array $blocks = [])
{
$macros = $this->macros;
// line 382
echo " ";
echo $this->extensions['MailPoet\Twig\Assets']->generateStylesheet("mailpoet-editor.css");
echo "
";
}
// line 385
public function block_after_javascript($context, array $blocks = [])
{
$macros = $this->macros;
// line 386
echo "
";
// line 387
echo do_action("mailpoet_newsletter_editor_after_javascript");
echo "
<script type=\"text/javascript\">
function renderWithFont(node) {
if (!node.element) return node.text;
var \$wrapper = jQuery('<span></span>');
\$wrapper.css({'font-family': Handlebars.helpers.fontWithFallback(node.element.value)});
\$wrapper.text(node.text);
return \$wrapper;
}
function fontsSelect(selector) {
jQuery(selector).select2({
minimumResultsForSearch: Infinity,
templateSelection: renderWithFont,
templateResult: renderWithFont
});
}
var templates = {
styles: Handlebars.compile(
jQuery('#newsletter_editor_template_styles').html()
),
save: Handlebars.compile(
jQuery('#newsletter_editor_template_save').html()
),
heading: Handlebars.compile(
jQuery('#newsletter_editor_template_heading').html()
),
history: Handlebars.compile(
jQuery('#newsletter_editor_template_history').html()
),
sidebar: Handlebars.compile(
jQuery('#newsletter_editor_template_sidebar').html()
),
sidebarContent: Handlebars.compile(
jQuery('#newsletter_editor_template_sidebar_content').html()
),
sidebarLayout: Handlebars.compile(
jQuery('#newsletter_editor_template_sidebar_layout').html()
),
sidebarStyles: Handlebars.compile(
jQuery('#newsletter_editor_template_sidebar_styles').html()
),
newsletterPreview: Handlebars.compile(
jQuery('#newsletter_editor_template_newsletter_preview').html()
),
genericBlockTools: Handlebars.compile(
jQuery('#newsletter_editor_template_tools_generic').html()
),
containerBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_container_block').html()
),
containerEmpty: Handlebars.compile(
jQuery('#newsletter_editor_template_container_block_empty').html()
),
oneColumnLayoutInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_container_one_column_widget').html()
),
twoColumnLayoutInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_container_two_column_widget').html()
),
twoColumn12LayoutInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_container_two_column_12_widget').html()
),
twoColumn21LayoutInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_container_two_column_21_widget').html()
),
threeColumnLayoutInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_container_three_column_widget').html()
),
containerBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_container_settings').html()
),
containerBlockColumnSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_container_column_settings').html()
),
buttonBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_button_block').html()
),
buttonInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_button_widget').html()
),
buttonBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_button_settings').html()
),
dividerBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_divider_block').html()
),
dividerInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_divider_widget').html()
),
dividerBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_divider_settings').html()
),
footerBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_footer_block').html()
),
footerInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_footer_widget').html()
),
footerBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_footer_settings').html()
),
headerBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_header_block').html()
),
headerInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_header_widget').html()
),
headerBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_header_settings').html()
),
imageBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_image_block').html()
),
imageInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_image_widget').html()
),
imageBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_image_settings').html()
),
socialBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_social_block').html()
),
socialIconBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_social_block_icon').html()
),
socialInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_social_widget').html()
),
socialBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_social_settings').html()
),
socialSettingsIconSelector: Handlebars.compile(
jQuery('#newsletter_editor_template_social_settings_icon_selector').html()
),
socialSettingsIcon: Handlebars.compile(
jQuery('#newsletter_editor_template_social_settings_icon').html()
),
socialSettingsStyles: Handlebars.compile(
jQuery('#newsletter_editor_template_social_settings_styles').html()
),
spacerBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_spacer_block').html()
),
spacerInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_spacer_widget').html()
),
spacerBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_spacer_settings').html()
),
automatedLatestContentBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_automated_latest_content_block').html()
),
automatedLatestContentInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_automated_latest_content_widget').html()
),
automatedLatestContentBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_automated_latest_content_settings').html()
),
automatedLatestContentLayoutBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_automated_latest_content_layout_block').html()
),
automatedLatestContentLayoutInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_automated_latest_content_layout_widget').html()
),
automatedLatestContentLayoutBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_automated_latest_content_layout_settings').html()
),
postsBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_posts_block').html()
),
postsInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_posts_widget').html()
),
postsBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_posts_settings').html()
),
postSelectionPostsBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_posts_settings_selection').html()
),
emptyPostPostsBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_posts_settings_selection_empty').html()
),
singlePostPostsBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_posts_settings_single_post').html()
),
displayOptionsPostsBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_posts_settings_display_options').html()
),
productsBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_products_block').html()
),
productsInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_products_widget').html()
),
productsBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_products_settings').html()
),
postSelectionProductsBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_products_settings_selection').html()
),
emptyPostProductsBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_products_settings_selection_empty').html()
),
singlePostProductsBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_products_settings_single_post').html()
),
displayOptionsProductsBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_products_settings_display_options').html()
),
abandonedCartContentBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_acc_block').html()
),
abandonedCartContentInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_acc_widget').html()
),
abandonedCartContentBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_acc_settings').html()
),
displayOptionsAbandonedCartContentBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_acc_settings_display_options').html()
),
textBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_text_block').html()
),
textInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_text_widget').html()
),
textBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_text_settings').html()
),
woocommerceNewAccount: Handlebars.compile(
jQuery('#newsletter_editor_template_woocommerce_new_account_content').html()
),
woocommerceProcessingOrder: Handlebars.compile(
jQuery('#newsletter_editor_template_woocommerce_processing_order_content').html()
),
woocommerceCompletedOrder: Handlebars.compile(
jQuery('#newsletter_editor_template_woocommerce_completed_order_content').html()
),
woocommerceCustomerNote: Handlebars.compile(
jQuery('#newsletter_editor_template_woocommerce_customer_note_content').html()
),
woocommerceContentInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_woocommerce_content_widget').html()
),
woocommerceHeadingBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_woocommerce_heading_block').html()
),
woocommerceHeadingInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_woocommerce_heading_widget').html()
),
unknownBlockFallbackBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_unknown_block_fallback_block').html()
),
unknownBlockFallbackInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_unknown_block_fallback_widget').html()
),
couponBlock: Handlebars.compile(
jQuery('#newsletter_editor_template_coupon_block').html()
),
couponInsertion: Handlebars.compile(
jQuery('#newsletter_editor_template_coupon_widget').html()
),
couponBlockSettings: Handlebars.compile(
jQuery('#newsletter_editor_template_coupon_settings').html()
),
};
var currentUserEmail = '";
// line 676
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["current_wp_user"] ?? null), "user_email", [], "any", false, false, false, 676), "html", null, true);
echo "';
var mailpoet_product_categories = ";
// line 677
echo json_encode(($context["product_categories"] ?? null));
echo ";
var mailpoet_products = ";
// line 678
echo json_encode(($context["products"] ?? null));
echo ";
var config = {
availableStyles: {
textSizes: [
'9px', '10px', '11px', '12px', '13px', '14px', '15px', '16px',
'17px', '18px', '19px', '20px', '21px', '22px', '23px', '24px'
],
headingSizes: [
'10px', '12px', '14px', '16px', '18px', '20px', '22px', '24px',
'26px', '30px', '36px', '40px'
],
lineHeights: [
'1.0',
'1.2',
'1.4',
'1.6',
'1.8',
'2.0',
],
fonts: {
standard: [
'Arial',
'Comic Sans MS',
'Courier New',
'Georgia',
'Lucida',
'Tahoma',
'Times New Roman',
'Trebuchet MS',
'Verdana'
";
// line 709
if (($context["customFontsEnabled"] ?? null)) {
// line 710
echo " ],
custom: [
'Arvo',
'Lato',
'Lora',
'Merriweather',
'Merriweather Sans',
'Noticia Text',
'Open Sans',
'Playfair Display',
'Roboto',
'Source Sans Pro',
'Oswald',
'Raleway',
'Permanent Marker',
'Pacifico',
";
}
// line 727
echo " ]
},
socialIconSets: {
'default': {
'custom': '";
// line 731
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png");
// line 733
echo "',
'facebook': '";
// line 734
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Facebook.png");
// line 736
echo "',
'twitter': '";
// line 737
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Twitter.png");
// line 739
echo "',
'google-plus': '";
// line 740
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Google-Plus.png");
// line 742
echo "',
'youtube': '";
// line 743
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Youtube.png");
// line 745
echo "',
'website': '";
// line 746
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Website.png");
// line 748
echo "',
'email': '";
// line 749
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Email.png");
// line 751
echo "',
'instagram': '";
// line 752
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Instagram.png");
// line 754
echo "',
'pinterest': '";
// line 755
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Pinterest.png");
// line 757
echo "',
'linkedin': '";
// line 758
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/LinkedIn.png");
// line 760
echo "'
},
'grey': {
'custom': '";
// line 763
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png");
// line 765
echo "',
'facebook': '";
// line 766
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/Facebook.png");
// line 768
echo "',
'twitter': '";
// line 769
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/Twitter.png");
// line 771
echo "',
'google-plus': '";
// line 772
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/Google-Plus.png");
// line 774
echo "',
'youtube': '";
// line 775
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/Youtube.png");
// line 777
echo "',
'website': '";
// line 778
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/Website.png");
// line 780
echo "',
'email': '";
// line 781
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/Email.png");
// line 783
echo "',
'instagram': '";
// line 784
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/Instagram.png");
// line 786
echo "',
'pinterest': '";
// line 787
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/Pinterest.png");
// line 789
echo "',
'linkedin': '";
// line 790
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/02-grey/LinkedIn.png");
// line 792
echo "',
},
'circles': {
'custom': '";
// line 795
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png");
// line 797
echo "',
'facebook': '";
// line 798
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/Facebook.png");
// line 800
echo "',
'twitter': '";
// line 801
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/Twitter.png");
// line 803
echo "',
'google-plus': '";
// line 804
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/Google-Plus.png");
// line 806
echo "',
'youtube': '";
// line 807
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/Youtube.png");
// line 809
echo "',
'website': '";
// line 810
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/Website.png");
// line 812
echo "',
'email': '";
// line 813
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/Email.png");
// line 815
echo "',
'instagram': '";
// line 816
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/Instagram.png");
// line 818
echo "',
'pinterest': '";
// line 819
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/Pinterest.png");
// line 821
echo "',
'linkedin': '";
// line 822
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/03-circles/LinkedIn.png");
// line 824
echo "',
},
'full-flat-roundrect': {
'custom': '";
// line 827
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png");
// line 829
echo "',
'facebook': '";
// line 830
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/Facebook.png");
// line 832
echo "',
'twitter': '";
// line 833
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/Twitter.png");
// line 835
echo "',
'google-plus': '";
// line 836
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/Google-Plus.png");
// line 838
echo "',
'youtube': '";
// line 839
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/Youtube.png");
// line 841
echo "',
'website': '";
// line 842
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/Website.png");
// line 844
echo "',
'email': '";
// line 845
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/Email.png");
// line 847
echo "',
'instagram': '";
// line 848
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/Instagram.png");
// line 850
echo "',
'pinterest': '";
// line 851
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/Pinterest.png");
// line 853
echo "',
'linkedin': '";
// line 854
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/04-full-flat-roundrect/LinkedIn.png");
// line 856
echo "',
},
'full-gradient-square': {
'custom': '";
// line 859
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png");
// line 861
echo "',
'facebook': '";
// line 862
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/Facebook.png");
// line 864
echo "',
'twitter': '";
// line 865
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/Twitter.png");
// line 867
echo "',
'google-plus': '";
// line 868
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/Google-Plus.png");
// line 870
echo "',
'youtube': '";
// line 871
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/Youtube.png");
// line 873
echo "',
'website': '";
// line 874
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/Website.png");
// line 876
echo "',
'email': '";
// line 877
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/Email.png");
// line 879
echo "',
'instagram': '";
// line 880
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/Instagram.png");
// line 882
echo "',
'pinterest': '";
// line 883
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/Pinterest.png");
// line 885
echo "',
'linkedin': '";
// line 886
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/05-full-gradient-square/LinkedIn.png");
// line 888
echo "',
},
'full-symbol-color': {
'custom': '";
// line 891
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png");
// line 893
echo "',
'facebook': '";
// line 894
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/Facebook.png");
// line 896
echo "',
'twitter': '";
// line 897
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/Twitter.png");
// line 899
echo "',
'google-plus': '";
// line 900
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/Google-Plus.png");
// line 902
echo "',
'youtube': '";
// line 903
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/Youtube.png");
// line 905
echo "',
'website': '";
// line 906
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/Website.png");
// line 908
echo "',
'email': '";
// line 909
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/Email.png");
// line 911
echo "',
'instagram': '";
// line 912
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/Instagram.png");
// line 914
echo "',
'pinterest': '";
// line 915
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/Pinterest.png");
// line 917
echo "',
'linkedin': '";
// line 918
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/06-full-symbol-color/LinkedIn.png");
// line 920
echo "',
},
'full-symbol-black': {
'custom': '";
// line 923
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png");
// line 925
echo "',
'facebook': '";
// line 926
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/Facebook.png");
// line 928
echo "',
'twitter': '";
// line 929
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/Twitter.png");
// line 931
echo "',
'google-plus': '";
// line 932
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/Google-Plus.png");
// line 934
echo "',
'youtube': '";
// line 935
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/Youtube.png");
// line 937
echo "',
'website': '";
// line 938
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/Website.png");
// line 940
echo "',
'email': '";
// line 941
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/Email.png");
// line 943
echo "',
'instagram': '";
// line 944
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/Instagram.png");
// line 946
echo "',
'pinterest': '";
// line 947
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/Pinterest.png");
// line 949
echo "',
'linkedin': '";
// line 950
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/07-full-symbol-black/LinkedIn.png");
// line 952
echo "',
},
'full-symbol-grey': {
'custom': '";
// line 955
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png");
// line 957
echo "',
'facebook': '";
// line 958
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/Facebook.png");
// line 960
echo "',
'twitter': '";
// line 961
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/Twitter.png");
// line 963
echo "',
'google-plus': '";
// line 964
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/Google-Plus.png");
// line 966
echo "',
'youtube': '";
// line 967
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/Youtube.png");
// line 969
echo "',
'website': '";
// line 970
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/Website.png");
// line 972
echo "',
'email': '";
// line 973
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/Email.png");
// line 975
echo "',
'instagram': '";
// line 976
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/Instagram.png");
// line 978
echo "',
'pinterest': '";
// line 979
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/Pinterest.png");
// line 981
echo "',
'linkedin': '";
// line 982
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/08-full-symbol-grey/LinkedIn.png");
// line 984
echo "',
},
'line-roundrect': {
'custom': '";
// line 987
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png");
// line 989
echo "',
'facebook': '";
// line 990
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-line-roundrect/Facebook.png");
// line 992
echo "',
'twitter': '";
// line 993
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-line-roundrect/Twitter.png");
// line 995
echo "',
'google-plus': '";
// line 996
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-line-roundrect/Google-Plus.png");
// line 998
echo "',
'youtube': '";
// line 999
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-line-roundrect/Youtube.png");
// line 1001
echo "',
'website': '";
// line 1002
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-line-roundrect/Website.png");
// line 1004
echo "',
'email': '";
// line 1005
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-line-roundrect/Email.png");
// line 1007
echo "',
'instagram': '";
// line 1008
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-line-roundrect/Instagram.png");
// line 1010
echo "',
'pinterest': '";
// line 1011
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-line-roundrect/Pinterest.png");
// line 1013
echo "',
'linkedin': '";
// line 1014
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/09-line-roundrect/LinkedIn.png");
// line 1016
echo "',
},
'line-square': {
'custom': '";
// line 1019
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/custom.png");
// line 1021
echo "',
'facebook': '";
// line 1022
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-line-square/Facebook.png");
// line 1024
echo "',
'twitter': '";
// line 1025
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-line-square/Twitter.png");
// line 1027
echo "',
'google-plus': '";
// line 1028
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-line-square/Google-Plus.png");
// line 1030
echo "',
'youtube': '";
// line 1031
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-line-square/Youtube.png");
// line 1033
echo "',
'website': '";
// line 1034
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-line-square/Website.png");
// line 1036
echo "',
'email': '";
// line 1037
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-line-square/Email.png");
// line 1039
echo "',
'instagram': '";
// line 1040
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-line-square/Instagram.png");
// line 1042
echo "',
'pinterest': '";
// line 1043
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-line-square/Pinterest.png");
// line 1045
echo "',
'linkedin': '";
// line 1046
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/10-line-square/LinkedIn.png");
// line 1048
echo "',
},
},
dividers: [
'hidden',
'dotted',
'dashed',
'solid',
'double',
'groove',
'ridge'
]
},
socialIcons: {
'facebook': {
title: 'Facebook',
linkFieldName: '";
// line 1064
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true);
echo "',
defaultLink: 'http://www.facebook.com',
},
'twitter': {
title: 'Twitter',
linkFieldName: '";
// line 1069
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true);
echo "',
defaultLink: 'http://www.twitter.com',
},
'google-plus': {
title: 'Google Plus',
linkFieldName: '";
// line 1074
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true);
echo "',
defaultLink: 'http://plus.google.com',
},
'youtube': {
title: 'Youtube',
linkFieldName: '";
// line 1079
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true);
echo "',
defaultLink: 'http://www.youtube.com',
},
'website': {
title: '";
// line 1083
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Website"), "js"), "html", null, true);
echo "',
linkFieldName: '";
// line 1084
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true);
echo "',
defaultLink: '',
},
'email': {
title: '";
// line 1088
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Email"), "js"), "html", null, true);
echo "',
linkFieldName: '";
// line 1089
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Email"), "js"), "html", null, true);
echo "',
defaultLink: '',
},
'instagram': {
title: 'Instagram',
linkFieldName: '";
// line 1094
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true);
echo "',
defaultLink: 'http://instagram.com',
},
'pinterest': {
title: 'Pinterest',
linkFieldName: '";
// line 1099
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true);
echo "',
defaultLink: 'http://www.pinterest.com',
},
'linkedin': {
title: 'LinkedIn',
linkFieldName: '";
// line 1104
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true);
echo "',
defaultLink: 'http://www.linkedin.com',
},
'custom': {
title: '";
// line 1108
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Custom"), "js"), "html", null, true);
echo "',
linkFieldName: '";
// line 1109
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Link"), "js"), "html", null, true);
echo "',
defaultLink: '',
},
},
blockDefaults: {
abandonedCartContent: {
amount: '2',
withLayout: true,
contentType: 'product',
postStatus: 'publish', // 'draft'|'pending'|'publish'
inclusionType: 'include', // 'include'|'exclude'
displayType: 'excerpt', // 'excerpt'|'full'|'titleOnly'
titleFormat: 'h1', // 'h1'|'h2'|'h3'
titleAlignment: 'left', // 'left'|'center'|'right'
titleIsLink: false, // false|true
imageFullWidth: false, // true|false
featuredImagePosition: 'alternate', // 'centered'|'left'|'right'|'alternate'|'none',
pricePosition: 'below', // 'hidden'|'above'|'below'
readMoreType: 'none', // 'link'|'button'|'none'
readMoreText: '',
readMoreButton: {},
sortBy: 'newest', // 'newest'|'oldest',
showDivider: true, // true|false
divider: {
context: 'abandonedCartContent.divider',
styles: {
block: {
backgroundColor: 'transparent',
padding: '13px',
borderStyle: 'solid',
borderWidth: '3px',
borderColor: '#aaaaaa',
},
},
},
backgroundColor: '#ffffff',
backgroundColorAlternate: '#eeeeee',
},
automatedLatestContent: {
amount: '5',
withLayout: false,
contentType: 'post', // 'post'|'page'|'mailpoet_page'
inclusionType: 'include', // 'include'|'exclude'
displayType: 'excerpt', // 'excerpt'|'full'|'titleOnly'
titleFormat: 'h1', // 'h1'|'h2'|'h3'|'ul'
titleAlignment: 'left', // 'left'|'center'|'right'
titleIsLink: false, // false|true
imageFullWidth: false, // true|false
featuredImagePosition: 'belowTitle', // 'belowTitle'|'aboveTitle'|'none',
showAuthor: 'no', // 'no'|'aboveText'|'belowText'
authorPrecededBy: '";
// line 1159
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Author:"), "js"), "html", null, true);
echo "',
showCategories: 'no', // 'no'|'aboveText'|'belowText'
categoriesPrecededBy: '";
// line 1161
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Categories:"), "js"), "html", null, true);
echo "',
readMoreType: 'button', // 'link'|'button'
readMoreText: '";
// line 1163
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Read more"), "js"), "html", null, true);
echo "',
readMoreButton: {
text: '";
// line 1165
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Read more"), "js"), "html", null, true);
echo "',
url: '[postLink]',
context: 'automatedLatestContent.readMoreButton',
styles: {
block: {
backgroundColor: '#2ea1cd',
borderColor: '#0074a2',
borderWidth: '1px',
borderRadius: '5px',
borderStyle: 'solid',
width: '180px',
lineHeight: '40px',
fontColor: '#ffffff',
fontFamily: 'Verdana',
fontSize: '18px',
fontWeight: 'normal',
textAlign: 'center',
}
}
},
sortBy: 'newest', // 'newest'|'oldest',
showDivider: true, // true|false
divider: {
context: 'automatedLatestContent.divider',
styles: {
block: {
backgroundColor: 'transparent',
padding: '13px',
borderStyle: 'solid',
borderWidth: '3px',
borderColor: '#aaaaaa',
},
},
},
backgroundColor: '#ffffff',
backgroundColorAlternate: '#eeeeee',
},
automatedLatestContentLayout: {
amount: '5',
withLayout: true,
contentType: 'post', // 'post'|'page'|'mailpoet_page'
inclusionType: 'include', // 'include'|'exclude'
displayType: 'excerpt', // 'excerpt'|'full'|'titleOnly'
titleFormat: 'h1', // 'h1'|'h2'|'h3'|'ul'
titleAlignment: 'left', // 'left'|'center'|'right'
titleIsLink: false, // false|true
imageFullWidth: false, // true|false
featuredImagePosition: 'alternate', // 'centered'|'left'|'right'|'alternate'|'none',
showAuthor: 'no', // 'no'|'aboveText'|'belowText'
authorPrecededBy: '";
// line 1214
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Author:"), "js"), "html", null, true);
echo "',
showCategories: 'no', // 'no'|'aboveText'|'belowText'
categoriesPrecededBy: '";
// line 1216
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Categories:"), "js"), "html", null, true);
echo "',
readMoreType: 'button', // 'link'|'button'
readMoreText: '";
// line 1218
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Read more"), "js"), "html", null, true);
echo "',
readMoreButton: {
text: '";
// line 1220
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Read more"), "js"), "html", null, true);
echo "',
url: '[postLink]',
context: 'automatedLatestContentLayout.readMoreButton',
styles: {
block: {
backgroundColor: '#2ea1cd',
borderColor: '#0074a2',
borderWidth: '1px',
borderRadius: '5px',
borderStyle: 'solid',
width: '180px',
lineHeight: '40px',
fontColor: '#ffffff',
fontFamily: 'Verdana',
fontSize: '18px',
fontWeight: 'normal',
textAlign: 'center',
}
}
},
sortBy: 'newest', // 'newest'|'oldest',
showDivider: true, // true|false
divider: {
context: 'automatedLatestContentLayout.divider',
styles: {
block: {
backgroundColor: 'transparent',
padding: '13px',
borderStyle: 'solid',
borderWidth: '3px',
borderColor: '#aaaaaa',
},
},
},
backgroundColor: '#ffffff',
backgroundColorAlternate: '#eeeeee',
},
button: {
text: '";
// line 1258
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Button"), "js"), "html", null, true);
echo "',
url: '',
styles: {
block: {
backgroundColor: '#2ea1cd',
borderColor: '#0074a2',
borderWidth: '1px',
borderRadius: '5px',
borderStyle: 'solid',
width: '180px',
lineHeight: '40px',
fontColor: '#ffffff',
fontFamily: 'Verdana',
fontSize: '18px',
fontWeight: 'normal',
textAlign: 'center',
},
},
},
container: {
image: {
src: null,
display: 'scale',
},
styles: {
block: {
backgroundColor: 'transparent',
},
},
},
divider: {
styles: {
block: {
backgroundColor: 'transparent',
padding: '13px',
borderStyle: 'solid',
borderWidth: '3px',
borderColor: '#aaaaaa',
},
},
},
footer: {
text: '<p><a href=\"[link:subscription_unsubscribe_url]\">";
// line 1300
echo $this->extensions['MailPoet\Twig\I18n']->translate("Unsubscribe");
echo "</a> | <a href=\"[link:subscription_manage_url]\">";
echo $this->extensions['MailPoet\Twig\I18n']->translate("Manage subscription");
echo "</a><br />";
echo $this->extensions['MailPoet\Twig\I18n']->translate("Add your postal address here!");
echo "</p>',
styles: {
block: {
backgroundColor: 'transparent',
},
text: {
fontColor: '#222222',
fontFamily: 'Arial',
fontSize: '12px',
textAlign: 'center',
},
link: {
fontColor: '#6cb7d4',
textDecoration: 'none',
},
},
},
image: {
link: '',
src: '',
alt: '";
// line 1320
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("An image of..."), "js"), "html", null, true);
echo "',
fullWidth: false,
width: '281px',
height: '190px',
styles: {
block: {
textAlign: 'center',
},
},
},
posts: {
amount: '10',
withLayout: true,
contentType: 'post', // 'post'|'page'|'mailpoet_page'
postStatus: 'publish', // 'draft'|'pending'|'private'|'publish'|'future'
inclusionType: 'include', // 'include'|'exclude'
displayType: 'excerpt', // 'excerpt'|'full'|'titleOnly'
titleFormat: 'h1', // 'h1'|'h2'|'h3'|'ul'
titleAlignment: 'left', // 'left'|'center'|'right'
titleIsLink: false, // false|true
imageFullWidth: false, // true|false
featuredImagePosition: 'alternate', // 'centered'|'left'|'right'|'alternate'|'none',
showAuthor: 'no', // 'no'|'aboveText'|'belowText'
authorPrecededBy: '";
// line 1343
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Author:"), "js"), "html", null, true);
echo "',
showCategories: 'no', // 'no'|'aboveText'|'belowText'
categoriesPrecededBy: '";
// line 1345
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Categories:"), "js"), "html", null, true);
echo "',
readMoreType: 'link', // 'link'|'button'
readMoreText: '";
// line 1347
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Read more"), "js"), "html", null, true);
echo "',
readMoreButton: {
text: '";
// line 1349
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Read more"), "js"), "html", null, true);
echo "',
url: '[postLink]',
context: 'posts.readMoreButton',
styles: {
block: {
backgroundColor: '#2ea1cd',
borderColor: '#0074a2',
borderWidth: '1px',
borderRadius: '5px',
borderStyle: 'solid',
width: '180px',
lineHeight: '40px',
fontColor: '#ffffff',
fontFamily: 'Verdana',
fontSize: '18px',
fontWeight: 'normal',
textAlign: 'center',
},
},
},
sortBy: 'newest', // 'newest'|'oldest',
showDivider: true, // true|false
divider: {
context: 'posts.divider',
styles: {
block: {
backgroundColor: 'transparent',
padding: '13px',
borderStyle: 'solid',
borderWidth: '3px',
borderColor: '#aaaaaa',
},
},
},
backgroundColor: '#ffffff',
backgroundColorAlternate: '#eeeeee',
},
products: {
amount: '10',
withLayout: true,
contentType: 'product',
postStatus: 'publish', // 'draft'|'pending'|'publish'
inclusionType: 'include', // 'include'|'exclude'
displayType: 'excerpt', // 'excerpt'|'full'|'titleOnly'
titleFormat: 'h1', // 'h1'|'h2'|'h3'
titleAlignment: 'left', // 'left'|'center'|'right'
titleIsLink: false, // false|true
imageFullWidth: false, // true|false
featuredImagePosition: 'alternate', // 'centered'|'left'|'right'|'alternate'|'none',
pricePosition: 'below', // 'hidden'|'above'|'below'
readMoreType: 'link', // 'link'|'button'
readMoreText: '";
// line 1400
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Buy now", "Text of a button which links to an ecommerce product page"), "js"), "html", null, true);
echo "',
readMoreButton: {
text: '";
// line 1402
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Buy now", "Text of a button which links to an ecommerce product page"), "js"), "html", null, true);
echo "',
url: '[postLink]',
context: 'posts.readMoreButton',
styles: {
block: {
backgroundColor: '#2ea1cd',
borderColor: '#0074a2',
borderWidth: '1px',
borderRadius: '5px',
borderStyle: 'solid',
width: '180px',
lineHeight: '40px',
fontColor: '#ffffff',
fontFamily: 'Verdana',
fontSize: '18px',
fontWeight: 'normal',
textAlign: 'center',
},
},
},
sortBy: 'newest', // 'newest'|'oldest',
showDivider: true, // true|false
divider: {
context: 'posts.divider',
styles: {
block: {
backgroundColor: 'transparent',
padding: '13px',
borderStyle: 'solid',
borderWidth: '3px',
borderColor: '#aaaaaa',
},
},
},
backgroundColor: '#ffffff',
backgroundColorAlternate: '#eeeeee',
},
social: {
iconSet: 'default',
styles: {
block: {
textAlign: 'center'
}
},
icons: [
{
type: 'socialIcon',
iconType: 'facebook',
link: 'http://www.facebook.com',
image: '";
// line 1451
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Facebook.png");
// line 1453
echo "',
height: '32px',
width: '32px',
text: '";
// line 1456
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Facebook"), "js"), "html", null, true);
echo "',
},
{
type: 'socialIcon',
iconType: 'twitter',
link: 'http://www.twitter.com',
image: '";
// line 1462
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/social-icons/01-social/Twitter.png");
// line 1464
echo "',
height: '32px',
width: '32px',
text: '";
// line 1467
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Twitter"), "js"), "html", null, true);
echo "',
},
],
},
spacer: {
styles: {
block: {
backgroundColor: 'transparent',
height: '40px',
},
},
},
text: {
text: '";
// line 1480
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_escape_filter($this->env, $this->extensions['MailPoet\Twig\I18n']->translate("Edit this to insert text."), "js"), "html", null, true);
echo "',
},
header: {
text: '<a href=\"[link:newsletter_view_in_browser_url]\">";
// line 1483
echo $this->extensions['MailPoet\Twig\I18n']->translate("View this in your browser.");
echo "</a>',
styles: {
block: {
backgroundColor: 'transparent',
},
text: {
fontColor: '#222222',
fontFamily: 'Arial',
fontSize: '12px',
textAlign: 'center',
},
link: {
fontColor: '#6cb7d4',
textDecoration: 'underline',
},
},
},
woocommerceHeading: {
contents: ";
// line 1501
echo json_encode(\MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["woocommerce"] ?? null), "email_headings", [], "any", false, false, false, 1501));
echo ",
},
coupon: {
type: 'coupon',
discountType: ";
// line 1505
echo json_encode(\MailPoetVendor\twig_get_attribute($this->env, $this->source, \MailPoetVendor\twig_get_attribute($this->env, $this->source, \MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["woocommerce"] ?? null), "coupon", [], "any", false, false, false, 1505), "defaults", [], "any", false, false, false, 1505), "discountType", [], "any", false, false, false, 1505));
echo ",
code: ";
// line 1506
echo json_encode(\MailPoetVendor\twig_get_attribute($this->env, $this->source, \MailPoetVendor\twig_get_attribute($this->env, $this->source, \MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["woocommerce"] ?? null), "coupon", [], "any", false, false, false, 1506), "defaults", [], "any", false, false, false, 1506), "code", [], "any", false, false, false, 1506));
echo ",
amountMax: ";
// line 1507
echo json_encode(\MailPoetVendor\twig_get_attribute($this->env, $this->source, \MailPoetVendor\twig_get_attribute($this->env, $this->source, \MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["woocommerce"] ?? null), "coupon", [], "any", false, false, false, 1507), "defaults", [], "any", false, false, false, 1507), "amountMax", [], "any", false, false, false, 1507));
echo ",
amount: 10,
expiryDay: 10,
styles: {
block: {
backgroundColor: '#ffffff',
borderColor: '#000000',
borderWidth: '1px',
borderRadius: '5px',
borderStyle: 'solid',
width: '200px',
lineHeight: '40px',
fontColor: '#000000',
fontFamily: 'Verdana',
fontSize: '18px',
fontWeight: 'normal',
textAlign: 'center',
},
},
},
},
shortcodes: ";
// line 1528
echo json_encode(($context["shortcodes"] ?? null));
echo ",
sidepanelWidth: '331px',
newsletterPreview: {
width: '1024px',
height: '768px',
previewTypeLocalStorageKey: 'newsletter_editor.preview_type'
},
validation: {
validateUnsubscribeLinkPresent: ";
// line 1536
echo ((((($context["mss_active"] ?? null) && (($context["is_wc_transactional_email"] ?? null) != true)) && (($context["is_confirmation_email_template"] ?? null) != true))) ? ("true") : ("false"));
echo ",
validateReEngageLinkPresent: ";
// line 1537
echo ((((($context["mss_active"] ?? null) && (($context["is_wc_transactional_email"] ?? null) != true)) && (($context["is_confirmation_email_template"] ?? null) != true))) ? ("true") : ("false"));
echo ",
validateActivationLinkIsPresent: ";
// line 1538
echo ((($context["is_confirmation_email_template"] ?? null)) ? ("true") : ("false"));
echo ",
},
urls: {
send: '";
// line 1541
echo admin_url(("admin.php?page=mailpoet-newsletters#/send/" . intval($this->extensions['MailPoet\Twig\Functions']->params("id"))));
echo "',
imageMissing: '";
// line 1542
echo $this->extensions['MailPoet\Twig\Assets']->generateImageUrl("newsletter_editor/image-missing.svg");
// line 1544
echo "',
},
currentUserId: '";
// line 1546
echo \MailPoetVendor\twig_escape_filter($this->env, \MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["current_wp_user"] ?? null), "wp_user_id", [], "any", false, false, false, 1546), "html", null, true);
echo "',
mtaMethod: '";
// line 1547
echo \MailPoetVendor\twig_escape_filter($this->env, (($__internal_compile_0 = (($__internal_compile_1 = ($context["settings"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["mta"] ?? null) : null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["method"] ?? null) : null), "html", null, true);
echo "',
woocommerceCustomizerEnabled: ";
// line 1548
echo ((\MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["woocommerce"] ?? null), "customizer_enabled", [], "any", false, false, false, 1548)) ? ("true") : ("false"));
echo ",
confirmationEmailCustomizerEnabled: ";
// line 1549
echo ((($context["is_confirmation_email_customizer_enabled"] ?? null)) ? ("true") : ("false"));
echo ",
";
// line 1550
if (($context["is_wc_transactional_email"] ?? null)) {
// line 1551
echo " overrideGlobalStyles: {
text: {
fontColor: ";
// line 1553
echo json_encode(\MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["woocommerce"] ?? null), "text_color", [], "any", false, false, false, 1553));
echo ",
},
h1: {
fontColor: ";
// line 1556
echo json_encode(\MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["woocommerce"] ?? null), "base_color", [], "any", false, false, false, 1556));
echo ",
},
h2: {
fontColor: ";
// line 1559
echo json_encode(\MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["woocommerce"] ?? null), "base_color", [], "any", false, false, false, 1559));
echo ",
},
h3: {
fontColor: ";
// line 1562
echo json_encode(\MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["woocommerce"] ?? null), "base_color", [], "any", false, false, false, 1562));
echo ",
},
link: {
fontColor: ";
// line 1565
echo json_encode(\MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["woocommerce"] ?? null), "link_color", [], "any", false, false, false, 1565));
echo ",
},
wrapper: {
backgroundColor: ";
// line 1568
echo json_encode(\MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["woocommerce"] ?? null), "body_background_color", [], "any", false, false, false, 1568));
echo ",
},
body: {
backgroundColor: ";
// line 1571
echo json_encode(\MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["woocommerce"] ?? null), "background_color", [], "any", false, false, false, 1571));
echo ",
},
woocommerce: {
brandingColor: ";
// line 1574
echo json_encode(\MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["woocommerce"] ?? null), "base_color", [], "any", false, false, false, 1574));
echo ",
headingFontColor: ";
// line 1575
echo json_encode(\MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["woocommerce"] ?? null), "base_text_color", [], "any", false, false, false, 1575));
echo ",
},
},
hiddenWidgets: ['automatedLatestContentLayout', 'header', 'footer', 'posts', 'products'],
";
}
// line 1580
echo " ";
if (($context["is_confirmation_email_template"] ?? null)) {
// line 1581
echo " hiddenWidgets: ['automatedLatestContentLayout', 'header', 'footer', 'posts', 'products'],
";
}
// line 1583
echo " coupon: ";
echo json_encode(\MailPoetVendor\twig_get_attribute($this->env, $this->source, \MailPoetVendor\twig_get_attribute($this->env, $this->source, ($context["woocommerce"] ?? null), "coupon", [], "any", false, false, false, 1583), "config", [], "any", false, false, false, 1583));
echo ",
};
wp.hooks.doAction('mailpoet_newsletters_editor_initialize', config);
</script>
";
}
public function getTemplateName()
{
return "newsletter/editor.html";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 2152 => 1583, 2148 => 1581, 2145 => 1580, 2137 => 1575, 2133 => 1574, 2127 => 1571, 2121 => 1568, 2115 => 1565, 2109 => 1562, 2103 => 1559, 2097 => 1556, 2091 => 1553, 2087 => 1551, 2085 => 1550, 2081 => 1549, 2077 => 1548, 2073 => 1547, 2069 => 1546, 2065 => 1544, 2063 => 1542, 2059 => 1541, 2053 => 1538, 2049 => 1537, 2045 => 1536, 2034 => 1528, 2010 => 1507, 2006 => 1506, 2002 => 1505, 1995 => 1501, 1974 => 1483, 1968 => 1480, 1952 => 1467, 1947 => 1464, 1945 => 1462, 1936 => 1456, 1931 => 1453, 1929 => 1451, 1877 => 1402, 1872 => 1400, 1818 => 1349, 1813 => 1347, 1808 => 1345, 1803 => 1343, 1777 => 1320, 1750 => 1300, 1705 => 1258, 1664 => 1220, 1659 => 1218, 1654 => 1216, 1649 => 1214, 1597 => 1165, 1592 => 1163, 1587 => 1161, 1582 => 1159, 1529 => 1109, 1525 => 1108, 1518 => 1104, 1510 => 1099, 1502 => 1094, 1494 => 1089, 1490 => 1088, 1483 => 1084, 1479 => 1083, 1472 => 1079, 1464 => 1074, 1456 => 1069, 1448 => 1064, 1430 => 1048, 1428 => 1046, 1425 => 1045, 1423 => 1043, 1420 => 1042, 1418 => 1040, 1415 => 1039, 1413 => 1037, 1410 => 1036, 1408 => 1034, 1405 => 1033, 1403 => 1031, 1400 => 1030, 1398 => 1028, 1395 => 1027, 1393 => 1025, 1390 => 1024, 1388 => 1022, 1385 => 1021, 1383 => 1019, 1378 => 1016, 1376 => 1014, 1373 => 1013, 1371 => 1011, 1368 => 1010, 1366 => 1008, 1363 => 1007, 1361 => 1005, 1358 => 1004, 1356 => 1002, 1353 => 1001, 1351 => 999, 1348 => 998, 1346 => 996, 1343 => 995, 1341 => 993, 1338 => 992, 1336 => 990, 1333 => 989, 1331 => 987, 1326 => 984, 1324 => 982, 1321 => 981, 1319 => 979, 1316 => 978, 1314 => 976, 1311 => 975, 1309 => 973, 1306 => 972, 1304 => 970, 1301 => 969, 1299 => 967, 1296 => 966, 1294 => 964, 1291 => 963, 1289 => 961, 1286 => 960, 1284 => 958, 1281 => 957, 1279 => 955, 1274 => 952, 1272 => 950, 1269 => 949, 1267 => 947, 1264 => 946, 1262 => 944, 1259 => 943, 1257 => 941, 1254 => 940, 1252 => 938, 1249 => 937, 1247 => 935, 1244 => 934, 1242 => 932, 1239 => 931, 1237 => 929, 1234 => 928, 1232 => 926, 1229 => 925, 1227 => 923, 1222 => 920, 1220 => 918, 1217 => 917, 1215 => 915, 1212 => 914, 1210 => 912, 1207 => 911, 1205 => 909, 1202 => 908, 1200 => 906, 1197 => 905, 1195 => 903, 1192 => 902, 1190 => 900, 1187 => 899, 1185 => 897, 1182 => 896, 1180 => 894, 1177 => 893, 1175 => 891, 1170 => 888, 1168 => 886, 1165 => 885, 1163 => 883, 1160 => 882, 1158 => 880, 1155 => 879, 1153 => 877, 1150 => 876, 1148 => 874, 1145 => 873, 1143 => 871, 1140 => 870, 1138 => 868, 1135 => 867, 1133 => 865, 1130 => 864, 1128 => 862, 1125 => 861, 1123 => 859, 1118 => 856, 1116 => 854, 1113 => 853, 1111 => 851, 1108 => 850, 1106 => 848, 1103 => 847, 1101 => 845, 1098 => 844, 1096 => 842, 1093 => 841, 1091 => 839, 1088 => 838, 1086 => 836, 1083 => 835, 1081 => 833, 1078 => 832, 1076 => 830, 1073 => 829, 1071 => 827, 1066 => 824, 1064 => 822, 1061 => 821, 1059 => 819, 1056 => 818, 1054 => 816, 1051 => 815, 1049 => 813, 1046 => 812, 1044 => 810, 1041 => 809, 1039 => 807, 1036 => 806, 1034 => 804, 1031 => 803, 1029 => 801, 1026 => 800, 1024 => 798, 1021 => 797, 1019 => 795, 1014 => 792, 1012 => 790, 1009 => 789, 1007 => 787, 1004 => 786, 1002 => 784, 999 => 783, 997 => 781, 994 => 780, 992 => 778, 989 => 777, 987 => 775, 984 => 774, 982 => 772, 979 => 771, 977 => 769, 974 => 768, 972 => 766, 969 => 765, 967 => 763, 962 => 760, 960 => 758, 957 => 757, 955 => 755, 952 => 754, 950 => 752, 947 => 751, 945 => 749, 942 => 748, 940 => 746, 937 => 745, 935 => 743, 932 => 742, 930 => 740, 927 => 739, 925 => 737, 922 => 736, 920 => 734, 917 => 733, 915 => 731, 909 => 727, 890 => 710, 888 => 709, 854 => 678, 850 => 677, 846 => 676, 554 => 387, 551 => 386, 547 => 385, 540 => 382, 536 => 381, 528 => 376, 524 => 375, 520 => 374, 516 => 372, 508 => 366, 506 => 365, 478 => 340, 475 => 339, 471 => 338, 466 => 335, 464 => 332, 461 => 331, 459 => 328, 456 => 327, 454 => 324, 451 => 323, 449 => 320, 446 => 319, 444 => 316, 441 => 315, 439 => 312, 436 => 311, 434 => 308, 431 => 307, 429 => 304, 426 => 303, 424 => 300, 421 => 299, 419 => 296, 416 => 295, 414 => 292, 411 => 291, 409 => 288, 406 => 287, 404 => 284, 401 => 283, 399 => 280, 396 => 279, 394 => 276, 391 => 275, 389 => 272, 386 => 271, 384 => 268, 381 => 267, 379 => 264, 376 => 263, 374 => 260, 371 => 259, 369 => 256, 366 => 255, 364 => 252, 361 => 251, 359 => 248, 356 => 247, 354 => 244, 351 => 243, 349 => 240, 346 => 239, 344 => 236, 341 => 235, 339 => 232, 336 => 231, 334 => 228, 331 => 227, 329 => 224, 326 => 223, 324 => 220, 321 => 219, 319 => 216, 316 => 215, 314 => 212, 311 => 211, 309 => 208, 306 => 207, 304 => 204, 301 => 203, 299 => 200, 296 => 199, 294 => 196, 291 => 195, 289 => 192, 286 => 191, 284 => 188, 281 => 187, 279 => 184, 276 => 183, 274 => 180, 271 => 179, 269 => 176, 266 => 175, 264 => 172, 261 => 171, 259 => 168, 256 => 167, 254 => 164, 251 => 163, 249 => 160, 246 => 159, 244 => 156, 241 => 155, 239 => 152, 236 => 151, 234 => 148, 231 => 147, 229 => 144, 226 => 143, 224 => 140, 221 => 139, 219 => 136, 216 => 135, 214 => 132, 211 => 131, 209 => 128, 206 => 127, 204 => 124, 201 => 123, 199 => 120, 196 => 119, 194 => 116, 191 => 115, 189 => 112, 186 => 111, 184 => 108, 181 => 107, 179 => 104, 176 => 103, 174 => 100, 171 => 99, 169 => 96, 166 => 95, 164 => 92, 161 => 91, 159 => 88, 156 => 87, 154 => 84, 151 => 83, 149 => 80, 146 => 79, 144 => 76, 141 => 75, 139 => 72, 136 => 71, 134 => 68, 131 => 67, 129 => 64, 126 => 63, 124 => 60, 121 => 59, 119 => 56, 116 => 55, 114 => 52, 111 => 51, 109 => 48, 106 => 47, 104 => 44, 101 => 43, 99 => 40, 96 => 39, 94 => 36, 91 => 35, 89 => 32, 86 => 31, 84 => 28, 81 => 27, 79 => 24, 76 => 23, 74 => 20, 71 => 19, 69 => 16, 66 => 15, 64 => 12, 61 => 11, 59 => 8, 56 => 7, 53 => 4, 49 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "newsletter/editor.html", "/home/circleci/mailpoet/mailpoet/views/newsletter/editor.html");
}
}
Directory Contents
Dirs: 0 × Files: 3