!function(o){var n={};function t(a){if(n[a])return n[a].exports;var d=n[a]={i:a,l:!1,exports:{}};return o[a].call(d.exports,d,d.exports,t),d.l=!0,d.exports}t.m=o,t.c=n,t.d=function(o,n,a){t.o(o,n)||Object.defineProperty(o,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(o){var n=o&&o.__esModule?function(){return o.default}:function(){return o};return t.d(n,"a",n),n},t.o=function(o,n){return Object.prototype.hasOwnProperty.call(o,n)},t.p="",t(t.s=0)}([function(o,n,t){o.exports=t(1)},function(o,n){jQuery(document).ready(function(o){var n=0;({initDownloadFonts:function(){o("#ff_download_fonts").addClass("is-loading").attr("disabled",!0),o(".ff_download_fonts_text").text("Downloading..."),o(".ff_download_loading").html("Please do not close this window when downloading the fonts, After downloading page will auto reload."),this.ajaxLoadFonts()},ajaxLoadFonts:function(){var t=this;n<95&&(n+=5),o(".ff_download_fonts_bar").animate({width:n+"%"},1e3),window.FluentFormsGlobal.$post({action:"fluentform_pdf_admin_ajax_actions",route:"downloadFonts"}).then(function(n){n.data.downloaded_files&&n.data.downloaded_files.length?(o(".ff_download_logs").prepend(n.data.downloaded_files.join("<br />")).show(),o(".ff_downlaod_logs").removeClass("hidden"),t.ajaxLoadFonts()):(o(".ff_download_fonts_bar").animate({width:"100%"},1e3),window.location.reload())}).fail(function(o){window.location.reload()})},init:function(){var n=this;o("#ff_download_fonts").on("click",function(o){o.preventDefault(),n.initDownloadFonts()})}}).init()})}]);