function snippetPopup(n){top.consoleRef=window.open("","myconsole","width=600,height=300,left=50,top=50,menubar=0,toolbar=0,location=0,status=0,scrollbars=1,resizable=1");top.consoleRef.document.writeln("<html><head><title>Snippet :: Code View :: "+location.href+'<\/title><\/head><body bgcolor=white onLoad="self.focus()"><pre>'+n+"<\/pre><\/body><\/html>");top.consoleRef.document.close()}function sh_isEmailAddress(n){return/^mailto:/.test(n)?!1:n.indexOf("@")!==-1}function sh_setHref(n,t,i){var r=i.substring(n[t-2].pos,n[t-1].pos);r.length>=2&&r.charAt(0)==="<"&&r.charAt(r.length-1)===">"&&(r=r.substr(1,r.length-2));sh_isEmailAddress(r)&&(r="mailto:"+r);n[t-2].node.href=r}function sh_konquerorExec(n){var t=[""];return t.index=n.length,t.input=n,t}function sh_highlightString(n,t){var l,p,tt,b,rt,ut,ft,et,k,ot,o,d,st,r,ct,i,h,lt,g,v,nt,y;if(/Konqueror/.test(navigator.userAgent)&&!t.konquered){for(l=0;l<t.length;l++)for(p=0;p<t[l].length;p++)tt=t[l][p][0],tt.source==="$"&&(tt.exec=sh_konquerorExec);t.konquered=!0}var at=document.createElement("a"),vt=document.createElement("span"),c=[],a=0,f=[],u=0,e=null,w=function(t,i){var h=t.length,r,o,s;h!==0&&(i||(r=f.length,r!==0&&(o=f[r-1],o[3]||(i=o[1]))),e!==i&&(e&&(c[a++]={pos:u},e==="sh_url"&&sh_setHref(c,a,n)),i&&(s=i==="sh_url"?at.cloneNode(!1):vt.cloneNode(!1),s.className=i,c[a++]={node:s,pos:u})),u+=h,e=i)},it=/\r\n|\r|\n/g;for(it.lastIndex=0,b=n.length;u<b;){for(rt=u,et=it.exec(n),et===null?(ut=b,ft=b):(ut=et.index,ft=it.lastIndex),k=n.substring(rt,ut),ot=[];;){o=u-rt;st=f.length;d=st===0?0:f[st-1][2];var ht=t[d],yt=ht.length,s=ot[d];for(s||(s=ot[d]=[]),r=null,ct=-1,i=0;i<yt;i++)if(i<s.length&&(s[i]===null||o<=s[i].index)?h=s[i]:(lt=ht[i][0],lt.lastIndex=o,h=lt.exec(k),s[i]=h),h!==null&&(r===null||h.index<r.index)&&(r=h,ct=i,h.index===o))break;if(r===null){w(k.substring(o),null);break}else{if(r.index>o&&w(k.substring(o,r.index),null),g=ht[ct],v=g[1],v instanceof Array)for(y=0;y<v.length;y++)nt=r[y+1],w(nt,v[y]);else nt=r[0],w(nt,v);switch(g[2]){case-1:break;case-2:f.pop();break;case-3:f.length=0;break;default:f.push(g)}}}e&&(c[a++]={pos:u},e==="sh_url"&&sh_setHref(c,a,n),e=null);u=ft}return c}function sh_getClasses(n){var u=[],r=n.className,i,t;if(r&&r.length>0)for(i=r.split(" "),t=0;t<i.length;t++)i[t].length>0&&u.push(i[t]);return u}function sh_addClass(n,t){for(var i=sh_getClasses(n),r=0;r<i.length;r++)if(t.toLowerCase()===i[r].toLowerCase())return;i.push(t);n.className=i.join(" ")}function sh_extractTagsFromNodeList(n,t){for(var i,u,f=n.length,r=0;r<f;r++){i=n.item(r);switch(i.nodeType){case 1:i.nodeName.toLowerCase()==="br"?(u=/MSIE/.test(navigator.userAgent)?"\r":"\n",t.text.push(u),t.pos++):(t.tags.push({node:i.cloneNode(!1),pos:t.pos}),sh_extractTagsFromNodeList(i.childNodes,t),t.tags.push({pos:t.pos}));break;case 3:case 4:t.text.push(i.data);t.pos+=i.length}}}function sh_extractTags(n,t){var i={};return i.text=[],i.tags=t,i.pos=0,sh_extractTagsFromNodeList(n.childNodes,i),i.text.join("")}function sh_mergeTags(n,t){var s=n.length,e,f,o;if(s===0)return t;if(e=t.length,e===0)return n;for(var r=[],u=0,i=0;u<s&&i<e;)f=n[u],o=t[i],f.pos<=o.pos?(r.push(f),u++):(r.push(o),t[i+1].pos<=f.pos?(i++,r.push(t[i]),i++):(r.push({pos:f.pos}),t[i]={node:o.node.cloneNode(!1),pos:f.pos}));while(u<s)r.push(n[u]),u++;while(i<e)r.push(t[i]),i++;return r}function sh_insertTags(n,t){for(var l=document,s=document.createDocumentFragment(),u=0,h=n.length,f=0,c=t.length,i=s,e,r,o;f<c||u<h;)u<h?(e=n[u],r=e.pos):r=c,r<=f?(e.node?(o=e.node,i.appendChild(o),i=o):i=i.parentNode,u++):(i.appendChild(l.createTextNode(t.substring(f,r))),f=r);return s}function sh_highlightElement(n,t){sh_addClass(n,"sh_sourceCode");for(var i=[],r=sh_extractTags(n,i),u=sh_highlightString(r,t),f=sh_mergeTags(i,u),e=sh_insertTags(f,r);n.hasChildNodes();)n.removeChild(n.firstChild);n.appendChild(e)}function sh_getXMLHttpRequest(){if(window.ActiveXObject)return new ActiveXObject("Msxml2.XMLHTTP");if(window.XMLHttpRequest)return new XMLHttpRequest;throw"No XMLHttpRequest implementation available";}function sh_load(n,t,i,r){if(n in sh_requests){sh_requests[n].push(t);return}sh_requests[n]=[t];var u=sh_getXMLHttpRequest(),f=i+"sh_"+n+r;u.open("GET",f,!0);u.onreadystatechange=function(){var elements,i;if(u.readyState===4)try{if(u.status&&u.status!==200)throw"HTTP error: status "+u.status;else for(eval(u.responseText),elements=sh_requests[n],i=0;i<elements.length;i++)sh_highlightElement(elements[i],sh_languages[n])}finally{u=null}};u.send(null)}function sh_highlightDocument(n,t){for(var r,e=document.getElementsByTagName("pre"),u=0;u<e.length;u++){var f=e.item(u),o=f.className.toLowerCase(),i=o.replace(/sh_sourcecode/g,"");if((i.indexOf("sh_")!=-1&&(i=i.match(/(\bsh_)\w+\b/g)[0]),o.indexOf("sh_sourcecode")==-1)&&i.substr(0,3)==="sh_"){if(r=i.substring(3),r in sh_languages)sh_highlightElement(f,sh_languages[r]);else if(typeof n=="string"&&typeof t=="string")sh_load(r,f,n,t);else{console.log('Found <pre> element with class="'+i+'", but no such language exists');continue}break}}}var SWFUpload,tryParseDate,TimeSpan,TimePeriod,ZeroClipboard,sh_requests;(function(n,t){"use strict";typeof module=="object"&&typeof module.exports=="object"?module.exports=n.document?t(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(n)})(typeof window!="undefined"?window:this,function(n,t){"use strict";function yr(n,t,i){i=i||f;var r,e,u=i.createElement("script");if(u.text=n,t)for(r in ie)e=t[r]||t.getAttribute&&t.getAttribute(r),e&&u.setAttribute(r,e);i.head.appendChild(u).parentNode.removeChild(u)}function it(n){return n==null?n+"":typeof n=="object"||typeof n=="function"?ti[ar.call(n)]||"object":typeof n}function ai(n){var t=!!n&&"length"in n&&n.length,i=it(n);return u(n)||tt(n)?!1:i==="array"||t===0||typeof t=="number"&&t>0&&t-1 in n}function l(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()}function yi(n,t,r){return u(t)?i.grep(n,function(n,i){return!!t.call(n,i,n)!==r}):t.nodeType?i.grep(n,function(n){return n===t!==r}):typeof t!="string"?i.grep(n,function(n){return ni.call(t,n)>-1!==r}):i.filter(t,n,r)}function iu(n,t){while((n=n[t])&&n.nodeType!==1);return n}function ue(n){var t={};return i.each(n.match(a)||[],function(n,i){t[i]=!0}),t}function ut(n){return n}function ri(n){throw n;}function ru(n,t,i,r){var f;try{n&&u(f=n.promise)?f.call(n).done(t).fail(i):n&&u(f=n.then)?f.call(n,t,i):t.apply(undefined,[n].slice(r))}catch(n){i.apply(undefined,[n])}}function fi(){f.removeEventListener("DOMContentLoaded",fi);n.removeEventListener("load",fi);i.ready()}function oe(n,t){return t.toUpperCase()}function y(n){return n.replace(fe,"ms-").replace(ee,oe)}function yt(){this.expando=i.expando+yt.uid++}function ce(n){return n==="true"?!0:n==="false"?!1:n==="null"?null:n===+n+""?+n:se.test(n)?JSON.parse(n):n}function fu(n,t,i){var r;if(i===undefined&&n.nodeType===1)if(r="data-"+t.replace(he,"-$&").toLowerCase(),i=n.getAttribute(r),typeof i=="string"){try{i=ce(i)}catch(u){}o.set(n,t,i)}else i=undefined;return i}function ou(n,t,r,u){var s,h,c=20,l=u?function(){return u.cur()}:function(){return i.css(n,t,"")},o=l(),e=r&&r[3]||(i.cssNumber[t]?"":"px"),f=n.nodeType&&(i.cssNumber[t]||e!=="px"&&+o)&&pt.exec(i.css(n,t));if(f&&f[3]!==e){for(o=o/2,e=e||f[3],f=+o||1;c--;)i.style(n,t,f+e),(1-h)*(1-(h=l()/o||.5))<=0&&(c=0),f=f/h;f=f*2;i.style(n,t,f+e);r=r||[]}return r&&(f=+f||+o||0,s=r[1]?f+(r[1]+1)*r[2]:+r[2],u&&(u.unit=e,u.start=f,u.end=s)),s}function ae(n){var r,f=n.ownerDocument,u=n.nodeName,t=wi[u];return t?t:(r=f.body.appendChild(f.createElement(u)),t=i.css(r,"display"),r.parentNode.removeChild(r),t==="none"&&(t="block"),wi[u]=t,t)}function et(n,t){for(var e,u,f=[],i=0,o=n.length;i<o;i++)(u=n[i],u.style)&&(e=u.style.display,t?(e==="none"&&(f[i]=r.get(u,"display")||null,f[i]||(u.style.display="")),u.style.display===""&&bt(u)&&(f[i]=ae(u))):e!=="none"&&(f[i]="none",r.set(u,"display",e)));for(i=0;i<o;i++)f[i]!=null&&(n[i].style.display=f[i]);return n}function s(n,t){var r;return(r=typeof n.getElementsByTagName!="undefined"?n.getElementsByTagName(t||"*"):typeof n.querySelectorAll!="undefined"?n.querySelectorAll(t||"*"):[],t===undefined||t&&l(n,t))?i.merge([n],r):r}function bi(n,t){for(var i=0,u=n.length;i<u;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function lu(n,t,r,u,f){for(var e,o,p,a,w,v,h=t.createDocumentFragment(),y=[],l=0,b=n.length;l<b;l++)if(e=n[l],e||e===0)if(it(e)==="object")i.merge(y,e.nodeType?[e]:e);else if(cu.test(e)){for(o=o||h.appendChild(t.createElement("div")),p=(su.exec(e)||["",""])[1].toLowerCase(),a=c[p]||c._default,o.innerHTML=a[1]+i.htmlPrefilter(e)+a[2],v=a[0];v--;)o=o.lastChild;i.merge(y,o.childNodes);o=h.firstChild;o.textContent=""}else y.push(t.createTextNode(e));for(h.textContent="",l=0;e=y[l++];){if(u&&i.inArray(e,u)>-1){f&&f.push(e);continue}if(w=ft(e),o=s(h.appendChild(e),"script"),w&&bi(o),r)for(v=0;e=o[v++];)hu.test(e.type||"")&&r.push(e)}return h}function ot(){return!0}function st(){return!1}function pe(n,t){return n===we()==(t==="focus")}function we(){try{return f.activeElement}catch(n){}}function ki(n,t,r,u,f,e){var o,s;if(typeof t=="object"){typeof r!="string"&&(u=u||r,r=undefined);for(s in t)ki(n,s,r,u,t[s],e);return n}if(u==null&&f==null?(f=r,u=r=undefined):f==null&&(typeof r=="string"?(f=u,u=undefined):(f=u,u=r,r=undefined)),f===!1)f=st;else if(!f)return n;return e===1&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function ei(n,t,u){if(!u){r.get(n,t)===undefined&&i.event.add(n,t,ot);return}r.set(n,t,!1);i.event.add(n,t,{namespace:!1,handler:function(n){var o,e,f=r.get(this,t);if(n.isTrigger&1&&this[t]){if(f.length)(i.event.special[t]||{}).delegateType&&n.stopPropagation();else if(f=b.call(arguments),r.set(this,t,f),o=u(this,t),this[t](),e=r.get(this,t),f!==e||o?r.set(this,t,!1):e={},f!==e)return n.stopImmediatePropagation(),n.preventDefault(),e.value}else f.length&&(r.set(this,t,{value:i.event.trigger(i.extend(f[0],i.Event.prototype),f.slice(1),this)}),n.stopImmediatePropagation())}})}function vu(n,t){return l(n,"table")&&l(t.nodeType!==11?t:t.firstChild,"tr")?i(n).children("tbody")[0]||n:n}function no(n){return n.type=(n.getAttribute("type")!==null)+"/"+n.type,n}function to(n){return(n.type||"").slice(0,5)==="true/"?n.type=n.type.slice(5):n.removeAttribute("type"),n}function yu(n,t){var f,c,e,s,h,l,a,u;if(t.nodeType===1){if(r.hasData(n)&&(s=r.access(n),h=r.set(t,s),u=s.events,u)){delete h.handle;h.events={};for(e in u)for(f=0,c=u[e].length;f<c;f++)i.event.add(t,e,u[e][f])}o.hasData(n)&&(l=o.access(n),a=i.extend({},l),o.set(t,a))}}function io(n,t){var i=t.nodeName.toLowerCase();i==="input"&&kt.test(n.type)?t.checked=n.checked:(i==="input"||i==="textarea")&&(t.defaultValue=n.defaultValue)}function ht(n,t,f,o){t=lr.apply([],t);var a,w,l,v,h,b,c=0,y=n.length,d=y-1,p=t[0],k=u(p);if(k||y>1&&typeof p=="string"&&!e.checkClone&&de.test(p))return n.each(function(i){var r=n.eq(i);k&&(t[0]=p.call(this,i,r.html()));ht(r,t,f,o)});if(y&&(a=lu(t,n[0].ownerDocument,!1,n,o),w=a.firstChild,a.childNodes.length===1&&(a=w),w||o)){for(l=i.map(s(a,"script"),no),v=l.length;c<y;c++)h=a,c!==d&&(h=i.clone(h,!0,!0),v&&i.merge(l,s(h,"script"))),f.call(n[c],h,c);if(v)for(b=l[l.length-1].ownerDocument,i.map(l,to),c=0;c<v;c++)h=l[c],hu.test(h.type||"")&&!r.access(h,"globalEval")&&i.contains(b,h)&&(h.src&&(h.type||"").toLowerCase()!=="module"?i._evalUrl&&!h.noModule&&i._evalUrl(h.src,{nonce:h.nonce||h.getAttribute("nonce")}):yr(h.textContent.replace(ge,""),h,b))}return n}function pu(n,t,r){for(var u,e=t?i.filter(t,n):n,f=0;(u=e[f])!=null;f++)r||u.nodeType!==1||i.cleanData(s(u)),u.parentNode&&(r&&ft(u)&&bi(s(u,"script")),u.parentNode.removeChild(u));return n}function dt(n,t,r){var o,s,h,u,f=n.style;return r=r||oi(n),r&&(u=r.getPropertyValue(t)||r[t],u!==""||ft(n)||(u=i.style(n,t)),!e.pixelBoxStyles()&&di.test(u)&&ro.test(t)&&(o=f.width,s=f.minWidth,h=f.maxWidth,f.minWidth=f.maxWidth=f.width=u,u=r.width,f.width=o,f.minWidth=s,f.maxWidth=h)),u!==undefined?u+"":u}function wu(n,t){return{get:function(){if(n()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}function uo(n){for(var i=n[0].toUpperCase()+n.slice(1),t=bu.length;t--;)if(n=bu[t]+i,n in ku)return n}function gi(n){var t=i.cssProps[n]||du[n];return t?t:n in ku?n:du[n]=uo(n)||n}function tf(n,t,i){var r=pt.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function nr(n,t,r,u,f,e){var o=t==="width"?1:0,h=0,s=0;if(r===(u?"border":"content"))return 0;for(;o<4;o+=2)r==="margin"&&(s+=i.css(n,r+w[o],!0,f)),u?(r==="content"&&(s-=i.css(n,"padding"+w[o],!0,f)),r!=="margin"&&(s-=i.css(n,"border"+w[o]+"Width",!0,f))):(s+=i.css(n,"padding"+w[o],!0,f),r!=="padding"?s+=i.css(n,"border"+w[o]+"Width",!0,f):h+=i.css(n,"border"+w[o]+"Width",!0,f));return!u&&e>=0&&(s+=Math.max(0,Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-e-s-h-.5))||0),s}function rf(n,t,r){var f=oi(n),c=!e.boxSizingReliable()||r,o=c&&i.css(n,"boxSizing",!1,f)==="border-box",s=o,u=dt(n,t,f),h="offset"+t[0].toUpperCase()+t.slice(1);if(di.test(u)){if(!r)return u;u="auto"}return(!e.boxSizingReliable()&&o||u==="auto"||!parseFloat(u)&&i.css(n,"display",!1,f)==="inline")&&n.getClientRects().length&&(o=i.css(n,"boxSizing",!1,f)==="border-box",s=h in n,s&&(u=n[h])),u=parseFloat(u)||0,u+nr(n,t,r||(o?"border":"content"),s,f,u)+"px"}function h(n,t,i,r,u){return new h.prototype.init(n,t,i,r,u)}function tr(){si&&(f.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(tr):n.setTimeout(tr,i.fx.interval),i.fx.tick())}function ef(){return n.setTimeout(function(){ct=undefined}),ct=Date.now()}function hi(n,t){var r,u=0,i={height:n};for(t=t?1:0;u<4;u+=2-t)r=w[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function of(n,t,i){for(var u,f=(v.tweeners[t]||[]).concat(v.tweeners["*"]),r=0,e=f.length;r<e;r++)if(u=f[r].call(i,t,n))return u}function oo(n,t,u){var f,y,w,c,b,s,o,l,k="width"in t||"height"in t,v=this,p={},h=n.style,a=n.nodeType&&bt(n),e=r.get(n,"fxshow");u.queue||(c=i._queueHooks(n,"fx"),c.unqueued==null&&(c.unqueued=0,b=c.empty.fire,c.empty.fire=function(){c.unqueued||b()}),c.unqueued++,v.always(function(){v.always(function(){c.unqueued--;i.queue(n,"fx").length||c.empty.fire()})}));for(f in t)if(y=t[f],uf.test(y)){if(delete t[f],w=w||y==="toggle",y===(a?"hide":"show"))if(y==="show"&&e&&e[f]!==undefined)a=!0;else continue;p[f]=e&&e[f]||i.style(n,f)}if(s=!i.isEmptyObject(t),s||!i.isEmptyObject(p)){k&&n.nodeType===1&&(u.overflow=[h.overflow,h.overflowX,h.overflowY],o=e&&e.display,o==null&&(o=r.get(n,"display")),l=i.css(n,"display"),l==="none"&&(o?l=o:(et([n],!0),o=n.style.display||o,l=i.css(n,"display"),et([n]))),(l==="inline"||l==="inline-block"&&o!=null)&&i.css(n,"float")==="none"&&(s||(v.done(function(){h.display=o}),o==null&&(l=h.display,o=l==="none"?"":l)),h.display="inline-block"));u.overflow&&(h.overflow="hidden",v.always(function(){h.overflow=u.overflow[0];h.overflowX=u.overflow[1];h.overflowY=u.overflow[2]}));s=!1;for(f in p)s||(e?"hidden"in e&&(a=e.hidden):e=r.access(n,"fxshow",{display:o}),w&&(e.hidden=!a),a&&et([n],!0),v.done(function(){a||et([n]);r.remove(n,"fxshow");for(f in p)i.style(n,f,p[f])})),s=of(a?e[f]:0,f,v),f in e||(e[f]=s.start,a&&(s.end=s.start,s.start=0))}}function so(n,t){var r,f,e,u,o;for(r in n)if(f=y(r),e=t[f],u=n[r],Array.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),o=i.cssHooks[f],o&&"expand"in o){u=o.expand(u);delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=e)}else t[f]=e}function v(n,t,r){var o,s,h=0,a=v.prefilters.length,e=i.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var o=ct||ef(),t=Math.max(0,f.startTime+f.duration-o),h=t/f.duration||0,i=1-h,r=0,u=f.tweens.length;r<u;r++)f.tweens[r].run(i);return(e.notifyWith(n,[f,i,t]),i<1&&u)?t:(u||e.notifyWith(n,[f,1,0]),e.resolveWith(n,[f]),!1)},f=e.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:ct||ef(),duration:r.duration,tweens:[],createTween:function(t,r){var u=i.Tween(n,f.opts,t,r,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(u),u},stop:function(t){var i=0,r=t?f.tweens.length:0;if(s)return this;for(s=!0;i<r;i++)f.tweens[i].run(1);return t?(e.notifyWith(n,[f,1,0]),e.resolveWith(n,[f,t])):e.rejectWith(n,[f,t]),this}}),c=f.props;for(so(c,f.opts.specialEasing);h<a;h++)if(o=v.prefilters[h].call(f,n,c,f.opts),o)return u(o.stop)&&(i._queueHooks(f.elem,f.opts.queue).stop=o.stop.bind(o)),o;return i.map(c,of,f),u(f.opts.start)&&f.opts.start.call(n,f),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always),i.fx.timer(i.extend(l,{elem:n,anim:f,queue:f.opts.queue})),f}function g(n){var t=n.match(a)||[];return t.join(" ")}function nt(n){return n.getAttribute&&n.getAttribute("class")||""}function ir(n){return Array.isArray(n)?n:typeof n=="string"?n.match(a)||[]:[]}function er(n,t,r,u){var f;if(Array.isArray(t))i.each(t,function(t,i){r||ho.test(n)?u(n,i):er(n+"["+(typeof i=="object"&&i!=null?t:"")+"]",i,r,u)});else if(r||it(t)!=="object")u(n,t);else for(f in t)er(n+"["+f+"]",t[f],r,u)}function wf(n){return function(t,i){typeof t!="string"&&(i=t,t="*");var r,f=0,e=t.toLowerCase().match(a)||[];if(u(i))while(r=e[f++])r[0]==="+"?(r=r.slice(1)||"*",(n[r]=n[r]||[]).unshift(i)):(n[r]=n[r]||[]).push(i)}}function bf(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);if(typeof s!="string"||o||f[s]){if(o)return!(h=s)}else return t.dataTypes.unshift(s),e(s),!1}),h}var f={},o=n===or;return e(t.dataTypes[0])||!f["*"]&&e("*")}function hr(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)t[r]!==undefined&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}function ko(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;r[0]==="*";)r.shift(),e===undefined&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(u in s)if(s[u]&&s[u].test(e)){r.unshift(u);break}if(r[0]in i)f=r[0];else{for(u in i){if(!r[0]||n.converters[u+" "+r[0]]){f=u;break}o||(o=u)}f=f||o}if(f)return f!==r[0]&&r.unshift(f),i[f]}function go(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift(),u)if(u==="*")u=e;else if(e!=="*"&&e!==u){if(f=o[e+" "+u]||o["* "+u],!f)for(h in o)if(s=h.split(" "),s[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]],f)){f===!0?f=o[h]:o[h]!==!0&&(u=s[0],c.unshift(s[1]));break}if(f!==!0)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(l){return{state:"parsererror",error:f?l:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}var d=[],f=n.document,ne=Object.getPrototypeOf,b=d.slice,lr=d.concat,li=d.push,ni=d.indexOf,ti={},ar=ti.toString,ii=ti.hasOwnProperty,vr=ii.toString,te=vr.call(Object),e={},u=function(n){return typeof n=="function"&&typeof n.nodeType!="number"},tt=function(n){return n!=null&&n===n.window},ie={type:!0,src:!0,nonce:!0,noModule:!0},pr="3.4.1",i=function(n,t){return new i.fn.init(n,t)},re=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,k,vi,kr,dr,gr,nu,tu,a,uu,ui,vt,bt,pi,wi,cu,ct,si,uf,ff,sf,lt,hf,cf,lf,rr,ur,kf,at,cr,ci,df,gf;i.fn=i.prototype={jquery:pr,constructor:i,length:0,toArray:function(){return b.call(this)},get:function(n){return n==null?b.call(this):n<0?this[n+this.length]:this[n]},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t},each:function(n){return i.each(this,n)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(b.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(n<0?i:0);return this.pushStack(t>=0&&t<i?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:li,sort:d.sort,splice:d.splice};i.extend=i.fn.extend=function(){var s,f,e,t,o,c,n=arguments[0]||{},r=1,l=arguments.length,h=!1;for(typeof n=="boolean"&&(h=n,n=arguments[r]||{},r++),typeof n=="object"||u(n)||(n={}),r===l&&(n=this,r--);r<l;r++)if((s=arguments[r])!=null)for(f in s)(t=s[f],f!=="__proto__"&&n!==t)&&(h&&t&&(i.isPlainObject(t)||(o=Array.isArray(t)))?(e=n[f],c=o&&!Array.isArray(e)?[]:o||i.isPlainObject(e)?e:{},o=!1,n[f]=i.extend(h,c,t)):t!==undefined&&(n[f]=t));return n};i.extend({expando:"jQuery"+(pr+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isPlainObject:function(n){var t,i;return!n||ar.call(n)!=="[object Object]"?!1:(t=ne(n),!t)?!0:(i=ii.call(t,"constructor")&&t.constructor,typeof i=="function"&&vr.call(i)===te)},isEmptyObject:function(n){for(var t in n)return!1;return!0},globalEval:function(n,t){yr(n,{nonce:t&&t.nonce})},each:function(n,t){var r,i=0;if(ai(n)){for(r=n.length;i<r;i++)if(t.call(n[i],i,n[i])===!1)break}else for(i in n)if(t.call(n[i],i,n[i])===!1)break;return n},trim:function(n){return n==null?"":(n+"").replace(re,"")},makeArray:function(n,t){var r=t||[];return n!=null&&(ai(Object(n))?i.merge(r,typeof n=="string"?[n]:n):li.call(r,n)),r},inArray:function(n,t,i){return t==null?-1:ni.call(t,n,i)},merge:function(n,t){for(var u=+t.length,i=0,r=n.length;i<u;i++)n[r++]=t[i];return n.length=r,n},grep:function(n,t,i){for(var u,f=[],r=0,e=n.length,o=!i;r<e;r++)u=!t(n[r],r),u!==o&&f.push(n[r]);return f},map:function(n,t,i){var e,u,r=0,f=[];if(ai(n))for(e=n.length;r<e;r++)u=t(n[r],r,i),u!=null&&f.push(u);else for(r in n)u=t(n[r],r,i),u!=null&&f.push(u);return lr.apply([],f)},guid:1,support:e});typeof Symbol=="function"&&(i.fn[Symbol.iterator]=d[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){ti["[object "+t+"]"]=t.toLowerCase()});k=function(n){function u(n,t,r,u){var s,w,l,v,d,y,g,p=t&&t.ownerDocument,a=t?t.nodeType:9;if(r=r||[],typeof n!="string"||!n||a!==1&&a!==9&&a!==11)return r;if(!u&&((t?t.ownerDocument||t:c)!==i&&b(t),t=t||i,h)){if(a!==11&&(d=ar.exec(n)))if(s=d[1]){if(a===9)if(l=t.getElementById(s)){if(l.id===s)return r.push(l),r}else return r;else if(p&&(l=p.getElementById(s))&&et(t,l)&&l.id===s)return r.push(l),r}else{if(d[2])return k.apply(r,t.getElementsByTagName(n)),r;if((s=d[3])&&e.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(s)),r}if(e.qsa&&!lt[n+" "]&&(!o||!o.test(n))&&(a!==1||t.nodeName.toLowerCase()!=="object")){if(g=n,p=t,a===1&&er.test(n)){for((v=t.getAttribute("id"))?v=v.replace(yi,pi):t.setAttribute("id",v=f),y=ft(n),w=y.length;w--;)y[w]="#"+v+" "+pt(y[w]);g=y.join(",");p=ti.test(n)&&ri(t.parentNode)||t}try{return k.apply(r,p.querySelectorAll(g)),r}catch(nt){lt(n,!0)}finally{v===f&&t.removeAttribute("id")}}}return si(n.replace(at,"$1"),t,r,u)}function yt(){function n(r,u){return i.push(r+" ")>t.cacheLength&&delete n[i.shift()],n[r+" "]=u}var i=[];return n}function l(n){return n[f]=!0,n}function a(n){var t=i.createElement("fieldset");try{return!!n(t)}catch(r){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ii(n,i){for(var r=n.split("|"),u=r.length;u--;)t.attrHandle[r[u]]=i}function bi(n,t){var i=t&&n,r=i&&n.nodeType===1&&t.nodeType===1&&n.sourceIndex-t.sourceIndex;if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function yr(n){return function(t){var i=t.nodeName.toLowerCase();return i==="input"&&t.type===n}}function pr(n){return function(t){var i=t.nodeName.toLowerCase();return(i==="input"||i==="button")&&t.type===n}}function ki(n){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===n:t.disabled===n:t.isDisabled===n||t.isDisabled!==!n&&vr(t)===n:t.disabled===n:"label"in t?t.disabled===n:!1}}function it(n){return l(function(t){return t=+t,l(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ri(n){return n&&typeof n.getElementsByTagName!="undefined"&&n}function di(){}function pt(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function wt(n,t,i){var r=t.dir,u=t.next,e=u||r,o=i&&e==="parentNode",s=gi++;return t.first?function(t,i,u){while(t=t[r])if(t.nodeType===1||o)return n(t,i,u);return!1}:function(t,i,h){var c,l,a,y=[v,s];if(h){while(t=t[r])if((t.nodeType===1||o)&&n(t,i,h))return!0}else while(t=t[r])if(t.nodeType===1||o)if(a=t[f]||(t[f]={}),l=a[t.uniqueID]||(a[t.uniqueID]={}),u&&u===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[e])&&c[0]===v&&c[1]===s)return y[2]=c[2];if(l[e]=y,y[2]=n(t,i,h))return!0}return!1}}function ui(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function wr(n,t,i){for(var r=0,f=t.length;r<f;r++)u(n,t[r],i);return i}function bt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=t!=null;f<s;f++)(e=n[f])&&(!i||i(e,r,u))&&(o.push(e),h&&t.push(f));return o}function fi(n,t,i,r,u,e){return r&&!r[f]&&(r=fi(r)),u&&!u[f]&&(u=fi(u,e)),l(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,b=f||wr(t||"*",o.nodeType?[o]:o,[]),v=n&&(f||!t)?bt(b,p,n,o,s):b,h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=bt(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?nt(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=bt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):k.apply(e,h)})}function ei(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=wt(function(n){return n===o},c,!0),a=wt(function(n){return nt(o,n)>-1},c,!0),e=[function(n,t,i){var r=!h&&(i||t!==ht)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];i<s;i++)if(u=t.relative[n[i].type])e=[wt(ui(e),u)];else{if(u=t.filter[n[i].type].apply(null,n[i].matches),u[f]){for(r=++i;r<s;r++)if(t.relative[n[r].type])break;return fi(i>1&&ui(e),i>1&&pt(n.slice(0,i-1).concat({value:n[i-2].type===" "?"*":""})).replace(at,"$1"),u,i<r&&ei(n.slice(i,r)),r<s&&ei(n=n.slice(r)),r<s&&pt(n))}e.push(u)}return ui(e)}function br(n,r){var f=r.length>0,e=n.length>0,o=function(o,s,c,l,a){var y,nt,d,g=0,p="0",tt=o&&[],w=[],it=ht,rt=o||e&&t.find.TAG("*",a),ut=v+=it==null?1:Math.random()||.1,ft=rt.length;for(a&&(ht=s===i||s||a);p!==ft&&(y=rt[p])!=null;p++){if(e&&y){for(nt=0,s||y.ownerDocument===i||(b(y),c=!h);d=n[nt++];)if(d(y,s||i,c)){l.push(y);break}a&&(v=ut)}f&&((y=!d&&y)&&g--,o&&tt.push(y))}if(g+=p,f&&p!==g){for(nt=0;d=r[nt++];)d(tt,w,s,c);if(o){if(g>0)while(p--)tt[p]||w[p]||(w[p]=tr.call(l));w=bt(w)}k.apply(l,w);a&&!o&&w.length>0&&g+r.length>1&&u.uniqueSort(l)}return a&&(v=ut,ht=it),tt};return f?l(o):o}var rt,e,t,st,oi,ft,kt,si,ht,w,ut,b,i,s,h,o,d,ct,et,f="sizzle"+1*new Date,c=n.document,v=0,gi=0,hi=yt(),ci=yt(),li=yt(),lt=yt(),dt=function(n,t){return n===t&&(ut=!0),0},nr={}.hasOwnProperty,g=[],tr=g.pop,ir=g.push,k=g.push,ai=g.slice,nt=function(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},gt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",vi="\\["+r+"*("+tt+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+r+"*\\]",ni=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+vi+")*)|.*)\\)|)",rr=new RegExp(r+"+","g"),at=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),ur=new RegExp("^"+r+"*,"+r+"*"),fr=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),er=new RegExp(r+"|>"),or=new RegExp(ni),sr=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+vi),PSEUDO:new RegExp("^"+ni),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+gt+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},hr=/HTML$/i,cr=/^(?:input|select|textarea|button)$/i,lr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,ar=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ti=/[+~]/,y=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig"),p=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)},yi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,pi=function(n,t){return t?n==="\0"?"�":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n},wi=function(){b()},vr=wt(function(n){return n.disabled===!0&&n.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{k.apply(g=ai.call(c.childNodes),c.childNodes);g[c.childNodes.length].nodeType}catch(kr){k={apply:g.length?function(n,t){ir.apply(n,ai.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}e=u.support={};oi=u.isXML=function(n){var i=n.namespaceURI,t=(n.ownerDocument||n).documentElement;return!hr.test(i||t&&t.nodeName||"HTML")};b=u.setDocument=function(n){var v,u,l=n?n.ownerDocument||n:c;return l===i||l.nodeType!==9||!l.documentElement?i:(i=l,s=i.documentElement,h=!oi(i),c!==i&&(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",wi,!1):u.attachEvent&&u.attachEvent("onunload",wi)),e.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),e.getElementsByTagName=a(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),e.getElementsByClassName=ot.test(i.getElementsByClassName),e.getById=a(function(n){return s.appendChild(n).id=f,!i.getElementsByName||!i.getElementsByName(f).length}),e.getById?(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}},t.find.ID=function(n,t){if(typeof t.getElementById!="undefined"&&h){var i=t.getElementById(n);return i?[i]:[]}}):(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i=typeof n.getAttributeNode!="undefined"&&n.getAttributeNode("id");return i&&i.value===t}},t.find.ID=function(n,t){if(typeof t.getElementById!="undefined"&&h){var i,u,f,r=t.getElementById(n);if(r){if(i=r.getAttributeNode("id"),i&&i.value===n)return[r];for(f=t.getElementsByName(n),u=0;r=f[u++];)if(i=r.getAttributeNode("id"),i&&i.value===n)return[r]}return[]}}),t.find.TAG=e.getElementsByTagName?function(n,t){return typeof t.getElementsByTagName!="undefined"?t.getElementsByTagName(n):e.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if(n==="*"){while(i=u[f++])i.nodeType===1&&r.push(i);return r}return u},t.find.CLASS=e.getElementsByClassName&&function(n,t){if(typeof t.getElementsByClassName!="undefined"&&h)return t.getElementsByClassName(n)},d=[],o=[],(e.qsa=ot.test(i.querySelectorAll))&&(a(function(n){s.appendChild(n).innerHTML="<a id='"+f+"'><\/a><select id='"+f+"-\r\\' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&o.push("[*^$]="+r+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||o.push("\\["+r+"*(?:value|"+gt+")");n.querySelectorAll("[id~="+f+"-]").length||o.push("~=");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+f+"+*").length||o.push(".#.+[+~]")}),a(function(n){n.innerHTML="<a href='' disabled='disabled'><\/a><select disabled='disabled'><option/><\/select>";var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&o.push("name"+r+"*[*^$|!~]?=");n.querySelectorAll(":enabled").length!==2&&o.push(":enabled",":disabled");s.appendChild(n).disabled=!0;n.querySelectorAll(":disabled").length!==2&&o.push(":enabled",":disabled");n.querySelectorAll("*,:x");o.push(",.*:")})),(e.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&a(function(n){e.disconnectedMatch=ct.call(n,"*");ct.call(n,"[s!='']:x");d.push("!=",ni)}),o=o.length&&new RegExp(o.join("|")),d=d.length&&new RegExp(d.join("|")),v=ot.test(s.compareDocumentPosition),et=v||ot.test(s.contains)?function(n,t){var r=n.nodeType===9?n.documentElement:n,i=t&&t.parentNode;return n===i||!!(i&&i.nodeType===1&&(r.contains?r.contains(i):n.compareDocumentPosition&&n.compareDocumentPosition(i)&16))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},dt=v?function(n,t){if(n===t)return ut=!0,0;var r=!n.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1,r&1||!e.sortDetached&&t.compareDocumentPosition(n)===r)?n===i||n.ownerDocument===c&&et(c,n)?-1:t===i||t.ownerDocument===c&&et(c,t)?1:w?nt(w,n)-nt(w,t):0:r&4?-1:1}:function(n,t){if(n===t)return ut=!0,0;var r,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(o&&s){if(o===s)return bi(n,t)}else return n===i?-1:t===i?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;for(r=n;r=r.parentNode;)f.unshift(r);for(r=t;r=r.parentNode;)e.unshift(r);while(f[u]===e[u])u++;return u?bi(f[u],e[u]):f[u]===c?-1:e[u]===c?1:0},i)};u.matches=function(n,t){return u(n,null,null,t)};u.matchesSelector=function(n,t){if((n.ownerDocument||n)!==i&&b(n),e.matchesSelector&&h&&!lt[t+" "]&&(!d||!d.test(t))&&(!o||!o.test(t)))try{var r=ct.call(n,t);if(r||e.disconnectedMatch||n.document&&n.document.nodeType!==11)return r}catch(f){lt(t,!0)}return u(t,i,null,[n]).length>0};u.contains=function(n,t){return(n.ownerDocument||n)!==i&&b(n),et(n,t)};u.attr=function(n,r){(n.ownerDocument||n)!==i&&b(n);var f=t.attrHandle[r.toLowerCase()],u=f&&nr.call(t.attrHandle,r.toLowerCase())?f(n,r,!h):undefined;return u!==undefined?u:e.attributes||!h?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null};u.escape=function(n){return(n+"").replace(yi,pi)};u.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);};u.uniqueSort=function(n){var r,u=[],t=0,i=0;if(ut=!e.detectDuplicates,w=!e.sortStable&&n.slice(0),n.sort(dt),ut){while(r=n[i++])r===n[i]&&(t=u.push(i));while(t--)n.splice(u[t],1)}return w=null,n};st=u.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(t===1||t===9||t===11){if(typeof n.textContent=="string")return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(t===3||t===4)return n.nodeValue}else while(r=n[u++])i+=st(r);return i};t=u.selectors={cacheLength:50,createPseudo:l,match:vt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(y,p),n[3]=(n[3]||n[4]||n[5]||"").replace(y,p),n[2]==="~="&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),n[1].slice(0,3)==="nth"?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*(n[3]==="even"||n[3]==="odd")),n[5]=+(n[7]+n[8]||n[3]==="odd")):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return vt.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&or.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(y,p).toLowerCase();return n==="*"?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=hi[n+" "];return t||(t=new RegExp("(^|"+r+")"+n+"("+r+"|$)"))&&hi(n,function(n){return t.test(typeof n.className=="string"&&n.className||typeof n.getAttribute!="undefined"&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return f==null?t==="!=":t?(f+="",t==="="?f===i:t==="!="?f!==i:t==="^="?i&&f.indexOf(i)===0:t==="*="?i&&f.indexOf(i)>-1:t==="$="?i&&f.slice(-i.length)===i:t==="~="?(" "+f.replace(rr," ")+" ").indexOf(i)>-1:t==="|="?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s=n.slice(0,3)!=="nth",o=n.slice(-4)!=="last",e=t==="of-type";return r===1&&u===0?function(n){return!!n.parentNode}:function(t,i,h){var p,w,y,c,a,b,k=s!==o?"nextSibling":"previousSibling",d=t.parentNode,nt=e&&t.nodeName.toLowerCase(),g=!h&&!e,l=!1;if(d){if(s){while(k){for(c=t;c=c[k];)if(e?c.nodeName.toLowerCase()===nt:c.nodeType===1)return!1;b=k=n==="only"&&!b&&"nextSibling"}return!0}if(b=[o?d.firstChild:d.lastChild],o&&g){for(c=d,y=c[f]||(c[f]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a&&p[2],c=a&&d.childNodes[a];c=++a&&c&&c[k]||(l=a=0)||b.pop();)if(c.nodeType===1&&++l&&c===t){w[n]=[v,a,l];break}}else if(g&&(c=t,y=c[f]||(c[f]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a),l===!1)while(c=++a&&c&&c[k]||(l=a=0)||b.pop())if((e?c.nodeName.toLowerCase()===nt:c.nodeType===1)&&++l&&(g&&(y=c[f]||(c[f]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),w[n]=[v,l]),c===t))break;return l-=u,l===r||l%r==0&&l/r>=0}}},PSEUDO:function(n,i){var e,r=t.pseudos[n]||t.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return r[f]?r(i):r.length>1?(e=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?l(function(n,t){for(var u,f=r(n,i),e=f.length;e--;)u=nt(n,f[e]),n[u]=!(t[u]=f[e])}):function(n){return r(n,0,e)}):r}},pseudos:{not:l(function(n){var t=[],r=[],i=kt(n.replace(at,"$1"));return i[f]?l(function(n,t,r,u){for(var e,o=i(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,u,f){return t[0]=n,i(t,null,f,r),t[0]=null,!r.pop()}}),has:l(function(n){return function(t){return u(n,t).length>0}}),contains:l(function(n){return n=n.replace(y,p),function(t){return(t.textContent||st(t)).indexOf(n)>-1}}),lang:l(function(n){return sr.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||i.indexOf(n+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===i.activeElement&&(!i.hasFocus||i.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:ki(!1),disabled:ki(!0),checked:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&!!n.checked||t==="option"&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return lr.test(n.nodeName)},input:function(n){return cr.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&n.type==="button"||t==="button"},text:function(n){var t;return n.nodeName.toLowerCase()==="input"&&n.type==="text"&&((t=n.getAttribute("type"))==null||t.toLowerCase()==="text")},first:it(function(){return[0]}),last:it(function(n,t){return[t-1]}),eq:it(function(n,t,i){return[i<0?i+t:i]}),even:it(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:it(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:it(function(n,t,i){for(var r=i<0?i+t:i>t?t:i;--r>=0;)n.push(r);return n}),gt:it(function(n,t,i){for(var r=i<0?i+t:i;++r<t;)n.push(r);return n})}};t.pseudos.nth=t.pseudos.eq;for(rt in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[rt]=yr(rt);for(rt in{submit:!0,reset:!0})t.pseudos[rt]=pr(rt);return di.prototype=t.filters=t.pseudos,t.setFilters=new di,ft=u.tokenize=function(n,i){var e,f,s,o,r,h,c,l=ci[n+" "];if(l)return i?0:l.slice(0);for(r=n,h=[],c=t.preFilter;r;){(!e||(f=ur.exec(r)))&&(f&&(r=r.slice(f[0].length)||r),h.push(s=[]));e=!1;(f=fr.exec(r))&&(e=f.shift(),s.push({value:e,type:f[0].replace(at," ")}),r=r.slice(e.length));for(o in t.filter)(f=vt[o].exec(r))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),r=r.slice(e.length));if(!e)break}return i?r.length:r?u.error(n):ci(n,h).slice(0)},kt=u.compile=function(n,t){var r,u=[],e=[],i=li[n+" "];if(!i){for(t||(t=ft(n)),r=t.length;r--;)i=ei(t[r]),i[f]?u.push(i):e.push(i);i=li(n,br(e,u));i.selector=n}return i},si=u.select=function(n,i,r,u){var o,f,e,l,a,c=typeof n=="function"&&n,s=!u&&ft(n=c.selector||n);if(r=r||[],s.length===1){if(f=s[0]=s[0].slice(0),f.length>2&&(e=f[0]).type==="ID"&&i.nodeType===9&&h&&t.relative[f[1].type]){if(i=(t.find.ID(e.matches[0].replace(y,p),i)||[])[0],i)c&&(i=i.parentNode);else return r;n=n.slice(f.shift().value.length)}for(o=vt.needsContext.test(n)?0:f.length;o--;){if(e=f[o],t.relative[l=e.type])break;if((a=t.find[l])&&(u=a(e.matches[0].replace(y,p),ti.test(f[0].type)&&ri(i.parentNode)||i))){if(f.splice(o,1),n=u.length&&pt(f),!n)return k.apply(r,u),r;break}}}return(c||kt(n,s))(u,i,!h,r,!i||ti.test(n)&&ri(i.parentNode)||i),r},e.sortStable=f.split("").sort(dt).join("")===f,e.detectDuplicates=!!ut,b(),e.sortDetached=a(function(n){return n.compareDocumentPosition(i.createElement("fieldset"))&1}),a(function(n){return n.innerHTML="<a href='#'><\/a>",n.firstChild.getAttribute("href")==="#"})||ii("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,t.toLowerCase()==="type"?1:2)}),e.attributes&&a(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),n.firstChild.getAttribute("value")===""})||ii("value",function(n,t,i){if(!i&&n.nodeName.toLowerCase()==="input")return n.defaultValue}),a(function(n){return n.getAttribute("disabled")==null})||ii(gt,function(n,t,i){var r;if(!i)return n[t]===!0?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),u}(n);i.find=k;i.expr=k.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=k.uniqueSort;i.text=k.getText;i.isXMLDoc=k.isXML;i.contains=k.contains;i.escapeSelector=k.escape;var rt=function(n,t,r){for(var u=[],f=r!==undefined;(n=n[t])&&n.nodeType!==9;)if(n.nodeType===1){if(f&&i(n).is(r))break;u.push(n)}return u},wr=function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i},br=i.expr.match.needsContext;vi=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;i.filter=function(n,t,r){var u=t[0];return(r&&(n=":not("+n+")"),t.length===1&&u.nodeType===1)?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return n.nodeType===1}))};i.fn.extend({find:function(n){var t,r,u=this.length,f=this;if(typeof n!="string")return this.pushStack(i(n).filter(function(){for(t=0;t<u;t++)if(i.contains(f[t],this))return!0}));for(r=this.pushStack([]),t=0;t<u;t++)i.find(n,f[t],r);return u>1?i.uniqueSort(r):r},filter:function(n){return this.pushStack(yi(this,n||[],!1))},not:function(n){return this.pushStack(yi(this,n||[],!0))},is:function(n){return!!yi(this,typeof n=="string"&&br.test(n)?i(n):n||[],!1).length}});dr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;gr=i.fn.init=function(n,t,r){var e,o;if(!n)return this;if(r=r||kr,typeof n=="string"){if(e=n[0]==="<"&&n[n.length-1]===">"&&n.length>=3?[null,n,null]:dr.exec(n),e&&(e[1]||!t)){if(e[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(e[1],t&&t.nodeType?t.ownerDocument||t:f,!0)),vi.test(e[1])&&i.isPlainObject(t))for(e in t)u(this[e])?this[e](t[e]):this.attr(e,t[e]);return this}return o=f.getElementById(e[2]),o&&(this[0]=o,this.length=1),this}return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n)}return n.nodeType?(this[0]=n,this.length=1,this):u(n)?r.ready!==undefined?r.ready(n):n(i):i.makeArray(n,this)};gr.prototype=i.fn;kr=i(f);nu=/^(?:parents|prev(?:Until|All))/;tu={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(n){var t=i(n,this),r=t.length;return this.filter(function(){for(var n=0;n<r;n++)if(i.contains(this,t[n]))return!0})},closest:function(n,t){var r,f=0,o=this.length,u=[],e=typeof n!="string"&&i(n);if(!br.test(n))for(;f<o;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?e.index(r)>-1:r.nodeType===1&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.uniqueSort(u):u)},index:function(n){return n?typeof n=="string"?ni.call(i(n),this[0]):ni.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return rt(n,"parentNode")},parentsUntil:function(n,t,i){return rt(n,"parentNode",i)},next:function(n){return iu(n,"nextSibling")},prev:function(n){return iu(n,"previousSibling")},nextAll:function(n){return rt(n,"nextSibling")},prevAll:function(n){return rt(n,"previousSibling")},nextUntil:function(n,t,i){return rt(n,"nextSibling",i)},prevUntil:function(n,t,i){return rt(n,"previousSibling",i)},siblings:function(n){return wr((n.parentNode||{}).firstChild,n)},children:function(n){return wr(n.firstChild)},contents:function(n){return typeof n.contentDocument!="undefined"?n.contentDocument:(l(n,"template")&&(n=n.content||n),i.merge([],n.childNodes))}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return n.slice(-5)!=="Until"&&(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),this.length>1&&(tu[n]||i.uniqueSort(f),nu.test(n)&&f.reverse()),this.pushStack(f)}});a=/[^\x20\t\r\n\f]+/g;i.Callbacks=function(n){n=typeof n=="string"?ue(n):i.extend({},n);var o,r,c,f,t=[],s=[],e=-1,l=function(){for(f=f||n.once,c=o=!0;s.length;e=-1)for(r=s.shift();++e<t.length;)t[e].apply(r[0],r[1])===!1&&n.stopOnFalse&&(e=t.length,r=!1);n.memory||(r=!1);o=!1;f&&(t=r?[]:"")},h={add:function(){return t&&(r&&!o&&(e=t.length-1,s.push(r)),function f(r){i.each(r,function(i,r){u(r)?n.unique&&h.has(r)||t.push(r):r&&r.length&&it(r)!=="string"&&f(r)})}(arguments),r&&!o&&l()),this},remove:function(){return i.each(arguments,function(n,r){for(var u;(u=i.inArray(r,t,u))>-1;)t.splice(u,1),u<=e&&e--}),this},has:function(n){return n?i.inArray(n,t)>-1:t.length>0},empty:function(){return t&&(t=[]),this},disable:function(){return f=s=[],t=r="",this},disabled:function(){return!t},lock:function(){return f=s=[],r||o||(t=r=""),this},locked:function(){return!!f},fireWith:function(n,t){return f||(t=t||[],t=[n,t.slice?t.slice():t],s.push(t),o||l()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!c}};return h};i.extend({Deferred:function(t){var f=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],o="pending",e={state:function(){return o},always:function(){return r.done(arguments).fail(arguments),this},"catch":function(n){return e.then(null,n)},pipe:function(){var n=arguments;return i.Deferred(function(t){i.each(f,function(i,f){var e=u(n[f[4]])&&n[f[4]];r[f[1]](function(){var n=e&&e.apply(this,arguments);n&&u(n.promise)?n.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[f[0]+"With"](this,e?[n]:arguments)})});n=null}).promise()},then:function(t,r,e){function s(t,r,f,e){return function(){var h=this,c=arguments,a=function(){var n,i;if(!(t<o)){if(n=f.apply(h,c),n===r.promise())throw new TypeError("Thenable self-resolution");i=n&&(typeof n=="object"||typeof n=="function")&&n.then;u(i)?e?i.call(n,s(o,r,ut,e),s(o,r,ri,e)):(o++,i.call(n,s(o,r,ut,e),s(o,r,ri,e),s(o,r,ut,r.notifyWith))):(f!==ut&&(h=undefined,c=[n]),(e||r.resolveWith)(h,c))}},l=e?a:function(){try{a()}catch(n){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(n,l.stackTrace);t+1>=o&&(f!==ri&&(h=undefined,c=[n]),r.rejectWith(h,c))}};t?l():(i.Deferred.getStackHook&&(l.stackTrace=i.Deferred.getStackHook()),n.setTimeout(l))}}var o=0;return i.Deferred(function(n){f[0][3].add(s(0,n,u(e)?e:ut,n.notifyWith));f[1][3].add(s(0,n,u(t)?t:ut));f[2][3].add(s(0,n,u(r)?r:ri))}).promise()},promise:function(n){return n!=null?i.extend(n,e):e}},r={};return i.each(f,function(n,t){var i=t[2],u=t[5];e[t[1]]=i.add;u&&i.add(function(){o=u},f[3-n][2].disable,f[3-n][3].disable,f[0][2].lock,f[0][3].lock);i.add(t[3].fire);r[t[0]]=function(){return r[t[0]+"With"](this===r?undefined:this,arguments),this};r[t[0]+"With"]=i.fireWith}),e.promise(r),t&&t.call(r,r),r},when:function(n){var e=arguments.length,t=e,o=Array(t),f=b.call(arguments),r=i.Deferred(),s=function(n){return function(t){o[n]=this;f[n]=arguments.length>1?b.call(arguments):t;--e||r.resolveWith(o,f)}};if(e<=1&&(ru(n,r.done(s(t)).resolve,r.reject,!e),r.state()==="pending"||u(f[t]&&f[t].then)))return r.then();while(t--)ru(f[t],s(t),r.reject);return r.promise()}});uu=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(t,i){n.console&&n.console.warn&&t&&uu.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)};i.readyException=function(t){n.setTimeout(function(){throw t;})};ui=i.Deferred();i.fn.ready=function(n){return ui.then(n).catch(function(n){i.readyException(n)}),this};i.extend({isReady:!1,readyWait:1,ready:function(n){(n===!0?--i.readyWait:i.isReady)||(i.isReady=!0,n!==!0&&--i.readyWait>0)||ui.resolveWith(f,[i])}});i.ready.then=ui.then;f.readyState!=="complete"&&(f.readyState==="loading"||f.documentElement.doScroll)?(f.addEventListener("DOMContentLoaded",fi),n.addEventListener("load",fi)):n.setTimeout(i.ready);var p=function(n,t,r,f,e,o,s){var h=0,l=n.length,c=r==null;if(it(r)==="object"){e=!0;for(h in r)p(n,t,h,r[h],!0,o,s)}else if(f!==undefined&&(e=!0,u(f)||(s=!0),c&&(s?(t.call(n,f),t=null):(c=t,t=function(n,t,r){return c.call(i(n),r)})),t))for(;h<l;h++)t(n[h],r,s?f:f.call(n[h],h,t(n[h],r)));return e?n:c?t.call(n):l?t(n[0],r):o},fe=/^-ms-/,ee=/-([a-z])/g;vt=function(n){return n.nodeType===1||n.nodeType===9||!+n.nodeType};yt.uid=1;yt.prototype={cache:function(n){var t=n[this.expando];return t||(t={},vt(n)&&(n.nodeType?n[this.expando]=t:Object.defineProperty(n,this.expando,{value:t,configurable:!0}))),t},set:function(n,t,i){var r,u=this.cache(n);if(typeof t=="string")u[y(t)]=i;else for(r in t)u[y(r)]=t[r];return u},get:function(n,t){return t===undefined?this.cache(n):n[this.expando]&&n[this.expando][y(t)]},access:function(n,t,i){return t===undefined||t&&typeof t=="string"&&i===undefined?this.get(n,t):(this.set(n,t,i),i!==undefined?i:t)},remove:function(n,t){var u,r=n[this.expando];if(r!==undefined){if(t!==undefined)for(Array.isArray(t)?t=t.map(y):(t=y(t),t=t in r?[t]:t.match(a)||[]),u=t.length;u--;)delete r[t[u]];(t===undefined||i.isEmptyObject(r))&&(n.nodeType?n[this.expando]=undefined:delete n[this.expando])}},hasData:function(n){var t=n[this.expando];return t!==undefined&&!i.isEmptyObject(t)}};var r=new yt,o=new yt,se=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,he=/[A-Z]/g;i.extend({hasData:function(n){return o.hasData(n)||r.hasData(n)},data:function(n,t,i){return o.access(n,t,i)},removeData:function(n,t){o.remove(n,t)},_data:function(n,t,i){return r.access(n,t,i)},_removeData:function(n,t){r.remove(n,t)}});i.fn.extend({data:function(n,t){var f,u,e,i=this[0],s=i&&i.attributes;if(n===undefined){if(this.length&&(e=o.get(i),i.nodeType===1&&!r.get(i,"hasDataAttrs"))){for(f=s.length;f--;)s[f]&&(u=s[f].name,u.indexOf("data-")===0&&(u=y(u.slice(5)),fu(i,u,e[u])));r.set(i,"hasDataAttrs",!0)}return e}return typeof n=="object"?this.each(function(){o.set(this,n)}):p(this,function(t){var r;if(i&&t===undefined)return(r=o.get(i,n),r!==undefined)?r:(r=fu(i,n),r!==undefined)?r:void 0;this.each(function(){o.set(this,n,t)})},null,t,arguments.length>1,null,!0)},removeData:function(n){return this.each(function(){o.remove(this,n)})}});i.extend({queue:function(n,t,u){var f;if(n)return t=(t||"fx")+"queue",f=r.get(n,t),u&&(!f||Array.isArray(u)?f=r.access(n,t,i.makeArray(u)):f.push(u)),f||[]},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};u==="inprogress"&&(u=r.shift(),e--);u&&(t==="fx"&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var u=t+"queueHooks";return r.get(n,u)||r.access(n,u,{empty:i.Callbacks("once memory").add(function(){r.remove(n,[t+"queue",u])})})}});i.fn.extend({queue:function(n,t){var r=2;return(typeof n!="string"&&(t=n,n="fx",r--),arguments.length<r)?i.queue(this[0],n):t===undefined?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);n==="fx"&&r[0]!=="inprogress"&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for(typeof n!="string"&&(t=n,n=undefined),n=n||"fx";s--;)u=r.get(f[s],n+"queueHooks"),u&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var eu=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pt=new RegExp("^(?:([+-])=|)("+eu+")([a-z%]*)$","i"),w=["Top","Right","Bottom","Left"],wt=f.documentElement,ft=function(n){return i.contains(n.ownerDocument,n)},le={composed:!0};wt.getRootNode&&(ft=function(n){return i.contains(n.ownerDocument,n)||n.getRootNode(le)===n.ownerDocument});bt=function(n,t){return n=t||n,n.style.display==="none"||n.style.display===""&&ft(n)&&i.css(n,"display")==="none"};pi=function(n,t,i,r){var f,u,e={};for(u in t)e[u]=n.style[u],n.style[u]=t[u];f=i.apply(n,r||[]);for(u in t)n.style[u]=e[u];return f};wi={};i.fn.extend({show:function(){return et(this,!0)},hide:function(){return et(this)},toggle:function(n){return typeof n=="boolean"?n?this.show():this.hide():this.each(function(){bt(this)?i(this).show():i(this).hide()})}});var kt=/^(?:checkbox|radio)$/i,su=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,hu=/^$|^module$|\/(?:java|ecma)script/i,c={option:[1,"<select multiple='multiple'>","<\/select>"],thead:[1,"<table>","<\/table>"],col:[2,"<table><colgroup>","<\/colgroup><\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};c.optgroup=c.option;c.tbody=c.tfoot=c.colgroup=c.caption=c.thead;c.th=c.td;cu=/<|&#?\w+;/,function(){var i=f.createDocumentFragment(),n=i.appendChild(f.createElement("div")),t=f.createElement("input");t.setAttribute("type","radio");t.setAttribute("checked","checked");t.setAttribute("name","t");n.appendChild(t);e.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked;n.innerHTML="<textarea>x<\/textarea>";e.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue}();var ve=/^key/,ye=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,au=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,u,f,e){var v,y,w,p,b,h,s,c,o,k,d,l=r.get(n);if(l)for(u.handler&&(v=u,u=v.handler,e=v.selector),e&&i.find.matchesSelector(wt,e),u.guid||(u.guid=i.guid++),(p=l.events)||(p=l.events={}),(y=l.handle)||(y=l.handle=function(t){return typeof i!="undefined"&&i.event.triggered!==t.type?i.event.dispatch.apply(n,arguments):undefined}),t=(t||"").match(a)||[""],b=t.length;b--;)(w=au.exec(t[b])||[],o=d=w[1],k=(w[2]||"").split(".").sort(),o)&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},h=i.extend({type:o,origType:d,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:k.join(".")},v),(c=p[o])||(c=p[o]=[],c.delegateCount=0,s.setup&&s.setup.call(n,f,k,y)!==!1||n.addEventListener&&n.addEventListener(o,y)),s.add&&(s.add.call(n,h),h.handler.guid||(h.handler.guid=u.guid)),e?c.splice(c.delegateCount++,0,h):c.push(h),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var y,k,h,v,p,s,c,l,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(v=w.events)){for(t=(t||"").match(a)||[""],p=t.length;p--;){if(h=au.exec(t[p])||[],o=d=h[1],b=(h[2]||"").split(".").sort(),!o){for(o in v)i.event.remove(n,o+t[p],u,f,!0);continue}for(c=i.event.special[o]||{},o=(f?c.delegateType:c.bindType)||o,l=v[o]||[],h=h[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=y=l.length;y--;)s=l[y],(e||d===s.origType)&&(!u||u.guid===s.guid)&&(!h||h.test(s.namespace))&&(!f||f===s.selector||f==="**"&&s.selector)&&(l.splice(y,1),s.selector&&l.delegateCount--,c.remove&&c.remove.call(n,s));k&&!l.length&&(c.teardown&&c.teardown.call(n,b,w.handle)!==!1||i.removeEvent(n,o,w.handle),delete v[o])}i.isEmptyObject(v)&&r.remove(n,"handle events")}},dispatch:function(n){var t=i.event.fix(n),u,c,s,e,f,l,h=new Array(arguments.length),a=(r.get(this,"events")||{})[t.type]||[],o=i.event.special[t.type]||{};for(h[0]=t,u=1;u<arguments.length;u++)h[u]=arguments[u];if(t.delegateTarget=this,!o.preDispatch||o.preDispatch.call(this,t)!==!1){for(l=i.event.handlers.call(this,t,a),u=0;(e=l[u++])&&!t.isPropagationStopped();)for(t.currentTarget=e.elem,c=0;(f=e.handlers[c++])&&!t.isImmediatePropagationStopped();)(!t.rnamespace||f.namespace===!1||t.rnamespace.test(f.namespace))&&(t.handleObj=f,t.data=f.data,s=((i.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,h),s!==undefined&&(t.result=s)===!1&&(t.preventDefault(),t.stopPropagation()));return o.postDispatch&&o.postDispatch.call(this,t),t.result}},handlers:function(n,t){var f,e,u,o,s,c=[],h=t.delegateCount,r=n.target;if(h&&r.nodeType&&!(n.type==="click"&&n.button>=1))for(;r!==this;r=r.parentNode||this)if(r.nodeType===1&&!(n.type==="click"&&r.disabled===!0)){for(o=[],s={},f=0;f<h;f++)e=t[f],u=e.selector+" ",s[u]===undefined&&(s[u]=e.needsContext?i(u,this).index(r)>-1:i.find(u,this,null,[r]).length),s[u]&&o.push(e);o.length&&c.push({elem:r,handlers:o})}return r=this,h<t.length&&c.push({elem:r,handlers:t.slice(h)}),c},addProp:function(n,t){Object.defineProperty(i.Event.prototype,n,{enumerable:!0,configurable:!0,get:u(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[n]},set:function(t){Object.defineProperty(this,n,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(n){return n[i.expando]?n:new i.Event(n)},special:{load:{noBubble:!0},click:{setup:function(n){var t=this||n;return kt.test(t.type)&&t.click&&l(t,"input")&&ei(t,"click",ot),!1},trigger:function(n){var t=this||n;return kt.test(t.type)&&t.click&&l(t,"input")&&ei(t,"click"),!0},_default:function(n){var t=n.target;return kt.test(t.type)&&t.click&&l(t,"input")&&r.get(t,"click")||l(t,"a")}},beforeunload:{postDispatch:function(n){n.result!==undefined&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}}};i.removeEvent=function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i)};i.Event=function(n,t){if(!(this instanceof i.Event))return new i.Event(n,t);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||n.defaultPrevented===undefined&&n.returnValue===!1?ot:st,this.target=n.target&&n.target.nodeType===3?n.target.parentNode:n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget):this.type=n;t&&i.extend(this,t);this.timeStamp=n&&n.timeStamp||Date.now();this[i.expando]=!0};i.Event.prototype={constructor:i.Event,isDefaultPrevented:st,isPropagationStopped:st,isImmediatePropagationStopped:st,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=ot;n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=ot;n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=ot;n&&!this.isSimulated&&n.stopImmediatePropagation();this.stopPropagation()}};i.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(n){var t=n.button;return n.which==null&&ve.test(n.type)?n.charCode!=null?n.charCode:n.keyCode:!n.which&&t!==undefined&&ye.test(n.type)?t&1?1:t&2?3:t&4?2:0:n.which}},i.event.addProp);i.each({focus:"focusin",blur:"focusout"},function(n,t){i.event.special[n]={setup:function(){return ei(this,n,pe),!1},trigger:function(){return ei(this,n),!0},delegateType:t}});i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,f=this,r=n.relatedTarget,e=n.handleObj;return r&&(r===f||i.contains(f,r))||(n.type=e.origType,u=e.handler.apply(this,arguments),n.type=t),u}}});i.fn.extend({on:function(n,t,i,r){return ki(this,n,t,i,r)},one:function(n,t,i,r){return ki(this,n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if(typeof n=="object"){for(f in n)this.off(f,t,n[f]);return this}return(t===!1||typeof t=="function")&&(r=t,t=undefined),r===!1&&(r=st),this.each(function(){i.event.remove(this,n,r,t)})}});var be=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ke=/<script|<style|<link/i,de=/checked\s*(?:[^=]|=\s*.checked.)/i,ge=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;i.extend({htmlPrefilter:function(n){return n.replace(be,"<$1><\/$2>")},clone:function(n,t,r){var u,c,o,f,h=n.cloneNode(!0),l=ft(n);if(!e.noCloneChecked&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(f=s(h),o=s(n),u=0,c=o.length;u<c;u++)io(o[u],f[u]);if(t)if(r)for(o=o||s(n),f=f||s(h),u=0,c=o.length;u<c;u++)yu(o[u],f[u]);else yu(n,h);return f=s(h,"script"),f.length>0&&bi(f,!l&&s(n,"script")),h},cleanData:function(n){for(var u,t,f,s=i.event.special,e=0;(t=n[e])!==undefined;e++)if(vt(t)){if(u=t[r.expando]){if(u.events)for(f in u.events)s[f]?i.event.remove(t,f):i.removeEvent(t,f,u.handle);t[r.expando]=undefined}t[o.expando]&&(t[o.expando]=undefined)}}});i.fn.extend({detach:function(n){return pu(this,n,!0)},remove:function(n){return pu(this,n)},text:function(n){return p(this,function(n){return n===undefined?i.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=n)})},null,n,arguments.length)},append:function(){return ht(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=vu(this,n);t.appendChild(n)}})},prepend:function(){return ht(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=vu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return ht(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return ht(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;(n=this[t])!=null;t++)n.nodeType===1&&(i.cleanData(s(n,!1)),n.textContent="");return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return p(this,function(n){var t=this[0]||{},r=0,u=this.length;if(n===undefined&&t.nodeType===1)return t.innerHTML;if(typeof n=="string"&&!ke.test(n)&&!c[(su.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;r<u;r++)t=this[r]||{},t.nodeType===1&&(i.cleanData(s(t,!1)),t.innerHTML=n);t=0}catch(f){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return ht(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(s(this)),r&&r.replaceChild(t,this))},n)}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,f=[],e=i(n),o=e.length-1,r=0;r<=o;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),li.apply(f,u.get());return this.pushStack(f)}});var di=new RegExp("^("+eu+")(?!px)[a-z%]+$","i"),oi=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)},ro=new RegExp(w.join("|"),"i");(function(){function r(){if(t){o.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";t.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";wt.appendChild(o).appendChild(t);var i=n.getComputedStyle(t);s=i.top!=="1%";a=u(i.marginLeft)===12;t.style.right="60%";l=u(i.right)===36;h=u(i.width)===36;t.style.position="absolute";c=u(t.offsetWidth/3)===12;wt.removeChild(o);t=null}}function u(n){return Math.round(parseFloat(n))}var s,h,c,l,a,o=f.createElement("div"),t=f.createElement("div");t.style&&(t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle=t.style.backgroundClip==="content-box",i.extend(e,{boxSizingReliable:function(){return r(),h},pixelBoxStyles:function(){return r(),l},pixelPosition:function(){return r(),s},reliableMarginLeft:function(){return r(),a},scrollboxSize:function(){return r(),c}}))})();var bu=["Webkit","Moz","ms"],ku=f.createElement("div").style,du={};var fo=/^(none|table(?!-c[ea]).+)/,gu=/^--/,eo={position:"absolute",visibility:"hidden",display:"block"},nf={letterSpacing:"0",fontWeight:"400"};i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=dt(n,"opacity");return i===""?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(n,t,r,u){if(n&&n.nodeType!==3&&n.nodeType!==8&&n.style){var f,s,o,c=y(t),l=gu.test(t),h=n.style;if(l||(t=gi(c)),o=i.cssHooks[t]||i.cssHooks[c],r!==undefined){if(s=typeof r,s==="string"&&(f=pt.exec(r))&&f[1]&&(r=ou(n,t,f),s="number"),r==null||r!==r)return;s!=="number"||l||(r+=f&&f[3]||(i.cssNumber[c]?"":"px"));e.clearCloneStyle||r!==""||t.indexOf("background")!==0||(h[t]="inherit");o&&"set"in o&&(r=o.set(n,r,u))===undefined||(l?h.setProperty(t,r):h[t]=r)}else return o&&"get"in o&&(f=o.get(n,!1,u))!==undefined?f:h[t]}},css:function(n,t,r,u){var f,o,e,s=y(t),h=gu.test(t);return(h||(t=gi(s)),e=i.cssHooks[t]||i.cssHooks[s],e&&"get"in e&&(f=e.get(n,!0,r)),f===undefined&&(f=dt(n,t,u)),f==="normal"&&t in nf&&(f=nf[t]),r===""||r)?(o=parseFloat(f),r===!0||isFinite(o)?o||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return fo.test(i.css(n,"display"))&&(!n.getClientRects().length||!n.getBoundingClientRect().width)?pi(n,eo,function(){return rf(n,t,u)}):rf(n,t,u)},set:function(n,r,u){var s,f=oi(n),h=!e.scrollboxSize()&&f.position==="absolute",l=h||u,c=l&&i.css(n,"boxSizing",!1,f)==="border-box",o=u?nr(n,t,u,c,f):0;return c&&h&&(o-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(f[t])-nr(n,t,"border",!1,f)-.5)),o&&(s=pt.exec(r))&&(s[3]||"px")!=="px"&&(n.style[t]=r,r=i.css(n,t)),tf(n,r,o)}}});i.cssHooks.marginLeft=wu(e.reliableMarginLeft,function(n,t){if(t)return(parseFloat(dt(n,"marginLeft"))||n.getBoundingClientRect().left-pi(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}))+"px"});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u=typeof i=="string"?i.split(" "):[i];r<4;r++)f[n+w[r]+t]=u[r]||u[r-2]||u[0];return f}};n!=="margin"&&(i.cssHooks[n+t].set=tf)});i.fn.extend({css:function(n,t){return p(this,function(n,t,r){var f,e,o={},u=0;if(Array.isArray(t)){for(f=oi(n),e=t.length;u<e;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return r!==undefined?i.style(n,t,r):i.css(n,t)},n,t,arguments.length>1)}});i.Tween=h;h.prototype={constructor:h,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||i.easing._default;this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=h.propHooks[this.prop];return n&&n.get?n.get(this):h.propHooks._default.get(this)},run:function(n){var t,r=h.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):h.propHooks._default.set(this),this}};h.prototype.init.prototype=h.prototype;h.propHooks={_default:{get:function(n){var t;return n.elem.nodeType!==1||n.elem[n.prop]!=null&&n.elem.style[n.prop]==null?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""),!t||t==="auto"?0:t)},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.nodeType===1&&(i.cssHooks[n.prop]||n.elem.style[gi(n.prop)]!=null)?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}};h.propHooks.scrollTop=h.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"};i.fx=h.prototype.init;i.fx.step={};uf=/^(?:toggle|show|hide)$/;ff=/queueHooks$/;i.Animation=i.extend(v,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return ou(i.elem,n,pt.exec(t),i),i}]},tweener:function(n,t){u(n)?(t=n,n=["*"]):n=n.match(a);for(var i,r=0,f=n.length;r<f;r++)i=n[r],v.tweeners[i]=v.tweeners[i]||[],v.tweeners[i].unshift(t)},prefilters:[oo],prefilter:function(n,t){t?v.prefilters.unshift(n):v.prefilters.push(n)}});i.speed=function(n,t,r){var f=n&&typeof n=="object"?i.extend({},n):{complete:r||!r&&t||u(n)&&n,duration:n,easing:r&&t||t&&!u(t)&&t};return i.fx.off?f.duration=0:typeof f.duration!="number"&&(f.duration=f.duration in i.fx.speeds?i.fx.speeds[f.duration]:i.fx.speeds._default),(f.queue==null||f.queue===!0)&&(f.queue="fx"),f.old=f.complete,f.complete=function(){u(f.old)&&f.old.call(this);f.queue&&i.dequeue(this,f.queue)},f};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(bt).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){var s=i.isEmptyObject(n),o=i.speed(t,u,f),e=function(){var t=v(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)};return e.finish=e,s||o.queue===!1?this.each(e):this.queue(o.queue,e)},stop:function(n,t,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return typeof n!="string"&&(u=t,t=n,n=undefined),t&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=n!=null&&n+"queueHooks",o=i.timers,e=r.get(this);if(t)e[t]&&e[t].stop&&f(e[t]);else for(t in e)e[t]&&e[t].stop&&ff.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem===this&&(n==null||o[t].queue===n)&&(o[t].anim.stop(u),s=!1,o.splice(t,1));(s||!u)&&i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,e=r.get(this),u=e[n+"queue"],o=e[n+"queueHooks"],f=i.timers,s=u?u.length:0;for(e.finish=!0,i.queue(this,n,[]),o&&o.stop&&o.stop.call(this,!0),t=f.length;t--;)f[t].elem===this&&f[t].queue===n&&(f[t].anim.stop(!0),f.splice(t,1));for(t=0;t<s;t++)u[t]&&u[t].finish&&u[t].finish.call(this);delete e.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return n==null||typeof n=="boolean"?r.apply(this,arguments):this.animate(hi(t,!0),n,i,u)}});i.each({slideDown:hi("show"),slideUp:hi("hide"),slideToggle:hi("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.timers=[];i.fx.tick=function(){var r,n=0,t=i.timers;for(ct=Date.now();n<t.length;n++)r=t[n],r()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();ct=undefined};i.fx.timer=function(n){i.timers.push(n);i.fx.start()};i.fx.interval=13;i.fx.start=function(){si||(si=!0,tr())};i.fx.stop=function(){si=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(t,r){return t=i.fx?i.fx.speeds[t]||t:t,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})},function(){var n=f.createElement("input"),t=f.createElement("select"),i=t.appendChild(f.createElement("option"));n.type="checkbox";e.checkOn=n.value!=="";e.optSelected=i.selected;n=f.createElement("input");n.value="t";n.type="radio";e.radioValue=n.value==="t"}();lt=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return p(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var u,f,e=n.nodeType;if(e!==3&&e!==8&&e!==2){if(typeof n.getAttribute=="undefined")return i.prop(n,t,r);if(e===1&&i.isXMLDoc(n)||(f=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?sf:undefined)),r!==undefined){if(r===null){i.removeAttr(n,t);return}return f&&"set"in f&&(u=f.set(n,r,t))!==undefined?u:(n.setAttribute(t,r+""),r)}return f&&"get"in f&&(u=f.get(n,t))!==null?u:(u=i.find.attr(n,t),u==null?undefined:u)}},attrHooks:{type:{set:function(n,t){if(!e.radioValue&&t==="radio"&&l(n,"input")){var i=n.value;return n.setAttribute("type",t),i&&(n.value=i),t}}}},removeAttr:function(n,t){var i,u=0,r=t&&t.match(a);if(r&&n.nodeType===1)while(i=r[u++])n.removeAttribute(i)}});sf={set:function(n,t,r){return t===!1?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=lt[t]||i.find.attr;lt[t]=function(n,t,i){var f,e,u=t.toLowerCase();return i||(e=lt[u],lt[u]=f,f=r(n,t,i)!=null?u:null,lt[u]=e),f}});hf=/^(?:input|select|textarea|button)$/i;cf=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return p(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return this.each(function(){delete this[i.propFix[n]||n]})}});i.extend({prop:function(n,t,r){var f,u,e=n.nodeType;if(e!==3&&e!==8&&e!==2)return(e===1&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),r!==undefined)?u&&"set"in u&&(f=u.set(n,r,t))!==undefined?f:n[t]=r:u&&"get"in u&&(f=u.get(n,t))!==null?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):hf.test(n.nodeName)||cf.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});e.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(n){var t=n.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});i.fn.extend({addClass:function(n){var f,r,t,e,o,h,s,c=0;if(u(n))return this.each(function(t){i(this).addClass(n.call(this,t,nt(this)))});if(f=ir(n),f.length)while(r=this[c++])if(e=nt(r),t=r.nodeType===1&&" "+g(e)+" ",t){for(h=0;o=f[h++];)t.indexOf(" "+o+" ")<0&&(t+=o+" ");s=g(t);e!==s&&r.setAttribute("class",s)}return this},removeClass:function(n){var f,r,t,e,o,h,s,c=0;if(u(n))return this.each(function(t){i(this).removeClass(n.call(this,t,nt(this)))});if(!arguments.length)return this.attr("class","");if(f=ir(n),f.length)while(r=this[c++])if(e=nt(r),t=r.nodeType===1&&" "+g(e)+" ",t){for(h=0;o=f[h++];)while(t.indexOf(" "+o+" ")>-1)t=t.replace(" "+o+" "," ");s=g(t);e!==s&&r.setAttribute("class",s)}return this},toggleClass:function(n,t){var f=typeof n,e=f==="string"||Array.isArray(n);return typeof t=="boolean"&&e?t?this.addClass(n):this.removeClass(n):u(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,nt(this),t),t)}):this.each(function(){var t,o,u,s;if(e)for(o=0,u=i(this),s=ir(n);t=s[o++];)u.hasClass(t)?u.removeClass(t):u.addClass(t);else(n===undefined||f==="boolean")&&(t=nt(this),t&&r.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||n===!1?"":r.get(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(t.nodeType===1&&(" "+g(nt(t))+" ").indexOf(i)>-1)return!0;return!1}});lf=/\r/g;i.fn.extend({val:function(n){var t,r,e,f=this[0];return arguments.length?(e=u(n),this.each(function(r){var u;this.nodeType===1&&(u=e?n.call(this,r,i(this).val()):n,u==null?u="":typeof u=="number"?u+="":Array.isArray(u)&&(u=i.map(u,function(n){return n==null?"":n+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&t.set(this,u,"value")!==undefined||(this.value=u))})):f?(t=i.valHooks[f.type]||i.valHooks[f.nodeName.toLowerCase()],t&&"get"in t&&(r=t.get(f,"value"))!==undefined)?r:(r=f.value,typeof r=="string")?r.replace(lf,""):r==null?"":r:void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return t!=null?t:g(i.text(n))}},select:{get:function(n){for(var e,t,o=n.options,u=n.selectedIndex,f=n.type==="select-one",s=f?null:[],h=f?u+1:o.length,r=u<0?h:f?u:0;r<h;r++)if(t=o[r],(t.selected||r===u)&&!t.disabled&&(!t.parentNode.disabled||!l(t.parentNode,"optgroup"))){if(e=i(t).val(),f)return e;s.push(e)}return s},set:function(n,t){for(var u,r,f=n.options,e=i.makeArray(t),o=f.length;o--;)r=f[o],(r.selected=i.inArray(i.valHooks.option.get(r),e)>-1)&&(u=!0);return u||(n.selectedIndex=-1),e}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(Array.isArray(t))return n.checked=i.inArray(i(n).val(),t)>-1}};e.checkOn||(i.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value})});e.focusin="onfocusin"in n;rr=/^(?:focusinfocus|focusoutblur)$/;ur=function(n){n.stopPropagation()};i.extend(i.event,{trigger:function(t,e,o,s){var k,c,l,d,v,y,a,w,b=[o||f],h=ii.call(t,"type")?t.type:t,p=ii.call(t,"namespace")?t.namespace.split("."):[];if((c=w=l=o=o||f,o.nodeType!==3&&o.nodeType!==8)&&!rr.test(h+i.event.triggered)&&(h.indexOf(".")>-1&&(p=h.split("."),h=p.shift(),p.sort()),v=h.indexOf(":")<0&&"on"+h,t=t[i.expando]?t:new i.Event(h,typeof t=="object"&&t),t.isTrigger=s?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=o),e=e==null?[t]:i.makeArray(e,[t]),a=i.event.special[h]||{},s||!a.trigger||a.trigger.apply(o,e)!==!1)){if(!s&&!a.noBubble&&!tt(o)){for(d=a.delegateType||h,rr.test(d+h)||(c=c.parentNode);c;c=c.parentNode)b.push(c),l=c;l===(o.ownerDocument||f)&&b.push(l.defaultView||l.parentWindow||n)}for(k=0;(c=b[k++])&&!t.isPropagationStopped();)w=c,t.type=k>1?d:a.bindType||h,y=(r.get(c,"events")||{})[t.type]&&r.get(c,"handle"),y&&y.apply(c,e),y=v&&c[v],y&&y.apply&&vt(c)&&(t.result=y.apply(c,e),t.result===!1&&t.preventDefault());return t.type=h,s||t.isDefaultPrevented()||(!a._default||a._default.apply(b.pop(),e)===!1)&&vt(o)&&v&&u(o[h])&&!tt(o)&&(l=o[v],l&&(o[v]=null),i.event.triggered=h,t.isPropagationStopped()&&w.addEventListener(h,ur),o[h](),t.isPropagationStopped()&&w.removeEventListener(h,ur),i.event.triggered=undefined,l&&(o[v]=l)),t.result}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t)}});i.fn.extend({trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});e.focusin||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=function(n){i.event.simulate(t,n.target,i.event.fix(n))};i.event.special[t]={setup:function(){var i=this.ownerDocument||this,f=r.access(i,t);f||i.addEventListener(n,u,!0);r.access(i,t,(f||0)+1)},teardown:function(){var i=this.ownerDocument||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});var gt=n.location,af=Date.now(),fr=/\?/;i.parseXML=function(t){var r;if(!t||typeof t!="string")return null;try{r=(new n.DOMParser).parseFromString(t,"text/xml")}catch(u){r=undefined}return(!r||r.getElementsByTagName("parsererror").length)&&i.error("Invalid XML: "+t),r};var ho=/\[\]$/,vf=/\r?\n/g,co=/^(?:submit|button|image|reset|file)$/i,lo=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){var r,f=[],e=function(n,t){var i=u(t)?t():t;f[f.length]=encodeURIComponent(n)+"="+encodeURIComponent(i==null?"":i)};if(n==null)return"";if(Array.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(r in n)er(r,n[r],t,e);return f.join("&")};i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&lo.test(this.nodeName)&&!co.test(n)&&(this.checked||!kt.test(n))}).map(function(n,t){var r=i(this).val();return r==null?null:Array.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(vf,"\r\n")}}):{name:t.name,value:r.replace(vf,"\r\n")}}).get()}});var ao=/%20/g,vo=/#.*$/,yo=/([?&])_=[^&]*/,po=/^(.*?):[ \t]*([^\r\n]*)$/mg,wo=/^(?:GET|HEAD)$/,bo=/^\/\//,yf={},or={},pf="*/".concat("*"),sr=f.createElement("a");return sr.href=gt.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:gt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(gt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":pf,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?hr(hr(n,i.ajaxSettings),t):hr(i.ajaxSettings,n)},ajaxPrefilter:wf(yf),ajaxTransport:wf(or),ajax:function(t,r){function b(t,r,f,l){var v,rt,g,p,b,a=r;s||(s=!0,d&&n.clearTimeout(d),c=undefined,k=l||"",e.readyState=t>0?4:0,v=t>=200&&t<300||t===304,f&&(p=ko(u,e,f)),p=go(u,p,e,v),v?(u.ifModified&&(b=e.getResponseHeader("Last-Modified"),b&&(i.lastModified[o]=b),b=e.getResponseHeader("etag"),b&&(i.etag[o]=b)),t===204||u.type==="HEAD"?a="nocontent":t===304?a="notmodified":(a=p.state,rt=p.data,g=p.error,v=!g)):(g=a,(t||!a)&&(a="error",t<0&&(t=0))),e.status=t,e.statusText=(r||a)+"",v?tt.resolveWith(h,[rt,a,e]):tt.rejectWith(h,[e,a,g]),e.statusCode(w),w=undefined,y&&nt.trigger(v?"ajaxSuccess":"ajaxError",[e,u,v?rt:g]),it.fireWith(h,[e,a]),y&&(nt.trigger("ajaxComplete",[e,u]),--i.active||i.event.trigger("ajaxStop")))}typeof t=="object"&&(r=t,t=undefined);r=r||{};var c,o,k,v,d,l,s,y,g,p,u=i.ajaxSetup({},r),h=u.context||u,nt=u.context&&(h.nodeType||h.jquery)?i(h):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),w=u.statusCode||{},rt={},ut={},ft="canceled",e={readyState:0,getResponseHeader:function(n){var t;if(s){if(!v)for(v={};t=po.exec(k);)v[t[1].toLowerCase()+" "]=(v[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=v[n.toLowerCase()+" "]}return t==null?null:t.join(", ")},getAllResponseHeaders:function(){return s?k:null},setRequestHeader:function(n,t){return s==null&&(n=ut[n.toLowerCase()]=ut[n.toLowerCase()]||n,rt[n]=t),this},overrideMimeType:function(n){return s==null&&(u.mimeType=n),this},statusCode:function(n){var t;if(n)if(s)e.always(n[e.status]);else for(t in n)w[t]=[w[t],n[t]];return this},abort:function(n){var t=n||ft;return c&&c.abort(t),b(0,t),this}};if(tt.promise(e),u.url=((t||u.url||gt.href)+"").replace(bo,gt.protocol+"//"),u.type=r.method||r.type||u.method||u.type,u.dataTypes=(u.dataType||"*").toLowerCase().match(a)||[""],u.crossDomain==null){l=f.createElement("a");try{l.href=u.url;l.href=l.href;u.crossDomain=sr.protocol+"//"+sr.host!=l.protocol+"//"+l.host}catch(et){u.crossDomain=!0}}if(u.data&&u.processData&&typeof u.data!="string"&&(u.data=i.param(u.data,u.traditional)),bf(yf,u,r,e),s)return e;y=i.event&&u.global;y&&i.active++==0&&i.event.trigger("ajaxStart");u.type=u.type.toUpperCase();u.hasContent=!wo.test(u.type);o=u.url.replace(vo,"");u.hasContent?u.data&&u.processData&&(u.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(u.data=u.data.replace(ao,"+")):(p=u.url.slice(o.length),u.data&&(u.processData||typeof u.data=="string")&&(o+=(fr.test(o)?"&":"?")+u.data,delete u.data),u.cache===!1&&(o=o.replace(yo,"$1"),p=(fr.test(o)?"&":"?")+"_="+af+++p),u.url=o+p);u.ifModified&&(i.lastModified[o]&&e.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&e.setRequestHeader("If-None-Match",i.etag[o]));(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&e.setRequestHeader("Content-Type",u.contentType);e.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+(u.dataTypes[0]!=="*"?", "+pf+"; q=0.01":""):u.accepts["*"]);for(g in u.headers)e.setRequestHeader(g,u.headers[g]);if(u.beforeSend&&(u.beforeSend.call(h,e,u)===!1||s))return e.abort();if(ft="abort",it.add(u.complete),e.done(u.success),e.fail(u.error),c=bf(or,u,r,e),c){if(e.readyState=1,y&&nt.trigger("ajaxSend",[e,u]),s)return e;u.async&&u.timeout>0&&(d=n.setTimeout(function(){e.abort("timeout")},u.timeout));try{s=!1;c.send(rt,b)}catch(et){if(s)throw et;b(-1,et)}}else b(-1,"No Transport");return e},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,undefined,t,"script")}}),i.each(["get","post"],function(n,t){i[t]=function(n,r,f,e){return u(r)&&(e=e||f,f=r,r=undefined),i.ajax(i.extend({url:n,type:t,dataType:e,data:r,success:f},i.isPlainObject(n)&&n))}}),i._evalUrl=function(n,t){return i.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(n){i.globalEval(n,t)}})},i.fn.extend({wrapAll:function(n){var t;return this[0]&&(u(n)&&(n=n.call(this[0])),t=i(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(n){return u(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=u(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(n){return this.parent(n).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(n){return!i.expr.pseudos.visible(n)},i.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}},kf={0:200,1223:204},at=i.ajaxSettings.xhr(),e.cors=!!at&&"withCredentials"in at,e.ajax=at=!!at,i.ajaxTransport(function(t){var i,r;if(e.cors||at&&!t.crossDomain)return{send:function(u,f){var o,e=t.xhr();if(e.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)e[o]=t.xhrFields[o];t.mimeType&&e.overrideMimeType&&e.overrideMimeType(t.mimeType);t.crossDomain||u["X-Requested-With"]||(u["X-Requested-With"]="XMLHttpRequest");for(o in u)e.setRequestHeader(o,u[o]);i=function(n){return function(){i&&(i=r=e.onload=e.onerror=e.onabort=e.ontimeout=e.onreadystatechange=null,n==="abort"?e.abort():n==="error"?typeof e.status!="number"?f(0,"error"):f(e.status,e.statusText):f(kf[e.status]||e.status,e.statusText,(e.responseType||"text")!=="text"||typeof e.responseText!="string"?{binary:e.response}:{text:e.responseText},e.getAllResponseHeaders()))}};e.onload=i();r=e.onerror=e.ontimeout=i("error");e.onabort!==undefined?e.onabort=r:e.onreadystatechange=function(){e.readyState===4&&n.setTimeout(function(){i&&r()})};i=i("abort");try{e.send(t.hasContent&&t.data||null)}catch(s){if(i)throw s;}},abort:function(){i&&i()}}}),i.ajaxPrefilter(function(n){n.crossDomain&&(n.contents.script=!1)}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){n.cache===undefined&&(n.cache=!1);n.crossDomain&&(n.type="GET")}),i.ajaxTransport("script",function(n){if(n.crossDomain||n.scriptAttrs){var r,t;return{send:function(u,e){r=i("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e(n.type==="error"?404:200,n.type)});f.head.appendChild(r[0])},abort:function(){t&&t()}}}}),cr=[],ci=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=cr.pop()||i.expando+"_"+af++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,f){var e,o,s,h=t.jsonp!==!1&&(ci.test(t.url)?"url":typeof t.data=="string"&&(t.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&ci.test(t.data)&&"data");if(h||t.dataTypes[0]==="jsonp")return e=t.jsonpCallback=u(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,h?t[h]=t[h].replace(ci,"$1"+e):t.jsonp!==!1&&(t.url+=(fr.test(t.url)?"&":"?")+t.jsonp+"="+e),t.converters["script json"]=function(){return s||i.error(e+" was not called"),s[0]},t.dataTypes[0]="json",o=n[e],n[e]=function(){s=arguments},f.always(function(){o===undefined?i(n).removeProp(e):n[e]=o;t[e]&&(t.jsonpCallback=r.jsonpCallback,cr.push(e));s&&u(o)&&o(s[0]);s=o=undefined}),"script"}),e.createHTMLDocument=function(){var n=f.implementation.createHTMLDocument("").body;return n.innerHTML="<form><\/form><form><\/form>",n.childNodes.length===2}(),i.parseHTML=function(n,t,r){if(typeof n!="string")return[];typeof t=="boolean"&&(r=t,t=!1);var s,u,o;return(t||(e.createHTMLDocument?(t=f.implementation.createHTMLDocument(""),s=t.createElement("base"),s.href=f.location.href,t.head.appendChild(s)):t=f),u=vi.exec(n),o=!r&&[],u)?[t.createElement(u[1])]:(u=lu([n],t,o),o&&o.length&&i(o).remove(),i.merge([],u.childNodes))},i.fn.load=function(n,t,r){var f,s,h,e=this,o=n.indexOf(" ");return o>-1&&(f=g(n.slice(o)),n=n.slice(0,o)),u(t)?(r=t,t=undefined):t&&typeof t=="object"&&(s="POST"),e.length>0&&i.ajax({url:n,type:s||"GET",dataType:"html",data:t}).done(function(n){h=arguments;e.html(f?i("<div>").append(i.parseHTML(n)).find(f):n)}).always(r&&function(n,t){e.each(function(){r.apply(this,h||[n.responseText,t,n])})}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.pseudos.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},i.offset={setOffset:function(n,t,r){var o,s,h,c,f,l,y,a=i.css(n,"position"),v=i(n),e={};a==="static"&&(n.style.position="relative");f=v.offset();h=i.css(n,"top");l=i.css(n,"left");y=(a==="absolute"||a==="fixed")&&(h+l).indexOf("auto")>-1;y?(o=v.position(),c=o.top,s=o.left):(c=parseFloat(h)||0,s=parseFloat(l)||0);u(t)&&(t=t.call(n,r,i.extend({},f)));t.top!=null&&(e.top=t.top-f.top+c);t.left!=null&&(e.left=t.left-f.left+s);"using"in t?t.using.call(n,e):v.css(e)}},i.fn.extend({offset:function(n){if(arguments.length)return n===undefined?this:this.each(function(t){i.offset.setOffset(this,n,t)});var r,u,t=this[0];if(t)return t.getClientRects().length?(r=t.getBoundingClientRect(),u=t.ownerDocument.defaultView,{top:r.top+u.pageYOffset,left:r.left+u.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var n,u,f,t=this[0],r={top:0,left:0};if(i.css(t,"position")==="fixed")u=t.getBoundingClientRect();else{for(u=this.offset(),f=t.ownerDocument,n=t.offsetParent||f.documentElement;n&&(n===f.body||n===f.documentElement)&&i.css(n,"position")==="static";)n=n.parentNode;n&&n!==t&&n.nodeType===1&&(r=i(n).offset(),r.top+=i.css(n,"borderTopWidth",!0),r.left+=i.css(n,"borderLeftWidth",!0))}return{top:u.top-r.top-i.css(t,"marginTop",!0),left:u.left-r.left-i.css(t,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&i.css(n,"position")==="static";)n=n.offsetParent;return n||wt})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(i){return p(this,function(n,i,u){var f;if(tt(n)?f=n:n.nodeType===9&&(f=n.defaultView),u===undefined)return f?f[t]:n[i];f?f.scrollTo(r?f.pageXOffset:u,r?u:f.pageYOffset):n[i]=u},n,i,arguments.length)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=wu(e.pixelPosition,function(n,r){if(r)return r=dt(n,t),di.test(r)?i(n).position()[t]+"px":r})}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(f,e){var o=arguments.length&&(r||typeof f!="boolean"),s=r||(f===!0||e===!0?"margin":"border");return p(this,function(t,r,f){var e;return tt(t)?u.indexOf("outer")===0?t["inner"+n]:t.document.documentElement["client"+n]:t.nodeType===9?(e=t.documentElement,Math.max(t.body["scroll"+n],e["scroll"+n],t.body["offset"+n],e["offset"+n],e["client"+n])):f===undefined?i.css(t,r,s):i.style(t,r,f,s)},t,o?f:undefined,o)}})}),i.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}}),i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}}),i.fn.extend({bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return arguments.length===1?this.off(n,"**"):this.off(t,n||"**",i)}}),i.proxy=function(n,t){var f,e,r;return(typeof t=="string"&&(f=n[t],t=n,n=f),!u(n))?undefined:(e=b.call(arguments,2),r=function(){return n.apply(t||this,e.concat(b.call(arguments)))},r.guid=n.guid=n.guid||i.guid++,r)},i.holdReady=function(n){n?i.readyWait++:i.ready(!0)},i.isArray=Array.isArray,i.parseJSON=JSON.parse,i.nodeName=l,i.isFunction=u,i.isWindow=tt,i.camelCase=y,i.type=it,i.now=Date.now,i.isNumeric=function(n){var t=i.type(n);return(t==="number"||t==="string")&&!isNaN(n-parseFloat(n))},typeof define=="function"&&define.amd&&define("jquery",[],function(){return i}),df=n.jQuery,gf=n.$,i.noConflict=function(t){return n.$===i&&(n.$=gf),t&&n.jQuery===i&&(n.jQuery=df),i},t||(n.jQuery=n.$=i),i}),function(n,t){typeof exports=="object"&&typeof module!="undefined"?t(exports,require("jquery")):typeof define=="function"&&define.amd?define(["exports","jquery"],t):(n=n||self,t(n.bootstrap={},n.jQuery))}(this,function(n,t){"use strict";function af(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function p(n,t,i){return t&&af(n.prototype,t),i&&af(n,i),n}function fo(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function e(n){for(var i,r,t=1;t<arguments.length;t++)i=arguments[t]!=null?arguments[t]:{},r=Object.keys(i),typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(i).filter(function(n){return Object.getOwnPropertyDescriptor(i,n).enumerable}))),r.forEach(function(t){fo(n,t,i[t])});return n}function eo(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.__proto__=t}function ho(n){return{}.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase()}function co(){return{bindType:cr,delegateType:cr,handle:function(n){return t(n.target).is(this)?n.handleObj.handler.apply(this,arguments):undefined}}}function lo(n){var u=this,r=!1;t(this).one(i.TRANSITION_END,function(){r=!0});return setTimeout(function(){r||i.triggerTransitionEnd(u)},n),this}function ao(){t.fn.emulateTransitionEnd=lo;t.event.special[i.TRANSITION_END]=co()}function os(n){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1;n()}))}}function ss(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1;n()},bf))}}function gf(n){return n&&{}.toString.call(n)==="[object Function]"}function yt(n,t){if(n.nodeType!==1)return[];var r=n.ownerDocument.defaultView,i=r.getComputedStyle(n,null);return t?i[t]:i}function pu(n){return n.nodeName==="HTML"?n:n.parentNode||n.host}function gi(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var t=yt(n),i=t.overflow,r=t.overflowX,u=t.overflowY;return/(auto|scroll|overlay)/.test(i+u+r)?n:gi(pu(n))}function ii(n){return n===11?wu:n===10?bu:wu||bu}function ri(n){var r,t,i;if(!n)return document.documentElement;for(r=ii(10)?document.body:null,t=n.offsetParent||null;t===r&&n.nextElementSibling;)t=(n=n.nextElementSibling).offsetParent;return(i=t&&t.nodeName,!i||i==="BODY"||i==="HTML")?n?n.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(t.nodeName)!==-1&&yt(t,"position")==="static"?ri(t):t}function hs(n){var t=n.nodeName;return t==="BODY"?!1:t==="HTML"||ri(n.firstElementChild)===n}function ku(n){return n.parentNode!==null?ku(n.parentNode):n}function yr(n,t){var i,u;if(!n||!n.nodeType||!t||!t.nodeType)return document.documentElement;var f=n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,e=f?n:t,o=f?t:n,r=document.createRange();return(r.setStart(e,0),r.setEnd(o,0),i=r.commonAncestorContainer,n!==i&&t!==i||e.contains(o))?hs(i)?i:ri(i):(u=ku(n),u.host?yr(u.host,t):yr(n,ku(t).host))}function ui(n){var f=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"top",t=f==="top"?"scrollTop":"scrollLeft",i=n.nodeName,r,u;return i==="BODY"||i==="HTML"?(r=n.ownerDocument.documentElement,u=n.ownerDocument.scrollingElement||r,u[t]):n[t]}function cs(n,t){var f=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1,r=ui(t,"top"),u=ui(t,"left"),i=f?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=u*i,n.right+=u*i,n}function ne(n,t){var i=t==="x"?"Left":"Top",r=i==="Left"?"Right":"Bottom";return parseFloat(n["border"+i+"Width"],10)+parseFloat(n["border"+r+"Width"],10)}function te(n,t,i,r){return Math.max(t["offset"+n],t["scroll"+n],i["client"+n],i["offset"+n],i["scroll"+n],ii(10)?parseInt(i["offset"+n])+parseInt(r["margin"+(n==="Height"?"Top":"Left")])+parseInt(r["margin"+(n==="Height"?"Bottom":"Right")]):0)}function ie(n){var i=n.body,t=n.documentElement,r=ii(10)&&getComputedStyle(t);return{height:te("Height",i,t,r),width:te("Width",i,t,r)}}function et(n){return a({},n,{right:n.left+n.width,bottom:n.top+n.height})}function du(n){var t={},r,u,o;try{ii(10)?(t=n.getBoundingClientRect(),r=ui(n,"top"),u=ui(n,"left"),t.top+=r,t.left+=u,t.bottom+=r,t.right+=u):t=n.getBoundingClientRect()}catch(l){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},s=n.nodeName==="HTML"?ie(n.ownerDocument):{},h=s.width||n.clientWidth||i.right-i.left,c=s.height||n.clientHeight||i.bottom-i.top,f=n.offsetWidth-h,e=n.offsetHeight-c;return(f||e)&&(o=yt(n),f-=ne(o,"x"),e-=ne(o,"y"),i.width-=f,i.height-=e),et(i)}function gu(n,t){var l=arguments.length>2&&arguments[2]!==undefined?arguments[2]:!1,a=ii(10),v=t.nodeName==="HTML",u=du(n),r=du(t),s=gi(n),f=yt(t),h=parseFloat(f.borderTopWidth,10),c=parseFloat(f.borderLeftWidth,10),i,e,o;return l&&v&&(r.top=Math.max(r.top,0),r.left=Math.max(r.left,0)),i=et({top:u.top-r.top-h,left:u.left-r.left-c,width:u.width,height:u.height}),i.marginTop=0,i.marginLeft=0,!a&&v&&(e=parseFloat(f.marginTop,10),o=parseFloat(f.marginLeft,10),i.top-=h-e,i.bottom-=h-e,i.left-=c-o,i.right-=c-o,i.marginTop=e,i.marginLeft=o),(a&&!l?t.contains(s):t===s&&s.nodeName!=="BODY")&&(i=cs(i,t)),i}function vs(n){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1,t=n.ownerDocument.documentElement,i=gu(n,t),u=Math.max(t.clientWidth,window.innerWidth||0),f=Math.max(t.clientHeight,window.innerHeight||0),e=r?0:ui(t),o=r?0:ui(t,"left"),s={top:e-i.top+i.marginTop,left:o-i.left+i.marginLeft,width:u,height:f};return et(s)}function re(n){var i=n.nodeName,t;return i==="BODY"||i==="HTML"?!1:yt(n,"position")==="fixed"?!0:(t=pu(n),!t)?!1:re(t)}function ue(n){if(!n||!n.parentElement||ii())return document.documentElement;for(var t=n.parentElement;t&&yt(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function nf(n,t,i,r){var s=arguments.length>4&&arguments[4]!==undefined?arguments[4]:!1,u={top:0,left:0},h=s?ue(n):yr(n,t),e,f,o;if(r==="viewport")u=vs(h,s);else if(e=void 0,r==="scrollParent"?(e=gi(pu(t)),e.nodeName==="BODY"&&(e=n.ownerDocument.documentElement)):e=r==="window"?n.ownerDocument.documentElement:r,f=gu(e,h,s),e.nodeName!=="HTML"||re(h))u=f;else{var c=ie(n.ownerDocument),l=c.height,a=c.width;u.top+=f.top-f.marginTop;u.bottom=l+f.top;u.left+=f.left-f.marginLeft;u.right=a+f.left}return i=i||0,o=typeof i=="number",u.left+=o?i:i.left||0,u.top+=o?i:i.top||0,u.right-=o?i:i.right||0,u.bottom-=o?i:i.bottom||0,u}function ys(n){var t=n.width,i=n.height;return t*i}function fe(n,t,i,r,u){var c=arguments.length>5&&arguments[5]!==undefined?arguments[5]:0;if(n.indexOf("auto")===-1)return n;var f=nf(i,r,c,u),e={top:{width:f.width,height:t.top-f.top},right:{width:f.right-t.right,height:f.height},bottom:{width:f.width,height:f.bottom-t.bottom},left:{width:t.left-f.left,height:f.height}},o=Object.keys(e).map(function(n){return a({key:n},e[n],{area:ys(e[n])})}).sort(function(n,t){return t.area-n.area}),s=o.filter(function(n){var t=n.width,r=n.height;return t>=i.clientWidth&&r>=i.clientHeight}),l=s.length>0?s[0].key:o[0].key,h=n.split("-")[1];return l+(h?"-"+h:"")}function ee(n,t,i){var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null,u=r?ue(t):yr(t,i);return gu(i,u,r)}function oe(n){var i=n.ownerDocument.defaultView,t=i.getComputedStyle(n),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),u=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:n.offsetWidth+u,height:n.offsetHeight+r}}function pr(n){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,function(n){return t[n]})}function se(n,t,i){i=i.split("-")[0];var r=oe(n),e={width:r.width,height:r.height},u=["right","left"].indexOf(i)!==-1,o=u?"top":"left",f=u?"left":"top",s=u?"height":"width",h=u?"width":"height";return e[o]=t[o]+t[s]/2-r[s]/2,e[f]=i===f?t[f]-r[h]:t[pr(f)],e}function nr(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function ps(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=nr(n,function(n){return n[t]===i});return n.indexOf(r)}function he(n,t,i){var r=i===undefined?n:n.slice(0,ps(n,"name",i));return r.forEach(function(n){n["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=n["function"]||n.fn;n.enabled&&gf(i)&&(t.offsets.popper=et(t.offsets.popper),t.offsets.reference=et(t.offsets.reference),t=i(t,n))}),t}function ws(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};if(n.offsets.reference=ee(this.state,this.popper,this.reference,this.options.positionFixed),n.placement=fe(this.options.placement,n.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),n.originalPlacement=n.placement,n.positionFixed=this.options.positionFixed,n.offsets.popper=se(this.popper,n.offsets.reference,n.placement),n.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",n=he(this.modifiers,n),this.state.isCreated)this.options.onUpdate(n);else{this.state.isCreated=!0;this.options.onCreate(n)}}}function ce(n,t){return n.some(function(n){var i=n.name,r=n.enabled;return r&&i===t})}function tf(n){for(var i,r,u=[!1,"ms","Webkit","Moz","O"],f=n.charAt(0).toUpperCase()+n.slice(1),t=0;t<u.length;t++)if(i=u[t],r=i?""+i+f:n,typeof document.body.style[r]!="undefined")return r;return null}function bs(){return this.state.isDestroyed=!0,ce(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[tf("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function le(n){var t=n.ownerDocument;return t?t.defaultView:window}function ae(n,t,i,r){var f=n.nodeName==="BODY",u=f?n.ownerDocument.defaultView:n;u.addEventListener(t,i,{passive:!0});f||ae(gi(u.parentNode),t,i,r);r.push(u)}function ks(n,t,i,r){i.updateBound=r;le(n).addEventListener("resize",i.updateBound,{passive:!0});var u=gi(n);return ae(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}function ds(){this.state.eventsEnabled||(this.state=ks(this.reference,this.options,this.state,this.scheduleUpdate))}function gs(n,t){return le(n).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(n){n.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function nh(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=gs(this.reference,this.state))}function rf(n){return n!==""&&!isNaN(parseFloat(n))&&isFinite(n)}function uf(n,t){Object.keys(t).forEach(function(i){var r="";["width","height","top","right","bottom","left"].indexOf(i)!==-1&&rf(t[i])&&(r="px");n.style[i]=t[i]+r})}function th(n,t){Object.keys(t).forEach(function(i){var r=t[i];r!==!1?n.setAttribute(i,t[i]):n.removeAttribute(i)})}function ih(n){return uf(n.instance.popper,n.styles),th(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&uf(n.arrowElement,n.arrowStyles),n}function rh(n,t,i,r,u){var f=ee(u,t,n,i.positionFixed),e=fe(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),uf(t,{position:i.positionFixed?"fixed":"absolute"}),i}function uh(n,t){var u=n.offsets,i=u.popper,l=u.reference,r=Math.round,a=Math.floor,f=function(n){return n},e=r(l.width),o=r(i.width),v=["left","right"].indexOf(n.placement)!==-1,s=n.placement.indexOf("-")!==-1,y=e%2==o%2,p=e%2==1&&o%2==1,h=t?v||s||y?r:a:f,c=t?r:f;return{left:h(p&&!s&&t?i.left-1:i.left),top:c(i.top),bottom:c(i.bottom),right:h(i.right)}}function fh(n,t){var w=t.x,b=t.y,k=n.offsets.popper,o=nr(n.instance.modifiers,function(n){return n.name==="applyStyle"}).gpuAcceleration,v,y,p;o!==undefined&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var d=o!==undefined?o:t.gpuAcceleration,u=ri(n.instance.popper),c=du(u),i={position:k.position},r=uh(n,window.devicePixelRatio<2||!ve),f=w==="bottom"?"top":"bottom",e=b==="right"?"left":"right",l=tf("transform"),s=void 0,h=void 0;return h=f==="bottom"?u.nodeName==="HTML"?-u.clientHeight+r.bottom:-c.height+r.bottom:r.top,s=e==="right"?u.nodeName==="HTML"?-u.clientWidth+r.right:-c.width+r.right:r.left,d&&l?(i[l]="translate3d("+s+"px, "+h+"px, 0)",i[f]=0,i[e]=0,i.willChange="transform"):(v=f==="bottom"?-1:1,y=e==="right"?-1:1,i[f]=h*v,i[e]=s*y,i.willChange=f+", "+e),p={"x-placement":n.placement},n.attributes=a({},p,n.attributes),n.styles=a({},i,n.styles),n.arrowStyles=a({},n.offsets.arrow,n.arrowStyles),n}function ye(n,t,i){var u=nr(n,function(n){var i=n.name;return i===t}),f=!!u&&n.some(function(n){return n.name===i&&n.enabled&&n.order<u.order}),r,e;return f||(r="`"+t+"`",e="`"+i+"`",console.warn(e+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")),f}function eh(n,t){var o,r;if(!ye(n.instance.modifiers,"arrow","keepTogether"))return n;if(r=t.element,typeof r=="string"){if(r=n.instance.popper.querySelector(r),!r)return n}else if(!n.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var p=n.placement.split("-")[0],v=n.offsets,e=v.popper,u=v.reference,s=["left","right"].indexOf(p)!==-1,c=s?"height":"width",l=s?"Top":"Left",i=l.toLowerCase(),w=s?"left":"top",h=s?"bottom":"right",f=oe(r)[c];u[h]-f<e[i]&&(n.offsets.popper[i]-=e[i]-(u[h]-f));u[i]+f>e[h]&&(n.offsets.popper[i]+=u[i]+f-e[h]);n.offsets.popper=et(n.offsets.popper);var b=u[i]+u[c]/2-f/2,y=yt(n.instance.popper),k=parseFloat(y["margin"+l],10),d=parseFloat(y["border"+l+"Width"],10),a=b-n.offsets.popper[i]-k-d;return a=Math.max(Math.min(e[c]-f,a),0),n.arrowElement=r,n.offsets.arrow=(o={},fi(o,i,Math.round(a)),fi(o,w,""),o),n}function oh(n){return n==="end"?"start":n==="start"?"end":n}function pe(n){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:!1,t=wr.indexOf(n),i=wr.slice(t+1).concat(wr.slice(0,t));return r?i.reverse():i}function sh(n,t){if(ce(n.instance.modifiers,"inner")||n.flipped&&n.placement===n.originalPlacement)return n;var f=nf(n.instance.popper,n.instance.reference,t.padding,t.boundariesElement,n.positionFixed),i=n.placement.split("-")[0],e=pr(i),r=n.placement.split("-")[1]||"",u=[];switch(t.behavior){case br.FLIP:u=[i,e];break;case br.CLOCKWISE:u=pe(i);break;case br.COUNTERCLOCKWISE:u=pe(i,!0);break;default:u=t.behavior}return u.forEach(function(o,s){if(i!==o||u.length===s+1)return n;i=n.placement.split("-")[0];e=pr(i);var c=n.offsets.popper,l=n.offsets.reference,h=Math.floor,y=i==="left"&&h(c.right)>h(l.left)||i==="right"&&h(c.left)<h(l.right)||i==="top"&&h(c.bottom)>h(l.top)||i==="bottom"&&h(c.top)<h(l.bottom),p=h(c.left)<h(f.left),w=h(c.right)>h(f.right),b=h(c.top)<h(f.top),k=h(c.bottom)>h(f.bottom),d=i==="left"&&p||i==="right"&&w||i==="top"&&b||i==="bottom"&&k,v=["top","bottom"].indexOf(i)!==-1,g=!!t.flipVariations&&(v&&r==="start"&&p||v&&r==="end"&&w||!v&&r==="start"&&b||!v&&r==="end"&&k);(y||d||g)&&(n.flipped=!0,(y||d)&&(i=u[s+1]),g&&(r=oh(r)),n.placement=i+(r?"-"+r:""),n.offsets.popper=a({},n.offsets.popper,se(n.instance.popper,n.offsets.reference,n.placement)),n=he(n.instance.modifiers,n,"flip"))}),n}function hh(n){var o=n.offsets,u=o.popper,i=o.reference,s=n.placement.split("-")[0],r=Math.floor,f=["top","bottom"].indexOf(s)!==-1,e=f?"right":"bottom",t=f?"left":"top",h=f?"width":"height";return u[e]<r(i[t])&&(n.offsets.popper[t]=r(i[t])-u[h]),u[t]>r(i[e])&&(n.offsets.popper[t]=r(i[e])),n}function ch(n,t,i,r){var s=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),f=+s[1],u=s[2],e,h,o;if(!f)return n;if(u.indexOf("%")===0){e=void 0;switch(u){case"%p":e=i;break;case"%":case"%r":default:e=r}return h=et(e),h[t]/100*f}return u==="vh"||u==="vw"?(o=void 0,o=u==="vh"?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0),o/100*f):f}function lh(n,t,i,r){var s=[0,0],h=["right","left"].indexOf(r)!==-1,u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(nr(u,function(n){return n.search(/,|\s/)!==-1})),o,e;return u[f]&&u[f].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),o=/\s*,\s*|\s+/,e=f!==-1?[u.slice(0,f).concat([u[f].split(o)[0]]),[u[f].split(o)[1]].concat(u.slice(f+1))]:[u],e=e.map(function(n,r){var f=(r===1?!h:h)?"height":"width",u=!1;return n.reduce(function(n,t){return n[n.length-1]===""&&["+","-"].indexOf(t)!==-1?(n[n.length-1]=t,u=!0,n):u?(n[n.length-1]+=t,u=!1,n):n.concat(t)},[]).map(function(n){return ch(n,f,t,i)})}),e.forEach(function(n,t){n.forEach(function(i,r){rf(i)&&(s[t]+=i*(n[r-1]==="-"?-1:1))})}),s}function ah(n,t){var f=t.offset,o=n.placement,e=n.offsets,i=e.popper,s=e.reference,u=o.split("-")[0],r=void 0;return r=rf(+f)?[+f,0]:lh(f,i,s,u),u==="left"?(i.top+=r[0],i.left-=r[1]):u==="right"?(i.top+=r[0],i.left+=r[1]):u==="top"?(i.left+=r[0],i.top-=r[1]):u==="bottom"&&(i.left+=r[0],i.top+=r[1]),n.popper=i,n}function vh(n,t){var f=t.boundariesElement||ri(n.instance.popper),u;n.instance.reference===f&&(f=ri(f));var e=tf("transform"),r=n.instance.popper.style,o=r.top,s=r.left,h=r[e];r.top="";r.left="";r[e]="";u=nf(n.instance.popper,n.instance.reference,t.padding,f,n.positionFixed);r.top=o;r.left=s;r[e]=h;t.boundaries=u;var c=t.priority,i=n.offsets.popper,l={primary:function(n){var r=i[n];return i[n]<u[n]&&!t.escapeWithReference&&(r=Math.max(i[n],u[n])),fi({},n,r)},secondary:function(n){var r=n==="right"?"left":"top",f=i[r];return i[n]>u[n]&&!t.escapeWithReference&&(f=Math.min(i[r],u[n]-(n==="right"?i.width:i.height))),fi({},r,f)}};return c.forEach(function(n){var t=["left","top"].indexOf(n)!==-1?"primary":"secondary";i=a({},i,l[t](n))}),n.offsets.popper=i,n}function yh(n){var r=n.placement,h=r.split("-")[0],u=r.split("-")[1];if(u){var f=n.offsets,i=f.reference,e=f.popper,o=["bottom","top"].indexOf(h)!==-1,t=o?"left":"top",s=o?"width":"height",c={start:fi({},t,i[t]),end:fi({},t,i[t]+i[s]-e[s])};n.offsets.popper=a({},e,c[u])}return n}function ph(n){if(!ye(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=nr(n.instance.modifiers,function(n){return n.name==="preventOverflow"}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(n.hide===!0)return n;n.hide=!0;n.attributes["x-out-of-boundaries"]=""}else{if(n.hide===!1)return n;n.hide=!1;n.attributes["x-out-of-boundaries"]=!1}return n}function wh(n){var r=n.placement,t=r.split("-")[0],u=n.offsets,i=u.popper,e=u.reference,f=["left","right"].indexOf(t)!==-1,o=["top","left"].indexOf(t)===-1;return i[f?"left":"top"]=e[t]-(o?i[f?"width":"height"]:0),n.placement=pr(r),n.offsets.popper=et(i),n}function lc(n,t){var r=n.nodeName.toLowerCase(),u,i,f;if(t.indexOf(r)!==-1)return sc.indexOf(r)!==-1?Boolean(n.nodeValue.match(hc)||n.nodeValue.match(cc)):!0;for(u=t.filter(function(n){return n instanceof RegExp}),i=0,f=u.length;i<f;i++)if(r.match(u[i]))return!0;return!1}function ke(n,t,i){var r,u,o;if(n.length===0)return n;if(i&&typeof i=="function")return i(n);var s=new window.DOMParser,f=s.parseFromString(n,"text/html"),h=Object.keys(t),e=[].slice.call(f.body.querySelectorAll("*")),c=function(n){var i=e[n],f=i.nodeName.toLowerCase(),r,u;if(h.indexOf(i.nodeName.toLowerCase())===-1)return i.parentNode.removeChild(i),"continue";r=[].slice.call(i.attributes);u=[].concat(t["*"]||[],t[f]||[]);r.forEach(function(n){lc(n,u)||i.removeAttribute(n.nodeName)})};for(r=0,u=e.length;r<u;r++)o=c(r,u),o==="continue";return f.body.innerHTML}var i,vr,kf,df,wu,bu,ve,ff,wr,br;t=t&&t.hasOwnProperty("default")?t["default"]:t;var cr="transitionend",oo=1e6,so=1e3;i={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(Math.random()*oo);while(document.getElementById(n));return n},getSelectorFromElement:function(n){var t=n.getAttribute("data-target"),i;t&&t!=="#"||(i=n.getAttribute("href"),t=i&&i!=="#"?i.trim():"");try{return document.querySelector(t)?t:null}catch(r){return null}},getTransitionDurationFromElement:function(n){if(!n)return 0;var i=t(n).css("transition-duration"),r=t(n).css("transition-delay"),u=parseFloat(i),f=parseFloat(r);return!u&&!f?0:(i=i.split(",")[0],r=r.split(",")[0],(parseFloat(i)+parseFloat(r))*so)},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(n){t(n).trigger(cr)},supportsTransitionEnd:function(){return Boolean(cr)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,t,r){for(var u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var e=r[u],f=t[u],o=f&&i.isElement(f)?"element":ho(f);if(!new RegExp(e).test(o))throw new Error(n.toUpperCase()+": "+('Option "'+u+'" provided type "'+o+'" ')+('but expected type "'+e+'".'));}},findShadowRoot:function(n){if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){var t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?i.findShadowRoot(n.parentNode):null}};ao();var ai="alert",vo="4.3.1",lr="bs.alert",eu="."+lr,yo=t.fn[ai],ou={CLOSE:"close"+eu,CLOSED:"closed"+eu,CLICK_DATA_API:"click"+eu+".data-api"},su={ALERT:"alert",FADE:"fade",SHOW:"show"},dt=function(){function n(n){this._element=n}var r=n.prototype;return r.close=function(n){var t=this._element,i;(n&&(t=this._getRootElement(n)),i=this._triggerCloseEvent(t),i.isDefaultPrevented())||this._removeElement(t)},r.dispose=function(){t.removeData(this._element,lr);this._element=null},r._getRootElement=function(n){var u=i.getSelectorFromElement(n),r=!1;return u&&(r=document.querySelector(u)),r||(r=t(n).closest("."+su.ALERT)[0]),r},r._triggerCloseEvent=function(n){var i=t.Event(ou.CLOSE);return t(n).trigger(i),i},r._removeElement=function(n){var u=this,r;if(t(n).removeClass(su.SHOW),!t(n).hasClass(su.FADE)){this._destroyElement(n);return}r=i.getTransitionDurationFromElement(n);t(n).one(i.TRANSITION_END,function(t){return u._destroyElement(n,t)}).emulateTransitionEnd(r)},r._destroyElement=function(n){t(n).detach().trigger(ou.CLOSED).remove()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(lr);r||(r=new n(this),u.data(lr,r));i==="close"&&r[i](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},p(n,null,[{key:"VERSION",get:function(){return vo}}]),n}();t(document).on(ou.CLICK_DATA_API,{DISMISS:'[data-dismiss="alert"]'}.DISMISS,dt._handleDismiss(new dt));t.fn[ai]=dt._jQueryInterface;t.fn[ai].Constructor=dt;t.fn[ai].noConflict=function(){return t.fn[ai]=yo,dt._jQueryInterface};var vi="button",po="4.3.1",ar="bs.button",hu="."+ar,cu=".data-api",wo=t.fn[vi],lt={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},at={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:'input:not([type="hidden"])',ACTIVE:".active",BUTTON:".btn"},vf={CLICK_DATA_API:"click"+hu+cu,FOCUS_BLUR_DATA_API:"focus"+hu+cu+" "+("blur"+hu+cu)},yi=function(){function n(n){this._element=n}var i=n.prototype;return i.toggle=function(){var r=!0,f=!0,i=t(this._element).closest(at.DATA_TOGGLE)[0],n,u;if(i&&(n=this._element.querySelector(at.INPUT),n)){if(n.type==="radio"&&(n.checked&&this._element.classList.contains(lt.ACTIVE)?r=!1:(u=i.querySelector(at.ACTIVE),u&&t(u).removeClass(lt.ACTIVE))),r){if(n.hasAttribute("disabled")||i.hasAttribute("disabled")||n.classList.contains("disabled")||i.classList.contains("disabled"))return;n.checked=!this._element.classList.contains(lt.ACTIVE);t(n).trigger("change")}n.focus();f=!1}f&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(lt.ACTIVE));r&&t(this._element).toggleClass(lt.ACTIVE)},i.dispose=function(){t.removeData(this._element,ar);this._element=null},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(ar);r||(r=new n(this),t(this).data(ar,r));i==="toggle"&&r[i]()})},p(n,null,[{key:"VERSION",get:function(){return po}}]),n}();t(document).on(vf.CLICK_DATA_API,at.DATA_TOGGLE_CARROT,function(n){n.preventDefault();var i=n.target;t(i).hasClass(lt.BUTTON)||(i=t(i).closest(at.BUTTON));yi._jQueryInterface.call(t(i),"toggle")}).on(vf.FOCUS_BLUR_DATA_API,at.DATA_TOGGLE_CARROT,function(n){var i=t(n.target).closest(at.BUTTON)[0];t(i).toggleClass(lt.FOCUS,/^focus(in)?$/.test(n.type))});t.fn[vi]=yi._jQueryInterface;t.fn[vi].Constructor=yi;t.fn[vi].noConflict=function(){return t.fn[vi]=wo,yi._jQueryInterface};var gt="carousel",bo="4.3.1",pi="bs.carousel",h="."+pi,yf=".data-api",ko=t.fn[gt],go=37,ns=39,ts=500,is=40,lu={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},rs={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},d={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},c={SLIDE:"slide"+h,SLID:"slid"+h,KEYDOWN:"keydown"+h,MOUSEENTER:"mouseenter"+h,MOUSELEAVE:"mouseleave"+h,TOUCHSTART:"touchstart"+h,TOUCHMOVE:"touchmove"+h,TOUCHEND:"touchend"+h,POINTERDOWN:"pointerdown"+h,POINTERUP:"pointerup"+h,DRAG_START:"dragstart"+h,LOAD_DATA_API:"load"+h+yf,CLICK_DATA_API:"click"+h+yf},l={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item",POINTER_EVENT:"pointer-event"},g={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},pf={TOUCH:"touch",PEN:"pen"},ni=function(){function r(n,t){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this.touchStartX=0;this.touchDeltaX=0;this._config=this._getConfig(t);this._element=n;this._indicatorsElement=this._element.querySelector(g.INDICATORS);this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0;this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent);this._addEventListeners()}var n=r.prototype;return n.next=function(){this._isSliding||this._slide(d.NEXT)},n.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&t(this._element).css("visibility")!=="hidden"&&this.next()},n.prev=function(){this._isSliding||this._slide(d.PREV)},n.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(g.NEXT_PREV)&&(i.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},n.cycle=function(n){n||(this._isPaused=!1);this._interval&&(clearInterval(this._interval),this._interval=null);this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(n){var u=this,i,r;if(this._activeElement=this._element.querySelector(g.ACTIVE_ITEM),i=this._getItemIndex(this._activeElement),!(n>this._items.length-1)&&!(n<0)){if(this._isSliding){t(this._element).one(c.SLID,function(){return u.to(n)});return}if(i===n){this.pause();this.cycle();return}r=n>i?d.NEXT:d.PREV;this._slide(r,this._items[n])}},n.dispose=function(){t(this._element).off(h);t.removeData(this._element,pi);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},n._getConfig=function(n){return n=e({},lu,n),i.typeCheckConfig(gt,n,rs),n},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX),n;t<=is||(n=t/this.touchDeltaX,n>0&&this.prev(),n<0&&this.next())},n._addEventListeners=function(){var n=this;if(this._config.keyboard)t(this._element).on(c.KEYDOWN,function(t){return n._keydown(t)});if(this._config.pause==="hover")t(this._element).on(c.MOUSEENTER,function(t){return n.pause(t)}).on(c.MOUSELEAVE,function(t){return n.cycle(t)});this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var n=this;if(this._touchSupported){var i=function(t){n._pointerEvent&&pf[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},u=function(t){n.touchDeltaX=t.originalEvent.touches&&t.originalEvent.touches.length>1?0:t.originalEvent.touches[0].clientX-n.touchStartX},r=function(t){n._pointerEvent&&pf[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX);n._handleSwipe();n._config.pause==="hover"&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},ts+n._config.interval))};t(this._element.querySelectorAll(g.ITEM_IMG)).on(c.DRAG_START,function(n){return n.preventDefault()});if(this._pointerEvent){t(this._element).on(c.POINTERDOWN,function(n){return i(n)});t(this._element).on(c.POINTERUP,function(n){return r(n)});this._element.classList.add(l.POINTER_EVENT)}else{t(this._element).on(c.TOUCHSTART,function(n){return i(n)});t(this._element).on(c.TOUCHMOVE,function(n){return u(n)});t(this._element).on(c.TOUCHEND,function(n){return r(n)})}}},n._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case go:n.preventDefault();this.prev();break;case ns:n.preventDefault();this.next()}},n._getItemIndex=function(n){return this._items=n&&n.parentNode?[].slice.call(n.parentNode.querySelectorAll(g.ITEM)):[],this._items.indexOf(n)},n._getItemByDirection=function(n,t){var f=n===d.NEXT,e=n===d.PREV,i=this._getItemIndex(t),o=this._items.length-1,s=e&&i===0||f&&i===o,u,r;return s&&!this._config.wrap?t:(u=n===d.PREV?-1:1,r=(i+u)%this._items.length,r===-1?this._items[this._items.length-1]:this._items[r])},n._triggerSlideEvent=function(n,i){var u=this._getItemIndex(n),f=this._getItemIndex(this._element.querySelector(g.ACTIVE_ITEM)),r=t.Event(c.SLIDE,{relatedTarget:n,direction:i,from:f,to:u});return t(this._element).trigger(r),r},n._setActiveIndicatorElement=function(n){var r,i;this._indicatorsElement&&(r=[].slice.call(this._indicatorsElement.querySelectorAll(g.ACTIVE)),t(r).removeClass(l.ACTIVE),i=this._indicatorsElement.children[this._getItemIndex(n)],i&&t(i).addClass(l.ACTIVE))},n._slide=function(n,r){var v=this,f=this._element.querySelector(g.ACTIVE_ITEM),b=this._getItemIndex(f),u=r||f&&this._getItemByDirection(n,f),k=this._getItemIndex(u),y=Boolean(this._interval),e,o,s,p,h,a,w;if(n===d.NEXT?(e=l.LEFT,o=l.NEXT,s=d.LEFT):(e=l.RIGHT,o=l.PREV,s=d.RIGHT),u&&t(u).hasClass(l.ACTIVE)){this._isSliding=!1;return}(p=this._triggerSlideEvent(u,s),p.isDefaultPrevented())||f&&u&&(this._isSliding=!0,y&&this.pause(),this._setActiveIndicatorElement(u),h=t.Event(c.SLID,{relatedTarget:u,direction:s,from:b,to:k}),t(this._element).hasClass(l.SLIDE)?(t(u).addClass(o),i.reflow(u),t(f).addClass(e),t(u).addClass(e),a=parseInt(u.getAttribute("data-interval"),10),a?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=a):this._config.interval=this._config.defaultInterval||this._config.interval,w=i.getTransitionDurationFromElement(f),t(f).one(i.TRANSITION_END,function(){t(u).removeClass(e+" "+o).addClass(l.ACTIVE);t(f).removeClass(l.ACTIVE+" "+o+" "+e);v._isSliding=!1;setTimeout(function(){return t(v._element).trigger(h)},0)}).emulateTransitionEnd(w)):(t(f).removeClass(l.ACTIVE),t(u).addClass(l.ACTIVE),this._isSliding=!1,t(this._element).trigger(h)),y&&this.cycle())},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(pi),u=e({},lu,t(this).data()),f;if(typeof n=="object"&&(u=e({},u,n)),f=typeof n=="string"?n:u.slide,i||(i=new r(this,u),t(this).data(pi,i)),typeof n=="number")i.to(n);else if(typeof f=="string"){if(typeof i[f]=="undefined")throw new TypeError('No method named "'+f+'"');i[f]()}else u.interval&&u.ride&&(i.pause(),i.cycle())})},r._dataApiClickHandler=function(n){var s=i.getSelectorFromElement(this),u,o,f;s&&(u=t(s)[0],u&&t(u).hasClass(l.CAROUSEL))&&(o=e({},t(u).data(),t(this).data()),f=this.getAttribute("data-slide-to"),f&&(o.interval=!1),r._jQueryInterface.call(t(u),o),f&&t(u).data(pi).to(f),n.preventDefault())},p(r,null,[{key:"VERSION",get:function(){return bo}},{key:"Default",get:function(){return lu}}]),r}();t(document).on(c.CLICK_DATA_API,g.DATA_SLIDE,ni._dataApiClickHandler);t(window).on(c.LOAD_DATA_API,function(){for(var i,r=[].slice.call(document.querySelectorAll(g.DATA_RIDE)),n=0,u=r.length;n<u;n++)i=t(r[n]),ni._jQueryInterface.call(i,i.data())});t.fn[gt]=ni._jQueryInterface;t.fn[gt].Constructor=ni;t.fn[gt].noConflict=function(){return t.fn[gt]=ko,ni._jQueryInterface};var ti="collapse",us="4.3.1",vt="bs.collapse",wi="."+vt,fs=t.fn[ti],au={toggle:!0,parent:""},es={toggle:"boolean",parent:"(string|element)"},bi={SHOW:"show"+wi,SHOWN:"shown"+wi,HIDE:"hide"+wi,HIDDEN:"hidden"+wi,CLICK_DATA_API:"click"+wi+".data-api"},f={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},vu={WIDTH:"width",HEIGHT:"height"},yu={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},ki=function(){function r(n,t){var u,r,e;for(this._isTransitioning=!1,this._element=n,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+n.id+'"],'+('[data-toggle="collapse"][data-target="#'+n.id+'"]'))),u=[].slice.call(document.querySelectorAll(yu.DATA_TOGGLE)),r=0,e=u.length;r<e;r++){var o=u[r],f=i.getSelectorFromElement(o),s=[].slice.call(document.querySelectorAll(f)).filter(function(t){return t===n});f!==null&&s.length>0&&(this._selector=f,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var n=r.prototype;return n.toggle=function(){t(this._element).hasClass(f.SHOW)?this.hide():this.show()},n.show=function(){var u=this,n,o,s,e;if(!this._isTransitioning&&!t(this._element).hasClass(f.SHOW)&&(this._parent&&(n=[].slice.call(this._parent.querySelectorAll(yu.ACTIVES)).filter(function(n){return typeof u._config.parent=="string"?n.getAttribute("data-parent")===u._config.parent:n.classList.contains(f.COLLAPSE)}),n.length===0&&(n=null)),!n||(o=t(n).not(this._selector).data(vt),!o||!o._isTransitioning))&&(s=t.Event(bi.SHOW),t(this._element).trigger(s),!s.isDefaultPrevented())){n&&(r._jQueryInterface.call(t(n).not(this._selector),"hide"),o||t(n).data(vt,null));e=this._getDimension();t(this._element).removeClass(f.COLLAPSE).addClass(f.COLLAPSING);this._element.style[e]=0;this._triggerArray.length&&t(this._triggerArray).removeClass(f.COLLAPSED).attr("aria-expanded",!0);this.setTransitioning(!0);var h=function(){t(u._element).removeClass(f.COLLAPSING).addClass(f.COLLAPSE).addClass(f.SHOW);u._element.style[e]="";u.setTransitioning(!1);t(u._element).trigger(bi.SHOWN)},c=e[0].toUpperCase()+e.slice(1),l="scroll"+c,a=i.getTransitionDurationFromElement(this._element);t(this._element).one(i.TRANSITION_END,h).emulateTransitionEnd(a);this._element.style[e]=this._element[l]+"px"}},n.hide=function(){var h=this,u,n,e,r,o,s,c,l,a;if(!this._isTransitioning&&t(this._element).hasClass(f.SHOW)&&(u=t.Event(bi.HIDE),t(this._element).trigger(u),!u.isDefaultPrevented())){if(n=this._getDimension(),this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",i.reflow(this._element),t(this._element).addClass(f.COLLAPSING).removeClass(f.COLLAPSE).removeClass(f.SHOW),e=this._triggerArray.length,e>0)for(r=0;r<e;r++)o=this._triggerArray[r],s=i.getSelectorFromElement(o),s!==null&&(c=t([].slice.call(document.querySelectorAll(s))),c.hasClass(f.SHOW)||t(o).addClass(f.COLLAPSED).attr("aria-expanded",!1));this.setTransitioning(!0);l=function(){h.setTransitioning(!1);t(h._element).removeClass(f.COLLAPSING).addClass(f.COLLAPSE).trigger(bi.HIDDEN)};this._element.style[n]="";a=i.getTransitionDurationFromElement(this._element);t(this._element).one(i.TRANSITION_END,l).emulateTransitionEnd(a)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){t.removeData(this._element,vt);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return n=e({},au,n),n.toggle=Boolean(n.toggle),i.typeCheckConfig(ti,n,es),n},n._getDimension=function(){var n=t(this._element).hasClass(vu.WIDTH);return n?vu.WIDTH:vu.HEIGHT},n._getParent=function(){var e=this,n,u,f;return i.isElement(this._config.parent)?(n=this._config.parent,typeof this._config.parent.jquery!="undefined"&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent),u='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',f=[].slice.call(n.querySelectorAll(u)),t(f).each(function(n,t){e._addAriaAndCollapsedClass(r._getTargetFromElement(t),[t])}),n},n._addAriaAndCollapsedClass=function(n,i){var r=t(n).hasClass(f.SHOW);i.length&&t(i).toggleClass(f.COLLAPSED,!r).attr("aria-expanded",r)},r._getTargetFromElement=function(n){var t=i.getSelectorFromElement(n);return t?document.querySelector(t):null},r._jQueryInterface=function(n){return this.each(function(){var u=t(this),i=u.data(vt),f=e({},au,u.data(),typeof n=="object"&&n?n:{});if(!i&&f.toggle&&/show|hide/.test(n)&&(f.toggle=!1),i||(i=new r(this,f),u.data(vt,i)),typeof n=="string"){if(typeof i[n]=="undefined")throw new TypeError('No method named "'+n+'"');i[n]()}})},p(r,null,[{key:"VERSION",get:function(){return us}},{key:"Default",get:function(){return au}}]),r}();t(document).on(bi.CLICK_DATA_API,yu.DATA_TOGGLE,function(n){n.currentTarget.tagName==="A"&&n.preventDefault();var r=t(this),u=i.getSelectorFromElement(this),f=[].slice.call(document.querySelectorAll(u));t(f).each(function(){var n=t(this),i=n.data(vt),u=i?"toggle":r.data();ki._jQueryInterface.call(n,u)})});t.fn[ti]=ki._jQueryInterface;t.fn[ti].Constructor=ki;t.fn[ti].noConflict=function(){return t.fn[ti]=fs,ki._jQueryInterface};var di=typeof window!="undefined"&&typeof document!="undefined",wf=["Edge","Trident","Firefox"],bf=0;for(vr=0;vr<wf.length;vr+=1)if(di&&navigator.userAgent.indexOf(wf[vr])>=0){bf=1;break}kf=di&&window.Promise;df=kf?os:ss;wu=di&&!!(window.MSInputMethodContext&&document.documentMode);bu=di&&/MSIE 10/.test(navigator.userAgent);var ls=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");},as=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),fi=function(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n},a=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n};ve=di&&/Firefox/i.test(navigator.userAgent);ff=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"];wr=ff.slice(3);br={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};var bh={shift:{order:100,enabled:!0,fn:yh},offset:{order:200,enabled:!0,fn:ah,offset:0},preventOverflow:{order:300,enabled:!0,fn:vh,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:hh},arrow:{order:500,enabled:!0,fn:eh,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:sh,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:wh},hide:{order:800,enabled:!0,fn:ph},computeStyle:{order:850,enabled:!0,fn:fh,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:ih,onLoad:rh,gpuAcceleration:undefined}},kh={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:bh},pt=function(){function n(t,i){var r=this,u=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},f;ls(this,n);this.scheduleUpdate=function(){return requestAnimationFrame(r.update)};this.update=df(this.update.bind(this));this.options=a({},n.Defaults,u);this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]};this.reference=t&&t.jquery?t[0]:t;this.popper=i&&i.jquery?i[0]:i;this.options.modifiers={};Object.keys(a({},n.Defaults.modifiers,u.modifiers)).forEach(function(t){r.options.modifiers[t]=a({},n.Defaults.modifiers[t]||{},u.modifiers?u.modifiers[t]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(n){return a({name:n},r.options.modifiers[n])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){if(n.enabled&&gf(n.onLoad))n.onLoad(r.reference,r.popper,r.options,n,r.state)});this.update();f=this.options.eventsEnabled;f&&this.enableEventListeners();this.state.eventsEnabled=f}return as(n,[{key:"update",value:function(){return ws.call(this)}},{key:"destroy",value:function(){return bs.call(this)}},{key:"enableEventListeners",value:function(){return ds.call(this)}},{key:"disableEventListeners",value:function(){return nh.call(this)}}]),n}();pt.Utils=(typeof window!="undefined"?window:global).PopperUtils;pt.placements=ff;pt.Defaults=kh;var ei="dropdown",dh="4.3.1",tr="bs.dropdown",ut="."+tr,ef=".data-api",gh=t.fn[ei],kr=27,we=32,be=9,of=38,sf=40,nc=3,tc=new RegExp(of+"|"+sf+"|"+kr),o={HIDE:"hide"+ut,HIDDEN:"hidden"+ut,SHOW:"show"+ut,SHOWN:"shown"+ut,CLICK:"click"+ut,CLICK_DATA_API:"click"+ut+ef,KEYDOWN_DATA_API:"keydown"+ut+ef,KEYUP_DATA_API:"keyup"+ut+ef},r={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},nt={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},oi={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},ic={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},rc={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},ot=function(){function n(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var u=n.prototype;return u.toggle=function(){var u,h,e,s,f;if(!this._element.disabled&&!t(this._element).hasClass(r.DISABLED)&&(u=n._getParentFromElement(this._element),h=t(this._menu).hasClass(r.SHOW),n._clearMenus(),!h)&&(e={relatedTarget:this._element},s=t.Event(o.SHOW,e),t(u).trigger(s),!s.isDefaultPrevented())){if(!this._inNavbar){if(typeof pt=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");f=this._element;this._config.reference==="parent"?f=u:i.isElement(this._config.reference)&&(f=this._config.reference,typeof this._config.reference.jquery!="undefined"&&(f=this._config.reference[0]));this._config.boundary!=="scrollParent"&&t(u).addClass(r.POSITION_STATIC);this._popper=new pt(f,this._menu,this._getPopperConfig())}if("ontouchstart"in document.documentElement&&t(u).closest(nt.NAVBAR_NAV).length===0)t(document.body).children().on("mouseover",null,t.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);t(this._menu).toggleClass(r.SHOW);t(u).toggleClass(r.SHOW).trigger(t.Event(o.SHOWN,e))}},u.show=function(){if(!this._element.disabled&&!t(this._element).hasClass(r.DISABLED)&&!t(this._menu).hasClass(r.SHOW)){var i={relatedTarget:this._element},u=t.Event(o.SHOW,i),f=n._getParentFromElement(this._element);(t(f).trigger(u),u.isDefaultPrevented())||(t(this._menu).toggleClass(r.SHOW),t(f).toggleClass(r.SHOW).trigger(t.Event(o.SHOWN,i)))}},u.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(r.DISABLED)&&t(this._menu).hasClass(r.SHOW)){var i={relatedTarget:this._element},u=t.Event(o.HIDE,i),f=n._getParentFromElement(this._element);(t(f).trigger(u),u.isDefaultPrevented())||(t(this._menu).toggleClass(r.SHOW),t(f).toggleClass(r.SHOW).trigger(t.Event(o.HIDDEN,i)))}},u.dispose=function(){t.removeData(this._element,tr);t(this._element).off(ut);this._element=null;this._menu=null;this._popper!==null&&(this._popper.destroy(),this._popper=null)},u.update=function(){this._inNavbar=this._detectNavbar();this._popper!==null&&this._popper.scheduleUpdate()},u._addEventListeners=function(){var n=this;t(this._element).on(o.CLICK,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},u._getConfig=function(n){return n=e({},this.constructor.Default,t(this._element).data(),n),i.typeCheckConfig(ei,n,this.constructor.DefaultType),n},u._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);t&&(this._menu=t.querySelector(nt.MENU))}return this._menu},u._getPlacement=function(){var i=t(this._element.parentNode),n=oi.BOTTOM;return i.hasClass(r.DROPUP)?(n=oi.TOP,t(this._menu).hasClass(r.MENURIGHT)&&(n=oi.TOPEND)):i.hasClass(r.DROPRIGHT)?n=oi.RIGHT:i.hasClass(r.DROPLEFT)?n=oi.LEFT:t(this._menu).hasClass(r.MENURIGHT)&&(n=oi.BOTTOMEND),n},u._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},u._getOffset=function(){var t=this,n={};return typeof this._config.offset=="function"?n.fn=function(n){return n.offsets=e({},n.offsets,t._config.offset(n.offsets,t._element)||{}),n}:n.offset=this._config.offset,n},u._getPopperConfig=function(){var n={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return this._config.display==="static"&&(n.modifiers.applyStyle={enabled:!1}),n},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(tr),u=typeof i=="object"?i:null;if(r||(r=new n(this,u),t(this).data(tr,r)),typeof i=="string"){if(typeof r[i]=="undefined")throw new TypeError('No method named "'+i+'"');r[i]()}})},n._clearMenus=function(i){var f,u,c,a,h;if(!i||i.which!==nc&&(i.type!=="keyup"||i.which===be))for(f=[].slice.call(document.querySelectorAll(nt.DATA_TOGGLE)),u=0,c=f.length;u<c;u++){var e=n._getParentFromElement(f[u]),l=t(f[u]).data(tr),s={relatedTarget:f[u]};(i&&i.type==="click"&&(s.clickEvent=i),l)&&(a=l._menu,t(e).hasClass(r.SHOW))&&(i&&(i.type==="click"&&/input|textarea/i.test(i.target.tagName)||i.type==="keyup"&&i.which===be)&&t.contains(e,i.target)||(h=t.Event(o.HIDE,s),t(e).trigger(h),h.isDefaultPrevented())||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),f[u].setAttribute("aria-expanded","false"),t(a).removeClass(r.SHOW),t(e).removeClass(r.SHOW).trigger(t.Event(o.HIDDEN,s))))}},n._getParentFromElement=function(n){var t,r=i.getSelectorFromElement(n);return r&&(t=document.querySelector(r)),t||n.parentNode},n._dataApiKeydownHandler=function(i){var e,o,s,f,u;if((/input|textarea/i.test(i.target.tagName)?i.which!==we&&(i.which===kr||(i.which===sf||i.which===of)&&!t(i.target).closest(nt.MENU).length):tc.test(i.which))&&(i.preventDefault(),i.stopPropagation(),!this.disabled&&!t(this).hasClass(r.DISABLED))){if(e=n._getParentFromElement(this),o=t(e).hasClass(r.SHOW),!o||o&&(i.which===kr||i.which===we)){i.which===kr&&(s=e.querySelector(nt.DATA_TOGGLE),t(s).trigger("focus"));t(this).trigger("click");return}(f=[].slice.call(e.querySelectorAll(nt.VISIBLE_ITEMS)),f.length!==0)&&(u=f.indexOf(i.target),i.which===of&&u>0&&u--,i.which===sf&&u<f.length-1&&u++,u<0&&(u=0),f[u].focus())}},p(n,null,[{key:"VERSION",get:function(){return dh}},{key:"Default",get:function(){return ic}},{key:"DefaultType",get:function(){return rc}}]),n}();t(document).on(o.KEYDOWN_DATA_API,nt.DATA_TOGGLE,ot._dataApiKeydownHandler).on(o.KEYDOWN_DATA_API,nt.MENU,ot._dataApiKeydownHandler).on(o.CLICK_DATA_API+" "+o.KEYUP_DATA_API,ot._clearMenus).on(o.CLICK_DATA_API,nt.DATA_TOGGLE,function(n){n.preventDefault();n.stopPropagation();ot._jQueryInterface.call(t(this),"toggle")}).on(o.CLICK_DATA_API,nt.FORM_CHILD,function(n){n.stopPropagation()});t.fn[ei]=ot._jQueryInterface;t.fn[ei].Constructor=ot;t.fn[ei].noConflict=function(){return t.fn[ei]=gh,ot._jQueryInterface};var si="modal",uc="4.3.1",ir="bs.modal",v="."+ir,fc=t.fn[si],ec=27,hf={backdrop:!0,keyboard:!0,focus:!0,show:!0},oc={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},u={HIDE:"hide"+v,HIDDEN:"hidden"+v,SHOW:"show"+v,SHOWN:"shown"+v,FOCUSIN:"focusin"+v,RESIZE:"resize"+v,CLICK_DISMISS:"click.dismiss"+v,KEYDOWN_DISMISS:"keydown.dismiss"+v,MOUSEUP_DISMISS:"mouseup.dismiss"+v,MOUSEDOWN_DISMISS:"mousedown.dismiss"+v,CLICK_DATA_API:"click"+v+".data-api"},s={SCROLLABLE:"modal-dialog-scrollable",SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},st={DIALOG:".modal-dialog",MODAL_BODY:".modal-body",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},rr=function(){function r(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(st.DIALOG);this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._isTransitioning=!1;this._scrollbarWidth=0}var n=r.prototype;return n.toggle=function(n){return this._isShown?this.hide():this.show(n)},n.show=function(n){var i=this,r;if(!this._isShown&&!this._isTransitioning&&(t(this._element).hasClass(s.FADE)&&(this._isTransitioning=!0),r=t.Event(u.SHOW,{relatedTarget:n}),t(this._element).trigger(r),!this._isShown&&!r.isDefaultPrevented())){this._isShown=!0;this._checkScrollbar();this._setScrollbar();this._adjustDialog();this._setEscapeEvent();this._setResizeEvent();t(this._element).on(u.CLICK_DISMISS,st.DATA_DISMISS,function(n){return i.hide(n)});t(this._dialog).on(u.MOUSEDOWN_DISMISS,function(){t(i._element).one(u.MOUSEUP_DISMISS,function(n){t(n.target).is(i._element)&&(i._ignoreBackdropClick=!0)})});this._showBackdrop(function(){return i._showElement(n)})}},n.hide=function(n){var o=this,r,f,e;(n&&n.preventDefault(),this._isShown&&!this._isTransitioning)&&(r=t.Event(u.HIDE),t(this._element).trigger(r),this._isShown&&!r.isDefaultPrevented())&&(this._isShown=!1,f=t(this._element).hasClass(s.FADE),f&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(u.FOCUSIN),t(this._element).removeClass(s.SHOW),t(this._element).off(u.CLICK_DISMISS),t(this._dialog).off(u.MOUSEDOWN_DISMISS),f?(e=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,function(n){return o._hideModal(n)}).emulateTransitionEnd(e)):this._hideModal())},n.dispose=function(){[window,this._element,this._dialog].forEach(function(n){return t(n).off(v)});t(document).off(u.FOCUSIN);t.removeData(this._element,ir);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._isTransitioning=null;this._scrollbarWidth=null},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(n){return n=e({},hf,n),i.typeCheckConfig(si,n,oc),n},n._showElement=function(n){var r=this,e=t(this._element).hasClass(s.FADE),o,f,h;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element);this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.setAttribute("aria-modal",!0);t(this._dialog).hasClass(s.SCROLLABLE)?this._dialog.querySelector(st.MODAL_BODY).scrollTop=0:this._element.scrollTop=0;e&&i.reflow(this._element);t(this._element).addClass(s.SHOW);this._config.focus&&this._enforceFocus();o=t.Event(u.SHOWN,{relatedTarget:n});f=function(){r._config.focus&&r._element.focus();r._isTransitioning=!1;t(r._element).trigger(o)};e?(h=i.getTransitionDurationFromElement(this._dialog),t(this._dialog).one(i.TRANSITION_END,f).emulateTransitionEnd(h)):f()},n._enforceFocus=function(){var n=this;t(document).off(u.FOCUSIN).on(u.FOCUSIN,function(i){document!==i.target&&n._element!==i.target&&t(n._element).has(i.target).length===0&&n._element.focus()})},n._setEscapeEvent=function(){var n=this;if(this._isShown&&this._config.keyboard)t(this._element).on(u.KEYDOWN_DISMISS,function(t){t.which===ec&&(t.preventDefault(),n.hide())});else this._isShown||t(this._element).off(u.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var n=this;if(this._isShown)t(window).on(u.RESIZE,function(t){return n.handleUpdate(t)});else t(window).off(u.RESIZE)},n._hideModal=function(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._element.removeAttribute("aria-modal");this._isTransitioning=!1;this._showBackdrop(function(){t(document.body).removeClass(s.OPEN);n._resetAdjustments();n._resetScrollbar();t(n._element).trigger(u.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var r=this,f=t(this._element).hasClass(s.FADE)?s.FADE:"",o,e,h;if(this._isShown&&this._config.backdrop){this._backdrop=document.createElement("div");this._backdrop.className=s.BACKDROP;f&&this._backdrop.classList.add(f);t(this._backdrop).appendTo(document.body);t(this._element).on(u.CLICK_DISMISS,function(n){if(r._ignoreBackdropClick){r._ignoreBackdropClick=!1;return}n.target===n.currentTarget&&(r._config.backdrop==="static"?r._element.focus():r.hide())});if(f&&i.reflow(this._backdrop),t(this._backdrop).addClass(s.SHOW),!n)return;if(!f){n();return}o=i.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(i.TRANSITION_END,n).emulateTransitionEnd(o)}else!this._isShown&&this._backdrop?(t(this._backdrop).removeClass(s.SHOW),e=function(){r._removeBackdrop();n&&n()},t(this._element).hasClass(s.FADE)?(h=i.getTransitionDurationFromElement(this._backdrop),t(this._backdrop).one(i.TRANSITION_END,e).emulateTransitionEnd(h)):e()):n&&n()},n._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},n._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=n.left+n.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var n=this,i,r,u,f;this._isBodyOverflowing&&(i=[].slice.call(document.querySelectorAll(st.FIXED_CONTENT)),r=[].slice.call(document.querySelectorAll(st.STICKY_CONTENT)),t(i).each(function(i,r){var u=r.style.paddingRight,f=t(r).css("padding-right");t(r).data("padding-right",u).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),t(r).each(function(i,r){var u=r.style.marginRight,f=t(r).css("margin-right");t(r).data("margin-right",u).css("margin-right",parseFloat(f)-n._scrollbarWidth+"px")}),u=document.body.style.paddingRight,f=t(document.body).css("padding-right"),t(document.body).data("padding-right",u).css("padding-right",parseFloat(f)+this._scrollbarWidth+"px"));t(document.body).addClass(s.OPEN)},n._resetScrollbar=function(){var r=[].slice.call(document.querySelectorAll(st.FIXED_CONTENT)),i,n;t(r).each(function(n,i){var r=t(i).data("padding-right");t(i).removeData("padding-right");i.style.paddingRight=r?r:""});i=[].slice.call(document.querySelectorAll(""+st.STICKY_CONTENT));t(i).each(function(n,i){var r=t(i).data("margin-right");typeof r!="undefined"&&t(i).css("margin-right",r).removeData("margin-right")});n=t(document.body).data("padding-right");t(document.body).removeData("padding-right");document.body.style.paddingRight=n?n:""},n._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=s.SCROLLBAR_MEASURER,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},r._jQueryInterface=function(n,i){return this.each(function(){var u=t(this).data(ir),f=e({},hf,t(this).data(),typeof n=="object"&&n?n:{});if(u||(u=new r(this,f),t(this).data(ir,u)),typeof n=="string"){if(typeof u[n]=="undefined")throw new TypeError('No method named "'+n+'"');u[n](i)}else f.show&&u.show(i)})},p(r,null,[{key:"VERSION",get:function(){return uc}},{key:"Default",get:function(){return hf}}]),r}();t(document).on(u.CLICK_DATA_API,st.DATA_TOGGLE,function(n){var f=this,r,o=i.getSelectorFromElement(this),s,h;o&&(r=document.querySelector(o));s=t(r).data(ir)?"toggle":e({},t(r).data(),t(this).data());(this.tagName==="A"||this.tagName==="AREA")&&n.preventDefault();h=t(r).one(u.SHOW,function(n){if(!n.isDefaultPrevented())h.one(u.HIDDEN,function(){t(f).is(":visible")&&f.focus()})});rr._jQueryInterface.call(t(r),s,this)});t.fn[si]=rr._jQueryInterface;t.fn[si].Constructor=rr;t.fn[si].noConflict=function(){return t.fn[si]=fc,rr._jQueryInterface};var sc=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],hc=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,cc=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;var wt="tooltip",ac="4.3.1",dr="bs.tooltip",w="."+dr,vc=t.fn[wt],de="bs-tooltip",yc=new RegExp("(^|\\s)"+de+"\\S+","g"),pc=["sanitize","whiteList","sanitizeFn"],wc={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},bc={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},kc={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}},ht={SHOW:"show",OUT:"out"},dc={HIDE:"hide"+w,HIDDEN:"hidden"+w,SHOW:"show"+w,SHOWN:"shown"+w,INSERTED:"inserted"+w,CLICK:"click"+w,FOCUSIN:"focusin"+w,FOCUSOUT:"focusout"+w,MOUSEENTER:"mouseenter"+w,MOUSELEAVE:"mouseleave"+w},tt={FADE:"fade",SHOW:"show"},ge={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},it={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},bt=function(){function r(n,t){if(typeof pt=="undefined")throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var n=r.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(n){if(this._isEnabled)if(n){var r=this.constructor.DATA_KEY,i=t(n.currentTarget).data(r);i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(tt.SHOW)){this._leave(null,this);return}this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout);t.removeData(this.element,this.constructor.DATA_KEY);t(this.element).off(this.constructor.EVENT_KEY);t(this.element).closest(".modal").off("hide.bs.modal");this.tip&&t(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;this._activeTrigger=null;this._popper!==null&&this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null},n.show=function(){var n=this,u,f,h,r,e,c,o,l,s,a;if(t(this.element).css("display")==="none")throw new Error("Please use show on visible elements");if(u=t.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(t(this.element).trigger(u),f=i.findShadowRoot(this.element),h=t.contains(f!==null?f:this.element.ownerDocument.documentElement,this.element),u.isDefaultPrevented()||!h)return;if(r=this.getTipElement(),e=i.getUID(this.constructor.NAME),r.setAttribute("id",e),this.element.setAttribute("aria-describedby",e),this.setContent(),this.config.animation&&t(r).addClass(tt.FADE),c=typeof this.config.placement=="function"?this.config.placement.call(this,r,this.element):this.config.placement,o=this._getAttachment(c),this.addAttachmentClass(o),l=this._getContainer(),t(r).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(r).appendTo(l),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new pt(this.element,r,{placement:o,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:ge.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&n._handlePopperPlacementChange(t)},onUpdate:function(t){return n._handlePopperPlacementChange(t)}}),t(r).addClass(tt.SHOW),"ontouchstart"in document.documentElement)t(document.body).children().on("mouseover",null,t.noop);s=function(){n.config.animation&&n._fixTransition();var i=n._hoverState;n._hoverState=null;t(n.element).trigger(n.constructor.Event.SHOWN);i===ht.OUT&&n._leave(null,n)};t(this.tip).hasClass(tt.FADE)?(a=i.getTransitionDurationFromElement(this.tip),t(this.tip).one(i.TRANSITION_END,s).emulateTransitionEnd(a)):s()}},n.hide=function(n){var r=this,u=this.getTipElement(),f=t.Event(this.constructor.Event.HIDE),e=function(){r._hoverState!==ht.SHOW&&u.parentNode&&u.parentNode.removeChild(u);r._cleanTipClass();r.element.removeAttribute("aria-describedby");t(r.element).trigger(r.constructor.Event.HIDDEN);r._popper!==null&&r._popper.destroy();n&&n()},o;(t(this.element).trigger(f),f.isDefaultPrevented())||(t(u).removeClass(tt.SHOW),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[it.CLICK]=!1,this._activeTrigger[it.FOCUS]=!1,this._activeTrigger[it.HOVER]=!1,t(this.tip).hasClass(tt.FADE)?(o=i.getTransitionDurationFromElement(u),t(u).one(i.TRANSITION_END,e).emulateTransitionEnd(o)):e(),this._hoverState="")},n.update=function(){this._popper!==null&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(n){t(this.getTipElement()).addClass(de+"-"+n)},n.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},n.setContent=function(){var n=this.getTipElement();this.setElementContent(t(n.querySelectorAll(ge.TOOLTIP_INNER)),this.getTitle());t(n).removeClass(tt.FADE+" "+tt.SHOW)},n.setElementContent=function(n,i){if(typeof i=="object"&&(i.nodeType||i.jquery)){this.config.html?t(i).parent().is(n)||n.empty().append(i):n.text(t(i).text());return}this.config.html?(this.config.sanitize&&(i=ke(i,this.config.whiteList,this.config.sanitizeFn)),n.html(i)):n.text(i)},n.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n=typeof this.config.title=="function"?this.config.title.call(this.element):this.config.title),n},n._getOffset=function(){var t=this,n={};return typeof this.config.offset=="function"?n.fn=function(n){return n.offsets=e({},n.offsets,t.config.offset(n.offsets,t.element)||{}),n}:n.offset=this.config.offset,n},n._getContainer=function(){return this.config.container===!1?document.body:i.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},n._getAttachment=function(n){return bc[n.toUpperCase()]},n._setListeners=function(){var n=this,i=this.config.trigger.split(" ");i.forEach(function(i){if(i==="click")t(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(i!==it.MANUAL){var r=i===it.HOVER?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u=i===it.HOVER?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;t(n.element).on(r,n.config.selector,function(t){return n._enter(t)}).on(u,n.config.selector,function(t){return n._leave(t)})}});t(this.element).closest(".modal").on("hide.bs.modal",function(){n.element&&n.hide()});this.config.selector?this.config=e({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||n!=="string")&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(n,i){var r=this.constructor.DATA_KEY;if(i=i||t(n.currentTarget).data(r),i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i)),n&&(i._activeTrigger[n.type==="focusin"?it.FOCUS:it.HOVER]=!0),t(i.getTipElement()).hasClass(tt.SHOW)||i._hoverState===ht.SHOW){i._hoverState=ht.SHOW;return}if(clearTimeout(i._timeout),i._hoverState=ht.SHOW,!i.config.delay||!i.config.delay.show){i.show();return}i._timeout=setTimeout(function(){i._hoverState===ht.SHOW&&i.show()},i.config.delay.show)},n._leave=function(n,i){var r=this.constructor.DATA_KEY;if(i=i||t(n.currentTarget).data(r),i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i)),n&&(i._activeTrigger[n.type==="focusout"?it.FOCUS:it.HOVER]=!1),!i._isWithActiveTrigger()){if(clearTimeout(i._timeout),i._hoverState=ht.OUT,!i.config.delay||!i.config.delay.hide){i.hide();return}i._timeout=setTimeout(function(){i._hoverState===ht.OUT&&i.hide()},i.config.delay.hide)}},n._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},n._getConfig=function(n){var r=t(this.element).data();return Object.keys(r).forEach(function(n){pc.indexOf(n)!==-1&&delete r[n]}),n=e({},this.constructor.Default,r,typeof n=="object"&&n?n:{}),typeof n.delay=="number"&&(n.delay={show:n.delay,hide:n.delay}),typeof n.title=="number"&&(n.title=n.title.toString()),typeof n.content=="number"&&(n.content=n.content.toString()),i.typeCheckConfig(wt,n,this.constructor.DefaultType),n.sanitize&&(n.template=ke(n.template,n.whiteList,n.sanitizeFn)),n},n._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},n._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(yc);n!==null&&n.length&&i.removeClass(n.join(""))},n._handlePopperPlacementChange=function(n){var t=n.instance;this.tip=t.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},n._fixTransition=function(){var n=this.getTipElement(),i=this.config.animation;n.getAttribute("x-placement")===null&&(t(n).removeClass(tt.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(dr),u=typeof n=="object"&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new r(this,u),t(this).data(dr,i)),typeof n=="string")){if(typeof i[n]=="undefined")throw new TypeError('No method named "'+n+'"');i[n]()}})},p(r,null,[{key:"VERSION",get:function(){return ac}},{key:"Default",get:function(){return kc}},{key:"NAME",get:function(){return wt}},{key:"DATA_KEY",get:function(){return dr}},{key:"Event",get:function(){return dc}},{key:"EVENT_KEY",get:function(){return w}},{key:"DefaultType",get:function(){return wc}}]),r}();t.fn[wt]=bt._jQueryInterface;t.fn[wt].Constructor=bt;t.fn[wt].noConflict=function(){return t.fn[wt]=vc,bt._jQueryInterface};var hi="popover",gc="4.3.1",gr="bs.popover",b="."+gr,nl=t.fn[hi],no="bs-popover",tl=new RegExp("(^|\\s)"+no+"\\S+","g"),il=e({},bt.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body"><\/div><\/div>'}),rl=e({},bt.DefaultType,{content:"(string|element|function)"}),to={FADE:"fade",SHOW:"show"},io={TITLE:".popover-header",CONTENT:".popover-body"},ul={HIDE:"hide"+b,HIDDEN:"hidden"+b,SHOW:"show"+b,SHOWN:"shown"+b,INSERTED:"inserted"+b,CLICK:"click"+b,FOCUSIN:"focusin"+b,FOCUSOUT:"focusout"+b,MOUSEENTER:"mouseenter"+b,MOUSELEAVE:"mouseleave"+b},nu=function(n){function i(){return n.apply(this,arguments)||this}eo(i,n);var r=i.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(n){t(this.getTipElement()).addClass(no+"-"+n)},r.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},r.setContent=function(){var i=t(this.getTipElement()),n;this.setElementContent(i.find(io.TITLE),this.getTitle());n=this._getContent();typeof n=="function"&&(n=n.call(this.element));this.setElementContent(i.find(io.CONTENT),n);i.removeClass(to.FADE+" "+to.SHOW)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(tl);n!==null&&n.length>0&&i.removeClass(n.join(""))},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(gr),u=typeof n=="object"?n:null;if((r||!/dispose|hide/.test(n))&&(r||(r=new i(this,u),t(this).data(gr,r)),typeof n=="string")){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n]()}})},p(i,null,[{key:"VERSION",get:function(){return gc}},{key:"Default",get:function(){return il}},{key:"NAME",get:function(){return hi}},{key:"DATA_KEY",get:function(){return gr}},{key:"Event",get:function(){return ul}},{key:"EVENT_KEY",get:function(){return b}},{key:"DefaultType",get:function(){return rl}}]),i}(bt);t.fn[hi]=nu._jQueryInterface;t.fn[hi].Constructor=nu;t.fn[hi].noConflict=function(){return t.fn[hi]=nl,nu._jQueryInterface};var kt="scrollspy",fl="4.3.1",tu="bs.scrollspy",iu="."+tu,el=t.fn[kt],ro={offset:10,method:"auto",target:""},ol={offset:"number",method:"string",target:"(string|element)"},cf={ACTIVATE:"activate"+iu,SCROLL:"scroll"+iu,LOAD_DATA_API:"load"+iu+".data-api"},ct={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},y={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},lf={OFFSET:"offset",POSITION:"position"},ur=function(){function r(n,i){var r=this;this._element=n;this._scrollElement=n.tagName==="BODY"?window:n;this._config=this._getConfig(i);this._selector=this._config.target+" "+y.NAV_LINKS+","+(this._config.target+" "+y.LIST_ITEMS+",")+(this._config.target+" "+y.DROPDOWN_ITEMS);this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;t(this._scrollElement).on(cf.SCROLL,function(n){return r._process(n)});this.refresh();this._process()}var n=r.prototype;return n.refresh=function(){var n=this,f=this._scrollElement===this._scrollElement.window?lf.OFFSET:lf.POSITION,r=this._config.method==="auto"?f:this._config.method,e=r===lf.POSITION?this._getScrollTop():0,u;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();u=[].slice.call(document.querySelectorAll(this._selector));u.map(function(n){var u,f=i.getSelectorFromElement(n),o;return(f&&(u=document.querySelector(f)),u&&(o=u.getBoundingClientRect(),o.width||o.height))?[t(u)[r]().top+e,f]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(t){n._offsets.push(t[0]);n._targets.push(t[1])})},n.dispose=function(){t.removeData(this._element,tu);t(this._scrollElement).off(iu);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null},n._getConfig=function(n){if(n=e({},ro,typeof n=="object"&&n?n:{}),typeof n.target!="string"){var r=t(n.target).attr("id");r||(r=i.getUID(kt),t(n.target).attr("id",r));n.target="#"+r}return i.typeCheckConfig(kt,n,ol),n},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var t=this._getScrollTop()+this._config.offset,r=this._getScrollHeight(),e=this._config.offset+r-this._getOffsetHeight(),i,u,n,f;if(this._scrollHeight!==r&&this.refresh(),t>=e){i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i);return}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null;this._clear();return}for(u=this._offsets.length,n=u;n--;)f=this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&(typeof this._offsets[n+1]=="undefined"||t<this._offsets[n+1]),f&&this._activate(this._targets[n])},n._activate=function(n){this._activeTarget=n;this._clear();var r=this._selector.split(",").map(function(t){return t+'[data-target="'+n+'"],'+t+'[href="'+n+'"]'}),i=t([].slice.call(document.querySelectorAll(r.join(","))));i.hasClass(ct.DROPDOWN_ITEM)?(i.closest(y.DROPDOWN).find(y.DROPDOWN_TOGGLE).addClass(ct.ACTIVE),i.addClass(ct.ACTIVE)):(i.addClass(ct.ACTIVE),i.parents(y.NAV_LIST_GROUP).prev(y.NAV_LINKS+", "+y.LIST_ITEMS).addClass(ct.ACTIVE),i.parents(y.NAV_LIST_GROUP).prev(y.NAV_ITEMS).children(y.NAV_LINKS).addClass(ct.ACTIVE));t(this._scrollElement).trigger(cf.ACTIVATE,{relatedTarget:n})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(n){return n.classList.contains(ct.ACTIVE)}).forEach(function(n){return n.classList.remove(ct.ACTIVE)})},r._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(tu),u=typeof n=="object"&&n;if(i||(i=new r(this,u),t(this).data(tu,i)),typeof n=="string"){if(typeof i[n]=="undefined")throw new TypeError('No method named "'+n+'"');i[n]()}})},p(r,null,[{key:"VERSION",get:function(){return fl}},{key:"Default",get:function(){return ro}}]),r}();t(window).on(cf.LOAD_DATA_API,function(){for(var n,i=[].slice.call(document.querySelectorAll(y.DATA_SPY)),u=i.length,r=u;r--;)n=t(i[r]),ur._jQueryInterface.call(n,n.data())});t.fn[kt]=ur._jQueryInterface;t.fn[kt].Constructor=ur;t.fn[kt].noConflict=function(){return t.fn[kt]=el,ur._jQueryInterface};var fr="tab",sl="4.3.1",ru="bs.tab",er="."+ru,hl=t.fn[fr],or={HIDE:"hide"+er,HIDDEN:"hidden"+er,SHOW:"show"+er,SHOWN:"shown"+er,CLICK_DATA_API:"click"+er+".data-api"},k={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},ft={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},sr=function(){function n(n){this._element=n}var r=n.prototype;return r.show=function(){var h=this,u,n,r,f,c,e,o,s;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(k.ACTIVE)||t(this._element).hasClass(k.DISABLED)||(r=t(this._element).closest(ft.NAV_LIST_GROUP)[0],f=i.getSelectorFromElement(this._element),r&&(c=r.nodeName==="UL"||r.nodeName==="OL"?ft.ACTIVE_UL:ft.ACTIVE,n=t.makeArray(t(r).find(c)),n=n[n.length-1]),e=t.Event(or.HIDE,{relatedTarget:this._element}),o=t.Event(or.SHOW,{relatedTarget:n}),n&&t(n).trigger(e),t(this._element).trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(f&&(u=document.querySelector(f)),this._activate(this._element,r),s=function(){var i=t.Event(or.HIDDEN,{relatedTarget:h._element}),r=t.Event(or.SHOWN,{relatedTarget:n});t(n).trigger(i);t(h._element).trigger(r)},u?this._activate(u,u.parentNode,s):s())},r.dispose=function(){t.removeData(this._element,ru);this._element=null},r._activate=function(n,r,u){var s=this,h=r&&(r.nodeName==="UL"||r.nodeName==="OL")?t(r).find(ft.ACTIVE_UL):t(r).children(ft.ACTIVE),f=h[0],c=u&&f&&t(f).hasClass(k.FADE),e=function(){return s._transitionComplete(n,f,u)},o;f&&c?(o=i.getTransitionDurationFromElement(f),t(f).removeClass(k.SHOW).one(i.TRANSITION_END,e).emulateTransitionEnd(o)):e()},r._transitionComplete=function(n,r,u){var f,e,o;r&&(t(r).removeClass(k.ACTIVE),f=t(r.parentNode).find(ft.DROPDOWN_ACTIVE_CHILD)[0],f&&t(f).removeClass(k.ACTIVE),r.getAttribute("role")==="tab"&&r.setAttribute("aria-selected",!1));t(n).addClass(k.ACTIVE);n.getAttribute("role")==="tab"&&n.setAttribute("aria-selected",!0);i.reflow(n);n.classList.contains(k.FADE)&&n.classList.add(k.SHOW);n.parentNode&&t(n.parentNode).hasClass(k.DROPDOWN_MENU)&&(e=t(n).closest(ft.DROPDOWN)[0],e&&(o=[].slice.call(e.querySelectorAll(ft.DROPDOWN_TOGGLE)),t(o).addClass(k.ACTIVE)),n.setAttribute("aria-expanded",!0));u&&u()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(ru);if(r||(r=new n(this),u.data(ru,r)),typeof i=="string"){if(typeof r[i]=="undefined")throw new TypeError('No method named "'+i+'"');r[i]()}})},p(n,null,[{key:"VERSION",get:function(){return sl}}]),n}();t(document).on(or.CLICK_DATA_API,ft.DATA_TOGGLE,function(n){n.preventDefault();sr._jQueryInterface.call(t(this),"show")});t.fn[fr]=sr._jQueryInterface;t.fn[fr].Constructor=sr;t.fn[fr].noConflict=function(){return t.fn[fr]=hl,sr._jQueryInterface};var ci="toast",cl="4.3.1",uu="bs.toast",hr="."+uu,ll=t.fn[ci],li={CLICK_DISMISS:"click.dismiss"+hr,HIDE:"hide"+hr,HIDDEN:"hidden"+hr,SHOW:"show"+hr,SHOWN:"shown"+hr},rt={FADE:"fade",HIDE:"hide",SHOW:"show",SHOWING:"showing"},al={animation:"boolean",autohide:"boolean",delay:"number"},uo={animation:!0,autohide:!0,delay:500},vl={DATA_DISMISS:'[data-dismiss="toast"]'},fu=function(){function r(n,t){this._element=n;this._config=this._getConfig(t);this._timeout=null;this._setListeners()}var n=r.prototype;return n.show=function(){var n=this,r,u;t(this._element).trigger(li.SHOW);this._config.animation&&this._element.classList.add(rt.FADE);r=function(){n._element.classList.remove(rt.SHOWING);n._element.classList.add(rt.SHOW);t(n._element).trigger(li.SHOWN);n._config.autohide&&n.hide()};this._element.classList.remove(rt.HIDE);this._element.classList.add(rt.SHOWING);this._config.animation?(u=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,r).emulateTransitionEnd(u)):r()},n.hide=function(n){var i=this;this._element.classList.contains(rt.SHOW)&&(t(this._element).trigger(li.HIDE),n?this._close():this._timeout=setTimeout(function(){i._close()},this._config.delay))},n.dispose=function(){clearTimeout(this._timeout);this._timeout=null;this._element.classList.contains(rt.SHOW)&&this._element.classList.remove(rt.SHOW);t(this._element).off(li.CLICK_DISMISS);t.removeData(this._element,uu);this._element=null;this._config=null},n._getConfig=function(n){return n=e({},uo,t(this._element).data(),typeof n=="object"&&n?n:{}),i.typeCheckConfig(ci,n,this.constructor.DefaultType),n},n._setListeners=function(){var n=this;t(this._element).on(li.CLICK_DISMISS,vl.DATA_DISMISS,function(){return n.hide(!0)})},n._close=function(){var n=this,r=function(){n._element.classList.add(rt.HIDE);t(n._element).trigger(li.HIDDEN)},u;this._element.classList.remove(rt.SHOW);this._config.animation?(u=i.getTransitionDurationFromElement(this._element),t(this._element).one(i.TRANSITION_END,r).emulateTransitionEnd(u)):r()},r._jQueryInterface=function(n){return this.each(function(){var u=t(this),i=u.data(uu),f=typeof n=="object"&&n;if(i||(i=new r(this,f),u.data(uu,i)),typeof n=="string"){if(typeof i[n]=="undefined")throw new TypeError('No method named "'+n+'"');i[n](this)}})},p(r,null,[{key:"VERSION",get:function(){return cl}},{key:"DefaultType",get:function(){return al}},{key:"Default",get:function(){return uo}}]),r}();t.fn[ci]=fu._jQueryInterface;t.fn[ci].Constructor=fu;t.fn[ci].noConflict=function(){return t.fn[ci]=ll,fu._jQueryInterface},function(){if(typeof t=="undefined")throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var n=t.fn.jquery.split(" ")[0].split("."),i=9;if(n[0]<2&&n[1]<i||n[0]===1&&n[1]===i&&n[2]<1||n[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}();n.Util=i;n.Alert=dt;n.Button=yi;n.Carousel=ni;n.Collapse=ki;n.Dropdown=ot;n.Modal=rr;n.Popover=nu;n.Scrollspy=ur;n.Tab=sr;n.Toast=fu;n.Tooltip=bt;Object.defineProperty(n,"__esModule",{value:!0})});SWFUpload==undefined&&(SWFUpload=function(n){this.initSWFUpload(n)});SWFUpload.prototype.initSWFUpload=function(n){try{this.customSettings={};this.settings=n;this.eventQueue=[];this.movieName="SWFUpload_"+SWFUpload.movieCount++;this.movieElement=null;SWFUpload.instances[this.movieName]=this;this.initSettings();this.loadFlash();this.displayDebugInfo()}catch(t){delete SWFUpload.instances[this.movieName];throw t;}};SWFUpload.instances={};SWFUpload.movieCount=0;SWFUpload.version="2.2.0 2009-03-25";SWFUpload.QUEUE_ERROR={QUEUE_LIMIT_EXCEEDED:-100,FILE_EXCEEDS_SIZE_LIMIT:-110,ZERO_BYTE_FILE:-120,INVALID_FILETYPE:-130};SWFUpload.UPLOAD_ERROR={HTTP_ERROR:-200,MISSING_UPLOAD_URL:-210,IO_ERROR:-220,SECURITY_ERROR:-230,UPLOAD_LIMIT_EXCEEDED:-240,UPLOAD_FAILED:-250,SPECIFIED_FILE_ID_NOT_FOUND:-260,FILE_VALIDATION_FAILED:-270,FILE_CANCELLED:-280,UPLOAD_STOPPED:-290};SWFUpload.FILE_STATUS={QUEUED:-1,IN_PROGRESS:-2,ERROR:-3,COMPLETE:-4,CANCELLED:-5};SWFUpload.BUTTON_ACTION={SELECT_FILE:-100,SELECT_FILES:-110,START_UPLOAD:-120};SWFUpload.CURSOR={ARROW:-1,HAND:-2};SWFUpload.WINDOW_MODE={WINDOW:"window",TRANSPARENT:"transparent",OPAQUE:"opaque"};SWFUpload.completeURL=function(n){if(typeof n!="string"||n.match(/^https?:\/\//i)||n.match(/^\//))return n;var i=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""),t=window.location.pathname.lastIndexOf("/");return path=t<=0?"/":window.location.pathname.substr(0,t)+"/",path+n};SWFUpload.prototype.initSettings=function(){this.ensureDefault=function(n,t){this.settings[n]=this.settings[n]==undefined?t:this.settings[n]};this.ensureDefault("upload_url","");this.ensureDefault("preserve_relative_urls",!1);this.ensureDefault("file_post_name","Filedata");this.ensureDefault("post_params",{});this.ensureDefault("use_query_string",!1);this.ensureDefault("requeue_on_error",!1);this.ensureDefault("http_success",[200,201,204]);this.ensureDefault("assume_success_timeout",0);this.ensureDefault("file_types","*.*");this.ensureDefault("file_types_description","All Files");this.ensureDefault("file_size_limit",0);this.ensureDefault("file_upload_limit",0);this.ensureDefault("file_queue_limit",0);this.ensureDefault("flash_url","swfupload.swf");this.ensureDefault("prevent_swf_caching",!0);this.ensureDefault("button_image_url","");this.ensureDefault("button_width",1);this.ensureDefault("button_height",1);this.ensureDefault("button_text","");this.ensureDefault("button_text_style","color: #000000; font-size: 16pt;");this.ensureDefault("button_text_top_padding",0);this.ensureDefault("button_text_left_padding",0);this.ensureDefault("button_action",SWFUpload.BUTTON_ACTION.SELECT_FILES);this.ensureDefault("button_disabled",!1);this.ensureDefault("button_placeholder_id","");this.ensureDefault("button_placeholder",null);this.ensureDefault("button_cursor",SWFUpload.CURSOR.ARROW);this.ensureDefault("button_window_mode",SWFUpload.WINDOW_MODE.WINDOW);this.ensureDefault("debug",!1);this.settings.debug_enabled=this.settings.debug;this.settings.return_upload_start_handler=this.returnUploadStart;this.ensureDefault("swfupload_loaded_handler",null);this.ensureDefault("file_dialog_start_handler",null);this.ensureDefault("file_queued_handler",null);this.ensureDefault("file_queue_error_handler",null);this.ensureDefault("file_dialog_complete_handler",null);this.ensureDefault("upload_start_handler",null);this.ensureDefault("upload_progress_handler",null);this.ensureDefault("upload_error_handler",null);this.ensureDefault("upload_success_handler",null);this.ensureDefault("upload_complete_handler",null);this.ensureDefault("debug_handler",this.debugMessage);this.ensureDefault("custom_settings",{});this.customSettings=this.settings.custom_settings;!this.settings.prevent_swf_caching||(this.settings.flash_url=this.settings.flash_url+(this.settings.flash_url.indexOf("?")<0?"?":"&")+"preventswfcaching="+(new Date).getTime());this.settings.preserve_relative_urls||(this.settings.upload_url=SWFUpload.completeURL(this.settings.upload_url),this.settings.button_image_url=SWFUpload.completeURL(this.settings.button_image_url));delete this.ensureDefault};SWFUpload.prototype.loadFlash=function(){var n,t;if(document.getElementById(this.movieName)!==null)throw"ID "+this.movieName+" is already in use. The Flash Object could not be added";if(n=document.getElementById(this.settings.button_placeholder_id)||this.settings.button_placeholder,n==undefined)throw"Could not find the placeholder element: "+this.settings.button_placeholder_id;t=document.createElement("div");t.innerHTML=this.getFlashHTML();n.parentNode.replaceChild(t.firstChild,n);window[this.movieName]==undefined&&(window[this.movieName]=this.getMovieElement())};SWFUpload.prototype.getFlashHTML=function(){return['<object id="',this.movieName,'" type="application/x-shockwave-flash" data="',this.settings.flash_url,'" width="',this.settings.button_width,'" height="',this.settings.button_height,'" class="swfupload">','<param name="wmode" value="',this.settings.button_window_mode,'" />','<param name="movie" value="',this.settings.flash_url,'" />','<param name="quality" value="high" />','<param name="menu" value="false" />','<param name="allowScriptAccess" value="always" />','<param name="flashvars" value="'+this.getFlashVars()+'" />',"<\/object>"].join("")};SWFUpload.prototype.getFlashVars=function(){var n=this.buildParamString(),t=this.settings.http_success.join(",");return["movieName=",encodeURIComponent(this.movieName),"&amp;uploadURL=",encodeURIComponent(this.settings.upload_url),"&amp;useQueryString=",encodeURIComponent(this.settings.use_query_string),"&amp;requeueOnError=",encodeURIComponent(this.settings.requeue_on_error),"&amp;httpSuccess=",encodeURIComponent(t),"&amp;assumeSuccessTimeout=",encodeURIComponent(this.settings.assume_success_timeout),"&amp;params=",encodeURIComponent(n),"&amp;filePostName=",encodeURIComponent(this.settings.file_post_name),"&amp;fileTypes=",encodeURIComponent(this.settings.file_types),"&amp;fileTypesDescription=",encodeURIComponent(this.settings.file_types_description),"&amp;fileSizeLimit=",encodeURIComponent(this.settings.file_size_limit),"&amp;fileUploadLimit=",encodeURIComponent(this.settings.file_upload_limit),"&amp;fileQueueLimit=",encodeURIComponent(this.settings.file_queue_limit),"&amp;debugEnabled=",encodeURIComponent(this.settings.debug_enabled),"&amp;buttonImageURL=",encodeURIComponent(this.settings.button_image_url),"&amp;buttonWidth=",encodeURIComponent(this.settings.button_width),"&amp;buttonHeight=",encodeURIComponent(this.settings.button_height),"&amp;buttonText=",encodeURIComponent(this.settings.button_text),"&amp;buttonTextTopPadding=",encodeURIComponent(this.settings.button_text_top_padding),"&amp;buttonTextLeftPadding=",encodeURIComponent(this.settings.button_text_left_padding),"&amp;buttonTextStyle=",encodeURIComponent(this.settings.button_text_style),"&amp;buttonAction=",encodeURIComponent(this.settings.button_action),"&amp;buttonDisabled=",encodeURIComponent(this.settings.button_disabled),"&amp;buttonCursor=",encodeURIComponent(this.settings.button_cursor)].join("")};SWFUpload.prototype.getMovieElement=function(){if(this.movieElement==undefined&&(this.movieElement=document.getElementById(this.movieName)),this.movieElement===null)throw"Could not find Flash element";return this.movieElement};SWFUpload.prototype.buildParamString=function(){var n=this.settings.post_params,i=[],t;if(typeof n=="object")for(t in n)n.hasOwnProperty(t)&&i.push(encodeURIComponent(t.toString())+"="+encodeURIComponent(n[t].toString()));return i.join("&amp;")};SWFUpload.prototype.destroy=function(){var n,t;try{if(this.cancelUpload(null,!1),n=null,n=this.getMovieElement(),n&&typeof n.CallFunction=="unknown"){for(t in n)try{typeof n[t]=="function"&&(n[t]=null)}catch(i){}try{n.parentNode.removeChild(n)}catch(r){}}return window[this.movieName]=null,SWFUpload.instances[this.movieName]=null,delete SWFUpload.instances[this.movieName],this.movieElement=null,this.settings=null,this.customSettings=null,this.eventQueue=null,this.movieName=null,!0}catch(u){return!1}};SWFUpload.prototype.displayDebugInfo=function(){this.debug(["---SWFUpload Instance Info---\n","Version: ",SWFUpload.version,"\n","Movie Name: ",this.movieName,"\n","Settings:\n","\t","upload_url:               ",this.settings.upload_url,"\n","\t","flash_url:                ",this.settings.flash_url,"\n","\t","use_query_string:         ",this.settings.use_query_string.toString(),"\n","\t","requeue_on_error:         ",this.settings.requeue_on_error.toString(),"\n","\t","http_success:             ",this.settings.http_success.join(", "),"\n","\t","assume_success_timeout:   ",this.settings.assume_success_timeout,"\n","\t","file_post_name:           ",this.settings.file_post_name,"\n","\t","post_params:              ",this.settings.post_params.toString(),"\n","\t","file_types:               ",this.settings.file_types,"\n","\t","file_types_description:   ",this.settings.file_types_description,"\n","\t","file_size_limit:          ",this.settings.file_size_limit,"\n","\t","file_upload_limit:        ",this.settings.file_upload_limit,"\n","\t","file_queue_limit:         ",this.settings.file_queue_limit,"\n","\t","debug:                    ",this.settings.debug.toString(),"\n","\t","prevent_swf_caching:      ",this.settings.prevent_swf_caching.toString(),"\n","\t","button_placeholder_id:    ",this.settings.button_placeholder_id.toString(),"\n","\t","button_placeholder:       ",this.settings.button_placeholder?"Set":"Not Set","\n","\t","button_image_url:         ",this.settings.button_image_url.toString(),"\n","\t","button_width:             ",this.settings.button_width.toString(),"\n","\t","button_height:            ",this.settings.button_height.toString(),"\n","\t","button_text:              ",this.settings.button_text.toString(),"\n","\t","button_text_style:        ",this.settings.button_text_style.toString(),"\n","\t","button_text_top_padding:  ",this.settings.button_text_top_padding.toString(),"\n","\t","button_text_left_padding: ",this.settings.button_text_left_padding.toString(),"\n","\t","button_action:            ",this.settings.button_action.toString(),"\n","\t","button_disabled:          ",this.settings.button_disabled.toString(),"\n","\t","custom_settings:          ",this.settings.custom_settings.toString(),"\n","Event Handlers:\n","\t","swfupload_loaded_handler assigned:  ",(typeof this.settings.swfupload_loaded_handler=="function").toString(),"\n","\t","file_dialog_start_handler assigned: ",(typeof this.settings.file_dialog_start_handler=="function").toString(),"\n","\t","file_queued_handler assigned:       ",(typeof this.settings.file_queued_handler=="function").toString(),"\n","\t","file_queue_error_handler assigned:  ",(typeof this.settings.file_queue_error_handler=="function").toString(),"\n","\t","upload_start_handler assigned:      ",(typeof this.settings.upload_start_handler=="function").toString(),"\n","\t","upload_progress_handler assigned:   ",(typeof this.settings.upload_progress_handler=="function").toString(),"\n","\t","upload_error_handler assigned:      ",(typeof this.settings.upload_error_handler=="function").toString(),"\n","\t","upload_success_handler assigned:    ",(typeof this.settings.upload_success_handler=="function").toString(),"\n","\t","upload_complete_handler assigned:   ",(typeof this.settings.upload_complete_handler=="function").toString(),"\n","\t","debug_handler assigned:             ",(typeof this.settings.debug_handler=="function").toString(),"\n"].join(""))};SWFUpload.prototype.addSetting=function(n,t,i){return this.settings[n]=t==undefined?i:t};SWFUpload.prototype.getSetting=function(n){return this.settings[n]!=undefined?this.settings[n]:""};SWFUpload.prototype.callFlash=function(functionName,argumentArray){argumentArray=argumentArray||[];var movieElement=this.getMovieElement(),returnValue,returnString;try{returnString=movieElement.CallFunction('<invoke name="'+functionName+'" returntype="javascript">'+__flash__argumentsToXML(argumentArray,0)+"<\/invoke>");returnValue=eval(returnString)}catch(ex){throw"Call to "+functionName+" failed";}return returnValue!=undefined&&typeof returnValue.post=="object"&&(returnValue=this.unescapeFilePostParams(returnValue)),returnValue};SWFUpload.prototype.selectFile=function(){this.callFlash("SelectFile")};SWFUpload.prototype.selectFiles=function(){this.callFlash("SelectFiles")};SWFUpload.prototype.startUpload=function(n){this.callFlash("StartUpload",[n])};SWFUpload.prototype.cancelUpload=function(n,t){t!==!1&&(t=!0);this.callFlash("CancelUpload",[n,t])};SWFUpload.prototype.stopUpload=function(){this.callFlash("StopUpload")};SWFUpload.prototype.getStats=function(){return this.callFlash("GetStats")};SWFUpload.prototype.setStats=function(n){this.callFlash("SetStats",[n])};SWFUpload.prototype.getFile=function(n){return typeof n=="number"?this.callFlash("GetFileByIndex",[n]):this.callFlash("GetFile",[n])};SWFUpload.prototype.addFileParam=function(n,t,i){return this.callFlash("AddFileParam",[n,t,i])};SWFUpload.prototype.removeFileParam=function(n,t){this.callFlash("RemoveFileParam",[n,t])};SWFUpload.prototype.setUploadURL=function(n){this.settings.upload_url=n.toString();this.callFlash("SetUploadURL",[n])};SWFUpload.prototype.setPostParams=function(n){this.settings.post_params=n;this.callFlash("SetPostParams",[n])};SWFUpload.prototype.addPostParam=function(n,t){this.settings.post_params[n]=t;this.callFlash("SetPostParams",[this.settings.post_params])};SWFUpload.prototype.removePostParam=function(n){delete this.settings.post_params[n];this.callFlash("SetPostParams",[this.settings.post_params])};SWFUpload.prototype.setFileTypes=function(n,t){this.settings.file_types=n;this.settings.file_types_description=t;this.callFlash("SetFileTypes",[n,t])};SWFUpload.prototype.setFileSizeLimit=function(n){this.settings.file_size_limit=n;this.callFlash("SetFileSizeLimit",[n])};SWFUpload.prototype.setFileUploadLimit=function(n){this.settings.file_upload_limit=n;this.callFlash("SetFileUploadLimit",[n])};SWFUpload.prototype.setFileQueueLimit=function(n){this.settings.file_queue_limit=n;this.callFlash("SetFileQueueLimit",[n])};SWFUpload.prototype.setFilePostName=function(n){this.settings.file_post_name=n;this.callFlash("SetFilePostName",[n])};SWFUpload.prototype.setUseQueryString=function(n){this.settings.use_query_string=n;this.callFlash("SetUseQueryString",[n])};SWFUpload.prototype.setRequeueOnError=function(n){this.settings.requeue_on_error=n;this.callFlash("SetRequeueOnError",[n])};SWFUpload.prototype.setHTTPSuccess=function(n){typeof n=="string"&&(n=n.replace(" ","").split(","));this.settings.http_success=n;this.callFlash("SetHTTPSuccess",[n])};SWFUpload.prototype.setAssumeSuccessTimeout=function(n){this.settings.assume_success_timeout=n;this.callFlash("SetAssumeSuccessTimeout",[n])};SWFUpload.prototype.setDebugEnabled=function(n){this.settings.debug_enabled=n;this.callFlash("SetDebugEnabled",[n])};SWFUpload.prototype.setButtonImageURL=function(n){n==undefined&&(n="");this.settings.button_image_url=n;this.callFlash("SetButtonImageURL",[n])};SWFUpload.prototype.setButtonDimensions=function(n,t){this.settings.button_width=n;this.settings.button_height=t;var i=this.getMovieElement();i!=undefined&&(i.style.width=n+"px",i.style.height=t+"px");this.callFlash("SetButtonDimensions",[n,t])};SWFUpload.prototype.setButtonText=function(n){this.settings.button_text=n;this.callFlash("SetButtonText",[n])};SWFUpload.prototype.setButtonTextPadding=function(n,t){this.settings.button_text_top_padding=t;this.settings.button_text_left_padding=n;this.callFlash("SetButtonTextPadding",[n,t])};SWFUpload.prototype.setButtonTextStyle=function(n){this.settings.button_text_style=n;this.callFlash("SetButtonTextStyle",[n])};SWFUpload.prototype.setButtonDisabled=function(n){this.settings.button_disabled=n;this.callFlash("SetButtonDisabled",[n])};SWFUpload.prototype.setButtonAction=function(n){this.settings.button_action=n;this.callFlash("SetButtonAction",[n])};SWFUpload.prototype.setButtonCursor=function(n){this.settings.button_cursor=n;this.callFlash("SetButtonCursor",[n])};SWFUpload.prototype.queueEvent=function(n,t){t==undefined?t=[]:t instanceof Array||(t=[t]);var i=this;if(typeof this.settings[n]=="function")this.eventQueue.push(function(){this.settings[n].apply(this,t)}),setTimeout(function(){i.executeNextEvent()},0);else if(this.settings[n]!==null)throw"Event handler "+n+" is unknown or is not a function";};SWFUpload.prototype.executeNextEvent=function(){var n=this.eventQueue?this.eventQueue.shift():null;typeof n=="function"&&n.apply(this)};SWFUpload.prototype.unescapeFilePostParams=function(n){var u={},t,i,r;if(n!=undefined){for(i in n.post)if(n.post.hasOwnProperty(i)){for(t=i;(r=/[$]([0-9a-f]{4})/i.exec(t))!==null;)t=t.replace(r[0],String.fromCharCode(parseInt("0x"+r[1],16)));u[t]=n.post[i]}n.post=u}return n};SWFUpload.prototype.testExternalInterface=function(){try{return this.callFlash("TestExternalInterface")}catch(n){return!1}};SWFUpload.prototype.flashReady=function(){var n=this.getMovieElement();if(!n){this.debug("Flash called back ready but the flash movie can't be found.");return}this.cleanUp(n);this.queueEvent("swfupload_loaded_handler")};SWFUpload.prototype.cleanUp=function(n){try{if(this.movieElement&&typeof n.CallFunction=="unknown"){this.debug("Removing Flash functions hooks (this should only run in IE and should prevent memory leaks)");for(var t in n)try{typeof n[t]=="function"&&(n[t]=null)}catch(i){}}}catch(r){}window.__flash__removeCallback=function(n,t){try{n&&(n[t]=null)}catch(i){}}};SWFUpload.prototype.fileDialogStart=function(){this.queueEvent("file_dialog_start_handler")};SWFUpload.prototype.fileQueued=function(n){n=this.unescapeFilePostParams(n);this.queueEvent("file_queued_handler",n)};SWFUpload.prototype.fileQueueError=function(n,t,i){n=this.unescapeFilePostParams(n);this.queueEvent("file_queue_error_handler",[n,t,i])};SWFUpload.prototype.fileDialogComplete=function(n,t,i){this.queueEvent("file_dialog_complete_handler",[n,t,i])};SWFUpload.prototype.uploadStart=function(n){n=this.unescapeFilePostParams(n);this.queueEvent("return_upload_start_handler",n)};SWFUpload.prototype.returnUploadStart=function(n){var t;if(typeof this.settings.upload_start_handler=="function")n=this.unescapeFilePostParams(n),t=this.settings.upload_start_handler.call(this,n);else if(this.settings.upload_start_handler!=undefined)throw"upload_start_handler must be a function";t===undefined&&(t=!0);t=!!t;this.callFlash("ReturnUploadStart",[t])};SWFUpload.prototype.uploadProgress=function(n,t,i){n=this.unescapeFilePostParams(n);this.queueEvent("upload_progress_handler",[n,t,i])};SWFUpload.prototype.uploadError=function(n,t,i){n=this.unescapeFilePostParams(n);this.queueEvent("upload_error_handler",[n,t,i])};SWFUpload.prototype.uploadSuccess=function(n,t,i){n=this.unescapeFilePostParams(n);this.queueEvent("upload_success_handler",[n,t,i])};SWFUpload.prototype.uploadComplete=function(n){n=this.unescapeFilePostParams(n);this.queueEvent("upload_complete_handler",n)};SWFUpload.prototype.debug=function(n){this.queueEvent("debug_handler",n)};SWFUpload.prototype.debugMessage=function(n){var i,t,r;if(this.settings.debug)if(t=[],typeof n=="object"&&typeof n.name=="string"&&typeof n.message=="string"){for(r in n)n.hasOwnProperty(r)&&t.push(r+": "+n[r]);i=t.join("\n")||"";t=i.split("\n");i="EXCEPTION: "+t.join("\nEXCEPTION: ");SWFUpload.Console.writeLine(i)}else SWFUpload.Console.writeLine(n)};SWFUpload.Console={};SWFUpload.Console.writeLine=function(n){var t,i;try{t=document.getElementById("SWFUpload_Console");t||(i=document.createElement("form"),document.getElementsByTagName("body")[0].appendChild(i),t=document.createElement("textarea"),t.id="SWFUpload_Console",t.style.fontFamily="monospace",t.setAttribute("wrap","off"),t.wrap="off",t.style.overflow="auto",t.style.width="700px",t.style.height="350px",t.style.margin="5px",i.appendChild(t));t.value+=n+"\n";t.scrollTop=t.scrollHeight-t.clientHeight}catch(r){alert("Exception: "+r.name+" Message: "+r.message)}},function(n){typeof define=="function"&&define.amd?define(["jquery"],n):n(jQuery)}(function(n){function i(t){return n.isFunction(t)||typeof t=="object"?t:{top:t,left:t}}var t=n.scrollTo=function(t,i,r){return n(window).scrollTo(t,i,r)};return t.defaults={axis:"xy",duration:parseFloat(n.fn.jquery)>=1.3?0:1,limit:!0},t.window=function(){return n(window)._scrollable()},n.fn._scrollable=function(){return this.map(function(){var t=this,r=!t.nodeName||n.inArray(t.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1,i;return r?(i=(t.contentWindow||t).document||t.ownerDocument||t,/webkit/i.test(navigator.userAgent)||i.compatMode=="BackCompat"?i.body:i.documentElement):t})},n.fn.scrollTo=function(r,u,f){return typeof u=="object"&&(f=u,u=0),typeof f=="function"&&(f={onAfter:f}),r=="max"&&(r=9e9),f=n.extend({},t.defaults,f),u=u||f.duration,f.queue=f.queue&&f.axis.length>1,f.queue&&(u/=2),f.offset=i(f.offset),f.over=i(f.over),this._scrollable().each(function(){function a(n){h.animate(o,u,f.easing,n&&function(){n.call(this,e,f)})}var l;if(r!=null){var s=this,h=n(s),e=r,c,o={},v=h.is("html,body");switch(typeof e){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(e)){e=i(e);break}if(e=n(e,this),!e.length)return;case"object":(e.is||e.style)&&(c=(e=n(e)).offset())}l=n.isFunction(f.offset)&&f.offset(s,e)||f.offset;n.each(f.axis.split(""),function(n,i){var p=i=="x"?"Left":"Top",u=p.toLowerCase(),r="scroll"+p,w=s[r],b=t.max(s,i),y;c?(o[r]=c[u]+(v?0:w-h.offset()[u]),f.margin&&(o[r]-=parseInt(e.css("margin"+p))||0,o[r]-=parseInt(e.css("border"+p+"Width"))||0),o[r]+=l[u]||0,f.over[u]&&(o[r]+=e[i=="x"?"width":"height"]()*f.over[u])):(y=e[u],o[r]=y.slice&&y.slice(-1)=="%"?parseFloat(y)/100*b:y);f.limit&&/^\d+$/.test(o[r])&&(o[r]=o[r]<=0?0:Math.min(o[r],b));!n&&f.queue&&(w!=o[r]&&a(f.onAfterFirst),delete o[r])});a(f.onAfter)}}).end()},t.max=function(t,i){var r=i=="x"?"Width":"Height",u="scroll"+r;if(!n(t).is("html,body"))return t[u]-n(t)[r.toLowerCase()]();var f="client"+r,e=t.ownerDocument.documentElement,o=t.ownerDocument.body;return Math.max(e[u],o[u])-Math.min(e[f],o[f])},t});typeof Agility=="undefined"&&(window.Agility={}),function(n){var t,r,u;n.isCtrl=!1;n.isAlt=!1;n.isShift=!1;$(document).keyup(function(t){switch(t.which){case 16:n.isShift=!1;break;case 17:n.isCtrl=!1;break;case 18:n.isAlt=!1}}).keydown(function(t){switch(t.which){case 16:n.isShift=!0;break;case 17:n.isCtrl=!0;break;case 18:n.isAlt=!0}});n.RegisterNamespace=function(n){for(var r=n.split("."),t=window,i=0;i<r.length;i++)t=typeof t[r[i]]=="undefined"?t[r[i]]={}:t[r[i]];return t};t=null;n.SessionLevelCacheKey=function(){return t==null&&(t=(new Date).toString("yyyyMMddHHmmss")),t};n.ResolveUrl=function(n){var t=window.Agility_BaseUrl||"/";return n.replace(/^~\//,t)};r={};u=0;n.UniqueID=function(n){return n==undefined||n==null||n==""?u++:(r[n]==undefined&&(r[n]=0),n+r[n]++)};n.CloneObject=function(t,r){r!=undefined&&r!=null&&r!=""&&(this.__type=r);for(i in t)if(t[i]==null)this[i]=null;else if(typeof t[i]=="object")this[i]=new n.CloneObject(t[i]);else{var u=t[i];this[i]=u}};n.QueryString=function(n,t){var r;if((t==undefined||t==null||t=="")&&(t=location.href),r=t.indexOf("?"),r<1&&r==t.length-2)return null;t.indexOf("#")!=-1&&(t=t.substring(0,t.indexOf("#")));var u=t.substring(r+1,t.length),f=u.split("&"),i=null;return jQuery.each(f,function(t,r){var u=r.split("=");if(u.length==2&&unescape(u[0]).toLowerCase()==n.toLowerCase())return i=u[1],i=i.replace(/\+/g,"%20"),i=unescape(i),!1}),i};n.ToJSONDate=function(t){t.setMinutes(t.getMinutes()+t.getTimezoneOffset());var i=t.getFullYear()+"-"+n.PadLeft(t.getMonth()+1,"0")+"-"+n.PadLeft(t.getDate()+1,"0")+" "+n.PadLeft(t.getHours(),"0")+":"+n.PadLeft(t.getMinutes(),"0")+":"+n.PadLeft(t.getSeconds(),t.getMilliseconds(),"0");return"/Date("+i+")/"};n.PadLeft=function(n,t){for(n=n+"";n.length<t;)n=t+n;return n};n.GetFlashVersion=function(){var t=0,i,r,n,u,f;if(window.ActiveXObject){i=null;try{i=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");i&&(r=i.GetVariable("$version").substring(4),r=r.split(","),t=parseInt(r[0]))}catch(e){}}else navigator.plugins!=null&&navigator.plugins.length>0&&(n=navigator.plugins["Shockwave Flash"],typeof n=="object"&&(n.version?(u=n.version,u&&(t=parseInt(u.split(".")[0]))):(f=n.description,f&&(t=parseInt(f.replace("Shockwave Flash ","").split(".")[0])))));return t};n.SetCookie=function(n,t,i,r,u,f){var e=i;document.cookie=n+"="+escape(t)+(i?";expires="+e.toGMTString():"")+(r?";path="+r:"")+(u?";domain="+u:"")+(f?";secure":"")};n.GetCookie=function(n){var u=document.cookie.split(";"),t="",r="",f="",e=!1;for(i=0;i<u.length;i++){if(t=u[i].split("="),r=t[0].replace(/^\s+|\s+$/g,""),r==n)return e=!0,t.length>1&&(f=unescape(t[1].replace(/^\s+|\s+$/g,""))),f;t=null;r=""}if(!e)return null};n.DeleteCookie=function(t,i,r,u){n.GetCookie(t)&&(document.cookie=t+"="+(i?";path="+i:"")+(r?";domain="+r:"")+(u?";secure":"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT")};n.JSON=new function(){this.decode=function(){var i,t,n,e;if(p("toString")){switch(arguments.length){case 2:n=arguments[0];i=arguments[1];break;case 1:r[typeof arguments[0]](arguments[0])===Function?(n=this,i=arguments[0]):n=arguments[0];break;default:n=this}if(u.test(n))try{if(t=f("(".concat(n,")")),i&&t!==null&&(e=r[typeof t](t))&&(e===Array||e===Object))for(n in t)t[n]=y(n,t)?i(n,t[n]):t[n]}catch(o){}else throw new JSONError("bad data");}return t};this.encode=function(){var t=arguments.length?arguments[0]:this,u,f,a,l;if(t===null)u="null";else if(t!==undefined&&(f=r[typeof t](t)))switch(f){case Array:u=[];for(var a=0,c=0,v=t.length;c<v;c++)t[c]!==undefined&&(f=n.JSON.encode(t[c]))&&(u[a++]=f);u="[".concat(u.join(","),"]");break;case Boolean:u=String(t);break;case Date:u='"'.concat(t.getFullYear(),"-",i(t.getMonth()+1),"-",i(t.getDate()),"T",i(t.getHours()),":",i(t.getMinutes()),":",i(t.getSeconds()),'"');break;case Function:break;case Number:u=isFinite(t)?String(t):"null";break;case String:u='"'.concat(t.replace(e,s).replace(o,h),'"');break;default:a=0;u=[];for(l in t)t[l]!==undefined&&(f=n.JSON.encode(t[l]))&&(u[a++]='"'.concat(l.replace(e,s).replace(o,h),'":',f));u="{".concat(u.join(","),"}")}return u};this.toDate=function(){var n=arguments.length?arguments[0]:this,i;return a.test(n)?(i=new Date,i.setHours(t(n,11,2)),i.setMinutes(t(n,14,2)),i.setSeconds(t(n,17,2)),i.setMonth(t(n,5,2)-1),i.setDate(t(n,8,2)),i.setFullYear(t(n,0,4))):v.test(n)&&(i=new Date(n*1e3)),i};var c={"\b":"b","\t":"t","\n":"n","\f":"f","\r":"r",'"':'"',"\\":"\\","/":"/"},i=function(n){return n<10?"0".concat(n):n},f=function(c,f,e){return e=eval,delete eval,typeof eval=="undefined"&&(eval=e),f=eval(""+c),eval=e,f},t=function(n,t,i){return 1*n.substr(t,i)},l=["","000","00","0",""],u=null,a=/^[0-9]{4}\-[0-9]{2}\-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}$/,e=/(\x5c|\x2F|\x22|[\x0c-\x0d]|[\x08-\x0a])/g,v=/^([0-9]+|[0-9]+[,\.][0-9]{1,3})$/,o=/([\x00-\x07]|\x0b|[\x0e-\x1f])/g,s=function(n,t){return"\\".concat(c[t])},h=function(n,t){var i=t.charCodeAt(0).toString(16);return"\\u".concat(l[i.length],i)},y=function(n,t){return r[typeof result](result)!==Function&&(t.hasOwnProperty?t.hasOwnProperty(n):t.constructor.prototype[n]!==t[n])},r={boolean:function(){return Boolean},"function":function(){return Function},number:function(){return Number},object:function(n){return n instanceof n.constructor?n.constructor:null},string:function(){return String},undefined:function(){return null}},p=function(n){function t(t,i){i=t[n];delete t[n];try{f(t)}catch(r){return t[n]=i,1}}return t(Array)&&t(Object)};try{u=new RegExp('^("(\\\\.|[^"\\\\\\n\\r])*?"|[,:{}\\[\\]0-9.\\-+Eaeflnr-u \\n\\r\\t])+?$')}catch(w){u=/^(true|false|null|\[.*\]|\{.*\}|".*"|\d+|\d+\.\d+)$/}}}(Agility);tryParseDate=Date.parse;Date.CultureInfo={name:"en-US",englishName:"English (United States)",nativeName:"English (United States)",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],firstLetterDayNames:["S","M","T","W","T","F","S"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],amDesignator:"AM",pmDesignator:"PM",firstDayOfWeek:0,twoDigitYearMax:2029,dateElementOrder:"mdy",formatPatterns:{shortDate:"M/d/yyyy",longDate:"dddd, MMMM dd, yyyy",shortTime:"h:mm tt",longTime:"h:mm:ss tt",fullDateTime:"dddd, MMMM dd, yyyy h:mm:ss tt",sortableDateTime:"yyyy-MM-ddTHH:mm:ss",universalSortableDateTime:"yyyy-MM-dd HH:mm:ssZ",rfc1123:"ddd, dd MMM yyyy HH:mm:ss GMT",monthDay:"MMMM dd",yearMonth:"MMMM, yyyy"},regexPatterns:{jan:/^jan(uary)?/i,feb:/^feb(ruary)?/i,mar:/^mar(ch)?/i,apr:/^apr(il)?/i,may:/^may/i,jun:/^jun(e)?/i,jul:/^jul(y)?/i,aug:/^aug(ust)?/i,sep:/^sep(t(ember)?)?/i,oct:/^oct(ober)?/i,nov:/^nov(ember)?/i,dec:/^dec(ember)?/i,sun:/^su(n(day)?)?/i,mon:/^mo(n(day)?)?/i,tue:/^tu(e(s(day)?)?)?/i,wed:/^we(d(nesday)?)?/i,thu:/^th(u(r(s(day)?)?)?)?/i,fri:/^fr(i(day)?)?/i,sat:/^sa(t(urday)?)?/i,future:/^next/i,past:/^last|past|prev(ious)?/i,add:/^(\+|aft(er)?|from|hence)/i,subtract:/^(\-|bef(ore)?|ago)/i,yesterday:/^yes(terday)?/i,today:/^t(od(ay)?)?/i,tomorrow:/^tom(orrow)?/i,now:/^n(ow)?/i,millisecond:/^ms|milli(second)?s?/i,second:/^sec(ond)?s?/i,minute:/^mn|min(ute)?s?/i,hour:/^h(our)?s?/i,week:/^w(eek)?s?/i,month:/^m(onth)?s?/i,day:/^d(ay)?s?/i,year:/^y(ear)?s?/i,shortMeridian:/^(a|p)/i,longMeridian:/^(a\.?m?\.?|p\.?m?\.?)/i,timezone:/^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt|utc)/i,ordinalSuffix:/^\s*(st|nd|rd|th)/i,timeContext:/^\s*(\:|a(?!u|p)|p)/i},timezones:[{name:"UTC",offset:"-000"},{name:"GMT",offset:"-000"},{name:"EST",offset:"-0500"},{name:"EDT",offset:"-0400"},{name:"CST",offset:"-0600"},{name:"CDT",offset:"-0500"},{name:"MST",offset:"-0700"},{name:"MDT",offset:"-0600"},{name:"PST",offset:"-0800"},{name:"PDT",offset:"-0700"}]},function(){var t=Date,n=t.prototype,i=t.CultureInfo,r=function(n,t){return t||(t=2),("000"+n).slice(t*-1)},e,f,o,u;n.clearTime=function(){return this.setHours(0),this.setMinutes(0),this.setSeconds(0),this.setMilliseconds(0),this};n.setTimeToNow=function(){var n=new Date;return this.setHours(n.getHours()),this.setMinutes(n.getMinutes()),this.setSeconds(n.getSeconds()),this.setMilliseconds(n.getMilliseconds()),this};t.today=function(){return(new Date).clearTime()};t.compare=function(n,t){if(isNaN(n)||isNaN(t))throw new Error(n+" - "+t);else{if(n instanceof Date&&t instanceof Date)return n<t?-1:n>t?1:0;throw new TypeError(n+" - "+t);}};t.equals=function(n,t){return n.compareTo(t)===0};t.getDayNumberFromName=function(n){for(var u=i.dayNames,f=i.abbreviatedDayNames,e=i.shortestDayNames,r=n.toLowerCase(),t=0;t<u.length;t++)if(u[t].toLowerCase()==r||f[t].toLowerCase()==r||e[t].toLowerCase()==r)return t;return-1};t.getMonthNumberFromName=function(n){for(var r=i.monthNames,f=i.abbreviatedMonthNames,u=n.toLowerCase(),t=0;t<r.length;t++)if(r[t].toLowerCase()==u||f[t].toLowerCase()==u)return t;return-1};t.isLeapYear=function(n){return n%4==0&&n%100!=0||n%400==0};t.getDaysInMonth=function(n,i){return[31,t.isLeapYear(n)?29:28,31,30,31,30,31,31,30,31,30,31][i]};t.getTimezoneAbbreviation=function(n){for(var r=i.timezones,t=0;t<r.length;t++)if(r[t].offset===n)return r[t].name;return null};t.getTimezoneOffset=function(n){for(var r=i.timezones,t=0;t<r.length;t++)if(r[t].name===n.toUpperCase())return r[t].offset;return null};n.clone=function(){return new Date(this.getTime())};n.compareTo=function(n){return Date.compare(this,n)};n.equals=function(n){return Date.equals(this,n||new Date)};n.between=function(n,t){return this.getTime()>=n.getTime()&&this.getTime()<=t.getTime()};n.isAfter=function(n){return this.compareTo(n||new Date)===1};n.isBefore=function(n){return this.compareTo(n||new Date)===-1};n.isToday=n.isSameDay=function(n){return this.clone().clearTime().equals((n||new Date).clone().clearTime())};n.addMilliseconds=function(n){return this.setMilliseconds(this.getMilliseconds()+n*1),this};n.addSeconds=function(n){return this.addMilliseconds(n*1e3)};n.addMinutes=function(n){return this.addMilliseconds(n*6e4)};n.addHours=function(n){return this.addMilliseconds(n*36e5)};n.addDays=function(n){return this.setDate(this.getDate()+n*1),this};n.addWeeks=function(n){return this.addDays(n*7)};n.addMonths=function(n){var i=this.getDate();return this.setDate(1),this.setMonth(this.getMonth()+n*1),this.setDate(Math.min(i,t.getDaysInMonth(this.getFullYear(),this.getMonth()))),this};n.addYears=function(n){return this.addMonths(n*12)};n.add=function(n){if(typeof n=="number")return this._orient=n,this;var t=n;return t.milliseconds&&this.addMilliseconds(t.milliseconds),t.seconds&&this.addSeconds(t.seconds),t.minutes&&this.addMinutes(t.minutes),t.hours&&this.addHours(t.hours),t.weeks&&this.addWeeks(t.weeks),t.months&&this.addMonths(t.months),t.years&&this.addYears(t.years),t.days&&this.addDays(t.days),this};n.getWeek=function(){var n,i,r,l,h,u,c,s,t,a;return e=e?e:this.getFullYear(),f=f?f:this.getMonth()+1,o=o?o:this.getDate(),f<=2?(n=e-1,i=(n/4|0)-(n/100|0)+(n/400|0),r=((n-1)/4|0)-((n-1)/100|0)+((n-1)/400|0),t=i-r,h=0,u=o-1+31*(f-1)):(n=e,i=(n/4|0)-(n/100|0)+(n/400|0),r=((n-1)/4|0)-((n-1)/100|0)+((n-1)/400|0),t=i-r,h=t+1,u=o+(153*(f-3)+2)/5+58+t),c=(n+i)%7,l=(u+c-h)%7,s=u+3-l|0,a=s<0?53-((c-t)/5|0):s>364+t?1:(s/7|0)+1,e=f=o=null,a};n.getISOWeek=function(){return e=this.getUTCFullYear(),f=this.getUTCMonth()+1,o=this.getUTCDate(),r(this.getWeek())};n.setWeek=function(n){return this.moveToDayOfWeek(1).addWeeks(n-this.getWeek())};u=function(n,t,i,r){if(typeof n=="undefined")return!1;if(typeof n!="number")throw new TypeError(n+" is not a Number.");else if(n<t||n>i)throw new RangeError(n+" is not a valid value for "+r+".");return!0};t.validateMillisecond=function(n){return u(n,0,999,"millisecond")};t.validateSecond=function(n){return u(n,0,59,"second")};t.validateMinute=function(n){return u(n,0,59,"minute")};t.validateHour=function(n){return u(n,0,23,"hour")};t.validateDay=function(n,i,r){return u(n,1,t.getDaysInMonth(i,r),"day")};t.validateMonth=function(n){return u(n,0,11,"month")};t.validateYear=function(n){return u(n,0,9999,"year")};n.set=function(n){return t.validateMillisecond(n.millisecond)&&this.addMilliseconds(n.millisecond-this.getMilliseconds()),t.validateSecond(n.second)&&this.addSeconds(n.second-this.getSeconds()),t.validateMinute(n.minute)&&this.addMinutes(n.minute-this.getMinutes()),t.validateHour(n.hour)&&this.addHours(n.hour-this.getHours()),t.validateMonth(n.month)&&this.addMonths(n.month-this.getMonth()),t.validateYear(n.year)&&this.addYears(n.year-this.getFullYear()),t.validateDay(n.day,this.getFullYear(),this.getMonth())&&this.addDays(n.day-this.getDate()),n.timezone&&this.setTimezone(n.timezone),n.timezoneOffset&&this.setTimezoneOffset(n.timezoneOffset),n.week&&u(n.week,0,53,"week")&&this.setWeek(n.week),this};n.moveToFirstDayOfMonth=function(){return this.set({day:1})};n.moveToLastDayOfMonth=function(){return this.set({day:t.getDaysInMonth(this.getFullYear(),this.getMonth())})};n.moveToNthOccurrence=function(n,t){var i=0;if(t>0)i=t-1;else if(t===-1)return this.moveToLastDayOfMonth(),this.getDay()!==n&&this.moveToDayOfWeek(n,-1),this;return this.moveToFirstDayOfMonth().addDays(-1).moveToDayOfWeek(n,1).addWeeks(i)};n.moveToDayOfWeek=function(n,t){var i=(n-this.getDay()+7*(t||1))%7;return this.addDays(i===0?i+=7*(t||1):i)};n.moveToMonth=function(n,t){var i=(n-this.getMonth()+12*(t||1))%12;return this.addMonths(i===0?i+=12*(t||1):i)};n.getOrdinalNumber=function(){return Math.ceil((this.clone().clearTime()-new Date(this.getFullYear(),0,1))/864e5)+1};n.getTimezone=function(){return t.getTimezoneAbbreviation(this.getUTCOffset())};n.setTimezoneOffset=function(n){var t=this.getTimezoneOffset(),i=Number(n)*-6/10;return this.addMinutes(i-t)};n.setTimezone=function(n){return this.setTimezoneOffset(t.getTimezoneOffset(n))};n.hasDaylightSavingTime=function(){return Date.today().set({month:0,day:1}).getTimezoneOffset()!==Date.today().set({month:6,day:1}).getTimezoneOffset()};n.isDaylightSavingTime=function(){return Date.today().set({month:0,day:1}).getTimezoneOffset()!=this.getTimezoneOffset()};n.getUTCOffset=function(){var t=this.getTimezoneOffset()*-10/6,n;return t<0?(n=(t-1e4).toString(),n.charAt(0)+n.substr(2)):(n=(t+1e4).toString(),"+"+n.substr(1))};n.getElapsed=function(n){return(n||new Date)-this};n.toISOString||(n.toISOString=function(){function n(n){return n<10?"0"+n:n}return'"'+this.getUTCFullYear()+"-"+n(this.getUTCMonth()+1)+"-"+n(this.getUTCDate())+"T"+n(this.getUTCHours())+":"+n(this.getUTCMinutes())+":"+n(this.getUTCSeconds())+'Z"'});n._toString=n.toString;n.toString=function(n){var t=this,u,f;if(n&&n.length==1){u=i.formatPatterns;t.t=t.toString;switch(n){case"d":return t.t(u.shortDate);case"D":return t.t(u.longDate);case"F":return t.t(u.fullDateTime);case"m":return t.t(u.monthDay);case"r":return t.t(u.rfc1123);case"s":return t.t(u.sortableDateTime);case"t":return t.t(u.shortTime);case"T":return t.t(u.longTime);case"u":return t.t(u.universalSortableDateTime);case"y":return t.t(u.yearMonth)}}return f=function(n){switch(n*1){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},n?n.replace(/(\\)?(dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|S)/g,function(n){if(n.charAt(0)==="\\")return n.replace("\\","");t.h=t.getHours;switch(n){case"hh":return r(t.h()<13?t.h()===0?12:t.h():t.h()-12);case"h":return t.h()<13?t.h()===0?12:t.h():t.h()-12;case"HH":return r(t.h());case"H":return t.h();case"mm":return r(t.getMinutes());case"m":return t.getMinutes();case"ss":return r(t.getSeconds());case"s":return t.getSeconds();case"yyyy":return r(t.getFullYear(),4);case"yy":return r(t.getFullYear());case"dddd":return i.dayNames[t.getDay()];case"ddd":return i.abbreviatedDayNames[t.getDay()];case"dd":return r(t.getDate());case"d":return t.getDate();case"MMMM":return i.monthNames[t.getMonth()];case"MMM":return i.abbreviatedMonthNames[t.getMonth()];case"MM":return r(t.getMonth()+1);case"M":return t.getMonth()+1;case"t":return t.h()<12?i.amDesignator.substring(0,1):i.pmDesignator.substring(0,1);case"tt":return t.h()<12?i.amDesignator:i.pmDesignator;case"S":return f(t.getDate());default:return n}}):this._toString()}}(),function(){var i,o,f,u;Date.Parsing={Exception:function(n){this.message="Parse error at '"+n.substring(0,10)+" ...'"}};var t=Date.Parsing,n=t.Operators={rtoken:function(n){return function(i){var r=i.match(n);if(r)return[r[0],i.substring(r[0].length)];throw new t.Exception(i);}},token:function(){return function(t){return n.rtoken(new RegExp("^s*"+t+"s*"))(t)}},stoken:function(t){return n.rtoken(new RegExp("^"+t))},until:function(n){return function(t){for(var r=[],i=null;t.length;){try{i=n.call(this,t)}catch(u){r.push(i[0]);t=i[1];continue}break}return[r,t]}},many:function(n){return function(t){for(var i=[],r=null;t.length;){try{r=n.call(this,t)}catch(u){return[i,t]}i.push(r[0]);t=r[1]}return[i,t]}},optional:function(n){return function(t){var i=null;try{i=n.call(this,t)}catch(r){return[null,t]}return[i[0],i[1]]}},not:function(n){return function(i){try{n.call(this,i)}catch(r){return[null,i]}throw new t.Exception(i);}},ignore:function(n){return n?function(t){var i=null;return i=n.call(this,t),[null,i[1]]}:null},product:function(){for(var i=arguments[0],u=Array.prototype.slice.call(arguments,1),r=[],t=0;t<i.length;t++)r.push(n.each(i[t],u));return r},cache:function(n){var r={},i=null;return function(u){try{i=r[u]=r[u]||n.call(this,u)}catch(f){i=r[u]=f}if(i instanceof t.Exception)throw i;else return i}},any:function(){var n=arguments;return function(i){for(var r=null,u=0;u<n.length;u++)if(n[u]!=null){try{r=n[u].call(this,i)}catch(f){r=null}if(r)return r}throw new t.Exception(i);}},each:function(){var n=arguments;return function(i){for(var f=[],u=null,r=0;r<n.length;r++)if(n[r]!=null){try{u=n[r].call(this,i)}catch(e){throw new t.Exception(i);}f.push(u[0]);i=u[1]}return[f,i]}},all:function(){var t=arguments,n=n;return n.each(n.optional(t))},sequence:function(i,r,u){return(r=r||n.rtoken(/^\s*/),u=u||null,i.length==1)?i[0]:function(n){for(var f=null,e=null,s=[],o=0;o<i.length;o++){try{f=i[o].call(this,n)}catch(h){break}s.push(f[0]);try{e=r.call(this,f[1])}catch(c){e=null;break}n=e[1]}if(!f)throw new t.Exception(n);if(e)throw new t.Exception(e[1]);if(u)try{f=u.call(this,f[1])}catch(l){throw new t.Exception(f[1]);}return[s,f?f[1]:n]}},between:function(t,i,u){u=u||t;var f=n.each(n.ignore(t),i,n.ignore(u));return function(n){var t=f.call(this,n);return[[t[0][0],r[0][2]],t[1]]}},list:function(t,i,r){return i=i||n.rtoken(/^\s*/),r=r||null,t instanceof Array?n.each(n.product(t.slice(0,-1),n.ignore(i)),t.slice(-1),n.ignore(r)):n.each(n.many(n.each(t,n.ignore(i))),px,n.ignore(r))},set:function(i,r,u){return r=r||n.rtoken(/^\s*/),u=u||null,function(f){for(var y,a,s=null,l=null,h=null,c=null,e=[[],f],o=!1,v=0;v<i.length;v++){h=null;l=null;s=null;o=i.length==1;try{s=i[v].call(this,f)}catch(p){continue}if(c=[[s[0]],s[1]],s[1].length>0&&!o)try{h=r.call(this,s[1])}catch(w){o=!0}else o=!0;if(o||h[1].length!==0||(o=!0),!o){for(y=[],a=0;a<i.length;a++)v!=a&&y.push(i[a]);l=n.set(y,r).call(this,h[1]);l[0].length>0&&(c[0]=c[0].concat(l[0]),c[1]=l[1])}if(c[1].length<e[1].length&&(e=c),e[1].length===0)break}if(e[0].length===0)return e;if(u){try{h=u.call(this,e[1])}catch(b){throw new t.Exception(e[1]);}e[1]=h[1]}return e}},forward:function(n,t){return function(i){return n[t].call(this,i)}},replace:function(n,t){return function(i){var r=n.call(this,i);return[t,r[1]]}},process:function(n,t){return function(i){var r=n.call(this,i);return[t.call(this,r[0]),r[1]]}},min:function(n,i){return function(r){var u=i.call(this,r);if(u[0].length<n)throw new t.Exception(r);return u}}},s=function(n){return function(){var t=null,u=[],i,r;if(arguments.length>1?t=Array.prototype.slice.call(arguments):arguments[0]instanceof Array&&(t=arguments[0]),t)for(i=0,r=t.shift();i<r.length;i++)return t.unshift(r[i]),u.push(n.apply(null,t)),t.shift(),u;else return n.apply(null,arguments)}},e="optional not ignore cache".split(/\s/);for(i=0;i<e.length;i++)n[e[i]]=s(n[e[i]]);for(o=function(n){return function(){return arguments[0]instanceof Array?n.apply(null,arguments[0]):n.apply(null,arguments)}},f="each any all".split(/\s/),u=0;u<f.length;u++)n[f[u]]=o(n[f[u]])}(),function(){var r=Date,c=r.prototype,f=r.CultureInfo,h=function(n){for(var i=[],t=0;t<n.length;t++)n[t]instanceof Array?i=i.concat(h(n[t])):n[t]&&i.push(n[t]);return i},e,o,s;r.Grammar={};r.Translator={hour:function(n){return function(){this.hour=Number(n)}},minute:function(n){return function(){this.minute=Number(n)}},second:function(n){return function(){this.second=Number(n)}},meridian:function(n){return function(){this.meridian=n.slice(0,1).toLowerCase()}},timezone:function(n){return function(){var t=n.replace(/[^\d\+\-]/g,"");t.length?this.timezoneOffset=Number(t):this.timezone=n.toLowerCase()}},day:function(n){var t=n[0];return function(){this.day=Number(t.match(/\d+/)[0])}},month:function(n){return function(){this.month=n.length==3?"jan feb mar apr may jun jul aug sep oct nov dec".indexOf(n)/4:Number(n)-1}},year:function(n){return function(){var t=Number(n);this.year=n.length>2?t:t+(t+2e3<f.twoDigitYearMax?2e3:1900)}},rday:function(n){return function(){switch(n){case"yesterday":this.days=-1;break;case"tomorrow":this.days=1;break;case"today":this.days=0;break;case"now":this.days=0;this.now=!0}}},finishExact:function(n){var t,i,u;for(n=n instanceof Array?n:[n],t=0;t<n.length;t++)n[t]&&n[t].call(this);if(i=new Date,!(this.hour||this.minute)||this.month||this.year||this.day||(this.day=i.getDate()),this.year||(this.year=i.getFullYear()),this.month||this.month===0||(this.month=i.getMonth()),this.day||(this.day=1),this.hour||(this.hour=0),this.minute||(this.minute=0),this.second||(this.second=0),this.meridian&&this.hour&&(this.meridian=="p"&&this.hour<12?this.hour=this.hour+12:this.meridian=="a"&&this.hour==12&&(this.hour=0)),this.day>r.getDaysInMonth(this.year,this.month))throw new RangeError(this.day+" is not a valid value for days.");return u=new Date(this.year,this.month,this.day,this.hour,this.minute,this.second),this.timezone?u.set({timezone:this.timezone}):this.timezoneOffset&&u.set({timezoneOffset:this.timezoneOffset}),u},finish:function(n){var s,t,i,o,u,e,f;if(n=n instanceof Array?h(n):[n],n.length===0)return null;for(s=0;s<n.length;s++)typeof n[s]=="function"&&n[s].call(this);if(t=r.today(),!this.now||this.unit||this.operator)this.now&&(t=new Date);else return new Date;return(i=!!(this.days&&this.days!==null||this.orient||this.operator),e=this.orient=="past"||this.operator=="subtract"?-1:1,this.now||"hour minute second".indexOf(this.unit)==-1||t.setTimeToNow(),(this.month||this.month===0)&&"year day hour minute second".indexOf(this.unit)!=-1&&(this.value=this.month+1,this.month=null,i=!0),i||!this.weekday||this.day||this.days||(f=Date[this.weekday](),this.day=f.getDate(),this.month||(this.month=f.getMonth()),this.year=f.getFullYear()),i&&this.weekday&&this.unit!="month"&&(this.unit="day",o=r.getDayNumberFromName(this.weekday)-t.getDay(),u=7,this.days=o?(o+e*u)%u:e*u),this.month&&this.unit=="day"&&this.operator&&(this.value=this.month+1,this.month=null),this.value!=null&&this.month!=null&&this.year!=null&&(this.day=this.value*1),this.month&&!this.day&&this.value&&(t.set({day:this.value*1}),i||(this.day=this.value*1)),this.month||!this.value||this.unit!="month"||this.now||(this.month=this.value,i=!0),i&&(this.month||this.month===0)&&this.unit!="year"&&(this.unit="month",o=this.month-t.getMonth(),u=12,this.months=o?(o+e*u)%u:e*u,this.month=null),this.unit||(this.unit="day"),!this.value&&this.operator&&this.operator!==null&&this[this.unit+"s"]&&this[this.unit+"s"]!==null?this[this.unit+"s"]=this[this.unit+"s"]+(this.operator=="add"?1:-1)+(this.value||0)*e:(this[this.unit+"s"]==null||this.operator!=null)&&(this.value||(this.value=1),this[this.unit+"s"]=this.value*e),this.meridian&&this.hour&&(this.meridian=="p"&&this.hour<12?this.hour=this.hour+12:this.meridian=="a"&&this.hour==12&&(this.hour=0)),!this.weekday||this.day||this.days||(f=Date[this.weekday](),this.day=f.getDate(),f.getMonth()!==t.getMonth()&&(this.month=f.getMonth())),(this.month||this.month===0)&&!this.day&&(this.day=1),!this.orient&&!this.operator&&this.unit=="week"&&this.value&&!this.day&&!this.month)?Date.today().setWeek(this.value):(i&&this.timezone&&this.day&&this.days&&(this.day=this.days),i?t.add(this):t.set(this))}};var t=r.Parsing.Operators,n=r.Grammar,i=r.Translator,u;n.datePartDelimiter=t.rtoken(/^([\s\-\.\,\/\x27]+)/);n.timePartDelimiter=t.stoken(":");n.whiteSpace=t.rtoken(/^\s*/);n.generalDelimiter=t.rtoken(/^(([\s\,]|at|@|on)+)/);e={};n.ctoken=function(n){var r=e[n],i;if(!r){var s=f.regexPatterns,u=n.split(/\s+/),o=[];for(i=0;i<u.length;i++)o.push(t.replace(t.rtoken(s[u[i]]),u[i]));r=e[n]=t.any.apply(null,o)}return r};n.ctoken2=function(n){return t.rtoken(f.regexPatterns[n])};n.h=t.cache(t.process(t.rtoken(/^(0[0-9]|1[0-2]|[1-9])/),i.hour));n.hh=t.cache(t.process(t.rtoken(/^(0[0-9]|1[0-2])/),i.hour));n.H=t.cache(t.process(t.rtoken(/^([0-1][0-9]|2[0-3]|[0-9])/),i.hour));n.HH=t.cache(t.process(t.rtoken(/^([0-1][0-9]|2[0-3])/),i.hour));n.m=t.cache(t.process(t.rtoken(/^([0-5][0-9]|[0-9])/),i.minute));n.mm=t.cache(t.process(t.rtoken(/^[0-5][0-9]/),i.minute));n.s=t.cache(t.process(t.rtoken(/^([0-5][0-9]|[0-9])/),i.second));n.ss=t.cache(t.process(t.rtoken(/^[0-5][0-9]/),i.second));n.hms=t.cache(t.sequence([n.H,n.m,n.s],n.timePartDelimiter));n.t=t.cache(t.process(n.ctoken2("shortMeridian"),i.meridian));n.tt=t.cache(t.process(n.ctoken2("longMeridian"),i.meridian));n.z=t.cache(t.process(t.rtoken(/^((\+|\-)\s*\d\d\d\d)|((\+|\-)\d\d\:?\d\d)/),i.timezone));n.zz=t.cache(t.process(t.rtoken(/^((\+|\-)\s*\d\d\d\d)|((\+|\-)\d\d\:?\d\d)/),i.timezone));n.zzz=t.cache(t.process(n.ctoken2("timezone"),i.timezone));n.timeSuffix=t.each(t.ignore(n.whiteSpace),t.set([n.tt,n.zzz]));n.time=t.each(t.optional(t.ignore(t.stoken("T"))),n.hms,n.timeSuffix);n.d=t.cache(t.process(t.each(t.rtoken(/^([0-2]\d|3[0-1]|\d)/),t.optional(n.ctoken2("ordinalSuffix"))),i.day));n.dd=t.cache(t.process(t.each(t.rtoken(/^([0-2]\d|3[0-1])/),t.optional(n.ctoken2("ordinalSuffix"))),i.day));n.ddd=n.dddd=t.cache(t.process(n.ctoken("sun mon tue wed thu fri sat"),function(n){return function(){this.weekday=n}}));n.M=t.cache(t.process(t.rtoken(/^(1[0-2]|0\d|\d)/),i.month));n.MM=t.cache(t.process(t.rtoken(/^(1[0-2]|0\d)/),i.month));n.MMM=n.MMMM=t.cache(t.process(n.ctoken("jan feb mar apr may jun jul aug sep oct nov dec"),i.month));n.y=t.cache(t.process(t.rtoken(/^(\d\d?)/),i.year));n.yy=t.cache(t.process(t.rtoken(/^(\d\d)/),i.year));n.yyy=t.cache(t.process(t.rtoken(/^(\d\d?\d?\d?)/),i.year));n.yyyy=t.cache(t.process(t.rtoken(/^(\d\d\d\d)/),i.year));u=function(){return t.each(t.any.apply(null,arguments),t.not(n.ctoken2("timeContext")))};n.day=u(n.d,n.dd);n.month=u(n.M,n.MMM);n.year=u(n.yyyy,n.yy);n.orientation=t.process(n.ctoken("past future"),function(n){return function(){this.orient=n}});n.operator=t.process(n.ctoken("add subtract"),function(n){return function(){this.operator=n}});n.rday=t.process(n.ctoken("yesterday tomorrow today now"),i.rday);n.unit=t.process(n.ctoken("second minute hour day week month year"),function(n){return function(){this.unit=n}});n.value=t.process(t.rtoken(/^\d\d?(st|nd|rd|th)?/),function(n){return function(){this.value=n.replace(/\D/g,"")}});n.expression=t.set([n.rday,n.operator,n.value,n.unit,n.orientation,n.ddd,n.MMM]);u=function(){return t.set(arguments,n.datePartDelimiter)};n.mdy=u(n.ddd,n.month,n.day,n.year);n.ymd=u(n.ddd,n.year,n.month,n.day);n.dmy=u(n.ddd,n.day,n.month,n.year);n.date=function(t){return(n[f.dateElementOrder]||n.mdy).call(this,t)};n.format=t.process(t.many(t.any(t.process(t.rtoken(/^(dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?)/),function(t){if(n[t])return n[t];throw r.Parsing.Exception(t);}),t.process(t.rtoken(/^[^dMyhHmstz]+/),function(n){return t.ignore(t.stoken(n))}))),function(n){return t.process(t.each.apply(null,n),i.finishExact)});o={};s=function(t){return o[t]=o[t]||n.format(t)[0]};n.formats=function(n){var r,i;if(n instanceof Array){for(r=[],i=0;i<n.length;i++)r.push(s(n[i]));return t.any.apply(null,r)}return s(n)};n._formats=n.formats(['"yyyy-MM-ddTHH:mm:ssZ"',"yyyy-MM-ddTHH:mm:ssZ","yyyy-MM-ddTHH:mm:ssz","yyyy-MM-ddTHH:mm:ss","yyyy-MM-ddTHH:mmZ","yyyy-MM-ddTHH:mmz","yyyy-MM-ddTHH:mm","ddd, MMM dd, yyyy H:mm:ss tt","ddd MMM d yyyy HH:mm:ss zzz","MMddyyyy","ddMMyyyy","Mddyyyy","ddMyyyy","Mdyyyy","dMyyyy","yyyy","Mdyy","dMyy","d"]);n._start=t.process(t.set([n.date,n.time,n.expression],n.generalDelimiter,n.whiteSpace),i.finish);n.start=function(t){try{var i=n._formats.call({},t);if(i[1].length===0)return i}catch(r){}return n._start.call({},t)};r._parse=r.parse;r.parse=function(n){var t=null;if(!n)return null;if(n instanceof Date)return n;try{t=r.Grammar.start.call({},n.replace(/^\s*(\S*(\s+\S+)*)\s*$/,"$1"))}catch(i){return null}try{return t[1].length===0?t[0]:Date._parse(n)}catch(u){return tryParseDate(n)}};r.getParseFunction=function(n){var t=r.Grammar.formats(n);return function(n){var i=null;try{i=t.call({},n)}catch(r){return null}return i[1].length===0?i[0]:null}};r.parseExact=function(n,t){return r.getParseFunction(t)(n)}}(),function(){var t=Date,n=t.prototype,d=t.CultureInfo,u=Number.prototype,y,p,i,w,b,r,l,k,c,a,h;n._orient=1;n._nth=null;n._is=!1;n._same=!1;n._isSecond=!1;u._dateElement="day";n.next=function(){return this._orient=1,this};t.next=function(){return t.today().next()};n.last=n.prev=n.previous=function(){return this._orient=-1,this};t.last=t.prev=t.previous=function(){return t.today().last()};n.is=function(){return this._is=!0,this};n.same=function(){return this._same=!0,this._isSecond=!1,this};n.today=function(){return this.same().day()};n.weekday=function(){return this._is?(this._is=!1,!this.is().sat()&&!this.is().sun()):!1};n.at=function(n){return typeof n=="string"?t.parse(this.toString("d")+" "+n):this.set(n)};u.fromNow=u.after=function(n){var t={};return t[this._dateElement]=this,(n?n.clone():new Date).add(t)};u.ago=u.before=function(n){var t={};return t[this._dateElement]=this*-1,(n?n.clone():new Date).add(t)};var f="sunday monday tuesday wednesday thursday friday saturday".split(/\s/),e="january february march april may june july august september october november december".split(/\s/),o="Millisecond Second Minute Hour Day Week Month Year".split(/\s/),g="Milliseconds Seconds Minutes Hours Date Week Month FullYear".split(/\s/),v="final first second third fourth fifth".split(/\s/),s;for(n.toObject=function(){for(var t={},n=0;n<o.length;n++)t[o[n].toLowerCase()]=this["get"+g[n]]();return t},t.fromObject=function(n){return n.week=null,Date.today().set(n)},y=function(n){return function(){var r,i;if(this._is)return this._is=!1,this.getDay()==n;if(this._nth!==null){if(this._isSecond&&this.addSeconds(this._orient*-1),this._isSecond=!1,r=this._nth,this._nth=null,i=this.clone().moveToLastDayOfMonth(),this.moveToNthOccurrence(n,r),this>i)throw new RangeError(t.getDayName(n)+" does not occur "+r+" times in the month of "+t.getMonthName(i.getMonth())+" "+i.getFullYear()+".");return this}return this.moveToDayOfWeek(n,this._orient)}},p=function(n){return function(){var i=t.today(),r=n-i.getDay();return n===0&&d.firstDayOfWeek===1&&i.getDay()!==0&&(r=r+7),i.addDays(r)}},i=0;i<f.length;i++)t[f[i].toUpperCase()]=t[f[i].toUpperCase().substring(0,3)]=i,t[f[i]]=t[f[i].substring(0,3)]=p(i),n[f[i]]=n[f[i].substring(0,3)]=y(i);for(w=function(n){return function(){return this._is?(this._is=!1,this.getMonth()===n):this.moveToMonth(n,this._orient)}},b=function(n){return function(){return t.today().set({month:n,day:1})}},r=0;r<e.length;r++)t[e[r].toUpperCase()]=t[e[r].toUpperCase().substring(0,3)]=r,t[e[r]]=t[e[r].substring(0,3)]=b(r),n[e[r]]=n[e[r].substring(0,3)]=w(r);for(l=function(n){return function(){var i;if(this._isSecond)return this._isSecond=!1,this;if(this._same){this._same=this._is=!1;var r=this.toObject(),u=(arguments[0]||new Date).toObject(),t="",f=n.toLowerCase();for(i=o.length-1;i>-1;i--){if(t=o[i].toLowerCase(),r[t]!=u[t])return!1;if(f==t)break}return!0}return n.substring(n.length-1)!="s"&&(n+="s"),this["add"+n](this._orient)}},k=function(n){return function(){return this._dateElement=n,this}},c=0;c<o.length;c++)s=o[c].toLowerCase(),n[s]=n[s+"s"]=l(o[c]),u[s]=u[s+"s"]=k(s);for(n._ss=l("Second"),a=function(n){return function(t){return this._same?this._ss(arguments[0]):t||t===0?this.moveToNthOccurrence(t,n):(this._nth=n,n===2&&(t===undefined||t===null))?(this._isSecond=!0,this.addSeconds(this._orient)):this}},h=0;h<v.length;h++)n[v[h]]=h===0?a(-1):a(h)}();TimeSpan=function(n,t,i,r,u){for(var f,s,e,h="days hours minutes seconds milliseconds".split(/\s+/),c=function(n){return function(){return this[n]}},l=function(n){return function(t){return this[n]=t,this}},o=0;o<h.length;o++)f=h[o],s=f.slice(0,1).toUpperCase()+f.slice(1),TimeSpan.prototype[f]=0,TimeSpan.prototype["get"+s]=c(f),TimeSpan.prototype["set"+s]=l(f);return arguments.length==4?(this.setDays(n),this.setHours(t),this.setMinutes(i),this.setSeconds(r)):arguments.length==5?(this.setDays(n),this.setHours(t),this.setMinutes(i),this.setSeconds(r),this.setMilliseconds(u)):arguments.length==1&&typeof n=="number"&&(e=n<0?-1:1,this.setMilliseconds(Math.abs(n)),this.setDays(Math.floor(this.getMilliseconds()/864e5)*e),this.setMilliseconds(this.getMilliseconds()%864e5),this.setHours(Math.floor(this.getMilliseconds()/36e5)*e),this.setMilliseconds(this.getMilliseconds()%36e5),this.setMinutes(Math.floor(this.getMilliseconds()/6e4)*e),this.setMilliseconds(this.getMilliseconds()%6e4),this.setSeconds(Math.floor(this.getMilliseconds()/1e3)*e),this.setMilliseconds(this.getMilliseconds()%1e3),this.setMilliseconds(this.getMilliseconds()*e)),this.getTotalMilliseconds=function(){return this.getDays()*864e5+this.getHours()*36e5+this.getMinutes()*6e4+this.getSeconds()*1e3},this.compareTo=function(n){var i=new Date(1970,1,1,this.getHours(),this.getMinutes(),this.getSeconds()),t;return t=n===null?new Date(1970,1,1,0,0,0):new Date(1970,1,1,n.getHours(),n.getMinutes(),n.getSeconds()),i<t?-1:i>t?1:0},this.equals=function(n){return this.compareTo(n)===0},this.add=function(n){return n===null?this:this.addSeconds(n.getTotalMilliseconds()/1e3)},this.subtract=function(n){return n===null?this:this.addSeconds(-n.getTotalMilliseconds()/1e3)},this.addDays=function(n){return new TimeSpan(this.getTotalMilliseconds()+n*864e5)},this.addHours=function(n){return new TimeSpan(this.getTotalMilliseconds()+n*36e5)},this.addMinutes=function(n){return new TimeSpan(this.getTotalMilliseconds()+n*6e4)},this.addSeconds=function(n){return new TimeSpan(this.getTotalMilliseconds()+n*1e3)},this.addMilliseconds=function(n){return new TimeSpan(this.getTotalMilliseconds()+n)},this.get12HourHour=function(){return this.getHours()>12?this.getHours()-12:this.getHours()===0?12:this.getHours()},this.getDesignator=function(){return this.getHours()<12?Date.CultureInfo.amDesignator:Date.CultureInfo.pmDesignator},this.toString=function(n){this._toString=function(){return this.getDays()!==null&&this.getDays()>0?this.getDays()+"."+this.getHours()+":"+this.p(this.getMinutes())+":"+this.p(this.getSeconds()):this.getHours()+":"+this.p(this.getMinutes())+":"+this.p(this.getSeconds())};this.p=function(n){return n.toString().length<2?"0"+n:n};var t=this;return n?n.replace(/dd?|HH?|hh?|mm?|ss?|tt?/g,function(n){switch(n){case"d":return t.getDays();case"dd":return t.p(t.getDays());case"H":return t.getHours();case"HH":return t.p(t.getHours());case"h":return t.get12HourHour();case"hh":return t.p(t.get12HourHour());case"m":return t.getMinutes();case"mm":return t.p(t.getMinutes());case"s":return t.getSeconds();case"ss":return t.p(t.getSeconds());case"t":return(t.getHours()<12?Date.CultureInfo.amDesignator:Date.CultureInfo.pmDesignator).substring(0,1);case"tt":return t.getHours()<12?Date.CultureInfo.amDesignator:Date.CultureInfo.pmDesignator}}):this._toString()},this};Date.prototype.getTimeOfDay=function(){return new TimeSpan(0,this.getHours(),this.getMinutes(),this.getSeconds(),this.getMilliseconds())};TimePeriod=function(n,t,i,r,u,f,e){for(var h,a,y,c,p="years months days hours minutes seconds milliseconds".split(/\s+/),b=function(n){return function(){return this[n]}},k=function(n){return function(t){return this[n]=t,this}},l=0;l<p.length;l++)h=p[l],a=h.slice(0,1).toUpperCase()+h.slice(1),TimePeriod.prototype[h]=0,TimePeriod.prototype["get"+a]=b(h),TimePeriod.prototype["set"+a]=k(h);if(arguments.length==7)this.years=n,this.months=t,this.setDays(i),this.setHours(r),this.setMinutes(u),this.setSeconds(f),this.setMilliseconds(e);else if(arguments.length==2&&arguments[0]instanceof Date&&arguments[1]instanceof Date){var o=n.clone(),s=t.clone(),v=o.clone(),w=o>s?-1:1;if(this.years=s.getFullYear()-o.getFullYear(),v.addYears(this.years),w==1?v>s&&this.years!==0&&this.years--:v<s&&this.years!==0&&this.years++,o.addYears(this.years),w==1)while(o<s&&o.clone().addDays(Date.getDaysInMonth(o.getYear(),o.getMonth()))<s)o.addMonths(1),this.months++;else while(o>s&&o.clone().addDays(-o.getDaysInMonth())>s)o.addMonths(-1),this.months--;y=s-o;y!==0&&(c=new TimeSpan(y),this.setDays(c.getDays()),this.setHours(c.getHours()),this.setMinutes(c.getMinutes()),this.setSeconds(c.getSeconds()),this.setMilliseconds(c.getMilliseconds()))}return this};Agility.RegisterNamespace("Agility.UGC.API"),function(n){function i(t){return n.APIUrl==null||n.APIUrl==""||n.APIAccessKey==undefined?(t({ResponseType:n.ResponseType.Error,Message:"The Agility UGC API has not been initialized.",ResponseData:null}),!1):!0}function h(n,t){if(t==undefined||t==null||t==""||typeof t!="string")return null;if(n.ValidationRegEx!=null&&n.ValidationRegEx!=""&&n.ValidationRegEx!="Add comma separated file extensions. Eg: .pdf, .gif")try{var i=new RegExp(n.ValidationRegEx);if(i.ignoreCase=!0,t.search(i)==-1)return n.ValidationMessage!=null&&n.ValidationMessage!=""&&n.ValidationMessage!="Add the file type validation message."?{FieldType:n,Message:n.ValidationMessage}:{FieldType:n,Message:"The value from field "+n.Label+" did not match the validation expression requirements."}}catch(r){}}function c(n,t){var u,r,f,i;if(t==null||t=="")return!0;for(t=t.replace(".*([\\",""),t=t.replace("])","");t.indexOf("]|[\\")!=-1;)t=t.replace("]|[\\",";");fileTypes=t.replace(/\./g,"*.");u=fileTypes.split(";");r=n.substring(n.lastIndexOf(".")).toLowerCase();r.indexOf(".")!=-1&&(r=r.substring(r.lastIndexOf(".")).toLowerCase());for(f in u)if((i=$.trim(u[f]),i!=""&&!(i.length<2)&&i.indexOf("*")==0)&&(i=i.substring(1).toLowerCase(),i==r))return!0;return!1}function t(t,i,r){var u=n.APIUrl;return u==""||u==null?null:(u.lastIndexOf("/")!=u.length-1&&(u+="/"),u+=t+"/"+n.APIAccessKey+"/"+n.APISeconds+"/"+n.APIRandomNumber+"/"+n.APIHash+"/"+n.APIProfileRecordID,i!=undefined&&$.isArray(i)&&i.length>0&&jQuery.each(i,function(n,t){u+="/"+escape(t)}),u+="?method=?",r!=undefined&&r!=""&&(u+="&"+r),u)}function r(t,i,r){var o=Agility.UniqueID("postDataForm"),h=o+"_form",e=o+"_iframe",f=location.href,c,u,l;if(f=f.substring(0,f.indexOf("/",f.indexOf("//")+2)),f+=Agility.ResolveUrl("~/AgilityRedirector.htm"),c=Agility.ResolveUrl("~/AgilityRedirector.htm?empty=1"),t=t.replace("?method=?","?method=post"),u='<div id="'+o+"\" style='display:inline'><form id=\""+h+'" method="post" action="'+t+'" target="'+e+'">',typeof i=="string")u+='<input type="text" name="postdata" />';else for(prop in i)u+='<input type="text" name="'+prop+'" />';u+='<input type="text" name="url" />';u+="<\/form>";u+='<iframe id="'+e+'" name="'+e+'" src="'+c+'"><\/iframe>';u+="<\/div>";l=jQuery(document.body);jQuery(l).append(u);var a=jQuery("#"+o),s=jQuery("#"+h),v=jQuery("#"+e);if(typeof i=="string")$("input[name=postdata]",s).val(i);else for(prop in i)$("input[name="+prop+"]",s).val(i[prop]);$("input[name=url]",s).val(f);jQuery(v).load(function(){var o=window.frames[e],t=t=n.ResponseType.Error,u=o.location,i,f;if(u!=null){if(i=u.href,Agility.QueryString("empty",i)=="1"){setTimeout(function(){s.submit()},0);return}t=parseInt(Agility.QueryString("ResponseType",i));isNaN(t)&&(t=n.ResponseType.Error)}f={ResponseType:t,Message:Agility.QueryString("Message",i),ResponseData:Agility.QueryString("ResponseData",i)};setTimeout(function(){r(f)},0);setTimeout(function(){a.empty()},0)})}function s(){var t=n.APIUrl;return t.substring(0,t.toLowerCase().lastIndexOf("/"))+"/Agility-UGC-API-ODATA.svc"}function o(t,i){if(t!=undefined&&t!=null&&t.error!=undefined&&t.error!=null){var r="An error occurred.";return t.error.message!=undefined&&t.error.message.value!=undefined&&(r=t.error.message.value),i({ResponseType:n.ResponseType.Error,Message:r,ResponseData:null}),!0}}var u,e,f;n.DataType={String:0,TextBlob:1,Int:2,Double:3,DateTime:4,File:5,GUID:6,Encrypted:7,Hashed:8,Boolean:9,Dropdown:10,HTML:11,Email:12};n.RecordState={New:0,Published:1,Deleted:2,Processing:3,Declined:4,Error:5,Escalated:6,AwaitingReview:7,Draft:8,All:-1};n.Permission={Read:0,Create:1,Edit:2,Delete:3,Moderate:4,Administer:5};n.FileStorage={RelativeURL:0,BaseURL:1,EdgeURL:2};n.SortDirection={ASC:"ASC",DESC:"DESC"};n.ResponseType={OK:0,Error:1};n.FileService={AmazonS3:0,YouTube:1,Flickr:2,Image:3,Video:4,Ooyala:5,Brightcove:6};n.FileServiceState={New:0,Unprocessed:1,Processed:2,Error:3};n.RecordFlag={Spam:"Spam",Flagged:"Flagged",Illegal:"Illegal",Abuse:"Abuse"};n.AggregateTypes={Count:0,Sum:1,Average:2};n.FeedbackContentType={WCM:0,UGC:1,Custom:2};n.FeedbackSubmissionType={Like:0,Rating:1,Vote:2,ApproveDisapprove:3,Custom:4};n.SubmissionInterval={None:-1,Day:0,Hour:1,Week:2,Month:3,Minute:4,SingleSubmissionOnly:5};n.FileServiceMetaDataTypeName="JSONPFileServiceMetaData:#Agility.UGC.API.ServiceObjects";n.YouTubeMetaField={OriginalFilePath:"OriginalFilePath",VideoID:"VideoID",Description:"Description",Category:"Category",Title:"Title",Keywords:"Keywords",Private:"Private",YouTubeState:"YouTubeState",Duration:"Duration"};n.FlickrMetaField={OriginalFilePath:"OriginalFilePath",title:"title",description:"description",tags:"tags",is_public:"is_public",is_friend:"is_friend",is_family:"is_family",safety_level:"safety_level",hidden:"hidden",photo_id:"photo_id"};n.OoyalaMetaField={embedCode:"embedCode",title:"title",description:"description",status:"status"};n.SearchArg=function(){PageSize=20;RecordOffset=0;IncludeSpam=!1;IncludeFlagged=!1;IncludeIllegal=!1;State=n.RecordState.Published;SortedField="";SortDirection="";RecordTypeName=null;Search="";CacheKey=null;Columns=[];FileStorage=n.FileStorage.RelativeURL;IncludeStatistics=!1};n.CommentSearchArg=function(){CacheKey=null;OtherStates=[];State=n.RecordState.Published;FileStorage=n.FileStorage.RelativeURL;Columns=[];IgnoreAbuse=!0;IncludeFlagged=!1;IncludeIllegal=!1};n.FeedbackSearchArg=function(){ReferenceName=null;ContentType=-1;SubmissionType=-1;RelatedContentIDs=[];StartDate=null;EndDate=null;IsPositive=null;Action=null};n.BooleanFeedback=function(){BooleanFeedbackID=-1;FeedbackTypeID=-1;RelatedContentID=-1;ProfileRecordID=-1;ExternalProfileID=null;CreatedOn=null;IsPositive=null;ReferenceName=null;ContentType=-1;SubmissionType=-1;RequiresAuthentication=!1;SubmissionIntervalUnit=n.SubmissionInterval.None;SubmissionIntervalValue=1};n.RatingFeedback=function(){RatingFeedbackID=-1;FeedbackTypeID=-1;RelatedContentID=-1;ProfileRecordID=-1;ExternalProfileID=null;CreatedOn=null;IsPositive=null;RatingValue=0;ReferenceName=null;ContentType=-1;SubmissionType=-1;RequiresAuthentication=!1;SubmissionIntervalUnit=n.SubmissionInterval.None;SubmissionIntervalValue=1};n.Record=function(){};n.Initialized=!1;n.APIUrl="";n.OnInit=function(t,i,r,u,f,e){t!=undefined&&t!=null&&(n.APIUrl=t);n.APIAccessKey=i;n.APISeconds=r;n.APIRandomNumber=u;n.APIProfileRecordID=f;n.APIHash=e;n.Initialized=!0};n.GetAllRecordTypes=function(n){if(i(n)){var r=t("GetAllRecordTypes",null);jQuery.getJSON(r,n)}};n.GetRecordType=function(n,r){if(i(r)){var u=t("GetRecordType",[n]);jQuery.getJSON(u,r)}};n.GetRecordTypeByName=function(n,r){if(i(r)){var u=t("GetRecordTypeByName",[n]);jQuery.getJSON(u,r)}};n.SaveRecordType=function(n,u){if(i(u)){var f=Agility.JSON.encode(n),e=t("SaveRecordType",null);r(e,f,u)}};n.DeleteRecordType=function(n,r){if(i(r)){var u=t("DeleteRecordType",[n]);jQuery.getJSON(u,r)}};n.GetRecord=function(n,r,u){if($.isFunction(r)&&(u=r,r=null),i(u)){var f=null;f=r==null?t("GetRecord",[n]):t("GetRecord",[n],"fileStorage="+escape(r));jQuery.getJSON(f,u)}};n.GetRecordHistory=function(n,r){if(i(r)){var u=t("GetRecordHistory",[n]);jQuery.getJSON(u,r)}};n.DeleteRecord=function(n,r){if(i(r)){var u=t("DeleteRecord",[n]);jQuery.getJSON(u,r)}};n.SetRecordFlag=function(n,r,u,f){var e,o;i(f)&&(e=null,u!=null&&u!=""&&(e="reason="+escape(u)),o=t("SetRecordFlag",[n,r],e),jQuery.getJSON(o,f))};n.InsertRecordHistory=function(n,u,f){if(i(f)){var e=u,o=t("InsertRecordHistory",[n]);r(o,e,f)}};n.SetRecordState=function(n,u,f,e,o){if($.isFunction(e)&&(o=e,e=""),i(o)){(f==undefined||f==null)&&(f="");(e==undefined||e==null)&&(e="");var s={reason:f,comment:e},h=t("SetRecordStateEx",[n,u]);r(h,s,o)}};n.SetRecordFileState=function(n,r,u,f){if(i(f)){var e=t("SetRecordFileState",[n,r,u]);jQuery.getJSON(e,f)}};n.UpdateRecordTypeAlert=function(n,r,u,f,e){var o,s;i(e)&&(e==undefined&&jQuery.isFunction(f)&&(e=f,f=null),o=null,f!=null&&f!=""&&(o="otherNotificationType="+escape(f)),s=t("UpdateRecordTypeAlert",[n,r,u],o),jQuery.getJSON(s,e))};n.DeleteRecordTypeAlert=function(n,r,u,f,e){var o,s;i(e)&&(e==undefined&&jQuery.isFunction(f)&&(e=f,f=null),o=null,f!=null&&f!=""&&(o="otherNotificationType="+escape(f)),s=t("DeleteRecordTypeAlert",[n,r,u],o),jQuery.getJSON(s,e))};n.GetRecordTypeAlerts=function(n,r){if(i(r)){var u=t("GetRecordTypeAlerts",[n]);jQuery.getJSON(u,r)}};n.ClearCache=function(n,r){if(i(r)){var u=t("ClearCache",[n]);jQuery.getJSON(u,r)}};n.SaveRecord=function(u,f,e){if(i(f)){if(u==null&&f(n.ResponseType.Error,"The record object cannot be null."),u.RecordTypeName==undefined||u.RecordTypeName==null||u.RecordTypeName==""){f({ResponseType:n.ResponseType.Error,Message:"The RecordTypeName property cannot be null."});return}n.GetRecordTypeByName(u.RecordTypeName,function(i){var l,c,a,o,s,y,k,p,w,b,v,d,g;if(i.ResponseType==n.ResponseType.Error){f(i);return}if(l=i.ResponseData,l==undefined||l==null){f({ResponseType:n.ResponseType.Error,Message:"The Record Type "+u.RecordTypeName+" could not be found."});return}for(c=[],a=0;a<l.FieldTypes.length;a++)if(o=l.FieldTypes[a],s=u[o.Name],s!=undefined&&s!=null&&s.OriginalFilePath!=undefined&&(s=s.OriginalFilePath),y=l.FieldTypes[a].Label,o.AllowNull==!1&&(s==undefined||s==null||new String(s).length==0)&&(c[c.length]={FieldType:o,Message:"The "+o.Label+" field is required."}),s!=undefined&&s!=null&&s!="")switch(o.DataType){case n.DataType.Boolean:new String(s).toLowerCase()!="true"&&new String(s).toLowerCase()!="false"&&(c[c.length]={FieldType:o,Message:"Could not convert value "+s+" from field "+o.Label+" to a boolean."});break;case n.DataType.DateTime:k=new Date(s);k==null&&(c[c.length]={FieldType:o,Message:"Could not convert value "+s+" from field "+o.Label+" to a date/time."});break;case n.DataType.Double:isNaN(parseFloat(s))&&(c[c.length]={FieldType:o,Message:"Could not convert value "+s+" from field "+o.Label+" to a number."});break;case n.DataType.Int:isNaN(parseInt(s))&&(c[c.length]={FieldType:o,Message:"Could not convert value "+s+" from field "+o.Label+" to a number."});break;case n.DataType.String:o.MaxLength==0&&s.Length>400?c[c.length]={FieldType:o,Message:"The value from field "+o.Label+" must be 400 characters or less."}:o.MaxLength>0&&s.Length>o.MaxLength&&(c[c.length]={FieldType:o,Message:"The value from field "+o.Label+" must be "+o.MaxLength+" characters or less."});p=h(o,s,y);p!=null&&(c[c.length]=p);break;default:o.MaxLength>0&&s.Length>o.MaxLength&&(c[c.length]={FieldType:o,Message:"The value from field "+o.Label+" must be "+o.MaxLength+" characters or less."});w=h(o,s,y);w!=null&&(c[c.length]=w)}if(c.length>0){for(b="",v=0;v<c.length;v++)b+=" - "+c[v].Message+"\n";f({ResponseType:n.ResponseType.Error,Message:b,ValidationErrors:c});return}d=Agility.JSON.encode(u);(e==undefined||e==null)&&(e="");g=t("SaveRecord",[],"cacheKey="+escape(e));r(g,d,f)})}};n.SearchRecords=function(n,r){if(i(r)){var f=Agility.JSON.encode(n),u=t("SearchRecords");u+="&s="+escape(f);jQuery.getJSON(u,r)}};n.SearchComments=function(n,r){if(i(r)){var f=Agility.JSON.encode(n),u=t("SearchComments");u+="&s="+escape(f);jQuery.getJSON(u,r)}};n.SearchCommentParentIDs=function(n,r){if(i(r)){var f=Agility.JSON.encode(n),u=t("SearchCommentParentIDs");u+="&s="+escape(f);jQuery.getJSON(u,r)}};n.GetFeedbackAggregate=function(n,r){if(i(r)){var f=Agility.JSON.encode(n),u=t("GetFeedbackAggregate");u+="&s="+escape(f);jQuery.getJSON(u,r)}};n.SaveRating=function(t,i){var r=t;r.SubmissionType=n.FeedbackSubmissionType.Rating;n.SaveRatingFeedback(r,i)};n.SaveLike=function(t,i){var r=t;r.SubmissionType=n.FeedbackSubmissionType.Like;r.IsPositive=!0;n.SaveBooleanFeedback(r,i)};n.SaveVote=function(t,i){var r=t;r.IsPositive=!0;r.SubmissionType=n.FeedbackSubmissionType.Vote;n.SaveBooleanFeedback(r,i)};n.SaveApproveDisapprove=function(t,i,r){var u=t;u.IsPositive=i;u.SubmissionType=n.FeedbackSubmissionType.ApproveDisapprove;n.SaveBooleanFeedback(u,r)};n.SaveRatingFeedback=function(u,f){if(i(f)){n.APIProfileRecordID>0&&(u.ProfileRecordID=n.APIProfileRecordID);var e=Agility.JSON.encode(u),o=t("SaveRatingFeedback",null);r(o,e,f)}};n.SaveBooleanFeedback=function(u,f){if(i(f)){n.APIProfileRecordID>0&&(u.ProfileRecordID=n.APIProfileRecordID);var e=Agility.JSON.encode(u),o=t("SaveBooleanFeedback",null);r(o,e,f)}};u=null;n.GetSettings=function(r,f){if(i(r))if(u==null||f==!1){var e=t("GetSettings",null);jQuery.getJSON(e,function(t){t.ResponseType!=n.ResponseType.OK?r(t):(u=t.ResponseData,r(t))})}else r({ResponseType:n.ResponseType.OK,ResponseData:u})};n.SaveSettings=function(n,f){if(i(f)){u=null;var e=Agility.JSON.encode(n),o=t("SaveSettings",null);r(o,e,f)}};n.GetAllSyndicationServices=function(n){if(i(n)){var r=t("GetAllSyndicationServices",null);jQuery.getJSON(r,n)}};n.DeleteSyndicationService=function(n,r){if(i(r)){var u=t("DeleteSyndicationService",[n]);jQuery.getJSON(u,r)}};n.SaveSyndicationService=function(n,u){if(i(u)){var f=Agility.JSON.encode(n),e=t("SaveSyndicationService",null);r(e,f,u)}};n.GetAllSystemAccess=function(n){if(i(n)){var r=t("GetAllSystemAccess",null);jQuery.getJSON(r,n)}};n.GetGUID=function(n){if(i(n)){var r=t("GetGUID",null);jQuery.getJSON(r,n)}};n.GetAmazonS3Signature=function(n,r){if(i(r)){var u=t("GetAmazonS3Signature",null,"policy="+escape(n));jQuery.getJSON(u,r)}};n.GetOoyalaSignature=function(n,r){if(i(r)){var u=t("GetOoyalaSignature",null,"p="+escape(n));jQuery.getJSON(u,r)}};n.DeleteFile=function(n,r){if(i(r)){var u=t("DeleteFile",null,"key="+escape(n));jQuery.getJSON(u,r)}};e={};n.GetFileSize=function(r,u){if(i(u)){var f=t("GetFileSize",null,"key="+escape(r));e[r]==undefined?jQuery.getJSON(f,function(t){t.ResponseType==n.ResponseType.OK&&(e[r]=new Number(t.ResponseData));u(t)}):u({ResponseType:n.ResponseType.OK,ResponseData:new Number(e[r])})}};n.TestBrightcoveAuthenticationSettings=function(t,i,r){var u=n.APIUrl.toLowerCase().replace("agility-ugc-api-jsonp.svc","TestBrightcoveAuth.ashx"),f;$.isFunction(i)?(f=t,r=i,u+="?accessKey="+escape(n.APIAccessKey),u+="&seconds="+escape(n.APISeconds),u+="&randomNumber="+escape(n.APIRandomNumber),u+="&hash="+escape(n.APIHash),u+="&profileRecordID="+escape(n.APIProfileRecordID),u+="&videoID="+f,u+="&method=?"):(u=n.APIUrl.toLowerCase().replace("agility-ugc-api-jsonp.svc","TestBrightcoveAuth.ashx"),u+="?readToken="+escape(t),u+="&writeToken="+escape(i),u+="&method=?");jQuery.getJSON(u,function(n){var t=!1;n.videoIsDisabled!=undefined&&n.videoIsDisabled==!0&&(t=!0);r(n.valid,n.videoExists,t)})};n.TestYouTubeAuthenticationSettings=function(t,i,r,u,f){var e=n.APIUrl.toLowerCase().replace("agility-ugc-api-jsonp.svc","TestYouTubeAuth.ashx");e+="?applicationName="+escape(t);e+="&apiKey="+escape(i);e+="&username="+escape(r);e+="&password="+escape(u);e+="&method=?";jQuery.getJSON(e,f)};n.TestAmazonS3AuthenticationSettings=function(t,i,r,u){var f=n.APIUrl.toLowerCase().replace("agility-ugc-api-jsonp.svc","TestAmazonAuth.ashx");f+="?apiKey="+escape(i);f+="&bucket="+escape(t);f+="&secretKey="+escape(r);f+="&method=?";jQuery.getJSON(f,u)};n.GenerateTwitterOauthRequestToken=function(t,i,r){var u=n.APIUrl.toLowerCase().replace("agility-ugc-api-jsonp.svc","GenerateTwitterOauthRequestToken.ashx");u+="?accessKey="+escape(n.APIAccessKey);u+="&seconds="+escape(n.APISeconds);u+="&randomNumber="+escape(n.APIRandomNumber);u+="&hash="+escape(n.APIHash);u+="&profileRecordID="+escape(n.APIProfileRecordID);u+="&appkey="+escape(t);u+="&appsecret="+escape(i);u+="&method=?";jQuery.getJSON(u,r)};n.GetAmazonS3Form=function(t){if(t==undefined||t==null||typeof t=="string")throw new Error("The Amazon S3 form parameters have not been set correctly.");var r=location.href,u=t.inputID,f=t.fieldPanel,e=t.fieldName,i=null;t.fieldType!=undefined&&(i=t.fieldType);n.GetSettings(function(e){var o=null,s;if(e.ResponseType!=n.ResponseType.OK){o=jQuery("<span>There was an error building the "+t.fieldName+" input: "+e.Message+"<\/span>");o.appendTo(f);return}if(s=e.ResponseData,s.AmazonS3Bucket==null||s.AmazonS3Bucket==""){n.GetUGCUploadForm(t);return}n.GetGUID(function(e){var nt,h,l,a,ut,d;if(e.ResponseType!=n.ResponseType.OK){o=jQuery("<span>There was an error building the "+t.fieldName+" input: "+e.Message+"<\/span>");o.appendTo(f);return}var tt=e.ResponseData,ft=$("#"+u).val(),y=Agility.UniqueID("post_AmazonFileForm"),b=y+"_form",g=y+"_fileupload",k=y+"_swfupload";t.button_placeholder_id!=undefined&&(k=t.button_placeholder_id);var p=y+"_iframe",et=y+"_progress",it=Agility.GetFlashVersion();if(r=r.substring(0,r.indexOf("/",r.indexOf("//")+2)),r+=Agility.ResolveUrl("~/AgilityRedirector.htm"),nt=Agility.ResolveUrl("~/AgilityRedirector.htm"),h=s.AmazonS3BaseUrl,h==undefined||h==null||h==""){o=jQuery("The Amazon S3 Base Url settings value has not be provided.");o.appendTo(f);return}h.lastIndexOf("/")!=h.length-1&&(h+="/");l=new Date;l.setDate(l.getDate()+1);var rt=l.getFullYear()+"-"+(l.getMonth()+1)+"-"+l.getDate()+"T"+l.getHours()+":"+l.getMinutes()+":"+l.getSeconds()+"."+l.getTimezoneOffset()+"Z",w="AgilityUGC/"+tt,v=0;i!=null&&i.MaxLength>0&&(v=i.MaxLength*1024);a='{ "expiration": "'+rt+'", ';a+='"conditions": [  ';a+='\t{"bucket": "'+s.AmazonS3Bucket+'"}, ';a+='\t["starts-with", "$key", "'+w+'"], ';a+='\t{"acl": "public-read"}, ';a+=it<=8?'\t{"success_action_redirect": "'+r+'"}, ':'\t{"success_action_status": "201"}, ';a+='\t ["starts-with", "$Content-Type", ""], [ "starts-with", "$filename", "" ], ';v>0&&(a+=' ["content-length-range", 0, '+v+"], ");a+="] }";ut=s.AmazonS3SecretKey;d=s.AmazonS3AccessKey;n.GetAmazonS3Signature(a,function(e){var a=e.ResponseData,y=null,l,tt,it,s,rt;if(i!=null&&i.ValidationRegEx!=undefined&&i.ValidationRegEx!=""){for(l=i.ValidationRegEx,l=l.replace(".*([\\",""),l=l.replace("])","");l.indexOf("]|[\\")!=-1;)l=l.replace("]|[\\",";");y=l.replace(/\./g,"*.")}Agility.GetFlashVersion()>8&&t.swfUploadUrl!=undefined&&t.swfUploadUrl!=null?(o=jQuery("<span id='"+k+"'><\/span>"),o.appendTo(f),tt={AWSAccessKeyId:d,policy:a.PolicyBase64,acl:"public-read",Signature:a.Signature,success_action_status:"201"},it=new SWFUpload({upload_url:h,file_post_name:"file",post_params:tt,file_size_limit:v/1024,file_types:y,file_types_description:"Valid File Types",file_upload_limit:"0",file_queue_error_handler:function(n,i,r){jQuery("#"+t.inputID).data("uploading",!1);t.uploadError!=undefined&&jQuery.isFunction(t.uploadError)&&t.uploadError(n,i,r)},file_dialog_complete_handler:function(i,r){var f,u,o,e;if(r>0){if(f=this.getFile(),f==null)return;if(u=f.name,o=n.GetMIMEtype(u),this.addPostParam("Content-Type",n.GetMIMEtype(u)),e=u.replace(/[^a-zA-Z0-9-_\.]/g,""),e==""||e.lastIndexOf(".")==0,this.addPostParam("key",w+"/"+e),t.beforeUpload!=undefined&&jQuery.isFunction(t.beforeUpload)&&t.beforeUpload(u,o,f.size,this)==!1)return;jQuery("#"+t.inputID).data("uploading",!0);this.startUpload()}},upload_start_handler:function(n){var t=n.name.replace(/[^a-zA-Z0-9-_\.]/g,"");if(t==""||t.lastIndexOf(".")==0)return!1},upload_progress_handler:function(n,i){t.uploadProgress!=undefined&&jQuery.isFunction(t.uploadProgress)&&t.uploadProgress(n,i)},upload_success_handler:function(n,i){var u,r,f;jQuery.browser.msie&&(u=new ActiveXObject("Microsoft.XMLDOM"),u.loadXML(i),i=u);r=$(i).find("Key").text();(r==null||r=="")&&(f=n.name.replace(/[^a-zA-Z0-9-_\.]/g,""),r=w+"/"+f);jQuery("#"+t.inputID).val(r);jQuery("#"+t.inputID).data("uploading",!1);t.uploadComplete!=undefined&&jQuery.isFunction(t.uploadComplete)&&t.uploadComplete(r,n.size)},upload_complete_handler:function(){jQuery("#"+t.inputID).data("uploading",!1)},upload_error_handler:function(n,i,r){jQuery("#"+t.inputID).data("uploading",!1);t.uploadError!=undefined&&jQuery.isFunction(t.uploadError)&&t.uploadError(n,i,r)},swfupload_loaded_handler:function(){},button_image_url:t.uploadButtonImageUrl,button_placeholder_id:k,button_width:t.uploadButtonImageWidth,button_height:t.uploadButtonImageHeight,button_window_mode:SWFUpload.WINDOW_MODE.TRANSPARENT,button_action:SWFUpload.BUTTON_ACTION.SELECT_FILE,button_cursor:SWFUpload.CURSOR.HAND,prevent_swf_caching:!1,flash_url:t.swfUploadUrl,debug:!1})):(s='<form  enctype="multipart/form-data" id="'+b+'" method="post" action="'+h+'" target="'+p+'"  style="display:inline">',s+='<input type="hidden" name="key" />',s+='<input type="hidden" name="AWSAccessKeyId" />',s+='<input type="hidden" name="Content-Type" value="">',s+='<input type="hidden" name="success_action_redirect" value="'+r+'" />',s+='<input type="hidden" name="acl" value="public-read" />',s+='<input type="hidden" name="policy" value="" />',s+='<input type="hidden" name="filename" value="" />',s+='<input type="hidden" name="Signature" size="100" value="" />',s+="<input id='"+g+'\' type="file" name="file" />',s+="<\/form>",s+='<iframe id="'+p+'" name="'+p+'" src="'+nt+"\" style='position:absolute; height:1px; width: 1px; top:-1px; left: -10000px; overflow:hidden'><\/iframe>",o=jQuery(s),o.appendTo(f),jQuery("input[name='AWSAccessKeyId']",o).val(d),jQuery("input[name='policy']",o).val(a.PolicyBase64),jQuery("input[name='Signature']",o).val(a.Signature),rt=null,jQuery("#"+p).load(function(){var n,f,i,o,r;jQuery("#"+g).show();n=null;try{n=$(this.contentDocument.location)}catch(s){}try{(n==undefined||n==null)&&(n=$(this.contentWindow.location));f=n.attr("href");i=Agility.QueryString("key",f);i!=null&&i!=""&&(o=h+i,jQuery("#"+u).val(i),$("#"+u).data("uploading",!1),t.uploadComplete!=undefined&&jQuery.isFunction(t.uploadComplete)&&t.uploadComplete(i,-1))}catch(e){if($("#"+u).data("uploading",!1),r="An error occurred while uploading.",v>0&&(r+=" Please ensure the file is less than "+v/1024+"kb."),t.uploadError!=undefined&&jQuery.isFunction(t.uploadError)){t.uploadError("",-1,r);throw e;}else{alert(r);throw e;}}}),jQuery("input[name='file']",o).change(function(){var s,r,f,e,h;if(r=$(this).val(),r!=""){if(i!=null)try{if(!c(r,i.ValidationRegEx)){t.uploadError!=undefined&&jQuery.isFunction(t.uploadError)&&t.uploadError(r,SWFUpload.QUEUE_ERROR.INVALID_FILETYPE,i.ValidationMessage);$(this).val("");return}}catch(l){return}if(s=r,r=r.replace(/[^a-zA-Z0-9-_\.]/g,""),r==""||r.lastIndexOf(".")==0){t.uploadError!=undefined&&jQuery.isFunction(t.uploadError)&&t.uploadError(s,SWFUpload.QUEUE_ERROR.INVALID_FILETYPE,i.ValidationMessage);$(this).val("");return}jQuery("input[name='key']",o).val(w+"/"+r);f=n.GetMIMEtype(r);e=-1;try{this.files&&this.files.length>0&&(e=this.files[0].size)}catch(a){}if(t.beforeUpload!=undefined&&jQuery.isFunction(t.beforeUpload)&&t.beforeUpload(r,f,e,null)==!1){try{$(this).val("")}catch(v){}return}$("#"+u).data("uploading",!0);$("#"+b+" input[name='Content-Type']").val(f);h=jQuery("#"+b);$(this).hide();h.submit();try{$(this).val("")}catch(y){}}}))})})});n._liveAttachmentRemoveHandlerBound!=!0&&(n._liveAttachmentRemoveHandlerBound=!0,jQuery("form a.UploadedFileRemove").live("click",function(){var i,t,r;confirm("Do you wish to delete this file?\n\nYou will not be able to recover this file, and any links to it will be broken")&&(i=jQuery(this).parents("form").data("associatedFieldID"),t=jQuery(this).parent("span.UploadedFileContainer"),t.html("Deleting file..."),r=jQuery("#"+i).val(),n.DeleteFile(r,function(n){n.ResponseType!=0?t.html("An error occurred: "+n.Message):(t.html(""),jQuery("#"+i).val(""))}))}))};n.GetUGCUploadForm=function(t){var d,s,u,p,f,w,g,nt,r,tt;if(t==undefined||t==null||typeof t=="string")throw new Error("The upload form parameters have not been set correctly.");var e=location.href,o=t.inputID,b=t.fieldPanel,it=t.fieldName,i=null;t.fieldType!=undefined&&(i=t.fieldType);var rt=$("#"+o).val(),h=Agility.UniqueID("post_UGCFileForm"),v=h+"_form",k=h+"_fileupload",y=h+"_swfupload";t.button_placeholder_id!=undefined&&(y=t.button_placeholder_id);var l=h+"_iframe",ut=h+"_progress",ft=Agility.GetFlashVersion();e=e.substring(0,e.indexOf("/",e.indexOf("//")+2));e+=Agility.ResolveUrl("~/AgilityRedirector.htm");d=Agility.ResolveUrl("~/AgilityRedirector.htm");s=n.APIUrl;s=s.substring(0,s.toLowerCase().lastIndexOf("/"))+"/UploadFile.ashx";u=new Date;u.setDate(u.getDate()+1);var et=u.getFullYear()+"-"+(u.getMonth()+1)+"-"+u.getDate()+"T"+u.getHours()+":"+u.getMinutes()+":"+u.getSeconds()+"."+u.getTimezoneOffset()+"Z",a=0;if(i!=null&&i.MaxLength>0&&(a=i.MaxLength*1024),p=null,i!=null&&i.ValidationRegEx!=undefined&&i.ValidationRegEx!=""){for(f=i.ValidationRegEx,f=f.replace(".*([\\",""),f=f.replace("])","");f.indexOf("]|[\\")!=-1;)f=f.replace("]|[\\",";");p=f.replace(/\./g,"*.")}Agility.GetFlashVersion()>8&&t.swfUploadUrl!=undefined&&t.swfUploadUrl!=null?(t.button_placeholder_id==undefined&&(html=jQuery("<span id='"+y+"'><\/span>"),html.appendTo(b)),w=SWFUpload.WINDOW_MODE.TRANSPARENT,t.button_window_mode!=undefined&&(w=t.button_window_mode),g={accessKey:n.APIAccessKey,seconds:n.APISeconds,randomNumber:n.APIRandomNumber,hash:n.APIHash,profileRecordID:n.APIProfileRecordID},nt=new SWFUpload({upload_url:s,file_post_name:"file",post_params:g,file_size_limit:a/1024,file_types:p,file_types_description:"Valid File Types",file_upload_limit:"0",file_queue_error_handler:function(n,i,r){jQuery("#"+t.inputID).data("uploading",!1);t.uploadError!=undefined&&jQuery.isFunction(t.uploadError)&&t.uploadError(n,i,r)},file_dialog_complete_handler:function(i,r){var f,u,o,e;if(r>0){if(f=this.getFile(),f==null)return;if(u=f.name,o=n.GetMIMEtype(u),this.addPostParam("Content-Type",n.GetMIMEtype(u)),e=u.replace(/[^a-zA-Z0-9-_\.]/g,""),e==""||e.lastIndexOf(".")==0,t.beforeUpload!=undefined&&jQuery.isFunction(t.beforeUpload)&&t.beforeUpload(u,o,f.size,this)==!1)return;jQuery("#"+t.inputID).data("uploading",!0);this.startUpload()}},upload_start_handler:function(n){var t=n.name.replace(/[^a-zA-Z0-9-_\.]/g,"");if(t==""||t.lastIndexOf(".")==0)return!1},upload_progress_handler:function(n,i){t.uploadProgress!=undefined&&jQuery.isFunction(t.uploadProgress)&&t.uploadProgress(n,i)},upload_success_handler:function(i,r){var u,f;jQuery("#"+t.inputID).data("uploading",!1);u=Agility.JSON.decode(r);u.ResponseType!=n.ResponseType.OK?t.uploadError!=undefined&&jQuery.isFunction(t.uploadError)&&t.uploadError("",-1,u.Message):(f=u.ResponseData,jQuery("#"+o).val(f),t.uploadComplete!=undefined&&jQuery.isFunction(t.uploadComplete)&&t.uploadComplete(f,-1))},upload_complete_handler:function(){jQuery("#"+t.inputID).data("uploading",!1)},upload_error_handler:function(n,i,r){jQuery("#"+t.inputID).data("uploading",!1);t.uploadError!=undefined&&jQuery.isFunction(t.uploadError)&&t.uploadError(n,i,r)},swfupload_loaded_handler:function(){},button_image_url:t.uploadButtonImageUrl,button_placeholder_id:y,button_width:t.uploadButtonImageWidth,button_height:t.uploadButtonImageHeight,button_window_mode:w,button_action:SWFUpload.BUTTON_ACTION.SELECT_FILE,button_cursor:SWFUpload.CURSOR.HAND,prevent_swf_caching:!1,flash_url:t.swfUploadUrl,debug:!1})):(r='<form  enctype="multipart/form-data" id="'+v+'" method="post" action="'+s+'" target="'+l+'"  style="display:inline">',r+='<input type="hidden" name="accessKey" />',r+='<input type="hidden" name="seconds" />',r+='<input type="hidden" name="randomNumber" />',r+='<input type="hidden" name="hash" />',r+='<input type="hidden" name="profileRecordID" />',r+='<input type="hidden" name="returnUrl" />',r+="<input id='"+k+'\' type="file" name="file" />',r+="<\/form>",r+='<iframe id="'+l+'" name="'+l+'" src="'+d+"\" style='position:absolute; height:1px; width: 1px; top:-1px; left: -10000px; overflow:hidden'><\/iframe>",html=jQuery(r),html.appendTo(b),jQuery("input[name='accessKey']",html).val(n.APIAccessKey),jQuery("input[name='seconds']",html).val(n.APISeconds),jQuery("input[name='randomNumber']",html).val(n.APIRandomNumber),jQuery("input[name='hash']",html).val(n.APIHash),jQuery("input[name='profileRecordID']",html).val(n.APIProfileRecordID),jQuery("input[name='returnUrl']",html).val(e),tt=null,jQuery("#"+l).load(function(){var i,u,f,e,r;jQuery("#"+k).show();i=null;try{i=$(this.contentDocument.location)}catch(h){}try{if((i==undefined||i==null)&&(i=$(this.contentWindow.location)),u=i.attr("href"),f=Agility.QueryString("ResponseType",u),f==null)return;f!=n.ResponseType.OK?(r=Agility.QueryString("Message",u),t.uploadError!=undefined&&jQuery.isFunction(t.uploadError)&&t.uploadError("",-1,r)):(e=Agility.QueryString("ResponseData",u),jQuery("#"+o).val(e),$("#"+o).data("uploading",!1),t.uploadComplete!=undefined&&jQuery.isFunction(t.uploadComplete)&&t.uploadComplete(e,-1))}catch(s){if($("#"+o).data("uploading",!1),r="An error occurred while uploading.",a>0&&(r+=" Please ensure the file is less than "+a/1024+"kb."),t.uploadError!=undefined&&jQuery.isFunction(t.uploadError)){t.uploadError("",-1,r);throw s;}else{alert(r);throw s;}}}),jQuery("input[name='file']",html).change(function(){var u=$(this),f=this,e,r,l;if(r=u.val(),r!=""){if(i!=null)try{if(!c(r,i.ValidationRegEx)){t.uploadError!=undefined&&jQuery.isFunction(t.uploadError)&&t.uploadError(r,SWFUpload.QUEUE_ERROR.INVALID_FILETYPE,i.ValidationMessage);u.val("");return}}catch(a){return}if(e=r,r=r.replace(/[^a-zA-Z0-9-_\.]/g,""),r==""||r.lastIndexOf(".")==0){t.uploadError!=undefined&&jQuery.isFunction(t.uploadError)&&t.uploadError(e,SWFUpload.QUEUE_ERROR.INVALID_FILETYPE,i.ValidationMessage);u.val("");return}var s=n.GetMIMEtype(r),h=-1;try{f.files&&f.files.length>0&&(h=f.files[0].size)}catch(y){}if(t.beforeUpload!=undefined&&jQuery.isFunction(t.beforeUpload)&&t.beforeUpload(r,s,h,null)==!1){try{u.val("")}catch(p){}return}$("#"+o).data("uploading",!0);$("#"+v+" input[name='Content-Type']").val(s);l=jQuery("#"+v);u.hide();l.submit();try{u.val("")}catch(w){}}}));n._liveAttachmentRemoveHandlerBound!=!0&&(n._liveAttachmentRemoveHandlerBound=!0,jQuery("form a.UploadedFileRemove").live("click",function(){var i,t,r;confirm("Do you wish to delete this file?\n\nYou will not be able to recover this file, and any links to it will be broken")&&(i=jQuery(this).parents("form").data("associatedFieldID"),t=jQuery(this).parent("span.UploadedFileContainer"),t.html("Deleting file..."),r=jQuery("#"+i).val(),n.DeleteFile(r,function(n){n.ResponseType!=0?t.html("An error occurred: "+n.Message):(t.html(""),jQuery("#"+i).val(""))}))}))};n._liveAttachmentRemoveHandlerBound=!1;f=null;n.GetAuthCookieName=function(){return f==null&&(f="UGC_AUTH_"+n.APIAccessKey),f};n.SetAuthCookieName=function(n){return f=n};n.Logout=function(t){var i=n.GetAuthCookieName(),r,u;t!=null&&(i+=t);r=Date.today().addMonths(-1);u=null;Agility.SetCookie(i,u,r,"/",null,!0)};n.Authenticate=function(r,u,f,e,s,h){var c,a,l;(h==undefined&&s!=undefined&&$.isFunction(s)&&(h=s,s=""),h==undefined&&e!=undefined&&$.isFunction(e)&&(h=e,e=!1),s==undefined&&(s=""),i(h))&&(c=[],c.push(r),a=Agility.JSON.encode(r),l=t("Authenticate",c),l+="&l="+escape(u)+"&p="+escape(f)+"&fn="+escape(s),$.getJSON(l,function(t){var i,u,s,f;o(t,h)||t!=undefined&&(i=t.ResponseData,i!=undefined&&i!=null&&i!=""&&(u=n.GetAuthCookieName(),r!=null&&(u+=r),s=new String(i),f=null,e&&(f=Date.today().addMonths(1)),Agility.SetCookie(u,s,f,"/",null,!1)),h({ResponseType:n.ResponseType.OK,ResponseData:i,Message:null}))}))};n.IsAuthenticated=function(r,u){var s=n.GetAuthCookieName(),f,e,o;if(r!=null&&(s+=r),f=Agility.GetCookie(s),f==null||f==""){u({ResponseType:n.ResponseType.OK,ResponseData:!1,Message:null});return}i(u)&&(e=[],e.push(r),o=t("IsAuthenticated",e),o+="&s="+escape(f),$.getJSON(o,function(t){if(t!=undefined&&t.ResponseData!=undefined&&t.ResponseData!=null){var i=t.ResponseData.ProfileRecordID,r=t.ResponseData.Seconds,f=t.ResponseData.RandomNumber,e=t.ResponseData.AccessHash,o=t.ResponseData.AccessKey;n.APIAccessKey=o;n.APISeconds=r;n.APIRandomNumber=f;n.APIProfileRecordID=i;n.APIHash=e;u({ResponseType:n.ResponseType.OK,ResponseData:i,Message:null})}}))};n.ChangePassword=function(r,u,f){if(n.APIProfileRecordID<1){f({ResponseType:n.ResponseType.Error,ResponseData:!1,Message:"The user is not currently logged in."});return}if(i(f)){var e=t("ChangePassword",[]);e+="&c="+escape(r);e+="&n="+escape(u);$.getJSON(e,function(n){f(n)})}};n.RetrievePassword=function(r,u,f){var e,o;i(f)&&(e=[],e.push(r),o=t("RetrievePassword",e),o+="&l="+escape(u),$.getJSON(o,function(t){t!=undefined&&t.ResponseData!=undefined&&t.ResponseData!=null&&f({ResponseType:n.ResponseType.OK,ResponseData:t.ResponseData,Message:null})}))};n.GetODataMetaData=function(t){var i=s();i+="/?$format=json&$callback=?";$.getJSON(i,function(i){if(i!=undefined&&i.d!=undefined&&i.d!=null){if(o(i,t))return;i.d!=undefined&&i.d!=null&&t({ResponseType:n.ResponseType.OK,Message:null,ResponseData:i.d})}})};n.GetODataFeed=function(t,i,r){var u=s();u+="/"+t+"/";u+="?$format=json";i!=undefined&&i!=null&&i.filter!=undefined&&i.filter!=null&&i.filter!=""&&(u+="&$filter="+escape(i.filter));u+="&$callback=?";$.getJSON(u,function(t){o(t,r)||t!=undefined&&t!=null&&t.d!=undefined&&t.d!=null&&t.d.results!=undefined&&t.d.results!=null&&r({ResponseType:n.ResponseType.OK,Message:null,ResponseData:t.d.results})})};n.GetODataRecord=function(t,i,r){var u=s();u+="/"+t+"("+i+")/";u+="?$format=json&$callback=?";$.getJSON(u,function(t){o(t,r)||t!=undefined&&t!=null&&t.d!=undefined&&t.d!=null&&r({ResponseType:n.ResponseType.OK,Message:null,ResponseData:t.d})})};n.ExecCustomProcedure=function(t,i,r){var u=Agility.UGC.API.APIUrl,f,e;if(u=u.toLowerCase().replace("agility-ugc-api-jsonp.svc","ExecCustomProcedure.ashx"),u+="?proc="+escape(t),i!=undefined&&i!=null)for(f in i)(e=i[f],e!=undefined&&e!=null)&&(u+="&@"+escape(f)+"="+escape(i[f]));u+="&method=?";u+="&format=json";u+="&accessKey="+escape(n.APIAccessKey);u+="&seconds="+escape(n.APISeconds);u+="&randomNumber="+escape(n.APIRandomNumber);u+="&hash="+escape(n.APIHash);u+="&profileRecordID="+escape(n.APIProfileRecordID);$.getJSON(u,function(t){if(t!=undefined){var i={ResponseType:n.ResponseType.OK,Message:null};i.ResponseData=t.ResonseData!=undefined?t.ResonseData:t.ResponseData;r(i)}})};n.GetMIMEtype=function(n){var t=new String(n),i=new String;return(i=t.match(/[\/\\][^\/\\]*$/),i!=null&&i.length>0&&(t=i+""),t=t.toLowerCase(),t.search(/^.*\.ai$/)>=0)?"application/illustrator":t.search(/^.*\.bin$/)>=0?"application/octet-stream":t.search(/^.*\.pdf$/)>=0?"application/pdf":t.search(/^.*\.ps$/)>=0?"application/postscript":t.search(/^.*\.rtf$/)>=0?"application/rtf":t.search(/^.*\.sit$/)>=0?"application/stuffit":t.search(/^.*\.flv$/)>=0?"video/x-flv":t.search(/^.*\.mdb$/)>=0?"application/vnd.ms-access":t.search(/^.*\.xls$/)>=0?"application/vnd.ms-excel":t.search(/^.*\.ppt$/)>=0?"application/vnd.ms-powerpoint":t.search(/^.*\.pps$/)>=0?"application/vnd.ms-powerpoint":t.search(/^.*\.pot$/)>=0?"application/vnd.ms-powerpoint":t.search(/^.*\.xps$/)>=0?"application/vnd.ms-xpsdocument":t.search(/^.*\.doc$/)>=0?"application/msword":t.search(/^.*\.7z$/)>=0?"application/x-7z-compressed":t.search(/^.*\.torrent$/)>=0?"application/x-bittorrent":t.search(/^.*\.tar\.gz$/)>=0?"application/x-compressed-tar":t.search(/^.*\.tgz$/)>=0?"application/x-compressed-tar":t.search(/^.*\.ttf$/)>=0?"application/x-font-ttf":t.search(/^.*\.gz$/)>=0?"application/x-gzip":t.search(/^.*\.pdf\.gz$/)>=0?"application/x-gzpdf":t.search(/^.*\.ps\.gz$/)>=0?"application/x-gzpostscript":t.search(/^.*\.jar$/)>=0?"application/x-java-archive":t.search(/^.*\.js$/)>=0?"application/javascript":t.search(/^.*\.lzh$/)>=0?"application/x-lha":t.search(/^.*\.mkv$/)>=0?"video/x-matroska":t.search(/^.*\.exe$/)>=0?"application/x-ms-dos-executable":t.search(/^.*\.ogg$/)>=0?"application/ogg":t.search(/^.*\.ogx$/)>=0?"application/ogg":t.search(/^.*\.oga$/)>=0?"audio/ogg":t.search(/^.*\.ogv$/)>=0?"video/ogg":t.search(/^.*\.ogg$/)>=0?"audio/x-vorbis+ogg":t.search(/^.*\.ogg$/)>=0?"audio/x-flac+ogg":t.search(/^.*\.ogg$/)>=0?"audio/x-speex+ogg":t.search(/^.*\.spx$/)>=0?"audio/x-speex":t.search(/^.*\.ogg$/)>=0?"video/x-theora+ogg":t.search(/^.*\.ogm$/)>=0?"video/x-ogm+ogg":t.search(/^.*\.qtl$/)>=0?"application/x-quicktime-media-link":t.search(/^.*\.tar$/)>=0?"application/x-tar":t.search(/^.*\.theme$/)>=0?"application/x-theme":t.search(/^.*\.der$/)>=0?"application/x-x509-ca-cert":t.search(/^.*\.cer$/)>=0?"application/x-x509-ca-cert":t.search(/^.*\.crt$/)>=0?"application/x-x509-ca-cert":t.search(/^.*\.cert$/)>=0?"application/x-x509-ca-cert":t.search(/^.*\.pem$/)>=0?"application/x-x509-ca-cert":t.search(/^.*\.xhtml$/)>=0?"application/xhtml+xml":t.search(/^.*\.zip$/)>=0?"application/zip":t.search(/^.*\.ac3$/)>=0?"audio/ac3":t.search(/^.*\.aiff$/)>=0?"audio/x-aiff":t.search(/^.*\.aif$/)>=0?"audio/x-aiff":t.search(/^.*\.aifc$/)>=0?"audio/x-aiff":t.search(/^.*\.flac$/)>=0?"audio/x-flac":t.search(/^.*\.mid$/)>=0?"audio/midi":t.search(/^.*\.midi$/)>=0?"audio/midi":t.search(/^.*\.kar$/)>=0?"audio/midi":t.search(/^.*\.m4a$/)>=0?"audio/mp4":t.search(/^.*\.aac$/)>=0?"audio/mp4":t.search(/^.*\.mp4$/)>=0?"video/mp4":t.search(/^.*\.m4v$/)>=0?"video/mp4":t.search(/^.*\.m4b$/)>=0?"audio/x-m4b":t.search(/^.*\.3gp$/)>=0?"video/3gpp":t.search(/^.*\.3gpp$/)>=0?"video/3gpp":t.search(/^.*\.amr$/)>=0?"video/3gpp":t.search(/^.*\.mp2$/)>=0?"audio/mp2":t.search(/^.*\.mp3$/)>=0?"audio/mpeg":t.search(/^.*\.mpga$/)>=0?"audio/mpeg":t.search(/^.*\.m3u$/)>=0?"audio/x-mpegurl":t.search(/^.*\.vlc$/)>=0?"audio/x-mpegurl":t.search(/^.*\.asx$/)>=0?"audio/x-ms-asx":t.search(/^.*\.wax$/)>=0?"audio/x-ms-asx":t.search(/^.*\.wvx$/)>=0?"audio/x-ms-asx":t.search(/^.*\.wmx$/)>=0?"audio/x-ms-asx":t.search(/^.*\.psf$/)>=0?"audio/x-psf":t.search(/^.*\.wma$/)>=0?"audio/x-ms-wma":t.search(/^.*\.ra$/)>=0?"audio/vnd.rn-realaudio":t.search(/^.*\.rax$/)>=0?"audio/vnd.rn-realaudio":t.search(/^.*\.ram$/)>=0?"application/ram":t.search(/^.*\.rv$/)>=0?"video/vnd.rn-realvideo":t.search(/^.*\.rvx$/)>=0?"video/vnd.rn-realvideo":t.search(/^.*\.wav$/)>=0?"audio/x-wav":t.search(/^.*\.bmp$/)>=0?"image/bmp":t.search(/^.*\.wbmp$/)>=0?"image/vnd.wap.wbmp":t.search(/^.*\.gif$/)>=0?"image/gif":t.search(/^.*\.jpeg$/)>=0?"image/jpeg":t.search(/^.*\.jpg$/)>=0?"image/jpeg":t.search(/^.*\.jpe$/)>=0?"image/jpeg":t.search(/^.*\.png$/)>=0?"image/png":t.search(/^.*\.rle$/)>=0?"image/rle":t.search(/^.*\.svg$/)>=0?"image/svg+xml":t.search(/^.*\.svgz$/)>=0?"image/svg+xml-compressed":t.search(/^.*\.tif$/)>=0?"image/tiff":t.search(/^.*\.tiff$/)>=0?"image/tiff":t.search(/^.*\.eps$/)>=0?"image/x-eps":t.search(/^.*\.ico$/)>=0?"image/x-ico":t.search(/^.*\.psd$/)>=0?"image/x-psd":t.search(/^.*\.vcs$/)>=0?"text/calendar":t.search(/^.*\.ics$/)>=0?"text/calendar":t.search(/^.*\.css$/)>=0?"text/css":t.search(/^.*\.CSSL$/)>=0?"text/css":t.search(/^.*\.rtx$/)>=0?"text/richtext":t.search(/^.*\.rss$/)>=0?"application/rss+xml":t.search(/^.*\.atom$/)>=0?"application/atom+xml":t.search(/^.*\.opml$/)>=0?"text/x-opml+xml":t.search(/^.*\.sgml$/)>=0?"text/sgml":t.search(/^.*\.sgm$/)>=0?"text/sgml":t.search(/^.*\.dtd$/)>=0?"text/x-dtd":t.search(/^.*\.html$/)>=0?"text/html":t.search(/^.*\.htm$/)>=0?"text/html":t.search(/^.*\.log$/)>=0?"text/x-log":t.search(/^README*$/)>=0?"text/x-readme":t.search(/^.*\.uri$/)>=0?"text/x-uri":t.search(/^.*\.url$/)>=0?"text/x-uri":t.search(/^.*\.fo$/)>=0?"text/x-xslfo":t.search(/^.*\.xslfo$/)>=0?"text/x-xslfo":t.search(/^.*\.xml$/)>=0?"application/xml":t.search(/^.*\.xsl$/)>=0?"application/xml":t.search(/^.*\.xslt$/)>=0?"application/xml":t.search(/^.*\.xbl$/)>=0?"application/xml":t.search(/^.*\.mpeg$/)>=0?"video/mpeg":t.search(/^.*\.mpg$/)>=0?"video/mpeg":t.search(/^.*\.mp2$/)>=0?"video/mpeg":t.search(/^.*\.mpe$/)>=0?"video/mpeg":t.search(/^.*\.vob$/)>=0?"video/mpeg":t.search(/^.*\.m2t$/)>=0?"video/mpeg":t.search(/^.*\.qt$/)>=0?"video/quicktime":t.search(/^.*\.mov$/)>=0?"video/quicktime":t.search(/^.*\.moov$/)>=0?"video/quicktime":t.search(/^.*\.qtvr$/)>=0?"video/quicktime":t.search(/^.*\.qtif$/)>=0?"image/x-quicktime":t.search(/^.*\.qif$/)>=0?"image/x-quicktime":t.search(/^.*\.viv$/)>=0?"video/vivo":t.search(/^.*\.vivo$/)>=0?"video/vivo":t.search(/^.*\.anim[1-9j]$/)>=0?"video/x-anim":t.search(/^.*\.fli$/)>=0?"video/x-flic":t.search(/^.*\.flc$/)>=0?"video/x-flic":t.search(/^.*\.hwp$/)>=0?"application/x-hwp":t.search(/^.*\.hwt$/)>=0?"application/x-hwt":t.search(/^.*\.mng$/)>=0?"video/x-mng":t.search(/^.*\.asf$/)>=0?"video/x-ms-asf":t.search(/^.*\.nsc$/)>=0?"application/x-netshow-channel":t.search(/^.*\.wmv$/)>=0?"video/x-ms-wmv":t.search(/^.*\.avi$/)>=0?"video/x-msvideo":t.search(/^.*\.divx$/)>=0?"video/x-msvideo":"binary/octet-stream"}}(Agility.UGC.API);Agility.RegisterNamespace("Agility.CMS.API"),function(n){function t(t){return n.APIUrl==null||n.APIUrl==""||n.APIWebsiteName==undefined?(t({IsError:!0,Message:"The Agility CMS API has not been initialized.",ResponseData:null}),!1):!0}function i(t,i){var r=n.APIUrl,u;if(r==""||r==null)return null;r.lastIndexOf("/")!=r.length-1&&(r+="/");r+=t+"?callback=?&website="+escape(n.APIWebsiteName);for(u in i)r+="&"+u+"="+escape(i[u]);return r}function r(n,t,i){var e=Agility.UniqueID("postDataForm"),s=e+"_form",f=e+"_iframe",u=location.href,h,r,c;if(u=u.substring(0,u.indexOf("/",u.indexOf("//")+2)),u+=Agility.ResolveUrl("~/AgilityRedirector.htm"),h=Agility.ResolveUrl("~/AgilityRedirector.htm"),n=n.replace("?callback=?","?returnurl="+escape(u)),r='<div id="'+e+"\" style='display:none'><form id=\""+s+'" method="post" action="'+n+'" target="'+f+'">',typeof t=="string")r+='<input type="text" name="postdata" />';else for(prop in t)r+='<input type="text" name="'+prop+'" />';r+='<input type="text" name="url" />';r+="<\/form>";r+='<iframe id="'+f+'" name="'+f+'" src="'+h+'"><\/iframe>';r+="<\/div>";c=jQuery(document.body);jQuery(c).append(r);var l=jQuery("#"+e),o=jQuery("#"+s),a=jQuery("#"+f);if(typeof t=="string")$("input[name=postdata]",o).val(t);else for(prop in t)$("input[name="+prop+"]",o).val(t[prop]);jQuery(a).load(function(){var o=window.frames[f],r=!0,u=o.location,n,t,e;u!=null&&(n=u.href,t=Agility.QueryString("IsError",n),t==null&&(t="true"),r=t.toLowerCase()=="true");e={IsError:r,Message:Agility.QueryString("Message",n),ResponseData:Agility.QueryString("ResponseData",n)};setTimeout(function(){i(e)},0);setTimeout(function(){l.empty()},0)});o.submit()}n.EMPTY_GUID="00000000-0000-0000-0000-000000000000";n.Initialized=!1;n.APIUrl="";n.OnInit=function(t,i){t!=undefined&&t!=null&&(n.APIUrl=t);n.APIWebsiteName=i;n.Initialized=!0};n.SelectContentItems=function(n,r,u){if(t(u)){n.hash=r;var f=i("SelectContentItems",n);jQuery.getJSON(f,u)}};n.GetContentItem=function(n,r,u){if(t(u)){n.hash=r;var f=i("GetContentItem",n);jQuery.getJSON(f,u)}};n.RequestApproval=function(n,r,u){if(t(u)){n.hash=r;var f=i("RequestApproval",n);jQuery.getJSON(f,u)}};n.GetThumbnailRootUrl=function(n,r){if(t(r)){var u={hash:n},f=i("GetThumbnailRootUrl",u);jQuery.getJSON(f,r)}};n.PublishContent=function(n,r,u){if(t(u)){n.hash=r;var f=i("PublishContent",n);jQuery.getJSON(f,u)}};n.DeleteContent=function(n,r,u){if(t(u)){n.hash=r;var f=i("DeleteContent",n);jQuery.getJSON(f,u)}};n.SaveContentItem=function(n,u,f,e,o){var h,s,c;t(o)&&(h=Agility.JSON.encode(u),s=null,f!=null&&f.length>0&&(s=Agility.JSON.encode(f)),n.hash=e,c=i("SaveContentItem",n),r(c,{contentItem:h,attachments:s},o))}}(Agility.CMS.API);jQuery.cookie=function(n,t,i){var u,r,f,e;return arguments.length>1&&String(t)!=="[object Object]"?(i=jQuery.extend({},i),(t===null||t===undefined)&&(i.expires=-1),typeof i.expires=="number"&&(u=i.expires,r=i.expires=new Date,r.setDate(r.getDate()+u)),t=String(t),document.cookie=[encodeURIComponent(n),"=",i.raw?t:encodeURIComponent(t),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")):(i=t||{},e=i.raw?function(n){return n}:decodeURIComponent,(f=new RegExp("(?:^|; )"+encodeURIComponent(n)+"=([^;]*)").exec(document.cookie))?e(f[1]):null)},function(n){window.log=function(){log.history=log.history||[];log.history.push(arguments);this.console&&console.log(Array.prototype.slice.call(arguments))};n.fn.snippet=function(t,i){typeof t=="object"&&(i=t);typeof t=="string"&&(t=t.toLowerCase());var r={style:"random",showNum:!0,transparent:!1,collapse:!1,menu:!0,showMsg:"Expand Code",hideMsg:"Collapse Code",clipboard:"",startCollapsed:!0,startText:!1,box:"",boxColor:"",boxFill:""},u=["acid","berries-dark","berries-light","bipolar","blacknblue","bright","contrast","darkblue","darkness","desert","dull","easter","emacs","golden","greenlcd","ide-anjuta","ide-codewarrior","ide-devcpp","ide-eclipse","ide-kdev","ide-msvcpp","kwrite","matlab","navy","nedit","neon","night","pablo","peachpuff","print","rand01","the","typical","vampire","vim","vim-dark","whatis","whitengrey","zellner"];return i&&n.extend(r,i),this.each(function(){var b=r.style.toLowerCase(),tt,i,nt,it,rt,ut,f,ft,et,y,ot,d,v,o,w,g,s,p,l,e,h,c,a,k;if(r.style=="random"&&(tt=Math.floor(Math.random()*u.length),b=u[tt]),i=n(this),nt=this.nodeName.toLowerCase(),nt=="pre")if((i.data("orgHtml")==undefined||i.data("orgHtml")==null)&&(it=i.html(),i.data("orgHtml",it)),i.parent().hasClass("snippet-wrap")){if(i.parent().attr("class","sh_"+b+" snippet-wrap"),i.parents(".snippet-container").find(".snippet-reveal").attr("class","sh_"+b+" snippet-wrap snippet-reveal"),i.find("li.box, li.box-top, li.box-mid, li.box-bot").removeAttr("style").removeAttr("class"),i.find("li .box-sp").remove(),r.transparent?(o={"background-color":"transparent","box-shadow":"none","-moz-box-shadow":"none","-webkit-box-shadow":"none"},i.css(o),i.next(".snippet-textonly").css(o),i.parents(".snippet-container").find(".snippet-hide pre").css(o)):(o={"background-color":"","box-shadow":"","-moz-box-shadow":"","-webkit-box-shadow":""},i.css(o),i.next(".snippet-textonly").css(o),i.parents(".snippet-container").find(".snippet-reveal pre").css(o)),r.showNum?(w=i.find("li").eq(0).parent(),w.hasClass("snippet-no-num")&&(w.wrap("<ol class='snippet-num'><\/ol>"),g=i.find("li").eq(0),g.unwrap())):(w=i.find("li").eq(0).parent(),w.hasClass("snippet-num")&&(w.wrap("<ul class='snippet-no-num'><\/ul>"),g=i.find("li").eq(0),g.unwrap())),r.box!=""){for(s="<span class='box-sp'>&nbsp;<\/span>",p=r.box.split(","),l=0;l<p.length;l++)if(e=p[l],e.indexOf("-")==-1)e=parseFloat(e)-1,i.find("li").eq(e).addClass("box").prepend(s);else if(h=parseFloat(e.split("-")[0])-1,c=parseFloat(e.split("-")[1])-1,h<c)for(i.find("li").eq(h).addClass("box box-top").prepend(s),i.find("li").eq(c).addClass("box box-bot").prepend(s),a=h+1;a<c;a++)i.find("li").eq(a).addClass("box box-mid").prepend(s);else h==c&&i.find("li").eq(h).addClass("box").prepend(s);r.boxColor!=""&&i.find("li.box").css("border-color",r.boxColor);r.boxFill!=""&&i.find("li.box").addClass("box-bg").css("background-color",r.boxFill);n.browser.webkit&&(i.find(".snippet-num li.box").css("margin-left","-3.3em"),i.find(".snippet-num li .box-sp").css("width","21px"))}sh_highlightDocument();r.menu?i.prev(".snippet-menu").find("pre,.snippet-clipboard").show():i.prev(".snippet-menu").find("pre,.snippet-clipboard").hide()}else{if(typeof t!="string")return rt=i.attr("class").length>0?' class="'+i.attr("class")+'"':"",ut=i.attr("id").length>0?' id="'+i.attr("id")+'"':"",k="Snippet Error: You must specify a language on inital usage of Snippet. Reference <pre"+rt+ut+">",console.log(k),!1;if(i.addClass("sh_"+t).addClass("snippet-formatted").wrap("<div class='snippet-container' style='"+i.attr("style")+";'><div class='sh_"+b+" snippet-wrap'><\/div><\/div>"),i.removeAttr("style"),sh_highlightDocument(),r.showNum)for(f=i.html(),f=f.replace(/\n/g,"<\/li><li>"),f="<ol class='snippet-num'><li>"+f+"<\/li><\/ol>";f.indexOf("<li><\/li><\/ol>")!=-1;)f=f.replace("<li><\/li><\/ol>","<\/ol>");else for(f=i.html(),f=f.replace(/\n/g,"<\/li><li>"),f="<ul class='snippet-no-num'><li>"+f+"<\/li><\/ul>";f.indexOf("<li><\/li><\/ul>")!=-1;)f=f.replace("<li><\/li><\/ul>","<\/ul>");for(f=f.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;"),i.html(f);i.find("li").eq(0).html()=="";)i.find("li").eq(0).remove();if(i.find("li").each(function(){if(n(this).html().length<2){var t=n(this).html().replace(/\s/g,"");t==""&&(n.browser.opera?n(this).html("&nbsp;"):n(this).html("<span style='display:none;'>&nbsp;<\/span>"))}}),ft="<pre class='snippet-textonly sh_sourceCode' style='display:none;'>"+i.data("orgHtml")+"<\/pre>",et="<div class='snippet-menu sh_sourceCode' style='display:none;'><pre><a class='snippet-copy' href='#'>copy<\/a><a class='snippet-text' href='#'>text<\/a><a class='snippet-window' href='#'>pop-up<\/a><\/pre><\/div>",i.parent().append(ft),i.parent().prepend(et),i.parent().hover(function(){n(this).find(".snippet-menu").fadeIn("fast")},function(){n(this).find(".snippet-menu").fadeOut("fast")}),r.clipboard!=""&&r.clipboard!=!1?(y=i.parent().find("a.snippet-copy"),y.show(),y.parents(".snippet-menu").show(),ot=i.parents(".snippet-wrap").find(".snippet-textonly").text(),ZeroClipboard.setMoviePath(r.clipboard),d=new ZeroClipboard.Client,d.setText(ot),d.glue(y[0],y.parents(".snippet-menu")[0]),d.addEventListener("complete",function(n,t){t.length>500&&(t=t.substr(0,500)+"...\n\n("+(t.length-500)+" characters not shown)");alert("Copied text to clipboard:\n\n "+t)}),y.parents(".snippet-menu").hide()):i.parent().find("a.snippet-copy").hide(),i.parent().find("a.snippet-text").click(function(){var i=n(this).parents(".snippet-wrap").find(".snippet-formatted"),t=n(this).parents(".snippet-wrap").find(".snippet-textonly");return i.toggle(),t.toggle(),t.is(":visible")?n(this).html("html"):n(this).html("text"),n(this).blur(),!1}),i.parent().find("a.snippet-window").click(function(){var t=n(this).parents(".snippet-wrap").find(".snippet-textonly").html();return snippetPopup(t),n(this).blur(),!1}),r.menu||i.prev(".snippet-menu").find("pre,.snippet-clipboard").hide(),r.collapse){var st=i.parent().attr("class"),ht="<div class='snippet-reveal "+st+"'><pre class='sh_sourceCode'><a href='#' class='snippet-toggle'>"+r.showMsg+"<\/a><\/pre><\/div>",ct="<div class='sh_sourceCode snippet-hide'><pre><a href='#' class='snippet-revealed snippet-toggle'>"+r.hideMsg+"<\/a><\/pre><\/div>";i.parents(".snippet-container").append(ht);i.parent().append(ct);v=i.parents(".snippet-container");r.startCollapsed?(v.find(".snippet-reveal").show(),v.find(".snippet-wrap").eq(0).hide()):(v.find(".snippet-reveal").hide(),v.find(".snippet-wrap").eq(0).show());v.find("a.snippet-toggle").click(function(){return v.find(".snippet-wrap").toggle(),!1})}if(r.transparent&&(o={"background-color":"transparent","box-shadow":"none","-moz-box-shadow":"none","-webkit-box-shadow":"none"},i.css(o),i.next(".snippet-textonly").css(o),i.parents(".snippet-container").find(".snippet-reveal pre").css(o)),r.startText&&(i.hide(),i.next(".snippet-textonly").show(),i.parent().find(".snippet-text").html("html")),r.box!=""){for(s="<span class='box-sp'>&nbsp;<\/span>",p=r.box.split(","),l=0;l<p.length;l++)if(e=p[l],e.indexOf("-")==-1)e=parseFloat(e)-1,i.find("li").eq(e).addClass("box").prepend(s);else if(h=parseFloat(e.split("-")[0])-1,c=parseFloat(e.split("-")[1])-1,h<c)for(i.find("li").eq(h).addClass("box box-top").prepend(s),i.find("li").eq(c).addClass("box box-bot").prepend(s),a=h+1;a<c;a++)i.find("li").eq(a).addClass("box box-mid").prepend(s);else h==c&&i.find("li").eq(h).addClass("box").prepend(s);r.boxColor!=""&&i.find("li.box").css("border-color",r.boxColor);r.boxFill!=""&&i.find("li.box, li.box-top, li.box-mid, li.box-bot").addClass("box-bg").css("background-color",r.boxFill);n.browser.webkit&&(i.find(".snippet-num li.box").css("margin-left","-3.3em"),i.find(".snippet-num li .box-sp").css("width","21px"))}i.parents(".snippet-container").find("a").addClass("sh_url")}else return k="Snippet Error: Sorry, Snippet only formats '<pre>' elements. '<"+nt+">' elements are currently unsupported.",console.log(k),!1})}}(jQuery);ZeroClipboard={version:"1.0.7",clients:{},moviePath:"ZeroClipboard.swf",nextId:1,$:function(n){return typeof n=="string"&&(n=document.getElementById(n)),n.addClass||(n.hide=function(){this.style.display="none"},n.show=function(){this.style.display=""},n.addClass=function(n){this.removeClass(n);this.className+=" "+n},n.removeClass=function(n){for(var t=this.className.split(/\s+/),r=-1,i=0;i<t.length;i++)t[i]==n&&(r=i,i=t.length);return r>-1&&(t.splice(r,1),this.className=t.join(" ")),this},n.hasClass=function(n){return!!this.className.match(new RegExp("\\s*"+n+"\\s*"))}),n},setMoviePath:function(n){this.moviePath=n},dispatch:function(n,t,i){var r=this.clients[n];r&&r.receiveEvent(t,i)},register:function(n,t){this.clients[n]=t},getDOMObjectPosition:function(n,t){for(var i={left:0,top:0,width:n.width?n.width:n.offsetWidth,height:n.height?n.height:n.offsetHeight};n&&n!=t;)i.left+=n.offsetLeft,i.top+=n.offsetTop,n=n.offsetParent;return i},Client:function(n){this.handlers={};this.id=ZeroClipboard.nextId++;this.movieId="ZeroClipboardMovie_"+this.id;ZeroClipboard.register(this.id,this);n&&this.glue(n)}};ZeroClipboard.Client.prototype={id:0,ready:!1,movie:null,clipText:"",handCursorEnabled:!0,cssEffects:!0,handlers:null,glue:function(n,t,i){var f,u,r;if(this.domElement=ZeroClipboard.$(n),f=99,this.domElement.style.zIndex&&(f=parseInt(this.domElement.style.zIndex,10)+1),typeof t=="string"?t=ZeroClipboard.$(t):typeof t=="undefined"&&(t=document.getElementsByTagName("body")[0]),u=ZeroClipboard.getDOMObjectPosition(this.domElement,t),this.div=document.createElement("div"),this.div.className="snippet-clipboard",r=this.div.style,r.position="absolute",r.left=""+u.left+"px",r.top=""+u.top+"px",r.width=""+u.width+"px",r.height=""+u.height+"px",r.zIndex=f,typeof i=="object")for(addedStyle in i)r[addedStyle]=i[addedStyle];t.appendChild(this.div);this.div.innerHTML=this.getHTML(u.width,u.height)},getHTML:function(n,t){var i="",r="id="+this.id+"&width="+n+"&height="+t,u;return navigator.userAgent.match(/MSIE/)?(u=location.href.match(/^https/i)?"https://":"http://",i+='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+u+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="'+n+'" height="'+t+'" id="'+this.movieId+'" align="middle"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="'+ZeroClipboard.moviePath+'" /><param name="loop" value="false" /><param name="menu" value="false" /><param name="quality" value="best" /><param name="bgcolor" value="#ffffff" /><param name="flashvars" value="'+r+'"/><param name="wmode" value="transparent"/><\/object>'):i+='<embed id="'+this.movieId+'" src="'+ZeroClipboard.moviePath+'" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="'+n+'" height="'+t+'" name="'+this.movieId+'" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="'+r+'" wmode="transparent" />',i},hide:function(){this.div&&(this.div.style.left="-2000px")},show:function(){this.reposition()},destroy:function(){if(this.domElement&&this.div){this.hide();this.div.innerHTML="";var n=document.getElementsByTagName("body")[0];try{n.removeChild(this.div)}catch(t){}this.domElement=null;this.div=null}},reposition:function(n){if(n&&(this.domElement=ZeroClipboard.$(n),this.domElement||this.hide()),this.domElement&&this.div){var t=ZeroClipboard.getDOMObjectPosition(this.domElement),i=this.div.style;i.left=""+t.left+"px";i.top=""+t.top+"px"}},setText:function(n){this.clipText=n;this.ready&&this.movie.setText(n)},addEventListener:function(n,t){n=n.toString().toLowerCase().replace(/^on/,"");this.handlers[n]||(this.handlers[n]=[]);this.handlers[n].push(t)},setHandCursor:function(n){this.handCursorEnabled=n;this.ready&&this.movie.setHandCursor(n)},setCSSEffects:function(n){this.cssEffects=!!n},receiveEvent:function(n,t){var r,u,f,i;n=n.toString().toLowerCase().replace(/^on/,"");switch(n){case"load":if(this.movie=document.getElementById(this.movieId),!this.movie){r=this;setTimeout(function(){r.receiveEvent("load",null)},1);return}if(!this.ready&&navigator.userAgent.match(/Firefox/)&&navigator.userAgent.match(/Windows/)){r=this;setTimeout(function(){r.receiveEvent("load",null)},100);this.ready=!0;return}this.ready=!0;try{this.movie.setText(this.clipText)}catch(e){}try{this.movie.setHandCursor(this.handCursorEnabled)}catch(e){}break;case"mouseover":this.domElement&&this.cssEffects&&(this.domElement.addClass("hover"),this.recoverActive&&this.domElement.addClass("active"));break;case"mouseout":this.domElement&&this.cssEffects&&(this.recoverActive=!1,this.domElement.hasClass("active")&&(this.domElement.removeClass("active"),this.recoverActive=!0),this.domElement.removeClass("hover"));break;case"mousedown":this.domElement&&this.cssEffects&&this.domElement.addClass("active");break;case"mouseup":this.domElement&&this.cssEffects&&(this.domElement.removeClass("active"),this.recoverActive=!1)}if(this.handlers[n])for(u=0,f=this.handlers[n].length;u<f;u++)i=this.handlers[n][u],typeof i=="function"?i(this,t):typeof i=="object"&&i.length==2?i[0][i[1]](this,t):typeof i=="string"&&window[i](this,t)}};this.sh_languages||(this.sh_languages={});sh_requests={};this.sh_languages||(this.sh_languages={});sh_languages.c=[[[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",10,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",13],[/'/g,"sh_string",14],[/\b(?:__asm|__cdecl|__declspec|__export|__far16|__fastcall|__fortran|__import|__pascal|__rtti|__stdcall|_asm|_cdecl|__except|_export|_far16|_fastcall|__finally|_fortran|_import|_pascal|_stdcall|__thread|__try|asm|auto|break|case|catch|cdecl|const|continue|default|do|else|enum|extern|for|goto|if|pascal|register|return|sizeof|static|struct|switch|typedef|union|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:bool|char|double|float|int|long|short|signed|unsigned|void|wchar_t)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/$/g,null,-2],[/</g,"sh_string",11],[/"/g,"sh_string",12],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];this.sh_languages||(this.sh_languages={});sh_languages.cpp=[[[/(\b(?:class|struct|typename))([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:class|const_cast|delete|dynamic_cast|explicit|false|friend|inline|mutable|namespace|new|operator|private|protected|public|reinterpret_cast|static_cast|template|this|throw|true|try|typeid|typename|using|virtual)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",10,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",13],[/'/g,"sh_string",14],[/\b(?:__asm|__cdecl|__declspec|__export|__far16|__fastcall|__fortran|__import|__pascal|__rtti|__stdcall|_asm|_cdecl|__except|_export|_far16|_fastcall|__finally|_fortran|_import|_pascal|_stdcall|__thread|__try|asm|auto|break|case|catch|cdecl|const|continue|default|do|else|enum|extern|for|goto|if|pascal|register|return|sizeof|static|struct|switch|typedef|union|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:bool|char|double|float|int|long|short|signed|unsigned|void|wchar_t)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/$/g,null,-2],[/</g,"sh_string",11],[/"/g,"sh_string",12],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];this.sh_languages||(this.sh_languages={});sh_languages.csharp=[[[/\b(?:using)\b/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))(?:[FfDdMmUulL]+)?\b/g,"sh_number",-1],[/(\b(?:class|struct|typename))([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:abstract|event|new|struct|as|explicit|null|switch|base|extern|this|false|operator|throw|break|finally|out|true|fixed|override|try|case|params|typeof|catch|for|private|foreach|protected|checked|goto|public|unchecked|class|if|readonly|unsafe|const|implicit|ref|continue|in|return|virtual|default|interface|sealed|volatile|delegate|internal|do|is|sizeof|while|lock|stackalloc|else|static|enum|namespace|get|partial|set|value|where|yield)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",10,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",13],[/'/g,"sh_string",14],[/\b(?:bool|byte|sbyte|char|decimal|double|float|int|uint|long|ulong|object|short|ushort|string|void)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/$/g,null,-2],[/</g,"sh_string",11],[/"/g,"sh_string",12],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];this.sh_languages||(this.sh_languages={});sh_languages.css=[[[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/(?:\.|#)[A-Za-z0-9_]+/g,"sh_selector",-1],[/\{/g,"sh_cbracket",10,1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\}/g,"sh_cbracket",-2],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/[A-Za-z0-9_-]+[ \t]*:/g,"sh_property",-1],[/[.%A-Za-z0-9_-]+/g,"sh_value",-1],[/#(?:[A-Za-z0-9_]+)/g,"sh_string",-1]]];this.sh_languages||(this.sh_languages={});sh_languages.flex=[[[/^%\{/g,"sh_preproc",1,1],[/^%[sx]/g,"sh_preproc",16,1],[/^%option/g,"sh_preproc",17,1],[/^%(?:array|pointer|[aceknopr])/g,"sh_preproc",-1],[/[A-Za-z_][A-Za-z0-9_-]*/g,"sh_preproc",19,1],[/^%%/g,"sh_preproc",20,1]],[[/^%\}/g,"sh_preproc",-2],[/(\b(?:class|struct|typename))([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:class|const_cast|delete|dynamic_cast|explicit|false|friend|inline|mutable|namespace|new|operator|private|protected|public|reinterpret_cast|static_cast|template|this|throw|true|try|typeid|typename|using|virtual)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",2],[/\/\//g,"sh_comment",8],[/\/\*\*/g,"sh_comment",9],[/\/\*/g,"sh_comment",10],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",11,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",14],[/'/g,"sh_string",15],[/\b(?:__asm|__cdecl|__declspec|__export|__far16|__fastcall|__fortran|__import|__pascal|__rtti|__stdcall|_asm|_cdecl|__except|_export|_far16|_fastcall|__finally|_fortran|_import|_pascal|_stdcall|__thread|__try|asm|auto|break|case|catch|cdecl|const|continue|default|do|else|enum|extern|for|goto|if|pascal|register|return|sizeof|static|struct|switch|typedef|union|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:bool|char|double|float|int|long|short|signed|unsigned|void|wchar_t)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",3,1],[/<!DOCTYPE/g,"sh_preproc",5,1],[/<!--/g,"sh_comment",6],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",7,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",7,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",4]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",4]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",6]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",4]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",3,1],[/<!DOCTYPE/g,"sh_preproc",5,1],[/<!--/g,"sh_comment",6],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",7,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",7,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/$/g,null,-2],[/</g,"sh_string",12],[/"/g,"sh_string",13],[/\/\/\//g,"sh_comment",2],[/\/\//g,"sh_comment",8],[/\/\*\*/g,"sh_comment",9],[/\/\*/g,"sh_comment",10]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/$/g,null,-2],[/[A-Za-z_][A-Za-z0-9_-]*/g,"sh_function",-1]],[[/$/g,null,-2],[/[A-Za-z_][A-Za-z0-9_-]*/g,"sh_keyword",-1],[/"/g,"sh_string",18],[/=/g,"sh_symbol",-1]],[[/$/g,null,-2],[/"/g,"sh_string",-2]],[[/$/g,null,-2],[/\{[A-Za-z_][A-Za-z0-9_-]*\}/g,"sh_type",-1],[/"/g,"sh_string",13],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1]],[[/^%%/g,"sh_preproc",21,1],[/<[A-Za-z_][A-Za-z0-9_-]*>/g,"sh_function",-1],[/"/g,"sh_string",13],[/\\./g,"sh_preproc",-1],[/\{[A-Za-z_][A-Za-z0-9_-]*\}/g,"sh_type",-1],[/\/\*/g,"sh_comment",22],[/\{/g,"sh_cbracket",23,1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1]],[[/(\b(?:class|struct|typename))([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:class|const_cast|delete|dynamic_cast|explicit|false|friend|inline|mutable|namespace|new|operator|private|protected|public|reinterpret_cast|static_cast|template|this|throw|true|try|typeid|typename|using|virtual)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",2],[/\/\//g,"sh_comment",8],[/\/\*\*/g,"sh_comment",9],[/\/\*/g,"sh_comment",10],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",11,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",14],[/'/g,"sh_string",15],[/\b(?:__asm|__cdecl|__declspec|__export|__far16|__fastcall|__fortran|__import|__pascal|__rtti|__stdcall|_asm|_cdecl|__except|_export|_far16|_fastcall|__finally|_fortran|_import|_pascal|_stdcall|__thread|__try|asm|auto|break|case|catch|cdecl|const|continue|default|do|else|enum|extern|for|goto|if|pascal|register|return|sizeof|static|struct|switch|typedef|union|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:bool|char|double|float|int|long|short|signed|unsigned|void|wchar_t)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/\*\//g,"sh_comment",-2],[/\/\*/g,"sh_comment",22]],[[/\}/g,"sh_cbracket",-2],[/\{/g,"sh_cbracket",23,1],[/\$./g,"sh_variable",-1],[/(\b(?:class|struct|typename))([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:class|const_cast|delete|dynamic_cast|explicit|false|friend|inline|mutable|namespace|new|operator|private|protected|public|reinterpret_cast|static_cast|template|this|throw|true|try|typeid|typename|using|virtual)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",2],[/\/\//g,"sh_comment",8],[/\/\*\*/g,"sh_comment",9],[/\/\*/g,"sh_comment",10],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",11,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",14],[/'/g,"sh_string",15],[/\b(?:__asm|__cdecl|__declspec|__export|__far16|__fastcall|__fortran|__import|__pascal|__rtti|__stdcall|_asm|_cdecl|__except|_export|_far16|_fastcall|__finally|_fortran|_import|_pascal|_stdcall|__thread|__try|asm|auto|break|case|catch|cdecl|const|continue|default|do|else|enum|extern|for|goto|if|pascal|register|return|sizeof|static|struct|switch|typedef|union|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:bool|char|double|float|int|long|short|signed|unsigned|void|wchar_t)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]]];this.sh_languages||(this.sh_languages={});sh_languages.html=[[[/<\?xml/g,"sh_preproc",1,1],[/<!DOCTYPE/g,"sh_preproc",3,1],[/<!--/g,"sh_comment",4],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",5,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",5,1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",4]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]]];this.sh_languages||(this.sh_languages={});sh_languages.java=[[[/\b(?:import|package)\b/g,"sh_preproc",-1],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",10],[/'/g,"sh_string",11],[/(\b(?:class|interface))([ \t]+)([$A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:abstract|assert|break|case|catch|class|const|continue|default|do|else|extends|false|final|finally|for|goto|if|implements|instanceof|interface|native|new|null|private|protected|public|return|static|strictfp|super|switch|synchronized|throw|throws|true|this|transient|try|volatile|while)\b/g,"sh_keyword",-1],[/\b(?:int|byte|boolean|char|long|float|double|short|void)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];this.sh_languages||(this.sh_languages={});sh_languages.javascript=[[[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/\b(?:abstract|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|final|finally|for|function|goto|if|implements|in|instanceof|interface|native|new|null|private|protected|prototype|public|return|static|super|switch|synchronized|throw|throws|this|transient|true|try|typeof|var|volatile|while|with)\b/g,"sh_keyword",-1],[/(\+\+|--|\)|\])(\s*)(\/=?(?![*\/]))/g,["sh_symbol","sh_normal","sh_symbol"],-1],[/(0x[A-Fa-f0-9]+|(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?)(\s*)(\/(?![*\/]))/g,["sh_number","sh_normal","sh_symbol"],-1],[/([A-Za-z$_][A-Za-z0-9$_]*\s*)(\/=?(?![*\/]))/g,["sh_normal","sh_symbol"],-1],[/\/(?:\\.|[^*\\\/])(?:\\.|[^\\\/])*\/[gim]*/g,"sh_regexp",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",10],[/'/g,"sh_string",11],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/\b(?:Math|Infinity|NaN|undefined|arguments)\b/g,"sh_predef_var",-1],[/\b(?:Array|Boolean|Date|Error|EvalError|Function|Number|Object|RangeError|ReferenceError|RegExp|String|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt)\b/g,"sh_predef_func",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];this.sh_languages||(this.sh_languages={});sh_languages.javascript_dom=[[[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/\b(?:abstract|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|final|finally|for|function|goto|if|implements|in|instanceof|interface|native|new|null|private|protected|prototype|public|return|static|super|switch|synchronized|throw|throws|this|transient|true|try|typeof|var|volatile|while|with)\b/g,"sh_keyword",-1],[/(\+\+|--|\)|\])(\s*)(\/=?(?![*\/]))/g,["sh_symbol","sh_normal","sh_symbol"],-1],[/(0x[A-Fa-f0-9]+|(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?)(\s*)(\/(?![*\/]))/g,["sh_number","sh_normal","sh_symbol"],-1],[/([A-Za-z$_][A-Za-z0-9$_]*\s*)(\/=?(?![*\/]))/g,["sh_normal","sh_symbol"],-1],[/\/(?:\\.|[^*\\\/])(?:\\.|[^\\\/])*\/[gim]*/g,"sh_regexp",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",10],[/'/g,"sh_string",11],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/\b(?:Math|Infinity|NaN|undefined|arguments)\b/g,"sh_predef_var",-1],[/\b(?:Array|Boolean|Date|Error|EvalError|Function|Number|Object|RangeError|ReferenceError|RegExp|String|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt)\b/g,"sh_predef_func",-1],[/\b(?:applicationCache|closed|Components|content|controllers|crypto|defaultStatus|dialogArguments|directories|document|frameElement|frames|fullScreen|globalStorage|history|innerHeight|innerWidth|length|location|locationbar|menubar|name|navigator|opener|outerHeight|outerWidth|pageXOffset|pageYOffset|parent|personalbar|pkcs11|returnValue|screen|availTop|availLeft|availHeight|availWidth|colorDepth|height|left|pixelDepth|top|width|screenX|screenY|scrollbars|scrollMaxX|scrollMaxY|scrollX|scrollY|self|sessionStorage|sidebar|status|statusbar|toolbar|top|window)\b/g,"sh_predef_var",-1],[/\b(?:alert|addEventListener|atob|back|blur|btoa|captureEvents|clearInterval|clearTimeout|close|confirm|dump|escape|find|focus|forward|getAttention|getComputedStyle|getSelection|home|moveBy|moveTo|open|openDialog|postMessage|print|prompt|releaseEvents|removeEventListener|resizeBy|resizeTo|scroll|scrollBy|scrollByLines|scrollByPages|scrollTo|setInterval|setTimeout|showModalDialog|sizeToContent|stop|unescape|updateCommands|onabort|onbeforeunload|onblur|onchange|onclick|onclose|oncontextmenu|ondragdrop|onerror|onfocus|onkeydown|onkeypress|onkeyup|onload|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|onpaint|onreset|onresize|onscroll|onselect|onsubmit|onunload)\b/g,"sh_predef_func",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]];this.sh_languages||(this.sh_languages={});sh_languages.perl=[[[/\b(?:import)\b/g,"sh_preproc",-1],[/(s)(\{(?:\\\}|[^}])*\}\{(?:\\\}|[^}])*\})([ixsmogce]*)/g,["sh_keyword","sh_regexp","sh_keyword"],-1],[/(s)(\((?:\\\)|[^)])*\)\((?:\\\)|[^)])*\))([ixsmogce]*)/g,["sh_keyword","sh_regexp","sh_keyword"],-1],[/(s)(\[(?:\\\]|[^\]])*\]\[(?:\\\]|[^\]])*\])([ixsmogce]*)/g,["sh_keyword","sh_regexp","sh_keyword"],-1],[/(s)(<.*><.*>)([ixsmogce]*)/g,["sh_keyword","sh_regexp","sh_keyword"],-1],[/(q(?:q?))(\{(?:\\\}|[^}])*\})/g,["sh_keyword","sh_string"],-1],[/(q(?:q?))(\((?:\\\)|[^)])*\))/g,["sh_keyword","sh_string"],-1],[/(q(?:q?))(\[(?:\\\]|[^\]])*\])/g,["sh_keyword","sh_string"],-1],[/(q(?:q?))(<.*>)/g,["sh_keyword","sh_string"],-1],[/(q(?:q?))([^A-Za-z0-9 \t])(.*\2)/g,["sh_keyword","sh_string","sh_string"],-1],[/(s)([^A-Za-z0-9 \t])(.*\2.*\2)([ixsmogce]*(?=[ \t]*(?:\)|;)))/g,["sh_keyword","sh_regexp","sh_regexp","sh_keyword"],-1],[/(s)([^A-Za-z0-9 \t])(.*\2[ \t]*)([^A-Za-z0-9 \t])(.*\4)([ixsmogce]*(?=[ \t]*(?:\)|;)))/g,["sh_keyword","sh_regexp","sh_regexp","sh_regexp","sh_regexp","sh_keyword"],-1],[/#/g,"sh_comment",1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/(?:m|qr)(?=\{)/g,"sh_keyword",2],[/(?:m|qr)(?=#)/g,"sh_keyword",4],[/(?:m|qr)(?=\|)/g,"sh_keyword",6],[/(?:m|qr)(?=@)/g,"sh_keyword",8],[/(?:m|qr)(?=<)/g,"sh_keyword",10],[/(?:m|qr)(?=\[)/g,"sh_keyword",12],[/(?:m|qr)(?=\\)/g,"sh_keyword",14],[/(?:m|qr)(?=\/)/g,"sh_keyword",16],[/"/g,"sh_string",18],[/'/g,"sh_string",19],[/</g,"sh_string",20],[/\/[^\n]*\//g,"sh_string",-1],[/\b(?:chomp|chop|chr|crypt|hex|i|index|lc|lcfirst|length|oct|ord|pack|q|qq|reverse|rindex|sprintf|substr|tr|uc|ucfirst|m|s|g|qw|abs|atan2|cos|exp|hex|int|log|oct|rand|sin|sqrt|srand|my|local|our|delete|each|exists|keys|values|pack|read|syscall|sysread|syswrite|unpack|vec|undef|unless|return|length|grep|sort|caller|continue|dump|eval|exit|goto|last|next|redo|sub|wantarray|pop|push|shift|splice|unshift|split|switch|join|defined|foreach|last|chop|chomp|bless|dbmclose|dbmopen|ref|tie|tied|untie|while|next|map|eq|die|cmp|lc|uc|and|do|if|else|elsif|for|use|require|package|import|chdir|chmod|chown|chroot|fcntl|glob|ioctl|link|lstat|mkdir|open|opendir|readlink|rename|rmdir|stat|symlink|umask|unlink|utime|binmode|close|closedir|dbmclose|dbmopen|die|eof|fileno|flock|format|getc|print|printf|read|readdir|rewinddir|seek|seekdir|select|syscall|sysread|sysseek|syswrite|tell|telldir|truncate|warn|write|alarm|exec|fork|getpgrp|getppid|getpriority|kill|pipe|qx|setpgrp|setpriority|sleep|system|times|x|wait|waitpid)\b/g,"sh_keyword",-1],[/^\=(?:head1|head2|item)/g,"sh_comment",21],[/(?:\$[#]?|@|%)[\/A-Za-z0-9_]+/g,"sh_variable",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1]],[[/$/g,null,-2]],[[/\{/g,"sh_regexp",3]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\\{|\\\}|\}/g,"sh_regexp",-3]],[[/#/g,"sh_regexp",5]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\#|#/g,"sh_regexp",-3]],[[/\|/g,"sh_regexp",7]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\\||\|/g,"sh_regexp",-3]],[[/@/g,"sh_regexp",9]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\@|@/g,"sh_regexp",-3]],[[/</g,"sh_regexp",11]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\<|\\>|>/g,"sh_regexp",-3]],[[/\[/g,"sh_regexp",13]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\]|\]/g,"sh_regexp",-3]],[[/\\/g,"sh_regexp",15]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\\\|\\/g,"sh_regexp",-3]],[[/\//g,"sh_regexp",17]],[[/[ \t]+#.*/g,"sh_comment",-1],[/\$(?:[A-Za-z0-9_]+|\{[A-Za-z0-9_]+\})/g,"sh_variable",-1],[/\\\/|\//g,"sh_regexp",-3]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|')/g,null,-1],[/'/g,"sh_string",-2]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/\=cut/g,"sh_comment",-2]]];this.sh_languages||(this.sh_languages={});sh_languages.php=[[[/\b(?:include|include_once|require|require_once)\b/g,"sh_preproc",-1],[/\/\//g,"sh_comment",1],[/#/g,"sh_comment",1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",2],[/'/g,"sh_string",3],[/\b(?:and|or|xor|__FILE__|exception|php_user_filter|__LINE__|array|as|break|case|cfunction|class|const|continue|declare|default|die|do|each|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|for|foreach|function|global|if|isset|list|new|old_function|print|return|static|switch|unset|use|var|while|__FUNCTION__|__CLASS__|__METHOD__)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",4],[/\/\//g,"sh_comment",1],[/\/\*\*/g,"sh_comment",9],[/\/\*/g,"sh_comment",10],[/(?:\$[#]?|@|%)[A-Za-z0-9_]+/g,"sh_variable",-1],[/<\?php|~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1]],[[/$/g,null,-2]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/\\(?:\\|')/g,null,-1],[/'/g,"sh_string",-2]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",5,1],[/<!DOCTYPE/g,"sh_preproc",6,1],[/<!--/g,"sh_comment",7],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",8,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",8,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",7]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",5,1],[/<!DOCTYPE/g,"sh_preproc",6,1],[/<!--/g,"sh_comment",7],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",8,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",8,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]]];this.sh_languages||(this.sh_languages={});sh_languages.python=[[[/\b(?:import|from)\b/g,"sh_preproc",-1],[/#/g,"sh_comment",1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/\b(?:and|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|global|if|in|is|lambda|not|or|pass|print|raise|return|try|while)\b/g,"sh_keyword",-1],[/^(?:[\s]*'{3})/g,"sh_comment",2],[/^(?:[\s]*\"{3})/g,"sh_comment",3],[/^(?:[\s]*'(?:[^\\']|\\.)*'[\s]*|[\s]*\"(?:[^\\\"]|\\.)*\"[\s]*)$/g,"sh_comment",-1],[/(?:[\s]*'{3})/g,"sh_string",4],[/(?:[\s]*\"{3})/g,"sh_string",5],[/"/g,"sh_string",6],[/'/g,"sh_string",7],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\||\{|\}/g,"sh_symbol",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1]],[[/$/g,null,-2]],[[/(?:'{3})/g,"sh_comment",-2]],[[/(?:\"{3})/g,"sh_comment",-2]],[[/(?:'{3})/g,"sh_string",-2]],[[/(?:\"{3})/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|')/g,null,-1],[/'/g,"sh_string",-2]]];this.sh_languages||(this.sh_languages={});sh_languages.ruby=[[[/\b(?:require)\b/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",1],[/'/g,"sh_string",2],[/</g,"sh_string",3],[/\/[^\n]*\//g,"sh_regexp",-1],[/(%r)(\{(?:\\\}|#\{[A-Za-z0-9]+\}|[^}])*\})/g,["sh_symbol","sh_regexp"],-1],[/\b(?:alias|begin|BEGIN|break|case|defined|do|else|elsif|end|END|ensure|for|if|in|include|loop|next|raise|redo|rescue|retry|return|super|then|undef|unless|until|when|while|yield|false|nil|self|true|__FILE__|__LINE__|and|not|or|def|class|module|catch|fail|load|throw)\b/g,"sh_keyword",-1],[/(?:^\=begin)/g,"sh_comment",4],[/(?:\$[#]?|@@|@)(?:[A-Za-z0-9_]+|'|\"|\/)/g,"sh_type",-1],[/[A-Za-z0-9]+(?:\?|!)/g,"sh_normal",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/(#)(\{)/g,["sh_symbol","sh_cbracket"],-1],[/#/g,"sh_comment",5],[/\{|\}/g,"sh_cbracket",-1]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|')/g,null,-1],[/'/g,"sh_string",-2]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/^(?:\=end)/g,"sh_comment",-2]],[[/$/g,null,-2]]];this.sh_languages||(this.sh_languages={});sh_languages.sql=[[[/\b(?:VARCHAR|TINYINT|TEXT|DATE|SMALLINT|MEDIUMINT|INT|BIGINT|FLOAT|DOUBLE|DECIMAL|DATETIME|TIMESTAMP|TIME|YEAR|UNSIGNED|CHAR|TINYBLOB|TINYTEXT|BLOB|MEDIUMBLOB|MEDIUMTEXT|LONGBLOB|LONGTEXT|ENUM|BOOL|BINARY|VARBINARY)\b/gi,"sh_type",-1],[/\b(?:ALL|ASC|AS|ALTER|AND|ADD|AUTO_INCREMENT|BETWEEN|BINARY|BOTH|BY|BOOLEAN|CHANGE|CHECK|COLUMNS|COLUMN|CROSS|CREATE|DATABASES|DATABASE|DATA|DELAYED|DESCRIBE|DESC|DISTINCT|DELETE|DROP|DEFAULT|ENCLOSED|ESCAPED|EXISTS|EXPLAIN|FIELDS|FIELD|FLUSH|FOR|FOREIGN|FUNCTION|FROM|GROUP|GRANT|HAVING|IGNORE|INDEX|INFILE|INSERT|INNER|INTO|IDENTIFIED|IN|IS|IF|JOIN|KEYS|KILL|KEY|LEADING|LIKE|LIMIT|LINES|LOAD|LOCAL|LOCK|LOW_PRIORITY|LEFT|LANGUAGE|MODIFY|NATURAL|NOT|NULL|NEXTVAL|OPTIMIZE|OPTION|OPTIONALLY|ORDER|OUTFILE|OR|OUTER|ON|PROCEDURE|PROCEDURAL|PRIMARY|READ|REFERENCES|REGEXP|RENAME|REPLACE|RETURN|REVOKE|RLIKE|RIGHT|SHOW|SONAME|STATUS|STRAIGHT_JOIN|SELECT|SETVAL|SET|TABLES|TERMINATED|TO|TRAILING|TRUNCATE|TABLE|TEMPORARY|TRIGGER|TRUSTED|UNIQUE|UNLOCK|USE|USING|UPDATE|VALUES|VARIABLES|VIEW|WITH|WRITE|WHERE|ZEROFILL|TYPE|XOR)\b/gi,"sh_keyword",-1],[/"/g,"sh_string",1],[/'/g,"sh_string",2],[/`/g,"sh_string",3],[/#/g,"sh_comment",4],[/\/\/\//g,"sh_comment",5],[/\/\//g,"sh_comment",4],[/\/\*\*/g,"sh_comment",11],[/\/\*/g,"sh_comment",12],[/--/g,"sh_comment",4],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/`/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/$/g,null,-2]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",6,1],[/<!DOCTYPE/g,"sh_preproc",8,1],[/<!--/g,"sh_comment",9],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",10,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",10,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",7]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",7]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",9]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",7]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",6,1],[/<!DOCTYPE/g,"sh_preproc",8,1],[/<!--/g,"sh_comment",9],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",10,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",10,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]]];this.sh_languages||(this.sh_languages={});sh_languages.url=[[{regex:/(?:<?)[A-Za-z0-9_\.\/\-_]+@[A-Za-z0-9_\.\/\-_]+(?:>?)/g,style:"sh_url"},{regex:/(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_]+(?:>?)/g,style:"sh_url"}]];this.sh_languages||(this.sh_languages={});sh_languages.xml=[[[/<\?xml/g,"sh_preproc",1,1],[/<!DOCTYPE/g,"sh_preproc",3,1],[/<!--/g,"sh_comment",4],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",5,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",4]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",2]]];this.sh_languages||(this.sh_languages={});sh_languages.csharp=[[[/\b(?:using)\b/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))(?:[FfDdMmUulL]+)?\b/g,"sh_number",-1],[/(\b(?:class|struct|typename))([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/\b(?:abstract|event|new|struct|as|explicit|null|switch|base|extern|this|false|operator|throw|break|finally|out|true|fixed|override|try|case|params|typeof|catch|for|private|foreach|protected|checked|goto|public|unchecked|class|if|readonly|unsafe|const|implicit|ref|continue|in|return|virtual|default|interface|sealed|volatile|delegate|internal|do|is|sizeof|while|lock|stackalloc|else|static|enum|namespace|get|partial|set|value|where|yield)\b/g,"sh_keyword",-1],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9],[/(\bstruct)([ \t]+)([A-Za-z0-9_]+)/g,["sh_keyword","sh_normal","sh_classname"],-1],[/^[ \t]*#(?:[ \t]*include)/g,"sh_preproc",10,1],[/^[ \t]*#(?:[ \t]*[A-Za-z0-9_]*)/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/"/g,"sh_string",13],[/'/g,"sh_string",14],[/\b(?:bool|byte|sbyte|char|decimal|double|float|int|uint|long|ulong|object|short|ushort|string|void)\b/g,"sh_type",-1],[/~|!|%|\^|\*|\(|\)|-|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\|/g,"sh_symbol",-1],[/\{|\}/g,"sh_cbracket",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?=[ \t]*\()/g,"sh_function",-1],[/([A-Za-z](?:[^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]|[_])*)((?:<.*>)?)(\s+(?=[*&]*[A-Za-z][^`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\s]*\s*[`~!@#$%&*()_=+{}|;:",<.>\/?'\\[\]\^\-\[\]]+))/g,["sh_usertype","sh_usertype","sh_normal"],-1]],[[/$/g,null,-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\?>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/>/g,"sh_preproc",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/-->/g,"sh_comment",-2],[/<!--/g,"sh_comment",5]],[[/(?:\/)?>/g,"sh_keyword",-2],[/([^=" \t>]+)([ \t]*)(=?)/g,["sh_type","sh_normal","sh_symbol"],-1],[/"/g,"sh_string",3]],[[/$/g,null,-2]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/<\?xml/g,"sh_preproc",2,1],[/<!DOCTYPE/g,"sh_preproc",4,1],[/<!--/g,"sh_comment",5],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z](?:[A-Za-z0-9_:.-]*)/g,"sh_keyword",6,1],[/&(?:[A-Za-z0-9]+);/g,"sh_preproc",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*(?:\/)?>/g,"sh_keyword",-1],[/<(?:\/)?[A-Za-z][A-Za-z0-9]*/g,"sh_keyword",6,1],[/@[A-Za-z]+/g,"sh_type",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/\*\//g,"sh_comment",-2],[/(?:<?)[A-Za-z0-9_\.\/\-_~]+@[A-Za-z0-9_\.\/\-_~]+(?:>?)|(?:<?)[A-Za-z0-9_]+:\/\/[A-Za-z0-9_\.\/\-_~]+(?:>?)/g,"sh_url",-1],[/(?:TODO|FIXME|BUG)(?:[:]?)/g,"sh_todo",-1]],[[/$/g,null,-2],[/</g,"sh_string",11],[/"/g,"sh_string",12],[/\/\/\//g,"sh_comment",1],[/\/\//g,"sh_comment",7],[/\/\*\*/g,"sh_comment",8],[/\/\*/g,"sh_comment",9]],[[/$/g,null,-2],[/>/g,"sh_string",-2]],[[/$/g,null,-2],[/\\(?:\\|")/g,null,-1],[/"/g,"sh_string",-2]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]]],function(n){function o(i,r,f,o){var s={data:o||(r?r.data:{}),_wrap:r?r._wrap:null,tmpl:null,parent:r||null,nodes:[],calls:d,nest:g,wrap:nt,html:tt,update:it};return i&&n.extend(s,i,{nodes:[],parent:r}),f&&(s.tmpl=f,s._ctnt=s._ctnt||s.tmpl(n,s),s.key=++e,(h.length?u:t)[e]=s),s}function s(t,i,u){var f,e=u?n.map(u,function(n){return typeof n=="string"?t.key?n.replace(/(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g,"$1 "+r+'="'+t.key+'" $2'):n:s(n,t,n._ctnt)}):t;return i?e:(e=e.join(""),e.replace(/^\s*([^<\s][^<]*)?(<[\w\W]+>)([^>]*[^>\s])?\s*$/,function(t,i,r,u){f=n(r).get();b(f);i&&(f=c(i).concat(f));u&&(f=f.concat(c(u)))}),f?f:c(e))}function c(t){var i=document.createElement("div");return i.innerHTML=t,n.makeArray(i.childNodes)}function p(t){return new Function("jQuery","$item","var $=jQuery,call,_=[],$data=$item.data;with($data){_.push('"+n.trim(t).replace(/([\\'])/g,"\\$1").replace(/[\r\t\n]/g," ").replace(/\$\{([^\}]*)\}/g,"{{= $1}}").replace(/\{\{(\/?)(\w+|.)(?:\(((?:[^\}]|\}(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\}]|\}(?!\}))*?)\))?\s*\}\}/g,function(t,i,r,u,f,e,o){var h=n.tmpl.tag[r],c,s,a;if(!h)throw"Template command not found: "+r;return c=h._default||[],e&&!/\w$/.test(f)&&(f+=e,e=""),f?(f=l(f),o=o?","+l(o)+")":e?")":"",s=e?f.indexOf(".")>-1?f+e:"("+f+").call($item"+o:f,a=e?s:"(typeof("+f+")==='function'?("+f+").call($item):("+f+"))"):a=s=c.$1||"null",u=l(u),"');"+h[i?"close":"open"].split("$notnull_1").join(f?"typeof("+f+")!=='undefined' && ("+f+")!=null":"true").split("$1a").join(a).split("$1").join(s).split("$2").join(u?u.replace(/\s*([^\(]+)\s*(\((.*?)\))?/g,function(n,t,i,r){return r=r?","+r+")":i?")":"",r?"("+t+").call($item"+r:n}):c.$2||"")+"_.push('"})+"');}return _;")}function w(t,i){t._wrap=s(t,!0,n.isArray(i)?i:[v.test(i)?i:n(i).html()]).join("")}function l(n){return n?n.replace(/\\'/g,"'").replace(/\\\\/g,"\\"):null}function k(n){var t=document.createElement("div");return t.appendChild(n.cloneNode(!0)),t.innerHTML}function b(f){function p(f){function p(n){n=n+a;s=v[n]=v[n]||o(s,t[s.parent.key+a]||s.parent,null,!0)}var y,h=f,c,s,l;if(l=f.getAttribute(r)){while(h.parentNode&&(h=h.parentNode).nodeType===1&&!(y=h.getAttribute(r)));y!==l&&(h=h.parentNode?h.nodeType===11?0:h.getAttribute(r)||0:0,(s=t[l])||(s=u[l],s=o(s,t[h]||u[h],null,!0),s.key=++e,t[e]=s),i&&p(l));f.removeAttribute(r)}else i&&(s=n.data(f,"tmplItem"))&&(p(s.key),t[s.key]=s,h=n.data(f.parentNode,"tmplItem"),h=h?h.key:0);if(s){for(c=s;c&&c.key!=h;)c.nodes.push(f),c=c.parent;delete s._ctnt;delete s._wrap;n.data(f,"tmplItem",s)}}for(var a="_"+i,c,l,v={},h,s=0,y=f.length;s<y;s++)if((c=f[s]).nodeType===1){for(l=c.getElementsByTagName("*"),h=l.length-1;h>=0;h--)p(l[h]);p(c)}}function d(n,t,i,r){if(!n)return h.pop();h.push({_:n,tmpl:t,item:this,data:i,options:r})}function g(t,i,r){return n.tmpl(n.template(t),i,r,this)}function nt(t,i){var r=t.options||{};return r.wrapped=i,n.tmpl(n.template(t.tmpl),t.data,r,t.item)}function tt(t,i){var r=this._wrap;return n.map(n(n.isArray(r)?r.join(""):r).filter(t||"*"),function(n){return i?n.innerText||n.textContent:n.outerHTML||k(n)})}function it(){var t=this.nodes;n.tmpl(null,null,null,this).insertBefore(t[0]);n(t).remove()}var a=n.fn.domManip,r="_tmplitem",v=/^[^<]*(<[\w\W]+>)[^>]*$|\{\{\! /,t={},u={},f,y={key:0,data:{}},e=0,i=0,h=[];n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(r,u){n.fn[r]=function(e){var o=[],h=n(e),c,s,a,v,l=this.length===1&&this[0].parentNode;if(f=t||{},l&&l.nodeType===11&&l.childNodes.length===1&&h.length===1)h[u](this[0]),o=this;else{for(s=0,a=h.length;s<a;s++)i=s,c=(s>0?this.clone(!0):this).get(),n.fn[u].apply(n(h[s]),c),o=o.concat(c);i=0;o=this.pushStack(o,r,h.selector)}return v=f,f=null,n.tmpl.complete(v),o}});n.fn.extend({tmpl:function(t,i,r){return n.tmpl(this[0],t,i,r)},tmplItem:function(){return n.tmplItem(this[0])},template:function(t){return n.template(t,this[0])},domManip:function(r,u,e){if(r[0]&&r[0].nodeType){for(var o=n.makeArray(arguments),s=r.length,h=0,c;h<s&&!(c=n.data(r[h++],"tmplItem")););s>1&&(o[0]=[n.makeArray(r)]);c&&i&&(o[2]=function(t){n.tmpl.afterManip(this,t,e)});a.apply(this,o)}else a.apply(this,arguments);return i=0,f||n.tmpl.complete(t),this}});n.extend({tmpl:function(i,r,f,e){var h,c=!e;if(c)e=y,i=n.template[i]||n.template(null,i),u={};else if(!i)return i=e.tmpl,t[e.key]=e,e.nodes=[],e.wrapped&&w(e,e.wrapped),n(s(e,null,e.tmpl(n,e)));return i?(typeof r=="function"&&(r=r.call(e||{})),f&&f.wrapped&&w(f,f.wrapped),h=n.isArray(r)?n.map(r,function(n){return n?o(f,e,i,n):null}):[o(f,e,i,r)],c?n(s(e,null,h)):h):[]},tmplItem:function(t){var i;for(t instanceof n&&(t=t[0]);t&&t.nodeType===1&&!(i=n.data(t,"tmplItem"))&&(t=t.parentNode););return i||y},template:function(t,i){return i?(typeof i=="string"?i=p(i):i instanceof n&&(i=i[0]||{}),i.nodeType&&(i=n.data(i,"tmpl")||n.data(i,"tmpl",p(i.innerHTML))),typeof t=="string"?n.template[t]=i:i):t?typeof t!="string"?n.template(null,t):n.template[t]||n.template(null,v.test(t)?t:n(t)):null},encode:function(n){return(""+n).split("<").join("&lt;").split(">").join("&gt;").split('"').join("&#34;").split("'").join("&#39;")}});n.extend(n.tmpl,{tag:{tmpl:{_default:{$2:"null"},open:"if($notnull_1){_=_.concat($item.nest($1,$2));}"},wrap:{_default:{$2:"null"},open:"$item.calls(_,$1,$2);_=[];",close:"call=$item.calls();_=call._.concat($item.wrap(call,_));"},each:{_default:{$2:"$index, $value"},open:"if($notnull_1){$.each($1a,function($2){with(this){",close:"}});}"},"if":{open:"if(($notnull_1) && $1a){",close:"}"},"else":{_default:{$1:"true"},open:"}else if(($notnull_1) && $1a){"},html:{open:"if($notnull_1){_.push($1a);}"},"=":{_default:{$1:"$data"},open:"if($notnull_1){_.push($.encode($1a));}"},"!":{open:""}},complete:function(){t={}},afterManip:function(t,r,u){var f=r.nodeType===11?n.makeArray(r.childNodes):r.nodeType===1?[r]:[];u.call(t,r);b(f);i++}})}(jQuery);typeof modules=="undefined"&&(window.modules={}),function(n){$(function(){});var t=function(n){var t=n.icon.split("?")[0];t=t.split(",")[0];switch(t){case"https://api.weather.gov/icons/land/day/skc":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/clear-sunny.png",shorterDescription:"fair/clear"};case"https://api.weather.gov/icons/land/night/skc":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/clear-night.png",shorterDescription:"fair/clear"};case"https://api.weather.gov/icons/land/day/few":case"https://api.weather.gov/icons/land/night/few":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/mostly-sunny.png",shorterDescription:"a few clouds"};case"https://api.weather.gov/icons/land/day/sct":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/partly-cloudy.png",shorterDescription:"partly cloudy"};case"https://api.weather.gov/icons/land/night/sct":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/partly-cloudy-night.png",shorterDescription:"partly cloudy"};case"https://api.weather.gov/icons/land/day/bkn":case"https://api.weather.gov/icons/land/night/bkn":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/mostly-cloudy.png",shorterDescription:"mostly cloudy"};case"https://api.weather.gov/icons/land/day/ovc":case"https://api.weather.gov/icons/land/night/ovc":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/cloudy.png",shorterDescription:"overcast"};case"https://api.weather.gov/icons/land/day/wind_skc":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/clear-sunny.png",shorterDescription:"fair & windy"};case"https://api.weather.gov/icons/land/night/wind_skc":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/clear-night.png",shorterDescription:"fair & windy"};case"https://api.weather.gov/icons/land/day/wind_few":case"https://api.weather.gov/icons/land/night/wind_few":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/mostly-sunny.png",shorterDescription:"cloudy & windy"};case"https://api.weather.gov/icons/land/day/wind_sct":case"https://api.weather.gov/icons/land/night/wind_sct":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/cloudy-breezy.png",shorterDescription:"cloudy & windy"};case"https://api.weather.gov/icons/land/day/wind_bkn":case"https://api.weather.gov/icons/land/night/wind_bkn":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/cloudy-breezy.png",shorterDescription:"cloudy & windy"};case"https://api.weather.gov/icons/land/day/wind_ovc":case"https://api.weather.gov/icons/land/night/wind_ovc":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/cloudy-breezy.png",shorterDescription:"cloudy & windy"};case"https://api.weather.gov/icons/land/day/snow":case"https://api.weather.gov/icons/land/night/snow":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/rain-heavy.png",shorterDescription:"snow"};case"https://api.weather.gov/icons/land/day/rain_snow":case"https://api.weather.gov/icons/land/night/rain_snow":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/rain-heavy.png",shorterDescription:"rain/snow"};case"https://api.weather.gov/icons/land/day/rain_sleet":case"https://api.weather.gov/icons/land/night/rain_sleet":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/rain-heavy.png",shorterDescription:"rain/sleet"};case"https://api.weather.gov/icons/land/day/snow_sleet":case"https://api.weather.gov/icons/land/night/snow_sleet":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/rain-heavy.png",shorterDescription:"snow/sleet"};case"https://api.weather.gov/icons/land/day/fzra":case"https://api.weather.gov/icons/land/night/fzra":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/rain-heavy.png",shorterDescription:"freezing rain"};case"https://api.weather.gov/icons/land/day/rain_fzra":case"https://api.weather.gov/icons/land/night/rain_fzra":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/rain-heavy.png",shorterDescription:"freezing rain"};case"https://api.weather.gov/icons/land/day/snow_fzra":case"https://api.weather.gov/icons/land/night/snow_fzra":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/rain-heavy.png",shorterDescription:"freezing snow"};case"https://api.weather.gov/icons/land/day/sleet":case"https://api.weather.gov/icons/land/night/sleet":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/rain-heavy.png",shorterDescription:"sleet"};case"https://api.weather.gov/icons/land/day/rain":case"https://api.weather.gov/icons/land/night/rain":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/rain.png",shorterDescription:"rain"};case"https://api.weather.gov/icons/land/day/rain_showers":case"https://api.weather.gov/icons/land/night/rain_showers":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/rain.png",shorterDescription:"rain showers"};case"https://api.weather.gov/icons/land/day/rain_showers_hi":case"https://api.weather.gov/icons/land/night/rain_showers_hi":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/rain.png",shorterDescription:"rain showers"};case"https://api.weather.gov/icons/land/day/tsra":case"https://api.weather.gov/icons/land/night/tsra":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/thunderstorm.png",shorterDescription:"thunderstorm"};case"https://api.weather.gov/icons/land/day/tsra_sct":case"https://api.weather.gov/icons/land/night/tsra_sct":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/thunderstorm.png",shorterDescription:"thunderstorm"};case"https://api.weather.gov/icons/land/day/tsra_hi":case"https://api.weather.gov/icons/land/night/tsra_hi":return{iconUrl:"https://jefferson-parish-government.azureedge.net/images/weather-icons/thunderstorm.png",shorterDescription:"thunderstorm"};case"https://api.weather.gov/icons/land/day/tornado":case"https://api.weather.gov/icons/land/night/tornado":return{iconUrl:null,shorterDescription:"tornado"};case"https://api.weather.gov/icons/land/day/hurricane":case"https://api.weather.gov/icons/land/night/hurricane":return{iconUrl:null,shorterDescription:"hurricane"};case"https://api.weather.gov/icons/land/day/tropical_storm":case"https://api.weather.gov/icons/land/night/tropical_storm":return{iconUrl:null,shorterDescription:"tropical storm"};case"https://api.weather.gov/icons/land/day/dust":case"https://api.weather.gov/icons/land/night/dust":return{iconUrl:null,shorterDescription:"dust"};case"https://api.weather.gov/icons/land/day/smoke":case"https://api.weather.gov/icons/land/night/smoke":return{iconUrl:null,shorterDescription:"smoke"};case"https://api.weather.gov/icons/land/day/haze":case"https://api.weather.gov/icons/land/night/haze":return{iconUrl:null,shorterDescription:"haze"};case"https://api.weather.gov/icons/land/day/hot":case"https://api.weather.gov/icons/land/night/hot":return{iconUrl:null,shorterDescription:"hot"};case"https://api.weather.gov/icons/land/day/cold":case"https://api.weather.gov/icons/land/night/cold":return{iconUrl:null,shorterDescription:"cold"};case"https://api.weather.gov/icons/land/day/blizzard":case"https://api.weather.gov/icons/land/night/blizzard":return{iconUrl:null,shorterDescription:"blizzard"};case"https://api.weather.gov/icons/land/day/fog":case"https://api.weather.gov/icons/land/night/fog":return{iconUrl:null,shorterDescription:"fog/mist"};default:return{iconUrl:null,shorterDescription:"local weather"}}};n.InitHeader=function(){$(function(){$("#navbarSupportedContentMobile > select").change(function(){window.location.href=this.value});$("#navbarSupportedContent a.dropdown-toggle").on("click",function(){return!1});$.get("https://api.weather.gov/points/29.965,-90.1966",function(n){const i=n.properties.forecast;$.get(i,function(n){const i=n.properties.periods[0],f=$("#weather .weather"),r=t(i);var u="";r.iconUrl&&(u=$(`<img class="weather-icon" alt="${i.shortForecast}" title="${i.shortForecast}" src="${r.iconUrl}">`));f.html(i.temperature+"&nbsp;"+r.shorterDescription+"&nbsp;").append(u)})})})};n.InitAnnouncementModal=function(){$(function(){window.addEventListener("load",function(){const n=$("#announcementModal"),i=n.attr("data-content-id"),r=n.attr("data-version-id"),u=i+"-version-id",t=i+"-view-date",f=localStorage.getItem(u);if(f===r){let i=localStorage.getItem(t);if(i){i=new Date(i);const r=new Date;i.getFullYear()===r.getFullYear()&&i.getMonth()===r.getMonth()&&i.getDate()===r.getDate()||(n.modal("show"),localStorage.setItem(t,r))}else n.modal("show"),localStorage.setItem(t,new Date)}else n.modal("show"),localStorage.setItem(u,r),localStorage.setItem(t,new Date)})})};n.InitQuickLinksModal=function(){$(function(){(function(n){var r={kitId:"guy1wru",scriptTimeout:3e3,async:!0},u=n.documentElement,o=setTimeout(function(){u.className=u.className.replace(/\bwf-loading\b/g,"")+" wf-inactive"},r.scriptTimeout),f,i;const t=n.createElement("script");f=!1;const e=n.getElementsByTagName("script")[0];u.className+=" wf-loading";t.src=`https://use.typekit.net/${r.kitId}.js`;t.async=!0;t.onload=t.onreadystatechange=function(){if(i=this.readyState,f||i&&i!=="complete"&&i!=="loaded")return null;f=!0;clearTimeout(o);try{Typekit.load(r)}catch(n){return n}return null};e.parentNode.insertBefore(t,e)})(document);$(".dropdown-menu a.dropdown-toggle").on("click",function(){$(this).next().hasClass("show")||$(this).parents(".dropdown-menu").first().find(".show").removeClass("show");const n=$(this).next(".dropdown-menu");n.toggleClass("show");$(this).parents("li.nav-item.dropdown.show").on("hidden.bs.dropdown",function(){$(".dropdown-submenu .show").removeClass("show")});return!1});window.addEventListener("load",function(){var n=document.getElementsByClassName("letters"),i=n.length,t=[];for(let r=0;r<i;r++){t.push(0);const i=n[r].innerText.replace(new RegExp("","gi"),"<\/span><span>");n[r].innerHTML=i.substring(7,i.length-6)}setInterval(function(){for(let r=0;r<i;r++){const i=t[r];i>=0&&(n[r].childNodes[i].classList.add("focus"),i===0?(n[r].classList.remove("minusOne"),n[r].childNodes[n[r].childNodes.length-1].classList.remove("focus")):n[r].childNodes[i-1].classList.remove("focus"));i===n[r].childNodes.length-2?n[r].classList.add("minusTwo"):i===n[r].childNodes.length-1&&(n[r].classList.add("minusOne"),n[r].classList.remove("minusTwo"));t[r]=++t[r]%n[r].childNodes.length}},200)})})};n.InitHomeSearchSlider=function(n){$(function(){function t(){const n=jQuery.param({q:$("#custom-search-input input").val()});window.location.href=`/search?${n}`}$("#custom-search-input .search-button").on("click",function(n){return n.preventDefault(),t(),!1});$("#custom-search-input input").on("keydown",function(n){n.which===13&&(n.preventDefault(),t())});const i=n[Math.floor(Math.random()*n.length)],r=$("#homeSearchSliderImage");r.attr("alt",i.label);r.attr("src",i.url)})};n.InitCalendars=function(){$(function(){function l(n){var i="";if(n)for(let t=0;t<n.length;t++)i+=`<a class="dropdown-item" href="#" data-content-id="${n[t].ContentItemId}">${n[t].Title}</a>`;t.html(i)}function a(){var n="";for(let t=0;t<12;t++){const i=new Date(2019,t).toLocaleString("en-us",{month:"long"});n+=`<a class="dropdown-item" href="#" data-month="${t}">${i}</a>`}i.html(n)}function v(){const t=c.getFullYear();var n="";for(let i=0;i<5;i++){const r=t+i;n+=`<a class="dropdown-item" href="#" data-year="${r}">${r}</a>`}r.html(n)}function n(n){var u,w,b;if(n){e.empty();var i="",h=-1,c=-1,o=-1,k={year:"numeric"},d={month:"numeric"},g={day:"numeric"},nt={month:"long"},tt={month:"short"};for(u=0;u<n.length;u++){var t=n[u],r=new Date(parseInt(t.DateTimeMilliseconds)),s=parseInt(r.toLocaleString("en-us",k)),l=parseInt(r.toLocaleString("en-us",d)),f=parseInt(r.toLocaleString("en-us",g)),it=r.toLocaleTimeString("en-us"),a="",v="",y="",p="";i!==""&&f!==o&&(i+="<\/div><\/div><\/div>");(s!==h||l!==c)&&(i!==""&&(i+="<\/div><\/div>"),i+=`<div class="calendar__month__container"><div class="calendar__month-header">${r.toLocaleString("en-us",nt)}&nbsp;${s}</div><div class="calendar__month-days__container">`);f!==o&&(i+=`<div class="row"><div class="calendar__day__container col-md-4"><div class="calendar__day-date"><div class="calendar__date-month">${r.toLocaleString("en-us",tt)}<div class="calendar__date-day">${f}</div></div></div><div class="event-item-date-border"></div><div class="calendar__items__container">`);w=`<div class="calendar__item-header"><a href="${t.Url}">${t.Title}</a></div>`;t.SubTitle&&$.trim(t.SubTitle).length>0&&(a=`<div class="calendar__item-header">${t.SubTitle}</div>`);b=`<div class="calendar__item-time"><i class="fa fa-clock-o" aria-hidden="true"></i>&nbsp;<span>${it}</span></div>`;t.Location&&$.trim(t.Location).length>0&&(v=`<div class="calendar__item-location"><i class="fa fa-map-marker" aria-hidden="true"></i>&nbsp;<span>${t.Location}</span></div>`);t.Address&&$.trim(t.Address).length>0&&(y=`<div class="calendar__item-location"><i class="fa fa-map-marker" aria-hidden="true"></i>&nbsp;<span>${t.Address}</span></div>`);t.AgendaAttachment&&t.AgendaAttachment.URL&&t.IsAgendaHidden===!1&&(p=`<div class="calendar__item-agenda"><i class="fa fa-sticky-note-o" aria-hidden="true"></i>&nbsp;<a href="${t.AgendaAttachment.URL}" target="_blank">Agenda</a></div>`);i+='<div class="calendar__item__details">'+w+a+b+v+y+p+"<\/div><\/br>";h=s;c=l;o=f}i+="<\/div><\/div><\/div><\/div><\/div>";e.append(i)}}function u(n){const t=n.text(),i=n.parent().siblings(".dropdown-toggle");i.text(t)}function f(n){n.siblings(".active").removeClass("active");n.addClass("active")}function o(){const n=t.children(".dropdown-item.active").first();return n.attr("data-content-id")}function s(){const n=i.children(".dropdown-item.active").first();return n.attr("data-month")}function h(){const n=r.children(".dropdown-item.active").first();return n.attr("data-year")}var e=$(".module-calendars .calendar__container"),t=$(".module-calendars .dropdown-menu-calendar"),i=$(".module-calendars .dropdown-menu-month"),r=$(".module-calendars .dropdown-menu-year"),c=new Date;a();v();i.children(".dropdown-item").click(function(t){const i=$(t.target),r=i.attr("data-month");u(i);f(i);$.get("/calendar/GetCalendarItems",{contentId:o,month:r,year:h()}).done(function(t){n(t)})});r.children(".dropdown-item").click(function(t){const i=$(t.target),r=i.attr("data-year");u(i);f(i);$.get("/calendar/GetCalendarItems",{contentId:o(),month:s(),year:r}).done(function(t){n(t)})});$.get("/calendar/GetCalendarTypes").done(function(i){l(i);t.children(".dropdown-item").click(function(t){const i=$(t.target),r=i.attr("data-content-id");u(i);f(i);$.get("/calendar/GetCalendarItems",{contentId:r,month:s(),year:h()}).done(function(t){n(t)})})});$.get("/calendar/GetCalendarItems",{contentId:null,month:null,year:null}).done(function(t){n(t)})})};n.InitEventDetails=function(){$(function(){const n=$("#event-datetime"),t=n.attr("data-utc-milliseconds"),i=new Date(parseInt(t)),r=i.toLocaleString("en-us",{year:"2-digit",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit"});n.text(r)})};n.InitFrequentlyRequestedPhoneNumbers=function(){$(function(){function n(){const t=$("#custom-search-input3 input").val().toUpperCase(),i=document.getElementById("frequently-requested-phone-numbers-table"),n=i.tBodies[0].getElementsByTagName("tr");for(let i=0;i<n.length;i++){const r=n[i];r.style.display=r.innerText.toUpperCase().indexOf(t)!==-1?"":"none"}}$("#custom-search-input3 .search-button").on("click",function(t){return t.preventDefault(),n(),!1});$("#custom-search-input3 input").on("keydown",function(t){t.which===13&&(t.preventDefault(),n())})})};n.InitBoxCardList=function(){$(function(){function t(n){const t=$(n).parent().attr("data-utc-milliseconds");return new Date(parseInt(t))}function n(n,i){const r=t(n),u=r.toLocaleString("en-us",i);$(n).text(u)}$(".news-mon").each(function(){n(this,{month:"short"})});$(".news-day").each(function(){n(this,{day:"2-digit"})})})}}(modules)