| 1 |
let TF_Install_Updater;(t=>{"use strict";TF_Install_Updater=async a=>{const n=async()=>{const n=new FormData;n.set("action","themify_activate_plugin"),n.set("nonce",a),n.set("plugin","themify-updater");const e=await t.fetch(n,"html"),c=document.createElement("div");c.appendChild(e);for(let t=c.children,a=t.length-1;a>-1;--a)t[a].nodeName!==Node.TEXT_NODE&&t[a].remove();const i=JSON.parse(c.textContent);if(!i.success){throw i.data||i}};try{await n()}catch(t){await n()}}})(Themify); |