var WPFormsEducation=window.WPFormsEducation||{};WPFormsEducation.liteCore=window.WPFormsEducation.liteCore||function(o,l,c){const a={init(){c(a.ready)},ready(){a.events()},events(){a.openModalButtonClick()},openModalButtonClick(){c(o).on("click",".education-modal:not(.wpforms-add-fields-button)",a.openModalButtonHandler).on("mousedown",".education-modal.wpforms-add-fields-button",a.openModalButtonHandler)},openModalButtonHandler(e){var t=c(this);if(!t.data("action")||!["activate","install"].includes(t.data("action"))){e.preventDefault(),e.stopImmediatePropagation();let o=t.data("name");t.hasClass("wpforms-add-fields-button")&&(o=t.text(),o+=o.indexOf(wpforms_builder.field)<0?" "+wpforms_builder.field:"");e=WPFormsEducation.core.getUTMContentValue(t);a.upgradeModal(o,e,t.data("license"),t.data("video"),t.data("plural"))}},upgradeModal(e,t,a,n,d){if(void 0!==a&&0!==a.length||(a="pro"),!(c.inArray(a,["pro","elite"])<0)){var i=wpforms_education.upgrade[a].message.replace(/%name%/g,e);const r=Boolean(n);d=d?wpforms_education.upgrade[a].title_plural:wpforms_education.upgrade[a].title;let o=WPFormsEducation.core.getUpgradeModalWidth(r);const s=c.alert({backgroundDismiss:!0,title:e+" "+d,icon:"fa fa-lock",content:i,boxWidth:o,theme:"modern,wpforms-education",closeIcon:!0,onOpenBefore(){r&&this.$el.addClass("has-video");var o=r?'':"";this.$btnc.after('