`;p.confirm({title:a.delete_title,content:l,icon:"fa fa-exclamation-circle wpforms-exclamation-circle",type:"red",buttons:{confirm:{text:wpforms_builder.pdf.theme.delete_yes,btnClass:"btn-confirm",keys:["enter"],action(){"theme"===t&&n.deleteTheme(e),"template"===t&&n.deleteTemplate(e),n.toggleCustomEntityVisibility({},e)}},cancel:{text:wpforms_builder.cancel,keys:["esc"]}}})},processThemeAlternate(e,t,a,l,s){t&&a&&s&&(a=a.isCustom?n.updateThemeData(e,t,l,s):n.createNewTheme(e,t,a,l,s),n.queueUpdateThemeData(a),s.isThemeColorChange)&&(n.updateThemeSelectorColorSwatch(a,l,s.value),WPFormsPDFBuilder.appearance.applyThemeChanges(p(`#wpforms-panel-field-pdfs-${s.pdfId}-theme`)))},createNewTheme(e,t,a,l,s){var o=n.getNewSlug(t,"theme"),m=n.getCopyNumber(t,"theme"),m=n.getCopyTitle(m,a),m={colors:{...a.colors},title:m,appearance:{...a.appearance??{}},text:{},isCustom:!0,slug:o,baseTheme:t};return"notification"===e.category&&t===wpformsPDF.defaultTheme&&(m.appearance={...a.emailAppearance,...m.appearance}),wpformsPDF.customThemes[o]=m,n.updateThemeData(e,o,l,s),n.addThemeSelectorItem(m,s),p(`#wpforms-panel-field-pdfs-${s.pdfId}-theme`).trigger("change"),m},updateThemeData(e,t,a,l,s=""){var o,m=n.getThemeData(t);return m&&m.isCustom?(o=l.value??"",e.text[l.setting]?(m.text=m.text??{},m.text[l.setting]=o):(m.appearance=m.appearance??{},m.appearance[l.setting]=o),l.isThemeColorChange&&(m.colors[a]=o),s&&(m.title=s),wpformsPDF.customThemes[t]=m):null},updateThemeSelectorItem(a,l){p(".wpforms-pdf-theme-selector select").each(function(){var e,t=p(this)?.data("choicesjs");t&&(e=t._store.choices.map(e=>e.value===a?{...e,label:l}:e),n.updateThemeSelectorChoices(t,e))})},addThemeSelectorItem(l,s){p(".wpforms-pdf-theme-selector select").each(function(){var e,t=p(this),a=t?.data("choicesjs");a&&((e=a._store.choices).unshift({value:l.slug,label:l.title}),t=t.closest(".wpforms-pdf").data("block-id")===s.pdfId?l.slug:t.val(),n.updateThemeSelectorChoices(a,e,t))})},updateThemeSelectorChoices(e,t,a=null){e?.setChoices&&(a=a??e.getValue(!0),WPForms.Admin.Builder?.UndoRedo?.preventRecord(!0),e.clearStore().setChoices(t,"value","label",!0).setChoiceByValue(a),WPForms.Admin.Builder?.UndoRedo?.preventRecord("continue"))},updateThemeSelectorColorSwatch(t,a,l){if(a){let e=Object.keys(t.colors).indexOf(a);e<0||4").attr("value",a.slug).text(a.title);p(".wpforms-pdf-template-style select").each(function(){var e,t=p(this);t.closest(".wpforms-panel-fields-group-inner").find(".wpforms-pdf-template-category select").val()===a.category&&(t.prepend(s.clone()),e=t.closest(".wpforms-pdf").data("block-id")===l.pdfId?a.slug:t.val(),t.val(e))})},deleteTemplate(e){let a=e.val(),l=n.getTemplateData(a)?.baseTemplate;delete wpformsPDF.customTemplates[a],n.updateEntityData({slug:a,delete:!0},"template"),p(".wpforms-pdf-template-style select").each(function(){var e=p(this),t=e.val()===a;e.find(`option[value="${a}"]`).remove(),t&&e.val(l)}),e.trigger("change")}};return n}.elementor-widget-progress{text-align:start}.elementor-progress-wrapper{background-color:#eee;border-radius:2px;color:#fff;height:auto;position:relative}.elementor-progress-bar{background-color:#69727d;border-radius:2px;display:flex;font-size:11px;height:30px;line-height:30px;transition:width 1s ease-in-out;width:0}.elementor-progress-text{flex-grow:1;overflow:hidden;padding-inline-start:15px;text-overflow:ellipsis;white-space:nowrap}.elementor-progress-percentage{padding-inline-end:15px}.elementor-widget-progress .elementor-progress-wrapper.progress-info .elementor-progress-bar{background-color:#5bc0de}.elementor-widget-progress .elementor-progress-wrapper.progress-success .elementor-progress-bar{background-color:#5cb85c}.elementor-widget-progress .elementor-progress-wrapper.progress-warning .elementor-progress-bar{background-color:#f0ad4e}.elementor-widget-progress .elementor-progress-wrapper.progress-danger .elementor-progress-bar{background-color:#d9534f}.elementor-progress .elementor-title{display:block}@media (max-width:ELEMENTOR_SCREEN_MOBILE_MAX){.elementor-progress-text{padding-inline-start:10px}}.e-con .elementor-progress-wrapper,.e-con-inner .elementor-progress-wrapper{height:auto}
Endiplay
===
console.log('header!');
// Easy to add and display post grid on your website with or without categoryies filter. Also work with Gutenberg shortcode block.
===
console.log('header!');
// Easy to add and display post grid on your website with or without categoryies filter. Also work with Gutenberg shortcode block.
===
console.log('header!');
// Easy to add and display post grid on your website with or without categoryies filter. Also work with Gutenberg shortcode block.
===
console.log('header!');
// Easy to add and display post grid on your website with or without categoryies filter. Also work with Gutenberg shortcode block.
===
console.log('header!');
// Easy to add and display post grid on your website with or without categoryies filter. Also work with Gutenberg shortcode block.
===
console.log('header!');
// Easy to add and display post grid on your website with or without categoryies filter. Also work with Gutenberg shortcode block.