/* RainLoop Webmail (c) RainLoop Team | MIT */ !function(){function e(e){function n(){if(o&&ao&&i&&(d=!0,i(a)))},t.getDataFromInput=function(e,n,o,i){var r=e&&e.files&&0').css({opacity:0})},t.createNextInput=function(){return i('')},t.getNewInput=function(e,n){e=t.isUndefined(e)?"":e.toString();var o=t.createNextInput();return 0').attr("name","jua-post-type").val("iframe")),o.each(l,function(e,t){a.append(o('').attr("name",e).val(r.getStringOrCallFunction(t,[n])))}),a.trigger("submit"),u&&u(e),a.find("iframe").on("load",function(){var n=!1,r=null,l={};if(s){try{r=this.contentDocument?this.contentDocument:this.contentWindow.document,l=o.parseJSON(r.body.innerHTML),n=!0}catch(e){l={}}s(e,n,l)}i(null,e),t.setTimeout(function(){a.remove()},100)})):i(null,e),!0},a.prototype.generateNewInput=function(e){var t=this,n="",a=null,l=null,u=r.getValue(this.oOptions,"action",""),s=null;e&&(n=r.getNewUid(),a=r.getNewInput(r.getValue(this.oOptions,"name","juaFile"),!r.getValue(this.oOptions,"disableMultiple",!1)),s=o('
'),l=o('