function createFunctionWithTimeout(n,t){function r(){i||(i=!0,n())}var i=!1;return setTimeout(r,t||1e3),r}function getDigits(n){if(n===null||typeof n!="string")return"";var t=/\d+/g;return t.test(n)?n.match(t).join(""):""}function getAlphaNumeric(n){return n===null||typeof n!="string"?"":n.replace(/[^a-z0-9]/gi,"")}function isEmpty(n){return typeof n=="undefined"||n===null?!0:$.trim(n).length===0}function isNullOrEmpty(n){return typeof n=="string"?n===null||n==="":!0}function getParentFieldset(n){var i=null,t,r;if(n)for(t=n,r=0;i===null&&t!==null&&t.is(":not(form)")&&t.is(":not(html)")&&r<1e3;)t.is("fieldset")&&(i=t),t=t.parent(),r++;return i}function encodePasswordFields(n){for(var r,i,t=0;t<n.length;t++)r="",typeof n[t].type!="undefined"&&n[t].type==="password"&&(i=n[t].value,n[t].value=i)}function formGetValidators(n,t,i){i||(i="all");var u=t?"[validationgroup='"+t+"']":":not(*[validationgroup])",r=u;return i==="invalid"&&(r+=":visible"),$(".validator"+r)}function formGetAEPInputs(n,t){var i=t?"[validationgroup='"+t+"']":":not(*[validationgroup])",r="*[data-field-type]"+i;return n.find(r)}function formValidate(n){var t=$("#form1"),i,r;createCompareToEvents();i=t.find("input[type=submit]");i.click(function(){$("input[type=submit]",$(this).parents("form")).removeAttr("clicked");$(this).attr("clicked","true")});i.mousedown(function(){$(this).data("mouse-down",!0)});i.mouseup(function(){$(this).data("mouse-down",!1)});r=!1;t.submit(function(i){var u,h,f,y,g,o,s,l,a,w,b,k;if(APP.log("$form.submit"),!r&&(APP.log("processing form validation"),u=$("input[type=submit][clicked=true]").not("[data-causes-validation='false']"),u.length>0)){if(u.is(":visible")===!1&&u[0].id.indexOf("BtnLogin")>0){if(u=$($("input[type=submit]").not("[data-causes-validation='false']")[1]),u.length<=0)return;u.click();return}h=getParentFieldset(u);h!==null&&h.addClass("dimmed processing");var nt=u.attr("onclick"),v=/WebForm_PostBackOptions[^,]+,[^,]+,[^,]+,[^"]+"([^"]*)",/ig.exec(nt);v&&v.length>0&&(n=v[1]);var c=n?"[validationgroup='"+n+"']":":not(*[validationgroup])",ft="*[data-field-type]"+c,d=formGetAEPInputs(t,n),et=d.validate({validationEvent:"submit"}),tt=$(".validator"+c),it=tt.not("[data-validate-field]");if(it.validateCustomValidators(),f=$(".validator"+c+":visible"),$(f).each(function(){$(this).css("display")==="inline"?$(this).css("display","block"):$(this).css("visibility")==="hidden"&&$(this).css("display","none")}),f=$(".validator"+c+":visible"),y=f.length<=0,y&&(r=!0,encodePasswordFields(d),APP.log("FORM_SUBMIT_ACTIVE"),$(".form-processing-overlay").show()),y)try{$('.radio input[type="radio"]').each(function(n,t){var i=$(this).data("aspnetname");t.name=i})}catch(i){}else{$(".form-processing-overlay").hide();t.find(".dimmed.processing").removeClass("dimmed processing");$(f).each(function(){$(this).css("display")==="inline"&&$(this).css("display","block")});var e=t.find(".is-invalid, .invalid-feedback:visible").first(),rt=e.hasClass("radio")||e.hasClass("checkbox")||e.hasClass("chips"),ut=e.hasClass("invalid-feedback"),p;ut?p=15:(g=e.closest(".form-group").hasClass("moveable-label"),p=rt?68:g?15:40);$("html, body").animate({scrollTop:e.offset().top-p},500,function(){e.focus()});i.preventDefault();i.stopPropagation();o=$(".validation-summary"+c);o.length>0&&(s="",f.length<=2?(s="<p class='lead'>There "+(f.length===1?"was a problem":"were a couple of problems")+" submitting the form:<\/p><ul>",f.each(function(){var n=$(this).html();s+="<li>"+n+"<\/li>"}),s+="<\/ul>"):s="<p class='lead'>There were multiple problems submitting the form.<\/p>",o.html(s),l=Number(o.attr("data-fieldset-number")),isNaN(l)&&(l=0),h=$("#content fieldset").eq(l),a=$("fieldset:visible"),w=h.find("> h2:first-of-type,> div.row:first-of-type h2").eq(0),w.length>0?o.insertAfter(w).show():a.prepend(o.show()),b=300,typeof $("form").attr("data-validate-scroll-time")!="undefined"&&(k=Number($("form").attr("data-validate-scroll-time")),isNaN(k)||(b=k)),a.is(":visible")&&$("html, body").animate({scrollTop:a.offset().top},b))}}})}function formUpdateProcessingState(n,t){var i=getParentFieldset(n);t?i.addClass("dimmed processing"):i.removeClass("dimmed processing")}function createCompareToEvents(){$("input[data-compare-to]").each(function(){var t=$(this).attr("data-compare-to"),n;isNullOrEmpty(t)||(n=$("#"+t).eq(0),n.length>0&&n.blur(function(n){var t=$('input[data-compare-to="'+n.target.id+'"]');t!=="undefined"&&t.val()!=""&&t.validate()}))})}function isBaseInputValid(n){var t={isValid:!0,errorMessage:""};return t.isValid=typeof n=="string"||n!==null,t.isValid||(t.errorMessage="Invalid input"),t}function validateGetBaseInput(n,t){t===undefined&&(t=null);var i=$.extend({field:t,val:"",isRequired:!1,compareTo:"",validationEvent:"blur",eventObject:null,extraValidation:null,causesValidation:!0},n);return i.field&&(i.field.attr("data-causes-validation")&&(i.causesValidation=i.field.attr("data-causes-validation").toLowerCase()!=="false"),i.field.is(":enabled")||(i.causesValidation=!1),i.field.attr("data-compare-to")&&(i.compareTo=i.field.attr("data-compare-to"))),i}function validateGetBaseOutput(n){var t={isValid:!0,errorMessage:"",formatted:null,requiredMessage:"",invalidMessage:"",maxlengthMessage:"",compareToMessage:"",requiresFormatting:!1,validFormatting:!0};return typeof n!="undefined"&&typeof n.field!="undefined"&&n.field!==null&&(n.field.attr("data-required-message")&&(t.requiredMessage=n.field.attr("data-required-message")),n.field.attr("data-invalid-message")&&(t.invalidMessage=n.field.attr("data-invalid-message")),n.field.attr("data-maxlength-message")&&(t.maxlengthMessage=n.field.attr("data-maxlength-message")),n.field.attr("data-compare-to-message")&&(t.compareToMessage=n.field.attr("data-compare-to-message"))),t}function validateBaseInputCheck(n){var t=validateGetBaseOutput(n);return t.isValid=typeof n.val=="string"||n.val!==null,t.isValid||(t.errorMessage="Invalid input",t.requiresFormatting=!0,t.validFormatting=!1),t}function validateIsNotCellularDomain(n){var t,i;if(!isNullOrEmpty(n.val)){email=n.val.toLowerCase();t=["email.uscc.net","vtext.com","vmobl.com","txt.att.net","messaging.nextel.com","messaging.sprintpcs.com","tmomail.net"];for(i in t)if(email.endsWith(t[i]))return!1}return!0}function validateIsCompareToValid(n,t){t===null&&(t=!0);try{if(!isNullOrEmpty(n.compareTo)){var i=$("#"+n.compareTo).val(),r=$("#"+n.compareTo).attr("data-required")?$("#"+n.compareTo).attr("data-required").toLowerCase()==="true":!1;if(r===!1&&n.validationEvent=="submit"||!isNullOrEmpty(i))return t?n.val.toLowerCase()===i.toLowerCase():n.val===i}}catch(u){}return!0}function validateIsEmptyAndNotRequired(n){return!n.isRequired&&n.val.length===0&&isNullOrEmpty(n.compareTo)}function validateIsEmptyAndRequired(n){return n.validationEvent.indexOf("keyup")>=0?!1:n.isRequired&&n.val.length===0}function validateMaxLength(n){var t=n.field.attr("maxlength")?n.field.attr("maxlength"):0;return t>0&&n.val.length>t}function validateGetIsRequiredErrorMessage(){return""}function accountNumberFormat(n){var t=getDigits(n);return t.length===10?t.substr(0,3)+"-"+t.substr(3,3)+"-"+t.substr(6,3)+"-"+t.substr(9,1):t.length===11?t.substr(0,3)+"-"+t.substr(3,3)+"-"+t.substr(6,3)+"-"+t.substr(9,1)+"-"+t.substr(10,1):n}function accountNumberIsValid(n){var t,r,i,u;return(console.log("accountNumberIsValid input="+n),n=validateGetBaseInput(n),t=validateGetBaseOutput(n),t.requiresFormatting=!0,r=validateBaseInputCheck(n),!r.isValid)?r:(validateIsEmptyAndRequired(n)?(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.requiredMessage)?"Please enter an 11-digit account number":t.requiredMessage):isNullOrEmpty(n.val)||(i=getDigits(n.val),u=/^[0-9\-]+$/,t.isValid=i.length==0||i.length==10||i.length==11,t.isValid?(t.formatted=accountNumberFormat(n.val),validateIsCompareToValid(n)||(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.compareToMessage)?"The account numbers entered do not match":t.compareToMessage)):(t.isValid=!1,t.validFormatting=!1,t.errorMessage=isNullOrEmpty(t.invalidMessage)?"Please enter a valid 11-digit account number":t.invalidMessage)),console.log("output.isValid="+t.isValid),console.log("output.formatted="+t.formatted),t)}function currencyFormat(n,t){var r,i,f,u;return(t=$.extend({direction:"ltr",prefix:"",useCommas:!1},t),r=n.replace(/[\$,\s]/g,""),i=Number(r),!isNaN(i))?(f="",u=i.toFixed(2),u.toString()):n}function currencyIsValid(n){var t,e,i,u,f,r;return(n=validateGetBaseInput(n),t=validateGetBaseOutput(n),t.requiresFormatting=!0,e=validateBaseInputCheck(n),!e.isValid)?e:(validateIsEmptyAndRequired(n)?(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.requiredMessage)?"Please enter a dollar amount":t.requiredMessage):isNullOrEmpty(n.val)||(i=currencyFormat(n.val),u=Number(i),t.isValid=!isNaN(u),f=Number(n.field.attr("data-min-value")),r=Number(n.field.attr("data-max-value")),t.isValid?!isNaN(f)&&f>u?(t.formatted=i,t.isValid=!1,t.errorMessage="Invalid amount. (Minimum = $"+currencyFormat(f.toString(),{useCommas:!0})+")"):!isNaN(r)&&r!=0&&r<u?(t.formatted=i,t.isValid=!1,t.errorMessage="Invalid amount. (Maximum = $"+currencyFormat(r.toString(),{useCommas:!0})+")"):(t.formatted=i,validateIsCompareToValid(n)||(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.compareToMessage)?"The values entered do not match":t.compareToMessage)):t.errorMessage=isNullOrEmpty(t.invalidMessage)?"Please enter a valid dollar amount":t.invalidMessage,t.isValid||(t.validFormatting=!1)),t)}function dateChooserIsValid(n){var t=dateTextIsValid(n),e,a,y,v,h,c,u;if(t.requiresFormatting=!0,t.isValid){var f=n.field,i=Date.parse(n.val),l=n.dateType==="date";if(i!==null){l&&(i=i.clearTime());var o=getCalendarDisableOptions(f),s=o.minDate,r="";if(s!==null&&(l&&(s=s.clearTime()),s>i&&(t.isValid=!1,r=f.attr("data-min-date-message"),t.errorMessage=isNullOrEmpty(r)?"The date entered ("+i.toString("M/d/yyyy")+") is earlier than the earliest possible date ("+s.toString("M/d/yyyy")+").":r)),e=o.maxDate,e!==null&&(l&&(e=e.clearTime()),i>e&&(t.isValid=!1,r=f.attr("data-max-date-message"),t.errorMessage=isNullOrEmpty(r)?"The date entered ("+i.toString("M/d/yyyy")+") is later than the latest possible date ("+e.toString("M/d/yyyy")+").":r)),a=o.disableHolidays,a&&i.isAEPObservedHoliday()&&(y=t.isValid=!1,r=f.attr("data-disabled-holiday-message"),t.errorMessage=isNullOrEmpty(r)?"The date entered ("+i.toString("dddd, M/d/yyyy")+") falls on a holiday ("+DateHelper.getAEPObservedHolidayName(i)+"). Please select a non-holiday.":r),v=o.disableWeekends,v&&(i.isWeekday()||(t.isValid=!1,r=f.attr("data-disabled-weekend-message"),t.errorMessage=isNullOrEmpty(r)?"The date entered ("+i.toString("dddd, M/d/yyyy")+") falls on a weekend. Please select a weekday.":r)),h=o.disableOtherDates,h.length>0)for(c=0;c<h.length;c++)u=Date.parse(h[c]),u!==null&&(u.getFullYear()===9999&&(u=u.set({year:i.getFullYear()})),u!==null&&u.equals(i)&&(t.isValid=!1,r=f.attr("data-other-date-message"),t.errorMessage=isNullOrEmpty(r)?"The date entered ("+i.toString("M/d/yyyy")+") is not a valid selection. Please choose another date.":r))}t.isValid||(t.validFormatting=!1)}return t}function dateTextIsValid(n){var t,r,u,i,f;return(n=validateGetBaseInput(n),t=validateGetBaseOutput(n),t.requiresFormatting=!0,r=validateBaseInputCheck(n),!r.isValid)?r:(validateIsEmptyAndRequired(n)?(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.requiredMessage)?"Please enter a date":t.requiredMessage):isNullOrEmpty(n.val)||(u=typeof n.dateType=="undefined"||n.dateType===null?"date":n.dateType,i=Date.parse(n.val),t.isValid=i!==null,t.isValid?(f=i.equals(Date.parse(i.toString("M/d/yyyy"))),t.formatted=i.toString(u==="datetime"||!f?"M/d/yyyy h:mm tt":"M/d/yyyy"),validateIsCompareToValid(n)||(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.compareToMessage)?"The dates entered do not match":t.compareToMessage)):(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.invalidMessage)?"Please enter a valid date (mm/dd/yyyy)":t.invalidMessage),t.isValid||(t.validFormatting=!1)),t)}function emailIsValid(n){var t,i,r;return(n=validateGetBaseInput(n),t=validateGetBaseOutput(n),t.requiresFormatting=!0,i=validateBaseInputCheck(n),!i.isValid)?i:(validateIsEmptyAndRequired(n)?(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.requiredMessage)?"Please enter an email address":t.requiredMessage):isNullOrEmpty(n.val)||(t.isValid=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(n.val),t.isValid?validateMaxLength(n)?(t.isValid=!1,r=field.attr("maxlength"),t.errorMessage=isNullOrEmpty(t.maxlengthMessage)?"Please enter an email address that is no more than "+r+" characters":t.maxlengthMessage):validateIsCompareToValid(n)?n.validateCellular&&!validateIsNotCellularDomain(n)&&(t.isValid=!1,t.errorMessage="Please enter a valid, non-cellular email address"):(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.compareToMessage)?"The email addresses entered do not match":t.compareToMessage):(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.invalidMessage)?"Please enter a valid email address":t.invalidMessage),t.isValid||(t.validFormatting=!1)),t)}function esidIsValid(n){var t,i,r,u;return(n=validateGetBaseInput(n),t=validateGetBaseOutput(n),t.requiresFormatting=!0,i=validateBaseInputCheck(n),!i.isValid)?i:(validateIsEmptyAndRequired(n)?(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.requiredMessage)?"Please enter an ESID number":t.requiredMessage):isNullOrEmpty(n.val)||(r=getDigits(n.val),u=r.length===17,t.isValid=u,t.formatted=r,t.isValid||(t.validFormatting=!1,t.isValid=!1,t.errorMessage=isNullOrEmpty(t.invalidMessage)?"Please enter a valid 17-digit ESID":t.invalidMessage)),t)}function meterNumberIsValid(n){var t,i,r;return(n=validateGetBaseInput(n),t=validateGetBaseOutput(n),t.requiresFormatting=!0,i=validateBaseInputCheck(n),!i.isValid)?i:(r=/^\w+$/.test(n.val),validateIsEmptyAndRequired(n)?(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.requiredMessage)?"Please enter a meter number":t.requiredMessage):isNullOrEmpty(n.val)||r||(t.validFormatting=!1,t.formatted=getAlphaNumeric(n.val),t.isValid=!1,t.errorMessage=isNullOrEmpty(t.invalidMessage)?"Please enter a valid meter number":t.invalidMessage),t)}function numberFormat(n,t){t=$.extend({direction:"ltr",prefix:"",useCommas:!1},t);return n.replace(/[\$,\s]/g,"")}function numberIsValid(n){var t,e,i,r,u,f;return(n=validateGetBaseInput(n),t=validateGetBaseOutput(n),t.requiresFormatting=!0,e=validateBaseInputCheck(n),!e.isValid)?e:(validateIsEmptyAndRequired(n)?(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.requiredMessage)?"Please enter a number":t.requiredMessage):isNullOrEmpty(n.val)||(i=numberFormat(n.val),r=Number(i),t.isValid=!isNaN(r),u=Number(n.field.attr("data-min-value")),f=Number(n.field.attr("data-max-value")),t.isValid?!isNaN(u)&&u>r?(t.formatted=i,t.isValid=!1,t.errorMessage="Invalid number (minimum = "+numberFormat(u.toString(),{useCommas:!1})+")"):!isNaN(f)&&f<r?(t.formatted=i,t.isValid=!1,t.errorMessage="Invalid amount (maximum = "+numberFormat(f.toString(),{useCommas:!1})+")"):(t.formatted=i,validateIsCompareToValid(n)||(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.compareToMessage)?"The values entered do not match":t.compareToMessage)):(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.invalidMessage)?"Please enter a valid number":t.invalidMessage),t.isValid||(t.validFormatting=!1)),t)}function passwordIsValid(n){var t,e,u,f,r;if(n=validateGetBaseInput(n),t=validateGetBaseOutput(n),t.requiresFormatting=!0,e=validateBaseInputCheck(n),!e.isValid)return e;if(validateIsEmptyAndRequired(n))t.isValid=!1,t.errorMessage=isNullOrEmpty(t.requiredMessage)?"Please enter your password":t.requiredMessage,$("#divStrengthBar").attr("data-password-strength","");else if(isNullOrEmpty(n.val))n.compareTo===""&&$("#divStrengthBar").attr("data-password-strength","");else if(n.validationType==="registration"){var s=n.validationEvent==="blur",h=n.validationEvent==="submit",i=8,o=255;n.val=ReplaceWordFormattedChars(n.val);u=n.val.replace(new RegExp(/(.)(?=\1\1)/g),"");n.compareTo===""?(n.val.length<i?(t.isValid=!1,t.errorMessage="Passwords must have at least "+i+" characters; you entered "+n.val.length+".",$("#divStrengthBar").attr("data-password-strength","1")):n.val.length>=i&&u.length<i?(t.isValid=!1,t.errorMessage="Passwords must have at least "+i+" characters; you entered "+u.length+". Characters repeated more than 2 consecutive times count as 2 toward the minimum requirements.",$("#divStrengthBar").attr("data-password-strength","1")):n.val.length>o?(t.isValid=!1,t.errorMessage="Passwords must be between "+i+"-"+o+" characters; you entered "+n.val.length+"."):($(n.field).parent().find("span.validator").hide(),t.isValid=/^[a-zA-Z0-9!"#%&'\(\)\$\*\+,-\.\/:;<=>\?@\\_`\{\}\|~\s+]+$/i.test(n.val),/^\s/.test(n.val)?(t.isValid=!1,t.errorMessage="Passwords cannot begin with a space."):/\s$/.test(n.val)?(t.isValid=!1,t.errorMessage="Passwords cannot end with a space."):t.isValid?/[^\S]{2,}/.test(n.val)?(t.isValid=!1,t.errorMessage="Multiple consecutive spaces are not allowed in a password."):n.val.length>=i&&pwdBlackListObj.indexOf(n.val.toLowerCase())>0&&(t.isValid=!1,t.errorMessage="This password is too common. Please use more characters, phrases, or numbers."):(t.isValid=!1,t.errorMessage="Passwords may only consist of letters, numbers, or the special characters !\"#$%&'()*+,-./:;<=>?@_`{|}~")),n.val.length>=i&&t.isValid?(f=zxcvbn(u,pwdBlackListObj),r=2,f.guesses_log10>6&&f.guesses_log10<=9?r=3:f.guesses_log10>9&&(r=4),$("#divStrengthBar").attr("data-password-strength",r),$("#hdnPasswordStrength").val(r)):n.val.length<i&&t.isValid?($("#divStrengthBar").attr("data-password-strength","1"),$("#divStrength").attr("data-strength-message","Passwords must have at least "+i+" characters")):$("#divStrengthBar").attr("data-password-strength","-1")):validateIsCompareToValid(n,!1)||(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.compareToMessage)?"The passwords entered do not match":t.compareToMessage);t.isValid||(t.validFormatting=!1)}else validateIsCompareToValid(n,!1)||(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.compareToMessage)?"The passwords entered do not match":t.compareToMessage,t.isValid||(t.validFormatting=!1));return t}function ReplaceWordFormattedChars(n){return n=n.replace(/[\u2018\u2019\u201A]/g,"'"),n=n.replace(/[\u201C\u201D\u201E]/g,'"'),n=n.replace(/\u2026/g,"..."),n=n.replace(/[\u2013\u2014]/g,"-"),n=n.replace(/\u02C6/g,"^"),n=n.replace(/\u2039/g,"<"),n=n.replace(/\u203A/g,">"),n.replace(/[\u02DC\u00A0]/g," ")}function testpwdRegex(n){var t=n;return t.replace(new RegExp(/[^\w\s]|(.)(?=\1\1\1)/gi),"")}function phoneNumberFormat(n){var t=getDigits(n);return t.length===10?t.substr(0,3)+"-"+t.substr(3,3)+"-"+t.substr(6,4):t.length===11&&t.substr(0,1)==="1"?t.substr(1,3)+"-"+t.substr(4,3)+"-"+t.substr(7,4):n}function phoneNumberIsValid(n){var t,u,i,f,r;return(n=validateGetBaseInput(n),t=validateGetBaseOutput(n),t.requiresFormatting=!0,u=validateBaseInputCheck(n),!u.isValid)?u:(validateIsEmptyAndRequired(n)?(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.requiredMessage)?"Please enter a phone number":t.requiredMessage):isNullOrEmpty(n.val)?validateIsCompareToValid(n)||(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.compareToMessage)?"The phone numbers entered do not match":t.compareToMessage):(i=getDigits(n.val),i.length===11&&i.substr(0,1)==="1"&&(i=i.substr(1,10)),f=i.length===10,r=!1,i.length>0&&(i==="".padLeft(i[0],10)&&(r=!0),i.Length===10&&(i.substr(0,3)==="000"&&(r=!0),i.substr(3,3)==="000"&&(r=!0))),t.isValid=f&&!r,t.isValid?(t.formatted=phoneNumberFormat(n.val),validateIsCompareToValid(n)||(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.compareToMessage)?"The phone numbers entered do not match":t.compareToMessage)):(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.invalidMessage)?"Please enter a valid 10-digit phone number":t.invalidMessage),t.isValid||(t.validFormatting=!1)),t)}function socialSecurityNumberFormat(n){var t=getDigits(n);return t.length===9?t.substr(0,3)+"-"+t.substr(3,2)+"-"+t.substr(5,4):n}function socialSecurityNumberIsValid(n){var t,i;if(n=validateGetBaseInput(n),t=validateGetBaseOutput(n),t.requiresFormatting=!0,i=validateBaseInputCheck(n),!i.isValid)return i;if(validateIsEmptyAndRequired(n))t.isValid=!1,t.errorMessage=isNullOrEmpty(t.requiredMessage)?"Please enter a social security number":t.requiredMessage;else if(!isNullOrEmpty(n.val)){var r=getDigits(n.val),u=r.length===9;t.isValid=u&&!0;t.isValid?t.formatted=socialSecurityNumberFormat(n.val):(t.validFormatting=!1,t.isValid=!1,t.errorMessage=isNullOrEmpty(t.invalidMessage)?"Please enter a 9-digit social security number":t.invalidMessage)}return t}function regexIsValid(n){var t,i;if(n=validateGetBaseInput(n),t=validateGetBaseOutput(n),t.requiresFormatting=!0,i=validateBaseInputCheck(n),!i.isValid)return i;if(validateIsEmptyAndRequired(n))t.isValid=!1,t.errorMessage=isNullOrEmpty(t.requiredMessage)?"Please enter a value":t.requiredMessage;else if(!isNullOrEmpty(n.val)){var r=n.field.attr("data-regex-pattern")?n.field.attr("data-regex-pattern"):"",u=new RegExp(r,"");t.isValid=u.test(n.val);t.isValid?validateIsCompareToValid(n)||(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.compareToMessage)?"The values entered do not match":t.compareToMessage):t.errorMessage=isNullOrEmpty(t.invalidMessage)?"Input invalid":t.invalidMessage;t.isValid||(t.validFormatting=!1)}return t}function userIDIsValid(n){var t,i;if(n=validateGetBaseInput(n),t=validateGetBaseOutput(n),t.requiresFormatting=!0,i=validateBaseInputCheck(n),!i.isValid)return i;if(validateIsEmptyAndRequired(n))t.isValid=!1,t.errorMessage=isNullOrEmpty(t.requiredMessage)?"Please enter your User ID":t.requiredMessage;else if(!isNullOrEmpty(n.val))if(n.validationType==="registration"){var f=n.validationEvent==="blur",e=n.validationEvent==="submit",r=6,u=120;n.val.length<r?(t.isValid=!1,t.errorMessage="Your ID must be at least "+r+" alphanumeric or special characters."):n.val.length>u?(t.isValid=!1,t.errorMessage="Your ID must be less than or equal to "+u+" alphanumeric or special characters."):(t.isValid=/^[a-z0-9`!_@#$%*+=.]+$/i.test(n.val),t.isValid?validateIsCompareToValid(n,!1)||(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.compareToMessage)?"The user ids entered do not match":t.compareToMessage):t.errorMessage="The user id contains invalid characters. A user id must consist of only letters, numbers, or the special characters ` ! _ @ # $ % * + = .");t.isValid||(t.validFormatting=!1)}else validateIsCompareToValid(n,!1)||(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.compareToMessage)?"The user ids entered do not match":t.compareToMessage,t.isValid||(t.validFormatting=!1));return n.validationEvent==="blur"&&n.field.val()!==$.trim(n.field.val())&&(t.formatted=$.trim(n.field.val())),t}function zipCodeFormat(n){var t=getDigits(n);return t.length===9?t.substr(0,5)+"-"+t.substr(5,4):n}function zipCodeIsValid(n){var t,i,r;return(n=validateGetBaseInput(n),t=validateGetBaseOutput(n),t.requiresFormatting=!0,i=validateBaseInputCheck(n),!i.isValid)?i:(validateIsEmptyAndRequired(n)?(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.requiredMessage)?"Please enter a ZIP code":t.requiredMessage):isNullOrEmpty(n.val)||(r=getDigits(n.val),t.isValid=r.length===5||r.length===9,t.isValid?(t.formatted=zipCodeFormat(n.val),validateIsCompareToValid(n)||(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.compareToMessage)?"The ZIP codes entered do not match":t.compareToMessage)):(t.isValid=!1,t.errorMessage=isNullOrEmpty(t.invalidMessage)?"Please enter a 5 or 9-digit ZIP code":t.invalidMessage),t.isValid||(t.validFormatting=!1)),t)}function getFormElementByPartialID(n){var t=$("input[id*='"+n+"'],select[id*='"+n+"'],textarea[id*='"+n+"']").get(0);return t?t:null}function scrollToAccordion(){var n=$(window.location.hash),i,t,r,u;n&&$(n).hasClass("collapse")===!0&&(i=$(n).prev(),$(i).removeClass("collapsed"),$(n).addClass("show"),$("body,html").scrollTop($(n).offset().top-80));n&&$(n).hasClass("tab-pane")===!0&&(t=$(n).parents("dl"),r=t.children("dd"),r.removeClass("active"),$(n).addClass("active"),u=t.prev("ul"),t.prev("ul").find("a.active").removeClass("active"),t.prev("ul").find("a[href='"+window.location.hash+"']").addClass("active"),$("body,html").scrollTop($(n).offset().top-120))}function onYouTubeIframeAPIReady(){var n=$("[data-embed-video]");n!==undefined&&n.length>0&&n.each(function(){var n,t=$(this).data("video-id");n=new YT.Player(this,{videoId:t,playerVars:{rel:0,autoplay:0,controls:1,showinfo:0,modestbranding:1,loop:0,fs:1,cc_load_policy:0,autohide:0}})})}function convertAccordionsToTabs(){$(".accordion.tabs").each(function(){var n=$(this).hasClass("tab-content");if($(window).width()>768){if(n===!1){$(this).addClass("tab-content");var t=$('<ul class="nav nav-tabs" role="tablist">'),r=$(this).find(".accordion-header"),i=0;$(r).each(function(){var u=i===0?"active":"",n=$(this).parent(),f=$('<li class="nav-item"><a class="nav-link '+u+'" data-toggle="tab" href="'+$(n).attr("data-target")+'" role="tab">'+$(this).text()+"<\/a><\/li>"),r;t.append(f);$(n).removeClass("d-flex");$(n).hide();r=$(n).next();$(r).removeClass("collapse justify-content-between collapsed");$(r).addClass("tab-pane "+u);$(r).attr("role","tabpanel");i++});$(t).insertBefore(this)}}else n===!0&&($(".nav.nav-tabs").remove(),$(this).removeClass("tab-content"),$(this).find("dt").each(function(){$(this).addClass("d-flex");$(this).show();var n=$(this).next();$(n).addClass("collapse justify-content-between collapsed");$(n).removeClass("tab-pane active");$(n).attr("role","")}))})}function responsiveStackedTables(){$(window).width()<769&&($(".table-stacked th").each(function(){$(this).addClass("header-"+$(this).index())}),$(".table-stacked td").each(function(){$(this).attr("data-label",$(".header-"+$(this).index()).text()+":")}))}function SetUniqueRadioButton(n,t){$("input[name$='"+n+"']").each(function(){t.id!==this.id&&(this.checked=!1,this.removeAttribute("checked"))});$(t).validate()}function setFirstTimeHashValue(n){var i=n===undefined||n==null||n.length<=0?!0:!1,t;i||(t=location.hash.replace("#",""),t==""&&(location.hash=n))}function adjustLoginBoxheight(){var u=$("#globalLoginMenu"),n,t,i,r;u.length>0&&(n=$(".aep-navbar").outerHeight(),t=$(".espanol-toggle-header").outerHeight(),t!==undefined&&$(".espanol-toggle-header").is(":visible")&&(n+=t),i=0,$(".aep-breadcrumb-nav").length>0&&$(".aep-breadcrumb-nav").is(":visible")&&(i=$(".aep-breadcrumb-nav").outerHeight()),r=0,$(".top-banner").length>0&&$(".top-banner").is(":visible")&&$(".top-banner:visible").each(function(){r+=$(this).outerHeight()}),u.css("top",n+r+i+"px"))}function switchLanguage(n){return MP.SrcUrl=unescape("mp_js_orgin_url"),MP.UrlLang="mp_js_current_lang",MP.init(),MP.switchLanguage(MP.UrlLang==n?"en":n),!1}function pageLoad(){try{document.getElementsByClassName("form-processing-overlay")[0].setAttribute("style","display:none")}catch(n){}}var Analytics,DateHelper,VAL,CURRENCY_DISABLE_FORMAT;!function(n,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?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)}("undefined"!=typeof window?window:this,function(n,t){"use strict";function kr(n,t,i){var r,e,u=(i=i||f).createElement("script");if(u.text=n,t)for(r in oe)(e=t[r]||t.getAttribute&&t.getAttribute(r))&&u.setAttribute(r,e);i.head.appendChild(u).parentNode.removeChild(u)}function ut(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?ri[wr.call(n)]||"object":typeof n}function pi(n){var t=!!n&&"length"in n&&n.length,i=ut(n);return!u(n)&&!rt(n)&&("array"===i||0===t||"number"==typeof t&&0<t&&t-1 in n)}function c(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()}function bi(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}):"string"!=typeof t?i.grep(n,function(n){return-1<ii.call(t,n)!==r}):i.filter(t,n,r)}function fu(n,t){while((n=n[t])&&1!==n.nodeType);return n}function et(n){return n}function fi(n){throw n;}function eu(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(void 0,[n].slice(r))}catch(n){i.apply(void 0,[n])}}function oi(){f.removeEventListener("DOMContentLoaded",oi);n.removeEventListener("load",oi);i.ready()}function ce(n,t){return t.toUpperCase()}function y(n){return n.replace(se,"ms-").replace(he,ce)}function bt(){this.expando=i.expando+bt.uid++}function su(n,t,i){var u,r;if(void 0===i&&1===n.nodeType)if(u="data-"+t.replace(ae,"-$&").toLowerCase(),"string"==typeof(i=n.getAttribute(u))){try{i="true"===(r=i)||"false"!==r&&("null"===r?null:r===+r+""?+r:le.test(r)?JSON.parse(r):r)}catch(n){}o.set(n,t,i)}else i=void 0;return i}function cu(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]||"px"!==e&&+o)&&kt.exec(i.css(n,t));if(f&&f[3]!==e){for(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/=h;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 ht(n,t){for(var h,f,a,s,c,l,e,o=[],u=0,v=n.length;u<v;u++)(f=n[u]).style&&(h=f.style.display,t?("none"===h&&(o[u]=r.get(f,"display")||null,o[u]||(f.style.display="")),""===f.style.display&&dt(f)&&(o[u]=(e=c=s=void 0,c=(a=f).ownerDocument,l=a.nodeName,(e=ki[l])||(s=c.body.appendChild(c.createElement(l)),e=i.css(s,"display"),s.parentNode.removeChild(s),"none"===e&&(e="block"),ki[l]=e)))):"none"!==h&&(o[u]="none",r.set(f,"display",h)));for(u=0;u<v;u++)null!=o[u]&&(n[u].style.display=o[u]);return n}function s(n,t){var r;return r="undefined"!=typeof n.getElementsByTagName?n.getElementsByTagName(t||"*"):"undefined"!=typeof n.querySelectorAll?n.querySelectorAll(t||"*"):[],void 0===t||t&&c(n,t)?i.merge([n],r):r}function di(n,t){for(var i=0,u=n.length;i<u;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function yu(n,t,r,u,f){for(var e,o,p,a,w,v,c=t.createDocumentFragment(),y=[],l=0,b=n.length;l<b;l++)if((e=n[l])||0===e)if("object"===ut(e))i.merge(y,e.nodeType?[e]:e);else if(vu.test(e)){for(o=o||c.appendChild(t.createElement("div")),p=(lu.exec(e)||["",""])[1].toLowerCase(),a=h[p]||h._default,o.innerHTML=a[1]+i.htmlPrefilter(e)+a[2],v=a[0];v--;)o=o.lastChild;i.merge(y,o.childNodes);(o=c.firstChild).textContent=""}else y.push(t.createTextNode(e));for(c.textContent="",l=0;e=y[l++];)if(u&&-1<i.inArray(e,u))f&&f.push(e);else if(w=st(e),o=s(c.appendChild(e),"script"),w&&di(o),r)for(v=0;e=o[v++];)au.test(e.type||"")&&r.push(e);return c}function ct(){return!0}function lt(){return!1}function ye(n,t){return n===function(){try{return f.activeElement}catch(n){}}()==("focus"===t)}function nr(n,t,r,u,f,e){var o,s;if("object"==typeof t){for(s in"string"!=typeof r&&(u=u||r,r=void 0),t)nr(n,s,r,u,t[s],e);return n}if(null==u&&null==f?(f=r,u=r=void 0):null==f&&("string"==typeof r?(f=u,u=void 0):(f=u,u=r,r=void 0)),!1===f)f=lt;else if(!f)return n;return 1===e&&(o=f,(f=function(n){return i().off(n),o.apply(this,arguments)}).guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function hi(n,t,u){u?(r.set(n,t,!1),i.event.add(n,t,{namespace:!1,handler:function(n){var o,e,f=r.get(this,t);if(1&n.isTrigger&&this[t]){if(f.length)(i.event.special[t]||{}).delegateType&&n.stopPropagation();else if(f=k.call(arguments),r.set(this,t,f),o=u(this,t),this[t](),f!==(e=r.get(this,t))||o?r.set(this,t,!1):e={},f!==e)return n.stopImmediatePropagation(),n.preventDefault(),e&&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())}})):void 0===r.get(n,t)&&i.event.add(n,t,ct)}function pu(n,t){return c(n,"table")&&c(11!==t.nodeType?t:t.firstChild,"tr")&&i(n).children("tbody")[0]||n}function ke(n){return n.type=(null!==n.getAttribute("type"))+"/"+n.type,n}function de(n){return"true/"===(n.type||"").slice(0,5)?n.type=n.type.slice(5):n.removeAttribute("type"),n}function wu(n,t){var u,s,f,h,c,e;if(1===t.nodeType){if(r.hasData(n)&&(e=r.get(n).events))for(f in r.remove(t,"handle events"),e)for(u=0,s=e[f].length;u<s;u++)i.event.add(t,f,e[f][u]);o.hasData(n)&&(h=o.access(n),c=i.extend({},h),o.set(t,c))}}function at(n,t,f,o){t=pr(t);var a,b,l,v,h,y,c=0,p=n.length,d=p-1,w=t[0],k=u(w);if(k||1<p&&"string"==typeof w&&!e.checkClone&&we.test(w))return n.each(function(i){var r=n.eq(i);k&&(t[0]=w.call(this,i,r.html()));at(r,t,f,o)});if(p&&(b=(a=yu(t,n[0].ownerDocument,!1,n,o)).firstChild,1===a.childNodes.length&&(a=b),b||o)){for(v=(l=i.map(s(a,"script"),ke)).length;c<p;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(y=l[l.length-1].ownerDocument,i.map(l,de),c=0;c<v;c++)h=l[c],au.test(h.type||"")&&!r.access(h,"globalEval")&&i.contains(y,h)&&(h.src&&"module"!==(h.type||"").toLowerCase()?i._evalUrl&&!h.noModule&&i._evalUrl(h.src,{nonce:h.nonce||h.getAttribute("nonce")},y):kr(h.textContent.replace(be,""),h,y))}return n}function bu(n,t,r){for(var u,e=t?i.filter(t,n):n,f=0;null!=(u=e[f]);f++)r||1!==u.nodeType||i.cleanData(s(u)),u.parentNode&&(r&&st(u)&&di(s(u,"script")),u.parentNode.removeChild(u));return n}function ni(n,t,r){var o,s,h,f,u=n.style;return(r=r||ci(n))&&(""!==(f=r.getPropertyValue(t)||r[t])||st(n)||(f=i.style(n,t)),!e.pixelBoxStyles()&&tr.test(f)&&ge.test(t)&&(o=u.width,s=u.minWidth,h=u.maxWidth,u.minWidth=u.maxWidth=u.width=f,f=r.width,u.width=o,u.minWidth=s,u.maxWidth=h)),void 0!==f?f+"":f}function du(n,t){return{get:function(){if(!n())return(this.get=t).apply(this,arguments);delete this.get}}}function ir(n){var t=i.cssProps[n]||tf[n];return t||(n in nf?n:tf[n]=function(n){for(var i=n[0].toUpperCase()+n.slice(1),t=gu.length;t--;)if((n=gu[t]+i)in nf)return n}(n)||n)}function ff(n,t,i){var r=kt.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function rr(n,t,r,u,f,e){var o="width"===t?1:0,h=0,s=0;if(r===(u?"border":"content"))return 0;for(;o<4;o+=2)"margin"===r&&(s+=i.css(n,r+b[o],!0,f)),u?("content"===r&&(s-=i.css(n,"padding"+b[o],!0,f)),"margin"!==r&&(s-=i.css(n,"border"+b[o]+"Width",!0,f))):(s+=i.css(n,"padding"+b[o],!0,f),"padding"!==r?s+=i.css(n,"border"+b[o]+"Width",!0,f):h+=i.css(n,"border"+b[o]+"Width",!0,f));return!u&&0<=e&&(s+=Math.max(0,Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-e-s-h-.5))||0),s}function ef(n,t,r){var f=ci(n),o=(!e.boxSizingReliable()||r)&&"border-box"===i.css(n,"boxSizing",!1,f),s=o,u=ni(n,t,f),h="offset"+t[0].toUpperCase()+t.slice(1);if(tr.test(u)){if(!r)return u;u="auto"}return(!e.boxSizingReliable()&&o||!e.reliableTrDimensions()&&c(n,"tr")||"auto"===u||!parseFloat(u)&&"inline"===i.css(n,"display",!1,f))&&n.getClientRects().length&&(o="border-box"===i.css(n,"boxSizing",!1,f),(s=h in n)&&(u=n[h])),(u=parseFloat(u)||0)+rr(n,t,r||(o?"border":"content"),s,f,u)+"px"}function a(n,t,i,r,u){return new a.prototype.init(n,t,i,r,u)}function ur(){li&&(!1===f.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ur):n.setTimeout(ur,i.fx.interval),i.fx.tick())}function cf(){return n.setTimeout(function(){vt=void 0}),vt=Date.now()}function ai(n,t){var u,r=0,i={height:n};for(t=t?1:0;r<4;r+=2-t)i["margin"+(u=b[r])]=i["padding"+u]=n;return t&&(i.opacity=i.width=n),i}function lf(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 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=vt||cf(),t=Math.max(0,f.startTime+f.duration-o),i=1-(t/f.duration||0),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:vt||cf(),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(!function(n,t){var r,f,e,u,o;for(r in n)if(e=t[f=y(r)],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])&&"expand"in o)for(r in u=o.expand(u),delete n[f],u)r in n||(n[r]=u[r],t[r]=e);else t[f]=e}(c,f.opts.specialEasing);h<a;h++)if(o=v.prefilters[h].call(f,n,c,f.opts))return u(o.stop)&&(i._queueHooks(f.elem,f.opts.queue).stop=o.stop.bind(o)),o;return i.map(c,lf,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 tt(n){return(n.match(l)||[]).join(" ")}function it(n){return n.getAttribute&&n.getAttribute("class")||""}function fr(n){return Array.isArray(n)?n:"string"==typeof n&&n.match(l)||[]}function hr(n,t,r,u){var f;if(Array.isArray(t))i.each(t,function(t,i){r||io.test(n)?u(n,i):hr(n+"["+("object"==typeof i&&null!=i?t:"")+"]",i,r,u)});else if(r||"object"!==ut(t))u(n,t);else for(f in t)hr(n+"["+f+"]",t[f],r,u)}function gf(n){return function(t,i){"string"!=typeof t&&(i=t,t="*");var r,f=0,e=t.toLowerCase().match(l)||[];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 ne(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);return"string"!=typeof s||o||f[s]?o?!(h=s):void 0:(t.dataTypes.unshift(s),e(s),!1)}),h}var f={},o=n===cr;return e(t.dataTypes[0])||!f["*"]&&e("*")}function ar(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}var p=[],yr=Object.getPrototypeOf,k=p.slice,pr=p.flat?function(n){return p.flat.call(n)}:function(n){return p.concat.apply([],n)},yi=p.push,ii=p.indexOf,ri={},wr=ri.toString,ui=ri.hasOwnProperty,br=ui.toString,ee=br.call(Object),e={},u=function(n){return"function"==typeof n&&"number"!=typeof n.nodeType&&"function"!=typeof n.item},rt=function(n){return null!=n&&n===n.window},f=n.document,oe={type:!0,src:!0,nonce:!0,noModule:!0},dr="3.6.0",i=function(n,t){return new i.fn.init(n,t)},d,wi,tu,iu,ru,uu,l,ou,ei,ot,dt,ki,h,vu,gi,vt,li,yt,of,sf,hf,af,pt,vf,yf,pf,er,or,te,wt,ie,vr,vi,re,ue,fe;i.fn=i.prototype={jquery:dr,constructor:i,length:0,toArray:function(){return k.call(this)},get:function(n){return null==n?k.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(k.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(i.grep(this,function(n,t){return(t+1)%2}))},odd:function(){return this.pushStack(i.grep(this,function(n,t){return t%2}))},eq:function(n){var i=this.length,t=+n+(n<0?i:0);return this.pushStack(0<=t&&t<i?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:yi,sort:p.sort,splice:p.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("boolean"==typeof n&&(h=n,n=arguments[r]||{},r++),"object"==typeof n||u(n)||(n={}),r===l&&(n=this,r--);r<l;r++)if(null!=(s=arguments[r]))for(f in s)t=s[f],"__proto__"!==f&&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)):void 0!==t&&(n[f]=t));return n};i.extend({expando:"jQuery"+(dr+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isPlainObject:function(n){var t,i;return!(!n||"[object Object]"!==wr.call(n))&&(!(t=yr(n))||"function"==typeof(i=ui.call(t,"constructor")&&t.constructor)&&br.call(i)===ee)},isEmptyObject:function(n){var t;for(t in n)return!1;return!0},globalEval:function(n,t,i){kr(n,{nonce:t&&t.nonce},i)},each:function(n,t){var r,i=0;if(pi(n)){for(r=n.length;i<r;i++)if(!1===t.call(n[i],i,n[i]))break}else for(i in n)if(!1===t.call(n[i],i,n[i]))break;return n},makeArray:function(n,t){var r=t||[];return null!=n&&(pi(Object(n))?i.merge(r,"string"==typeof n?[n]:n):yi.call(r,n)),r},inArray:function(n,t,i){return null==t?-1:ii.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=[],r=0,f=n.length,e=!i;r<f;r++)!t(n[r],r)!==e&&u.push(n[r]);return u},map:function(n,t,i){var e,u,r=0,f=[];if(pi(n))for(e=n.length;r<e;r++)null!=(u=t(n[r],r,i))&&f.push(u);else for(r in n)null!=(u=t(n[r],r,i))&&f.push(u);return pr(f)},guid:1,support:e});"function"==typeof Symbol&&(i.fn[Symbol.iterator]=p[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){ri["[object "+t+"]"]=t.toLowerCase()});d=function(n){function u(n,t,r,u){var s,y,c,l,p,w,d,v=t&&t.ownerDocument,a=t?t.nodeType:9;if(r=r||[],"string"!=typeof n||!n||1!==a&&9!==a&&11!==a)return r;if(!u&&(b(t),t=t||i,h)){if(11!==a&&(p=ar.exec(n)))if(s=p[1]){if(9===a){if(!(c=t.getElementById(s)))return r;if(c.id===s)return r.push(c),r}else if(v&&(c=v.getElementById(s))&&et(t,c)&&c.id===s)return r.push(c),r}else{if(p[2])return k.apply(r,t.getElementsByTagName(n)),r;if((s=p[3])&&f.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(s)),r}if(f.qsa&&!lt[n+" "]&&(!o||!o.test(n))&&(1!==a||"object"!==t.nodeName.toLowerCase())){if(d=n,v=t,1===a&&(er.test(n)||yi.test(n))){for((v=ti.test(n)&&ri(t.parentNode)||t)===t&&f.scope||((l=t.getAttribute("id"))?l=l.replace(pi,wi):t.setAttribute("id",l=e)),y=(w=ft(n)).length;y--;)w[y]=(l?"#"+l:":scope")+" "+pt(w[y]);d=w.join(",")}try{return k.apply(r,v.querySelectorAll(d)),r}catch(t){lt(n,!0)}finally{l===e&&t.removeAttribute("id")}}}return si(n.replace(at,"$1"),t,r,u)}function yt(){var n=[];return function i(r,u){return n.push(r+" ")>t.cacheLength&&delete i[n.shift()],i[r+" "]=u}}function l(n){return n[e]=!0,n}function a(n){var t=i.createElement("fieldset");try{return!!n(t)}catch(n){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 ki(n,t){var i=t&&n,r=i&&1===n.nodeType&&1===t.nodeType&&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){return"input"===t.nodeName.toLowerCase()&&t.type===n}}function pr(n){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===n}}function di(n){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"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}}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&&"undefined"!=typeof n.getElementsByTagName&&n}function gi(){}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,f=u||r,o=i&&"parentNode"===f,s=nr++;return t.first?function(t,i,u){while(t=t[r])if(1===t.nodeType||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((1===t.nodeType||o)&&n(t,i,h))return!0}else while(t=t[r])if(1===t.nodeType||o)if(l=(a=t[e]||(t[e]={}))[t.uniqueID]||(a[t.uniqueID]={}),u&&u===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[f])&&c[0]===v&&c[1]===s)return y[2]=c[2];if((l[f]=y)[2]=n(t,i,h))return!0}return!1}}function ui(n){return 1<n.length?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function bt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=null!=t;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,f,o){return r&&!r[e]&&(r=fi(r)),f&&!f[e]&&(f=fi(f,o)),l(function(e,o,s,h){var a,l,v,w=[],p=[],b=o.length,d=e||function(n,t,i){for(var r=0,f=t.length;r<f;r++)u(n,t[r],i);return i}(t||"*",s.nodeType?[s]:s,[]),y=!n||!e&&t?d:bt(d,w,n,s,h),c=i?f||(e?n:b||r)?[]:o:y;if(i&&i(y,c,s,h),r)for(a=bt(c,p),r(a,[],s,h),l=a.length;l--;)(v=a[l])&&(c[p[l]]=!(y[p[l]]=v));if(e){if(f||n){if(f){for(a=[],l=c.length;l--;)(v=c[l])&&a.push(y[l]=v);f(null,c=[],a,h)}for(l=c.length;l--;)(v=c[l])&&-1<(a=f?nt(e,v):w[l])&&(e[a]=!(o[a]=v))}}else c=bt(c===o?c.splice(b,c.length):c),f?f(null,o,c,h):k.apply(o,c)})}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-1<nt(o,n)},c,!0),f=[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])f=[wt(ui(f),u)];else{if((u=t.filter[n[i].type].apply(null,n[i].matches))[e]){for(r=++i;r<s;r++)if(t.relative[n[r].type])break;return fi(1<i&&ui(f),1<i&&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))}f.push(u)}return ui(f)}var rt,f,t,st,oi,ft,kt,si,ht,w,ut,b,i,s,h,o,d,ct,et,e="sizzle"+1*new Date,c=n.document,v=0,nr=0,hi=yt(),ci=yt(),li=yt(),lt=yt(),dt=function(n,t){return n===t&&(ut=!0),0},tr={}.hasOwnProperty,g=[],ir=g.pop,rr=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="(?:\\\\[\\da-fA-F]{1,6}"+r+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",vi="\\["+r+"*("+tt+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+r+"*\\]",ni=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+vi+")*)|.*)\\)|)",ur=new RegExp(r+"+","g"),at=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),fr=new RegExp("^"+r+"*,"+r+"*"),yi=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-fA-F]{1,6}"+r+"?|\\\\([^\\r\\n\\f])","g"),p=function(n,t){var i="0x"+n.slice(1)-65536;return t||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},pi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,wi=function(n,t){return t?"\0"===n?"�":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n},bi=function(){b()},vr=wt(function(n){return!0===n.disabled&&"fieldset"===n.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{k.apply(g=ai.call(c.childNodes),c.childNodes);g[c.childNodes.length].nodeType}catch(rt){k={apply:g.length?function(n,t){rr.apply(n,ai.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}for(rt in f=u.support={},oi=u.isXML=function(n){var i=n&&n.namespaceURI,t=n&&(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&&9===l.nodeType&&l.documentElement&&(s=(i=l).documentElement,h=!oi(i),c!=i&&(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",bi,!1):u.attachEvent&&u.attachEvent("onunload",bi)),f.scope=a(function(n){return s.appendChild(n).appendChild(i.createElement("div")),"undefined"!=typeof n.querySelectorAll&&!n.querySelectorAll(":scope fieldset div").length}),f.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),f.getElementsByTagName=a(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),f.getElementsByClassName=ot.test(i.getElementsByClassName),f.getById=a(function(n){return s.appendChild(n).id=e,!i.getElementsByName||!i.getElementsByName(e).length}),f.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("undefined"!=typeof t.getElementById&&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="undefined"!=typeof n.getAttributeNode&&n.getAttributeNode("id");return i&&i.value===t}},t.find.ID=function(n,t){if("undefined"!=typeof t.getElementById&&h){var r,u,f,i=t.getElementById(n);if(i){if((r=i.getAttributeNode("id"))&&r.value===n)return[i];for(f=t.getElementsByName(n),u=0;i=f[u++];)if((r=i.getAttributeNode("id"))&&r.value===n)return[i]}return[]}}),t.find.TAG=f.getElementsByTagName?function(n,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(n):f.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if("*"===n){while(i=u[f++])1===i.nodeType&&r.push(i);return r}return u},t.find.CLASS=f.getElementsByClassName&&function(n,t){if("undefined"!=typeof t.getElementsByClassName&&h)return t.getElementsByClassName(n)},d=[],o=[],(f.qsa=ot.test(i.querySelectorAll))&&(a(function(n){var t;s.appendChild(n).innerHTML="<a id='"+e+"'><\/a><select id='"+e+"-\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~="+e+"-]").length||o.push("~=");(t=i.createElement("input")).setAttribute("name","");n.appendChild(t);n.querySelectorAll("[name='']").length||o.push("\\["+r+"*name"+r+"*="+r+"*(?:''|\"\")");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+e+"+*").length||o.push(".#.+[+~]");n.querySelectorAll("\\\f");o.push("[\\r\\n\\f]")}),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+"*[*^$|!~]?=");2!==n.querySelectorAll(":enabled").length&&o.push(":enabled",":disabled");s.appendChild(n).disabled=!0;2!==n.querySelectorAll(":disabled").length&&o.push(":enabled",":disabled");n.querySelectorAll("*,:x");o.push(",.*:")})),(f.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&a(function(n){f.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=9===n.nodeType?n.documentElement:n,i=t&&t.parentNode;return n===i||!(!i||1!==i.nodeType||!(r.contains?r.contains(i):n.compareDocumentPosition&&16&n.compareDocumentPosition(i)))}: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||(1&(r=(n.ownerDocument||n)==(t.ownerDocument||t)?n.compareDocumentPosition(t):1)||!f.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:4&r?-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)return n==i?-1:t==i?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;if(o===s)return ki(n,t);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?ki(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(b(n),f.matchesSelector&&h&&!lt[t+" "]&&(!d||!d.test(t))&&(!o||!o.test(t)))try{var r=ct.call(n,t);if(r||f.disconnectedMatch||n.document&&11!==n.document.nodeType)return r}catch(n){lt(t,!0)}return 0<u(t,i,null,[n]).length},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 e=t.attrHandle[r.toLowerCase()],u=e&&tr.call(t.attrHandle,r.toLowerCase())?e(n,r,!h):void 0;return void 0!==u?u:f.attributes||!h?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null},u.escape=function(n){return(n+"").replace(pi,wi)},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=!f.detectDuplicates,w=!f.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(1===t||9===t||11===t){if("string"==typeof n.textContent)return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(3===t||4===t)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(),"nth"===n[1].slice(0,3)?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*("even"===n[3]||"odd"===n[3])),n[5]=+(n[7]+n[8]||"odd"===n[3])):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("string"==typeof n.className&&n.className||"undefined"!=typeof n.getAttribute&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return null==f?"!="===t:!t||(f+="","="===t?f===i:"!="===t?f!==i:"^="===t?i&&0===f.indexOf(i):"*="===t?i&&-1<f.indexOf(i):"$="===t?i&&f.slice(-i.length)===i:"~="===t?-1<(" "+f.replace(ur," ")+" ").indexOf(i):"|="===t&&(f===i||f.slice(0,i.length+1)===i+"-"))}},CHILD:function(n,t,i,r,u){var s="nth"!==n.slice(0,3),o="last"!==n.slice(-4),f="of-type"===t;return 1===r&&0===u?function(n){return!!n.parentNode}:function(t,i,h){var p,d,y,c,a,w,b=s!==o?"nextSibling":"previousSibling",k=t.parentNode,nt=f&&t.nodeName.toLowerCase(),g=!h&&!f,l=!1;if(k){if(s){while(b){for(c=t;c=c[b];)if(f?c.nodeName.toLowerCase()===nt:1===c.nodeType)return!1;w=b="only"===n&&!w&&"nextSibling"}return!0}if(w=[o?k.firstChild:k.lastChild],o&&g){for(l=(a=(p=(d=(y=(c=k)[e]||(c[e]={}))[c.uniqueID]||(y[c.uniqueID]={}))[n]||[])[0]===v&&p[1])&&p[2],c=a&&k.childNodes[a];c=++a&&c&&c[b]||(l=a=0)||w.pop();)if(1===c.nodeType&&++l&&c===t){d[n]=[v,a,l];break}}else if(g&&(l=a=(p=(d=(y=(c=t)[e]||(c[e]={}))[c.uniqueID]||(y[c.uniqueID]={}))[n]||[])[0]===v&&p[1]),!1===l)while(c=++a&&c&&c[b]||(l=a=0)||w.pop())if((f?c.nodeName.toLowerCase()===nt:1===c.nodeType)&&++l&&(g&&((d=(y=c[e]||(c[e]={}))[c.uniqueID]||(y[c.uniqueID]={}))[n]=[v,l]),c===t))break;return(l-=u)===r||l%r==0&&0<=l/r}}},PSEUDO:function(n,i){var f,r=t.pseudos[n]||t.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return r[e]?r(i):1<r.length?(f=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?l(function(n,t){for(var e,u=r(n,i),f=u.length;f--;)n[e=nt(n,u[f])]=!(t[e]=u[f])}):function(n){return r(n,0,f)}):r}},pseudos:{not:l(function(n){var t=[],r=[],i=kt(n.replace(at,"$1"));return i[e]?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 0<u(n,t).length}}),contains:l(function(n){return n=n.replace(y,p),function(t){return-1<(t.textContent||st(t)).indexOf(n)}}),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())===n||0===i.indexOf(n+"-");while((t=t.parentNode)&&1===t.nodeType);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:di(!1),disabled:di(!0),checked:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&!!n.checked||"option"===t&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,!0===n.selected},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"input"===t&&"button"===n.type||"button"===t},text:function(n){var t;return"input"===n.nodeName.toLowerCase()&&"text"===n.type&&(null==(t=n.getAttribute("type"))||"text"===t.toLowerCase())},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:t<i?t:i;0<=--r;)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})}}).pseudos.nth=t.pseudos.eq,{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 gi.prototype=t.filters=t.pseudos,t.setFilters=new gi,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;){for(o in e&&!(f=fr.exec(r))||(f&&(r=r.slice(f[0].length)||r),h.push(s=[])),e=!1,(f=yi.exec(r))&&(e=f.shift(),s.push({value:e,type:f[0].replace(at," ")}),r=r.slice(e.length)),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,r){var s,c,a,o,y,p,w=[],d=[],f=li[n+" "];if(!f){for(r||(r=ft(n)),s=r.length;s--;)(f=ei(r[s]))[e]?w.push(f):d.push(f);(f=li(n,(c=d,o=0<(a=w).length,y=0<c.length,p=function(n,r,f,e,s){var l,nt,d,g=0,p="0",tt=n&&[],w=[],it=ht,rt=n||y&&t.find.TAG("*",s),ut=v+=null==it?1:Math.random()||.1,ft=rt.length;for(s&&(ht=r==i||r||s);p!==ft&&null!=(l=rt[p]);p++){if(y&&l){for(nt=0,r||l.ownerDocument==i||(b(l),f=!h);d=c[nt++];)if(d(l,r||i,f)){e.push(l);break}s&&(v=ut)}o&&((l=!d&&l)&&g--,n&&tt.push(l))}if(g+=p,o&&p!==g){for(nt=0;d=a[nt++];)d(tt,w,r,f);if(n){if(0<g)while(p--)tt[p]||w[p]||(w[p]=ir.call(e));w=bt(w)}k.apply(e,w);s&&!n&&0<w.length&&1<g+a.length&&u.uniqueSort(e)}return s&&(v=ut,ht=it),tt},o?l(p):p))).selector=n}return f},si=u.select=function(n,i,r,u){var o,f,e,l,a,c="function"==typeof n&&n,s=!u&&ft(n=c.selector||n);if(r=r||[],1===s.length){if(2<(f=s[0]=s[0].slice(0)).length&&"ID"===(e=f[0]).type&&9===i.nodeType&&h&&t.relative[f[1].type]){if(!(i=(t.find.ID(e.matches[0].replace(y,p),i)||[])[0]))return r;c&&(i=i.parentNode);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)))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},f.sortStable=e.split("").sort(dt).join("")===e,f.detectDuplicates=!!ut,b(),f.sortDetached=a(function(n){return 1&n.compareDocumentPosition(i.createElement("fieldset"))}),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,"type"===t.toLowerCase()?1:2)}),f.attributes&&a(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),""===n.firstChild.getAttribute("value")})||ii("value",function(n,t,i){if(!i&&"input"===n.nodeName.toLowerCase())return n.defaultValue}),a(function(n){return null==n.getAttribute("disabled")})||ii(gt,function(n,t,i){var r;if(!i)return!0===n[t]?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),u}(n);i.find=d;i.expr=d.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=d.uniqueSort;i.text=d.getText;i.isXMLDoc=d.isXML;i.contains=d.contains;i.escapeSelector=d.escape;var ft=function(n,t,r){for(var u=[],f=void 0!==r;(n=n[t])&&9!==n.nodeType;)if(1===n.nodeType){if(f&&i(n).is(r))break;u.push(n)}return u},gr=function(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i},nu=i.expr.match.needsContext;wi=/^<([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+")"),1===t.length&&1===u.nodeType?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return 1===n.nodeType}))};i.fn.extend({find:function(n){var t,r,u=this.length,f=this;if("string"!=typeof n)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 1<u?i.uniqueSort(r):r},filter:function(n){return this.pushStack(bi(this,n||[],!1))},not:function(n){return this.pushStack(bi(this,n||[],!0))},is:function(n){return!!bi(this,"string"==typeof n&&nu.test(n)?i(n):n||[],!1).length}});iu=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(i.fn.init=function(n,t,r){var e,o;if(!n)return this;if(r=r||tu,"string"==typeof n){if(!(e="<"===n[0]&&">"===n[n.length-1]&&3<=n.length?[null,n,null]:iu.exec(n))||!e[1]&&t)return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n);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)),wi.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]))&&(this[0]=o,this.length=1),this}return n.nodeType?(this[0]=n,this.length=1,this):u(n)?void 0!==r.ready?r.ready(n):n(i):i.makeArray(n,this)}).prototype=i.fn;tu=i(f);ru=/^(?:parents|prev(?:Until|All))/;uu={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="string"!=typeof n&&i(n);if(!nu.test(n))for(;f<o;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?-1<e.index(r):1===r.nodeType&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(1<u.length?i.uniqueSort(u):u)},index:function(n){return n?"string"==typeof n?ii.call(i(n),this[0]):ii.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(null==n?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&11!==t.nodeType?t:null},parents:function(n){return ft(n,"parentNode")},parentsUntil:function(n,t,i){return ft(n,"parentNode",i)},next:function(n){return fu(n,"nextSibling")},prev:function(n){return fu(n,"previousSibling")},nextAll:function(n){return ft(n,"nextSibling")},prevAll:function(n){return ft(n,"previousSibling")},nextUntil:function(n,t,i){return ft(n,"nextSibling",i)},prevUntil:function(n,t,i){return ft(n,"previousSibling",i)},siblings:function(n){return gr((n.parentNode||{}).firstChild,n)},children:function(n){return gr(n.firstChild)},contents:function(n){return null!=n.contentDocument&&yr(n.contentDocument)?n.contentDocument:(c(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"Until"!==n.slice(-5)&&(u=r),u&&"string"==typeof u&&(f=i.filter(u,f)),1<this.length&&(uu[n]||i.uniqueSort(f),ru.test(n)&&f.reverse()),this.pushStack(f)}});l=/[^\x20\t\r\n\f]+/g;i.Callbacks=function(n){var a,h;n="string"==typeof n?(a=n,h={},i.each(a.match(l)||[],function(n,t){h[t]=!0}),h):i.extend({},n);var o,r,v,f,t=[],s=[],e=-1,y=function(){for(f=f||n.once,v=o=!0;s.length;e=-1)for(r=s.shift();++e<t.length;)!1===t[e].apply(r[0],r[1])&&n.stopOnFalse&&(e=t.length,r=!1);n.memory||(r=!1);o=!1;f&&(t=r?[]:"")},c={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&&c.has(r)||t.push(r):r&&r.length&&"string"!==ut(r)&&f(r)})}(arguments),r&&!o&&y()),this},remove:function(){return i.each(arguments,function(n,r){for(var u;-1<(u=i.inArray(r,t,u));)t.splice(u,1),u<=e&&e--}),this},has:function(n){return n?-1<i.inArray(n,t):0<t.length},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=[n,(t=t||[]).slice?t.slice():t],s.push(t),o||y()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!v}};return c};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,l=function(){var n,i;if(!(t<o)){if((n=f.apply(h,c))===r.promise())throw new TypeError("Thenable self-resolution");i=n&&("object"==typeof n||"function"==typeof n)&&n.then;u(i)?e?i.call(n,s(o,r,et,e),s(o,r,fi,e)):(o++,i.call(n,s(o,r,et,e),s(o,r,fi,e),s(o,r,et,r.notifyWith))):(f!==et&&(h=void 0,c=[n]),(e||r.resolveWith)(h,c))}},a=e?l:function(){try{l()}catch(l){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(l,a.stackTrace);o<=t+1&&(f!==fi&&(h=void 0,c=[l]),r.rejectWith(h,c))}};t?a():(i.Deferred.getStackHook&&(a.stackTrace=i.Deferred.getStackHook()),n.setTimeout(a))}}var o=0;return i.Deferred(function(n){f[0][3].add(s(0,n,u(e)?e:et,n.notifyWith));f[1][3].add(s(0,n,u(t)?t:et));f[2][3].add(s(0,n,u(r)?r:fi))}).promise()},promise:function(n){return null!=n?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?void 0: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=k.call(arguments),r=i.Deferred(),s=function(n){return function(t){o[n]=this;f[n]=1<arguments.length?k.call(arguments):t;--e||r.resolveWith(o,f)}};if(e<=1&&(eu(n,r.done(s(t)).resolve,r.reject,!e),"pending"===r.state()||u(f[t]&&f[t].then)))return r.then();while(t--)eu(f[t],s(t),r.reject);return r.promise()}});ou=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(t,i){n.console&&n.console.warn&&t&&ou.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)};i.readyException=function(t){n.setTimeout(function(){throw t;})};ei=i.Deferred();i.fn.ready=function(n){return ei.then(n)["catch"](function(n){i.readyException(n)}),this};i.extend({isReady:!1,readyWait:1,ready:function(n){(!0===n?--i.readyWait:i.isReady)||(i.isReady=!0)!==n&&0<--i.readyWait||ei.resolveWith(f,[i])}});i.ready.then=ei.then;"complete"===f.readyState||"loading"!==f.readyState&&!f.documentElement.doScroll?n.setTimeout(i.ready):(f.addEventListener("DOMContentLoaded",oi),n.addEventListener("load",oi));var w=function(n,t,r,f,e,o,s){var h=0,l=n.length,c=null==r;if("object"===ut(r))for(h in e=!0,r)w(n,t,h,r[h],!0,o,s);else if(void 0!==f&&(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},se=/^-ms-/,he=/-([a-z])/g;ot=function(n){return 1===n.nodeType||9===n.nodeType||!+n.nodeType};bt.uid=1;bt.prototype={cache:function(n){var t=n[this.expando];return t||(t={},ot(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("string"==typeof t)u[y(t)]=i;else for(r in t)u[y(r)]=t[r];return u},get:function(n,t){return void 0===t?this.cache(n):n[this.expando]&&n[this.expando][y(t)]},access:function(n,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(n,t):(this.set(n,t,i),void 0!==i?i:t)},remove:function(n,t){var u,r=n[this.expando];if(void 0!==r){if(void 0!==t)for(u=(t=Array.isArray(t)?t.map(y):(t=y(t))in r?[t]:t.match(l)||[]).length;u--;)delete r[t[u]];(void 0===t||i.isEmptyObject(r))&&(n.nodeType?n[this.expando]=void 0:delete n[this.expando])}},hasData:function(n){var t=n[this.expando];return void 0!==t&&!i.isEmptyObject(t)}};var r=new bt,o=new bt,le=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ae=/[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(void 0===n){if(this.length&&(e=o.get(i),1===i.nodeType&&!r.get(i,"hasDataAttrs"))){for(f=s.length;f--;)s[f]&&0===(u=s[f].name).indexOf("data-")&&(u=y(u.slice(5)),su(i,u,e[u]));r.set(i,"hasDataAttrs",!0)}return e}return"object"==typeof n?this.each(function(){o.set(this,n)}):w(this,function(t){var r;if(i&&void 0===t)return void 0!==(r=o.get(i,n))?r:void 0!==(r=su(i,n))?r:void 0;this.each(function(){o.set(this,n,t)})},null,t,1<arguments.length,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);"inprogress"===u&&(u=r.shift(),e--);u&&("fx"===t&&r.unshift("inprogress"),delete f.stop,u.call(n,function(){i.dequeue(n,t)},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"string"!=typeof n&&(t=n,n="fx",r--),arguments.length<r?i.queue(this[0],n):void 0===t?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);"fx"===n&&"inprogress"!==r[0]&&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("string"!=typeof n&&(t=n,n=void 0),n=n||"fx";s--;)(u=r.get(f[s],n+"queueHooks"))&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var hu=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,kt=new RegExp("^(?:([+-])=|)("+hu+")([a-z%]*)$","i"),b=["Top","Right","Bottom","Left"],g=f.documentElement,st=function(n){return i.contains(n.ownerDocument,n)},ve={composed:!0};g.getRootNode&&(st=function(n){return i.contains(n.ownerDocument,n)||n.getRootNode(ve)===n.ownerDocument});dt=function(n,t){return"none"===(n=t||n).style.display||""===n.style.display&&st(n)&&"none"===i.css(n,"display")};ki={};i.fn.extend({show:function(){return ht(this,!0)},hide:function(){return ht(this)},toggle:function(n){return"boolean"==typeof n?n?this.show():this.hide():this.each(function(){dt(this)?i(this).show():i(this).hide()})}});var nt,si,gt=/^(?:checkbox|radio)$/i,lu=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,au=/^$|^module$|\/(?:java|ecma)script/i;nt=f.createDocumentFragment().appendChild(f.createElement("div"));(si=f.createElement("input")).setAttribute("type","radio");si.setAttribute("checked","checked");si.setAttribute("name","t");nt.appendChild(si);e.checkClone=nt.cloneNode(!0).cloneNode(!0).lastChild.checked;nt.innerHTML="<textarea>x<\/textarea>";e.noCloneChecked=!!nt.cloneNode(!0).lastChild.defaultValue;nt.innerHTML="<option><\/option>";e.option=!!nt.lastChild;h={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,"",""]};h.tbody=h.tfoot=h.colgroup=h.caption=h.thead;h.th=h.td;e.option||(h.optgroup=h.option=[1,"<select multiple='multiple'>","<\/select>"]);vu=/<|&#?\w+;/;gi=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,u,f,e){var p,a,k,v,w,h,s,c,o,b,d,y=r.get(n);if(ot(n))for(u.handler&&(u=(p=u).handler,e=p.selector),e&&i.find.matchesSelector(g,e),u.guid||(u.guid=i.guid++),(v=y.events)||(v=y.events=Object.create(null)),(a=y.handle)||(a=y.handle=function(t){if("undefined"!=typeof i&&i.event.triggered!==t.type)return i.event.dispatch.apply(n,arguments)}),w=(t=(t||"").match(l)||[""]).length;w--;)o=d=(k=gi.exec(t[w])||[])[1],b=(k[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:b.join(".")},p),(c=v[o])||((c=v[o]=[]).delegateCount=0,s.setup&&!1!==s.setup.call(n,f,b,a)||n.addEventListener&&n.addEventListener(o,a)),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,c,v,p,s,h,a,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(v=w.events)){for(p=(t=(t||"").match(l)||[""]).length;p--;)if(o=d=(c=gi.exec(t[p])||[])[1],b=(c[2]||"").split(".").sort(),o){for(h=i.event.special[o]||{},a=v[o=(f?h.delegateType:h.bindType)||o]||[],c=c[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=y=a.length;y--;)s=a[y],!e&&d!==s.origType||u&&u.guid!==s.guid||c&&!c.test(s.namespace)||f&&f!==s.selector&&("**"!==f||!s.selector)||(a.splice(y,1),s.selector&&a.delegateCount--,h.remove&&h.remove.call(n,s));k&&!a.length&&(h.teardown&&!1!==h.teardown.call(n,b,w.handle)||i.removeEvent(n,o,w.handle),delete v[o])}else for(o in v)i.event.remove(n,o+t[p],u,f,!0);i.isEmptyObject(v)&&r.remove(n,"handle events")}},dispatch:function(n){var u,h,c,e,f,l,s=new Array(arguments.length),t=i.event.fix(n),a=(r.get(this,"events")||Object.create(null))[t.type]||[],o=i.event.special[t.type]||{};for(s[0]=t,u=1;u<arguments.length;u++)s[u]=arguments[u];if(t.delegateTarget=this,!o.preDispatch||!1!==o.preDispatch.call(this,t)){for(l=i.event.handlers.call(this,t,a),u=0;(e=l[u++])&&!t.isPropagationStopped();)for(t.currentTarget=e.elem,h=0;(f=e.handlers[h++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!1!==f.namespace&&!t.rnamespace.test(f.namespace)||(t.handleObj=f,t.data=f.data,void 0!==(c=((i.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,s))&&!1===(t.result=c)&&(t.preventDefault(),t.stopPropagation()));return o.postDispatch&&o.postDispatch.call(this,t),t.result}},handlers:function(n,t){var f,h,u,e,o,c=[],s=t.delegateCount,r=n.target;if(s&&r.nodeType&&!("click"===n.type&&1<=n.button))for(;r!==this;r=r.parentNode||this)if(1===r.nodeType&&("click"!==n.type||!0!==r.disabled)){for(e=[],o={},f=0;f<s;f++)void 0===o[u=(h=t[f]).selector+" "]&&(o[u]=h.needsContext?-1<i(u,this).index(r):i.find(u,this,null,[r]).length),o[u]&&e.push(h);e.length&&c.push({elem:r,handlers:e})}return r=this,s<t.length&&c.push({elem:r,handlers:t.slice(s)}),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 gt.test(t.type)&&t.click&&c(t,"input")&&hi(t,"click",ct),!1},trigger:function(n){var t=this||n;return gt.test(t.type)&&t.click&&c(t,"input")&&hi(t,"click"),!0},_default:function(n){var t=n.target;return gt.test(t.type)&&t.click&&c(t,"input")&&r.get(t,"click")||c(t,"a")}},beforeunload:{postDispatch:function(n){void 0!==n.result&&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||void 0===n.defaultPrevented&&!1===n.returnValue?ct:lt,this.target=n.target&&3===n.target.nodeType?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:lt,isPropagationStopped:lt,isImmediatePropagationStopped:lt,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=ct;n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=ct;n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=ct;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:!0},i.event.addProp);i.each({focus:"focusin",blur:"focusout"},function(n,t){i.event.special[n]={setup:function(){return hi(this,n,ye),!1},trigger:function(){return hi(this,n),!0},_default:function(){return!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,r=n.relatedTarget,f=n.handleObj;return r&&(r===this||i.contains(this,r))||(n.type=f.origType,u=f.handler.apply(this,arguments),n.type=t),u}}});i.fn.extend({on:function(n,t,i,r){return nr(this,n,t,i,r)},one:function(n,t,i,r){return nr(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("object"==typeof n){for(f in n)this.off(f,t,n[f]);return this}return!1!==t&&"function"!=typeof t||(r=t,t=void 0),!1===r&&(r=lt),this.each(function(){i.event.remove(this,n,r,t)})}});var pe=/<script|<style|<link/i,we=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;i.extend({htmlPrefilter:function(n){return n},clone:function(n,t,r){var u,c,o,f,l,a,v,h=n.cloneNode(!0),y=st(n);if(!(e.noCloneChecked||1!==n.nodeType&&11!==n.nodeType||i.isXMLDoc(n)))for(f=s(h),u=0,c=(o=s(n)).length;u<c;u++)l=o[u],a=f[u],void 0,"input"===(v=a.nodeName.toLowerCase())&&gt.test(l.type)?a.checked=l.checked:"input"!==v&&"textarea"!==v||(a.defaultValue=l.defaultValue);if(t)if(r)for(o=o||s(n),f=f||s(h),u=0,c=o.length;u<c;u++)wu(o[u],f[u]);else wu(n,h);return 0<(f=s(h,"script")).length&&di(f,!y&&s(n,"script")),h},cleanData:function(n){for(var u,t,f,s=i.event.special,e=0;void 0!==(t=n[e]);e++)if(ot(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]=void 0}t[o.expando]&&(t[o.expando]=void 0)}}});i.fn.extend({detach:function(n){return bu(this,n,!0)},remove:function(n){return bu(this,n)},text:function(n){return w(this,function(n){return void 0===n?i.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=n)})},null,n,arguments.length)},append:function(){return at(this,arguments,function(n){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||pu(this,n).appendChild(n)})},prepend:function(){return at(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=pu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return at(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return at(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;null!=(n=this[t]);t++)1===n.nodeType&&(i.cleanData(s(n,!1)),n.textContent="");return this},clone:function(n,t){return n=null!=n&&n,t=null==t?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return w(this,function(n){var t=this[0]||{},r=0,u=this.length;if(void 0===n&&1===t.nodeType)return t.innerHTML;if("string"==typeof n&&!pe.test(n)&&!h[(lu.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;r<u;r++)1===(t=this[r]||{}).nodeType&&(i.cleanData(s(t,!1)),t.innerHTML=n);t=0}catch(n){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return at(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),yi.apply(f,u.get());return this.pushStack(f)}});var tr=new RegExp("^("+hu+")(?!px)[a-z%]+$","i"),ci=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)},ku=function(n,t,i){var u,r,f={};for(r in t)f[r]=n.style[r],n.style[r]=t[r];for(r in u=i.call(n),t)n.style[r]=f[r];return u},ge=new RegExp(b.join("|"),"i");!function(){function r(){if(t){s.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%";g.appendChild(s).appendChild(t);var i=n.getComputedStyle(t);h="1%"!==i.top;v=12===u(i.marginLeft);t.style.right="60%";a=36===u(i.right);c=36===u(i.width);t.style.position="absolute";l=12===u(t.offsetWidth/3);g.removeChild(s);t=null}}function u(n){return Math.round(parseFloat(n))}var h,c,l,a,o,v,s=f.createElement("div"),t=f.createElement("div");t.style&&(t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle="content-box"===t.style.backgroundClip,i.extend(e,{boxSizingReliable:function(){return r(),c},pixelBoxStyles:function(){return r(),a},pixelPosition:function(){return r(),h},reliableMarginLeft:function(){return r(),v},scrollboxSize:function(){return r(),l},reliableTrDimensions:function(){var i,t,r,u;return null==o&&(i=f.createElement("table"),t=f.createElement("tr"),r=f.createElement("div"),i.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",r.style.height="9px",r.style.display="block",g.appendChild(i).appendChild(t).appendChild(r),u=n.getComputedStyle(t),o=parseInt(u.height,10)+parseInt(u.borderTopWidth,10)+parseInt(u.borderBottomWidth,10)===t.offsetHeight,g.removeChild(i)),o}}))}();var gu=["Webkit","Moz","ms"],nf=f.createElement("div").style,tf={};var no=/^(none|table(?!-c[ea]).+)/,rf=/^--/,to={position:"absolute",visibility:"hidden",display:"block"},uf={letterSpacing:"0",fontWeight:"400"};i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=ni(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&&3!==n.nodeType&&8!==n.nodeType&&n.style){var f,h,o,c=y(t),l=rf.test(t),s=n.style;if(l||(t=ir(c)),o=i.cssHooks[t]||i.cssHooks[c],void 0===r)return o&&"get"in o&&void 0!==(f=o.get(n,!1,u))?f:s[t];"string"==(h=typeof r)&&(f=kt.exec(r))&&f[1]&&(r=cu(n,t,f),h="number");null!=r&&r==r&&("number"!==h||l||(r+=f&&f[3]||(i.cssNumber[c]?"":"px")),e.clearCloneStyle||""!==r||0!==t.indexOf("background")||(s[t]="inherit"),o&&"set"in o&&void 0===(r=o.set(n,r,u))||(l?s.setProperty(t,r):s[t]=r))}},css:function(n,t,r,u){var f,e,o,s=y(t);return rf.test(t)||(t=ir(s)),(o=i.cssHooks[t]||i.cssHooks[s])&&"get"in o&&(f=o.get(n,!0,r)),void 0===f&&(f=ni(n,t,u)),"normal"===f&&t in uf&&(f=uf[t]),""===r||r?(e=parseFloat(f),!0===r||isFinite(e)?e||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return!no.test(i.css(n,"display"))||n.getClientRects().length&&n.getBoundingClientRect().width?ef(n,t,u):ku(n,to,function(){return ef(n,t,u)})},set:function(n,r,u){var s,f=ci(n),h=!e.scrollboxSize()&&"absolute"===f.position,c=(h||u)&&"border-box"===i.css(n,"boxSizing",!1,f),o=u?rr(n,t,u,c,f):0;return c&&h&&(o-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(f[t])-rr(n,t,"border",!1,f)-.5)),o&&(s=kt.exec(r))&&"px"!==(s[3]||"px")&&(n.style[t]=r,r=i.css(n,t)),ff(0,r,o)}}});i.cssHooks.marginLeft=du(e.reliableMarginLeft,function(n,t){if(t)return(parseFloat(ni(n,"marginLeft"))||n.getBoundingClientRect().left-ku(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="string"==typeof i?i.split(" "):[i];r<4;r++)f[n+b[r]+t]=u[r]||u[r-2]||u[0];return f}};"margin"!==n&&(i.cssHooks[n+t].set=ff)});i.fn.extend({css:function(n,t){return w(this,function(n,t,r){var f,e,o={},u=0;if(Array.isArray(t)){for(f=ci(n),e=t.length;u<e;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return void 0!==r?i.style(n,t,r):i.css(n,t)},n,t,1<arguments.length)}});((i.Tween=a).prototype={constructor:a,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=a.propHooks[this.prop];return n&&n.get?n.get(this):a.propHooks._default.get(this)},run:function(n){var t,r=a.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):a.propHooks._default.set(this),this}}).init.prototype=a.prototype;(a.propHooks={_default:{get:function(n){var t;return 1!==n.elem.nodeType||null!=n.elem[n.prop]&&null==n.elem.style[n.prop]?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""))&&"auto"!==t?t:0},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):1!==n.elem.nodeType||!i.cssHooks[n.prop]&&null==n.elem.style[ir(n.prop)]?n.elem[n.prop]=n.now:i.style(n.elem,n.prop,n.now+n.unit)}}}).scrollTop=a.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=a.prototype.init;i.fx.step={};sf=/^(?:toggle|show|hide)$/;hf=/queueHooks$/;i.Animation=i.extend(v,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return cu(i.elem,n,kt.exec(t),i),i}]},tweener:function(n,t){u(n)?(t=n,n=["*"]):n=n.match(l);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:[function(n,t,u){var f,y,w,c,b,h,o,l,k="width"in t||"height"in t,v=this,p={},s=n.style,a=n.nodeType&&dt(n),e=r.get(n,"fxshow");for(f in u.queue||(null==(c=i._queueHooks(n,"fx")).unqueued&&(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()})})),t)if(y=t[f],sf.test(y)){if(delete t[f],w=w||"toggle"===y,y===(a?"hide":"show")){if("show"!==y||!e||void 0===e[f])continue;a=!0}p[f]=e&&e[f]||i.style(n,f)}if((h=!i.isEmptyObject(t))||!i.isEmptyObject(p))for(f in k&&1===n.nodeType&&(u.overflow=[s.overflow,s.overflowX,s.overflowY],null==(o=e&&e.display)&&(o=r.get(n,"display")),"none"===(l=i.css(n,"display"))&&(o?l=o:(ht([n],!0),o=n.style.display||o,l=i.css(n,"display"),ht([n]))),("inline"===l||"inline-block"===l&&null!=o)&&"none"===i.css(n,"float")&&(h||(v.done(function(){s.display=o}),null==o&&(l=s.display,o="none"===l?"":l)),s.display="inline-block")),u.overflow&&(s.overflow="hidden",v.always(function(){s.overflow=u.overflow[0];s.overflowX=u.overflow[1];s.overflowY=u.overflow[2]})),h=!1,p)h||(e?"hidden"in e&&(a=e.hidden):e=r.access(n,"fxshow",{display:o}),w&&(e.hidden=!a),a&&ht([n],!0),v.done(function(){for(f in a||ht([n]),r.remove(n,"fxshow"),p)i.style(n,f,p[f])})),h=lf(a?e[f]:0,f,v),f in e||(e[f]=h.start,a&&(h.end=h.start,h.start=0))}],prefilter:function(n,t){t?v.prefilters.unshift(n):v.prefilters.push(n)}});i.speed=function(n,t,r){var f=n&&"object"==typeof n?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:"number"!=typeof f.duration&&(f.duration=f.duration in i.fx.speeds?i.fx.speeds[f.duration]:i.fx.speeds._default),null!=f.queue&&!0!==f.queue||(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(dt).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||!1===o.queue?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"string"!=typeof n&&(u=t,t=n,n=void 0),t&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=null!=n&&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&&hf.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem!==this||null!=n&&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!1!==n&&(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 null==n||"boolean"==typeof n?r.apply(this,arguments):this.animate(ai(t,!0),n,i,u)}});i.each({slideDown:ai("show"),slideUp:ai("hide"),slideToggle:ai("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(vt=Date.now();n<t.length;n++)(r=t[n])()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();vt=void 0};i.fx.timer=function(n){i.timers.push(n);i.fx.start()};i.fx.interval=13;i.fx.start=function(){li||(li=!0,ur())};i.fx.stop=function(){li=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,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})};yt=f.createElement("input");of=f.createElement("select").appendChild(f.createElement("option"));yt.type="checkbox";e.checkOn=""!==yt.value;e.optSelected=of.selected;(yt=f.createElement("input")).value="t";yt.type="radio";e.radioValue="t"===yt.value;pt=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return w(this,i.attr,n,t,1<arguments.length)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var f,u,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return"undefined"==typeof n.getAttribute?i.prop(n,t,r):(1===e&&i.isXMLDoc(n)||(u=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?af:void 0)),void 0!==r?null===r?void i.removeAttr(n,t):u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:(n.setAttribute(t,r+""),r):u&&"get"in u&&null!==(f=u.get(n,t))?f:null==(f=i.find.attr(n,t))?void 0:f)},attrHooks:{type:{set:function(n,t){if(!e.radioValue&&"radio"===t&&c(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(l);if(r&&1===n.nodeType)while(i=r[u++])n.removeAttribute(i)}});af={set:function(n,t,r){return!1===t?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=pt[t]||i.find.attr;pt[t]=function(n,t,i){var f,e,u=t.toLowerCase();return i||(e=pt[u],pt[u]=f,f=null!=r(n,t,i)?u:null,pt[u]=e),f}});vf=/^(?:input|select|textarea|button)$/i;yf=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return w(this,i.prop,n,t,1<arguments.length)},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(3!==e&&8!==e&&2!==e)return 1===e&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),void 0!==r?u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:n[t]=r:u&&"get"in u&&null!==(f=u.get(n,t))?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):vf.test(n.nodeName)||yf.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 o,t,r,f,e,s,h,c=0;if(u(n))return this.each(function(t){i(this).addClass(n.call(this,t,it(this)))});if((o=fr(n)).length)while(t=this[c++])if(f=it(t),r=1===t.nodeType&&" "+tt(f)+" "){for(s=0;e=o[s++];)r.indexOf(" "+e+" ")<0&&(r+=e+" ");f!==(h=tt(r))&&t.setAttribute("class",h)}return this},removeClass:function(n){var o,r,t,f,e,s,h,c=0;if(u(n))return this.each(function(t){i(this).removeClass(n.call(this,t,it(this)))});if(!arguments.length)return this.attr("class","");if((o=fr(n)).length)while(r=this[c++])if(f=it(r),t=1===r.nodeType&&" "+tt(f)+" "){for(s=0;e=o[s++];)while(-1<t.indexOf(" "+e+" "))t=t.replace(" "+e+" "," ");f!==(h=tt(t))&&r.setAttribute("class",h)}return this},toggleClass:function(n,t){var f=typeof n,e="string"===f||Array.isArray(n);return"boolean"==typeof t&&e?t?this.addClass(n):this.removeClass(n):u(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,it(this),t),t)}):this.each(function(){var t,o,u,s;if(e)for(o=0,u=i(this),s=fr(n);t=s[o++];)u.hasClass(t)?u.removeClass(t):u.addClass(t);else void 0!==n&&"boolean"!==f||((t=it(this))&&r.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===n?"":r.get(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(1===t.nodeType&&-1<(" "+tt(it(t))+" ").indexOf(i))return!0;return!1}});pf=/\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;1===this.nodeType&&(null==(u=e?n.call(this,r,i(this).val()):n)?u="":"number"==typeof u?u+="":Array.isArray(u)&&(u=i.map(u,function(n){return null==n?"":n+""})),(t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,u,"value")||(this.value=u))})):f?(t=i.valHooks[f.type]||i.valHooks[f.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(f,"value"))?r:"string"==typeof(r=f.value)?r.replace(pf,""):null==r?"":r:void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return null!=t?t:tt(i.text(n))}},select:{get:function(n){for(var e,t,o=n.options,u=n.selectedIndex,f="select-one"===n.type,s=f?null:[],h=f?u+1:o.length,r=u<0?h:f?u:0;r<h;r++)if(((t=o[r]).selected||r===u)&&!t.disabled&&(!t.parentNode.disabled||!c(t.parentNode,"optgroup"))){if(e=i(t).val(),f)return e;s.push(e)}return s},set:function(n,t){for(var r,u,f=n.options,e=i.makeArray(t),o=f.length;o--;)((u=f[o]).selected=-1<i.inArray(i.valHooks.option.get(u),e))&&(r=!0);return r||(n.selectedIndex=-1),e}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(Array.isArray(t))return n.checked=-1<i.inArray(i(n).val(),t)}};e.checkOn||(i.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})});e.focusin="onfocusin"in n;er=/^(?:focusinfocus|focusoutblur)$/;or=function(n){n.stopPropagation()};i.extend(i.event,{trigger:function(t,e,o,s){var k,c,l,d,v,y,a,p,w=[o||f],h=ui.call(t,"type")?t.type:t,b=ui.call(t,"namespace")?t.namespace.split("."):[];if(c=p=l=o=o||f,3!==o.nodeType&&8!==o.nodeType&&!er.test(h+i.event.triggered)&&(-1<h.indexOf(".")&&(h=(b=h.split(".")).shift(),b.sort()),v=h.indexOf(":")<0&&"on"+h,(t=t[i.expando]?t:new i.Event(h,"object"==typeof t&&t)).isTrigger=s?2:3,t.namespace=b.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=o),e=null==e?[t]:i.makeArray(e,[t]),a=i.event.special[h]||{},s||!a.trigger||!1!==a.trigger.apply(o,e))){if(!s&&!a.noBubble&&!rt(o)){for(d=a.delegateType||h,er.test(d+h)||(c=c.parentNode);c;c=c.parentNode)w.push(c),l=c;l===(o.ownerDocument||f)&&w.push(l.defaultView||l.parentWindow||n)}for(k=0;(c=w[k++])&&!t.isPropagationStopped();)p=c,t.type=1<k?d:a.bindType||h,(y=(r.get(c,"events")||Object.create(null))[t.type]&&r.get(c,"handle"))&&y.apply(c,e),(y=v&&c[v])&&y.apply&&ot(c)&&(t.result=y.apply(c,e),!1===t.result&&t.preventDefault());return t.type=h,s||t.isDefaultPrevented()||a._default&&!1!==a._default.apply(w.pop(),e)||!ot(o)||v&&u(o[h])&&!rt(o)&&((l=o[v])&&(o[v]=null),i.event.triggered=h,t.isPropagationStopped()&&p.addEventListener(h,or),o[h](),t.isPropagationStopped()&&p.removeEventListener(h,or),i.event.triggered=void 0,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.document||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.document||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});var ti=n.location,wf={guid:Date.now()},sr=/\?/;i.parseXML=function(t){var r,u;if(!t||"string"!=typeof t)return null;try{r=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){}return u=r&&r.getElementsByTagName("parsererror")[0],r&&!u||i.error("Invalid XML: "+(u?i.map(u.childNodes,function(n){return n.textContent}).join("\n"):t)),r};var io=/\[\]$/,bf=/\r?\n/g,ro=/^(?:submit|button|image|reset|file)$/i,uo=/^(?: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(null==i?"":i)};if(null==n)return"";if(Array.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(r in n)hr(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")&&uo.test(this.nodeName)&&!ro.test(n)&&(this.checked||!gt.test(n))}).map(function(n,t){var r=i(this).val();return null==r?null:Array.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(bf,"\r\n")}}):{name:t.name,value:r.replace(bf,"\r\n")}}).get()}});var fo=/%20/g,eo=/#.*$/,oo=/([?&])_=[^&]*/,so=/^(.*?):[ \t]*([^\r\n]*)$/gm,ho=/^(?:GET|HEAD)$/,co=/^\/\//,kf={},cr={},df="*/".concat("*"),lr=f.createElement("a");return lr.href=ti.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ti.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ti.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":df,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?ar(ar(n,i.ajaxSettings),t):ar(i.ajaxSettings,n)},ajaxPrefilter:gf(kf),ajaxTransport:gf(cr),ajax:function(t,r){function b(t,r,f,c){var v,rt,b,p,g,l=r;s||(s=!0,d&&n.clearTimeout(d),a=void 0,k=c||"",e.readyState=0<t?4:0,v=200<=t&&t<300||304===t,f&&(p=function(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;"*"===r[0];)r.shift(),void 0===e&&(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]}(u,e,f)),!v&&-1<i.inArray("script",u.dataTypes)&&i.inArray("json",u.dataTypes)<0&&(u.converters["text script"]=function(){}),p=function(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())if("*"===u)u=e;else if("*"!==e&&e!==u){if(!(f=o[e+" "+u]||o["* "+u]))for(h in o)if((s=h.split(" "))[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]])){!0===f?f=o[h]:!0!==o[h]&&(u=s[0],c.unshift(s[1]));break}if(!0!==f)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(n){return{state:"parsererror",error:f?n:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}(u,p,e,v),v?(u.ifModified&&((g=e.getResponseHeader("Last-Modified"))&&(i.lastModified[o]=g),(g=e.getResponseHeader("etag"))&&(i.etag[o]=g)),204===t||"HEAD"===u.type?l="nocontent":304===t?l="notmodified":(l=p.state,rt=p.data,v=!(b=p.error))):(b=l,!t&&l||(l="error",t<0&&(t=0))),e.status=t,e.statusText=(r||l)+"",v?tt.resolveWith(h,[rt,l,e]):tt.rejectWith(h,[e,l,b]),e.statusCode(w),w=void 0,y&&nt.trigger(v?"ajaxSuccess":"ajaxError",[e,u,v?rt:b]),it.fireWith(h,[e,l]),y&&(nt.trigger("ajaxComplete",[e,u]),--i.active||i.event.trigger("ajaxStop")))}"object"==typeof t&&(r=t,t=void 0);r=r||{};var a,o,k,v,d,c,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=so.exec(k);)v[t[1].toLowerCase()+" "]=(v[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=v[n.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return s?k:null},setRequestHeader:function(n,t){return null==s&&(n=ut[n.toLowerCase()]=ut[n.toLowerCase()]||n,rt[n]=t),this},overrideMimeType:function(n){return null==s&&(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 a&&a.abort(t),b(0,t),this}};if(tt.promise(e),u.url=((t||u.url||ti.href)+"").replace(co,ti.protocol+"//"),u.type=r.method||r.type||u.method||u.type,u.dataTypes=(u.dataType||"*").toLowerCase().match(l)||[""],null==u.crossDomain){c=f.createElement("a");try{c.href=u.url;c.href=c.href;u.crossDomain=lr.protocol+"//"+lr.host!=c.protocol+"//"+c.host}catch(t){u.crossDomain=!0}}if(u.data&&u.processData&&"string"!=typeof u.data&&(u.data=i.param(u.data,u.traditional)),ne(kf,u,r,e),s)return e;for(g in(y=i.event&&u.global)&&0==i.active++&&i.event.trigger("ajaxStart"),u.type=u.type.toUpperCase(),u.hasContent=!ho.test(u.type),o=u.url.replace(eo,""),u.hasContent?u.data&&u.processData&&0===(u.contentType||"").indexOf("application/x-www-form-urlencoded")&&(u.data=u.data.replace(fo,"+")):(p=u.url.slice(o.length),u.data&&(u.processData||"string"==typeof u.data)&&(o+=(sr.test(o)?"&":"?")+u.data,delete u.data),!1===u.cache&&(o=o.replace(oo,"$1"),p=(sr.test(o)?"&":"?")+"_="+wf.guid+++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&&!1!==u.contentType||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]?", "+df+"; q=0.01":""):u.accepts["*"]),u.headers)e.setRequestHeader(g,u.headers[g]);if(u.beforeSend&&(!1===u.beforeSend.call(h,e,u)||s))return e.abort();if(ft="abort",it.add(u.complete),e.done(u.success),e.fail(u.error),a=ne(cr,u,r,e)){if(e.readyState=1,y&&nt.trigger("ajaxSend",[e,u]),s)return e;u.async&&0<u.timeout&&(d=n.setTimeout(function(){e.abort("timeout")},u.timeout));try{s=!1;a.send(rt,b)}catch(t){if(s)throw t;b(-1,t)}}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,void 0,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=void 0),i.ajax(i.extend({url:n,type:t,dataType:e,data:r,success:f},i.isPlainObject(n)&&n))}}),i.ajaxPrefilter(function(n){var t;for(t in n.headers)"content-type"===t.toLowerCase()&&(n.contentType=n.headers[t]||"")}),i._evalUrl=function(n,t,r){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,r)}})},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){}},te={0:200,1223:204},wt=i.ajaxSettings.xhr(),e.cors=!!wt&&"withCredentials"in wt,e.ajax=wt=!!wt,i.ajaxTransport(function(t){var i,r;if(e.cors||wt&&!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];for(o in t.mimeType&&e.overrideMimeType&&e.overrideMimeType(t.mimeType),t.crossDomain||u["X-Requested-With"]||(u["X-Requested-With"]="XMLHttpRequest"),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,"abort"===n?e.abort():"error"===n?"number"!=typeof e.status?f(0,"error"):f(e.status,e.statusText):f(te[e.status]||e.status,e.statusText,"text"!==(e.responseType||"text")||"string"!=typeof e.responseText?{binary:e.response}:{text:e.responseText},e.getAllResponseHeaders()))}};e.onload=i();r=e.onerror=e.ontimeout=i("error");void 0!==e.onabort?e.onabort=r:e.onreadystatechange=function(){4===e.readyState&&n.setTimeout(function(){i&&r()})};i=i("abort");try{e.send(t.hasContent&&t.data||null)}catch(u){if(i)throw u;}},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){void 0===n.cache&&(n.cache=!1);n.crossDomain&&(n.type="GET")}),i.ajaxTransport("script",function(n){var r,t;if(n.crossDomain||n.scriptAttrs)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("error"===n.type?404:200,n.type)});f.head.appendChild(r[0])},abort:function(){t&&t()}}}),vr=[],vi=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=vr.pop()||i.expando+"_"+wf.guid++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,f){var e,o,s,h=!1!==t.jsonp&&(vi.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&vi.test(t.data)&&"data");if(h||"jsonp"===t.dataTypes[0])return e=t.jsonpCallback=u(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,h?t[h]=t[h].replace(vi,"$1"+e):!1!==t.jsonp&&(t.url+=(sr.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(){void 0===o?i(n).removeProp(e):n[e]=o;t[e]&&(t.jsonpCallback=r.jsonpCallback,vr.push(e));s&&u(o)&&o(s[0]);s=o=void 0}),"script"}),e.createHTMLDocument=((ie=f.implementation.createHTMLDocument("").body).innerHTML="<form><\/form><form><\/form>",2===ie.childNodes.length),i.parseHTML=function(n,t,r){return"string"!=typeof n?[]:("boolean"==typeof t&&(r=t,t=!1),t||(e.createHTMLDocument?((s=(t=f.implementation.createHTMLDocument("")).createElement("base")).href=f.location.href,t.head.appendChild(s)):t=f),u=!r&&[],(o=wi.exec(n))?[t.createElement(o[1])]:(o=yu([n],t,u),u&&u.length&&i(u).remove(),i.merge([],o.childNodes)));var s,o,u},i.fn.load=function(n,t,r){var f,s,h,e=this,o=n.indexOf(" ");return-1<o&&(f=tt(n.slice(o)),n=n.slice(0,o)),u(t)?(r=t,t=void 0):t&&"object"==typeof t&&(s="POST"),0<e.length&&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.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 v,o,s,h,f,c,l=i.css(n,"position"),a=i(n),e={};"static"===l&&(n.style.position="relative");f=a.offset();s=i.css(n,"top");c=i.css(n,"left");("absolute"===l||"fixed"===l)&&-1<(s+c).indexOf("auto")?(h=(v=a.position()).top,o=v.left):(h=parseFloat(s)||0,o=parseFloat(c)||0);u(t)&&(t=t.call(n,r,i.extend({},f)));null!=t.top&&(e.top=t.top-f.top+h);null!=t.left&&(e.left=t.left-f.left+o);"using"in t?t.using.call(n,e):a.css(e)}},i.fn.extend({offset:function(n){if(arguments.length)return void 0===n?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,r,u,t=this[0],f={top:0,left:0};if("fixed"===i.css(t,"position"))r=t.getBoundingClientRect();else{for(r=this.offset(),u=t.ownerDocument,n=t.offsetParent||u.documentElement;n&&(n===u.body||n===u.documentElement)&&"static"===i.css(n,"position");)n=n.parentNode;n&&n!==t&&1===n.nodeType&&((f=i(n).offset()).top+=i.css(n,"borderTopWidth",!0),f.left+=i.css(n,"borderLeftWidth",!0))}return{top:r.top-f.top-i.css(t,"marginTop",!0),left:r.left-f.left-i.css(t,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&"static"===i.css(n,"position");)n=n.offsetParent;return n||g})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(i){return w(this,function(n,i,u){var f;if(rt(n)?f=n:9===n.nodeType&&(f=n.defaultView),void 0===u)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]=du(e.pixelPosition,function(n,r){if(r)return r=ni(n,t),tr.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||"boolean"!=typeof f),s=r||(!0===f||!0===e?"margin":"border");return w(this,function(t,r,f){var e;return rt(t)?0===u.indexOf("outer")?t["inner"+n]:t.document.documentElement["client"+n]:9===t.nodeType?(e=t.documentElement,Math.max(t.body["scroll"+n],e["scroll"+n],t.body["offset"+n],e["offset"+n],e["client"+n])):void 0===f?i.css(t,r,s):i.style(t,r,f,s)},t,o?f:void 0,o)}})}),i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(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 1===arguments.length?this.off(n,"**"):this.off(t,n||"**",i)},hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}}),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 0<arguments.length?this.on(t,null,n,i):this.trigger(t)}}),re=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,i.proxy=function(n,t){var r,f,e;if("string"==typeof t&&(r=n[t],t=n,n=r),u(n))return f=k.call(arguments,2),(e=function(){return n.apply(t||this,f.concat(k.call(arguments)))}).guid=n.guid=n.guid||i.guid++,e},i.holdReady=function(n){n?i.readyWait++:i.ready(!0)},i.isArray=Array.isArray,i.parseJSON=JSON.parse,i.nodeName=c,i.isFunction=u,i.isWindow=rt,i.camelCase=y,i.type=ut,i.now=Date.now,i.isNumeric=function(n){var t=i.type(n);return("number"===t||"string"===t)&&!isNaN(n-parseFloat(n))},i.trim=function(n){return null==n?"":(n+"").replace(re,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return i}),ue=n.jQuery,fe=n.$,i.noConflict=function(t){return n.$===i&&(n.$=fe),t&&n.jQuery===i&&(n.jQuery=ue),i},"undefined"==typeof t&&(n.jQuery=n.$=i),i});Analytics={GAUtilityID:"",GAUtilityName:"",GARollupID:"UA-50029723-1",GARollupName:"regionalutilitiesrollup",GAEventRollupID:"UA-76398043-1",GAEventRollupName:"regionalutilitieseventrollup",extend:function(){for(var t,n=1;n<arguments.length;n++)for(t in arguments[n])arguments[n].hasOwnProperty(t)&&(arguments[0][t]=arguments[n][t]);return arguments[0]},getEnvironment:function(){var n=window.location.hostname.toLowerCase();return n.indexOf("localhost")>=0?"local":n.indexOf("dv")>=0?"dv":n.indexOf("ts.")>=0?"ts":n.indexOf("qa.")>=0||n.indexOf("qacol.")>=0||n.indexOf("qatul.")>=0?"qa":"prod"},trackGAEvent:function(n,t,i,r){r=Analytics.extend({},{type:"event",category:n,action:t,label:i},r);Analytics.trackGA(r)},trackGAPage:function(n){var t=$.extend({id:Analytics.GAUtilityID,name:Analytics.GAUtilityName},n),i=Analytics.getEnvironment();i==="prod"&&(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create",t.id,"auto"),ga("create",Analytics.GARollupID,"auto",{name:Analytics.GARollupName}),ga("create",Analytics.GAEventRollupID,"auto",{name:Analytics.GAEventRollupName}),ga("send","pageview"),ga("regionalutilitiesrollup.send","pageview"))},trackGA:function(n){var r=Analytics.getEnvironment(),t,i;r==="prod"&&ga.hasOwnProperty("loaded")&&ga.loaded===!0?(t=$.extend({id:Analytics.GAUtilityID,name:Analytics.GAUtilityName,type:"",category:"",action:"",label:"",trackRollup:!0},n),t.type||(t.type="event"),t.category||(t.category="unknown"),t.action||(t.action="unknown"),t.transport||(t.transport="beacon"),i={hitType:t.type,eventCategory:t.category,eventAction:t.action},t.label&&(i.eventLabel=t.label),typeof t.value=="number"&&(i.eventValue=t.value),typeof t.nonInteraction=="boolean"&&(i.nonInteraction=t.nonInteraction),t.trackRollup&&ga("regionalutilitieseventrollup.send",i),t.hitCallback&&(i.hitCallback=createFunctionWithTimeout(t.hitCallback,1e3)),ga("send",i)):n.hitCallback&&n.hitCallback()}},function(n){var t,r,i;typeof define=="function"&&define.amd&&(define(n),t=!0);typeof exports=="object"&&(module.exports=n(),t=!0);t||(r=window.Cookies,i=window.Cookies=n(),i.noConflict=function(){return window.Cookies=r,i})}(function(){function n(){for(var n=0,r={},t,i;n<arguments.length;n++){t=arguments[n];for(i in t)r[i]=t[i]}return r}function t(n){return n.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function i(r){function u(){}function f(t,i,f){var s,o,e;if(typeof document!="undefined"){f=n({path:"/"},u.defaults,f);typeof f.expires=="number"&&(f.expires=new Date(new Date*1+f.expires*864e5));f.expires=f.expires?f.expires.toUTCString():"";try{s=JSON.stringify(i);/^[\{\[]/.test(s)&&(i=s)}catch(h){}i=r.write?r.write(i,t):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent);t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);o="";for(e in f)f[e]&&(o+="; "+e,f[e]!==!0)&&(o+="="+f[e].split(";")[0]);return document.cookie=t+"="+i+o}}function e(n,i){var s,u,f;if(typeof document!="undefined"){for(var e={},h=document.cookie?document.cookie.split("; "):[],o=0;o<h.length;o++){s=h[o].split("=");u=s.slice(1).join("=");i||u.charAt(0)!=='"'||(u=u.slice(1,-1));try{if(f=t(s[0]),u=(r.read||r)(u,f)||t(u),i)try{u=JSON.parse(u)}catch(c){}if(e[f]=u,n===f)break}catch(c){}}return n?e[n]:e}}return u.set=f,u.get=function(n){return e(n,!1)},u.getJSON=function(n){return e(n,!0)},u.remove=function(t,i){f(t,"",n(i,{expires:-1}))},u.defaults={},u.withConverter=i,u}return i(function(){})});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)},f,u,e;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=function(){return this.isSameDay(new Date)};n.isSameDay=function(n){return this.clone().clearTime().equals(n.clone().clearTime())};n.addMilliseconds=function(n){return this.setMilliseconds(this.getMilliseconds()+n),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),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),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,o,c,s,t,a;return f=f?f:this.getFullYear(),u=u?u:this.getMonth()+1,e=e?e:this.getDate(),u<=2?(n=f-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,o=e-1+31*(u-1)):(n=f,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,o=e+(153*(u-3)+2)/5+58+t),c=(n+i)%7,l=(o+c-h)%7,s=o+3-l|0,a=s<0?53-((c-t)/5|0):s>364+t?1:(s/7|0)+1,f=u=e=null,a};n.getISOWeek=function(){return f=this.getUTCFullYear(),u=this.getUTCMonth()+1,e=this.getUTCDate(),r(this.getWeek())};n.setWeek=function(n){return this.moveToDayOfWeek(1).addWeeks(n-this.getWeek())};t._validate=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 t._validate(n,0,999,"millisecond")};t.validateSecond=function(n){return t._validate(n,0,59,"second")};t.validateMinute=function(n){return t._validate(n,0,59,"minute")};t.validateHour=function(n){return t._validate(n,0,23,"hour")};t.validateDay=function(n,i,r){return t._validate(n,1,t.getDaysInMonth(i,r),"day")};t.validateMonth=function(n){return t._validate(n,0,11,"month")};t.validateYear=function(n){return t._validate(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&&t._validate(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 this.hasDaylightSavingTime()&&(new Date).getTimezoneOffset()===Date.today().set({month:6,day:1}).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 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)}(),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 u=null,r=0;r<n.length;r++)if(n[r]!=null){try{u=n[r].call(this,i)}catch(f){u=null}if(u)return u}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 s=null,l=null,h=null,c=null,e=[[],f],o=!1,y,v,a=0;a<i.length;a++){h=null;l=null;s=null;o=i.length==1;try{s=i[a].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=[],v=0;v<i.length;v++)a!=v&&y.push(i[v]);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,f,e,u;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||(u=Date[this.weekday](),this.day=u.getDate(),this.month||(this.month=u.getMonth()),this.year=u.getFullYear()),i&&this.weekday&&this.unit!="month"&&(this.unit="day",o=r.getDayNumberFromName(this.weekday)-t.getDay(),f=7,this.days=o?(o+e*f)%f:e*f),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(),f=12,this.months=o?(o+e*f)%f:e*f,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||(u=Date[this.weekday](),this.day=u.getDate(),u.getMonth()!==t.getMonth()&&(this.month=u.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}return t[1].length===0?t[0]:null};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)}}();String.prototype.padLeft=function(n,t){for(var i=this;i.length<t;)i=n+i;return i};Number.prototype.formatString=function(n){var v,o,e,l,a,t,i;if(n=="c")return this<0?"-$"+(0-this).formatString("0.00"):"$"+this.formatString("0.00");if(n=="(c)")return this<0?"($"+(0-this).formatString("0.00")+")":"$"+this.formatString("0.00");v=n.length>0&&n.substr(0,1)=="+";v&&(n=n.substr(1,n.length-1));var u="",s=n.split("."),h=0,r=0;s.length==2?(h=s[0].length,r=s[1].length):s.length==1&&(h=1,r=0);var f=Math.pow(10,r),c=f==0?Math.round(this):Math.round(this*f)/f,y=c>0?Math.floor(c):Math.ceil(c);for(u=r<=0?0:c-y,(""+u).length>r+2&&f!=0&&(u=Math.round(u*f)/f),o=""+y,n.length>0&&n.substr(0,1)=="."&&(o=""),e=o.replace(/\D/g,""),l=Math.abs(Math.floor((e.length-1)/3));l>0;)a=e.length-3*l,o=e.substr(0,a)+","+e.substr(a,e-a),l--;if(t=""+u,u<1&&(t=="0"?t=".":t.length>=2&&t.substr(0,2)=="0."?t=t.substr(1,t.length-1):t.length>=3&&t.substr(0,3)=="-0."&&(t="-"+t.substr(2,t.length-2))),i="",h>0&&(i=o),r>0){while(t.length<r+1)t+="0";i.indexOf("-")>=0&&t.indexOf("-")>=0&&(t=t.replace("-",""));i.indexOf("-")<0&&h>0&&t.indexOf("-")>=0?i="-"+i+t.replace("-",""):i+=t}return i.length>0&&i.indexOf("-")<0&&v&&(i="+"+i),i};Array.prototype.indexOf||(Array.prototype.indexOf=function(n,t){var r,f,u,i;if(this==null)throw new TypeError('"this" is null or not defined');if((f=Object(this),u=f.length>>>0,u===0)||(i=+t||0,Math.abs(i)===Infinity&&(i=0),i>=u))return-1;for(r=Math.max(i>=0?i:u-Math.abs(i),0);r<u;){if(r in f&&f[r]===n)return r;r++}return-1});Array.prototype.filter||(Array.prototype.filter=function(n){"use strict";var i,f,r,e,t,u;if(this===void 0||this===null)throw new TypeError;if(i=Object(this),f=i.length>>>0,typeof n!="function")throw new TypeError;for(r=[],e=arguments.length>=2?arguments[1]:void 0,t=0;t<f;t++)t in i&&(u=i[t],n.call(e,u,t,i)&&r.push(u));return r});Array.prototype.containsDate=function(n){for(var t=0;t<this.length;t++)if(this[t]==null&&n==null||this[t]!=null&&n!=null&&this[t].toString()==n.toString())return!0;return!1};Date.prototype.toString=function(n){var c,r,h,i,e,o,s;n==null&&(n="M/d/yyyy h:mm:ss tt");var u=this.getMonth()+1,v=u<10?"0"+u:u,y=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][this.getMonth()],p=["January","February","March","April","May","June","July","August","September","October","November","December"][this.getMonth()],f=this.getDate(),w=f<10?"0"+f:f,l=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][this.getDay()],a=this.getDayName(),t=this.getFullYear();t<10?t="000"+t:t<100?t="00"+t:t<1e3&&(t="0"+t);c=this.getHours();r=c;r>12&&(r-=12);r==0&&(r=12);h=""+r;r<10&&(r="0"+r);c<10&&(c="0"+c);i=this.getMinutes();i<10&&(i="0"+i);e=this.getSeconds();e<10&&(e="0"+e);o=this.getMilliseconds();o=o<10?"00"+o:o<100?"0"+o:""+o;s=c>=12?"PM":"AM";switch(n){case"M":return u;case"MMM":return y;case"d":return f;case"ddd":return l;case"dddd":return a;case"yyyy":return t;case"h":return h;case"hh":return r;case"mm":return i;case"h:mm":return h+":"+i;case"h:mm tt":return h+":"+i+" "+s;case"hh:mm":return r+":"+i;case"hh:mm tt":return r+":"+i+" "+s;case"h:mm:ss tt":return h+":"+i+":"+e+" "+s;case"h:mm:ss.fff tt":return h+":"+i+":"+e+"."+o+" "+s;case"MMMM yyyy":return p+" "+t;case"MM/dd/yyyy":return v+"/"+w+"/"+t;case"ddd M/d/yyyy":return l+" "+u+"/"+f+"/"+t;case"dddd, M/d/yyyy":return a+", "+u+"/"+f+"/"+t;case"M/d/yyyy HH:mm:ss":return u+"/"+f+"/"+t+" "+c+":"+i+":"+e;case"M/d/yyyy h:mm tt":return u+"/"+f+"/"+t+" "+h+":"+i+" "+s;case"M/d/yyyy h:mm:ss tt":return u+"/"+f+"/"+t+" "+h+":"+i+":"+e+" "+s;case"M/d/yyyy h:mm:ss.fff tt":return u+"/"+f+"/"+t+" "+h+":"+i+":"+e+"."+o+" "+s;case"M/d/yyyy hh:mm:ss tt":return u+"/"+f+"/"+t+" "+r+":"+i+":"+e+" "+s;case"M/d/yyyy hh:mm:ss.fff tt":return u+"/"+f+"/"+t+" "+r+":"+i+":"+e+"."+o+" "+s;default:return u+"/"+f+"/"+t}};Date.prototype.getDayName=function(n){return n?Date.CultureInfo.abbreviatedDayNames[this.getDay()]:Date.CultureInfo.dayNames[this.getDay()]};Date.prototype.getDaysInMonth=function(){return Date.getDaysInMonth(this.getFullYear(),this.getMonth())};Date.prototype.getNewYearsDay=function(n){return new Date(n,0,1)};Date.prototype.getGoodFriday=function(n){return this.getEasterSunday(n).addDays(-2)};Date.prototype.getEasterSunday=function(n){var r=parseInt(n%19),i=parseInt(19*r+15),f=parseInt(parseInt(n+parseInt(n/4)+i)%7),t=parseInt(n/100),u=parseInt(parseInt(t-parseInt(t/4)-parseInt((parseInt(8*t)+13)/25)+parseInt(19*r)+15)%30);i=parseInt(u-parseInt(u/28)*parseInt(1-parseInt(29/(u+1)))*parseInt((21-r)/11));f=parseInt(parseInt(n+n/4+i+2-t+parseInt(t/4))%7);var e=parseInt(i-f),o=3+parseInt((e+40)/44),s=parseInt(e+28-31*parseInt(o/4));return new Date(n,o-1,s)};Date.prototype.getMemorialDay=function(n){for(var t=new Date(n,4,31);t.toString("ddd")!="Mon";)t=t.addDays(-1);return t};Date.prototype.getIndependenceDay=function(n){return new Date(n,6,4)};Date.prototype.getLaborDay=function(n){for(var t=new Date(n,8,1);t.getDayName()!="Monday";)t=t.addDays(1);return t};Date.prototype.getThanksgivingDay=function(n){for(var t=new Date(n,10,1);t.toString("ddd")!="Thu";)t=t.addDays(1);return t.addDays(21)};Date.prototype.getDayAfterThanksgiving=function(n){return this.getThanksgivingDay(n).addDays(1)};Date.prototype.getChristmasEve=function(n){return new Date(n,11,24)};Date.prototype.getChristmasDay=function(n){return new Date(n,11,25)};Date.prototype.getFirstCalendarDay=function(){return new Date(this.getFullYear(),this.getMonth(),1)};Date.prototype.getLastCalendarDay=function(){var n=this.getFullYear(),t=this.getMonth(),i=n%4==0,r=[31,i?29:28,31,30,31,30,31,31,30,31,30,31];return new Date(n,t,r[t])};Date.prototype.addDaysAssertBusinessDayBackward=function(n){var t=this.addDays(n);return t.isBusinessDay()||(t=t.getPreviousBusinessDay()),t};Date.prototype.addDaysAssertBusinessDayForward=function(n){var t=this.addDays(n);return t.isBusinessDay()||(t=t.getNextBusinessDay()),t};Date.prototype.getNextBusinessDay=function(){for(var n=this,t=0;t<30;t++)if(n=n.addDays(1),n.isBusinessDay())return n;return n};Date.prototype.getPreviousBusinessDay=function(){for(var n=this,t=0;t<30;t++)if(n=n.addDays(-1),n.isBusinessDay())return n;return n};Date.prototype.isBusinessDay=function(){return!this.isWeekend()&&!this.isAEPObservedHoliday()};Date.prototype.isWeekend=function(){return!this.isWeekday()};Date.prototype.isWeekday=function(){return!(this.is().sat()||this.is().sun())};Date.prototype.convertToObservedHoliday=function(){var n=new Date(this.getFullYear(),this.getMonth(),this.getDate()),t=this.toString("ddd");if(n.equals(this.getChristmasEve(n.getFullYear()))){if(t=="Fri"||t=="Sat")return n.addDays(-1);if(t=="Sun")return n.addDays(-2);if(t=="Wed")return n.addDays(2)}else{if(t=="Sun")return n.addDays(1);if(t=="Sat")return n.addDays(-1)}return n};Date.prototype.getAEPHolidays=function(n){return[this.getNewYearsDay(n),this.getGoodFriday(n),this.getMemorialDay(n),this.getIndependenceDay(n),this.getLaborDay(n),this.getThanksgivingDay(n),this.getDayAfterThanksgiving(n),this.getChristmasEve(n),this.getChristmasDay(n)]};Date.prototype.getAEPObservedHolidays=function(n){for(var i=this.getAEPHolidays(n),t=0;t<i.length;t++)i[t]=i[t].convertToObservedHoliday();return i};DateHelper={compareTo:function(n,t){if(isNaN(n))throw new Error(n);if(t instanceof Date&&!isNaN(t))return n>t?1:n<t?-1:0;throw new TypeError(t);},equals:function(n,t){return DateHelper.compareTo(n,t)===0},getAEPHolidaysWithNames:function(n){var t=new Date;return[{name:"New Year's Day",date:t.getNewYearsDay(n)},{name:"Good Friday",date:t.getGoodFriday(n)},{name:"Memorial Day",date:t.getMemorialDay(n)},{name:"Independence Day",date:t.getIndependenceDay(n)},{name:"Labor Day",date:t.getLaborDay(n)},{name:"Thanksgiving Day",date:t.getThanksgivingDay(n)},{name:"Day after Thanksgiving",date:t.getDayAfterThanksgiving(n)},{name:"Christmas Eve",date:t.getChristmasEve(n)},{name:"Christmas Day",date:t.getChristmasDay(n)}]},getAEPObservedHolidaysWithNames:function(n){for(var r=this.getAEPHolidaysWithNames(n),t=0;t<r.length;t++){var i=r[t],f=i.date,u=i.date.convertToObservedHoliday();i.date=u;DateHelper.equals(f,u)||(i.name+=" (observed)")}return r},getAEPObservedHolidayName:function(n){for(var r=DateHelper.getAEPObservedHolidaysWithNames(n.getFullYear()),i,t=0;t<r.length;t++)if(i=r[t],DateHelper.equals(n,i.date))return i.name;return""}};Date.prototype.getAEPObservedHolidaysWithNames=function(n){for(var u=this.getAEPHolidaysWithNames(n),t=0;t<u.length;t++){var i=u[t],f=i.date,r=i.date.convertToObservedHoliday();i.date=r;log(f.toString("M/d/yyyy h:mm:ss tt")+" compared to "+r.toString("M/d/yyyy h:mm:ss tt")+": "+Date.compare(f,r));DateHelper.areDatesEqual(f,r)&&(i.name+=" (observed)")}return u};Date.prototype.getAEPObservedHolidayName=function(){if(this.isAEPObservedHoliday())var n=this.getAEPObservedHolidays(this.getFullYear());return""};Date.prototype.isAEPObservedHoliday=function(){for(var t=this.getAEPObservedHolidays(this.getFullYear()),n=0;n<t.length;n++)if(this.equals(t[n]))return!0;return!1};String.prototype.padLeft=function(n,t){for(var i=this;i.length<t;)i=n+i;return i};String.prototype.endsWith=function(n){return this.indexOf(n,this.length-n.length)!==-1};String.prototype.includes=function(n,t){"use strict";if(n instanceof RegExp)throw TypeError("first argument must not be a RegExp");return t===undefined&&(t=0),this.indexOf(n,t)!==-1};$(document).ready(function(){if(formValidate(),VAL.isDeviceCurrencyTypeNumber()){$("input[data-field-type='currency'][type='tel']").each(function(){$(this).attr("type","number")});$("input[data-field-type='currency'][type='number']").on("keypress",function(n){return n.metaKey||n.which<=0||n.which===8||n.which===110||n.which===190||n.which===46||/[0-9]/.test(String.fromCharCode(n.which))})}});VAL={isDeviceCurrencyTypeNumber:function(){return APP.isPhone()||/(iPod|iPad)/g.test(typeof navigator=="undefined"?"":navigator.userAgent)},isDeviceNumberTypeNumber:function(){return APP.isPhone()||/(iPad)/g.test(typeof navigator=="undefined"?"":navigator.userAgent)}};CURRENCY_DISABLE_FORMAT=!1,function(n){function t(n){$formFieldHelper=n.closest(".form-group").find(".form-field-helper");n.removeClass("is-invalid");n.removeClass("is-valid");var t=n.attr("type")==="checkbox";t&&n.closest(".checkbox").removeClass("is-invalid");$formFieldHelper.show()}function i(){return["zip"]}n.fn.formatField=function(t){return t=n.extend({eventObject:null},t),this.each(function(){var i=n(this),r=i.attr("data-field-type"),u=i.val(),e;if(typeof r!="undefined"&&(r=r.toLowerCase()),r==="currency"&&(e=VAL.isDeviceCurrencyTypeNumber(),e=!1,e)){var f=u,o=t.eventObject!==null&&t.eventObject.keyCode!==null?t.eventObject.keyCode:null,c=o===8||o===46,s=o===110;s&&(f=Number(u.replace(/\./g,""))+".",i.val(f));var h=u.split("."),l=h.length===2&&h[1].length===1,a=l||c||s;a||(f=currencyFormat(u,{direction:"rtl"}),i.val(f))}})};n.fn.validate=function(t){var i=0,r=Array(),u=n(this);return u.each(function(){var u=n(this).validateSingleField(t);u.isValid||(i++,r.push(u))}),i===0};n.fn.validateSingleField=function(t){var r=n(this),i,u,a,v,k,f,d,h,g,e,p,o,y,w,nt,c,l,s,b,tt;if(t=validateGetBaseInput(t,r),i=validateGetBaseOutput(t),u="",typeof t.type!="undefined"?u=t.type:r.attr("data-field-type")&&(u=r.attr("data-field-type")),a=r.length>0,v=a?r.is(":enabled"):!1,(u==="radio-button-list"||u==="checkbox-list")&&(v=r.find("input:enabled").length>0),k=r.attr("data-causes-validation")?r.attr("data-causes-validation").toLowerCase()!=="false":!0,a&&v&&k){if(y=r.attr("id"),d=r.attr("data-required")?r.attr("data-required").toLowerCase()==="true":!1,f=u==="password"?r.val():n.trim(r.val()),u==="radio-button-list"?(h=r.find("input:checked"),f=h.length>0?h.val():""):u==="checkbox-list"&&(h=r.find("input:checked"),f="",h.each(function(){var t=n(this).val();f.length>0&&(f+=",");f+=t})),t.field=r,t.val=f,t.isRequired=d,t.validationEvent==="keyup"&&(g=t.eventObject!==null&&t.eventObject.keyCode!==null?t.eventObject.keyCode:null,g===13))return i;if(i=validateGetBaseOutput(t),validateIsEmptyAndNotRequired(t))i.isValid=!0;else if(u==="account-number")i=accountNumberIsValid(t),isNullOrEmpty(i.formatted)||r.val(i.formatted);else if(u==="checkbox")i.isValid=t.validationEvent!=="submit"?!0:!(t.isRequired&&!t.field[0].checked),i.errorMessage=isNullOrEmpty(i.requiredMessage)?"This field is required.":i.requiredMessage;else if(u==="currency")i=currencyIsValid(t),isNullOrEmpty(i.formatted)||r.val(i.formatted);else if(u==="date-chooser")e="date",r.attr("data-date-type")&&(e=r.attr("data-date-type")),i=dateChooserIsValid(n.extend({dateType:e},t)),isNullOrEmpty(i.formatted)||r.val(i.formatted);else if(u==="date-text")e="date",r.attr("data-date-type")&&(e=r.attr("data-date-type")),i=dateTextIsValid(n.extend({dateType:e},t)),isNullOrEmpty(i.formatted)||r.val(i.formatted);else if(u==="email")p=!1,r.attr("data-validate-cellular")&&(p=r.attr("data-validate-cellular")==="true"),i=emailIsValid(n.extend({validateCellular:p},t));else if(u==="esid")i=esidIsValid(t),isNullOrEmpty(i.formatted)||r.val(i.formatted);else if(u==="meter-number")i=meterNumberIsValid(t),isNullOrEmpty(i.formatted)||r.val(i.formatted);else if(u==="number")i=numberIsValid(t),isNullOrEmpty(i.formatted)||r.val(i.formatted);else if(u==="password")o="",r.attr("data-validation-type")&&(o=r.attr("data-validation-type")),i=passwordIsValid(n.extend({validationType:o},t));else if(u==="phone-number")i=phoneNumberIsValid(t),isNullOrEmpty(i.formatted)||r.val(i.formatted);else if(u==="ssn")i=socialSecurityNumberIsValid(t),isNullOrEmpty(i.formatted)||r.val(i.formatted);else if(u==="user-id")o="",r.attr("data-validation-type")&&(o=r.attr("data-validation-type")),i=userIDIsValid(n.extend({validationType:o},t)),isNullOrEmpty(i.formatted)||r.val(i.formatted);else if(u==="zip")i=zipCodeIsValid(t),isNullOrEmpty(i.formatted)||r.val(i.formatted);else if(y=t===null||t.field===null?"null":t.field.attr("id"),validateIsEmptyAndRequired(t)){i.isValid=!1;var it=t.field.is("textarea"),rt=u==="dropdown"?"select":"enter",ut=it?"This information is required.":"Please "+rt+" a value";i.errorMessage=isNullOrEmpty(i.requiredMessage)?ut:i.requiredMessage}else validateMaxLength(t)?(i.isValid=!1,w=r.attr("maxlength"),nt=t.val.length-w,i.errorMessage=isNullOrEmpty(i.maxlengthMessage)?w+"character limit exceeded by "+nt+"characters.":i.maxlengthMessage):validateIsCompareToValid(t)||(i.isValid=!1,i.errorMessage=isNullOrEmpty(i.compareToMessage)?"The values entered do not match":i.compareToMessage);typeof t.field.attr("data-regex-pattern")!="undefined"&&i.isValid&&(i=regexIsValid(t));c=r.getValidator({validator:t.validator});l=r.attr("data-extra-validation")==="undefined"?null:r.attr("data-extra-validation");i.isValid&&l!==null&&(s={field:r,value:t.val,validator:c,validationEvent:t.validationEvent,errorMessage:"",isValid:!0},typeof window[l]!="undefined"&&(window[l].apply({},[s]),typeof s.isValid=="string"&&(s.isValid=s.isValid==="true")),i.isValid=s.isValid,i.isValid||(i.errorMessage=s.errorMessage));i.isValid?(b=!1,t.validationEvent==="blur"&&(tt=n("input[type='submit']"),tt.each(function(){n(this).data("mouse-down")&&(b=!0)})),b||c.setValid(i,t)):c.setInvalid(i,t)}return i};n.fn.getValidator=function(t){var i=n(this),r=n.extend({validator:null},t);return r.validator!==null?r.validator:i.length>0?n(".validator[data-validate-field='"+i.attr("id")+"']").first():null};n.fn.validateCustomValidators=function(){n(this).each(function(){var t=n(this);t.validateSingleCustomValidator()})};n.fn.validateSingleCustomValidator=function(t){var r={isValid:!0,errorMessage:""},u=n(this),f=u.length===0?null:u.attr("data-extra-validation"),e,i;return f&&(t=n.extend({isValid:!0,errorMessage:"Invalid",value:"",validationEvent:""},t),e=u.attr("data-invalid-message"),e&&(t.errorMessage=e),i={field:null,value:t.value,validator:u,validationEvent:t.validationEvent,errorMessage:t.errorMessage,isValid:!0},typeof window[f]!="undefined"&&(window[f].apply({},[i]),typeof i.isValid=="string"&&(i.isValid=i.isValid==="true")),r={isValid:i.isValid,errorMessage:i.errorMessage},r.isValid?u.setValid(r,null):u.setInvalid(r,null)),r};n.fn.setInvalid=function(r,u){var e=n(this),f=!u?null:u.field,l=f?f.data("fieldType"):null,o=!!u&&u.validationEvent==="keyup",s=!u||!!u&&!o,a=!!u&&o&&u.field.hasClass("has-value")&&(u.field.hasClass("is-valid")||u.field.hasClass("is-invalid")),v=i(),y=v.lastIndexOf(l)>-1,h,c;y&&o||(!s||!f||!f.val()||f.addClass("has-value"),!s||!f||f.val()||f.removeClass("has-value"),(s||a)&&(!u||(t(f),$formFieldHelper=f.closest(".form-group").find(".form-field-helper"),$formFieldHelper.length>0&&$formFieldHelper.hide(),f.addClass("is-invalid"),h=f.attr("type")==="checkbox",h&&f.closest(".checkbox").addClass("is-invalid")),e.length>0&&(c=n.extend({errorMessage:""},r),e.html(c.errorMessage),e.show(),e.css("visibility")!==null&&e.css("visibility","visible"))))};n.fn.setValid=function(i,r){var f=n(this),u=r?r.field:null,e=!!u,o=i.requiresFormatting&&!!u&&!!u.val();e&&t(u);e&&!!u.val()&&u.addClass("has-value");e&&!u.val()&&u.removeClass("has-value");o&&u.addClass("is-valid");f.length>0&&(f.hide(),f.css("visibility")!==null&&f.css("visibility","hidden"))}}(jQuery);var ua=window.navigator.userAgent,isIE=/MSIE|Trident/.test(ua),APP={globalLoginFormToggle:function(n){var t,i;n?($("#mobileNavToggle").hasClass("collapsed")===!1&&($("#mobileNav").removeClass("show"),$("#mobileNavToggle").addClass("collapsed"),$("#mobileNavToggle").attr("aria-expanded","false")),$("a[data-btn='login'], button[data-btn='login']").addClass("login-expanded"),$("#loginOverlay").addClass("login-visible"),t=$("#globalLoginMenu").find("input[id*='TbUserID']"),t.length>0&&t.select(),i=$("#globalLoginMenu").get(0).scrollHeight):($("a[data-btn='login'], button[data-btn='login']").removeClass("login-expanded"),$("#loginOverlay").removeClass("login-visible"),$(".btn-global-login").hasClass("collapsed")===!1&&($("#globalLoginMenu").removeClass("show"),$(".btn-global-login").addClass("collapsed"),$(".btn-global-login").attr("aria-expanded","false")))},cookieDelete:function(n){Cookies.remove(n,{path:"/"})},cookieGet:function(n){return Cookies.get(n)},cookieSetPersistent:function(n,t,i){Cookies.set(n,t,{expires:i,path:"/"})},cookieSetSession:function(n,t){Cookies.set(n,t,{path:"/"})},getDigits:function(n){if(n===null||typeof n!="string")return"";var t=/\d+/g;return t.test(n)?n.match(t).join(""):""},getQueryString:function(){for(var t={},i=location.search.substring(1),r=/([^&=]+)=([^&]*)/g,n;n=r.exec(i);)t[decodeURIComponent(n[1])]=decodeURIComponent(n[2]);return t},isDeviceiPad:function(){return/(iPad)/g.test(typeof navigator=="undefined"?"":navigator.userAgent)},isDeviceiPhone:function(){return/(iPhone)/g.test(typeof navigator=="undefined"?"":navigator.userAgent)},isDeviceiPod:function(){return/(iPod)/g.test(typeof navigator=="undefined"?"":navigator.userAgent)},isDeviceiOS:function(){return/(iPad|iPhone|iPod)/g.test(typeof navigator=="undefined"?"":navigator.userAgent)},isPhone:function(){var n=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(n)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(n.substr(0,4))},isDeviceTouch:function(){return typeof Modernizr=="undefined"?!1:Modernizr.touch},modalClose:function(n){$(n).foundation("reveal","close")},modalOpen:function(n){$(n).foundation("reveal","open")},tableDataColumnsAlign:function(n){$("table[data-columns-"+n+"]").each(function(){for(var i=$(this).attr("data-columns-"+n).split(","),t=0;t<i.length;t++)$(this).find("td:nth-child("+i[t]+")").addClass("text-"+n)})},tableDataColumnsAlignAll:function(){APP.tableDataColumnsAlign("right");APP.tableDataColumnsAlign("center");APP.tableDataColumnsAlign("left")},log:function(n){var t=$("meta[name='env']").length>0;t&&window&&window.console&&window.console.log&&window.console.log(n)}}