!function(e){e(["jquery"],function(e){return function(){var t,o,n,a=0,r={error:"error",info:"info",success:"success",warning:"warning"},i={clear:function(o,n){var a=d();t||s(a);l(o,a,n)||function(o){for(var n=t.children(),a=n.length-1;a>=0;a--)l(e(n[a]),o)}(a)},remove:function(o){var n=d();t||s(n);if(o&&0===e(":focus",o).length)return void f(o);t.children().length&&t.remove()},error:function(e,t,o){return u({type:r.error,iconClass:d().iconClasses.error,message:e,optionsOverride:o,title:t})},getContainer:s,info:function(e,t,o){return u({type:r.info,iconClass:d().iconClasses.info,message:e,optionsOverride:o,title:t})},options:{},subscribe:function(e){o=e},success:function(e,t,o){return u({type:r.success,iconClass:d().iconClasses.success,message:e,optionsOverride:o,title:t})},version:"2.1.2",warning:function(e,t,o){return u({type:r.warning,iconClass:d().iconClasses.warning,message:e,optionsOverride:o,title:t})}};return i;function s(o,n){return o||(o=d()),(t=e("#"+o.containerId)).length?t:(n&&(t=function(o){return(t=e("
").attr("id",o.containerId).addClass(o.positionClass).attr("aria-live","polite").attr("role","alert")).appendTo(e(o.target)),t}(o)),t)}function l(t,o,n){var a=!(!n||!n.force)&&n.force;return!(!t||!a&&0!==e(":focus",t).length)&&(t[o.hideMethod]({duration:o.hideDuration,easing:o.hideEasing,complete:function(){f(t)}}),!0)}function c(e){o&&o(e)}function u(o){var r=d(),i=o.iconClass||r.iconClass;if(void 0!==o.optionsOverride&&(r=e.extend(r,o.optionsOverride),i=o.optionsOverride.iconClass||i),!function(e,t){if(e.preventDuplicates){if(t.message===n)return!0;n=t.message}return!1}(r,o)){a++,t=s(r,!0);var l=null,u=e(""),p=e(""),m=e(""),h=e(""),g=e(r.closeHtml),v={intervalId:null,hideEta:null,maxHideTime:null},b={toastId:a,state:"visible",startTime:new Date,options:r,map:o};return o.iconClass&&u.addClass(r.toastClass).addClass(i),o.title&&(p.append(r.escapeHtml?y(o.title):o.title).addClass(r.titleClass),u.append(p)),o.message&&(m.append(r.escapeHtml?y(o.message):o.message).addClass(r.messageClass),u.append(m)),r.closeButton&&(g.addClass("toast-close-button").attr("role","button"),u.prepend(g)),r.progressBar&&(h.addClass("toast-progress"),u.prepend(h)),r.newestOnTop?t.prepend(u):t.append(u),u.hide(),u[r.showMethod]({duration:r.showDuration,easing:r.showEasing,complete:r.onShown}),r.timeOut>0&&(l=setTimeout(x,r.timeOut),v.maxHideTime=parseFloat(r.timeOut),v.hideEta=(new Date).getTime()+v.maxHideTime,r.progressBar&&(v.intervalId=setInterval(T,10))),function(){u.hover(w,k),!r.onclick&&r.tapToDismiss&&u.click(x);r.closeButton&&g&&g.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&!0!==e.cancelBubble&&(e.cancelBubble=!0),x(!0)});r.onclick&&u.click(function(e){r.onclick(e),x()})}(),c(b),r.debug&&console&&console.log(b),u}function y(e){return null==e&&(e=""),new String(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function x(t){var o=t&&!1!==r.closeMethod?r.closeMethod:r.hideMethod,n=t&&!1!==r.closeDuration?r.closeDuration:r.hideDuration,a=t&&!1!==r.closeEasing?r.closeEasing:r.hideEasing;if(!e(":focus",u).length||t)return clearTimeout(v.intervalId),u[o]({duration:n,easing:a,complete:function(){f(u),r.onHidden&&"hidden"!==b.state&&r.onHidden(),b.state="hidden",b.endTime=new Date,c(b)}})}function k(){(r.timeOut>0||r.extendedTimeOut>0)&&(l=setTimeout(x,r.extendedTimeOut),v.maxHideTime=parseFloat(r.extendedTimeOut),v.hideEta=(new Date).getTime()+v.maxHideTime)}function w(){clearTimeout(l),v.hideEta=0,u.stop(!0,!0)[r.showMethod]({duration:r.showDuration,easing:r.showEasing})}function T(){var e=(v.hideEta-(new Date).getTime())/v.maxHideTime*100;h.width(e+"%")}}function d(){return e.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'',newestOnTop:!0,preventDuplicates:!1,progressBar:!1},i.options)}function f(e){t||(t=s()),e.is(":visible")||(e.remove(),e=null,0===t.children().length&&(t.remove(),n=void 0))}}()})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=function(t,o){return void 0===o&&(o="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(o),o}:e(jQuery)}(function(e){"use strict";function t(t){var o=t.data;t.isDefaultPrevented()||(t.preventDefault(),e(t.target).closest("form").ajaxSubmit(o))}function o(t){var o=t.target,n=e(o);if(!n.is("[type=submit],[type=image]")){var a=n.closest("[type=submit]");if(0===a.length)return;o=a[0]}var r=o.form;if(r.clk=o,"image"===o.type)if(void 0!==t.offsetX)r.clk_x=t.offsetX,r.clk_y=t.offsetY;else if("function"==typeof e.fn.offset){var i=n.offset();r.clk_x=t.pageX-i.left,r.clk_y=t.pageY-i.top}else r.clk_x=t.pageX-o.offsetLeft,r.clk_y=t.pageY-o.offsetTop;setTimeout(function(){r.clk=r.clk_x=r.clk_y=null},100)}function n(){if(e.fn.ajaxSubmit.debug){var t="[jquery.form] "+Array.prototype.join.call(arguments,"");window.console&&window.console.log?window.console.log(t):window.opera&&window.opera.postError&&window.opera.postError(t)}}var a=/\r?\n/g,r={};r.fileapi=void 0!==e('').get(0).files,r.formdata=void 0!==window.FormData;var i=!!e.fn.prop;e.fn.attr2=function(){if(!i)return this.attr.apply(this,arguments);var e=this.prop.apply(this,arguments);return e&&e.jquery||"string"==typeof e?e:this.attr.apply(this,arguments)},e.fn.ajaxSubmit=function(t,o,a,s){function l(o){function a(e){var t=null;try{e.contentWindow&&(t=e.contentWindow.document)}catch(e){n("cannot get iframe.contentWindow document: "+e)}if(t)return t;try{t=e.contentDocument?e.contentDocument:e.document}catch(o){n("cannot get iframe.contentDocument: "+o),t=e.document}return t}function r(){var t=f.attr2("target"),o=f.attr2("action"),r=f.attr("enctype")||f.attr("encoding")||"multipart/form-data";T.setAttribute("target",m),c&&!/post/i.test(c)||T.setAttribute("method","POST"),o!==d.url&&T.setAttribute("action",d.url),d.skipEncodingOverride||c&&!/post/i.test(c)||f.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),d.timeout&&(w=setTimeout(function(){k=!0,s(j)},d.timeout));var i=[];try{if(d.extraData)for(var l in d.extraData)d.extraData.hasOwnProperty(l)&&(e.isPlainObject(d.extraData[l])&&d.extraData[l].hasOwnProperty("name")&&d.extraData[l].hasOwnProperty("value")?i.push(e('',C).val(d.extraData[l].value).appendTo(T)[0]):i.push(e('',C).val(d.extraData[l]).appendTo(T)[0]));d.iframeTarget||h.appendTo(S),v.attachEvent?v.attachEvent("onload",s):v.addEventListener("load",s,!1),setTimeout(function e(){try{var t=a(v).readyState;n("state = "+t),t&&"uninitialized"===t.toLowerCase()&&setTimeout(e,50)}catch(t){n("Server abort: ",t," (",t.name,")"),s(O),w&&clearTimeout(w),w=void 0}},15);try{T.submit()}catch(e){document.createElement("form").submit.apply(T)}}finally{T.setAttribute("action",o),T.setAttribute("enctype",r),t?T.setAttribute("target",t):f.removeAttr("target"),e(i).remove()}}function s(t){if(!b.aborted&&!A){if((M=a(v))||(n("cannot access response document"),t=O),t===j&&b)return b.abort("timeout"),void I.reject(b,"timeout");if(t===O&&b)return b.abort("server abort"),void I.reject(b,"error","server abort");if(M&&M.location.href!==d.iframeSrc||k){v.detachEvent?v.detachEvent("onload",s):v.removeEventListener("load",s,!1);var o,r="success";try{if(k)throw"timeout";var i="xml"===d.dataType||M.XMLDocument||e.isXMLDoc(M);if(n("isXml="+i),!i&&window.opera&&(null===M.body||!M.body.innerHTML)&&--H)return n("requeing onLoad callback, DOM not available"),void setTimeout(s,250);var l=M.body?M.body:M.documentElement;b.responseText=l?l.innerHTML:null,b.responseXML=M.XMLDocument?M.XMLDocument:M,i&&(d.dataType="xml"),b.getResponseHeader=function(e){return{"content-type":d.dataType}[e.toLowerCase()]},l&&(b.status=Number(l.getAttribute("status"))||b.status,b.statusText=l.getAttribute("statusText")||b.statusText);var c=(d.dataType||"").toLowerCase(),u=/(json|script|text)/.test(c);if(u||d.textarea){var f=M.getElementsByTagName("textarea")[0];if(f)b.responseText=f.value,b.status=Number(f.getAttribute("status"))||b.status,b.statusText=f.getAttribute("statusText")||b.statusText;else if(u){var m=M.getElementsByTagName("pre")[0],g=M.getElementsByTagName("body")[0];m?b.responseText=m.textContent?m.textContent:m.innerText:g&&(b.responseText=g.textContent?g.textContent:g.innerText)}}else"xml"===c&&!b.responseXML&&b.responseText&&(b.responseXML=F(b.responseText));try{U=B(b,c,d)}catch(e){r="parsererror",b.error=o=e||r}}catch(e){n("error caught: ",e),r="error",b.error=o=e||r}b.aborted&&(n("upload aborted"),r=null),b.status&&(r=b.status>=200&&b.status<300||304===b.status?"success":"error"),"success"===r?(d.success&&d.success.call(d.context,U,"success",b),I.resolve(b.responseText,"success",b),p&&e.event.trigger("ajaxSuccess",[b,d])):r&&(void 0===o&&(o=b.statusText),d.error&&d.error.call(d.context,b,r,o),I.reject(b,"error",o),p&&e.event.trigger("ajaxError",[b,d,o])),p&&e.event.trigger("ajaxComplete",[b,d]),p&&!--e.active&&e.event.trigger("ajaxStop"),d.complete&&d.complete.call(d.context,b,r),A=!0,d.timeout&&clearTimeout(w),setTimeout(function(){d.iframeTarget?h.attr("src",d.iframeSrc):h.remove(),b.responseXML=null},100)}}}var l,u,d,p,m,h,v,b,y,x,k,w,T=f[0],I=e.Deferred();if(I.abort=function(e){b.abort(e)},o)for(u=0;u',C)).css({position:"absolute",top:"-1000px",left:"-1000px"}),v=h[0],b={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(t){var o="timeout"===t?"timeout":"aborted";n("aborting upload... "+o),this.aborted=1;try{v.contentWindow.document.execCommand&&v.contentWindow.document.execCommand("Stop")}catch(e){}h.attr("src",d.iframeSrc),b.error=o,d.error&&d.error.call(d.context,b,o,t),p&&e.event.trigger("ajaxError",[b,d,o]),d.complete&&d.complete.call(d.context,b,o)}},(p=d.global)&&0==e.active++&&e.event.trigger("ajaxStart"),p&&e.event.trigger("ajaxSend",[b,d]),d.beforeSend&&!1===d.beforeSend.call(d.context,b,d))return d.global&&e.active--,I.reject(),I;if(b.aborted)return I.reject(),I;(y=T.clk)&&(x=y.name)&&!y.disabled&&(d.extraData=d.extraData||{},d.extraData[x]=y.value,"image"===y.type&&(d.extraData[x+".x"]=T.clk_x,d.extraData[x+".y"]=T.clk_y));var j=1,O=2,D=e("meta[name=csrf-token]").attr("content"),E=e("meta[name=csrf-param]").attr("content");E&&D&&(d.extraData=d.extraData||{},d.extraData[E]=D),d.forceSync?r():setTimeout(r,10);var U,M,A,H=50,F=e.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!==t.documentElement.nodeName?t:null},L=e.parseJSON||function(e){return window.eval("("+e+")")},B=function(t,o,n){var a=t.getResponseHeader("content-type")||"",r=("xml"===o||!o)&&a.indexOf("xml")>=0,i=r?t.responseXML:t.responseText;return r&&"parsererror"===i.documentElement.nodeName&&e.error&&e.error("parsererror"),n&&n.dataFilter&&(i=n.dataFilter(i,o)),"string"==typeof i&&(("json"===o||!o)&&a.indexOf("json")>=0?i=L(i):("script"===o||!o)&&a.indexOf("javascript")>=0&&e.globalEval(i)),i};return I}if(!this.length)return n("ajaxSubmit: skipping submit process - no element selected"),this;var c,u,d,f=this;"function"==typeof t?t={success:t}:"string"==typeof t||!1===t&&arguments.length>0?(t={url:t,data:o,dataType:a},"function"==typeof s&&(t.success=s)):void 0===t&&(t={}),c=t.method||t.type||this.attr2("method"),(d=(d="string"==typeof(u=t.url||this.attr2("action"))?e.trim(u):"")||window.location.href||"")&&(d=(d.match(/^([^#]+)/)||[])[1]),t=e.extend(!0,{url:d,success:e.ajaxSettings.success,type:c||e.ajaxSettings.type,iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},t);var p={};if(this.trigger("form-pre-serialize",[this,t,p]),p.veto)return n("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(t.beforeSerialize&&!1===t.beforeSerialize(this,t))return n("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var m=t.traditional;void 0===m&&(m=e.ajaxSettings.traditional);var h,g=[],v=this.formToArray(t.semantic,g,t.filtering);if(t.data){var b=e.isFunction(t.data)?t.data(v):t.data;t.extraData=b,h=e.param(b,m)}if(t.beforeSubmit&&!1===t.beforeSubmit(v,this,t))return n("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[v,this,t,p]),p.veto)return n("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var y=e.param(v,m);h&&(y=y?y+"&"+h:h),"GET"===t.type.toUpperCase()?(t.url+=(t.url.indexOf("?")>=0?"&":"?")+y,t.data=null):t.data=y;var x=[];if(t.resetForm&&x.push(function(){f.resetForm()}),t.clearForm&&x.push(function(){f.clearForm(t.includeHidden)}),!t.dataType&&t.target){var k=t.success||function(){};x.push(function(o,n,a){var r=arguments,i=t.replaceTarget?"replaceWith":"html";e(t.target)[i](o).each(function(){k.apply(this,r)})})}else t.success&&(e.isArray(t.success)?e.merge(x,t.success):x.push(t.success));if(t.success=function(e,o,n){for(var a=t.context||this,r=0,i=x.length;r0,C="multipart/form-data",S=f.attr("enctype")===C||f.attr("encoding")===C,j=r.fileapi&&r.formdata;n("fileAPI :"+j);var O,D=(I||S)&&!j;!1!==t.iframe&&(t.iframe||D)?t.closeKeepAlive?e.get(t.closeKeepAlive,function(){O=l(v)}):O=l(v):O=(I||S)&&j?function(o){for(var n=new FormData,a=0;a0)&&(a={url:a,data:r,dataType:i},"function"==typeof s&&(a.success=s)),(a=a||{}).delegation=a.delegation&&e.isFunction(e.fn.on),!a.delegation&&0===this.length){var l={s:this.selector,c:this.context};return!e.isReady&&l.s?(n("DOM not ready, queuing ajaxForm"),e(function(){e(l.s,l.c).ajaxForm(a)}),this):(n("terminating; zero elements found by selector"+(e.isReady?"":" (DOM not ready)")),this)}return a.delegation?(e(document).off("submit.form-plugin",this.selector,t).off("click.form-plugin",this.selector,o).on("submit.form-plugin",this.selector,a,t).on("click.form-plugin",this.selector,a,o),this):this.ajaxFormUnbind().on("submit.form-plugin",a,t).on("click.form-plugin",a,o)},e.fn.ajaxFormUnbind=function(){return this.off("submit.form-plugin click.form-plugin")},e.fn.formToArray=function(t,o,n){var a=[];if(0===this.length)return a;var i,s,l,c,u,d,f,p,m=this[0],h=this.attr("id"),g=t||void 0===m.elements?m.getElementsByTagName("*"):m.elements;if(g&&(g=e.makeArray(g)),h&&(t||/(Edge|Trident)\//.test(navigator.userAgent))&&(i=e(':input[form="'+h+'"]').get()).length&&(g=(g||[]).concat(i)),!g||!g.length)return a;for(e.isFunction(n)&&(g=e.map(g,n)),s=0,f=g.length;s'):e(''),x=n.theme?e(''):e(''),n.theme&&h?(w='',n.title&&(w+='"),w+='
',w+="
"):n.theme?(w='"):w=h?'':'',k=e(w),g&&(n.theme?(k.css(m),k.addClass("ui-widget-content")):k.css(r)),n.theme||x.css(n.overlayCSS),x.css("position",h?"fixed":"absolute"),(c||n.forceIframe)&&y.css("opacity",0);var I=[y,x,k],C=e(h?"body":t);e.each(I,function(){this.appendTo(C)}),n.theme&&n.draggable&&e.fn.draggable&&k.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var S=d&&(!e.support.boxModel||e("object,embed",h?null:t).length>0);if(u||S){if(h&&n.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(u||!e.support.boxModel)&&!h)var j=s(t,"borderTopWidth"),O=s(t,"borderLeftWidth"),D=j?"(0 - "+j+")":0,E=O?"(0 - "+O+")":0;e.each(I,function(e,t){var o=t[0].style;if(o.position="absolute",2>e)h?o.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+n.quirksmodeOffsetHack+') + "px"'):o.setExpression("height",'this.parentNode.offsetHeight + "px"'),h?o.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):o.setExpression("width",'this.parentNode.offsetWidth + "px"'),E&&o.setExpression("left",E),D&&o.setExpression("top",D);else if(n.centerY)h&&o.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),o.marginTop=0;else if(!n.centerY&&h){var a="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(n.css&&n.css.top?parseInt(n.css.top,10):0)+') + "px"';o.setExpression("top",a)}})}if(g&&(n.theme?k.find(".ui-widget-content").append(g):k.append(g),(g.jquery||g.nodeType)&&e(g).show()),(c||n.forceIframe)&&n.showOverlay&&y.show(),n.fadeIn){var U=n.onBlock?n.onBlock:l,M=n.showOverlay&&!g?U:l,A=g?U:l;n.showOverlay&&x._fadeIn(n.fadeIn,M),g&&k._fadeIn(n.fadeIn,A)}else n.showOverlay&&x.show(),g&&k.show(),n.onBlock&&n.onBlock.bind(k)();if(a(1,t,n),h?(f=k[0],p=e(n.focusableElements,f),n.focusInput&&setTimeout(i,20)):function(e,t,o){var n=e.parentNode,a=e.style,r=(n.offsetWidth-e.offsetWidth)/2-s(n,"borderLeftWidth"),i=(n.offsetHeight-e.offsetHeight)/2-s(n,"borderTopWidth");t&&(a.left=r>0?r+"px":"0"),o&&(a.top=i>0?i+"px":"0")}(k[0],n.centerX,n.centerY),n.timeout){var H=setTimeout(function(){h?e.unblockUI(n):e(t).unblock(n)},n.timeout);e(t).data("blockUI.timeout",H)}}}function o(t,o){var r,i,s=t==window,l=e(t),c=l.data("blockUI.history"),u=l.data("blockUI.timeout");u&&(clearTimeout(u),l.removeData("blockUI.timeout")),o=e.extend({},e.blockUI.defaults,o||{}),a(0,t,o),null===o.onUnblock&&(o.onUnblock=l.data("blockUI.onUnblock"),l.removeData("blockUI.onUnblock")),i=s?e("body").children().filter(".blockUI").add("body > .blockUI"):l.find(">.blockUI"),o.cursorReset&&(i.length>1&&(i[1].style.cursor=o.cursorReset),i.length>2&&(i[2].style.cursor=o.cursorReset)),s&&(f=p=null),o.fadeOut?(r=i.length,i.stop().fadeOut(o.fadeOut,function(){0==--r&&n(i,c,o,t)})):n(i,c,o,t)}function n(t,o,n,a){var r=e(a);if(!r.data("blockUI.isBlocked")){t.each(function(){this.parentNode&&this.parentNode.removeChild(this)}),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.el.style.cursor="default",o.parent&&o.parent.appendChild(o.el),r.removeData("blockUI.history")),r.data("blockUI.static")&&r.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(a,n);var i=e(document.body),s=i.width(),l=i[0].style.width;i.width(s-1).width(s),i[0].style.width=l}}function a(t,o,n){var a=o==window,i=e(o);if((t||(!a||f)&&(a||i.data("blockUI.isBlocked")))&&(i.data("blockUI.isBlocked",t),a&&n.bindEvents&&(!t||n.showOverlay))){var s="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).bind(s,n,r):e(document).unbind(s,r)}}function r(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&f&&t.data.constrainTabKey){var o=p,n=!t.shiftKey&&t.target===o[o.length-1],a=t.shiftKey&&t.target===o[0];if(n||a)return setTimeout(function(){i(a)},10),!1}var r=t.data,s=e(t.target);return s.hasClass("blockOverlay")&&r.onOverlayClick&&r.onOverlayClick(t),s.parents("div."+r.blockMsgClass).length>0||0===s.parents().children().filter("div.blockUI").length}function i(e){if(p){var t=p[!0===e?p.length-1:0];t&&t.focus()}}function s(t,o){return parseInt(e.css(t,o),10)||0}e.fn._fadeIn=e.fn.fadeIn;var l=e.noop||function(){},c=/MSIE/.test(navigator.userAgent),u=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent);document.documentMode;var d=e.isFunction(document.createElement("div").style.setExpression);e.blockUI=function(e){t(window,e)},e.unblockUI=function(e){o(window,e)},e.growlUI=function(t,o,n,a){var r=e('');t&&r.append(""+t+"
"),o&&r.append(""+o+"
"),void 0===n&&(n=3e3);var i=function(t){t=t||{},e.blockUI({message:r,fadeIn:void 0!==t.fadeIn?t.fadeIn:700,fadeOut:void 0!==t.fadeOut?t.fadeOut:1e3,timeout:void 0!==t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:a,css:e.blockUI.defaults.growlCSS})};i(),r.css("opacity"),r.mouseover(function(){i({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)}).mouseout(function(){e(".blockMsg").fadeOut(1e3)})},e.fn.block=function(o){if(this[0]===window)return e.blockUI(o),this;var n=e.extend({},e.blockUI.defaults,o||{});return this.each(function(){var t=e(this);n.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,t(this,o)})},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each(function(){o(this,t)})},e.blockUI.version=2.7,e.blockUI.defaults={message:"Please wait...
",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1300,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var f=null,p=[]}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}();