HtmlToText
) /gi,cs=/([?&])_=[^&]*/,ct=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,cu=p.fn.load,cv={},cw={},cx=["*/"]+["*"];try{ck=f.href}catch(cy){ck=e.createelement("a"),ck.href="",ck=ck.href}cj=ct.exec(ck.tolowercase())||[],p.fn.load=function(a,c,d){if(typeof a!="string"&&cu)return cu.apply(this,arguments);if(!this.length)return this;var e,f,g,h=this,i=a.indexof(" ");return i =0&&(e=a.slice(i,a.length),a=a.slice(0,i)),p.isfunction(c)?(d=c,c=b):c&&typeof c=="object"&&(f="post"),p.ajax({url:a,type:f,datatype:"html",data:c,complete:function(a,b){d&&h.each(d,g||[a.responsetext,b,a])}}).done(function(a){g=arguments,h.html(e?p(" ").append(a.replace(cr,"")).find(e):a)}),this},p.each("ajaxstart ajaxstop ajaxcomplete ajaxerror ajaxsuccess ajaxsend".split(" "),function(a,b){p.fn[b]=function(a){return this.on(b,a)}}),p.each(["get","post"],function(a,c){p[c]=function(a,d,e,f){return p.isfunction(d)&&(f=f||e,e=d,d=b),p.ajax({type:c,url:a,data:d,success:e,datatype:f})}}),p.extend({getscript:function(a,c){return p.get(a,b,c,"script")},getjson:function(a,b,c){return p.get(a,b,c,"json")},ajaxsetup:function(a,b){return b?cb(a,p.ajaxsettings):(b=a,a=p.ajaxsettings),cb(a,b),a},ajaxsettings:{url:ck,islocal:cn.test(cj[1]),global:!0,type:"get",contenttype:"application/x-www-form-urlencoded; charset=utf-8",processdata:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":cx},contents:{xml:/xml/,html:/html/,json:/json/},responsefields:{xml:"responsexml",text:"responsetext"},converters:{"* text":a.string,"text html":!0,"text json":p.parsejson,"text xml":p.parsexml},flatoptions:{context:!0,url:!0}},ajaxprefilter:cz(cv),ajaxtransport:cz(cw),ajax:function(a,c){function y(a,c,f,i){var k,s,t,u,w,y=c;if(v===2)return;v=2,h&&cleartimeout(h),g=b,e=i||"",x.readystate=a 0?4:0,f&&(u=cc(l,x,f));if(a =200&&a 0&&(h=settimeout(function(){x.abort("timeout")},l.timeout));try{v=1,g.send(t,y)}catch(b){if(v -1,j={},k={},l,m;i?(k=e.position(),l=k.top,m=k.left):(l=parsefloat(g)||0,m=parsefloat(h)||0),p.isfunction(b)&&(b=b.call(a,c,f)),b.top!=null&&(j.top=b.top-f.top+l),b.left!=null&&(j.left=b.left-f.left+m),"using"in b?b.using.call(a,j):e.css(j)}},p.fn.extend({position:function(){if(!this[0])return;var a=this[0],b=this.offsetparent(),c=this.offset(),d=c_.test(b[0].nodename)?{top:0,left:0}:b.offset();return c.top-=parsefloat(p.css(a,"margintop"))||0,c.left-=parsefloat(p.css(a,"marginleft"))||0,d.top+=parsefloat(p.css(b[0],"bordertopwidth"))||0,d.left+=parsefloat(p.css(b[0],"borderleftwidth"))||0,{top:c.top-d.top,left:c.left-d.left}},offsetparent:function(){return this.map(function(){var a=this.offsetparent||e.body;while(a&&!c_.test(a.nodename)&&p.css(a,"position")==="static")a=a.offsetparent;return a||e.body})}}),p.each({scrollleft:"pagexoffset",scrolltop:"pageyoffset"},function(a,c){var d=/y/.test(c);p.fn[a]=function(e){return p.access(this,function(a,e,f){var g=da(a);if(f===b)return g?c in g?g[c]:g.document.documentelement[e]:a[e];g?g.scrollto(d?p(g).scrollleft():f,d?f:p(g).scrolltop()):a[e]=f},a,e,arguments.length,null)}}),p.each({height:"height",width:"width"},function(a,c){p.each({padding:"inner"+a,content:c,"":"outer"+a},function(d,e){p.fn[e]=function(e,f){var g=arguments.length&&(d||typeof e!="boolean"),h=d||(e===!0||f===!0?"margin":"border");return p.access(this,function(c,d,e){var f;return p.iswindow(c)?c.document.documentelement["client"+a]:c.nodetype===9?(f=c.documentelement,math.max(c.body["scroll"+a],f["scroll"+a],c.body["offset"+a],f["offset"+a],f["client"+a])):e===b?p.css(c,d,e,h):p.style(c,d,e,h)},c,g?e:b,g,null)}})}),a.jquery=a.$=p,typeof define=="function"&&define.amd&&define.amd.jquery&&define("jquery",[],function(){return p})})(window); /* * iosslider - http://iosscripts.com/iosslider/ * * touch enabled, responsive jquery horizontal content slider/carousel/image gallery plugin * * a jquery plugin which allows you to integrate a customizable, cross-browser * content slider into your web presence. designed for use as a content slider, carousel, * scrolling website banner, or image gallery. * * copyright (c) 2013 marc whitbread * * version: v1.3.41 (04/16/2014) * minimum requirements: jquery v1.4+ * * advanced requirements: * 1) jquery bind() click event override on slide requires jquery v1.6+ * * terms of use: * * 1) iosslider is licensed under the creative commons – attribution-noncommercial 3.0 license. * 2) you may use iosslider free for personal or non-profit purposes, without restriction. * attribution is not required but always appreciated. for commercial projects, you * must purchase a license. you may download and play with the script before deciding to * fully implement it in your project. making sure you are satisfied, and knowing iosslider * is the right script for your project is paramount. * 3) you are not permitted to make the resources found on iosscripts.com available for * distribution elsewhere "as is" without prior consent. if you would like to feature * iosslider on your site, please do not link directly to the resource zip files. please * link to the appropriate page on iosscripts.com where users can find the download. * * this software is provided by the copyright holders and contributors "as is" and any * express or implied warranties, including, but not limited to, the implied warranties of * merchantability and fitness for a particular purpose are disclaimed. in no event shall the * copyright owner or contributors be liable for any direct, indirect, incidental, special, * exemplary, or consequential damages (including, but not limited to, procurement of substitute * goods or services; loss of use, data, or profits; or business interruption) however caused * and on any theory of liability, whether in contract, strict liability, or tort (including * negligence or otherwise) arising in any way out of the use of this software, even if advised * of the possibility of such damage. */ ;(function($) { /* global variables */ var scrollbarnumber = 0; var xscrolldistance = 0; var yscrolldistance = 0; var scrollintervaltime = 10; var scrollbardistance = 0; var istouch = 'ontouchstart' in window || (navigator.msmaxtouchpoints 0); var supportsorientationchange = 'onorientationchange' in window; var iswebkit = false; var has3dtransform = false; var isie7 = false; var isie8 = false; var isie9 = false; var isie = false; var isgecko = false; var graboutcursor = 'pointer'; var grabincursor = 'pointer'; var onchangeeventlastfired = new array(); var autoslidetimeouts = new array(); var iossliders = new array(); var iosslidersettings = new array(); var iseventcleared = new array(); var slidetimeouts = new array(); var activechildoffsets = new array(); var activechildinfoffsets = new array(); var infiniteslideroffset = new array(); var slidermin = new array(); var slidermax = new array(); var sliderabsmax = new array(); var touchlocks = new array(); /* private functions */ var helpers = { showscrollbar: function(settings, scrollbarclass) { if(settings.scrollbarhide) { $('.' + scrollbarclass).css({ opacity: settings.scrollbaropacity, filter: 'alpha(opacity:' + (settings.scrollbaropacity * 100) + ')' }); } }, hidescrollbar: function(settings, scrolltimeouts, j, distanceoffsetarray, scrollbarclass, scrollbarwidth, stagewidth, scrollmargin, scrollborder, slidernumber) { if(settings.scrollbar && settings.scrollbarhide) { for(var i = j; i = (slidermin[slidernumber] * -1)) || (newoffset = 0)) { var scrollerwidth = $(node).width(); if(newoffset 0) { var sum = originaloffsets[0] * -1; $(slidenodes).each(function(i) { helpers.setslideroffset($(slidenodes)[i], sum + centeredslideoffset); if(i 0)) { var highslidenumber = 0; var highslideoffset = helpers.getslideroffset($(slidenodes[0]), 'x'); $(slidenodes).each(function(i) { if(helpers.getslideroffset(this, 'x') highslideoffset) { highslideoffset = helpers.getslideroffset(this, 'x'); highslidenumber = i; } }); var tempoffset = slidermin[slidernumber] - slidenodeout