HtmlToText
) /gi,$e=/^(?:select|textarea)/i,ve=/\s+/,je=/([?&])_=[^&]*/,ye=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,qe=f.fn.load,ge={},ke={},ze=["*/"]+["*"];try{de=s.href}catch(e){(de=n.createelement("a")).href="",de=de.href}ie=ye.exec(de.tolowercase())||[],f.fn.extend({load:function(e,n,i){if("string"!=typeof e&&qe)return qe.apply(this,arguments);if(!this.length)return this;var o=e.indexof(" ");if(o =0){var r=e.slice(o,e.length);e=e.slice(0,o)}var s="get";n&&(f.isfunction(n)?(i=n,n=t):"object"==typeof n&&(n=f.param(n,f.ajaxsettings.traditional),s="post"));var a=this;return f.ajax({url:e,type:s,datatype:"html",data:n,complete:function(e,t,n){n=e.responsetext,e.isresolved()&&(e.done(function(e){n=e}),a.html(r?f(" ").append(n.replace(xe,"")).find(r):n)),i&&a.each(i,[n,t,e])}}),this},serialize:function(){return f.param(this.serializearray())},serializearray:function(){return this.map(function(){return this.elements?f.makearray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||$e.test(this.nodename)||pe.test(this.type))}).map(function(e,t){var n=f(this).val();return null==n?null:f.isarray(n)?f.map(n,function(e,n){return{name:t.name,value:e.replace(oe,"\r\n")}}):{name:t.name,value:n.replace(oe,"\r\n")}}).get()}}),f.each("ajaxstart ajaxstop ajaxcomplete ajaxerror ajaxsuccess ajaxsend".split(" "),function(e,t){f.fn[t]=function(e){return this.on(t,e)}}),f.each(["get","post"],function(e,n){f[n]=function(e,i,o,r){return f.isfunction(i)&&(r=r||o,o=i,i=t),f.ajax({type:n,url:e,data:i,success:o,datatype:r})}}),f.extend({getscript:function(e,n){return f.get(e,t,n,"script")},getjson:function(e,t,n){return f.get(e,t,n,"json")},ajaxsetup:function(e,t){return t?c(e,f.ajaxsettings):(t=e,e=f.ajaxsettings),c(e,t),e},ajaxsettings:{url:de,islocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(ie[1]),global:!0,type:"get",contenttype:"application/x-www-form-urlencoded",processdata:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":ze},contents:{xml:/xml/,html:/html/,json:/json/},responsefields:{xml:"responsexml",text:"responsetext"},converters:{"* text":e.string,"text html":!0,"text json":f.parsejson,"text xml":f.parsexml},flatoptions:{context:!0,url:!0}},ajaxprefilter:u(ge),ajaxtransport:u(ke),ajax:function(e,n){function i(e,n,i,s){if(2!==w){w=2,l&&cleartimeout(l),a=t,r=s||"",q.readystate=e 0?4:0;var c,d,p,b,x,_=n,c=i?function(e,n,i){var o,r,s,a,l=e.contents,c=e.datatypes,d=e.responsefields;for(r in d)r in i&&(n[d[r]]=i[r]);for(;"*"===c[0];)c.shift(),o===t&&(o=e.mimetype||n.getresponseheader("content-type"));if(o)for(r in l)if(l[r]&&l[r].test(o)){c.unshift(r);break}if(c[0]in i)s=c[0];else{for(r in i){if(!c[0]||e.converters[r+" "+c[0]]){s=r;break}a||(a=r)}s=s||a}if(s)return s!==c[0]&&c.unshift(s),i[s]}(f,q,i):t;if(e =200&&e 0&&(l=settimeout(function(){q.abort("timeout")},f.timeout));try{w=1,a.send(b,i)}catch(e){if(!(w =l.duration+this.starttime){this.now=this.end,this.pos=this.state=1,this.update(),l.animatedproperties[this.prop]=!0;for(t in l.animatedproperties)!0!==l.animatedproperties[t]&&(r=!1);if(r){if(null!=l.overflow&&!f.support.shrinkwrapblocks&&f.each(["","x","y"],function(e,t){a.style["overflow"+t]=l.overflow[e]}),l.hide&&f(a).hide(),l.hide||l.show)for(t in l.animatedproperties)f.style(a,t,l.orig[t]),f.removedata(a,"fxshow"+t,!0),f.removedata(a,"toggle"+t,!0);(i=l.complete)&&(l.complete=!1,i.call(a))}return!1}return l.duration==1/0?this.now=o:(n=o-this.starttime,this.state=n/l.duration,this.pos=f.easing[l.animatedproperties[this.prop]](this.state,n,0,1,l.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},f.extend(f.fx,{tick:function(){for(var e,t=f.timers,n=0;n -1?(o=(u=s.position()).top,r=u.left):(o=parsefloat(l)||0,r=parsefloat(c)||0),f.isfunction(t)&&(t=t.call(e,n,a)),null!=t.top&&(d.top=t.top-a.top+o),null!=t.left&&(d.left=t.left-a.left+r),"using"in t?t.using.call(e,d):s.css(d)}},f.fn.extend({position:function(){if(!this[0])return null;var e=this[0],t=this.offsetparent(),n=this.offset(),i=mt.test(t[0].nodename)?{top:0,left:0}:t.offset();return n.top-=parsefloat(f.css(e,"margintop"))||0,n.left-=parsefloat(f.css(e,"marginleft"))||0,i.top+=parsefloat(f.css(t[0],"bordertopwidth"))||0,i.left+=parsefloat(f.css(t[0],"borderleftwidth"))||0,{top:n.top-i.top,left:n.left-i.left}},offsetparent:function(){return this.map(function(){for(var e=this.offsetparent||n.body;e&&!mt.test(e.nodename)&&"static"===f.css(e,"position");)e=e.offsetparent;return e})}}),f.each(["left","top"],function(e,i){var o="scroll"+i;f.fn[o]=function(i){var r,s;return i===t?(r=this[0])?(s=n(r))?"pagexoffset"in s?s[e?"pageyoffset":"pagexoffset"]:f.support.boxmodel&&s.document.documentelement[o]||s.document.body[o]:r[o]:null:this.each(function(){(s=n(this))?s.scrollto(e?f(s).scrollleft():i,e?i:f(s).scrolltop()):this[o]=i})}}),f.each(["height","width"],function(e,n){var i=n.tolowercase();f.fn["inner"+n]=function(){var e=this[0];return e?e.style?parsefloat(f.css(e,i,"padding")):this[i]():null},f.fn["outer"+n]=function(e){var t=this[0];return t?t.style?parsefloat(f.css(t,i,e?"margin":"border")):this[i]():null},f.fn[i]=function(e){var o=this[0];if(!o)return null==e?null:this;if(f.isfunction(e))return this.each(function(t){var n=f(this);n[i](e.call(this,t,n[i]()))});if(f.iswindow(o)){var r=o.document.documentelement["client"+n],s=o.document.body;return"css1compat"===o.document.compatmode&&r||s&&s["client"+n]||r}if(9===o.nodetype)return math.max(o.documentelement["client"+n],o.body["scroll"+n],o.documentelement["scroll"+n],o.body["offset"+n],o.documentelement["offset"+n]);if(e===t){var a=f.css(o,i),l=parsefloat(a);return f.isnumeric(l)?l:a}return this.css(i,"string"==typeof e?e:e+"px")}}),e.jquery=e.$=f,"function"==typeof define&&define.amd&&define.amd.jquery&&define("jquery",[],function(){return f})}(window),function(e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=e(require("jquery")):e(window.jquery)}(function(e){"use strict";function t(e){void 0===e&&(e=window.navigator.useragent),e=e.tolowercase();var t=/(edge)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(iemobile)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexof("trident") =0&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexof("compatible") ',closeclass:"simplemodal-close",escclose:!0,overlayclose:!1,fixed:!0,position:null,persist:!1,modal:!0,onopen:null,onshow:null,onclose:null},e.modal.impl={d:{},init:function(t,n){if(this.d.data)return!1;if(r=e.browser.msie&&!e.boxmodel,this.o=e.extend({},e.modal.defaults,n),this.zindex=this.o.zindex,this.occb=!1,"object"==typeof t)t=t instanceof jquery?t:e(t),this.d.placeholder=!1,0 ").attr("id","simplemodal-placeholder").css({display:"none"})),this.d.placeholder=!0,this.display=t.css("display"),!this.o.persist)&&(this.d.orig=t.clone(!0));else{if("string"!=typeof t&&"number"!=typeof t)return alert("simplemodal error: unsupported data type: "+typeof t),this;t=e(" ").html(t)}return this.create(t),this.open(),e.isfunction(this.o.onshow)&&this.o.onshow.apply(this,[this.d]),this},create:function(n){this.getdimensions(),this.o.modal&&i&&(this.d.iframe=e(' ').css(e.extend(this.o.iframecss,{display:"none",opacity:0,position:"fixed",height:a[0],width:a[1],zindex:this.o.zindex,top:0,left:0})).appendto(this.o.appendto)),this.d.overlay=e(" ").attr("id",this.o.overlayid).addclass("simplemodal-overlay").css(e.extend(this.o.overlaycss,{display:"none",opacity:this.o.opacity/100,height:this.o.modal?t[0]:0,width:this.o.modal?t[1]:0,position:"fixed",left:0,top:0,zindex:this.o.zindex+1})).appendto(this