PageSourceSearch

https://www.silierung.de/resources/js/jquery_default.js?1790979778

js silierung.de collected 2026-10-02 22:23:10 UTC 392,009 bytes, 1 lines download raw bytes

1function NumberFormat(e,t){this.VERSION="Number Format v1.5.4",this.COMMA=",",this.PERIOD=".",this.DASH="-",this.LEFT_PAREN="(",this.RIGHT_PAREN=")",this.LEFT_OUTSIDE=0,this.LEFT_INSIDE=1,this.RIGHT_INSIDE=2,this.RIGHT_OUTSIDE=3,this.LEFT_DASH=0,this.RIGHT_DASH=1,this.PARENTHESIS=2,this.NO_ROUNDING=-1,this.num,this.numOriginal,this.hasSeparators=!1,this.separatorValue,this.inputDecimalValue,this.decimalValue,this.negativeFormat,this.negativeRed,this.hasCurrency,this.currencyPosition,this.currencyValue,this.places,this.roundToPlaces,this.truncate,this.setNumber=setNumberNF,this.toUnformatted=toUnformattedNF,this.setInputDecimal=setInputDecimalNF,this.setSeparators=setSeparatorsNF,this.setCommas=setCommasNF,this.setNegativeFormat=setNegativeFormatNF,this.setNegativeRed=setNegativeRedNF,this.setCurrency=setCurrencyNF,this.setCurrencyPrefix=setCurrencyPrefixNF,this.setCurrencyValue=setCurrencyValueNF,this.setCurrencyPosition=setCurrencyPositionNF,this.setPlaces=setPlacesNF,this.toFormatted=toFormattedNF,this.toPercentage=toPercentageNF,this.getOriginal=getOriginalNF,this.moveDecimalRight=moveDecimalRightNF,this.moveDecimalLeft=moveDecimalLeftNF,this.getRounded=getRoundedNF,this.preserveZeros=preserveZerosNF,this.justNumber=justNumberNF,this.expandExponential=expandExponentialNF,this.getZeros=getZerosNF,this.moveDecimalAsString=moveDecimalAsStringNF,this.moveDecimal=moveDecimalNF,this.addSeparators=addSeparatorsNF,null==t?this.setNumber(e,this.PERIOD):this.setNumber(e,t),this.setCommas(!0),this.setNegativeFormat(this.LEFT_DASH),this.setNegativeRed(!1),this.setCurrency(!1),this.setCurrencyPrefix("$"),this.setPlaces(2)}function setInputDecimalNF(e){this.inputDecimalValue=e}function setNumberNF(e,t){null!=t&&this.setInputDecimal(t),this.numOriginal=e,this.num=this.justNumber(e)}function toUnformattedNF(){return this.num}function getOriginalNF(){return this.numOriginal}function setNegativeFormatNF(e){this.negativeFormat=e}function setNegativeRedNF(e){this.negativeRed=e}function setSeparatorsNF(e,t,i){this.hasSeparators=e,null==t&&(t=this.COMMA),null==i&&(i=this.PERIOD),this.decimalValue=t==i?i==this.PERIOD?this.COMMA:this.PERIOD:i,this.separatorValue=t}function setCommasNF(e){this.setSeparators(e,this.COMMA,this.PERIOD)}function setCurrencyNF(e){this.hasCurrency=e}function setCurrencyValueNF(e){this.currencyValue=e}function setCurrencyPrefixNF(e){this.setCurrencyValue(e),this.setCurrencyPosition(this.LEFT_OUTSIDE)}function setCurrencyPositionNF(e){this.currencyPosition=e}function setPlacesNF(e,t){this.roundToPlaces=!(e==this.NO_ROUNDING),this.truncate=null!=t&&t,this.places=e<0?0:e}function addSeparatorsNF(e,t,i,n){var s=(e+="").indexOf(t),o="";-1!=s&&(o=i+e.substring(s+1,e.length),e=e.substring(0,s));for(var r=/(\d+)(\d{3})/;r.test(e);)e=e.replace(r,"$1"+n+"$2");return e+o}function toFormattedNF(){var e,t=this.num;new Array(2);e=this.roundToPlaces?(t=this.getRounded(t),this.preserveZeros(Math.abs(t))):this.expandExponential(Math.abs(t)),e=this.hasSeparators?this.addSeparators(e,this.PERIOD,this.decimalValue,this.separatorValue):e.replace(new RegExp("\\"+this.PERIOD),this.decimalValue);var i="",n="",s="",o="",r="",a="",l="",h="",u=this.negativeFormat==this.PARENTHESIS?this.LEFT_PAREN:this.DASH,c=this.negativeFormat==this.PARENTHESIS?this.RIGHT_PAREN:this.DASH;return this.currencyPosition==this.LEFT_OUTSIDE?(t<0&&(this.negativeFormat!=this.LEFT_DASH&&this.negativeFormat!=this.PARENTHESIS||(o=u),this.negativeFormat!=this.RIGHT_DASH&&this.negativeFormat!=this.PARENTHESIS||(r=c)),this.hasCurrency&&(i=this.currencyValue)):this.currencyPosition==this.LEFT_INSIDE?(t<0&&(this.negativeFormat!=this.LEFT_DASH&&this.negativeFormat!=this.PARENTHESIS||(n=u),this.negativeFormat!=this.RIGHT_DASH&&this.negativeFormat!=this.PARENTHESIS||(l=c)),this.hasCurrency&&(s=this.currencyValue)):this.currencyPosition==this.RIGHT_INSIDE?(t<0&&(this.negativeFormat!=this.LEFT_DASH&&this.negativeFormat!=this.PARENTHESIS||(n=u),this.negativeFormat!=this.RIGHT_DASH&&this.negativeFormat!=this.PARENTHESIS||(l=c)),this.hasCurrency&&(a=this.currencyValue)):this.currencyPosition==this.RIGHT_OUTSIDE&&(t<0&&(this.negativeFormat!=this.LEFT_DASH&&this.negativeFormat!=this.PARENTHESIS||(o=u),this.negativeFormat!=this.RIGHT_DASH&&this.negativeFormat!=this.PARENTHESIS||(r=c)),this.hasCurrency&&(h=this.currencyValue)),e=i+n+s+o+e+r+a+l+h,this.negativeRed&&t<0&&(e='<font color="red">'+e+"</font>"),e}function toPercentageNF(){return nNum=100*this.num,nNum=this.getRounded(nNum),nNum+"%"}function getZerosNF(e){var t,i="";for(t=0;t<e;t++)i+="0";return i}function expandExponentialNF(e){if(isNaN(e))return e;var t=parseFloat(e)+"",i=t.toLowerCase().indexOf("e");if(-1!=i){var n=t.toLowerCase().indexOf("+"),s=t.toLowerCase().indexOf("-",i),o=t.substring(0,i);if(-1!=s){var r=t.substring(s+1,t.length);o=this.moveDecimalAsString(o,!0,parseInt(r))}else{-1==n&&(n=i);r=t.substring(n+1,t.length);o=this.moveDecimalAsString(o,!1,parseInt(r))}t=o}return t}function moveDecimalRightNF(e,t){return null==t?this.moveDecimal(e,!1):this.moveDecimal(e,!1,t)}function moveDecimalLeftNF(e,t){return null==t?this.moveDecimal(e,!0):this.moveDecimal(e,!0,t)}function moveDecimalAsStringNF(e,t,i){var n=arguments.length<3?this.places:i;if(n<=0)return e;var s=e+"",o=this.getZeros(n),r=new RegExp("([0-9.]+)");if(t){s=s.replace(r,o+"$1");var a=new RegExp("(-?)([0-9]*)([0-9]{"+n+"})(\\.?)");s=s.replace(a,"$1$2.$3")}else{var l=r.exec(s);null!=l&&(s=s.substring(0,l.index)+l[1]+o+s.substring(l.index+l[0].length));a=new RegExp("(-?)([0-9]*)(\\.?)([0-9]{"+n+"})");s=s.replace(a,"$1$2$4.")}return s=s.replace(/\.$/,"")}function moveDecimalNF(e,t,i){var n="";return n=null==i?this.moveDecimalAsString(e,t):this.moveDecimalAsString(e,t,i),parseFloat(n)}function getRoundedNF(e){return e=this.moveDecimalRight(e),e=this.truncate?0<=e?Math.floor(e):Math.ceil(e):Math.round(e),e=this.moveDecimalLeft(e)}function preserveZerosNF(e){var t;if(e=this.expandExponential(e),this.places<=0)return e;var i=e.indexOf(".");if(-1==i)for(e+=".",t=0;t<this.places;t++)e+="0";else{var n=e.length-1-i,s=this.places-n;for(t=0;t<s;t++)e+="0"}return e}function justNumberNF(e){newVal=e+"";var t=!1;-1!=newVal.indexOf("%")&&(newVal=newVal.replace(/\%/g,""),t=!0);var i=new RegExp("[^\\"+this.inputDecimalValue+"\\d\\-\\+\\(\\)eE]","g");newVal=newVal.replace(i,"");var n=new RegExp("["+this.inputDecimalValue+"]","g"),s=n.exec(newVal);if(null!=s){var o=newVal.substring(s.index+s[0].length);newVal=newVal.substring(0,s.index)+this.PERIOD+o.replace(n,"")}
vendor: 28,502 bytes, line 1
1return newVal.charAt(newVal.length-1)==this.DASH?(newVal=newVal.substring(0,newVal.length-1),newVal="-"+newVal):newVal.charAt(0)==this.LEFT_PAREN&&newVal.charAt(newVal.length-1)==this.RIGHT_PAREN&&(newVal=newVal.substring(1,newVal.length-1),newVal="-"+newVal),newVal=parseFloat(newVal),isFinite(newVal)||(newVal=0),t&&(newVal=this.moveDecimalLeft(newVal,2)),newVal}!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(k,e){function t(e,t){return t.toUpperCase()}var i=[],C=k.document,u=i.slice,m=i.concat,a=i.push,s=i.indexOf,n={},o=n.toString,f=n.hasOwnProperty,g={},r="2.2.4",T=function(e,t){return new T.fn.init(e,t)},l=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,h=/^-ms-/,c=/-([\da-z])/gi;function d(e){var t=!!e&&"length"in e&&e.length,i=T.type(e);return"function"!==i&&!T.isWindow(e)&&("array"===i||0===t||"number"==typeof t&&0<t&&t-1 in e)}T.fn=T.prototype={jquery:r,constructor:T,selector:"",length:0,toArray:function(){return u.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:u.call(this)},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return T.each(this,e)},map:function(i){return this.pushStack(T.map(this,function(e,t){return i.call(e,t,e)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,i=+e+(e<0?t:0);return this.pushStack(0<=i&&i<t?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:i.sort,splice:i.splice},T.extend=T.fn.extend=function(){var e,t,i,n,s,o,r=arguments[0]||{},a=1,l=arguments.length,h=!1;for("boolean"==typeof r&&(h=r,r=arguments[a]||{},a++),"object"==typeof r||T.isFunction(r)||(r={}),a===l&&(r=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=r[t],r!==(n=e[t])&&(h&&n&&(T.isPlainObject(n)||(s=T.isArray(n)))?(o=s?(s=!1,i&&T.isArray(i)?i:[]):i&&T.isPlainObject(i)?i:{},r[t]=T.extend(h,o,n)):void 0!==n&&(r[t]=n));return r},T.extend({expando:"jQuery"+(r+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===T.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!T.isArray(e)&&0<=t-parseFloat(t)+1},isPlainObject:function(e){var t;if("object"!==T.type(e)||e.nodeType||T.isWindow(e))return!1;if(e.constructor&&!f.call(e,"constructor")&&!f.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||f.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e},globalEval:function(e){var t,i=eval;(e=T.trim(e))&&(1===e.indexOf("use strict")?((t=C.createElement("script")).text=e,C.head.appendChild(t).parentNode.removeChild(t)):i(e))},camelCase:function(e){return e.replace(h,"ms-").replace(c,t)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var i,n=0;if(d(e))for(i=e.length;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},trim:function(e){return null==e?"":(e+"").replace(l,"")},makeArray:function(e,t){var i=t||[];return null!=e&&(d(Object(e))?T.merge(i,"string"==typeof e?[e]:e):a.call(i,e)),i},inArray:function(e,t,i){return null==t?-1:s.call(t,e,i)},merge:function(e,t){for(var i=+t.length,n=0,s=e.length;n<i;n++)e[s++]=t[n];return e.length=s,e},grep:function(e,t,i){for(var n=[],s=0,o=e.length,r=!i;s<o;s++)!t(e[s],s)!=r&&n.push(e[s]);return n},map:function(e,t,i){var n,s,o=0,r=[];if(d(e))for(n=e.length;o<n;o++)null!=(s=t(e[o],o,i))&&r.push(s);else for(o in e)null!=(s=t(e[o],o,i))&&r.push(s);return m.apply([],r)},guid:1,proxy:function(e,t){var i,n,s;return"string"==typeof t&&(i=e[t],t=e,e=i),T.isFunction(e)?(n=u.call(arguments,2),(s=function(){return e.apply(t||this,n.concat(u.call(arguments)))}).guid=e.guid=e.guid||T.guid++,s):void 0},now:Date.now,support:g}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=i[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var p=function(i){function c(e,t,i){var n="0x"+t-65536;return n!=n||i?t:n<0?String.fromCharCode(65536+n):String.fromCharCode(n>>10|55296,1023&n|56320)}function s(){x()}var e,f,_,o,r,m,d,g,w,l,h,x,k,a,C,v,u,p,b,T="sizzle"+1*new Date,y=i.document,D=0,n=0,S=se(),P=se(),E=se(),N=function(e,t){return e===t&&(h=!0),0},I={}.hasOwnProperty,t=[],A=t.pop,M=t.push,z=t.push,F=t.slice,H=function(e,t){for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i;return-1},O="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",W="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",L="\\["+R+"*("+W+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+W+"))|)"+R+"*\\]",j=":("+W+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+L+")*)|.*)\\)|)",q=new RegExp(R+"+","g"),B=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),$=new RegExp("^"+R+"*,"+R+"*"),Y=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),V=new RegExp("="+R+"*([^\\]'\"]*?)"+R+"*\\]","g"),U=new RegExp(j),K=new RegExp("^"+W+"$"),G={ID:new RegExp("^#("+W+")"),CLASS:new RegExp("^\\.("+W+")"),TAG:new RegExp("^("+W+"|[*])"),ATTR:new RegExp("^"+L),PSEUDO:new RegExp("^"+j),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("^(?:"+O+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=/'|\\/g,ie=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig");try{z.apply(t=F.call(y.childNodes),y.childNodes),t[y.childNodes.length].nodeType}catch(e){z={apply:t.length?function(e,t){M.apply(e,F.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}function ne(e,t,i,n){var s,o,r,a,l,h,u,c,d=t&&t.ownerDocument,p=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return i;if(!n&&((t?t.ownerDocument||t:y)!==k&&x(t),t=t||k,C)){if(11!==p&&(h=Q.exec(e)))if(s=h[1]){if(9===p){if(!(r=t.getElementById(s)))return i;if(r.id===s)return i.push(r),i}else if(d&&(r=d.getElementById(s))&&b(t,r)&&r.id===s)return i.push(r),i}else{if(h[2])return z.apply(i,t.getElementsByTagName(e)),i;if((s=h[3])&&f.getElementsByClassName&&t.getElementsByClassName)return z.apply(i,t.getElementsByClassName(s)),i}if(f.qsa&&!E[e+" "]&&(!v||!v.test(e))){if(1!==p)d=t,c=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(te,"\\$&"):t.setAttribute("id",a=T),o=(u=m(e)).length,l=K.test(a)?"#"+a:"[id='"+a+"']";o--;)u[o]=l+" "+fe(u[o]);c=u.join(","),d=ee.test(e)&&de(t.parentNode)||t}if(c)try{return z.apply(i,d.querySelectorAll(c)),i}catch(e){}finally{a===T&&t.removeAttribute("id")}}}return g(e.replace(B,"$1"),t,i,n)}function se(){var n=[];return function e(t,i){return n.push(t+" ")>_.cacheLength&&delete e[n.shift()],e[t+" "]=i}}function oe(e){return e[T]=!0,e}function re(e){var t=k.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ae(e,t){for(var i=e.split("|"),n=i.length;n--;)_.attrHandle[i[n]]=t}function le(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function he(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ue(i){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===i}}function ce(r){return oe(function(o){return o=+o,oe(function(e,t){for(var i,n=r([],e.length,o),s=n.length;s--;)e[i=n[s]]&&(e[i]=!(t[i]=e[i]))})})}function de(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in f=ne.support={},r=ne.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},x=ne.setDocument=function(e){var t,i,n=e?e.ownerDocument||e:y;return n!==k&&9===n.nodeType&&n.documentElement&&(a=(k=n).documentElement,C=!r(k),(i=k.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",s,!1):i.attachEvent&&i.attachEvent("onunload",s)),f.attributes=re(function(e){return e.className="i",!e.getAttribute("className")}),f.getElementsByTagName=re(function(e){return e.appendChild(k.createComment("")),!e.getElementsByTagName("*").length}),f.getElementsByClassName=J.test(k.getElementsByClassName),f.getById=re(function(e){return a.appendChild(e).id=T,!k.getElementsByName||!k.getElementsByName(T).length}),f.getById?(_.find.ID=function(e,t){if(void 0!==t.getElementById&&C){var i=t.getElementById(e);return i?[i]:[]}},_.filter.ID=function(e){var t=e.replace(ie,c);return function(e){return e.getAttribute("id")===t}}):(delete _.find.ID,_.filter.ID=function(e){var i=e.replace(ie,c);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===i}}),_.find.TAG=f.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):f.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],s=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;i=o[s++];)1===i.nodeType&&n.push(i);return n},_.find.CLASS=f.getElementsByClassName&&function(e,t){return void 0!==t.getElementsByClassName&&C?t.getElementsByClassName(e):void 0},u=[],v=[],(f.qsa=J.test(k.querySelectorAll))&&(re(function(e){a.appendChild(e).innerHTML="<a id='"+T+"'></a><select id='"+T+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+R+"*(?:value|"+O+")"),e.querySelectorAll("[id~="+T+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+T+"+*").length||v.push(".#.+[+~]")}),re(function(e){var t=k.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+R+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(f.matchesSelector=J.test(p=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&re(function(e){f.disconnectedMatch=p.call(e,"div"),p.call(e,"[s!='']:x"),u.push("!=",j)}),v=v.length&&new RegExp(v.join("|")),u=u.length&&new RegExp(u.join("|")),t=J.test(a.compareDocumentPosition),b=t||J.test(a.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},N=t?function(e,t){if(e===t)return h=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===i?e===k||e.ownerDocument===y&&b(y,e)?-1:t===k||t.ownerDocument===y&&b(y,t)?1:l?H(l,e)-H(l,t):0:4&i?-1:1)}:function(e,t){if(e===t)return h=!0,0;var i,n=0,s=e.parentNode,o=t.parentNode,r=[e],a=[t];if(!s||!o)return e===k?-1:t===k?1:s?-1:o?1:l?H(l,e)-H(l,t):0;if(s===o)return le(e,t);for(i=e;i=i.parentNode;)r.unshift(i);for(i=t;i=i.parentNode;)a.unshift(i);for(;r[n]===a[n];)n++;return n?le(r[n],a[n]):r[n]===y?-1:a[n]===y?1:0}),k},ne.matches=function(e,t){return ne(e,null,null,t)},ne.matchesSelector=function(e,t){if((e.ownerDocument||e)!==k&&x(e),t=t.replace(V,"='$1']"),f.matchesSelector&&C&&!E[t+" "]&&(!u||!u.test(t))&&(!v||!v.test(t)))try{var i=p.call(e,t);if(i||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return 0<ne(t,k,null,[e]).length},ne.contains=function(e,t){return(e.ownerDocument||e)!==k&&x(e),b(e,t)},ne.attr=function(e,t){(e.ownerDocument||e)!==k&&x(e);var i=_.attrHandle[t.toLowerCase()],n=i&&I.call(_.attrHandle,t.toLowerCase())?i(e,t,!C):void 0;return void 0!==n?n:f.attributes||!C?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},ne.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ne.uniqueSort=function(e){var t,i=[],n=0,s=0;if(h=!f.detectDuplicates,l=!f.sortStable&&e.slice(0),e.sort(N),h){for(;t=e[s++];)t===e[s]&&(n=i.push(s));for(;n--;)e.splice(i[n],1)}return l=null,e},o=ne.getText=function(e){var t,i="",n=0,s=e.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=o(e)}else if(3===s||4===s)return e.nodeValue}else for(;t=e[n++];)i+=o(t);return i},(_=ne.selectors={cacheLength:50,createPseudo:oe,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ie,c),e[3]=(e[3]||e[4]||e[5]||"").replace(ie,c),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ne.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ne.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&U.test(i)&&(t=m(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ie,c).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&S(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(i,n,s){return function(e){var t=ne.attr(e,i);return null==t?"!="===n:!n||(t+="","="===n?t===s:"!="===n?t!==s:"^="===n?s&&0===t.indexOf(s):"*="===n?s&&-1<t.indexOf(s):"$="===n?s&&t.slice(-s.length)===s:"~="===n?-1<(" "+t.replace(q," ")+" ").indexOf(s):"|="===n&&(t===s||t.slice(0,s.length+1)===s+"-"))}},CHILD:function(f,e,t,m,g){var v="nth"!==f.slice(0,3),b="last"!==f.slice(-4),y="of-type"===e;return 1===m&&0===g?function(e){return!!e.parentNode}:function(e,t,i){var n,s,o,r,a,l,h=v!=b?"nextSibling":"previousSibling",u=e.parentNode,c=y&&e.nodeName.toLowerCase(),d=!i&&!y,p=!1;if(u){if(v){for(;h;){for(r=e;r=r[h];)if(y?r.nodeName.toLowerCase()===c:1===r.nodeType)return!1;l=h="only"===f&&!l&&"nextSibling"}return!0}if(l=[b?u.firstChild:u.lastChild],b&&d){for(p=(a=(n=(s=(o=(r=u)[T]||(r[T]={}))[r.uniqueID]||(o[r.uniqueID]={}))[f]||[])[0]===D&&n[1])&&n[2],r=a&&u.childNodes[a];r=++a&&r&&r[h]||(p=a=0)||l.pop();)if(1===r.nodeType&&++p&&r===e){s[f]=[D,a,p];break}}else if(d&&(p=a=(n=(s=(o=(r=e)[T]||(r[T]={}))[r.uniqueID]||(o[r.uniqueID]={}))[f]||[])[0]===D&&n[1]),!1===p)for(;(r=++a&&r&&r[h]||(p=a=0)||l.pop())&&((y?r.nodeName.toLowerCase()!==c:1!==r.nodeType)||!++p||(d&&((s=(o=r[T]||(r[T]={}))[r.uniqueID]||(o[r.uniqueID]={}))[f]=[D,p]),r!==e)););return(p-=g)===m||p%m==0&&0<=p/m}}},PSEUDO:function(e,o){var t,r=_.pseudos[e]||_.setFilters[e.toLowerCase()]||ne.error("unsupported pseudo: "+e);return r[T]?r(o):1<r.length?(t=[e,e,"",o],_.setFilters.hasOwnProperty(e.toLowerCase())?oe(function(e,t){for(var i,n=r(e,o),s=n.length;s--;)e[i=H(e,n[s])]=!(t[i]=n[s])}):function(e){return r(e,0,t)}):r}},pseudos:{not:oe(function(e){var n=[],s=[],a=d(e.replace(B,"$1"));return a[T]?oe(function(e,t,i,n){for(var s,o=a(e,null,n,[]),r=e.length;r--;)(s=o[r])&&(e[r]=!(t[r]=s))}):function(e,t,i){return n[0]=e,a(n,null,i,s),n[0]=null,!s.pop()}}),has:oe(function(t){return function(e){return 0<ne(t,e).length}}),contains:oe(function(t){return t=t.replace(ie,c),function(e){return-1<(e.textContent||e.innerText||o(e)).indexOf(t)}}),lang:oe(function(i){return K.test(i||"")||ne.error("unsupported lang: "+i),i=i.replace(ie,c).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===i||0===t.indexOf(i+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=i.location&&i.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===k.activeElement&&(!k.hasFocus||k.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!_.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ce(function(){return[0]}),last:ce(function(e,t){return[t-1]}),eq:ce(function(e,t,i){return[i<0?i+t:i]}),even:ce(function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e}),odd:ce(function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e}),lt:ce(function(e,t,i){for(var n=i<0?i+t:i;0<=--n;)e.push(n);return e}),gt:ce(function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e})}}).pseudos.nth=_.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[e]=he(e);for(e in{submit:!0,reset:!0})_.pseudos[e]=ue(e);function pe(){}function fe(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function me(a,e,t){var l=e.dir,h=t&&"parentNode"===l,u=n++;return e.first?function(e,t,i){for(;e=e[l];)if(1===e.nodeType||h)return a(e,t,i)}:function(e,t,i){var n,s,o,r=[D,u];if(i){for(;e=e[l];)if((1===e.nodeType||h)&&a(e,t,i))return!0}else for(;e=e[l];)if(1===e.nodeType||h){if((n=(s=(o=e[T]||(e[T]={}))[e.uniqueID]||(o[e.uniqueID]={}))[l])&&n[0]===D&&n[1]===u)return r[2]=n[2];if((s[l]=r)[2]=a(e,t,i))return!0}}}function ge(s){return 1<s.length?function(e,t,i){for(var n=s.length;n--;)if(!s[n](e,t,i))return!1;return!0}:s[0]}function ve(e,t,i,n,s){for(var o,r=[],a=0,l=e.length,h=null!=t;a<l;a++)(o=e[a])&&(i&&!i(o,n,s)||(r.push(o),h&&t.push(a)));return r}function be(p,f,m,g,v,e){return g&&!g[T]&&(g=be(g)),v&&!v[T]&&(v=be(v,e)),oe(function(e,t,i,n){var s,o,r,a=[],l=[],h=t.length,u=e||function(e,t,i){for(var n=0,s=t.length;n<s;n++)ne(e,t[n],i);return i}(f||"*",i.nodeType?[i]:i,[]),c=!p||!e&&f?u:ve(u,a,p,i,n),d=m?v||(e?p:h||g)?[]:t:c;if(m&&m(c,d,i,n),g)for(s=ve(d,l),g(s,[],i,n),o=s.length;o--;)(r=s[o])&&(d[l[o]]=!(c[l[o]]=r));if(e){if(v||p){if(v){for(s=[],o=d.length;o--;)(r=d[o])&&s.push(c[o]=r);v(null,d=[],s,n)}for(o=d.length;o--;)(r=d[o])&&-1<(s=v?H(e,r):a[o])&&(e[s]=!(t[s]=r))}}else d=ve(d===t?d.splice(h,d.length):d),v?v(null,t,d,n):z.apply(t,d)})}function ye(e){for(var s,t,i,n=e.length,o=_.relative[e[0].type],r=o||_.relative[" "],a=o?1:0,l=me(function(e){return e===s},r,!0),h=me(function(e){return-1<H(s,e)},r,!0),u=[function(e,t,i){var n=!o&&(i||t!==w)||((s=t).nodeType?l(e,t,i):h(e,t,i));return s=null,n}];a<n;a++)if(t=_.relative[e[a].type])u=[me(ge(u),t)];else{if((t=_.filter[e[a].type].apply(null,e[a].matches))[T]){for(i=++a;i<n&&!_.relative[e[i].type];i++);return be(1<a&&ge(u),1<a&&fe(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(B,"$1"),t,a<i&&ye(e.slice(a,i)),i<n&&ye(e=e.slice(i)),i<n&&fe(e))}u.push(t)}return ge(u)}return pe.prototype=_.filters=_.pseudos,_.setFilters=new pe,m=ne.tokenize=function(e,t){var i,n,s,o,r,a,l,h=P[e+" "];if(h)return t?0:h.slice(0);for(r=e,a=[],l=_.preFilter;r;){for(o in i&&!(n=$.exec(r))||(n&&(r=r.slice(n[0].length)||r),a.push(s=[])),i=!1,(n=Y.exec(r))&&(i=n.shift(),s.push({value:i,type:n[0].replace(B," ")}),r=r.slice(i.length)),_.filter)!(n=G[o].exec(r))||l[o]&&!(n=l[o](n))||(i=n.shift(),s.push({value:i,type:o,matches:n}),r=r.slice(i.length));if(!i)break}return t?r.length:r?ne.error(e):P(e,a).slice(0)},d=ne.compile=function(e,t){var i,n=[],s=[],o=E[e+" "];if(!o){for(i=(t=t||m(e)).length;i--;)(o=ye(t[i]))[T]?n.push(o):s.push(o);(o=E(e,function(g,v){function e(e,t,i,n,s){var o,r,a,l=0,h="0",u=e&&[],c=[],d=w,p=e||y&&_.find.TAG("*",s),f=D+=null==d?1:Math.random()||.1,m=p.length;for(s&&(w=t===k||t||s);h!==m&&null!=(o=p[h]);h++){if(y&&o){for(r=0,t||o.ownerDocument===k||(x(o),i=!C);a=g[r++];)if(a(o,t||k,i)){n.push(o);break}s&&(D=f)}b&&((o=!a&&o)&&l--,e&&u.push(o))}if(l+=h,b&&h!==l){for(r=0;a=v[r++];)a(u,c,t,i);if(e){if(0<l)for(;h--;)u[h]||c[h]||(c[h]=A.call(n));c=ve(c)}z.apply(n,c),s&&!e&&0<c.length&&1<l+v.length&&ne.uniqueSort(n)}return s&&(D=f,w=d),u}var b=0<v.length,y=0<g.length;return b?oe(e):e}(s,n))).selector=e}return o},g=ne.select=function(e,t,i,n){var s,o,r,a,l,h="function"==typeof e&&e,u=!n&&m(e=h.selector||e);if(i=i||[],1===u.length){if(2<(o=u[0]=u[0].slice(0)).length&&"ID"===(r=o[0]).type&&f.getById&&9===t.nodeType&&C&&_.relative[o[1].type]){if(!(t=(_.find.ID(r.matches[0].replace(ie,c),t)||[])[0]))return i;h&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(s=G.needsContext.test(e)?0:o.length;s--&&(r=o[s],!_.relative[a=r.type]);)if((l=_.find[a])&&(n=l(r.matches[0].replace(ie,c),ee.test(o[0].type)&&de(t.parentNode)||t))){if(o.splice(s,1),!(e=n.length&&fe(o)))return z.apply(i,n),i;break}}return(h||d(e,u))(n,t,!C,i,!t||ee.test(e)&&de(t.parentNode)||t),i},f.sortStable=T.split("").sort(N).join("")===T,f.detectDuplicates=!!h,x(),f.sortDetached=re(function(e){return 1&e.compareDocumentPosition(k.createElement("div"))}),re(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ae("type|href|height|width",function(e,t,i){return i?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),f.attributes&&re(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ae("value",function(e,t,i){return i||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),re(function(e){return null==e.getAttribute("disabled")})||ae(O,function(e,t,i){var n;return i?void 0:!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),ne}(k);T.find=p,T.expr=p.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=p.uniqueSort,T.text=p.getText,T.isXMLDoc=p.isXML,T.contains=p.contains;function v(e,t,i){for(var n=[],s=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(s&&T(e).is(i))break;n.push(e)}return n}function b(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i}var y=T.expr.match.needsContext,_=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(e,i,n){if(T.isFunction(i))return T.grep(e,function(e,t){return!!i.call(e,t,e)!==n});if(i.nodeType)return T.grep(e,function(e){return e===i!==n});if("string"==typeof i){if(w.test(i))return T.filter(i,e,n);i=T.filter(i,e)}return T.grep(e,function(e){return-1<s.call(i,e)!==n})}T.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?T.find.matchesSelector(n,e)?[n]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,i=this.length,n=[],s=this;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t<i;t++)if(T.contains(s[t],this))return!0}));for(t=0;t<i;t++)T.find(e,s[t],n);return(n=this.pushStack(1<i?T.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(x(this,e||[],!1))},not:function(e){return this.pushStack(x(this,e||[],!0))},is:function(e){return!!x(this,"string"==typeof e&&y.test(e)?T(e):e||[],!1).length}});var D,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(T.fn.init=function(e,t,i){var n,s;if(!e)return this;if(i=i||D,"string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):T.isFunction(e)?void 0!==i.ready?i.ready(e):e(T):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),T.makeArray(e,this));if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!n[1]&&t)return!t||t.jquery?(t||i).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),_.test(n[1])&&T.isPlainObject(t))for(n in t)T.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(s=C.getElementById(n[2]))&&s.parentNode&&(this.length=1,this[0]=s),this.context=C,this.selector=e,this}).prototype=T.fn,D=T(C);var P=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};function N(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),i=t.length;return this.filter(function(){for(var e=0;e<i;e++)if(T.contains(this,t[e]))return!0})},closest:function(e,t){for(var i,n=0,s=this.length,o=[],r=y.test(e)||"string"!=typeof e?T(e,t||this.context):0;n<s;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(r?-1<r.index(i):1===i.nodeType&&T.find.matchesSelector(i,e))){o.push(i);break}return this.pushStack(1<o.length?T.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?s.call(T(e),this[0]):s.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return v(e,"parentNode")},parentsUntil:function(e,t,i){return v(e,"parentNode",i)},next:function(e){return N(e,"nextSibling")},prev:function(e){return N(e,"previousSibling")},nextAll:function(e){return v(e,"nextSibling")},prevAll:function(e){return v(e,"previousSibling")},nextUntil:function(e,t,i){return v(e,"nextSibling",i)},prevUntil:function(e,t,i){return v(e,"previousSibling",i)},siblings:function(e){return b((e.parentNode||{}).firstChild,e)},children:function(e){return b(e.firstChild)},contents:function(e){return e.contentDocument||T.merge([],e.childNodes)}},function(n,s){T.fn[n]=function(e,t){var i=T.map(this,s,e);return"Until"!==n.slice(-5)&&(t=e),t&&"string"==typeof t&&(i=T.filter(t,i)),1<this.length&&(E[n]||T.uniqueSort(i),P.test(n)&&i.reverse()),this.pushStack(i)}});var I,A=/\S+/g;function M(){C.removeEventListener("DOMContentLoaded",M),k.removeEventListener("load",M),T.ready()}T.Callbacks=function(n){n="string"==typeof n?function(e){var i={};return T.each(e.match(A)||[],function(e,t){i[t]=!0}),i}(n):T.extend({},n);function i(){for(o=n.once,t=s=!0;a.length;l=-1)for(e=a.shift();++l<r.length;)!1===r[l].apply(e[0],e[1])&&n.stopOnFalse&&(l=r.length,e=!1);n.memory||(e=!1),s=!1,o&&(r=e?[]:"")}var s,e,t,o,r=[],a=[],l=-1,h={add:function(){return r&&(e&&!s&&(l=r.length-1,a.push(e)),function i(e){T.each(e,function(e,t){T.isFunction(t)?n.unique&&h.has(t)||r.push(t):t&&t.length&&"string"!==T.type(t)&&i(t)})}(arguments),e&&!s&&i()),this},remove:function(){return T.each(arguments,function(e,t){for(var i;-1<(i=T.inArray(t,r,i));)r.splice(i,1),i<=l&&l--}),this},has:function(e){return e?-1<T.inArray(e,r):0<r.length},empty:function(){return r=r&&[],this},disable:function(){return o=a=[],r=e="",this},disabled:function(){return!r},lock:function(){return o=a=[],e||(r=e=""),this},locked:function(){return!!o},fireWith:function(e,t){return o||(t=[e,(t=t||[]).slice?t.slice():t],a.push(t),s||i()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!t}};return h},T.extend({Deferred:function(e){var o=[["resolve","done",T.Callbacks("once memory"),"resolved"],["reject","fail",T.Callbacks("once memory"),"rejected"],["notify","progress",T.Callbacks("memory")]],s="pe
1nding",r={state:function(){return s},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var s=arguments;return T.Deferred(function(n){T.each(o,function(e,t){var i=T.isFunction(s[e])&&s[e];a[t[1]](function(){var e=i&&i.apply(this,arguments);e&&T.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[t[0]+"With"](this===r?n.promise():this,i?[e]:arguments)})}),s=null}).promise()},promise:function(e){return null!=e?T.extend(e,r):r}},a={};return r.pipe=r.then,T.each(o,function(e,t){var i=t[2],n=t[3];r[t[1]]=i.add,n&&i.add(function(){s=n},o[1^e][2].disable,o[2][2].lock),a[t[0]]=function(){return a[t[0]+"With"](this===a?r:this,arguments),this},a[t[0]+"With"]=i.fireWith}),r.promise(a),e&&e.call(a,a),a},when:function(e){function t(t,i,n){return function(e){i[t]=this,n[t]=1<arguments.length?u.call(arguments):e,n===s?h.notifyWith(i,n):--l||h.resolveWith(i,n)}}var s,i,n,o=0,r=u.call(arguments),a=r.length,l=1!==a||e&&T.isFunction(e.promise)?a:0,h=1===l?e:T.Deferred();if(1<a)for(s=new Array(a),i=new Array(a),n=new Array(a);o<a;o++)r[o]&&T.isFunction(r[o].promise)?r[o].promise().progress(t(o,i,s)).done(t(o,n,r)).fail(h.reject):--l;return l||h.resolveWith(n,r),h.promise()}}),T.fn.ready=function(e){return T.ready.promise().done(e),this},T.extend({isReady:!1,readyWait:1,holdReady:function(e){e?T.readyWait++:T.ready(!0)},ready:function(e){(!0===e?--T.readyWait:T.isReady)||((T.isReady=!0)!==e&&0<--T.readyWait||(I.resolveWith(C,[T]),T.fn.triggerHandler&&(T(C).triggerHandler("ready"),T(C).off("ready"))))}}),T.ready.promise=function(e){return I||(I=T.Deferred(),"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?k.setTimeout(T.ready):(C.addEventListener("DOMContentLoaded",M),k.addEventListener("load",M))),I.promise(e)},T.ready.promise();function z(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}var F=function(e,t,i,n,s,o,r){var a=0,l=e.length,h=null==i;if("object"===T.type(i))for(a in s=!0,i)F(e,t,a,i[a],!0,o,r);else if(void 0!==n&&(s=!0,T.isFunction(n)||(r=!0),h&&(t=r?(t.call(e,n),null):(h=t,function(e,t,i){return h.call(T(e),i)})),t))for(;a<l;a++)t(e[a],i,r?n:n.call(e[a],a,t(e[a],i)));return s?e:h?t.call(e):l?t(e[0],i):o};function H(){this.expando=T.expando+H.uid++}H.uid=1,H.prototype={register:function(e,t){var i=t||{};return e.nodeType?e[this.expando]=i:Object.defineProperty(e,this.expando,{value:i,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!z(e))return{};var t=e[this.expando];return t||(t={},z(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var n,s=this.cache(e);if("string"==typeof t)s[t]=i;else for(n in t)s[n]=t[n];return s},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,i){var n;return void 0===t||t&&"string"==typeof t&&void 0===i?void 0!==(n=this.get(e,t))?n:this.get(e,T.camelCase(t)):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n,s,o=e[this.expando];if(void 0!==o){if(void 0===t)this.register(e);else{i=(n=T.isArray(t)?t.concat(t.map(T.camelCase)):(s=T.camelCase(t),t in o?[t,s]:(n=s)in o?[n]:n.match(A)||[])).length;for(;i--;)delete o[n[i]]}void 0!==t&&!T.isEmptyObject(o)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var O=new H,R=new H,W=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,L=/[A-Z]/g;function j(e,t,i){var n;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(L,"-$&").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:W.test(i)?T.parseJSON(i):i)}catch(e){}R.set(e,t,i)}else i=void 0;return i}T.extend({hasData:function(e){return R.hasData(e)||O.hasData(e)},data:function(e,t,i){return R.access(e,t,i)},removeData:function(e,t){R.remove(e,t)},_data:function(e,t,i){return O.access(e,t,i)},_removeData:function(e,t){O.remove(e,t)}}),T.fn.extend({data:function(n,e){var t,i,s,o=this[0],r=o&&o.attributes;if(void 0!==n)return"object"==typeof n?this.each(function(){R.set(this,n)}):F(this,function(t){var e,i;if(o&&void 0===t){if(void 0!==(e=R.get(o,n)||R.get(o,n.replace(L,"-$&").toLowerCase())))return e;if(i=T.camelCase(n),void 0!==(e=R.get(o,i)))return e;if(void 0!==(e=j(o,i,void 0)))return e}else i=T.camelCase(n),this.each(function(){var e=R.get(this,i);R.set(this,i,t),-1<n.indexOf("-")&&void 0!==e&&R.set(this,n,t)})},null,e,1<arguments.length,null,!0);if(this.length&&(s=R.get(o),1===o.nodeType&&!O.get(o,"hasDataAttrs"))){for(t=r.length;t--;)r[t]&&(0===(i=r[t].name).indexOf("data-")&&(i=T.camelCase(i.slice(5)),j(o,i,s[i])));O.set(o,"hasDataAttrs",!0)}return s},removeData:function(e){return this.each(function(){R.remove(this,e)})}}),T.extend({queue:function(e,t,i){var n;return e?(t=(t||"fx")+"queue",n=O.get(e,t),i&&(!n||T.isArray(i)?n=O.access(e,t,T.makeArray(i)):n.push(i)),n||[]):void 0},dequeue:function(e,t){t=t||"fx";var i=T.queue(e,t),n=i.length,s=i.shift(),o=T._queueHooks(e,t);"inprogress"===s&&(s=i.shift(),n--),s&&("fx"===t&&i.unshift("inprogress"),delete o.stop,s.call(e,function(){T.dequeue(e,t)},o)),!n&&o&&o.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return O.get(e,i)||O.access(e,i,{empty:T.Callbacks("once memory").add(function(){O.remove(e,[t+"queue",i])})})}}),T.fn.extend({queue:function(t,i){var e=2;return"string"!=typeof t&&(i=t,t="fx",e--),arguments.length<e?T.queue(this[0],t):void 0===i?this:this.each(function(){var e=T.queue(this,t,i);T._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&T.dequeue(this,t)})},dequeue:function(e){return this.each(function(){T.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function i(){--s||o.resolveWith(r,[r])}var n,s=1,o=T.Deferred(),r=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=O.get(r[a],e+"queueHooks"))&&n.empty&&(s++,n.empty.add(i));return i(),o.promise(t)}});function q(e,t){return e=t||e,"none"===T.css(e,"display")||!T.contains(e.ownerDocument,e)}var B=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,$=new RegExp("^(?:([+-])=|)("+B+")([a-z%]*)$","i"),Y=["Top","Right","Bottom","Left"];function V(e,t,i,n){var s,o=1,r=20,a=n?function(){return n.cur()}:function(){return T.css(e,t,"")},l=a(),h=i&&i[3]||(T.cssNumber[t]?"":"px"),u=(T.cssNumber[t]||"px"!==h&&+l)&&$.exec(T.css(e,t));if(u&&u[3]!==h)for(h=h||u[3],i=i||[],u=+l||1;u/=o=o||".5",T.style(e,t,u+h),o!==(o=a()/l)&&1!==o&&--r;);return i&&(u=+u||+l||0,s=i[1]?u+(i[1]+1)*i[2]:+i[2],n&&(n.unit=h,n.start=u,n.end=s)),s}var U=/^(?:checkbox|radio)$/i,K=/<([\w:-]+)/,G=/^$|\/(?:java|ecma)script/i,X={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Z(e,t){var i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&T.nodeName(e,t)?T.merge([e],i):i}function J(e,t){for(var i=0,n=e.length;i<n;i++)O.set(e[i],"globalEval",!t||O.get(t[i],"globalEval"))}X.optgroup=X.option,X.tbody=X.tfoot=X.colgroup=X.caption=X.thead,X.th=X.td;var Q,ee,te=/<|&#?\w+;/;function ie(e,t,i,n,s){for(var o,r,a,l,h,u,c=t.createDocumentFragment(),d=[],p=0,f=e.length;p<f;p++)if((o=e[p])||0===o)if("object"===T.type(o))T.merge(d,o.nodeType?[o]:o);else if(te.test(o)){for(r=r||c.appendChild(t.createElement("div")),a=(K.exec(o)||["",""])[1].toLowerCase(),l=X[a]||X._default,r.innerHTML=l[1]+T.htmlPrefilter(o)+l[2],u=l[0];u--;)r=r.lastChild;T.merge(d,r.childNodes),(r=c.firstChild).textContent=""}else d.push(t.createTextNode(o));for(c.textContent="",p=0;o=d[p++];)if(n&&-1<T.inArray(o,n))s&&s.push(o);else if(h=T.contains(o.ownerDocument,o),r=Z(c.appendChild(o),"script"),h&&J(r),i)for(u=0;o=r[u++];)G.test(o.type||"")&&i.push(o);return c}Q=C.createDocumentFragment().appendChild(C.createElement("div")),(ee=C.createElement("input")).setAttribute("type","radio"),ee.setAttribute("checked","checked"),ee.setAttribute("name","t"),Q.appendChild(ee),g.checkClone
vendor: 43,734 bytes, line 1
1=Q.cloneNode(!0).cloneNode(!0).lastChild.checked,Q.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!Q.cloneNode(!0).lastChild.defaultValue;var ne=/^key/,se=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,oe=/^([^.]*)(?:\.(.+)|)/;function re(){return!0}function ae(){return!1}function le(){try{return C.activeElement}catch(e){}}function he(e,t,i,n,s,o){var r,a;if("object"==typeof t){for(a in"string"!=typeof i&&(n=n||i,i=void 0),t)he(e,a,i,n,t[a],o);return e}if(null==n&&null==s?(s=i,n=i=void 0):null==s&&("string"==typeof i?(s=n,n=void 0):(s=n,n=i,i=void 0)),!1===s)s=ae;else if(!s)return e;return 1===o&&(r=s,(s=function(e){return T().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=T.guid++)),e.each(function(){T.event.add(this,t,s,n,i)})}T.event={global:{},add:function(t,e,i,n,s){var o,r,a,l,h,u,c,d,p,f,m,g=O.get(t);if(g)for(i.handler&&(i=(o=i).handler,s=o.selector),i.guid||(i.guid=T.guid++),(l=g.events)||(l=g.events={}),(r=g.handle)||(r=g.handle=function(e){return void 0!==T&&T.event.triggered!==e.type?T.event.dispatch.apply(t,arguments):void 0}),h=(e=(e||"").match(A)||[""]).length;h--;)p=m=(a=oe.exec(e[h])||[])[1],f=(a[2]||"").split(".").sort(),p&&(c=T.event.special[p]||{},p=(s?c.delegateType:c.bindType)||p,c=T.event.special[p]||{},u=T.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&T.expr.match.needsContext.test(s),namespace:f.join(".")},o),(d=l[p])||((d=l[p]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,n,f,r)||t.addEventListener&&t.addEventListener(p,r)),c.add&&(c.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),s?d.splice(d.delegateCount++,0,u):d.push(u),T.event.global[p]=!0)},remove:function(e,t,i,n,s){var o,r,a,l,h,u,c,d,p,f,m,g=O.hasData(e)&&O.get(e);if(g&&(l=g.events)){for(h=(t=(t||"").match(A)||[""]).length;h--;)if(p=m=(a=oe.exec(t[h])||[])[1],f=(a[2]||"").split(".").sort(),p){for(c=T.event.special[p]||{},d=l[p=(n?c.delegateType:c.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=o=d.length;o--;)u=d[o],!s&&m!==u.origType||i&&i.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(o,1),u.selector&&d.delegateCount--,c.remove&&c.remove.call(e,u));r&&!d.length&&(c.teardown&&!1!==c.teardown.call(e,f,g.handle)||T.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)T.event.remove(e,p+t[h],i,n,!0);T.isEmptyObject(l)&&O.remove(e,"handle events")}},dispatch:function(e){e=T.event.fix(e);var t,i,n,s,o,r=[],a=u.call(arguments),l=(O.get(this,"events")||{})[e.type]||[],h=T.event.special[e.type]||{};if((a[0]=e).delegateTarget=this,!h.preDispatch||!1!==h.preDispatch.call(this,e)){for(r=T.event.handlers.call(this,e,l),t=0;(s=r[t++])&&!e.isPropagationStopped();)for(e.currentTarget=s.elem,i=0;(o=s.handlers[i++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(n=((T.event.special[o.origType]||{}).handle||o.handler).apply(s.elem,a))&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return h.postDispatch&&h.postDispatch.call(this,e),e.result}},handlers:function(e,t){var i,n,s,o,r=[],a=t.delegateCount,l=e.target;if(a&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(n=[],i=0;i<a;i++)void 0===n[s=(o=t[i]).selector+" "]&&(n[s]=o.needsContext?-1<T(s,this).index(l):T.find(s,this,null,[l]).length),n[s]&&n.push(o);n.length&&r.push({elem:l,handlers:n})}return a<t.length&&r.push({elem:this,handlers:t.slice(a)}),r},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var i,n,s,o=t.button;return null==e.pageX&&null!=t.clientX&&(n=(i=e.target.ownerDocument||C).documentElement,s=i.body,e.pageX=t.clientX+(n&&n.scrollLeft||s&&s.scrollLeft||0)-(n&&n.clientLeft||s&&s.clientLeft||0),e.pageY=t.clientY+(n&&n.scrollTop||s&&s.scrollTop||0)-(n&&n.clientTop||s&&s.clientTop||0)),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},fix:function(e){if(e[T.expando])return e;var t,i,n,s=e.type,o=e,r=this.fixHooks[s];for(r||(this.fixHooks[s]=r=se.test(s)?this.mouseHooks:ne.test(s)?this.keyHooks:{}),n=r.props?this.props.concat(r.props):this.props,e=new T.Event(o),t=n.length;t--;)e[i=n[t]]=o[i];return e.target||(e.target=C),3===e.target.nodeType&&(e.target=e.target.parentNode),r.filter?r.filter(e,o):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==le()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===le()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&T.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return T.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},T.Event=function(e,t){return this instanceof T.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?re:ae):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||T.now(),void(this[T.expando]=!0)):new T.Event(e,t)},T.Event.prototype={constructor:T.Event,isDefaultPrevented:ae,isPropagationStopped:ae,isImmediatePropagationStopped:ae,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=re,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=re,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=re,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,s){T.event.special[e]={delegateType:s,bindType:s,handle:function(e){var t,i=e.relatedTarget,n=e.handleObj;return i&&(i===this||T.contains(this,i))||(e.type=n.origType,t=n.handler.apply(this,arguments),e.type=s),t}}}),T.fn.extend({on:function(e,t,i,n){return he(this,e,t,i,n)},one:function(e,t,i,n){return he(this,e,t,i,n,1)},off:function(e,t,i){var n,s;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,T(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=ae),this.each(function(){T.event.remove(this,e,i,t)});for(s in e)this.off(s,t,e[s]);return this}});var ue=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ce=/<script|<style|<link/i,de=/checked\s*(?:[^=]|=\s*.checked.)/i,pe=/^true\/(.*)/,fe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function me(e,t){return T.nodeName(e,"table")&&T.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ge(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ve(e){var t=pe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function be(e,t){var i,n,s,o,r,a,l,h;if(1===t.nodeType){if(O.hasData(e)&&(o=O.access(e),r=O.set(t,o),h=o.events))for(s in delete r.handle,r.events={},h)for(i=0,n=h[s].length;i<n;i++)T.event.add(t,s,h[s][i]);R.hasData(e)&&(a=R.access(e),l=T.extend({},a),R.set(t,l))}}function ye(i,n,s,o){n=m.apply([],n);var e,t,r,a,l,h,u=0,c=i.length,d=c-1,p=n[0],f=T.isFunction(p);if(f||1<c&&"string"==typeof p&&!g.checkClone&&de.test(p))return i.each(function(e){var t=i.eq(e);f&&(n[0]=p.call(this,e,t.html())),ye(t,n,s,o)});if(c&&(t=(e=ie(n,i[0].ownerDocument,!1,i,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(a=(r=T.map(Z(e,"script"),ge)).length;u<c;u++)l=e,u!==d&&(l=T.clone(l,!0,!0),a&&T.merge(r,Z(l,"script"))),s.call(i[u],l,u);if(a)for(h=r[r.length-1].ownerDocument,T.map(r,ve),u=0;u<a;u++)l=r[u],G.test(l.type||"")&&!O.access(l,"globalEval")&&T.contains(h,l)&&(l.src?T._evalUrl&&T._evalUrl(l.src):T.globalEval(l.textContent.replace(fe,"")))}return i}function _e(e,t,i){for(var n,s=t?T.filter(t,e):e,o=0;null!=(n=s[o]);o++)i||1!==n.nodeType||T.cleanData(Z(n)),n.parentNode&&(i&&T.contains(n.ownerDocument,n)&&J(Z(n,"script")),n.parentNode.removeChild(n));return e}T.extend({htmlPrefilter:function(e){return e.replace(ue,"<$1></$2>")},clone:function(e,t,i){var n,s,o,r,a,l,h,u=e.cloneNode(!0),c=T.contains(e.ownerDocument,e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(r=Z(u),n=0,s=(o=Z(e)).length;n<s;n++)a=o[n],l=r[n],void 0,"input"===(h=l.nodeName.toLowerCase())&&U.test(a.type)?l.checked=a.checked:"input"!==h&&"textarea"!==h||(l.defaultValue=a.defaultValue);if(t)if(i)for(o=o||Z(e),r=r||Z(u),n=0,s=o.length;n<s;n++)be(o[n],r[n]);else be(e,u);return 0<(r=Z(u,"script")).length&&J(r,!c&&Z(e,"script")),u},cleanData:function(e){for(var t,i,n,s=T.event.special,o=0;void 0!==(i=e[o]);o++)if(z(i)){if(t=i[O.expando]){if(t.events)for(n in t.events)s[n]?T.event.remove(i,n):T.removeEvent(i,n,t.handle);i[O.expando]=void 0}i[R.expando]&&(i[R.expando]=void 0)}}}),T.fn.extend({domManip:ye,detach:function(e){return _e(this,e,!0)},remove:function(e){return _e(this,e)},text:function(e){return F(this,function(e){return void 0===e?T.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return ye(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||me(this,e).appendChild(e)})},prepend:function(){return ye(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=me(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return ye(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return ye(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(Z(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return T.clone(this,e,t)})},html:function(e){return F(this,function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ce.test(e)&&!X[(K.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(T.cleanData(Z(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var i=[];return ye(this,arguments,function(e){var t=this.parentNode;T.inArray(this,i)<0&&(T.cleanData(Z(this)),t&&t.replaceChild(e,this))},i)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,r){T.fn[e]=function(e){for(var t,i=[],n=T(e),s=n.length-1,o=0;o<=s;o++)t=o===s?this:this.clone(!0),T(n[o])[r](t),a.apply(i,t.get());return this.pushStack(i)}});var we,xe={HTML:"block",BODY:"block"};function ke(e,t){var i=T(t.createElement(e)).appendTo(t.body),n=T.css(i[0],"display");return i.detach(),n}function Ce(e){var t=C,i=xe[e];return i||("none"!==(i=ke(e,t))&&i||((t=(we=(we||T("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),i=ke(e,t),we.detach()),xe[e]=i),i}function Te(e,t,i,n){var s,o,r={};for(o in t)r[o]=e.style[o],e.style[o]=t[o];for(o in s=i.apply(e,n||[]),t)e.style[o]=r[o];return s}var De=/^margin/,Se=new RegExp("^("+B+")(?!px)[a-z%]+$","i"),Pe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=k),t.getComputedStyle(e)},Ee=C.documentElement;function Ne(e,t,i){var n,s,o,r,a=e.style;return""!==(r=(i=i||Pe(e))?i.getPropertyValue(t)||i[t]:void 0)&&void 0!==r||T.contains(e.ownerDocument,e)||(r=T.style(e,t)),i&&!g.pixelMarginRight()&&Se.test(r)&&De.test(t)&&(n=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=i.width,a.width=n,a.minWidth=s,a.maxWidth=o),void 0!==r?r+"":r}function Ie(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}!function(){var t,i,n,s,o=C.createElement("div"),r=C.createElement("div");if(r.style){function e(){r.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",r.innerHTML="",Ee.appendChild(o);var e=k.getComputedStyle(r);t="1%"!==e.top,s="2px"===e.marginLeft,i="4px"===e.width,r.style.marginRight="50%",n="4px"===e.marginRight,Ee.removeChild(o)}r.style.backgroundClip="content-box",r.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===r.style.backgroundClip,o.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",o.appendChild(r),T.extend(g,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return null==i&&e(),i},pixelMarginRight:function(){return null==i&&e(),n},reliableMarginLeft:function(){return null==i&&e(),s},reliableMarginRight:function(){var e,t=r.appendChild(C.createElement("div"));return t.style.cssText=r.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",r.style.width="1px",Ee.appendChild(o),e=!parseFloat(k.getComputedStyle(t).marginRight),Ee.removeChild(o),r.removeChild(t),e}})}}();var Ae=/^(none|table(?!-c[ea]).+)/,Me={position:"absolute",visibility:"hidden",display:"block"},ze={letterSpacing:"0",fontWeight:"400"},Fe=["Webkit","O","Moz","ms"],He=C.createElement("div").style;function Oe(e){if(e in He)return e;for(var t=e[0].toUpperCase()+e.slice(1),i=Fe.length;i--;)if((e=Fe[i]+t)in He)return e}function Re(e,t,i){var n=$.exec(t);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):t}function We(e,t,i,n,s){for(var o=i===(n?"border":"content")?4:"width"===t?1:0,r=0;o<4;o+=2)"margin"===i&&(r+=T.css(e,i+Y[o],!0,s)),n?("content"===i&&(r-=T.css(e,"padding"+Y[o],!0,s)),"margin"!==i&&(r-=T.css(e,"border"+Y[o]+"Width",!0,s))):(r+=T.css(e,"padding"+Y[o],!0,s),"padding"!==i&&(r+=T.css(e,"border"+Y[o]+"Width",!0,s)));return r}function Le(e,t,i){var n=!0,s="width"===t?e.offsetWidth:e.offsetHeight,o=Pe(e),r="border-box"===T.css(e,"boxSizing",!1,o);if(s<=0||null==s){if(((s=Ne(e,t,o))<0||null==s)&&(s=e.style[t]),Se.test(s))return s;n=r&&(g.boxSizingReliable()||s===e.style[t]),s=parseFloat(s)||0}return s+We(e,t,i||(r?"border":"content"),n,o)+"px"}function je(e,t){for(var i,n,s,o=[],r=0,a=e.length;r<a;r++)(n=e[r]).style&&(o[r]=O.get(n,"olddisplay"),i=n.style.display,t?(o[r]||"none"!==i||(n.style.display=""),""===n.style.display&&q(n)&&(o[r]=O.access(n,"olddisplay",Ce(n.nodeName)))):(s=q(n),"none"===i&&s||O.set(n,"olddisplay",s?i:T.css(n,"display"))));for(r=0;r<a;r++)(n=e[r]).style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?o[r]||"":"none"));return e}function qe(e,t,i,n,s){return new qe.prototype.init(e,t,i,n,s)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=Ne(e,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var s,o,r,a=T.camelCase(t),l=e.style;return t=T.cssProps[a]||(T.cssProps[a]=Oe(a)||a),r=T.cssHooks[t]||T.cssHooks[a],void 0===i?r&&"get"in r&&void 0!==(s=r.get(e,!1,n))?s:l[t]:("string"===(o=typeof i)&&(s=$.exec(i))&&s[1]&&(i=V(e,t,s),o="number"),void(null!=i&&i==i&&("number"===o&&(i+=s&&s[3]||(T.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==i||0!==t.indexOf("background")||(l[t]="inherit"),r&&"set"in r&&void 0===(i=r.set(e,i,n))||(l[t]=i))))}},css:function(e,t,i,n){var s,o,r,a=T.camelCase(t);return t=T.cssProps[a]||(T.cssProps[a]=Oe(a)||a),(r=T.cssHooks[t]||T.cssHooks[a])&&"get"in r&&(s=r.get(e,!0,i)),void 0===s&&(s=Ne(e,t,n)),"normal"===s&&t in ze&&(s=ze[t]),""===i||i?(o=parseFloat(s),!0===i||isFinite(o)?o||0:s):s}}),T.each(["height","width"],function(e,r){T.cssHooks[r]={get:function(e,t,i){return t?Ae.test(T.css(e,"display"))&&0===e.offsetWidth?Te(e,Me,function(){return Le(e,r,i)}):Le(e,r,i):void 0},set:function(e,t,i){var n,s=i&&Pe(e),o=i&&We(e,r,i,"border-box"===T.css(e,"boxSizing",!1,s),s);return o&&(n=$.exec(t))&&"px"!==(n[3]||"px")&&(e.style[r]=t,t=T.css(e,r)),Re(0,t,o)}}}),T.cssHooks.marginLeft=Ie(g.reliableMarginLeft,function(e,t){return t?(parseFloat(Ne(e,"marginLeft"))||e.getBoundingClientRect().left-Te(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px":void 0}),T.cssHooks.marginRight=Ie(g.reliableMarginRight,function(e,t){return t?Te(e,{display:"inline-block"},Ne,[e,"marginRight"]):void 0}),T.each({margin:"",padding:"",border:"Width"},function(s,o){T.cssHooks[s+o]={expand:function(e){for(var t=0,i={},n="string"==typeof e?e.split(" "):[e];t<4;t++)i[s+Y[t]+o]=n[t]||n[t-2]||n[0];return i}},De.test(s)||(T.cssHooks[s+o].set=Re)}),T.fn.extend({css:function(e,t){return F(this,function(e,t,i){var n,s,o={},r=0;if(T.isArray(t)){for(n=Pe(e),s=t.length;r<s;r++)o[t[r]]=T.css(e,t[r],!1,n);return o}return void 0!==i?T.style(e,t,i):T.css(e,t)},e,t,1<arguments.length)},show:function(){return je(this,!0)},hide:function(){return je(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){q(this)?T(this).show():T(this).hide()})}}),((T.Tween=qe).prototype={constructor:qe,init:function(e,t,i,n,s,o){this.elem=e,this.prop=i,this.easing=s||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=o||(T.cssNumber[i]?"":"px")},cur:function(){var e=qe.propHooks[this.prop];return e&&e.get?e.get(this):qe.propHooks._default.get(this)},run:function(e){var t,i=qe.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):qe.propHooks._default.set(this),this}}).init.prototype=qe.prototype,(qe.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[T.cssProps[e.prop]]&&!T.cssHooks[e.prop]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=qe.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=qe.prototype.init,T.fx.step={};var Be,$e,Ye,Ve,Ue,Ke=/^(?:toggle|show|hide)$/,Ge=/queueHooks$/;function Xe(){return k.setTimeout(function(){Be=void 0}),Be=T.now()}function Ze(e,t){var i,n=0,s={height:e};for(t=t?1:0;n<4;n+=2-t)s["margin"+(i=Y[n])]=s["padding"+i]=e;return t&&(s.opacity=s.width=e),s}function Je(e,t,i){for(var n,s=(Qe.tweeners[t]||[]).concat(Qe.tweeners["*"]),o=0,r=s.length;o<r;o++)if(n=s[o].call(i,t,e))return n}function Qe(o,e,t){var i,r,n=0,s=Qe.prefilters.length,a=T.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=Be||Xe(),t=Math.max(0,h.startTime+h.duration-e),i=1-(t/h.duration||0),n=0,s=h.tweens.length;n<s;n++)h.tweens[n].run(i);return a.notifyWith(o,[h,i,t]),i<1&&s?t:(a.resolveWith(o,[h]),!1)},h=a.promise({elem:o,props:T.extend({},e),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},t),originalProperties:e,originalOptions:t,startTime:Be||Xe(),duration:t.duration,tweens:[],createTween:function(e,t){var i=T.Tween(o,h.opts,e,t,h.opts.specialEasing[e]||h.opts.easing);return h.tweens.push(i),i},stop:function(e){var t=0,i=e?h.tweens.length:0;if(r)return this;for(r=!0;t<i;t++)h.tweens[t].run(1);return e?(a.notifyWith(o,[h,1,0]),a.resolveWith(o,[h,e])):a.rejectWith(o,[h,e]),this}}),u=h.props;for(function(e,t){var i,n,s,o,r;for(i in e)if(s=t[n=T.camelCase(i)],o=e[i],T.isArray(o)&&(s=o[1],o=e[i]=o[0]),i!==n&&(e[n]=o,delete e[i]),(r=T.cssHooks[n])&&"expand"in r)for(i in o=r.expand(o),delete e[n],o)i in e||(e[i]=o[i],t[i]=s);else t[n]=s}(u,h.opts.specialEasing);n<s;n++)if(i=Qe.prefilters[n].call(h,o,u,h.opts))return T.isFunction(i.stop)&&(T._queueHooks(h.elem,h.opts.queue).stop=T.proxy(i.stop,i)),i;return T.map(u,Je,h),T.isFunction(h.opts.start)&&h.opts.start.call(o,h),T.fx.timer(T.extend(l,{elem:o,anim:h,queue:h.opts.queue})),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always)}T.Animation=T.extend(Qe,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return V(i.elem,e,$.exec(t),i),i}]},tweener:function(e,t){for(var i,n=0,s=(e=T.isFunction(e)?(t=e,["*"]):e.match(A)).length;n<s;n++)i=e[n],Qe.tweeners[i]=Qe.tweeners[i]||[],Qe.tweeners[i].unshift(t)},prefilters:[function(t,e,i){var n,s,o,r,a,l,h,u=this,c={},d=t.style,p=t.nodeType&&q(t),f=O.get(t,"fxshow");for(n in i.queue||(null==(a=T._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,u.always(function(){u.always(function(){a.unqueued--,T.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(i.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===("none"===(h=T.css(t,"display"))?O.get(t,"olddisplay")||Ce(t.nodeName):h)&&"none"===T.css(t,"float")&&(d.display="inline-block")),i.overflow&&(d.overflow="hidden",u.always(function(){d.overflow=i.overflow[0],d.overflowX=i.overflow[1],d.overflowY=i.overflow[2]})),e)if(s=e[n],Ke.exec(s)){if(delete e[n],o=o||"toggle"===s,s===(p?"hide":"show")){if("show"!==s||!f||void 0===f[n])continue;p=!0}c[n]=f&&f[n]||T.style(t,n)}else h=void 0;if(T.isEmptyObject(c))"inline"===("none"===h?Ce(t.nodeName):h)&&(d.display=h);else for(n in f?"hidden"in f&&(p=f.hidden):f=O.access(t,"fxshow",{}),o&&(f.hidden=!p),p?T(t).show():u.done(function(){T(t).hide()}),u.done(function(){var e;for(e in O.remove(t,"fxshow"),c)T.style(t,e,c[e])}),c)r=Je(p?f[n]:0,n,u),n in f||(f[n]=r.start,p&&(r.end=r.start,r.start="width"===n||"height"===n?1:0))}],prefilter:function(e,t){t?Qe.prefilters.unshift(e):Qe.prefilters.push(e)}}),T.speed=function(e,t,i){var n=e&&"object"==typeof e?T.extend({},e):{complete:i||!i&&t||T.isFunction(e)&&e,duration:e,easing:i&&t||t&&!T.isFunction(t)&&t};return n.duration=T.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in T.fx.speeds?T.fx.speeds[n.duration]:T.fx.speeds._default,null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){T.isFunction(n.old)&&n.old.call(this),n.queue&&T.dequeue(this,n.queue)},n},T.fn.extend({fadeTo:function(e,t,i,n){return this.filter(q).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(t,e,i,n){function s(){var e=Qe(this,T.extend({},t),r);(o||O.get(this,"finish"))&&e.stop(!0)}var o=T.isEmptyObject(t),r=T.speed(e,i,n);return s.finish=s,o||!1===r.queue?this.each(s):this.queue(r.queue,s)},stop:function(s,e,o){function r(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof s&&(o=e,e=s,s=void 0),e&&!1!==s&&this.queue(s||"fx",[]),this.each(function(){var e=!0,t=null!=s&&s+"queueHooks",i=T.timers,n=O.get(this);if(t)n[t]&&n[t].stop&&r(n[t]);else for(t in n)n[t]&&n[t].stop&&Ge.test(t)&&r(n[t]);for(t=i.length;t--;)i[t].elem!==this||null!=s&&i[t].queue!==s||(i[t].anim.stop(o),e=!1,i.splice(t,1));!e&&o||T.dequeue(this,s)})},finish:function(r){return!1!==r&&(r=r||"fx"),this.each(function(){var e,t=O.get(this),i=t[r+"queue"],n=t[r+"queueHooks"],s=T.timers,o=i?i.length:0;for(t.finish=!0,T.queue(this,r,[]),n&&n.stop&&n.stop.call(this,!0),e=s.length;e--;)s[e].elem===this&&s[e].queue===r&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;e<o;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete t.finish})}}),T.each(["toggle","show","hide"],function(e,n){var s=T.fn[n];T.fn[n]=function(e,t,i){return null==e||"boolean"==typeof e?s.apply(this,arguments):this.animate(Ze(n,!0),e,t,i)}}),T.each({slideDown:Ze("show"),slideUp:Ze("hide"),slideToggle:Ze("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){T.fn[e]=function(e,t,i){return this.animate(n,e,t,i)}}),T.timers=[],T.fx.tick=function(){var e,t=0,i=T.timers;for(Be=T.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||T.fx.stop(),Be=void 0},T.fx.timer=function(e){T.timers.push(e),e()?T.fx.start():T.timers.pop()},T.fx.interval=13,T.fx.start=function(){$e=$e||k.setInterval(T.fx.tick,T.fx.interval)},T.fx.stop=function(){k.clearInterval($e),$e=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(n,e){return n=T.fx&&T.fx.speeds[n]||n,e=e||"fx",this.queue(e,function(e,t){var i=k.setTimeout(e,n);t.stop=function(){k.clearTimeout(i)}})},Ye=C.createElement("input"),Ve=C.createElement("select"),Ue=Ve.appendChild(C.createElement("option")),Ye.type="checkbox",g.checkOn=""!==Ye.value,g.optSelected=Ue.selected,Ve.disabled=!0,g.optDisabled=!Ue.disabled,(Ye=C.createElement("input")).value="t",Ye.type="radio",g.radioValue="t"===Ye.value;var et,tt=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return F(this,T.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){T.removeAttr(this,e)})}}),T.extend({attr:function(e,t,i){var n,s,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?T.prop(e,t,i):(1===o&&T.isXMLDoc(e)||(t=t.toLowerCase(),s=T.attrHooks[t]||(T.expr.match.bool.test(t)?et:void 0)),void 0!==i?null===i?void T.removeAttr(e,t):s&&"set"in s&&void 0!==(n=s.set(e,i,t))?n:(e.setAttribute(t,i+""),i):s&&"get"in s&&null!==(n=s.get(e,t))?n:null==(n=T.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&T.nodeName(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}},removeAttr:function(e,t){var i,n,s=0,o=t&&t.match(A);if(o&&1===e.nodeType)for(;i=o[s++];)n=T.propFix[i]||i,T.expr.match.bool.test(i)&&(e[n]=!1),e.removeAttribute(i)}}),et={set:function(e,t,i){return!1===t?T.removeAttr(e,i):e.setAttribute(i,i),i}},T.each(T.expr.match.bool.source.match(/\w+/g),function(e,t){var o=tt[t]||T.find.attr;tt[t]=function(e,t,i){var n,s;return i||(s=tt[t],tt[t]=n,n=null!=o(e,t,i)?t.toLowerCase():null,tt[t]=s),n}});var it=/^(?:input|select|textarea|button)$/i,nt=/^(?:a|area)$/i;T.fn.extend({prop:function(e,t){return F(this,T.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[T.propFix[e]||e]})}}),T.extend({prop:function(e,t,i){var n,s,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&T.isXMLDoc(e)||(t=T.propFix[t]||t,s=T.propHooks[t]),void 0!==i?s&&"set"in s&&void 0!==(n=s.set(e,i,t))?n:e[t]=i:s&&"get"in s&&null!==(n=s.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):it.test(e.nodeName)||nt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this});var st=/[\t\r\n\f]/g;function ot(e){return e.getAttribute&&e.getAttribute("class")||""}T.fn.extend({addClass:function(t){var e,i,n,s,o,r,a,l=0;if(T.isFunction(t))return this.each(function(e){T(this).addClass(t.call(this,e,ot(this)))});if("string"==typeof t&&t)for(e=t.match(A)||[];i=this[l++];)if(s=ot(i),n=1===i.nodeType&&(" "+s+" ").replace(st," ")){for(r=0;o=e[r++];)n.indexOf(" "+o+" ")<0&&(n+=o+" ");s!==(a=T.trim(n))&&i.setAttribute("class",a)}return this},removeClass:function(t){var e,i,n,s,o,r,a,l=0;if(T.isFunction(t))return this.each(function(e){T(this).removeClass(t.call(this,e,ot(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(A)||[];i=this[l++];)if(s=ot(i),n=1===i.nodeType&&(" "+s+" ").replace(st," ")){for(r=0;o=e[r++];)for(;-1<n.indexOf(" "+o+" ");)n=n.replace(" "+o+" "," ");s!==(a=T.trim(n))&&i.setAttribute("class",a)}return this},toggleClass:function(s,t){var o=typeof s;return"boolean"==typeof t&&"string"==o?t?this.addClass(s):this.removeClass(s):T.isFunction(s)?this.each(function(e){T(this).toggleClass(s.call(this,e,ot(this),t),t)}):this.each(function(){var e,t,i,n;if("string"==o)for(t=0,i=T(this),n=s.match(A)||[];e=n[t++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==s&&"boolean"!=o||((e=ot(this))&&O.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===s?"":O.get(this,"__className__")||""))})},hasClass:function(e){var t,i,n=0;for(t=" "+e+" ";i=this[n++];)if(1===i.nodeType&&-1<(" "+ot(i)+" ").replace(st," ").indexOf(t))return!0;return!1}});var rt=/\r/g,at=/[\x20\t\r\n\f]+/g;T.fn.extend({val:function(i){var n,e,s,t=this[0];return arguments.length?(s=T.isFunction(i),this.each(function(e){var t;1===this.nodeType&&(null==(t=s?i.call(this,e,T(this).val()):i)?t="":"number"==typeof t?t+="":T.isArray(t)&&(t=T.map(t,function(e){return null==e?"":e+""})),(n=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,t,"value")||(this.value=t))})):t?(n=T.valHooks[t.type]||T.valHooks[t.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(rt,""):null==e?"":e:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:T.trim(T.text(e)).replace(at," ")}},select:{get:function(e){for(var t,i,n=e.options,s=e.selectedIndex,o="select-one"===e.type||s<0,r=o?null:[],a=o?s+1:n.length,l=s<0?a:o?s:0;l<a;l++)if(((i=n[l]).selected||l===s)&&(g.optDisabled?!i.disabled:null===i.getAttribute("disabled"))&&(!i.parentNode.disabled||!T.nodeName(i.parentNode,"optgroup"))){if(t=T(i).val(),o)return t;r.push(t)}return r},set:function(e,t){for(var i,n,s=e.options,o=T.makeArray(t),r=s.length;r--;)((n=s[r]).selected=-1<T.inArray(T.valHooks.option.get(n),o))&&(i=!0);return i||(e.selectedIndex=-1),o}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(e,t){return T.isArray(t)?e.checked=-1<T.inArray(T(e).val(),t):void 0}},g.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var lt=/^(?:focusinfocus|focusoutblur)$/;T.extend(T.event,{trigger:function(e,t,i,n){var s,o,r,a,l,h,u,c=[i||C],d=f.call(e,"type")?e.type:e,p=f.call(e,"namespace")?e.namespace.split("."):[];if(o=r=i=i||C,3!==i.nodeType&&8!==i.nodeType&&!lt.test(d+T.event.triggered)&&(-1<d.indexOf(".")&&(d=(p=d.split(".")).shift(),p.sort()),l=d.indexOf(":")<0&&"on"+d,(e=e[T.expando]?e:new T.Event(d,"object"==typeof e&&e)).isTrigger=n?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:T.makeArray(t,[e]),u=T.event.special[d]||{},n||!u.trigger||!1!==u.trigger.apply(i,t))){if(!n&&!u.noBubble&&!T.isWindow(i)){for(a=u.delegateType||d,lt.test(a+d)||(o=o.parentNode);o;o=o.parentNode)c.push(o),r=o;r===(i.ownerDocument||C)&&c.push(r.defaultView||r.parentWindow||k)}for(s=0;(o=c[s++])&&!e.isPropagationStopped();)e.type=1<s?a:u.bindType||d,(h=(O.get(o,"events")||{})[e.type]&&O.get(o,"handle"))&&h.apply(o,t),(h=l&&o[l])&&h.apply&&z(o)&&(e.result=h.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,n||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(c.pop(),t)||!z(i)||l&&T.isFunction(i[d])&&!T.isWindow(i)&&((r=i[l])&&(i[l]=null),i[T.event.triggered=d](),T.event.triggered=void 0,r&&(i[l]=r)),e.result}},simulate:function(e,t,i){var n=T.extend(new T.Event,i,{type:e,isSimulated:!0});T.event.trigger(n,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each(function(){T.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];return i?T.event.trigger(e,t,i,!0):void 0}}),T.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,i){T.fn[i]=function(e,t){return 0<arguments.length?this.on(i,null,e,t):this.trigger(i)}}),T.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),g.focusin="onfocusin"in k,g.focusin||T.each({focus:"focusin",blur:"focusout"},function(i,n){function s(e){T.event.simulate(n,e.target,T.event.fix(e))}T.event.special[n]={setup:function(){var e=this.ownerDocument||this,t=O.access(e,n);t||e.addEventListener(i,s,!0),O.access(e,n,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=O.access(e,n)-1;t?O.access(e,n,t):(e.removeEventListener(i,s,!0),O.remove(e,n))}}});var ht=k.location,ut=T.now(),ct=/\?/;T.parseJSON=function(e){return JSON.parse(e+"")},T.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new k.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+e),t};var dt=/#.*$/,pt=/([?&])_=[^&]*/,ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,mt=/^(?:GET|HEAD)$/,gt=/^\/\//,vt={},bt={},yt="*/".concat("*"),_t=C.createElement("a");function wt(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var i,n=0,s=e.toLowerCase().match(A)||[];if(T.isFunction(t))for(;i=s[n++];)"+"===i[0]?(i=i.slice(1)||"*",(o[i]=o[i]||[]).unshift(t)):(o[i]=o[i]||[]).push(t)}}function xt(t,s,o,r){var a={},l=t===bt;function h(e){var n;return a[e]=!0,T.each(t[e]||[],function(e,t){var i=t(s,o,r);return"string"!=typeof i||l||a[i]?l?!(n=i):void 0:(s.dataTypes.unshift(i),h(i),!1)}),n}return h(s.dataTypes[0])||!a["*"]&&h("*")}function kt(e,t){var i,n,s=T.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((s[i]?e:n=n||{})[i]=t[i]);return n&&T.extend(!0,e,n),e}_t.href=ht.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ht.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ht.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":yt,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":T.parseJSON,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?kt(kt(e,T.ajaxSettings),t):kt(T.ajaxSettings,e)},ajaxPrefilter:wt(vt),ajaxTransport:wt(bt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var u,c,d,i,p,n,f,s,m=T.ajaxSetup({},t),g=m.context||m,v=m.context&&(g.nodeType||g.jquery)?T(g):T.event,b=T.Deferred(),y=T.Callbacks("once memory"),_=m.statusCode||{},o={},r={},w=0,a="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!i)for(i={};t=ft.exec(d);)i[t[1].toLowerCase()]=t[2];t=i[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?d:null},setRequestHeader:function(e,t){var i=e.toLowerCase();return w||(e=r[i]=r[i]||e,o[e]=t),this},overrideMimeType:function(e){return w||(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)_[t]=[_[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){var t=e||a;return u&&u.abort(t),l(0,t),this}};if(b.promise(x).complete=y.add,x.success=x.done,x.error=x.fail,m.url=((e||m.url||ht.href)+"").replace(dt,"").replace(gt,ht.protocol+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=T.trim(m.dataType||"*").toLowerCase().match(A)||[""],null==m.crossDomain){n=C.createElement("a");try{n.href=m.url,n.href=n.href,m.crossDomain=_t.protocol+"//"+_t.host!=n.protocol+"//"+n.host}catch(e){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=T.param(m.data,m.traditional)),xt(vt,m,t,x),2===w)return x;for(s in(f=T.event&&m.global)&&0==T.active++&&T.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!mt.test(m.type),c=m.url,m.hasContent||(m.data&&(c=m.url+=(ct.test(c)?"&":"?")+m.data,delete m.data),!1===m.cache&&(m.url=pt.test(c)?c.replace(pt,"$1_="+ut++):c+(ct.test(c)?"&":"?")+"_="+ut++)),m.ifModified&&(T.lastModified[c]&&x.setRequestHeader("If-Modified-Since",T.lastModified[c]),T.etag[c]&&x.setRequestHeader("If-None-Match",T.etag[c])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&x.setRequestHeader("Content-Type",m.contentType),x.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+yt+"; q=0.01":""):m.accepts["*"]),m.headers)x.setRequestHeader(s,m.headers[s]);if(m.beforeSend&&(!1===m.beforeSend.call(g,x,m)||2===w))return x.abort();for(s in a="abort",{success:1,error:1,complete:1})x[s](m[s]);if(u=xt(bt,m,t,x)){if(x.readyState=1,f&&v.trigger("ajaxSend",[x,m]),2===w)return x;m.async&&0<m.timeout&&(p=k.setTimeout(function(){x.abort("timeout")},m.timeout));try{w=1,u.send(o,l)}catch(e){if(!(w<2))throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,i,n){var s,o,r,a,l,h=t;2!==w&&(w=2,p&&k.clearTimeout(p),u=void 0,d=n||"",x.readyState=0<e?4:0,s=200<=e&&e<300||304===e,i&&(a=function(e,t,i){for(var n,s,o,r,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(s in a)if(a[s]&&a[s].test(n)){l.unshift(s);break}if(l[0]in i)o=l[0];else{for(s in i){if(!l[0]||e.converters[s+" "+l[0]]){o=s;break}r=r||s}o=o||r}return o?(o!==l[0]&&l.unshift(o),i[o]):void 0}(m,x,i)),a=function(e,t,i,n){var s,o,r,a,l,h={},u=e.dataTypes.slice();if(u[1])for(r in e.converters)h[r.toLowerCase()]=e.converters[r];for(o=u.shift();o;)if(e.responseFields[o]&&(i[e.responseFields[o]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(r=h[l+" "+o]||h["* "+o]))for(s in h)if((a=s.split(" "))[1]===o&&(r=h[l+" "+a[0]]||h["* "+a[0]])){!0===r?r=h[s]:!0!==h[s]&&(o=a[0],u.unshift(a[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(m,a,x,s),s?(m.ifModified&&((l=x.getResponseHeader("Last-Modified"))&&(T.lastModified[c]=l),(l=x.getResponseHeader("etag"))&&(T.etag[c]=l)),204===e||"HEAD"===m.type?h="nocontent":304===e?h="notmodified":(h=a.state,o=a.data,s=!(r=a.error))):(r=h,!e&&h||(h="error",e<0&&(e=0))),x.status=e,x.statusText=(t||h)+"",s?b.resolveWith(g,[o,h,x]):b.rejectWith(g,[x,h,r]),x.statusCode(_),_=void 0,f&&v.trigger(s?"ajaxSuccess":"ajaxError",[x,m,s?o:r]),y.fireWith(g,[x,h]),f&&(v.trigger("ajaxComplete",[x,m]),--T.active||T.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,i){return T.get(e,t,i,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],function(e,s){T[s]=function(e,t,i,n){return T.isFunction(t)&&(n=n||i,i=t,t=void 0),T.ajax(T.extend({url:e,type:s,dataType:n,data:t,success:i},T.isPlainObject(e)&&e))}}),T._evalUrl=function(e){return T.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},T.fn.extend({wrapAll:function(t){var e;return T.isFunction(t)?this.each(function(e){T(this).wrapAll(t.call(this,e))}):(this[0]&&(e=T(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(i){return T.isFunction(i)?this.each(function(e){T(this).wrapInner(i.call(this,e))}):this.each(function(){var e=T(this),t=e.contents();t.length?t.wrapAll(i):e.append(i)})},wrap:function(t){var i=T.isFunction(t);return this.each(function(e){T(this).wrapAll(i?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){T.nodeName(this,"body")||T(this).replaceWith(this.childNodes)}).end()}}),T.expr.filters.hidden=function(e){return!T.expr.filters.visible(e)},T.expr.filters.visible=function(e){return 0<e.offsetWidth||0<e.offsetHeight||0<e.getClientRects().length};var Ct=/%20/g,Tt=/\[\]$/,Dt=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,Pt=/^(?:input|select|textarea|keygen)/i;function Et(i,e,n,s){var t;if(T.isArray(e))T.each(e,function(e,t){n||Tt.test(i)?s(i,t):Et(i+"["+("object"==typeof t&&null!=t?e:"")+"]",t,n,s)});else if(n||"object"!==T.type(e))s(i,e);else for(t in e)Et(i+"["+t+"]",e[t],n,s)}T.param=function(e,t){function i(e,t){t=T.isFunction(t)?t():null==t?"":t,s[s.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)}var n,s=[];if(void 0===t&&(t=T.ajaxSettings&&T.ajaxSettings.traditional),T.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,function(){i(this.name,this.value)});else for(n in e)Et(n,e[n],t,i);return s.join("&").replace(Ct,"+")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Pt.test(this.nodeName)&&!St.test(e)&&(this.checked||!U.test(e))}).map(function(e,t){var i=T(this).val();return null==i?null:T.isArray(i)?T.map(i,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:i.replace(Dt,"\r\n")}}).get()}}),T.ajaxSettings.xhr=function(){try{return new k.XMLHttpRequest}catch(e){}};var Nt={0:200,1223:204},It=T.ajaxSettings.xhr();g.cors=!!It&&"withCredentials"in It,g.ajax=It=!!It,T.ajaxTransport(function(s){var o,r;return g.cors||It&&!s.crossDomain?{send:function(e,t){var i,n=s.xhr();if(n.open(s.type,s.url,s.async,s.username,s.password),s.xhrFields)for(i in s.xhrFields)n[i]=s.xhrFields[i];for(i in s.mimeType&&n.overrideMimeType&&n.overrideMimeType(s.mimeType),s.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)n.setRequestHeader(i,e[i]);o=function(e){return function(){o&&(o=r=n.onload=n.onerror=n.onabort=n.onreadystatechange=null,"abort"===e?n.abort():"error"===e?"number"!=typeof n.status?t(0,"error"):t(n.status,n.statusText):t(Nt[n.status]||n.status,n.statusText,"text"!==(n.responseType||"text")||"string"!=typeof n.responseText?{binary:n.response}:{text:n.responseText},n.getAllResponseHeaders()))}},n.onload=o(),r=n.onerror=o("error"),void 0!==n.onabort?n.onabort=r:n.onreadystatechange=function(){4===n.readyState&&k.setTimeout(function(){o&&r()})},o=o("abort");try{n.send(s.hasContent&&s.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}:void 0}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),T.ajaxTransport("script",function(i){var n,s;if(i.crossDomain)return{send:function(e,t){n=T("<script>
1").prop({charset:i.scriptCharset,src:i.url}).on("load error",s=function(e){n.remove(),s=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(n[0])},abort:function(){s&&s()}}});var At=[],Mt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=At.pop()||T.expando+"_"+ut++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",function(e,t,i){var n,s,o,r=!1!==e.jsonp&&(Mt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Mt.test(e.data)&&"data");return r||"jsonp"===e.dataTypes[0]?(n=e.jsonpCallback=T.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,r?e[r]=e[r].replace(Mt,"$1"+n):!1!==e.jsonp&&(e.url+=(ct.test(e.url)?"&":"?")+e.jsonp+"="+n),e.converters["script json"]=function(){return o||T.error(n+" was not called"),o[0]},e.dataTypes[0]="json",s=k[n],k[n]=function(){o=arguments},i.always(function(){void 0===s?T(k).removeProp(n):k[n]=s,e[n]&&(e.jsonpCallback=t.jsonpCallback,At.push(n)),o&&T.isFunction(s)&&s(o[0]),o=s=void 0}),"script"):void 0}),T.parseHTML=function(e,t,i){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(i=t,t=!1),t=t||C;var n=_.exec(e),s=!i&&[];return n?[t.createElement(n[1])]:(n=ie([e],t,s),s&&s.length&&T(s).remove(),T.merge([],n.childNodes))};var zt=T.fn.load;function Ft(e){return T.isWindow(e)?e:9===e.nodeType&&e.defaultView}T.fn.load=function(e,t,i){if("string"!=typeof e&&zt)return zt.apply(this,arguments);var n,s,o,r=this,a=e.indexOf(" ");return-1<a&&(n=T.trim(e.slice(a)),e=e.slice(0,a)),T.isFunction(t)?(i=t,t=void 0):t&&"object"==typeof t&&(s="POST"),0<r.length&&T.ajax({url:e,type:s||"GET",dataType:"html",data:t}).done(function(e){o=arguments,r.html(n?T("<div>").append(T.parseHTML(e)).find(n):e)}).always(i&&function(e,t){r.each(function(){i.apply(this,o||[e.responseText,t,e])})}),this},T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.expr.filters.animated=function(t){return T.grep(T.timers,function(e){return t===e.elem}).length},T.offset={setOffset:function(e,t,i){var n,s,o,r,a,l,h=T.css(e,"position"),u=T(e),c={};"static"===h&&(e.style.position="relative"),a=u.offset(),o=T.css(e,"top"),l=T.css(e,"left"),s=("absolute"===h||"fixed"===h)&&-1<(o+l).indexOf("auto")?(r=(n=u.position()).top,n.left):(r=parseFloat(o)||0,parseFloat(l)||0),T.isFunction(t)&&(t=t.call(e,i,T.extend({},a))),null!=t.top&&(c.top=t.top-a.top+r),null!=t.left&&(c.left=t.left-a.left+s),"using"in t?t.using.call(e,c):u.css(c)}},T.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){T.offset.setOffset(this,t,e)});var e,i,n=this[0],s={top:0,left:0},o=n&&n.ownerDocument;return o?(e=o.documentElement,T.contains(e,n)?(s=n.getBoundingClientRect(),i=Ft(o),{top:s.top+i.pageYOffset-e.clientTop,left:s.left+i.pageXOffset-e.clientLeft}):s):void 0},position:function(){if(this[0]){var e,t,i=this[0],n={top:0,left:0};return"fixed"===T.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),T.nodeName(e[0],"html")||(n=e.offset()),n.top+=T.css(e[0],"borderTopWidth",!0),n.left+=T.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-T.css(i,"marginTop",!0),left:t.left-n.left-T.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||Ee})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,s){var o="pageYOffset"===s;T.fn[t]=function(e){return F(this,function(e,t,i){var n=Ft(e);return void 0===i?n?n[s]:e[t]:void(n?n.scrollTo(o?n.pageXOffset:i,o?i:n.pageYOffset):e[t]=i)},t,e,arguments.length)}}),T.each(["top","left"],function(e,i){T.cssHooks[i]=Ie(g.pixelPosition,function(e,t){return t?(t=Ne(e,i),Se.test(t)?T(e).position()[i]+"px":t):void 0})}),T.each({Height:"height",Width:"width"},function(o,r){T.each({padding:"inner"+o,content:r,"":"outer"+o},function(n,e){T.fn[e]=function(e,t){var i=arguments.length&&(n||"boolean"!=typeof e),s=n||(!0===e||!0===t?"margin":"border");return F(this,function(e,t,i){var n;return T.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(n=e.documentElement,Math.max(e.body["scroll"+o],n["scroll"+o],e.body["offset"+o],n["offset"+o],n["client"+o])):void 0===i?T.css(e,t,s):T.style(e,t,i,s)},r,i?e:void 0,i,null)}})}),T.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)},size:function(){return this.length}}),T.fn.andSelf=T.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return T});var Ht=k.jQuery,Ot=k.$;return T.noConflict=function(e){return k.$===T&&(k.$=Ot),e&&k.jQuery===T&&(k.jQuery=Ht),T},e||(k.jQuery=k.$=T),T}),function(d,c,p){function f(e,t){return typeof e===t}function o(e){var t=C.className,i=k._config.classPrefix||"";if(T&&(t=t.baseVal),k._config.enableJSClass){var n=new RegExp("(^|\\s)"+i+"no-js(\\s|$)");t=t.replace(n,"$1"+i+"js$2")}k._config.enableClasses&&(t+=" "+i+e.join(" "+i),T?C.className.baseVal=t:C.className=t)}function m(e){return"function"!=typeof c.createElement?c.createElement(e):T?c.createElementNS.call(c,"http://www.w3.org/2000/svg",e):c.createElement.apply(c,arguments)}function g(e,t){return!!~(""+e).indexOf(t)}function v(e,t,i){var n;if("getComputedStyle"in d){n=getComputedStyle.call(d,e,t);var s=d.console;if(null!==n)i&&(n=n.getPropertyValue(i));else if(s){s[s.error?"error":"log"].call(s,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else n=!t&&e.currentStyle&&e.currentStyle[i];return n}function n(e,t){return e-1===t||e===t||e+1===t}function b(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,i){return t+i.toUpperCase()}).replace(/^-/,"")}function r(e,t){if("object"==typeof e)for(var i in e)N(e,i)&&r(i,e[i]);else{var n=(e=e.toLowerCase()).split("."),s=k[n[0]];if(2==n.length&&(s=s[n[1]]),void 0!==s)return k;t="function"==typeof t?t():t,1==n.length?k[n[0]]=t:(!k[n[0]]||k[n[0]]instanceof Boolean||(k[n[0]]=new Boolean(k[n[0]])),k[n[0]][n[1]]=t),o([(t&&0!=t?"":"no-")+n.join("-")]),k._trigger(e,t)}return k}function y(e,t,i,n){var s,o,r,a,l="modernizr",h=m("div"),u=function(){var e=c.body;return e||((e=m(T?"svg":"body")).fake=!0),e}();if(parseInt(i,10))for(;i--;)(r=m("div")).id=n?n[i]:l+(i+1),h.appendChild(r);return(s=m("style")).type="text/css",s.id="s"+l,(u.fake?u:h).appendChild(s),u.appendChild(h),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(c.createTextNode(e)),h.id=l,u.fake&&(u.style.background="",u.style.overflow="hidden",a=C.style.overflow,C.style.overflow="hidden",C.appendChild(u)),o=t(h,e),u.fake?(u.parentNode.removeChild(u),C.style.overflow=a,C.offsetHeight):h.parentNode.removeChild(h),!!o}function a(e,t){return function(){return e.apply(t,arguments)}}function _(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function l(e,t,i,n){function s(){r&&(delete q.style,delete q.modElem)}if(n=!f(n,"undefined")&&n,!f(i,"undefined")){var o=function(e,t){var i=e.length;if("CSS"in d&&"supports"in d.CSS){for(;i--;)if(d.CSS.supports(_(e[i]),t))return!0;return!1}if("CSSSupportsRule"in d){for(var n=[];i--;)n.push("("+_(e[i])+":"+t+")");return y("@supports ("+(n=n.join(" or "))+") { #modernizr { position: absolute; } }",function(e){return"absolute"==v(e,null,"position")})}return p}(e,i);if(!f(o,"undefined"))return o}for(var r,a,l,h,u,c=["modernizr","tspan","samp"];!q.style&&c.length;)r=!0,q.modElem=m(c.shift()),q.style=q.modElem.style;for(l=e.length,a=0;a<l;a++)if(h=e[a],u=q.style[h],g(h,"-")&&(h=b(h)),q.style[h]!==p){if(n||f(i,"undefined"))return s(),"pfx"!=t||h;try{q.style[h]=i}catch(e){}if(q.style[h]!=u)return s(),"pfx"!=t||h}return s(),!1}function s(e,t,i,n,s){var o=e.charAt(0).toUpperCase()+e.slice(1),r=(e+" "+W.join(o+" ")+o).split(" ");return f(t,"string")||f(t,"undefined")?l(r,t,n,s):function(e,t,i){var n;for(var s in e)if(e[s]in t)return!1===i?e[s]:f(n=t[e[s]],"function")?a(n,i||t):n;return!1}(r=(e+" "+R.join(o+" ")+o).split(" "),t,i)}function h(e,t){var i=e.deleteDatabase(t);i.onsuccess=function(){r("indexeddb.deletedatabase",!0)},i.onerror=function(){r("indexeddb.deletedatabase",!1)}}function u(e,t,i){return s(e,p,p,t,i)}var w=[],x=[],e={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var i=this;setTimeout(function(){t(i[e])},0)},addTest:function(e,t,i){x.push({name:e,fn:t,options:i})},addAsyncTest:function(e){x.push({name:null,fn:e})}},k=function(){};k.prototype=e,(k=new k).addTest("applicationcache","applicationCache"in d),k.addTest("cookies",function(){try{c.cookie="cookietest=1";var e=-1!=c.cookie.indexOf("cookietest=");return c.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(e){return!1}}),k.addTest("geolocation","geolocation"in navigator),k.addTest("history",function(){var e=navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone")||"file:"===location.protocol)&&(d.history&&"pushState"in d.history)}),k.addTest("postmessage","postMessage"in d),k.addTest("svg",!!c.createElementNS&&!!c.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect);var t=!1;try{t="WebSocket"in d&&2===d.WebSocket.CLOSING}catch(e){}k.addTest("websockets",t),k.addTest("localstorage",function(){var e="modernizr";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}),k.addTest("sessionstorage",function(){var e="modernizr";try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(e){return!1}}),k.addTest("websqldatabase","openDatabase"in d),k.addTest("svgfilters",function(){var e=!1;try{e="SVGFEColorMatrixElement"in d&&2==SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE}catch(e){}return e}
1),k.addTest("webworkers","Worker"in d);var C=c.documentElement,T="svg"===C.nodeName.toLowerCase();T||function(e,r){function a(){var e=f.elements;return"string"==typeof e?e.split(" "):e}function l(e){var t=p[e[c]];return t||(t={},d++,e[c]=d,p[d]=t),t}function n(e,t,i){return t=t||r,h?t.createElement(e):!(n=(i=i||l(t)).cache[e]?i.cache[e].cloneNode():u.test(e)?(i.cache[e]=i.createElem(e)).cloneNode():i.createElem(e)).canHaveChildren||o.test(e)||n.tagUrn?n:i.frag.appendChild(n);var n}function s(e){var t=l(e=e||r);return!f.shivCSS||i||t.hasCSS||(t.hasCSS=!!function(e,t){var i=e.createElement("p"),n=e.getElementsByTagName("head")[0]||e.documentElement;return i.innerHTML="x<style>"+t+"</style>",n.insertBefore(i.lastChild,n.firstChild)}(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),h||function(t,i){i.cache||(i.cache={},i.createElem=t.createElement,i.createFrag=t.createDocumentFragment,i.frag=i.createFrag()),t.createElement=function(e){return f.shivMethods?n(e,t,i):i.createElem(e)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+a().join().replace(/[\w\-:]+/g,function(e){return i.createElem(e),i.frag.createElement(e),'c("'+e+'")'})+");return n}")(f,i.frag)}(e,t),e}var i,h,t=e.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,u=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,c="_html5shiv",d=0,p={};!function(){try{var e=r.createElement("a");e.innerHTML="<xyz></xyz>",i="hidden"in e,h=1==e.childNodes.length||function(){r.createElement("a");var e=r.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){h=i=!0}}();var f={elements:t.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==t.shivCSS,supportsUnknownElements:h,shivMethods:!1!==t.shivMethods,type:"default",shivDocument:s,createElement:n,createDocumentFragment:function(e,t){if(e=e||r,h)return e.createDocumentFragment();for(var i=(t=t||l(e)).frag.cloneNode(),n=0,s=a(),o=s.length;n<o;n++)i.createElement(s[n]);return i},addElements:function(e,t){var i=f.elements;"string"!=typeof i&&(i=i.join(" ")),"string"!=typeof e&&(e=e.join(" ")),f.elements=i+" "+e,s(t)}};e.html5=f,s(r),"object"==typeof module&&module.exports&&(module.exports=f)}(void 0!==d?d:this,c),k.addTest("audio",function(){var e=m("audio"),t=!1;try{(t=!!e.canPlayType)&&((t=new Boolean(t)).ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),t.mp3=e.canPlayType('audio/mpeg; codecs="mp3"').replace(/^no$/,""),t.opus=e.canPlayType('audio/ogg; codecs="opus"')||e.canPlayType('audio/webm; codecs="opus"').replace(/^no$/,""),t.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),t.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(e){}return t}),k.addTest("canvas",function(){var e=m("canvas");return!(!e.getContext||!e.getContext("2d"))}),k.addTest("video",function(){var e=m("video"),t=!1;try{(t=!!e.canPlayType)&&((t=new Boolean(t)).ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),t.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),t.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""),t.vp9=e.canPlayType('video/webm; codecs="vp9"').replace(/^no$/,""),t.hls=e.canPlayType('application/x-mpegURL; codecs="avc1.42E01E"').replace(/^no$/,""))}catch(e){}return t}),k.addTest("webgl",function(){var e=m("canvas"),t="probablySupportsContext"in e?"probablySupportsContext":"supportsContext";return t in e?e[t]("webgl")||e[t]("experimental-webgl"):"WebGLRenderingContext"in d}),k.addTest("multiplebgs",function(){var e=m("a").style;return e.cssText="background:url(https://),url(https://),red url(https://)",/(url\s*\(.*?){3}/.test(e.background)}),k.addTest("cssremunit",function(){var e=m("a").style;try{e.fontSize="3rem"}catch(e){}return/rem/.test(e.fontSize)}),k.addTest("rgba",function(){var e=m("a").style;return e.cssText="background-color:rgba(150,255,150,.5)",-1<(""+e.backgroundColor).indexOf("rgba")}),k.addTest("inlinesvg",function(){var e=m("div");return e.innerHTML="<svg/>
1","http://www.w3.org/2000/svg"==("undefined"!=typeof SVGRect&&e.firstChild&&e.firstChild.namespaceURI)});var D,i=(D=!("onblur"in c.documentElement),function(e,t){var i;return!!e&&(t&&"string"!=typeof t||(t=m(t||"div")),!(i=(e="on"+e)in t)&&D&&(t.setAttribute||(t=m("div")),t.setAttribute(e,""),i="function"==typeof t[e],t[e]!==p&&(t[e]=p),t.removeAttribute(e)),i)});e.hasEvent=i,k.addTest("hashchange",function(){return!1!==i("hashchange",d)&&(c.documentMode===p||7<c.documentMode)});var S=e._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];e._prefixes=S,k.addTest("csscalc",function(){var e=m("a");return e.style.cssText="width:"+S.join("calc(10px);width:"),!!e.style.length}),k.addTest("cssgradients",function(){for(var e,t="background-image:",i="",n=0,s=S.length-1;n<s;n++)e=0===n?"to ":"",i+=t+S[n]+"linear-gradient("+e+"left top, #9f9, white);";k._config.usePrefixes&&(i+=t+"-webkit-gradient(linear,left top,right bottom,from(#9f9),to(white));");var o=m("a").style;return o.cssText=i,-1<(""+o.backgroundImage).indexOf("gradient")}),k.addTest("opacity",function(){var e=m("a").style;return e.cssText=S.join("opacity:.55;"),/^0.55$/.test(e.opacity)});var P="CSS"in d&&"supports"in d.CSS,E="supportsCSS"in d;k.addTest("supports",P||E),k.addTest("hsla",function(){var e=m("a").style;return e.cssText="background-color:hsla(120,40%,100%,.5)",g(e.backgroundColor,"rgba")||g(e.backgroundColor,"hsla")});var N,I,A={}.toString;k.addTest("svgclippaths",function(){return!!c.createElementNS&&/SVGClipPath/.test(A.call(c.createElementNS("http://www.w3.org/2000/svg","clipPath")))}),N=f(I={}.hasOwnProperty,"undefined")||f(I.call,"undefined")?function(e,t){return t in e&&f(e.constructor.prototype[t],"undefined")}:function(e,t){return I.call(e,t)},e._l={},e.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),k.hasOwnProperty(e)&&setTimeout(function(){k._trigger(e,k[e])},0)},e._trigger=function(e,t){if(this._l[e]){var i=this._l[e];setTimeout(function(){var e;for(e=0;e<i.length;e++)(0,i[e])(t)},0),delete this._l[e]}},k._q.push(function(){e.addTest=r}),k.addTest("svgasimg",c.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"));var M,z,F,H=e.testStyles=y;H('#modernizr{font:0/0 a}#modernizr:after{content:":)";visibility:hidden;font:7px/1 a}',function(e){k.addTest("generatedcontent",6<=e.offsetHeight)}),(M=navigator.userAgent,z=M.match(/w(eb)?osbrowser/gi),F=M.match(/windows phone/gi)&&M.match(/iemobile\/([0-9])+/gi)&&9<=parseFloat(RegExp.$1),z||F)?k.addTest("fontface",!1):H('@font-face {font-family:"font";src:url("https://")}',function(e,t){var i=c.getElementById("smodernizr"),n=i.sheet||i.styleSheet,s=n?n.cssRules&&n.cssRules[0]?n.cssRules[0].cssText:n.cssText||"":"",o=/src/i.test(s)&&0===s.indexOf(t.split(" ")[0]);k.addTest("fontface",o)}),H("#modernizr { height: 50vh; }",function(e){var t=parseInt(d.innerHeight/2,10),i=parseInt(v(e,null,"height"),10);k.addTest("cssvhunit",n(i,t))}),H("#modernizr { width: 50vw; }",function(e){var t=parseInt(d.innerWidth/2,10),i=parseInt(v(e,null,"width"),10);k.addTest("cssvwunit",n(i,t))});var O="Moz O ms Webkit",R=e._config.usePrefixes?O.toLowerCase().split(" "):[];e._domPrefixes=R;var W=e._config.usePrefixes?O.split(" "):[];e._cssomPrefixes=W;function L(e){var t,i=S.length,n=d.CSSRule;if(void 0===n)return p;if(!e)return!1;if((t=(e=e.replace(/^@/,"")).replace(/-/g,"_").toUpperCase()+"_RULE")in n)return"@"+e;for(var s=0;s<i;s++){var o=S[s];if(o.toUpperCase()+"_"+t in n)return"@-"+o.toLowerCase()+"-"+e}return!1}e.atRule=L;var j={elem:m("modernizr")};k._q.push(function(){delete j.elem});var q={style:j.elem.style};k._q.unshift(function(){delete q.style});var B=e.testProp=function(e,t,i){return l([e],p,t,i)};k.addTest("textshadow",B("textShadow","1px 1px")),e.testAllProps=s;var $=e.prefixed=function(e,t,i){return 0===e.indexOf("@")?L(e):(-1!=e.indexOf("-")&&(e=b(e)),t?s(e,t,i):s(e,"pfx"))};k.addAsyncTest(function(){var e;try{e=$("indexedDB",d)}catch(e){}if(e){var t="modernizr-"+Math.random(),i=e.open(t);i.onerror=function(){i.error&&"InvalidStateError"===i.error.name?r("indexeddb",!1):(r("indexeddb",!0),h(e,t))},i.onsuccess=function(){r("indexeddb",!0),h(e,t)}}else r("indexeddb",!1)}),k.addTest("objectfit",!!$("objectFit"),{aliases:["object-fit"]}),e.testAllProps=u,k.addTest("cssanimations",u("animationName","a",!0)),k.addTest("backgroundsize",u("backgroundSize","100%",!0)),k.addTest("bgsizecover",u("backgroundSize","cover")),k.addTest("borderimage",u("borderImage","url() 1",!0)),k.addTest("borderradiu
1s",u("borderRadius","0px",!0)),k.addTest("boxsizing",u("boxSizing","border-box",!0)&&(c.documentMode===p||7<c.documentMode)),k.addTest("boxshadow",u("boxShadow","1px 1px",!0)),function(){k.addTest("csscolumns",function(){var e=!1,t=u("columnCount");try{e=(e=!!t)&&new Boolean(e)}catch(e){}return e});for(var e,t,i=["Width","Span","Fill","Gap","Rule","RuleColor","RuleStyle","RuleWidth","BreakBefore","BreakAfter","BreakInside"],n=0;n<i.length;n++)e=i[n].toLowerCase(),t=u("column"+i[n]),"breakbefore"!==e&&"breakafter"!==e&&"breakinside"!=e||(t=t||u(i[n])),k.addTest("csscolumns."+e,t)}(),k.addTest("cssfilters",function(){if(k.supports)return u("filter","blur(2px)");var e=m("a");return e.style.cssText=S.join("filter:blur(2px); "),!!e.style.length&&(c.documentMode===p||9<c.documentMode)}),k.addTest("flexbox",u("flexBasis","1px",!0)),k.addAsyncTest(function(){var n=300;setTimeout(function e(){function t(e,t){try{var i,n=m("div"),s=m("span"),o=n.style,r=0,a=!1,l=!1,h=c.body.firstElementChild||c.body.firstChild;return o.cssText="position:absolute;top:0;left:0;overflow:visible;width:1.25em;",n.appendChild(s),c.body.insertBefore(n,h),s.innerHTML="mm",r=s.offsetHeight,s.innerHTML="m"+e+"m",i=s.offsetHeight>r,l=!t||(s.innerHTML="m<br />m",r=s.offsetWidth,s.innerHTML="m"+e+"m",s.offsetWidth>r),1==i&&!0===l&&(a=!0),c.body.removeChild(n),n.removeChild(s),a}catch(e){return!1}}function i(e){try{var t,i=m("input"),n=m("div"),s="lebowski",o=!1,r=c.body.firstElementChild||c.body.firstChild;n.innerHTML=s+e+s,c.body.insertBefore(n,r),c.body.insertBefore(i,n),i.setSelectionRange?(i.focus(),i.setSelectionRange(0,0)):i.createTextRange&&((t=i.createTextRange()).collapse(!0),t.moveEnd("character",0),t.moveStart("character",0),t.select());try{o=d.find?d.find(s+s):(t=d.self.document.body.createTextRange()).findText(s+s)}catch(e){o=!1}return c.body.removeChild(n),c.body.removeChild(i),o}catch(e){return!1}}return c.body||c.getElementsByTagName("body")[0]?(r("csshyphens",function(){if(!u("hyphens","auto",!0))return!1;try{return function(){try{var e,t,i,n=m("div"),s=m("span"),o=n.style,r=c.body.firstElementChild||c.body.firstChild;return n.appendChild(s),s.innerHTML="Bacon ipsum dolor sit amet jerky velit in culpa hamburger et. Laborum dolor proident, enim dolore duis commodo et strip steak. Salami anim et, veniam consectetur dolore qui tenderloin jowl velit sirloin. Et ad culpa, fatback cillum jowl ball tip ham hock nulla short ribs pariatur aute. Pig pancetta ham bresaola, ut boudin nostrud commodo flank esse cow tongue culpa. Pork belly bresaola enim pig, ea consectetur nisi. Fugiat officia turkey, ea cow jowl pariatur ullamco proident do laborum velit sausage. Magna biltong sint tri-tip commodo sed bacon, esse proident aliquip. Ullamco ham sint fugiat, velit in enim sed mollit nulla cow ut adipisicing nostrud consectetur. Proident dolore beef ribs, laborum nostrud meatball ea laboris rump cupidatat labore culpa. Shankle minim beef, velit sint cupidatat fugiat tenderloin pig et ball tip. Ut cow fatback salami, bacon ball tip et in shank strip steak bresaola. In ut pork belly sed mollit tri-tip magna culpa veniam, short ribs qui in andouille ham consequat. Dolore bacon t-bone, velit short ribs enim strip steak nulla. Voluptate labore ut, biltong swine irure jerky. Cupidatat excepteur aliquip salami dolore. Ball tip strip steak in pork dolor. Ad in esse biltong. Dolore tenderloin exercitation ad pork loin t-bone, dolore in chicken ball tip qui pig. Ut culpa tongue, sint ribeye dolore ex shank voluptate hamburger. Jowl et tempor, boudin pork chop labore ham hock drumstick consectetur tri-tip elit swine meatball chicken ground round. Proident shankle mollit dolore. Shoulder ut duis t-bone quis reprehenderit. Meatloaf dolore minim strip steak, laboris ea aute bacon beef ribs elit shank in veniam drumstick qui. Ex laboris meatball cow tongue pork belly. Ea ball tip reprehenderit pig, sed fatback boudin dolore flank aliquip laboris eu quis. Beef ribs duis beef, cow corned beef adipisicing commodo nisi deserunt exercitation. Cillum dolor t-bone spare ribs, ham hock est sirloin. Brisket irure meatloaf in, boudin pork belly sirloin ball tip. Sirloin sint irure nisi nostrud aliqua. Nostrud nulla aute, enim officia culpa ham hock. Aliqua reprehenderit dolore sunt nostrud sausage, ea boudin pork loin ut t-bone ham tempor. Tri-tip et pancetta drumstick laborum. Ham hock magna do nostrud in proident. Ex ground round fatback, venison non ribeye in.",c.body.insertBefore(n,r),o.cssText="position:absolute;top:0;left:0;width:5em;text-align:justify;text-justification:newspaper;",e=s.offsetHeight,t=s.offsetWidth,o.cssText="position:absolute;top:0;left:0;width:5em;text-align:justify;text-justification:newspaper;"+S.join("hyphens:auto; "),i=s.offsetHeight!=e||s.offsetWidth!=t,c.body.removeChild(n),n.removeChild(s),i}catch(e){return!1}}()}catch(e){return!1}}
1),r("softhyphens",function(){try{return t("&#173;",!0)&&t("&#8203;",!1)}catch(e){return!1}}),void r("softhyphensfind",function(){try{return i("&#173;")&&i("&#8203;")}catch(e){return!1}})):void setTimeout(e,n)},n)}),k.addTest("cssmask",u("maskRepeat","repeat-x",!0)),k.addTest("cssreflections",u("boxReflect","above",!0)),k.addTest("shapes",u("shapeOutside","content-box",!0)),k.addTest("csstransforms",function(){return-1===navigator.userAgent.indexOf("Android 2.")&&u("transform","scale(1)",!0)}),k.addTest("csstransforms3d",function(){return!!u("perspective","1px",!0)}),k.addTest("csstransitions",u("transition","all",!0)),function(){var e,t,i,n,s,o;for(var r in x)if(x.hasOwnProperty(r)){if(e=[],(t=x[r]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(i=0;i<t.options.aliases.length;i++)e.push(t.options.aliases[i].toLowerCase());for(n=f(t.fn,"function")?t.fn():t.fn,s=0;s<e.length;s++)1===(o=e[s].split(".")).length?k[o[0]]=n:(!k[o[0]]||k[o[0]]instanceof Boolean||(k[o[0]]=new Boolean(k[o[0]])),k[o[0]][o[1]]=n),w.push((n?"":"no-")+o.join("-"))}}(),o(w),delete e.addTest,delete e.addAsyncTest;for(var Y=0;Y<k._q.length;Y++)k._q[Y]();d.Modernizr=k}(window,document),function(e){var t=function(h,H,u){"use strict";var O,R;if(function(){var e,t={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in R=h.lazySizesConfig||h.lazysizesConfig||{},t)e in R||(R[e]=t[e])}(),!H||!H.getElementsByClassName){return{init:function(){},cfg:R,noSupport:true}}var W=H.documentElement,n=h.HTMLPictureElement,L="addEventListener",j="getAttribute",q=h[L].bind(h),B=h.setTimeout,$=h.requestAnimationFrame||B,a=h.requestIdleCallback,Y=/^picture$/i,s=["load","error","lazyincluded","_lazyloaded"],i={},V=Array.prototype.forEach,U=function(e,t){if(!i[t]){i[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")}return i[t].test(e[j]("class")||"")&&i[t]},K=function(e,t){if(!U(e,t)){e.setAttribute("class",(e[j]("class")||"").trim()+" "+t)}},G=function(e,t){var i;if(i=U(e,t)){e.setAttribute("class",(e[j]("class")||"").replace(i," "))}},X=function(t,i,e){var n=e?L:"removeEventListener";if(e){X(t,i)}s.forEach(function(e){t[n](e,i)})},Z=function(e,t,i,n,s){var o=H.createEvent("Event");if(!i){i={}}i.instance=O;o.initEvent(t,!n,!s);o.detail=i;e.dispatchEvent(o);return o},J=function(e,t){var i;if(!n&&(i=h.picturefill||R.pf)){if(t&&t.src&&!e[j]("srcset")){e.setAttribute("srcset",t.src)}i({reevaluate:true,elements:[e]})}else if(t&&t.src){e.src=t.src}},Q=function(e,t){return(getComputedStyle(e,null)||{})[t]},r=function(e,t,i){i=i||e.offsetWidth;while(i<R.minSize&&t&&!e._lazysizesWidth){i=t.offsetWidth;t=t.parentNode}return i},ee=function(){var i,n;var t=[];var s=[];var o=t;var r=function(){var e=o;o=t.length?s:t;i=true;n=false;while(e.length){e.shift()()}i=false};var e=function(e,t){if(i&&!t){e.apply(this,arguments)}else{o.push(e);if(!n){n=true;(H.hidden?B:$)(r)}}};e._lsFlush=r;return e}(),te=function(i,e){return e?function(){ee(i)}:function(){var e=this;var t=arguments;ee(function(){i.apply(e,t)})}},ie=function(e){var i;var n=0;var s=R.throttleDelay;var o=R.ricTimeout;var t=function(){i=false;n=u.now();e()};var r=a&&o>49?function(){a(t,{timeout:o});if(o!==R.ricTimeout){o=R.ricTimeout}}:te(function(){B(t)},true);return function(e){var t;if(e=e===true){o=33}if(i){return}i=true;t=s-(u.now()-n);if(t<0){t=0}if(e||t<9){r()}else{B(r,t)}}},ne=function(e){var t,i;var n=99;var s=function(){t=null;e()};var o=function(){var e=u.now()-i;if(e<n){B(o,n-e)}else{(a||s)(s)}};return function(){i=u.now();if(!t){t=B(o,n)}}},e=function(){var p,f,c,m,e;var g,v,b,y,_,w,x;var o=/^img$/i;var d=/^iframe$/i;var k="onscroll"in h&&!/(gle|ing)bot/.test(navigator.userAgent);var C=0;var T=0;var D=0;var S=-1;var P=function(e){D--;if(!e||D<0||!e.target){D=0}};var E=function(e){if(x==null){x=Q(H.body,"visibility")=="hidden"}return x||!(Q(e.parentNode,"visibility")=="hidden"&&Q(e,"visibility")=="hidden")};var N=function(e,t){var i;var n=e;var s=E(e);b-=t;w+=t;y-=t;_+=t;while(s&&(n=n.offsetParent)&&n!=H.body&&n!=W){s=(Q(n,"opacity")||1)>0;if(s&&Q(n,"overflow")!="visible"){i=n.getBoundingClientRect();s=_>i.left&&y<i.right&&w>i.top-1&&b<i.bottom+1}}return s};var t=function(){var e,t,i,n,s,o,r,a,l,h,u,c;var d=O.elements;
vendor: 6,372 bytes, line 1
1if((m=R.loadMode)&&D<8&&(e=d.length)){t=0;S++;for(;t<e;t++){if(!d[t]||d[t]._lazyRace){continue}if(!k||O.prematureUnveil&&O.prematureUnveil(d[t])){F(d[t]);continue}if(!(a=d[t][j]("data-expand"))||!(o=a*1)){o=T}if(!h){h=!R.expand||R.expand<1?W.clientHeight>500&&W.clientWidth>500?500:370:R.expand;O._defEx=h;u=h*R.expFactor;c=R.hFac;x=null;if(T<u&&D<1&&S>2&&m>2&&!H.hidden){T=u;S=0}else if(m>1&&S>1&&D<6){T=h}else{T=C}}if(l!==o){g=innerWidth+o*c;v=innerHeight+o;r=o*-1;l=o}i=d[t].getBoundingClientRect();if((w=i.bottom)>=r&&(b=i.top)<=v&&(_=i.right)>=r*c&&(y=i.left)<=g&&(w||_||y||b)&&(R.loadHidden||E(d[t]))&&(f&&D<3&&!a&&(m<3||S<4)||N(d[t],o))){F(d[t]);s=true;if(D>9){break}}else if(!s&&f&&!n&&D<4&&S<4&&m>2&&(p[0]||R.preloadAfterLoad)&&(p[0]||!a&&(w||_||y||b||d[t][j](R.sizesAttr)!="auto"))){n=p[0]||d[t]}}if(n&&!s){F(n)}}};var i=ie(t);var I=function(e){var t=e.target;if(t._lazyCache){delete t._lazyCache;return}P(e);K(t,R.loadedClass);G(t,R.loadingClass);X(t,A);Z(t,"lazyloaded")};var n=te(I);var A=function(e){n({target:e.target})};var M=function(t,i){try{t.contentWindow.location.replace(i)}catch(e){t.src=i}};var z=function(e){var t;var i=e[j](R.srcsetAttr);if(t=R.customMedia[e[j]("data-media")||e[j]("media")]){e.setAttribute("media",t)}if(i){e.setAttribute("srcset",i)}};var r=te(function(t,e,i,n,s){var o,r,a,l,h,u;if(!(h=Z(t,"lazybeforeunveil",e)).defaultPrevented){if(n){if(i){K(t,R.autosizesClass)}else{t.setAttribute("sizes",n)}}r=t[j](R.srcsetAttr);o=t[j](R.srcAttr);if(s){a=t.parentNode;l=a&&Y.test(a.nodeName||"")}u=e.firesLoad||"src"in t&&(r||o||l);h={target:t};K(t,R.loadingClass);if(u){clearTimeout(c);c=B(P,2500);X(t,A,true)}if(l){V.call(a.getElementsByTagName("source"),z)}if(r){t.setAttribute("srcset",r)}else if(o&&!l){if(d.test(t.nodeName)){M(t,o)}else{t.src=o}}if(s&&(r||l)){J(t,{src:o})}}if(t._lazyRace){delete t._lazyRace}G(t,R.lazyClass);ee(function(){var e=t.complete&&t.naturalWidth>1;if(!u||e){if(e){K(t,"ls-is-cached")}I(h);t._lazyCache=true;B(function(){if("_lazyCache"in t){delete t._lazyCache}},9)}if(t.loading=="lazy"){D--}},true)});var F=function(e){if(e._lazyRace){return}var t;var i=o.test(e.nodeName);var n=i&&(e[j](R.sizesAttr)||e[j]("sizes"));var s=n=="auto";if((s||!f)&&i&&(e[j]("src")||e.srcset)&&!e.complete&&!U(e,R.errorClass)&&U(e,R.lazyClass)){return}t=Z(e,"lazyunveilread").detail;if(s){se.updateElem(e,true,e.offsetWidth)}e._lazyRace=true;D++;r(e,t,s,n,i)};var s=ne(function(){R.loadMode=3;i()});var a=function(){if(R.loadMode==3){R.loadMode=2}s()};var l=function(){if(f){return}if(u.now()-e<999){B(l,999);return}f=true;R.loadMode=3;i();q("scroll",a,true)};return{_:function(){e=u.now();O.elements=H.getElementsByClassName(R.lazyClass);p=H.getElementsByClassName(R.lazyClass+" "+R.preloadClass);q("scroll",i,true);q("resize",i,true);q("pageshow",function(e){if(e.persisted){var t=H.querySelectorAll("."+R.loadingClass);if(t.length&&t.forEach){$(function(){t.forEach(function(e){if(e.complete){F(e)}})})}}});if(h.MutationObserver){new MutationObserver(i).observe(W,{childList:true,subtree:true,attributes:true})}else{W[L]("DOMNodeInserted",i,true);W[L]("DOMAttrModified",i,true);setInterval(i,999)}q("hashchange",i,true);["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){H[L](e,i,true)});if(/d$|^c/.test(H.readyState)){l()}else{q("load",l);H[L]("DOMContentLoaded",i);B(l,2e4)}if(O.elements.length){t();ee._lsFlush()}else{i()}},checkElems:i,unveil:F,_aLSL:a}}(),se=function(){var i;var o=te(function(e,t,i,n){var s,o,r;e._lazysizesWidth=n;n+="px";e.setAttribute("sizes",n);if(Y.test(t.nodeName||"")){s=t.getElementsByTagName("source");for(o=0,r=s.length;o<r;o++){s[o].setAttribute("sizes",n)}}if(!i.detail.dataAttr){J(e,i.detail)}});var n=function(e,t,i){var n;var s=e.parentNode;if(s){i=r(e,s,i);n=Z(e,"lazybeforesizes",{width:i,dataAttr:!!t});if(!n.defaultPrevented){i=n.detail.width;if(i&&i!==e._lazysizesWidth){o(e,s,n,i)}}}};var e=function(){var e;var t=i.length;if(t){e=0;for(;e<t;e++){n(i[e])}}};var t=ne(e);return{_:function(){i=H.getElementsByClassName(R.autosizesClass);q("resize",t)},checkElems:t,updateElem:n}}(),t=function(){if(!t.i&&H.getElementsByClassName){t.i=true;se._();e._()}};return B(function(){R.init&&t()}),O={cfg:R,autoSizer:se,loader:e,init:t,uP:J,aC:K,rC:G,hC:U,fire:Z,gW:r,rAF:ee}}(e,e.document,Date);e.lazySizes=t,"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:{}),function(e){if(!e.browser){var t,i=navigator.userAgent||"";e.uaMatch=function(e){e=e.toLowerCase();var t=/(edge)[ \/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},t=e.uaMatch(i),e.browser={},t.browser&&(e.browser[t.browser]=!0,e.browser.version=t.version),e.browser.webkit&&(e.browser.safari=!0)}}(jQuery),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(P){function n(e,t){var i,n,s,o=e.nodeName.toLowerCase();return"area"===o?(n=(i=e.parentNode).name,!(!e.href||!n||"map"!==i.nodeName.toLowerCase())&&(!!(s=P("img[usemap='#"+n+"']")[0])&&r(s))):(/input|select|textarea|button|object/.test(o)?!e.disabled:"a"===o&&e.href||t)&&r(e)}function r(e){return P.expr.filters.visible(e)&&!P(e).parents().addBack().filter(function(){return"hidden"===P.css(this,"visibility")}).length}function e(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},P.extend(this._defaults,this.regional[""]),this.regional.en=P.extend(!0,{},this.regional[""]),this.regional["en-US"]=P.extend(!0,{},this.regional.en),this.dpDiv=i(P("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function i(e){var t="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.delegate(t,"mouseout",function(){P(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&P(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&P(this).removeClass("ui-datepicker-next-hover")}).delegate(t,"mouseover",o)}function o(){P.datepicker._isDisabledDatepicker(y.inline?y.dpDiv.parent()[0]:y.input[0])||(P(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),P(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&P(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&P(this).addClass("ui-datepicker-next-hover"))}function c(e,t){for(var i in P.extend(e,t),t)null==t[i]&&(e[i]=t[i]);return e}function t(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}var s,a,l,h;P.ui=P.ui||{},P.extend(P.ui,{version:"1.11.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),P.fn.extend({scrollParent:function(e){var t=this.css("position"),i="absolute"===t,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,s=this.parents().filter(function(){var e=P(this);return(!i||"static"!==e.css("position"))&&n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==t&&s.length?s:P(this[0].ownerDocument||document)},uniqueId:(h=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++h)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&P(this).removeAttr("id")})}}),P.extend(P.expr[":"],{data:P.expr.createPseudo?P.expr.createPseudo(function(t){return function(e){return!!P.data(e,t)}}):function(e,t,i){return!!P.data(e,i[3])},focusable:function(e){return n(e,!isNaN(P.attr(e,"tabindex")))},tabbable:function(e){var t=P.attr(e,"tabindex"),i=isNaN(t);return(i||0<=t)&&n(e,!i)}}),P("<a>").outerWidth(1).jquery||P.each(["Width","Height"],function(e,i){function n(e,t,i,n){return P.each(s,function(){t-=parseFloat(P.css(e,"padding"+this))||0,i&&(t-=parseFloat(P.css(e,"border"+this+"Width"))||0),n&&(t-=parseFloat(P.css(e,"margin"+this))||0)}),t}var s="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),r={innerWidth:P.fn.innerWidth,innerHeight:P.fn.innerHeight,outerWidth:P.fn.outerWidth,outerHeight:P.fn.outerHeight};P.fn["inner"+i]=function(e){return void 0===e?r["inner"+i].call(this):this.each(function(){P(this).css(o,n(this,e)+"px")})},P.fn["outer"+i]=function(e,t){return"number"!=typeof e?r["outer"+i].call(this,e):this.each(function(){P(this).css(o,n(this,e,!0,t)+"px")})}}),P.fn.addBack||(P.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),P("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(P.fn.removeData=(l=P.fn.removeData,function(e){return arguments.length?l.call(this,P.camelCase(e)):l.call(this)})),P.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),P.fn.extend({focus:(a=P.fn.focus,function(t,i){return"number"==typeof t?this.each(function(){var e=this;setTimeout(function(){P(e).focus(),i&&i.call(e)},t)}):a.apply(this,arguments)}),disableSelection:(s="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.bind(s+".ui-disableSelection",function(e){e.preventDefault()})}),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(e){if(void 0!==e)return this.css("zIndex",e);if(this.length)for(var t,i,n=P(this[0]);n.length&&n[0]!==document;){if(("absolute"===(t=n.css("position"))||"relative"===t||"fixed"===t)&&(i=parseInt(n.css("zIndex"),10),!isNaN(i)&&0!==i))return i;n=n.parent()}return 0}}),P.ui.plugin={add:function(e,t,i){var n,s=P.ui[e].prototype;for(n in i)s.plugins[n]=s.plugins[n]||[],s.plugins[n].push([t,i[n]])},call:function(e,t,i,n){var s,o=e.plugins[t];if(o&&(n||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(s=0;o.length>s;s++)e.options[o[s][0]]&&o[s][1].apply(e.element,i)}};var u,d=0,p=Array.prototype.slice;P.cleanData=(u=P.cleanData,function(e){var t,i,n;for(n=0;null!=(i=e[n]);n++)try{(t=P._data(i,"events"))&&t.remove&&P(i).triggerHandler("remove")}catch(e){}u(e)}),P.widget=function(e,i,t){var n,s,o,r,a={},l=e.split(".")[0];return e=e.split(".")[1],n=l+"-"+e,t||(t=i,i=P.Widget),P.expr[":"][n.toLowerCase()]=function(e){return!!P.data(e,n)},P[l]=P[l]||{},s=P[l][e],o=P[l][e]=function(e,t){return this._createWidget?void(arguments.length&&this._createWidget(e,t)):new o(e,t)},P.extend(o,s,{version:t.version,_proto:P.extend({},t),_childConstructors:[]}),(r=new i).options=P.widget.extend({},r.options),P.each(t,function(t,n){return P.isFunction(n)?void(a[t]=function(){var e,t=this._super,i=this._superApply;return this._super=s,this._superApply=o,e=n.apply(this,arguments),this._super=t,this._superApply=i,e}):void(a[t]=n);function s(){return i.prototype[t].apply(this,arguments)}function o(e){return i.prototype[t].apply(this,e)}}),o.prototype=P.widget.extend(r,{widgetEventPrefix:s&&r.widgetEventPrefix||e},a,{constructor:o,namespace:l,widgetName:e,widgetFullName:n}),s?(P.each(s._childConstructors,function(e,t){var i=t.prototype;P.widget(i.namespace+"."+i.widgetName,o,t._proto)}),delete s._childConstructors):i._childConstructors.push(o),P.widget.bridge(e,o),o}
vendor: 4,676 bytes, line 1
1,P.widget.extend=function(e){for(var t,i,n=p.call(arguments,1),s=0,o=n.length;s<o;s++)for(t in n[s])i=n[s][t],n[s].hasOwnProperty(t)&&void 0!==i&&(e[t]=P.isPlainObject(i)?P.isPlainObject(e[t])?P.widget.extend({},e[t],i):P.widget.extend({},i):i);return e},P.widget.bridge=function(o,t){var r=t.prototype.widgetFullName||o;P.fn[o]=function(i){var e="string"==typeof i,n=p.call(arguments,1),s=this;return i=!e&&n.length?P.widget.extend.apply(null,[i].concat(n)):i,e?this.each(function(){var e,t=P.data(this,r);return"instance"===i?(s=t,!1):t?P.isFunction(t[i])&&"_"!==i.charAt(0)?(e=t[i].apply(t,n))!==t&&void 0!==e?(s=e&&e.jquery?s.pushStack(e.get()):e,!1):void 0:P.error("no such method '"+i+"' for "+o+" widget instance"):P.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+i+"'")}):this.each(function(){var e=P.data(this,r);e?(e.option(i||{}),e._init&&e._init()):P.data(this,r,new t(i,this))}),s}},P.Widget=function(){},P.Widget._childConstructors=[],P.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(e,t){t=P(t||this.defaultElement||this)[0],this.element=P(t),this.uuid=d++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=P(),this.hoverable=P(),this.focusable=P(),t!==this&&(P.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=P(t.style?t.ownerDocument:t.document||t),this.window=P(this.document[0].defaultView||this.document[0].parentWindow)),this.options=P.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:P.noop,_getCreateEventData:P.noop,_create:P.noop,_init:P.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(P.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:P.noop,widget:function(){return this.element},option:function(e,t){var i,n,s,o=e;if(0===arguments.length)return P.widget.extend({},this.options);if("string"==typeof e)if(o={},e=(i=e.split(".")).shift(),i.length){for(n=o[e]=P.widget.extend({},this.options[e]),s=0;i.length-1>s;s++)n[i[s]]=n[i[s]]||{},n=n[i[s]];if(e=i.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=t}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];o[e]=t}return this._setOptions(o),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return this.options[e]=t,"disabled"===e&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!t),t&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus"))),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(r,a,e){var l,h=this;"boolean"!=typeof r&&(e=a,a=r,r=!1),e?(a=l=P(a),this.bindings=this.bindings.add(a)):(e=a,a=this.element,l=this.widget()),P.each(e,function(e,t){function i(){return r||!0!==h.options.disabled&&!P(this).hasClass("ui-state-disabled")?("string"==typeof t?h[t]:t).apply(h,arguments):void 0}"string"!=typeof t&&(i.guid=t.guid=t.guid||i.guid||P.guid++);var n=e.match(/^([\w:-]*)\s*(.*)$/),s=n[1]+h.eventNamespace,o=n[2];o?l.delegate(o,s,i):a.bind(s,i)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.unbind(t).undelegate(t),this.bindings=P(this.bindings.not(e).get()),this.focusable=P(this.focusable.not(e).get()),this.hoverable=P(this.hoverable.not(e).get())},_delay:function(e,t){var i=this;return setTimeout(function(){return("string"==typeof e?i[e]:e).apply(i,arguments)},t||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){P(e.currentTarget).addClass("ui-state-hover")},mouseleave:function(e){P(e.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){P(e.currentTarget).addClass("ui-state-focus")},focusout:function(e){P(e.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(e,t,i){var n,s,o=this.options[e];if(i=i||{},(t=P.Event(t)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),t.target=this.element[0],s=t.originalEvent)for(n in s)n in t||(t[n]=s[n]);
vendor: 8,375 bytes, line 1
1return this.element.trigger(t,i),!(P.isFunction(o)&&!1===o.apply(this.element[0],[t].concat(i))||t.isDefaultPrevented())}},P.each({show:"fadeIn",hide:"fadeOut"},function(o,r){P.Widget.prototype["_"+o]=function(t,e,i){"string"==typeof e&&(e={effect:e});var n,s=e?!0===e||"number"==typeof e?r:e.effect||r:o;"number"==typeof(e=e||{})&&(e={duration:e}),n=!P.isEmptyObject(e),e.complete=i,e.delay&&t.delay(e.delay),n&&P.effects&&P.effects.effect[s]?t[o](e):s!==o&&t[s]?t[s](e.duration,e.easing,i):t.queue(function(e){P(this)[o](),i&&i.call(t[0]),e()})}}),P.widget;var f=!1;function m(e,t,i){return t<=e&&e<t+i}P(document).mouseup(function(){f=!1}),P.widget("ui.mouse",{version:"1.11.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(e){return!0===P.data(e.target,t.widgetName+".preventClickEvent")?(P.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!f){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var t=this,i=1===e.which,n=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&P(e.target).closest(this.options.cancel).length;return i&&!n&&this._mouseCapture(e)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?e.preventDefault():(!0===P.data(e.target,this.widgetName+".preventClickEvent")&&P.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),f=!0)),!0}},_mouseMove:function(e){if(this._mouseMoved){if(P.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){return this.document.unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&P.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),f=!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),function(){function x(e,t,i){return[parseFloat(e[0])*(l.test(e[0])?t/100:1),parseFloat(e[1])*(l.test(e[1])?i/100:1)]}function k(e,t){return parseInt(P.css(e,t),10)||0}P.ui=P.ui||{};var s,C,T=Math.max,D=Math.abs,S=Math.round,n=/left|center|right/,o=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,a=/^\w+/,l=/%$/,t=P.fn.position;P.position={scrollbarWidth:function(){if(void 0!==s)return s;var e,t,i=P("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),n=i.children()[0];return P("body").append(i),e=n.offsetWidth,i.css("overflow","scroll"),e===(t=n.offsetWidth)&&(t=i[0].clientWidth),i.remove(),s=e-t},getScrollInfo:function(e){var t=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),i=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===t||"auto"===t&&e.width<e.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&e.height<e.element[0].scrollHeight?P.position.scrollbarWidth():0,height:n?P.position.scrollbarWidth():0}},getWithinInfo:function(e){var t=P(e||window),i=P.isWindow(t[0]),n=!!t[0]&&9===t[0].nodeType;return{element:t,isWindow:i,isDocument:n,offset:t.offset()||{left:0,top:0},scrollLeft:t.scrollLeft(),scrollTop:t.scrollTop(),width:i||n?t.width():t.outerWidth(),height:i||n?t.height():t.outerHeight()}}},P.fn.position=function(c){if(!c||!c.of)return t.apply(this,arguments);c=P.extend({},c);var d,p,f,m,g,e,v=P(c.of),b=P.position.getWithinInfo(c.within),y=P.position.getScrollInfo(b),_=(c.collision||"flip").split(" "),w={};return e=function(e){var t=e[0];return 9===t.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:P.isWindow(t)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:t.preventDefault?{width:0,height:0,offset:{top:t.pageY,left:t.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}(v),v[0].preventDefault&&(c.at="left top"),p=e.width,f=e.height,m=e.offset,g=P.extend({},m),P.each(["my","at"],function(){var e,t,i=(c[this]||"").split(" ");1===i.length&&(i=n.test(i[0])?i.concat(["center"]):o.test(i[0])?["center"].concat(i):["center","center"]),i[0]=n.test(i[0])?i[0]:"center",i[1]=o.test(i[1])?i[1]:"center",e=r.exec(i[0]),t=r.exec(i[1]),w[this]=[e?e[0]:0,t?t[0]:0],c[this]=[a.exec(i[0])[0],a.exec(i[1])[0]]}),1===_.length&&(_[1]=_[0]),"right"===c.at[0]?g.left+=p:"center"===c.at[0]&&(g.left+=p/2),"bottom"===c.at[1]?g.top+=f:"center"===c.at[1]&&(g.top+=f/2),d=x(w.at,p,f),g.left+=d[0],g.top+=d[1],this.each(function(){var i,e,r=P(this),a=r.outerWidth(),l=r.outerHeight(),t=k(this,"marginLeft"),n=k(this,"marginTop"),s=a+t+k(this,"marginRight")+y.width,o=l+n+k(this,"marginBottom")+y.height,h=P.extend({},g),u=x(w.my,r.outerWidth(),r.outerHeight());"right"===c.my[0]?h.left-=a:"center"===c.my[0]&&(h.left-=a/2),"bottom"===c.my[1]?h.top-=l:"center"===c.my[1]&&(h.top-=l/2),h.left+=u[0],h.top+=u[1],C||(h.left=S(h.left),h.top=S(h.top)),i={marginLeft:t,marginTop:n},P.each(["left","top"],function(e,t){P.ui.position[_[e]]&&P.ui.position[_[e]][t](h,{targetWidth:p,targetHeight:f,elemWidth:a,elemHeight:l,collisionPosition:i,collisionWidth:s,collisionHeight:o,offset:[d[0]+u[0],d[1]+u[1]],my:c.my,at:c.at,within:b,elem:r})}),c.using&&(e=function(e){var t=m.left-h.left,i=t+p-a,n=m.top-h.top,s=n+f-l,o={target:{element:v,left:m.left,top:m.top,width:p,height:f},element:{element:r,left:h.left,top:h.top,width:a,height:l},horizontal:i<0?"left":0<t?"right":"center",vertical:s<0?"top":0<n?"bottom":"middle"};p<a&&p>D(t+i)&&(o.horizontal="center"),f<l&&f>D(n+s)&&(o.vertical="middle"),o.important=T(D(t),D(i))>T(D(n),D(s))?"horizontal":"vertical",c.using.call(this,e,o)}),r.offset(P.extend(h,{using:e}))})},P.ui.position={fit:{left:function(e,t){var i,n=t.within,s=n.isWindow?n.scrollLeft:n.offset.left,o=n.width,r=e.left-t.collisionPosition.marginLeft,a=s-r,l=r+t.collisionWidth-o-s;t.collisionWidth>o?0<a&&l<=0?(i=e.left+a+t.collisionWidth-o-s,e.left+=a-i):e.left=0<l&&a<=0?s:l<a?s+o-t.collisionWidth:s:0<a?e.left+=a:0<l?e.left-=l:e.left=T(e.left-r,e.left)},top:function(e,t){var i,n=t.within,s=n.isWindow?n.scrollTop:n.offset.top,o=t.within.height,r=e.top-t.collisionPosition.marginTop,a=s-r,l=r+t.collisionHeight-o-s;t.collisionHeight>o?0<a&&l<=0?(i=e.top+a+t.collisionHeight-o-s,e.top+=a-i):e.top=0<l&&a<=0?s:l<a?s+o-t.collisionHeight:s:0<a?e.top+=a:0<l?e.top-=l:e.top=T(e.top-r,e.top)}},flip:{left:function(e,t){var i,n,s=t.within,o=s.offset.left+s.scrollLeft,r=s.width,a=s.isWindow?s.scrollLeft:s.offset.left,l=e.left-t.collisionPosition.marginLeft,h=l-a,u=l+t.collisionWidth-r-a,c="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,d="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,p=-2*t.offset[0];h<0?((i=e.left+c+d+p+t.collisionWidth-r-o)<0||D(h)>i)&&(e.left+=c+d+p):0<u&&((0<(n=e.left-t.collisionPosition.marginLeft+c+d+p-a)||u>D(n))&&(e.left+=c+d+p))},top:function(e,t){var i,n,s=t.within,o=s.offset.top+s.scrollTop,r
1=s.height,a=s.isWindow?s.scrollTop:s.offset.top,l=e.top-t.collisionPosition.marginTop,h=l-a,u=l+t.collisionHeight-r-a,c="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,d="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,p=-2*t.offset[1];h<0?(n=e.top+c+d+p+t.collisionHeight-r-o,e.top+c+d+p>h&&(n<0||D(h)>n)&&(e.top+=c+d+p)):0<u&&(i=e.top-t.collisionPosition.marginTop+c+d+p-a,e.top+c+d+p>u&&(0<i||u>D(i))&&(e.top+=c+d+p))}},flipfit:{left:function(){P.ui.position.flip.left.apply(this,arguments),P.ui.position.fit.left.apply(this,arguments)},top:function(){P.ui.position.flip.top.apply(this,arguments),P.ui.position.fit.top.apply(this,arguments)}}},function(){var e,t,i,n,s,o=document.getElementsByTagName("body")[0],r=document.createElement("div");for(s in e=document.createElement(o?"div":"body"),i={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},o&&P.extend(i,{position:"absolute",left:"-1000px",top:"-1000px"}),i)e.style[s]=i[s];e.appendChild(r),(t=o||document.documentElement).insertBefore(e,t.firstChild),r.style.cssText="position: absolute; left: 10.7432222px;",n=P(r).offset().left,C=10<n&&n<11,e.innerHTML="",t.removeChild(e)}()}(),P.ui.position,P.widget("ui.draggable",P.ui.mouse,{version:"1.11.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){return(this.helper||this.element).is(".ui-draggable-dragging")?void(this.destroyOnClear=!0):(this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._removeHandleClassName(),void this._mouseDestroy())},_mouseCapture:function(e){var t=this.options;return this._blurActiveElement(e),!(this.helper||t.disabled||0<P(e.target).closest(".ui-resizable-handle").length)&&(this.handle=this._getHandle(e),!!this.handle&&(this._blockFrames(!0===t.iframeFix?"iframe":t.iframeFix),!0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=P(this);return P("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var t=this.document[0];if(this.handleElement.is(e.target))try{t.activeElement&&"body"!==t.activeElement.nodeName.toLowerCase()&&P(t.activeElement).blur()}catch(e){}},_mouseStart:function(e){var t=this.options;return this.helper=this._createHelper(e),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),P.ui.ddmanager&&(P.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===P(this).css("position")}).length,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,t.cursorAt&&this._adjustOffsetFromHelper(t.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),P.ui.ddmanager&&!t.dropBehaviour&&P.ui.ddmanager.prepareOffsets(this,e),this._normalizeRightBottom(),this._mouseDrag(e,!0),P.ui.ddmanager&&P.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left
vendor: 3,230 bytes, line 1
1:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(e,t){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!t){var i=this._uiHash();if(!1===this._trigger("drag",e,i))return this._mouseUp({}),!1;this.position=i.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",P.ui.ddmanager&&P.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var t=this,i=!1;return P.ui.ddmanager&&!this.options.dropBehaviour&&(i=P.ui.ddmanager.drop(this,e)),this.dropped&&(i=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||!0===this.options.revert||P.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?P(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==t._trigger("stop",e)&&t._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),P.ui.ddmanager&&P.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.focus(),P.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!P(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this.handleElement.addClass("ui-draggable-handle")},_removeHandleClassName:function(){this.handleElement.removeClass("ui-draggable-handle")},_createHelper:function(e){var t=this.options,i=P.isFunction(t.helper),n=i?P(t.helper.apply(this.element[0],[e])):"clone"===t.helper?this.element.clone().removeAttr("id"):this.element;return n.parents("body").length||n.appendTo("parent"===t.appendTo?this.element[0].parentNode:t.appendTo),i&&n[0]===this.element[0]&&this._setPositionRelative(),n[0]===this.element[0]||/(fixed|absolute)/.test(n.css("position"))||n.css("position","absolute"),n},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),P.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),t=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==t&&P.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRo
vendor: 4,368 bytes, line 1
1otNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t,i,n=this.options,s=this.document[0];return this.relativeContainer=null,n.containment?"window"===n.containment?void(this.containment=[P(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,P(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,P(window).scrollLeft()+P(window).width()-this.helperProportions.width-this.margins.left,P(window).scrollTop()+(P(window).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):"document"===n.containment?void(this.containment=[0,0,P(s).width()-this.helperProportions.width-this.margins.left,(P(s).height()||s.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):n.containment.constructor===Array?void(this.containment=n.containment):("parent"===n.containment&&(n.containment=this.helper[0].parentNode),void((i=(t=P(n.containment))[0])&&(e=/(scroll|auto)/.test(t.css("overflow")),this.containment=[(parseInt(t.css("borderLeftWidth"),10)||0)+(parseInt(t.css("paddingLeft"),10)||0),(parseInt(t.css("borderTopWidth"),10)||0)+(parseInt(t.css("paddingTop"),10)||0),(e?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(t.css("borderRightWidth"),10)||0)-(parseInt(t.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(t.css("borderBottomWidth"),10)||0)-(parseInt(t.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=t))):void(this.containment=null)},_convertPositionTo:function(e,t){t=t||this.position;var i="absolute"===e?1:-1,n=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:n?0:this.offset.scroll.top)*i,left:t.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:n?0:this.offset.scroll.left)*i}},_generatePosition:function(e,t){var i,n,s,o,r=this.options,a=this._isRootNode(this.scrollParent[0]),l=e.pageX,h=e.pageY;return a&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(i=this.relativeContainer?(n=this.relativeContainer.offset(),[this.containment[0]+n.left,this.containment[1]+n.top,this.containment[2]+n.left,this.containment[3]+n.top]):this.containment,e.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),e.pageY-this.offset.click.top<i[1]&&(h=i[1]+this.offset.click.top),e.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3]&&(h=i[3]+this.offset.click.top)),r.grid&&(s=r.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/r.grid[1])*r.grid[1]:this.originalPageY,h=i?s-this.offset.click.top>=i[1]||s-this.offset.click.top>i[3]?s:s-this.offset.click.top>=i[1]?s-r.grid[1]:s+r.grid[1]:s,o=r.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/r.grid[0])*r.grid[0]:this.originalPageX,l=i?o-this.offset.click.left>=i[0]||o-this.offset.click.left>i[2]?o:o-this.offset.click.left>=i[0]?o-r.grid[0]:o+r.grid[0]:o),"y"===r.axis&&(l=this.originalPageX),"x"===r.axis&&(h=this.originalPageY)),{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:a?0:this.offset.scroll.top),left
vendor: 5,566 bytes, line 1
1:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:a?0:this.offset.scroll.left)}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_normalizeRightBottom:function(){"y"!==this.options.axis&&"auto"!==this.helper.css("right")&&(this.helper.width(this.helper.width()),this.helper.css("right","auto")),"x"!==this.options.axis&&"auto"!==this.helper.css("bottom")&&(this.helper.height(this.helper.height()),this.helper.css("bottom","auto"))},_trigger:function(e,t,i){return i=i||this._uiHash(),P.ui.plugin.call(this,e,[t,i,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),P.Widget.prototype._trigger.call(this,e,t,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),P.ui.plugin.add("draggable","connectToSortable",{start:function(t,e,i){var n=P.extend({},e,{item:i.element});i.sortables=[],P(i.options.connectToSortable).each(function(){var e=P(this).sortable("instance");e&&!e.options.disabled&&(i.sortables.push(e),e.refreshPositions(),e._trigger("activate",t,n))})},stop:function(t,e,i){var n=P.extend({},e,{item:i.element});i.cancelHelperRemoval=!1,P.each(i.sortables,function(){var e=this;e.isOver?(e.isOver=0,i.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,n))})},drag:function(i,n,s){P.each(s.sortables,function(){var e=!1,t=this;t.positionAbs=s.positionAbs,t.helperProportions=s.helperProportions,t.offset.click=s.offset.click,t._intersectsWith(t.containerCache)&&(e=!0,P.each(s.sortables,function(){return this.positionAbs=s.positionAbs,this.helperProportions=s.helperProportions,this.offset.click=s.offset.click,this!==t&&this._intersectsWith(this.containerCache)&&P.contains(t.element[0],this.element[0])&&(e=!1),e})),e?(t.isOver||(t.isOver=1,t.currentItem=n.helper.appendTo(t.element).data("ui-sortable-item",!0),t.options._helper=t.options.helper,t.options.helper=function(){return n.helper[0]},i.target=t.currentItem[0],t._mouseCapture(i,!0),t._mouseStart(i,!0,!0),t.offset.click.top=s.offset.click.top,t.offset.click.left=s.offset.click.left,t.offset.parent.left-=s.offset.parent.left-t.offset.parent.left,t.offset.parent.top-=s.offset.parent.top-t.offset.parent.top,s._trigger("toSortable",i),s.dropped=t.element,P.each(s.sortables,function(){this.refreshPositions()}),s.currentItem=s.element,t.fromOutside=s),t.currentItem&&(t._mouseDrag(i),n.position=t.position)):t.isOver&&(t.isOver=0,t.cancelHelperRemoval=!0,t.options._revert=t.options.revert,t.options.revert=!1,t._trigger("out",i,t._uiHash(t)),t._mouseStop(i,!0),t.options.revert=t.options._revert,t.options.helper=t.options._helper,t.placeholder&&t.placeholder.remove(),s._refreshOffsets(i),n.position=s._generatePosition(i,!0),s._trigger("fromSortable",i),s.dropped=!1,P.each(s.sortables,function(){this.refreshPositions()}))})}}),P.ui.plugin.add("draggable","cursor",{start:function(e,t,i){var n=P("body"),s=i.options;n.css("cursor")&&(s._cursor=n.css("cursor")),n.css("cursor",s.cursor)},stop:function(e,t,i){var n=i.options;n._cursor&&P("body").css("cursor",n._cursor)}}),P.ui.plugin.add("draggable","opacity",{start:function(e,t,i){var n=P(t.helper),s=i.options;n.css("opacity")&&(s._opacity=n.css("opacity")),n.css("opacity",s.opacity)},stop:function(e,t,i){var n=i.options;n._opacity&&P(t.helper).css("opacity",n._opacity)}}),P.ui.plugin.add("draggable","scroll",{start:function(e,t,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(e,t,i){var n=i.options,s=!1,o=i.scrollParentNotHidden[0],r=i.document[0];o!==r&&"HTML"!==o.tagName?(n.axis&&"x"===n.axis||(i.overflowOffset.top+o.offsetHeight-e.pageY<n.scrollSensitivity?o.scrollTop=s=o.scrollTop+n.scrollSpeed:e.pageY-i.overflowOffset.top<n.scrollSensitivity&&(o.scrollTop=s=o.scrollTop-n.scrollSpeed)),n.axis&&"y"===n.axis||(i.overflowOffset.left+o.offsetWidth-e.pageX<n.scrollSensitivity?o.scrollLeft=s=o.scrollLeft+n.scrollSpeed:e.pageX-i.overflowOffset.left<n.scrollSensitivity&&(o.scrollLeft=s=o.scrollLeft-n.scrollSpeed))):(n.axis&&"x"===n.axis||(e.pageY-P(r).scrollTop()<n.scrollSensitivity?s=P(r).scrollTop(P(r).scrollTop()-n.scrollSpeed):P(window).height()-(e.pageY-P(r).scrollTop())<n.scrollSensitivity&&(s=P(r).scrollTop(P(r).scrollTop()+n.scrollSpeed))),n.axis&&"y"===n.axis||(e.pageX-P(r).scrollLeft()<n.scrollSensitivity?s=P(r).scrollLeft(P(r).scrollLeft()-n.scrollSpeed):P(window).width()-(e.pageX-P(r).scrollLeft())<n.scrollSensitivity&&(s=P(r).scrollLeft(P(r).scrollLeft()+n.scrollSpeed)))),!1!==s&&P.ui.ddmanager&&!n.dropBehaviour&&P.ui.ddmanager.prepareOffsets(i,e)}}),P.ui.plugin.add("draggable","snap",{start:function(e,t,i){var n=i.options;i.snapElements=[],P(n.snap.constructor!==String?n.snap.items||":data(ui-draggable)":n.snap).each(function(){var e=P(this),t=e.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:t.top,left
vendor: 9,190 bytes, line 1
1:t.left})})},drag:function(e,t,i){var n,s,o,r,a,l,h,u,c,d,p=i.options,f=p.snapTolerance,m=t.offset.left,g=m+i.helperProportions.width,v=t.offset.top,b=v+i.helperProportions.height;for(c=i.snapElements.length-1;0<=c;c--)l=(a=i.snapElements[c].left-i.margins.left)+i.snapElements[c].width,u=(h=i.snapElements[c].top-i.margins.top)+i.snapElements[c].height,g<a-f||l+f<m||b<h-f||u+f<v||!P.contains(i.snapElements[c].item.ownerDocument,i.snapElements[c].item)?(i.snapElements[c].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,e,P.extend(i._uiHash(),{snapItem:i.snapElements[c].item})),i.snapElements[c].snapping=!1):("inner"!==p.snapMode&&(n=f>=Math.abs(h-b),s=f>=Math.abs(u-v),o=f>=Math.abs(a-g),r=f>=Math.abs(l-m),n&&(t.position.top=i._convertPositionTo("relative",{top:h-i.helperProportions.height,left:0}).top),s&&(t.position.top=i._convertPositionTo("relative",{top:u,left:0}).top),o&&(t.position.left=i._convertPositionTo("relative",{top:0,left:a-i.helperProportions.width}).left),r&&(t.position.left=i._convertPositionTo("relative",{top:0,left:l}).left)),d=n||s||o||r,"outer"!==p.snapMode&&(n=f>=Math.abs(h-v),s=f>=Math.abs(u-b),o=f>=Math.abs(a-m),r=f>=Math.abs(l-g),n&&(t.position.top=i._convertPositionTo("relative",{top:h,left:0}).top),s&&(t.position.top=i._convertPositionTo("relative",{top:u-i.helperProportions.height,left:0}).top),o&&(t.position.left=i._convertPositionTo("relative",{top:0,left:a}).left),r&&(t.position.left=i._convertPositionTo("relative",{top:0,left:l-i.helperProportions.width}).left)),!i.snapElements[c].snapping&&(n||s||o||r||d)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,e,P.extend(i._uiHash(),{snapItem:i.snapElements[c].item})),i.snapElements[c].snapping=n||s||o||r||d)}}),P.ui.plugin.add("draggable","stack",{start:function(e,t,i){var n,s=i.options,o=P.makeArray(P(s.stack)).sort(function(e,t){return(parseInt(P(e).css("zIndex"),10)||0)-(parseInt(P(t).css("zIndex"),10)||0)});o.length&&(n=parseInt(P(o[0]).css("zIndex"),10)||0,P(o).each(function(e){P(this).css("zIndex",n+e)}),this.css("zIndex",n+o.length))}}),P.ui.plugin.add("draggable","zIndex",{start:function(e,t,i){var n=P(t.helper),s=i.options;n.css("zIndex")&&(s._zIndex=n.css("zIndex")),n.css("zIndex",s.zIndex)},stop:function(e,t,i){var n=i.options;n._zIndex&&P(t.helper).css("zIndex",n._zIndex)}}),P.ui.draggable,P.widget("ui.droppable",{version:"1.11.2",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,t=this.options,i=t.accept;this.isover=!1,this.isout=!0,this.accept=P.isFunction(i)?i:function(e){return e.is(i)},this.proportions=function(){return arguments.length?void(e=arguments[0]):e||(e={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight})},this._addToManager(t.scope),t.addClasses&&this.element.addClass("ui-droppable")},_addToManager:function(e){P.ui.ddmanager.droppables[e]=P.ui.ddmanager.droppables[e]||[],P.ui.ddmanager.droppables[e].push(this)},_splice:function(e){for(var t=0;e.length>t;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){var e=P.ui.ddmanager.droppables[this.options.scope];this._splice(e),this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(e,t){if("accept"===e)this.accept=P.isFunction(t)?t:function(e){return e.is(t)};else if("scope"===e){var i=P.ui.ddmanager.droppables[this.options.scope];this._splice(i),this._addToManager(t)}this._super(e,t)},_activate:function(e){var t=P.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),t&&this._trigger("activate",e,this.ui(t))},_deactivate:function(e){var t=P.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),t&&this._trigger("deactivate",e,this.ui(t))},_over:function(e){var t=P.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",e,this.ui(t)))},_out:function(e){var t=P.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",e,this.ui(t)))},_drop:function(t,e){var i=e||P.ui.ddmanager.current,n=!1;return!(!i||(i.currentItem||i.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var e=P(this).droppable("instance");return e.options.greedy&&!e.options.disabled&&e.options.scope===i.options.scope&&e.accept.call(e.element[0],i.currentItem||i.element)&&P.ui.intersect(i,P.extend(e,{offset:e.element.offset()}),e.options.tolerance,t)?!(n=!0):void 0}),!n&&(!!this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",t,this.ui(i)),this.element)))},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.positionAbs}}}),P.ui.intersect=function(e,t,i,n){if(!t.offset)return!1;var s=(e.positionAbs||e.position.absolute).left+e.margins.left,o=(e.positionAbs||e.position.absolute).top+e.margins.top,r=s+e.helperProportions.width,a=o+e.helperProportions.height,l=t.offset.left,h=t.offset.top,u=l+t.proportions().width,c=h+t.proportions().height;switch(i){case"fit":return l<=s&&r<=u&&h<=o&&a<=c;case"intersect":return s+e.helperProportions.width/2>l&&u>r-e.helperProportions.width/2&&o+e.helperProportions.height/2>h&&c>a-e.helperProportions.height/2;case"pointer":return m(n.pageY,h,t.proportions().height)&&m(n.pageX,l,t.proportions().width);case"touch":return(h<=o&&o<=c||h<=a&&a<=c||o<h&&c<a)&&(l<=s&&s<=u||l<=r&&r<=u||s<l&&u<r);default:return!1}},P.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(e,t){var i,n,s=P.ui.ddmanager.droppables[e.options.scope]||[],o=t?t.type:null,r=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();e:for(i=0;s.length>i;i++)if(!(s[i].options.disabled||e&&!s[i].accept.call(s[i].element[0],e.currentItem||e.element))){for(n=0;r.length>n;n++)if(r[n]===s[i].element[0]){s[i].proportions().height=0;continue e}s[i].visible="none"!==s[i].element.css("display"),s[i].visible&&("mousedown"===o&&s[i]._activate.call(s[i],t),s[i].offset=s[i].element.offset(),s[i].proportions({width:s[i].element[0].offsetWidth,height:s[i].element[0].offsetHeight}))}},drop:function(e,t){var i=!1;return P.each((P.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&P.ui.intersect(e,this,this.options.tolerance,t)&&(i=this._drop.call(this,t)||i),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,t)))}),i},dragStart:function(e,t){e.element.parentsUntil("body").bind("scroll.droppable",function(){e.options.refreshPositions||P.ui.ddmanager.prepareOffsets(e,t)})},drag:function(o,r){o.options.refreshPositions&&P.ui.ddmanager.prepareOffsets(o,r),P.each(P.ui.ddmanager.droppables[o.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var e,t,i,n=P.ui.intersect(o,this,this.options.tolerance,r),s=!n&&this.isover?"isout":n&&!this.isover?"isover":null;s&&(this.options.greedy&&(t=this.options.scope,(i=this.element.parents(":data(ui-droppable)").filter(function(){return P(this).droppable("instance").options.scope===t})).length&&((e=P(i[0]).droppable("instance")).greedyChild="isover"===s)),e&&"isover"===s&&(e.isover=!1,e.isout=!0,e._out.call(e,r)),this[s]=!0,this["isout"===s?"isover":"isout"]=!1,this["isover"===s?"_over":"_out"].call(this,r),e&&"isout"===s&&(e.isout=!1,e.isover=!0,e._over.call(e,r)))}})},dragStop:function(e,t){e.element.parentsUntil("body").unbind("scroll.droppable"),e.options.refreshPositions||P.ui.ddmanager.prepareOffsets(e,t)}},P.ui.droppable,P.widget("ui.resizable",P.ui.mouse,{version:"1.11.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(e){return parseInt(e,10)||0},_isNumber:function(e){return!isNaN(parseInt(e,10))},_hasScroll:function(e,t){if("hidden"===P(e).css("overflow"))return!1;var i=t&&"left"===t?"scrollLeft":"scrollTop",n=!1;return 0<e[i]||(e[i]=1,n=0<e[i],e[i]=0,n)},_create:function(){var e,t,i,n,s=this,o=this.options;if(this.element.addClass("ui-resizable"),P.extend(this,{_aspectRatio:!!o.aspectRatio,aspectRatio:o.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:o.helper||o.ghost||o.animate?o.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(P("<
1div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=o.handles||(P(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),e=this.handles.split(","),this.handles={},t=0;e.length>t;t++)i=P.trim(e[t]),(n=P("<div class='ui-resizable-handle "+("ui-resizable-"+i)+"'></div>")).css({zIndex:o.zIndex}),"se"===i&&n.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[i]=".ui-resizable-"+i,this.element.append(n);this._renderAxis=function(e){var t,i,n,s;for(t in e=e||this.element,this.handles)this.handles[t].constructor===String&&(this.handles[t]=this.element.children(this.handles[t]).first().show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(i=P(this.handles[t],this.element),s=/sw|ne|nw|se|n|s/.test(t)?i.outerHeight():i.outerWidth(),n=["padding",/ne|nw|n/.test(t)?"Top":/se|sw|s/.test(t)?"Bottom":/^e$/.test(t)?"Right":"Left"].join(""),e.css(n,s),this._proportionallyResize()),P(this.handles[t]).length},this._renderAxis(this.element),this._handles=P(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){s.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),s.axis=n&&n[1]?n[1]:"se")}),o.autoHide&&(this._handles.hide(),P(this.element).addClass("ui-resizable-autohide").mouseenter(function(){o.disabled||(P(this).removeClass("ui-resizable-autohide"),s._handles.show())}).mouseleave(function(){o.disabled||s.resizing||(P(this).addClass("ui-resizable-autohide"),s._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();function e(e){P(e).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()}var t;return this.elementIsWrapper&&(e(this.element),t=this.element,this.originalElement.css({position:t.css("position"),width:t.outerWidth(),height:t.outerHeight(),top:t.css("top"),left:t.css("left")}).insertAfter(t),t.remove()),this.originalElement.css("resize",this.originalResizeStyle),e(this.originalElement),this},_mouseCapture:function(e){var t,i,n=!1;for(t in this.handles)(i=P(this.handles[t])[0])!==e.target&&!P.contains(i,e.target)||(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var t,i,n,s=this.options,o=this.element;return this.resizing=!0,this._renderProxy(),t=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),s.containment&&(t+=P(s.containment).scrollLeft()||0,i+=P(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:t,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:o.width(),height:o.height()},this.originalSize=this._helper?{width:o.outerWidth(),height:o.outerHeight()}:{width:o.width(),height:o.height()},this.sizeDiff={width:o.outerWidth()-o.width(),height:o.outerHeight()-o.height()},this.originalPosition={left:t,top:i},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=P(".ui-resizable-"+this.axis).css("cursor"),P("body").css("cursor","auto"===n?this.axis+"-resize":n),o.addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var t,i,n=this.originalMousePosition,s=this.axis,o=e.pageX-n.left||0,r=e.pageY-n.top||0,a=this._change[s];return this._updatePrevProperties(),a&&(t=a.apply(this,[e,o,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(t=this._updateRatio(t,e)),t=this._respectSize(t,e),this._updateCache(t),this._propagate("resize",e),i=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),P.isEmptyObject(i)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges())),!1},_mouseStop:function(e){this.resizing=!1;var t,i,n,s,o,r,a,l=this.options,h=this;return this._helper&&(n=(i=(t=this._proportionallyResizeElements).length&&/textarea/i.test(t[0].nodeName))&&this._hasScroll(t[0],"left")?0:h.sizeDiff.height,s=i?0:h.sizeDiff.width,o={width:h.helper.width()-s,height:h.helper.height()-n},r=parseInt(h.element.css("left"),10)+(h.position.left-h.originalPosition.left)||null,a=parseInt(h.element.css("top"),10)+(h.position.top-h.originalPosition.top)||null,l.animate||this.element.css(P.extend(o,{top:a,left:r})),h.helper.height(h.size.height),h.helper.width(h.size.width),this._helper&&!l.animate&&this._proportionallyResize()),P("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left
vendor: 5,259 bytes, line 1
1:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var e={};return this.position.top!==this.prevPosition.top&&(e.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(e.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(e.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(e.height=this.size.height+"px"),this.helper.css(e),e},_updateVirtualBoundaries:function(e){var t,i,n,s,o,r=this.options;o={minWidth:this._isNumber(r.minWidth)?r.minWidth:0,maxWidth:this._isNumber(r.maxWidth)?r.maxWidth:1/0,minHeight:this._isNumber(r.minHeight)?r.minHeight:0,maxHeight:this._isNumber(r.maxHeight)?r.maxHeight:1/0},(this._aspectRatio||e)&&(t=o.minHeight*this.aspectRatio,n=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,s=o.maxWidth/this.aspectRatio,t>o.minWidth&&(o.minWidth=t),n>o.minHeight&&(o.minHeight=n),o.maxWidth>i&&(o.maxWidth=i),o.maxHeight>s&&(o.maxHeight=s)),this._vBoundaries=o},_updateCache:function(e){this.offset=this.helper.offset(),this._isNumber(e.left)&&(this.position.left=e.left),this._isNumber(e.top)&&(this.position.top=e.top),this._isNumber(e.height)&&(this.size.height=e.height),this._isNumber(e.width)&&(this.size.width=e.width)},_updateRatio:function(e){var t=this.position,i=this.size,n=this.axis;return this._isNumber(e.height)?e.width=e.height*this.aspectRatio:this._isNumber(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===n&&(e.left=t.left+(i.width-e.width),e.top=null),"nw"===n&&(e.top=t.top+(i.height-e.height),e.left=t.left+(i.width-e.width)),e},_respectSize:function(e){var t=this._vBoundaries,i=this.axis,n=this._isNumber(e.width)&&t.maxWidth&&t.maxWidth<e.width,s=this._isNumber(e.height)&&t.maxHeight&&t.maxHeight<e.height,o=this._isNumber(e.width)&&t.minWidth&&t.minWidth>e.width,r=this._isNumber(e.height)&&t.minHeight&&t.minHeight>e.height,a=this.originalPosition.left+this.originalSize.width,l=this.position.top+this.size.height,h=/sw|nw|w/.test(i),u=/nw|ne|n/.test(i);return o&&(e.width=t.minWidth),r&&(e.height=t.minHeight),n&&(e.width=t.maxWidth),s&&(e.height=t.maxHeight),o&&h&&(e.left=a-t.minWidth),n&&h&&(e.left=a-t.maxWidth),r&&u&&(e.top=l-t.minHeight),s&&u&&(e.top=l-t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left||(e.left=null):e.top=null,e},_getPaddingPlusBorderDimensions:function(e){for(var t=0,i=[],n=[e.css("borderTopWidth"),e.css("borderRightWidth"),e.css("borderBottomWidth"),e.css("borderLeftWidth")],s=[e.css("paddingTop"),e.css("paddingRight"),e.css("paddingBottom"),e.css("paddingLeft")];t<4;t++)i[t]=parseInt(n[t],10)||0,i[t]+=parseInt(s[t],10)||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var e,t=0,i=this.helper||this.element;this._proportionallyResizeElements.length>t;t++)e=this._proportionallyResizeElements[t],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(e)),e.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,t=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||P("<div style='overflow:hidden;'></div>"),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++t.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){var i=this.originalSize;return{left:this.originalPosition.left+t,width:i.width-t}},n:function(e,t,i){var n=this.originalSize;return{top:this.originalPosition.top+i,height:n.height-i}},s:function(e,t,i){return{height:this.originalSize.height+i}},se:function(e,t,i){return P.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,t,i]))},sw:function(e,t,i){return P.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,t,i]))},ne:function(e,t,i){return P.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,t,i]))},nw:function(e,t,i){return P.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,t,i]))}},_propagate:function(e,t){P.ui.plugin.call(this,e,[t,this.ui()]),"resize"!==e&&this._trigger(e,t,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),P.ui.plugin.add("resizable","animate",{stop:function(t){var i=P(this).resizable("instance"),e=i.options,n=i._proportionallyResizeElements,s=n.length&&/textarea/i.test(n[0].nodeName),o=s&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,r=s?0:i.sizeDiff.width,a={width:i.size.width-r,height:i.size.height-o},l=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,h=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(P.extend(a,h&&l?{top:h,left:l}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var e={
vendor: 20,144 bytes, line 1
1width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};n&&n.length&&P(n[0]).css({width:e.width,height:e.height}),i._updateCache(e),i._propagate("resize",t)}})}}),P.ui.plugin.add("resizable","containment",{start:function(){var i,n,e,t,s,o,r,a=P(this).resizable("instance"),l=a.options,h=a.element,u=l.containment,c=u instanceof P?u.get(0):/parent/.test(u)?h.parent().get(0):u;c&&(a.containerElement=P(c),/document/.test(u)||u===document?(a.containerOffset={left:0,top:0},a.containerPosition={left:0,top:0},a.parentData={element:P(document),left:0,top:0,width:P(document).width(),height:P(document).height()||document.body.parentNode.scrollHeight}):(i=P(c),n=[],P(["Top","Right","Left","Bottom"]).each(function(e,t){n[e]=a._num(i.css("padding"+t))}),a.containerOffset=i.offset(),a.containerPosition=i.position(),a.containerSize={height:i.innerHeight()-n[3],width:i.innerWidth()-n[1]},e=a.containerOffset,t=a.containerSize.height,s=a.containerSize.width,o=a._hasScroll(c,"left")?c.scrollWidth:s,r=a._hasScroll(c)?c.scrollHeight:t,a.parentData={element:c,left:e.left,top:e.top,width:o,height:r}))},resize:function(e){var t,i,n,s,o=P(this).resizable("instance"),r=o.options,a=o.containerOffset,l=o.position,h=o._aspectRatio||e.shiftKey,u={top:0,left:0},c=o.containerElement,d=!0;c[0]!==document&&/static/.test(c.css("position"))&&(u=a),l.left<(o._helper?a.left:0)&&(o.size.width=o.size.width+(o._helper?o.position.left-a.left:o.position.left-u.left),h&&(o.size.height=o.size.width/o.aspectRatio,d=!1),o.position.left=r.helper?a.left:0),l.top<(o._helper?a.top:0)&&(o.size.height=o.size.height+(o._helper?o.position.top-a.top:o.position.top),h&&(o.size.width=o.size.height*o.aspectRatio,d=!1),o.position.top=o._helper?a.top:0),n=o.containerElement.get(0)===o.element.parent().get(0),s=/relative|absolute/.test(o.containerElement.css("position")),n&&s?(o.offset.left=o.parentData.left+o.position.left,o.offset.top=o.parentData.top+o.position.top):(o.offset.left=o.element.offset().left,o.offset.top=o.element.offset().top),t=Math.abs(o.sizeDiff.width+(o._helper?o.offset.left-u.left:o.offset.left-a.left)),i=Math.abs(o.sizeDiff.height+(o._helper?o.offset.top-u.top:o.offset.top-a.top)),t+o.size.width>=o.parentData.width&&(o.size.width=o.parentData.width-t,h&&(o.size.height=o.size.width/o.aspectRatio,d=!1)),i+o.size.height>=o.parentData.height&&(o.size.height=o.parentData.height-i,h&&(o.size.width=o.size.height*o.aspectRatio,d=!1)),d||(o.position.left=o.prevPosition.left,o.position.top=o.prevPosition.top,o.size.width=o.prevSize.width,o.size.height=o.prevSize.height)},stop:function(){var e=P(this).resizable("instance"),t=e.options,i=e.containerOffset,n=e.containerPosition,s=e.containerElement,o=P(e.helper),r=o.offset(),a=o.outerWidth()-e.sizeDiff.width,l=o.outerHeight()-e.sizeDiff.height;e._helper&&!t.animate&&/relative/.test(s.css("position"))&&P(this).css({left:r.left-n.left-i.left,width:a,height:l}),e._helper&&!t.animate&&/static/.test(s.css("position"))&&P(this).css({left:r.left-n.left-i.left,width:a,height:l})}}),P.ui.plugin.add("resizable","alsoResize",{start:function(){function t(e){P(e).each(function(){var e=P(this);e.data("ui-resizable-alsoresize",{width:parseInt(e.width(),10),height:parseInt(e.height(),10),left:parseInt(e.css("left"),10),top:parseInt(e.css("top"),10)})})}var e=P(this).resizable("instance").options;"object"!=typeof e.alsoResize||e.alsoResize.parentNode?t(e.alsoResize):e.alsoResize.length?(e.alsoResize=e.alsoResize[0],t(e.alsoResize)):P.each(e.alsoResize,function(e){t(e)})},resize:function(e,o){function i(e,i){P(e).each(function(){var e=P(this),n=P(this).data("ui-resizable-alsoresize"),s={},t=i&&i.length?i:e.parents(o.originalElement[0]).length?["width","height"]:["width","height","top","left"];P.each(t,function(e,t){var i=(n[t]||0)+(a[t]||0);i&&0<=i&&(s[t]=i||null)}),e.css(s)})}var t=P(this).resizable("instance"),n=t.options,s=t.originalSize,r=t.originalPosition,a={height:t.size.height-s.height||0,width:t.size.width-s.width||0,top:t.position.top-r.top||0,left:t.position.left-r.left||0};"object"!=typeof n.alsoResize||n.alsoResize.nodeType?i(n.alsoResize):P.each(n.alsoResize,function(e,t){i(e,t)})},stop:function(){P(this).removeData("resizable-alsoresize")}}),P.ui.plugin.add("resizable","ghost",{start:function(){var e=P(this).resizable("instance"),t=e.options,i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof t.ghost?t.ghost:""),e.ghost.appendTo(e.helper)},resize:function(){var e=P(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=P(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),P.ui.plugin.add("resizable","grid",{resize:function(){var e,t=P(this).resizable("instance"),i=t.options,n=t.size,s=t.originalSize,o=t.originalPosition,r=t.axis,a="number"==typeof i.grid?[i.grid,i.grid]:i.grid,l=a[0]||1,h=a[1]||1,u=Math.round((n.width-s.width)/l)*l,c=Math.round((n.height-s.height)/h)*h,d=s.width+u,p=s.height+c,f=i.maxWidth&&d>i.maxWidth,m=i.maxHeight&&p>i.maxHeight,g=i.minWidth&&i.minWidth>d,v=i.minHeight&&i.minHeight>p;i.grid=a,g&&(d+=l),v&&(p+=h),f&&(d-=l),m&&(p-=h),/^(se|s|e)$/.test(r)?(t.size.width=d,t.size.height=p):/^(ne)$/.test(r)?(t.size.width=d,t.size.height=p,t.position.top=o.top-c):/^(sw)$/.test(r)?(t.size.width=d,t.size.height=p,t.position.left=o.left-u):((p-h<=0||d-l<=0)&&(e=t._getPaddingPlusBorderDimensions(this)),0<p-h?(t.size.height=p,t.position.top=o.top-c):(p=h-e.height,t.size.height=p,t.position.top=o.top+s.height-p),0<d-l?(t.size.width=d,t.position.left=o.left-u):(d=h-e.height,t.size.width=d,t.position.left=o.left+s.width-d))}}),P.ui.resizable,P.widget("ui.selectable",P.ui.mouse,{version:"1.11.2",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e,t=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){(e=P(t.options.filter,t.element[0])).addClass("ui-selectee"),e.each(function(){var e=P(this),t=e.offset();P.data(this,"selectable-item",{element:this,$element:e,left:t.left,top:t.top,right:t.left+e.outerWidth(),bottom:t.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=e.addClass("ui-selectee"),this._mouseInit(),this.helper=P("<div class='ui-selectable-helper'></div>")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(i){var n=this,e=this.options;this.opos=[i.pageX,i.pageY],this.options.disabled||(this.selectees=P(e.filter,this.element[0]),this._trigger("start",i),P(e.appendTo).append(this.helper),this.helper.css({left:i.pageX,top:i.pageY,width:0,height:0}),e.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var e=P.data(this,"selectable-item");e.startselected=!0,i.metaKey||i.ctrlKey||(e.$element.removeClass("ui-selected"),e.selected=!1,e.$element.addClass("ui-unselecting"),e.unselecting=!0,n._trigger("unselecting",i,{unselecting:e.element}))}),P(i.target).parents().addBack().each(function(){var e,t=P.data(this,"selectable-item");return t?(e=!i.metaKey&&!i.ctrlKey||!t.$element.hasClass("ui-selected"),t.$element.removeClass(e?"ui-unselecting":"ui-selected").addClass(e?"ui-selecting":"ui-unselecting"),t.unselecting=!e,t.selecting=e,(t.selected=e)?n._trigger("selecting",i,{selecting:t.element}):n._trigger("unselecting",i,{unselecting:t.element}),!1):void 0}))},_mouseDrag:function(i){if(this.dragged=!0,!this.options.disabled){var e,n=this,s=this.options,o=this.opos[0],r=this.opos[1],a=i.pageX,l=i.pageY;return a<o&&(e=a,a=o,o=e),l<r&&(e=l,l=r,r=e),this.helper.css({left:o,top:r,width:a-o,height:l-r}),this.selectees.each(function(){var e=P.data(this,"selectable-item"),t=!1;e&&e.element!==n.element[0]&&("touch"===s.tolerance?t=!(e.left>a||o>e.right||e.top>l||r>e.bottom):"fit"===s.tolerance&&(t=e.left>o&&a>e.right&&e.top>r&&l>e.bottom),t?(e.selected&&(e.$element.removeClass("ui-selected"),e.selected=!1),e.unselecting&&(e.$element.removeClass("ui-unselecting"),e.unselecting=!1),e.selecting||(e.$element.addClass("ui-selecting"),e.selecting=!0,n._trigger("selecting",i,{selecting:e.element}))):(e.selecting&&((i.metaKey||i.ctrlKey)&&e.startselected?(e.$element.removeClass("ui-selecting"),e.selecting=!1,e.$element.addClass("ui-selected"),e.selected=!0):(e.$element.removeClass("ui-selecting"),e.selecting=!1,e.startselected&&(e.$element.addClass("ui-unselecting"),e.unselecting=!0),n._trigger("unselecting",i,{unselecting:e.element}))),e.selected&&(i.metaKey||i.ctrlKey||e.startselected||(e.$element.removeClass("ui-selected"),e.selected=!1,e.$element.addClass("ui-unselecting"),e.unselecting=!0,n._trigger("unselecting",i,{unselecting:e.element})))))}),!1}},_mouseStop:function(t){var i=this;return this.dragged=!1,P(".ui-unselecting",this.element[0]).each(function(){var e=P.data(this,"selectable-item");e.$element.removeClass("ui-unselecting"),e.unselecting=!1,e.startselected=!1,i._trigger("unselected",t,{unselected:e.element})}),P(".ui-selecting",this.element[0]).each(function(){var e=P.data(this,"selectable-item");e.$element.removeClass("ui-selecting").addClass("ui-selected"),e.selecting=!1,e.selected=!0,e.startselected=!0,i._trigger("selected",t,{selected:e.element})}),this._trigger("stop",t),this.helper.remove(),!1}}),P.widget("ui.sortable",P.ui.mouse,{version:"1.11.2",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,i){return t<=e&&e<t+i},_isFloating:function(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))},_create:function(){var e=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=!!this.items.length&&("x"===e.axis||this._isFloating(this.items[0].item)),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(e,t){this._super(e,t),"handle"===e&&this._setHandleClassName()},_setHandleClassName:function(){this.element.find(".ui-sortable-handle").removeClass("ui-sortable-handle"),P.each(this.items,function(){(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item).addClass("ui-sortable-handle")})},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").find(".ui-sortable-handle").removeClass("ui-sortable-handle"),this._mouseDestroy();for(var e=this.items.length-1;0<=e;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,t){var i=null,n=!1,s=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(e),P(e.target).parents().each(function(){return P.data(this,s.widgetName+"-item")===s?(i=P(this),!1):void 0}),P.data(e.target,s.widgetName+"-item")===s&&(i=P(e.target)),!!i&&(!(this.options.handle&&!t&&(P(this.options.handle,i).find("*").addBack().each(function(){this===e.target&&(n=!0)}),!n))&&(this.currentItem=i,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(e,t,i){var n,s,o=this.options;if((this.currentContainer=this).refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},P.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),o.containment&&this._setContainment(),o.cursor&&"auto"!==o.cursor&&(s=this.document.find("body"),this.storedCursor=s.css("cursor"),s.css("cursor",o.cursor),this.storedStylesheet=P("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(s)),o.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",o.opacity)),o.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",o.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(n=this.containers.length-1;0<=n;n--)this.containers[n]._trigger("activate",e,this._uiHash(this));return P.ui.ddmanager&&(P.ui.ddmanager.current=this),P.ui.ddmanager&&!o.dropBehaviour&&P.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var t,i,n,s,o=this.options,r=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<o.scrollSensitivity?this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop+o.scrollSpeed:e.pageY-this.overflowOffset.top<o.scrollSensitivity&&(this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop-o.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<o.scrollSensitivity?this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft+o.scrollSpeed:e.pageX-this.overflowOffset.left<o.scrollSensitivity&&(this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft-o.scrollSpeed)):(e.pageY-P(document).scrollTop()<o.scrollSensitivity?r=P(document).scrollTop(P(document).scrollTop()-o.scrollSpeed):P(window).height()-(e.pageY-P(document).scrollTop())<o.scrollSensitivity&&(r=P(document).scrollTop(P(document).scrollTop()+o.scrollSpeed)),e.pageX-P(document).scrollLeft()<o.scrollSensitivity?r=P(document).scrollLeft(P(document).scrollLeft()-o.scrollSpeed):P(window).width()-(e.pageX-P(document).scrollLeft())<o.scrollSensitivity&&(r=P(document).scrollLeft(P(document).scrollLeft()+o.scrollSpeed))),!1!==r&&P.ui.ddmanager&&!o.dropBehaviour&&P.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),t=this.items.length-1;0<=t;t--)if(n=(i=this.items[t]).item[0],(s=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&n!==this.currentItem[0]&&this.placeholder[1===s?"next":"prev"]()[0]!==n&&!P.contains(this.placeholder[0],n)&&("semi-dynamic"!==this.options.type||!P.contains(this.element[0],n))){if(this.direction=1===s?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(e,i),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),P.ui.ddmanager&&P.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,t){if(e){if(P.ui.ddmanager&&!this.options.dropBehaviour&&P.ui.ddmanager.drop(this,e),this.options.revert){var i=this,n=this.placeholder.offset(),s=this.options.axis,o={};s&&"x"!==s||(o.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)),s&&"y"!==s||(o.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,P(this.helper).animate(o,parseInt(this.options.revert,10)||500,function(){i._clear(e)})}else this._clear(e,t);return!1}},cancel:function(){if(this.dragging){this._mouseUp({target:null}),"original"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var e=this.containers.length-1;0<=e;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),P.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?P(this.domPosition.prev).after(this.currentItem):P(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var e=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},P(e).each(function(){var e=(P(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);e&&i.push((t.key||e[1]+"[]")+"="+(t.key&&t.expression?e[1]:e[2]))}),!i.length&&t.key&&i.push(t.key+"="),i.join("&")},toArray:function(e){var t=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},t.each(function(){i.push(P(e.item||this).attr(e.attribute||"id")||"")}),i},_intersectsWith:function(e){var t=this.positionAbs.left,i=t+this.helperProportions.width,n=this.positionAbs.top,s=n+this.helperProportions.height,o=e.left,r=o+e.width,a=e.top,l=a+e.height,h=this.offset.click.top,u=this.offset.click.left,c="x"===this.options.axis||a<n+h&&n+h<l,d="y"===this.options.axis||o<t+u&&t+u<r,p=c&&d;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?p:t+this.helperProportions.width/2>o&&r>i-this.helperProportions.width/2&&n+this.helperProportions.height/2>a&&l>s-this.helperProportions.height/2},_intersectsWithPointer:function(e){var t="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height),i="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width),n=t&&i,s=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return!!n&&(this.floating?o&&"right"===o||"down"===s?2:1:s&&("down"===s?2:1))},_intersectsWithSides:function(e){var t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),n=this._getDragVerticalDirection(),s=this._getDragHorizontalDirection();return this.floating&&s?"right"===s&&i||"left"===s&&!i:n&&("down"===n&&t||"up"===n&&!t)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return 0!=e&&(0<e?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!=e&&(0<e?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;
vendor: 2,147 bytes, line 1
1return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(e){function t(){r.push(this)}var i,n,s,o,r=[],a=[],l=this._connectWith();if(l&&e)for(i=l.length-1;0<=i;i--)for(n=(s=P(l[i])).length-1;0<=n;n--)(o=P.data(s[n],this.widgetFullName))&&o!==this&&!o.options.disabled&&a.push([P.isFunction(o.options.items)?o.options.items.call(o.element):P(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);for(a.push([P.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):P(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=a.length-1;0<=i;i--)a[i][0].each(t);return P(r)},_removeCurrentsFromItems:function(){var i=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=P.grep(this.items,function(e){for(var t=0;i.length>t;t++)if(i[t]===e.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var t,i,n,s,o,r,a,l,h=this.items,u=[[P.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):P(this.options.items,this.element),this]],c=this._connectWith();if(c&&this.ready)for(t=c.length-1;0<=t;t--)for(i=(n=P(c[t])).length-1;0<=i;i--)(s=P.data(n[i],this.widgetFullName))&&s!==this&&!s.options.disabled&&(u.push([P.isFunction(s.options.items)?s.options.items.call(s.element[0],e,{item:this.currentItem}):P(s.options.items,s.element),s]),this.containers.push(s));for(t=u.length-1;0<=t;t--)for(o=u[t][1],i=0,l=(r=u[t][0]).length;i<l;i++)(a=P(r[i])).data(this.widgetName+"-item",o),h.push({item:a,instance:o,width:0,height:0,left:0,top:0})},refreshPositions:function(e){var t,i,n,s;for(this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),t=this.items.length-1;0<=t;t--)(i=this.items[t]).instance!==this.currentContainer&&this.currentContainer&&i.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?P(this.options.toleranceElement,i.item):i.item,e||(i.width=n.outerWidth(),i.height=n.outerHeight()),s=n.offset(),i.left=s.left,i.top=s.top);
vendor: 1,122 bytes, line 1
1if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(t=this.containers.length-1;0<=t;t--)s=this.containers[t].element.offset(),this.containers[t].containerCache.left=s.left,this.containers[t].containerCache.top=s.top,this.containers[t].containerCache.width=this.containers[t].element.outerWidth(),this.containers[t].containerCache.height=this.containers[t].element.outerHeight();return this},_createPlaceholder:function(i){var n,s=(i=i||this).options;s.placeholder&&s.placeholder.constructor!==String||(n=s.placeholder,s.placeholder={element:function(){var e=i.currentItem[0].nodeName.toLowerCase(),t=P("<"+e+">",i.document[0]).addClass(n||i.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper");return"tr"===e?i.currentItem.children().each(function(){P("<td>&#160;</td>",i.document[0]).attr("colspan",P(this).attr("colspan")||1).appendTo(t)}):"img"===e&&t.attr("src",i.currentItem.attr("src")),n||t.css("visibility","hidden"),t},update:function(e,t){n&&!s.forcePlaceholderSize||(t.height()||t.height(i.currentItem.innerHe
vendor: 5,260 bytes, line 1
1ight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),t.width()||t.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10)))}}),i.placeholder=P(s.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),s.placeholder.update(i,i.placeholder)},_contactContainers:function(e){var t,i,n,s,o,r,a,l,h,u,c=null,d=null;for(t=this.containers.length-1;0<=t;t--)if(!P.contains(this.currentItem[0],this.containers[t].element[0]))if(this._intersectsWith(this.containers[t].containerCache)){if(c&&P.contains(this.containers[t].element[0],c.element[0]))continue;c=this.containers[t],d=t}else this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",e,this._uiHash(this)),this.containers[t].containerCache.over=0);if(c)if(1===this.containers.length)this.containers[d].containerCache.over||(this.containers[d]._trigger("over",e,this._uiHash(this)),this.containers[d].containerCache.over=1);else{for(n=1e4,s=null,o=(h=c.floating||this._isFloating(this.currentItem))?"left":"top",r=h?"width":"height",u=h?"clientX":"clientY",i=this.items.length-1;0<=i;i--)P.contains(this.containers[d].element[0],this.items[i].item[0])&&this.items[i].item[0]!==this.currentItem[0]&&(a=this.items[i].item.offset()[o],l=!1,e[u]-a>this.items[i][r]/2&&(l=!0),n>Math.abs(e[u]-a)&&(n=Math.abs(e[u]-a),s=this.items[i],this.direction=l?"up":"down"));if(!s&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[d])return void(this.currentContainer.containerCache.over||(this.containers[d]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1));s?this._rearrange(e,s,null,!0):this._rearrange(e,null,this.containers[d].element,!0),this._trigger("change",e,this._uiHash()),this.containers[d]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[d],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[d]._trigger("over",e,this._uiHash(this)),this.containers[d].containerCache.over=1}},_createHelper:function(e){var t=this.options,i=P.isFunction(t.helper)?P(t.helper.apply(this.element[0],[e,this.currentItem])):"clone"===t.helper?this.currentItem.clone():this.currentItem;return i.parents("body").length||P("parent"!==t.appendTo?t.appendTo:this.currentItem[0].parentNode)[0].appendChild(i[0]),i[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),i[0].style.width&&!t.forceHelperSize||i.width(this.currentItem.width()),i[0].style.height&&!t.forceHelperSize||i.height(this.currentItem.height()),i},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),P.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&P.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&P.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t,i,n=this.options;"parent"===n.containment&&(n.containment=this.helper[0].parentNode),"document"!==n.containment&&"window"!==n.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,P("document"===n.containment?document:window).width()-this.helperProportions.width-this.margins.left,(P("document"===n.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(e=P(n.containment)[0],t=P(n.containment).offset(),i="hidden"!==P(e).css("overflow"),this.containment=[t.left+(parseInt(P(e).css("borderLeftWidth"),10)||0)+(parseInt(P(e).css("paddingLeft"),10)||0)-this.margins.left,t.top+(parseInt(P(e).css("borderTopWidth"),
vendor: 13,704 bytes, line 1
110)||0)+(parseInt(P(e).css("paddingTop"),10)||0)-this.margins.top,t.left+(i?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(P(e).css("borderLeftWidth"),10)||0)-(parseInt(P(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,t.top+(i?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(P(e).css("borderTopWidth"),10)||0)-(parseInt(P(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,t){t=t||this.position;var i="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&P.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(n[0].tagName);return{top:t.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():s?0:n.scrollTop())*i,left:t.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():s?0:n.scrollLeft())*i}},_generatePosition:function(e){var t,i,n=this.options,s=e.pageX,o=e.pageY,r="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&P.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,a=/(html|body)/i.test(r[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(s=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(o=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(s=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top)),n.grid&&(t=this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1],o=this.containment?t-this.offset.click.top>=this.containment[1]&&t-this.offset.click.top<=this.containment[3]?t:t-this.offset.click.top>=this.containment[1]?t-n.grid[1]:t+n.grid[1]:t,i=this.originalPageX+Math.round((s-this.originalPageX)/n.grid[0])*n.grid[0],s=this.containment?i-this.offset.click.left>=this.containment[0]&&i-this.offset.click.left<=this.containment[2]?i:i-this.offset.click.left>=this.containment[0]?i-n.grid[0]:i+n.grid[0]:i)),{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():a?0:r.scrollTop()),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():a?0:r.scrollLeft())}},_rearrange:function(e,t,i,n){i?i[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var s=this.counter;this._delay(function(){s===this.counter&&this.refreshPositions(!n)})},_clear:function(e,t){function i(t,i,n){return function(e){n._trigger(t,e,i._uiHash(i))}}this.reverting=!1;var n,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(n in this._storedCSS)"auto"!==this._storedCSS[n]&&"static"!==this._storedCSS[n]||(this._storedCSS[n]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!t&&s.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||s.push(function(e){this._trigger("update",e,this._uiHash())}),this!==this.currentContainer&&(t||(s.push(function(e){this._trigger("remove",e,this._uiHash())}),s.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),n=this.containers.length-1;0<=n;n--)t||s.push(i("deactivate",this,this.containers[n])),this.containers[n].containerCache.over&&(s.push(i("out",this,this.containers[n])),this.containers[n].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(n=0;s.length>n;n++)s[n].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===P.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var t=e||this;return{helper:t.helper,placeholder:t.placeholder||P([]),position:t.position,originalPosition:t.originalPosition,offset:t.positionAbs,item:t.currentItem,sender:e?e.element:null}}}),P.widget("ui.accordion",{version:"1.11.2",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=P(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():P()}},_createIcons:function(){var e=this.options.icons;e&&(P("<span>").addClass("ui-accordion-header-icon ui-icon "+e.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(e.header).addClass(e.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").removeUniqueId(),this._destroyIcons(),e=this.headers.next().removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").css("display","").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){return"active"===e?void this._activate(t):("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||!1!==this.options.active||this._activate(0),"icons"===e&&(this._destroyIcons(),t&&this._createIcons()),void("disabled"===e&&(this.element.toggleClass("ui-state-disabled",!!t).attr("aria-disabled",t),this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!t))))},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var t=P.ui.keyCode,i=this.headers.length,n=this.headers.index(e.target),s=!1;switch(e.keyCode){case t.RIGHT:case t.DOWN:s=this.headers[(n+1)%i];break;case t.LEFT:case t.UP:s=this.headers[(n-1+i)%i];break;case t.SPACE:case t.ENTER:this._eventHandler(e);break;case t.HOME:s=this.headers[0];break;case t.END:s=this.headers[i-1]}s&&(P(e.target).attr("tabIndex",-1),P(s).attr("tabIndex",0),s.focus(),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===P.ui.keyCode.UP&&e.ctrlKey&&P(e.currentTarget).prev().focus()},refresh:function(){var e=this.options;this._processPanels(),!1===e.active&&!0===e.collapsible||!this.headers.length?(e.active=!1,this.active=P()):!1===e.active?this._activate(0):this.active.length&&!P.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=P()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var e=this.headers,t=this.panels;this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-state-default ui-corner-all"),this.panels=this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide(),t&&(this._off(e.not(this.headers)),this._off(t.not(this.panels)))},_refresh:function(){var i,e=this.options,t=e.heightStyle,n=this.element.parent();this.active=this._findActive(e.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(){var e=P(this),t=e.uniqueId().attr("id"),i=e.next(),n=i.uniqueId().attr("id");e.attr("aria-controls",n),i.attr("aria-labelledby",t)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(e.event),"fill"===t?(i=n.height(),this.element.siblings(":visible").each(function(){var e=P(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.headers.each(function(){i-=P(this).outerHeight(!0)}),this.headers.next().each(function(){P(this).height(Math.max(0,i-P(this).innerHeight()+P(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.headers.next().each(function(){i=Math.max(i,P(this).css("height","").height())}).height(i))},_activate:function(e){var t=this._findActive(e)[0];t!==this.active[0]&&(t=t||this.active[0],this._eventHandler({target:t,currentTarget:t,preventDefault:P.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):P()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&P.each(e.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var t=this.options,i=this.active,n=P(e.currentTarget),s=n[0]===i[0],o=s&&t.collapsible,r=o?P():n.next(),a=i.next(),l={oldHeader:i,oldPanel:a,newHeader:o?P():n,newPanel:r};e.preventDefault(),s&&!t.collapsible||!1===this._trigger("beforeActivate",e,l)||(t.active=!o&&this.headers.index(n),this.active=s?P():n,this._toggle(l),i.removeClass("ui-accordion-header-active ui-state-active"),t.icons&&i.children(".ui-accordion-header-icon").removeClass(t.icons.activeHeader).addClass(t.icons.header),s||(n.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),t.icons&&n.children(".ui-accordion-header-icon").removeClass(t.icons.header).addClass(t.icons.activeHeader),n.next().addClass("ui-accordion-content-active")))},_toggle:function(e){var t=e.newPanel,i=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=t,this.prevHide=i,this.options.animate?this._animate(t,i,e):(i.hide(),t.show(),this._toggleComplete(e)),i.attr({"aria-hidden":"true"}),i.prev().attr("aria-selected","false"),t.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):t.length&&this.headers.filter(function(){return 0===P(this).attr("tabIndex")}).attr("tabIndex",-1),t.attr("aria-hidden","false").prev().attr({"aria-selected":"true",tabIndex:0,"aria-expanded":"true"})},_animate:function(e,i,t){function n(){a._toggleComplete(t)}var s,o,r,a=this,l=0,h=e.length&&(!i.length||e.index()<i.index()),u=this.options.animate||{},c=h&&u.down||u;return"number"==typeof c&&(r=c),"string"==typeof c&&(o=c),o=o||c.easing||u.easing,r=r||c.duration||u.duration,i.length?e.length?(s=e.show().outerHeight(),i.animate(this.hideProps,{duration:r,easing:o,step:function(e,t){t.now=Math.round(e)}}),void e.hide().animate(this.showProps,{duration:r,easing:o,complete:n,step:function(e,t){t.now=Math.round(e),"height"!==t.prop?l+=t.now:"content"!==a.options.heightStyle&&(t.now=Math.round(s-i.outerHeight()-l),l=0)}})):i.animate(this.hideProps,r,o,n):e.animate(this.showProps,r,o,n)},_toggleComplete:function(e){var t=e.oldPanel;t.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trigger("activate",null,e)}}),P.widget("ui.menu",{version:"1.11.2",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},items:"> *",menus:"ul",position:{my:"left-1 top",at:"right top"}
vendor: 6,717 bytes, line 1
1,role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault()},"click .ui-menu-item":function(e){var t=P(e.target);!this.mouseHandled&&t.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),t.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&P(this.document[0].activeElement).closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){if(!this.previousFilter){var t=P(e.currentTarget);t.siblings(".ui-state-active").removeClass("ui-state-active"),this.focus(e,t)}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var i=this.active||this.element.find(this.options.items).eq(0);t||this.focus(e,i)},blur:function(e){this._delay(function(){P.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-menu-icons ui-front").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").removeUniqueId().removeClass("ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var e=P(this);e.data("ui-menu-submenu-carat")&&e.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(e){var t,i,n,s,o=!0;switch(e.keyCode){case P.ui.keyCode.PAGE_UP:this.previousPage(e);break;case P.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case P.ui.keyCode.HOME:this._move("first","first",e);break;case P.ui.keyCode.END:this._move("last","last",e);break;case P.ui.keyCode.UP:this.previous(e);break;case P.ui.keyCode.DOWN:this.next(e);break;case P.ui.keyCode.LEFT:this.collapse(e);break;case P.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case P.ui.keyCode.ENTER:case P.ui.keyCode.SPACE:this._activate(e);break;case P.ui.keyCode.ESCAPE:this.collapse(e);break;default:o=!1,i=this.previousFilter||"",n=String.fromCharCode(e.keyCode),s=!1,clearTimeout(this.filterTimer),n===i?s=!0:n=i+n,t=this._filterMenuItems(n),(t=s&&-1!==t.index(this.active.next())?this.active.nextAll(".ui-menu-item"):t).length||(n=String.fromCharCode(e.keyCode),t=this._filterMenuItems(n)),t.length?(this.focus(e,t),this.previousFilter=n,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}o&&e.preventDefault()},_activate:function(e){this.active.is(".ui-state-disabled")||(this.active.is("[aria-haspopup='true']")?this.expand(e):this.select(e))},refresh:function(){var e,t=this,n=this.options.icons.submenu,i=this.element.find(this.options.menus);this.element.toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length),i.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-front").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=P(this),t=e.parent(),i=P("<span>").addClass("ui-menu-icon ui-icon "+n).data("ui-menu-submenu-carat",!0);t.attr("aria-haspopup","true").prepend(i),e.attr("aria-labelledby",t.attr("id"))}),(e=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=P(this);t._isDivider(e)&&e.addClass("ui-widget-content ui-menu-divider")}),e.not(".ui-menu-item, .ui-menu-divider").addClass("ui-menu-item").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!P.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){"icons"===e&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(t.submenu),"disabled"===e&&this.element.toggleClass("ui-state-disabled",!!t).attr("aria-disabled",t),this._super(e,t)},focus:function(e,t){var i,n;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),n=this.active.addClass("ui-state-focus").removeClass("ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",n.attr("id")),this.active.parent().closest(".ui-menu-item").addClass("ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(i),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(e){var t,i,n,s,o,r;this._hasScroll()&&(t=parseFloat(P.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(P.css(this.activeMenu[0],"paddingTop"))||0,n=e.offset().top-this.activeMenu.offset().top-t-i,s=this.activeMenu.scrollTop(),o=this.activeMenu.height(),r=e.outerHeight(),n<0?this.activeMenu.scrollTop(s+n):o<n+r&&this.activeMenu.scrollTop(s+n-o+r))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this.active.removeClass("ui-state-focus"),this.active=null,this._trigger("blur",e,{item:this.active}))},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(e)},this.delay))},_open:function(e){var t=P.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(t)},collapseAll:function(t,i){clearTimeout(this.timer),this.timer=this._delay(function(){var e=i?this.element:P(t&&t.target).closest(this.element.find(".ui-menu"));e.length||(e=this.element),this._close(e),this.blur(t),this.activeMenu=e},this.delay)},_close:function(e){(e=e||(this.active?this.active.parent():this.element)).find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","fal
1se").end().find(".ui-state-active").not(".ui-state-focus").removeClass("ui-state-active")},_closeOnDocumentClick:function(e){return!P(e.target).closest(".ui-menu").length},_isDivider:function(e){return!/[^\-\u2014\u2013\s]/.test(e.text())},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(e,t,i){var n;this.active&&(n="first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[e+"All"](".ui-menu-item").eq(0)),n&&n.length&&this.active||(n=this.activeMenu.find(this.options.items)[t]()),this.focus(i,n)},nextPage:function(e){var t,i,n;return this.active?void(this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return(t=P(this)).offset().top-i-n<0}),this.focus(e,t)):this.focus(e,this.activeMenu.find(this.options.items)[this.active?"last":"first"]()))):void this.next(e)},previousPage:function(e){var t,i,n;return this.active?void(this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return 0<(t=P(this)).offset().top-i+n}),this.focus(e,t)):this.focus(e,this.activeMenu.find(this.options.items).first()))):void this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||P(e.target).closest(".ui-menu-item");var t={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,t)},_filterMenuItems:function(e){var t=e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),i=RegExp("^"+t,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return i.test(P.trim(P(this).text()))})}}),P.widget("ui.autocomplete",{version:"1.11.2",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var i,n,s,e=this.element[0].nodeName.toLowerCase(),t="textarea"===e,o="input"===e;this.isMultiLine=t||!o&&this.element.prop("isContentEditable"),this.valueMethod=this.element[t||o?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(e){if(this.element.prop("readOnly"))n=s=i=!0;else{n=s=i=!1;var t=P.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:i=!0,this._move("previousPage",e);break;case t.PAGE_DOWN:i=!0,this._move("nextPage",e);break;case t.UP:i=!0,this._keyEvent("previous",e);break;case t.DOWN:i=!0,this._keyEvent("next",e);break;case t.ENTER:this.menu.active&&(i=!0,e.preventDefault(),this.menu.select(e));break;case t.TAB:this.menu.active&&this.menu.select(e);break;case t.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(e),e.preventDefault());break;default:n=!0,this._searchTimeout(e)}}},keypress:function(e){if(i)return i=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||e.preventDefault());if(!n){var t=P.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:this._move("previousPage",e);break;case t.PAGE_DOWN:this._move("nextPage",e);break;case t.UP:this._keyEvent("previous",e);break;case t.DOWN:this._keyEvent("next",e)}}},input:function(e){return s?(s=!1,void e.preventDefault()):void this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value(
vendor: 17,233 bytes, line 1
1)},blur:function(e){return this.cancelBlur?void delete this.cancelBlur:(clearTimeout(this.searching),this.close(e),void this._change(e))}}),this._initSource(),this.menu=P("<ul>").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];P(e.target).closest(".ui-menu-item").length||this._delay(function(){var t=this;this.document.one("mousedown",function(e){e.target===t.element[0]||e.target===i||P.contains(i,e.target)||t.close()})})},menufocus:function(e,t){var i,n;return this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type))?(this.menu.blur(),void this.document.one("mousemove",function(){P(e.target).trigger(e.originalEvent)})):(n=t.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:n})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(n.value),void((i=t.item.attr("aria-label")||n.value)&&P.trim(i).length&&(this.liveRegion.children().hide(),P("<div>").text(i).appendTo(this.liveRegion))))},menuselect:function(e,t){var i=t.item.data("ui-autocomplete-item"),n=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=n,this._delay(function(){this.previous=n,this.selectedItem=i})),!1!==this._trigger("select",e,{item:i})&&this._value(i.value),this.term=this._value(),this.close(e),this.selectedItem=i}}),this.liveRegion=P("<span>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).addClass("ui-helper-hidden-accessible").appendTo(this.document[0].body),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_appendTo:function(){var e=this.options.appendTo;return(e=e&&(e.jquery||e.nodeType?P(e):this.document.find(e).eq(0)))&&e[0]||(e=this.element.closest(".ui-front")),e.length||(e=this.document[0].body),e},_initSource:function(){var i,n,s=this;P.isArray(this.options.source)?(i=this.options.source,this.source=function(e,t){t(P.ui.autocomplete.filter(i,e.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(e,t){s.xhr&&s.xhr.abort(),s.xhr=P.ajax({url:n,data:e,dataType:"json",success:function(e){t(e)},error:function(){t([])}})}):this.source=this.options.source},_searchTimeout:function(n){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),t=this.menu.element.is(":visible"),i=n.altKey||n.ctrlKey||n.metaKey||n.shiftKey;e&&(!e||t||i)||(this.selectedItem=null,this.search(null,n))},this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):!1!==this._trigger("search",t)?this._search(e):void 0},_search:function(e){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var t=++this.requestIndex;return P.proxy(function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this.element.removeClass("ui-autocomplete-loading")},this)},__response:function(e){e=e&&this._normalize(e),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:P.map(e,function(e){return"string"==typeof e?{label:e,value:e}:P.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){var t=this.menu.element.empty();this._renderMenu(t,e),this.isNewMenu=!0,this.menu.refresh(),t.show(),this._resizeMenu(),t.position(P.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(i,e){var n=this;P.each(e,function(e,t){n._renderItemData(i,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(e,t){return P("<li>").text(t.label).appendTo(e)},_move:function(e,t){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[e](t):void this.search(null,t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(e,t),t.preventDefault())}}),P.extend(P.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,t){var i=RegExp(P.ui.autocomplete.escapeRegex(t),"i");return P.grep(e,function(e){return i.test(e.label||e.value||e)})}}),P.widget("ui.autocomplete",P.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(1<e?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var t;this._superApply(arguments),this.options.disabled||this.cancelSearch||(t=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),P("<div>").text(t).appendTo(this.liveRegion))}}),P.ui.autocomplete;function g(){var e=P(this);setTimeout(function(){e.find(":ui-button").button("refresh")},1)}function v(e){var t=e.name,i=e.form,n=P([]);return t&&(t=t.replace(/'/g,"\\'"),n=i?P(i).find("[name='"+t+"'][type=radio]"):P("[name='"+t+"'][type=radio]",e.ownerDocument).filter(function(){return!this.form})),n}var b,y,_,w="ui-button ui-widget ui-state-default ui-corner-all",x="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only";P.widget("ui.button",{version:"1.11.2",defaultElement:"<button>",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,g),"boolean"!=typeof this.options.disabled?this.options.disabled=!!this.element.prop("disabled"):this.element.prop("disabled",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title");var t=this,i=this.options,e="checkbox"===this.type||"radio"===this.type,n=e?"":"ui-state-active";null===i.label&&(i.label="input"===this.type?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(w).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){i.disabled||this===b&&P(this).addClass("ui-state-active")}).bind("mouseleave"+this.eventNamespace,function(){i.disabled||P(this).removeClass(n)}).bind("click"+this.eventNamespace,function(e){i.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}),this._on({focus:function(){this.buttonElement.addClass("ui-state-focus")},blur:function(){this.buttonElement.removeClass("ui-state-focus")}}),e&&this.element.bind("change"+this.eventNamespace,function(){t.refresh()}),"checkbox"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){return!i.disabled&&void 0}):"radio"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(i.disabled)return!1;P(this).addClass("ui-state-active"),t.buttonElement.attr("aria-pressed","true");var e=t.element[0];v(e).not(e).map(function(){return P(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown"+this.eventNamespace,function(){return!i.disabled&&(P(this).addClass("ui-state-active"),b=this,void t.document.one("mouseup",function(){b=null}))}).bind("mouseup"+this.eventNamespace,function(){return!i.disabled&&void P(this).removeClass("ui-state-active")}).bind("keydown"+this.eventNamespace,function(e){return!i.disabled&&void(e.keyCode!==P.ui.keyCode.SPACE&&e.keyCode!==P.ui.keyCode.ENTER||P(this).addClass("ui-state-active"))}).bind("keyup"+this.eventNamespace+" blur"+this.eventNamespace,function(){P(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(e){e.keyCode===P.ui.keyCode.SPACE&&P(this).click()})),this._setOption("disabled",i.disabled),this._resetButton()},_determineButtonType:function(){var e,t,i;this.type=this.element.is("[type=checkbox]")?"checkbox":this.element.is("[type=radio]")?"radio":this.element.is("input")?"input":"button","checkbox"===this.type||"radio"===this.type?(e=this.element.parents().last(),t="label[for='"+this.element.attr("id")+"']",this.buttonElement=e.find(t),this.buttonElement.length||(e=e.length?e.siblings():this.element.siblings(),this.buttonElement=e.filter(t),this.buttonElement.length||(this.buttonElement=e.find(t))),this.element.addClass("ui-helper-hidden-accessible"),(i=this.element.is(":checked"))&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.prop("aria-pressed",i)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass(w+" ui-state-active "+x).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title")},_setOption:function(e,t){return this._super(e,t),"disabled"===e?(this.widget().toggleClass("ui-state-disabled",!!t),this.element.prop("disabled",!!t),void(t&&("checkbox"===this.type||"radio"===this.type?this.buttonElement.removeClass("ui-state-focus"):this.buttonElement.removeClass("ui-state-focus ui-state-active")))):void this._resetButton()},refresh:function(){var e=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOption("disabled",e),"radio"===this.type?v(this.element[0]).each(function(){P(this).is(":checked")?P(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):P(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):"checkbox"===this.type&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){if("input"!==this.type){var e=this.buttonElement.removeClass(x),t=P("<span></span>",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(e.empty()).text(),i=this.options.icons,n=i.primary&&i.secondary,s=[];i.primary||i.secondary?(this.options.text&&s.push("ui-button-text-icon"+(n?"s":i.primary?"-primary":"-secondary")),i.primary&&e.prepend("<span class='ui-button-icon-primary ui-icon "+i.primary+"'></span>"),i.secondary&&e.append("<span class='ui-button-icon-secondary ui-icon "+i.secondary+"'></span>"),this.options.text||(s.push(n?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||e.attr("title",P.trim(t)))):s.push("ui-button-text-only"),e.addClass(s.join(" "))}else this.options.label&&this.element.val(this.options.label)}}),P.widget("ui.buttonset",{version:"1.11.2",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(e,t){"disabled"===e&&this.buttons.button("option",e,t),this._super(e,t)},refresh:function(){var e="rtl"===this.element.css("direction"),t=this.element.find(this.options.items),i=t.filter(":ui-button");t.not(":ui-button").button(),i.button("refresh"),this.buttons=t.map(function(){return P(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(e?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(e?"ui-corner-left":"ui-corner-right").end().end()},_destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return P(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")}}),P.ui.button,P.extend(P.ui,{datepicker:{version:"1.11.2"}}),P.extend(e.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return c(this._defaults,e||{}),this},_attachDatepicker:function(e,t){var i,n,s;n="div"===(i=e.nodeName.toLowerCase())||"span"===i,e.id||(this.uuid+=1,e.id="dp"+this.uuid),(s=this._newInst(P(e),n)).settings=P.extend({},t||{}),"input"===i?this._connectDatepicker(e,s):n&&this._inlineDatepicker(e,s)},_newInst:function(e,t){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:t,dpDiv:t?i(P("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,t){var i=P(e);t.append=P([]),t.trigger=P([]),i.hasClass(this.markerClassName)||(this._attachments(i,t),i.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(t),P.data(e,"datepicker",t),t.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,t){var i,n,s,o=this._get(t,"appendText"),r=this._get(t,"isRTL");t.append&&t.append.remove(),o&&(t.append=P("<span class='"+this._appendClass+"'>"+o+"</span>"),e[r?"before":"after"](t.append)),e.unbind("focus",this._showDatepicker),t.trigger&&t.trigger.remove(),"focus"!==(i=this._get(t,"showOn"))&&"both"!==i||e.focus(this._showDatepicker),"button"!==i&&"both"!==i||(n=this._get(t,"buttonText"),s=this._get(t,"buttonImage"),t.trigger=P(this._get(t,"buttonImageOnly")?P("<img/>").addClass(this._triggerClass).attr({src:s,alt:n,title:n}):P("<button type='button'></button>").addClass(this._triggerClass).html(s?P("<img/>").attr({src:s,alt:n,title:n}):n)),e[r?"before":"after"](t.trigger),t.trigger.click(function(){return P.datepicker._datepickerShowing&&P.datepicker._lastInput===e[0]?P.datepicker._hideDatepicker():(P.datepicker._datepickerShowing&&P.datepicker._lastInput!==e[0]&&P.datepicker._hideDatepicker(),P.datepicker._showDatepicker(e[0])),!1}))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,i,n,s,o=new Date(2009,11,20),r=this._get(e,"dateFormat");r.match(/[DM]/)&&(t=function(e){for(s=n=i=0;e.length>s;s++)e[s].length>i&&(i=e[s].length,n=s);return n},o.setMonth(t(this._get(e,r.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(t(this._get(e,r.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),e.input.attr("size",this._formatDate(e,o).length)}},_inlineDatepicker:function(e,t){var i=P(e);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(t.dpDiv),P.data(e,"datepicker",t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&&this._disableDatepicker(e),t.dpDiv.css("display","block"))},_dialogDatepicker:function(e,t,i,n,s){var o,r,a,l,h,u=this._dialogInst;return u||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=P("<input type='text' id='"+o+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.keydown(this._doKeyDown),P("body").append(this._dialogInput),(u=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},P.data(this._dialogInput[0],"datepicker",u)),c(u.settings,n||{}),t=t&&t.constructor===Date?this._formatDate(u,t):t,this._dialogInput.val(t),this._pos=s?s.length?s:[s.pageX,s.pageY]:null,this._pos||(r=document.documentElement.clientWidth,a=document.documentElement.clientHeight,l=document.documentElement.scrollLeft||document.body.scrollLeft,h=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[r/2-100+l,a/2-150+h]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),u.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),P.blockUI&&P.blockUI(this.dpDiv),P.data(this._dialogInput[0],"datepicker",u),this},_destroyDatepicker:function(e){var t,i=P(e),n=P.data(e,"datepicker");i.hasClass(this.markerClassName)&&(t=e.nodeName.toLowerCase(),P.removeData(e,"datepicker"),"input"===t?(n.append.remove(),n.trigger.remove(),i.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("
1keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):"div"!==t&&"span"!==t||i.removeClass(this.markerClassName).empty())},_enableDatepicker:function(t){var e,i,n=P(t),s=P.data(t,"datepicker");n.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!1,s.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==e&&"span"!==e||((i=n.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=P.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var e,i,n=P(t),s=P.data(t,"datepicker");n.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!0,s.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==e&&"span"!==e||((i=n.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=P.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;this._disabledInputs.length>t;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(e){try{return P.data(e,"datepicker")}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,t,i){var n,s,o,r,a=this._getInst(e);return 2===arguments.length&&"string"==typeof t?"defaults"===t?P.extend({},P.datepicker._defaults):a?"all"===t?P.extend({},a.settings):this._get(a,t):null:(n=t||{},"string"==typeof t&&((n={})[t]=i),void(a&&(this._curInst===a&&this._hideDatepicker(),s=this._getDateDatepicker(e,!0),o=this._getMinMaxDate(a,"min"),r=this._getMinMaxDate(a,"max"),c(a.settings,n),null!==o&&void 0!==n.dateFormat&&void 0===n.minDate&&(a.settings.minDate=this._formatDate(a,o)),null!==r&&void 0!==n.dateFormat&&void 0===n.maxDate&&(a.settings.maxDate=this._formatDate(a,r)),"disabled"in n&&(n.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(P(e),a),this._autoSize(a),this._setDate(a,s),this._updateAlternate(a),this._updateDatepicker(a))))},_changeDatepicker:function(e,t,i){this._optionDatepicker(e,t,i)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var i=this._getInst(e);i&&(this._setDate(i,t),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(e,t){var i=this._getInst(e);return i&&!i.inline&&this._setDateFromField(i,t),i?this._getDate(i):null},_doKeyDown:function(e){var t,i,n,s=P.datepicker._getInst(e.target),o=!0,r=s.dpDiv.is(".ui-datepicker-rtl");if(s._keyEvent=!0,P.datepicker._datepickerShowing)switch(e.keyCode){case 9:P.datepicker._hideDatepicker(),o=!1;break;case 13:return(n=P("td."+P.datepicker._dayOverClass+":not(."+P.datepicker._currentClass+")",s.dpDiv))[0]&&P.datepicker._selectDay(e.target,s.selectedMonth,s.selectedYear,n[0]),(t=P.datepicker._get(s,"onSelect"))?(i=P.datepicker._formatDate(s),t.apply(s.input?s.input[0]:null,[i,s])):P.datepicker._hideDatepicker(),!1;case 27:P.datepicker._hideDatepicker();break;case 33:P.datepicker._adjustDate(e.target,e.ctrlKey?-P.datepicker._get(s,"stepBigMonths"):-P.datepicker._get(s,"stepMonths"),"M");break;case 34:P.datepicker._adjustDate(e.target,e.ctrlKey?+P.datepicker._get(s,"stepBigMonths"):+P.datepicker._get(s,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&P.datepicker._clearDate(e.target),o=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&P.datepicker._gotoToday(e.target),o=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&P.datepicker._adjustDate(e.target,r?1:-1,"D"),o=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&P.datepicker._adjustDate(e.target,e.ctrlKey?-P.datepicker._get(s,"stepBigMonths"):-P.datepicker._get(s,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&P.datepicker._adjustDate(e.target,-7,"D"),o=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&P.datepicker._adjustDate(e.target,r?-1:1,"D"),o=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&P.datepicker._adjustDate(e.target,e.ctrlKey?+P.datepicker._get(s,"stepBigMonths"):+P.datepicker._get(s,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&P.datepicker._adjustDate(e.target,7,"D"),o=e.ctrlKey||e.metaKey;break;default:o=!1}else 36===e.keyCode&&e.ctrlKey?P.datepicker._showDatepicker(this):o=!1;o&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var t,i,n=P.datepicker._getInst(e.target);return P.datepicker._get(n,"constrainInput")?(t=P.datepicker._possibleChars(P.datepicker._get(n,"dateFormat")),i=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||i<" "||!t||-1<t.indexOf(i)):void 0},_doKeyUp:function(e){var t=P.datepicker._getInst(e.target);if(t.input.val()!==t.lastVal)try{P.datepicker.parseDate(P.datepicker._get(t,"dateFormat"),t.input?t.input.val():null,P.datepicker._getFormatConfig(t))&&(P.datepicker._setDateFromField(t),P.datepicker._updateAlternate(t),P.datepicker._updateDatepicker(t))}catch(e){}return!0},_showDatepicker:function(e){var t,i,n,s,o,r,a;"input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=P("input",e.parentNode)[0]),P.datepicker._isDisabledDatepicker(e)||P.datepicker._lastInput===e||(t=P.datepicker._getInst(e),P.datepicker._curInst&&P.datepicker._curInst!==t&&(P.datepicker._curInst.dpDiv.stop(!0,!0),t&&P.datepicker._datepickerShowing&&P.datepicker._hideDatepicker(P.datepicker._curInst.input[0])),!1!==(n=(i=P.datepicker._get(t,"beforeShow"))?i.apply(e,[e,t]):{})&&(c(t.settings,n),t.lastVal=null,P.datepicker._lastInput=e,P.datepicker._setDateFromField(t),P.datepicker._inDialog&&(e.value=""),P.datepicker._pos||(P.datepicker._pos=P.datepicker._findPos(e),P.datepicker._pos[1]+=e.offsetHeight),s=!1,P(e).parents().each(function(){return!(s|="fixed"===P(this).css("position"))}),o={left:P.datepicker._pos[0],top:P.datepicker._pos[1]},P.datepicker._pos=null,t.dpDiv.empty(),t.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),P.datepicker._updateDatepicker(t),o=P.datepicker._checkOffset(t,o,s),t.dpDiv.css({position:P.datepicker._inDialog&&P.blockUI?"static":s?"fixed":"absolute",display:"none",left:o.left+"px",to
vendor: 5,229 bytes, line 1
1p:o.top+"px"}),t.inline||(r=P.datepicker._get(t,"showAnim"),a=P.datepicker._get(t,"duration"),t.dpDiv.css("z-index",function(e){for(var t,i;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(i=parseInt(e.css("zIndex"),10),!isNaN(i)&&0!==i))return i;e=e.parent()}return 0}(P(e))+1),P.datepicker._datepickerShowing=!0,P.effects&&P.effects.effect[r]?t.dpDiv.show(r,P.datepicker._get(t,"showOptions"),a):t.dpDiv[r||"show"](r?a:null),P.datepicker._shouldFocusInput(t)&&t.input.focus(),P.datepicker._curInst=t)))},_updateDatepicker:function(e){this.maxRows=4,(y=e).dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var t,i=this._getNumberOfMonths(e),n=i[1],s=e.dpDiv.find("."+this._dayOverClass+" a");0<s.length&&o.apply(s.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<n&&e.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",17*n+"em"),e.dpDiv[(1!==i[0]||1!==i[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===P.datepicker._curInst&&P.datepicker._datepickerShowing&&P.datepicker._shouldFocusInput(e)&&e.input.focus(),e.yearshtml&&(t=e.yearshtml,setTimeout(function(){t===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),t=e.yearshtml=null},0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(e,t,i){var n=e.dpDiv.outerWidth(),s=e.dpDiv.outerHeight(),o=e.input?e.input.outerWidth():0,r=e.input?e.input.outerHeight():0,a=document.documentElement.clientWidth+(i?0:P(document).scrollLeft()),l=document.documentElement.clientHeight+(i?0:P(document).scrollTop());return t.left-=this._get(e,"isRTL")?n-o:0,t.left-=i&&t.left===e.input.offset().left?P(document).scrollLeft():0,t.top-=i&&t.top===e.input.offset().top+r?P(document).scrollTop():0,t.left-=Math.min(t.left,t.left+n>a&&n<a?Math.abs(t.left+n-a):0),t.top-=Math.min(t.top,t.top+s>l&&s<l?Math.abs(s+r):0),t},_findPos:function(e){for(var t,i=this._getInst(e),n=this._get(i,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||P.expr.filters.hidden(e));)e=e[n?"previousSibling":"nextSibling"];return[(t=P(e).offset()).left,t.top]},_hideDatepicker:function(e){var t,i,n,s,o=this._curInst;!o||e&&o!==P.data(e,"datepicker")||this._datepickerShowing&&(t=this._get(o,"showAnim"),i=this._get(o,"duration"),n=function(){P.datepicker._tidyDialog(o)},P.effects&&(P.effects.effect[t]||P.effects[t])?o.dpDiv.hide(t,P.datepicker._get(o,"showOptions"),i,n):o.dpDiv["slideDown"===t?"slideUp":"fadeIn"===t?"fadeOut":"hide"](t?i:null,n),t||n(),this._datepickerShowing=!1,(s=this._get(o,"onClose"))&&s.apply(o.input?o.input[0]:null,[o.input?o.input.val():"",o]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),P.blockUI&&(P.unblockUI(),P("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(P.datepicker._curInst){var t=P(e.target),i=P.datepicker._getInst(t[0]);(t[0].id===P.datepicker._mainDivId||0!==t.parents("#"+P.datepicker._mainDivId).length||t.hasClass(P.datepicker.markerClassName)||t.closest("."+P.datepicker._triggerClass).length||!P.datepicker._datepickerShowing||P.datepicker._inDialog&&P.blockUI)&&(!t.hasClass(P.datepicker.markerClassName)||P.datepicker._curInst===i)||P.datepicker._hideDatepicker()}},_adjustDate:function(e,t,i){var n=P(e),s=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(s,t+("M"===i?this._get(s,"showCurrentAtPos"):0),i),this._updateDatepicker(s))},_gotoToday:function(e){var t,i=P(e),n=this._getInst(i[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(t=new Date,n.selectedDay=t.getDate(),n.drawMonth=n.selectedMonth=t.getMonth(),n.drawYear=n.selectedYear=t.getFullYear()),this._notifyChange(n),this._adjustDate(i)},_selectMonthYear:function(e,t,i){var n=P(e),s=this._getInst(n[0]);s["selected"+("M"===i?"Month":"Year")]=s["draw"+("M"===i?"Month":"Year")]=parseInt(t.options[t.selectedIndex].value,10),this._notifyChange(s),this._adjustDate(n)},_selectDay:function(e,t,i,n){var s,o=P(e);P(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(o[0])||((s=this._getInst(o[0])).selectedDay=s.currentDay=P("a",n).html(),s.selectedMonth=s.currentMonth=t,s.selectedYear=s.currentYear=i,this._selectDate(e,this._formatDate(s,s.currentDay,s.currentMonth,s.currentYear)))},_clearDate:function(e){var t=P(e);this._selectDate(t,"")},_selectDate:function(e,t){var i,n=P(e),s=this._getInst(n[0]);t=null!=t?t:this._formatDate(s),s.input&&s.input.val(t),this._updateAlternate(s),(i=this._get(s,"onSelect"))?i.apply(s.input?s.input[0]:null,[t,s]):s.input&&s.input.trigger("change"),s.inline?this._updateDatepicker(s):(this._hideDatepicker(),this._lastInput=s.input[0],"object"!=typeof s.input[0]&&s.input.focus(),this._lastInput=null)},_updateAlternate:function(e){var t,i,n,s=this._get(e,"altField");
1s&&(t=this._get(e,"altFormat")||this._get(e,"dateFormat"),i=this._getDate(e),n=this.formatDate(t,i,this._getFormatConfig(e)),P(s).each(function(){P(this).val(n)}))},noWeekends:function(e){var t=e.getDay();return[0<t&&t<6,""]},iso8601Week:function(e){var t,i=new Date(e.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),t=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((t-i)/864e5)/7)+1},parseDate:function(i,o,e){if(null==i||null==o)throw"Invalid arguments";if(""===(o="object"==typeof o?""+o:o+""))return null;function r(e){var t=i.length>a+1&&i.charAt(a+1)===e;return t&&a++,t}function t(e){var t=r(e),i="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,n=RegExp("^\\d{"+("y"===e?i:1)+","+i+"}"),s=o.substring(c).match(n);if(!s)throw"Missing number at position "+c;return c+=s[0].length,parseInt(s[0],10)}function n(e,t,i){var n=-1,s=P.map(r(e)?i:t,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(P.each(s,function(e,t){var i=t[1];return o.substr(c,i.length).toLowerCase()===i.toLowerCase()?(n=t[0],c+=i.length,!1):void 0}),-1!==n)return n+1;throw"Unknown name at position "+c}function s(){if(o.charAt(c)!==i.charAt(a))throw"Unexpected literal at position "+c;c++}var a,l,h,u,c=0,d=(e?e.shortYearCutoff:null)||this._defaults.shortYearCutoff,p="string"!=typeof d?d:(new Date).getFullYear()%100+parseInt(d,10),f=(e?e.dayNamesShort:null)||this._defaults.dayNamesShort,m=(e?e.dayNames:null)||this._defaults.dayNames,g=(e?e.monthNamesShort:null)||this._defaults.monthNamesShort,v=(e?e.monthNames:null)||this._defaults.monthNames,b=-1,y=-1,_=-1,w=-1,x=!1;for(a=0;i.length>a;a++)if(x)"'"!==i.charAt(a)||r("'")?s():x=!1;else switch(i.charAt(a)){case"d":_=t("d");break;case"D":n("D",f,m);break;case"o":w=t("o");break;case"m":y=t("m");break;case"M":y=n("M",g,v);break;case"y":b=t("y");break;case"@":b=(u=new Date(t("@"))).getFullYear(),y=u.getMonth()+1,_=u.getDate();break;case"!":b=(u=new Date((t("!")-this._ticksTo1970)/1e4)).getFullYear(),y=u.getMonth()+1,_=u.getDate();break;case"'":r("'")?s():x=!0;break;default:s()}if(o.length>c&&(h=o.substr(c),!/^\s+/.test(h)))throw"Extra/unparsed characters found in date: "+h;if(-1===b?b=(new Date).getFullYear():b<100&&(b+=(new Date).getFullYear()-(new Date).getFullYear()%100+(b<=p?0:-100)),-1<w)for(y=1,_=w;!(_<=(l=this._getDaysInMonth(b,y-1)));)y++,_-=l;if((u=this._daylightSavingAdjust(new Date(b,y-1,_))).getFullYear()!==b||u.getMonth()+1!==y||u.getDate()!==_)throw"Invalid date";return u},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:864e9*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(i,e,t){if(!e)return"";function s(e){var t=i.length>r+1&&i.charAt(r+1)===e;return t&&r++,t}function n(e,t,i){var n=""+t;if(s(e))for(;i>n.length;)n="0"+n;return n}function o(e,t,i,n){return s(e)?n[t]:i[t]}var r,a=(t?t.dayNamesShort:null)||this._defaults.dayNamesShort,l=(t?t.dayNames:null)||this._defaults.dayNames,h=(t?t.monthNamesShort:null)||this._defaults.monthNamesShort,u=(t?t.monthNames:null)||this._defaults.monthNames,c="",d=!1;if(e)for(r=0;i.length>r;r++)if(d)"'"!==i.charAt(r)||s("'")?c+=i.charAt(r):d=!1;else switch(i.charAt(r)){case"d":c+=n("d",e.getDate(),2);break;case"D":c+=o("D",e.getDay(),a,l);break;case"o":c+=n("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":c+=n("m",e.getMonth()+1,2);break;case"M":c+=o("M",e.getMonth(),h,u);break;case"y":c+=s("y")?e.getFullYear():(e.getYear()%100<10?"0":"")+e.getYear()%100;break;case"@":c+=e.getTime();break;case"!":c+=1e4*e.getTime()+this._ticksTo1970;break;case"'":s("'")?c+="'":d=!0;break;default:c+=i.charAt(r)}return c},_possibleChars:function(i){function e(e){var t=i.length>n+1&&i.charAt(n+1)===e;return t&&n++,t}var n,t="",s=!1;for(n=0;i.length>n;n++)if(s)"'"!==i.charAt(n)||e("'")?t+=i.charAt(n):s=!1;else switch(i.charAt(n)){case"d":case"m":case"y":case"@":t+="0123456789";break;case"D":case"M":return null;case"'":e("'")?t+="'":s=!0;break;default:t+=i.charAt(n)}return t},_get:function(e,t){return void 0!==e.settings[t]?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var i=this._get(e,"dateFormat"),n=e.lastVal=e.input?e.input.val():null,
vendor: 5,934 bytes, line 1
1s=this._getDefaultDate(e),o=s,r=this._getFormatConfig(e);try{o=this.parseDate(i,n,r)||s}catch(e){n=t?"":n}e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),e.currentDay=n?o.getDate():0,e.currentMonth=n?o.getMonth():0,e.currentYear=n?o.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(a,e,t){var i,n,s=null==e||""===e?t:"string"==typeof e?function(e){try{return P.datepicker.parseDate(P.datepicker._get(a,"dateFormat"),e,P.datepicker._getFormatConfig(a))}catch(e){}for(var t=(e.toLowerCase().match(/^c/)?P.datepicker._getDate(a):null)||new Date,i=t.getFullYear(),n=t.getMonth(),s=t.getDate(),o=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,r=o.exec(e);r;){switch(r[2]||"d"){case"d":case"D":s+=parseInt(r[1],10);break;case"w":case"W":s+=7*parseInt(r[1],10);break;case"m":case"M":n+=parseInt(r[1],10),s=Math.min(s,P.datepicker._getDaysInMonth(i,n));break;case"y":case"Y":i+=parseInt(r[1],10),s=Math.min(s,P.datepicker._getDaysInMonth(i,n))}r=o.exec(e)}return new Date(i,n,s)}(e):"number"==typeof e?isNaN(e)?t:(i=e,(n=new Date).setDate(n.getDate()+i),n):new Date(e.getTime());return(s=s&&"Invalid Date"==""+s?t:s)&&(s.setHours(0),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0)),this._daylightSavingAdjust(s)},_daylightSavingAdjust:function(e){return e?(e.setHours(12<e.getHours()?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var n=!t,s=e.selectedMonth,o=e.selectedYear,r=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=r.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=r.getMonth(),e.drawYear=e.selectedYear=e.currentYear=r.getFullYear(),s===e.selectedMonth&&o===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(n?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(e){var t=this._get(e,"stepMonths"),i="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){P.datepicker._adjustDate(i,-t,"M")},next:function(){P.datepicker._adjustDate(i,+t,"M")},hide:function(){P.datepicker._hideDatepicker()},today:function(){P.datepicker._gotoToday(i)},selectDay:function(){return P.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return P.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return P.datepicker._selectMonthYear(i,this,"Y"),!1}};P(this).bind(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,i,n,s,o,r,a,l,h,u,c,d,p,f,m,g,v,b,y,_,w,x,k,C,T,D,S,P,E,N,I,A,M,z,F,H,O,R,W,L=new Date,j=this._daylightSavingAdjust(new Date(L.getFullYear(),L.getMonth(),L.getDate())),q=this._get(e,"isRTL"),B=this._get(e,"showButtonPanel"),$=this._get(e,"hideIfNoPrevNext"),Y=this._get(e,"navigationAsDateFormat"),V=this._getNumberOfMonths(e),U=this._get(e,"showCurrentAtPos"),K=this._get(e,"stepMonths"),G=1!==V[0]||1!==V[1],X=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),Z=this._getMinMaxDate(e,"min"),J=this._getMinMaxDate(e,"max"),Q=e.drawMonth-U,ee=e.drawYear;if(Q<0&&(Q+=12,ee--),J)for(t=this._daylightSavingAdjust(new Date(J.getFullYear(),J.getMonth()-V[0]*V[1]+1,J.getDate())),t=Z&&t<Z?Z:t;this._daylightSavingAdjust(new Date(ee,Q,1))>t;)--Q<0&&(Q=11,ee--);for(e.drawMonth=Q,e.drawYear=ee,i=this._get(e,"prevText"),i=Y?this.formatDate(i,this._daylightSavingAdjust(new Date(ee,Q-K,1)),this._getFormatConfig(e)):i,n=this._canAdjustMonth(e,-1,ee,Q)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(q?"e":"w")+"'>"+i+"</span></a>":$?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(q?"e":"w")+"'>"+i+"</span></a>",s=this._get(e,"nextText"),s=Y?this.formatDate(s,this._daylightSavingAdjust(new Date(ee,Q+K,1)),this._getFormatConfig(e)):s,o=this._canAdjustMonth(e,1,ee,Q)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(q?"w":"e")+"'>"+s+"</span></a>":$?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(q?"w":"e")+"'>"+s+"</span></a>",r=this._get(e,"currentText"),a=this._get(e,"gotoCurrent")&&e.currentDay?X:j,r=Y?this.formatDate(r,a,this._getFormatConfig(e)):r,l=e.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(e,"closeText")+"</button>",h=B?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(q?l:"")+(this._isInRange(e,a)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+r+"</button>":"")+(q?"":l)+"</div>":"",u=parseInt(this._get(e,"firstDay"),10),u=isNaN(u)?0:u,c=this._get(e,"showWeek"),d=this._get(e,"dayNames"),p=this._get(e,"dayNamesMin"),f=this._get(e,"monthNames"),m=this._get(e,"monthNamesShort"),g=this._get(e,"beforeShowDay"),v=this._get(e,"showOtherMonths"),b=this._get(e,"selectOtherMonths"),y=this._getDefaultDate(e),_="",x=0;V[0]>x;x++){for(k="",this.maxRows=4,C=0;V[1]>C;C++){if(T=this._daylightSavingAdjust(new Date(ee,Q,e.selectedDay)),D=" ui-corner-all",S="",G){if(S+="<div class='ui-datepicker-group",1<V[1])switch(C){case 0:S+=" ui-datepicker-group-first",D=" ui-corner-"+(q?"right":"left");break;case V[1]-1:S+=" ui-datepicker-group-last",D=" ui-corner-"+(q?"left"
vendor: 6,131 bytes, line 1
1:"right");break;default:S+=" ui-datepicker-group-middle",D=""}S+="'>"}for(S+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+D+"'>"+(/all|left/.test(D)&&0===x?q?o:n:"")+(/all|right/.test(D)&&0===x?q?n:o:"")+this._generateMonthYearHeader(e,Q,ee,Z,J,0<x||0<C,f,m)+"</div><table class='ui-datepicker-calendar'><thead><tr>",P=c?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",w=0;w<7;w++)P+="<th scope='col'"+(5<=(w+u+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+d[E=(w+u)%7]+"'>"+p[E]+"</span></th>";for(S+=P+"</tr></thead><tbody>",N=this._getDaysInMonth(ee,Q),ee===e.selectedYear&&Q===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,N)),I=(this._getFirstDayOfMonth(ee,Q)-u+7)%7,A=Math.ceil((I+N)/7),M=G&&this.maxRows>A?this.maxRows:A,this.maxRows=M,z=this._daylightSavingAdjust(new Date(ee,Q,1-I)),F=0;F<M;F++){for(S+="<tr>",H=c?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(z)+"</td>":"",w=0;w<7;w++)O=g?g.apply(e.input?e.input[0]:null,[z]):[!0,""],W=(R=z.getMonth()!==Q)&&!b||!O[0]||Z&&z<Z||J&&J<z,H+="<td class='"+(5<=(w+u+6)%7?" ui-datepicker-week-end":"")+(R?" ui-datepicker-other-month":"")+(z.getTime()===T.getTime()&&Q===e.selectedMonth&&e._keyEvent||y.getTime()===z.getTime()&&y.getTime()===T.getTime()?" "+this._dayOverClass:"")+(W?" "+this._unselectableClass+" ui-state-disabled":"")+(R&&!v?"":" "+O[1]+(z.getTime()===X.getTime()?" "+this._currentClass:"")+(z.getTime()===j.getTime()?" ui-datepicker-today":""))+"'"+(R&&!v||!O[2]?"":" title='"+O[2].replace(/'/g,"&#39;")+"'")+(W?"":" data-handler='selectDay' data-event='click' data-month='"+z.getMonth()+"' data-year='"+z.getFullYear()+"'")+">"+(R&&!v?"&#xa0;":W?"<span class='ui-state-default'>"+z.getDate()+"</span>":"<a class='ui-state-default"+(z.getTime()===j.getTime()?" ui-state-highlight":"")+(z.getTime()===X.getTime()?" ui-state-active":"")+(R?" ui-priority-secondary":"")+"' href='#'>"+z.getDate()+"</a>")+"</td>",z.setDate(z.getDate()+1),z=this._daylightSavingAdjust(z);S+=H+"</tr>"}11<++Q&&(Q=0,ee++),k+=S+="</tbody></table>"+(G?"</div>"+(0<V[0]&&C===V[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}_+=k}return _+=h,e._keyEvent=!1,_},_generateMonthYearHeader:function(e,t,i,n,s,o,r,a){var l,h,u,c,d,p,f,m,g=this._get(e,"changeMonth"),v=this._get(e,"changeYear"),b=this._get(e,"showMonthAfterYear"),y="<div class='ui-datepicker-title'>",_="";if(o||!g)_+="<span class='ui-datepicker-month'>"+r[t]+"</span>";else{for(l=n&&n.getFullYear()===i,h=s&&s.getFullYear()===i,_+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",u=0;u<12;u++)(!l||u>=n.getMonth())&&(!h||s.getMonth()>=u)&&(_+="<option value='"+u+"'"+(u===t?" selected='selected'":"")+">"+a[u]+"</option>");_+="</select>"}if(b||(y+=_+(!o&&g&&v?"":"&#xa0;")),!e.yearshtml)if(e.yearshtml="",o||!v)y+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(c=this._get(e,"yearRange").split(":"),d=(new Date).getFullYear(),f=(p=function(e){var t=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?d+parseInt(e,10):parseInt(e,10);return isNaN(t)?d:t})(c[0]),m=Math.max(f,p(c[1]||"")),f=n?Math.max(f,n.getFullYear()):f,m=s?Math.min(m,s.getFullYear()):m,e.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";f<=m;f++)e.yearshtml+="<option value='"+f+"'"+(f===i?" selected='selected'":"")+">"+f+"</option>";e.yearshtml+="</select>",y+=e.yearshtml,e.yearshtml=null}return y+=this._get(e,"yearSuffix"),b&&(y+=(!o&&g&&v?"":"&#xa0;")+_),y+"</div>"},_adjustInstDate:function(e,t,i){var n=e.drawYear+("Y"===i?t:0),s=e.drawMonth+("M"===i?t:0),o=Math.min(e.selectedDay,this._getDaysInMonth(n,s))+("D"===i?t:0),r=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(n,s,o)));e.selectedDay=r.getDate(),e.drawMonth=e.selectedMonth=r.getMonth(),e.drawYear=e.selectedYear=r.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),n=this._getMinMaxDate(e,"max"),s=i&&t<i?i:t;return n&&n<s?n:s},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,n){var s=this._getNumberOfMonths(e),o=this._daylightSavingAdjust(new Date(i,n+(t<0?t:s[0]*s[1]),1));return t<0&&o.setDate(this._getDaysInMonth(o.getFullYear(),o.getMonth())),this._isInRange(e,o)},_isInRange:function(e,t){var i,n,s=this._getMinMaxDate(e,"min"),o=this._getMinMaxDate(e,"max"),r=null,a=null,l=this._get(e,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),r=parseInt(i[0],10),a=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(r+=n),i[1].match(/[+\-].*/)&&(a+=n)),(!s||t.getTime()>=s.getTime())&&(!o||t.getTime()<=o.getTime())&&(!r||t.getFullYear()>=r)&&(!a||a>=t.getFullYear())},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,n){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var s=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(n,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),s,this._getFormatConfig(e))}}),P.fn.datepicker=function(e){if(!this.length)return this;P.datepicker.initialized||(P(document).mousedown(P.datepicker._checkExternalClick),P.datepicker.initialized=!0),0===P("#"+P.datepicker._mainDivId).length&&P("body").append(P.datepicker.dpDiv);
vendor: 14,640 bytes, line 1
1var t=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?P.datepicker["_"+e+"Datepicker"].apply(P.datepicker,[this[0]].concat(t)):this.each(function(){"string"==typeof e?P.datepicker["_"+e+"Datepicker"].apply(P.datepicker,[this].concat(t)):P.datepicker._attachDatepicker(this,e)}):P.datepicker["_"+e+"Datepicker"].apply(P.datepicker,[this[0]].concat(t))},P.datepicker=new e,P.datepicker.initialized=!1,P.datepicker.uuid=(new Date).getTime(),P.datepicker.version="1.11.2",P.datepicker,P.widget("ui.dialog",{version:"1.11.2",options:{appendTo:"body",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:"Close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var t=P(this).css(e).offset().top;t<0&&P(this).css("top",e.top-t)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),this.options.title=this.options.title||this.originalTitle,this._createWrapper(),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(this.uiDialog),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&P.fn.draggable&&this._makeDraggable(),this.options.resizable&&P.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?P(e):this.document.find(e||"body").eq(0)},_destroy:function(){var e,t=this.originalPosition;this._destroyOverlay(),this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach(),this.uiDialog.stop(!0,!0).remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(e=t.parent.children().eq(t.index)).length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:P.noop,enable:P.noop,close:function(e){var t,i=this;if(this._isOpen&&!1!==this._trigger("beforeClose",e)){if(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),!this.opener.filter(":focusable").focus().length)try{(t=this.document[0].activeElement)&&"body"!==t.nodeName.toLowerCase()&&P(t).blur()}catch(e){}this._hide(this.uiDialog,this.options.hide,function(){i._trigger("close",e)})}},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,t){var i=!1,n=this.uiDialog.siblings(".ui-front:visible").map(function(){return+P(this).css("z-index")}).get(),s=Math.max.apply(null,n);return s>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",s+1),i=!0),i&&!t&&this._trigger("focus",e),i},open:function(){var e=this;return this._isOpen?void(this._moveToTop()&&this._focusTabbable()):(this._isOpen=!0,this.opener=P(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._makeFocusTarget(),void this._trigger("open"))},_focusTabbable:function(){var e=this._focusedElement;(e=e||this.element.find("[autofocus]")).length||(e=this.element.find(":tabbable")),e.length||(e=this.uiDialogButtonPane.find(":tabbable")),e.length||(e=this.uiDialogTitlebarClose.filter(":tabbable")),e.length||(e=this.uiDialog),e.eq(0).focus()},_keepFocus:function(e){function t(){var e=this.document[0].activeElement;this.uiDialog[0]===e||P.contains(this.uiDialog[0],e)||this._focusTabbable()}e.preventDefault(),t.call(this),this._delay(t)},_createWrapper:function(){this.uiDialog=P("<div>").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===P.ui.keyCode.ESCAPE)return e.preventDefault(),void this.close(e);if(e.keyCode===P.ui.keyCode.TAB&&!e.isDefaultPrevented()){var t=this.uiDialog.find(":tabbable"),i=t.filter(":first"),n=t.filter(":last");e.target!==n[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==i[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay(function(){n.focus()}),e.preventDefault()):(this._delay(function(){i.focus()}),e.preventDefault())}},mousedown:function(e){this._moveToTop(e)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=P("<div>").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(e){P(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=P("<button type='button'></button>").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{click:function(e){e.preventDefault(),this.close(e)}}),e=P("<span>").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(e),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(e){this.options.title||e.html("&#160;"),e.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=P("<div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=P("<div>").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_createButtons:function(){var s=this,e=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),P.isEmptyObject(e)||P.isArray(e)&&!e.length?void this.uiDialog.removeClass("ui-dialog-buttons"):(P.each(e,function(e,t){var i,n;t=P.isFunction(t)?{click:t,text:e}:t,t=P.extend({type:"button"},t),i=t.click,t.click=function(){i.apply(s.element[0],arguments)},n={icons:t.icons,text:t.showText},delete t.icons,delete t.showText,P("<button></button>",t).button(n).appendTo(s.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),void this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){function s(e){return{position:e.position,offset:e.offset}}var o=this,r=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(e,t){P(this).addClass("ui-dialog-dragging"),o._blockFrames(),o._trigger("dragStart",e,s(t))},drag:function(e,t){o._trigger("drag",e,s(t))},stop:function(e,t){var i=t.offset.left-o.document.scrollLeft(),n=t.offset.top-o.document.scrollTop();r.position={my:"left top",at:"left"+(0<=i?"+":"")+i+" top"+(0<=n?"+":"")+n,of:o.window},P(this).removeClass("ui-dialog-dragging"),o._unblockFrames(),o._trigger("dragStop",e,s(t))}})},_makeResizable:function(){function o(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}var r=this,a=this.options,e=a.resizable,t=this.uiDialog.css("position"),i="string"==typeof e?e:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:a.maxWidth,maxHeight:a.maxHeight,minWidth:a.minWidth,minHeight:this._minHeight(),handles:i,start:function(e,t){P(this).addClass("ui-dialog-resizing"),r._blockFrames(),r._trigger("resizeStart",e,o(t))},resize:function(e,t){r._trigger("resize",e,o(t))},stop:function(e,t){var i=r.uiDialog.offset(),n=i.left-r.document.scrollLeft(),s=i.top-r.document.scrollTop();a.height=r.uiDialog.height(),a.width=r.uiDialog.width(),a.position={my:"left top",at:"left"+(0<=n?"+":"")+n+" top"+(0<=s?"+":"")+s,of:r.window},P(this).removeClass("ui-dialog-resizing"),r._unblockFrames(),r._trigger("resizeStop",e,o(t))}}).css("position",t)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=P(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),t=P.inArray(this,e);-1!==t&&e.splice(t,1)},_trackingInstances:function(){var e=this.document.data("ui-dialog-instances");return e||(e=[],this.document.data("ui-dialog-instances",e)),e},_minHeight:function(){var e=this.options;return"auto"===e.height?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(){var e=this.uiDialog.is(":visible");e||this.uiDialog.show(),this.uiDialog.position(this.options.position),e||this.uiDialog.hide()},_setOptions:function(e){var i=this,n=!1,s={};P.each(e,function(e,t){i._setOption(e,t),e in i.sizeRelatedOptions&&(n=!0),e in i.resizableRelatedOptions&&(s[e]=t)}),n&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(e,t){var i,n,s=this.uiDialog;"dialogClass"===e&&s.removeClass(this.options.dialogClass).addClass(t),"disabled"!==e&&(this._super(e,t),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:""+t}),"draggable"===e&&((i=s.is(":data(ui-draggable)"))&&!t&&s.draggable("destroy"),!i&&t&&this._makeDraggable()),"position"===e&&this._position(),"resizable"===e&&((n=s.is(":data(ui-resizable)"))&&!t&&s.resizable("destroy"),n&&"string"==typeof t&&s.resizable("option","handles",t),n||!1===t||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var e,t,i,n=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),n.minWidth>n.width&&(n.width=n.minWidth),e=this.uiDialog.css({height:"auto",width:n.width}).outerHeight(),t=Math.max(0,n.minHeight-e),i="number"==typeof n.maxHeight?Math.max(0,n.maxHeight-e):"none","auto"===n.height?this.element.css({minHeight:t,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,n.height-e)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=P(this);return P("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return!!P(e.target).closest(".ui-dialog").length||!!P(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var t=!0;this._delay(function(){t=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(e){t||this._allowInteraction(e)||(e.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=P("<div>").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var e=this.document.data("ui-dialog-overlays")-1;e?this.document.data("ui-dialog-overlays",e):this.document.unbind("focusin").removeData("ui-dialog-overlays"),this.overlay.remove(),this.overlay=null}}}),P.widget("ui.progressbar",{version:"1.11.2",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min}),this.valueDiv=P("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(e){return void 0===e?this.options.value:(this.options.value=this._constrainedValue(e),void this._refreshValue())},_constrainedValue:function(e){return void 0===e&&(e=this.options.value),this.indeterminate=!1===e,"number"!=typeof e&&(e=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){"max"===e&&(t=Math.max(this.min,t)),"disabled"===e&&this.element.toggleClass("ui-state-disabled",!!t).attr("aria-disabled",t),this._super(e,t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,t=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(t.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=P("<div class='ui-progressbar-overlay'></div>").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}}),P.widget("ui.selectmenu",{version:"1.11.2",defaultElement:"<select>",options:{appendTo:null,disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"}
vendor: 4,259 bytes, line 1
1,width:null,change:null,close:null,focus:null,open:null,select:null},_create:function(){var e=this.element.uniqueId().attr("id");this.ids={element:e,button:e+"-button",menu:e+"-menu"},this._drawButton(),this._drawMenu(),this.options.disabled&&this.disable()},_drawButton:function(){var e=this,t=this.element.attr("tabindex");this.label=P("label[for='"+this.ids.element+"']").attr("for",this.ids.button),this._on(this.label,{click:function(e){this.button.focus(),e.preventDefault()}}),this.element.hide(),this.button=P("<span>",{class:"ui-selectmenu-button ui-widget ui-state-default ui-corner-all",tabindex:t||this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true"}).insertAfter(this.element),P("<span>",{class:"ui-icon "+this.options.icons.button}).prependTo(this.button),this.buttonText=P("<span>",{class:"ui-selectmenu-text"}).appendTo(this.button),this._setText(this.buttonText,this.element.find("option:selected").text()),this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){e.menuItems||e._refreshMenu()}),this._hoverable(this.button),this._focusable(this.button)},_drawMenu:function(){var n=this;this.menu=P("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=P("<div>",{class:"ui-selectmenu-menu ui-front"}).append(this.menu).appendTo(this._appendTo()),this.menuInstance=this.menu.menu({role:"listbox",select:function(e,t){e.preventDefault(),n._setSelection(),n._select(t.item.data("ui-selectmenu-item"),e)},focus:function(e,t){var i=t.item.data("ui-selectmenu-item");null!=n.focusIndex&&i.index!==n.focusIndex&&(n._trigger("focus",e,{item:i}),n.isOpen||n._select(i,e)),n.focusIndex=i.index,n.button.attr("aria-activedescendant",n.menuItems.eq(i.index).attr("id"))}}).menu("instance"),this.menu.addClass("ui-corner-bottom").removeClass("ui-corner-all"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this._setText(this.buttonText,this._getSelectedItem().text()),this.options.width||this._resizeButton()},_refreshMenu:function(){this.menu.empty();var e,t=this.element.find("option");t.length&&(this._parseOptions(t),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup"),e=this._getSelectedItem(),this.menuInstance.focus(null,e),this._setAria(e.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(e){this.options.disabled||(this.menuItems?(this.menu.find(".ui-state-focus").removeClass("ui-state-focus"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",e))},_position:function(){this.menuWrap.position(P.extend({of:this.button},this.options.position))},close:function(e){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",e))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderMenu:function(i,e){var n=this,s="";P.each(e,function(e,t){t.optgroup!==s&&(P("<li>",{class:"ui-selectmenu-optgroup ui-menu-divider"+(t.element.parent("optgroup").prop("disabled")?" ui-state-disabled":""),text:t.optgroup}).appendTo(i),s=t.optgroup),n._renderItemData(i,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-selectmenu-item",t)},_renderItem:function(e,t){var i=P("<li>");return t.disabled&&i.addClass("ui-state-disabled"),this._setText(i,t.label),i.appendTo(e)},_setText:function(e,t){t?e.text(t):e.html("&#160;")},_move:function(e,t){var i,n,s=".ui-menu-item";this.isOpen?i=this.menuItems.eq(this.focusIndex):(i=this.menuItems.eq(this.element[0].selectedIndex),s+=":not(.ui-state-disabled)"),(n="first"===e||"last"===e?i["first"===e?"prevAll":"nextAll"](s).eq(-1):i[e+"All"](s).eq(0)).length&&this.menuInstance.focus(t,n)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex)}
vendor: 6,428 bytes, line 1
1,_toggle:function(e){this[this.isOpen?"close":"open"](e)},_setSelection:function(){var e;this.range&&(window.getSelection?((e=window.getSelection()).removeAllRanges(),e.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(e){this.isOpen&&(P(e.target).closest(".ui-selectmenu-menu, #"+this.ids.button).length||this.close(e))}},_buttonEvents:{mousedown:function(){var e;window.getSelection?(e=window.getSelection()).rangeCount&&(this.range=e.getRangeAt(0)):this.range=document.selection.createRange()},click:function(e){this._setSelection(),this._toggle(e)},keydown:function(e){var t=!0;switch(e.keyCode){case P.ui.keyCode.TAB:case P.ui.keyCode.ESCAPE:this.close(e),t=!1;break;case P.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(e);break;case P.ui.keyCode.UP:e.altKey?this._toggle(e):this._move("prev",e);break;case P.ui.keyCode.DOWN:e.altKey?this._toggle(e):this._move("next",e);break;case P.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(e):this._toggle(e);break;case P.ui.keyCode.LEFT:this._move("prev",e);break;case P.ui.keyCode.RIGHT:this._move("next",e);break;case P.ui.keyCode.HOME:case P.ui.keyCode.PAGE_UP:this._move("first",e);break;case P.ui.keyCode.END:case P.ui.keyCode.PAGE_DOWN:this._move("last",e);break;default:this.menu.trigger(e),t=!1}t&&e.preventDefault()}},_selectFocusedItem:function(e){var t=this.menuItems.eq(this.focusIndex);t.hasClass("ui-state-disabled")||this._select(t.data("ui-selectmenu-item"),e)},_select:function(e,t){var i=this.element[0].selectedIndex;this.element[0].selectedIndex=e.index,this._setText(this.buttonText,e.label),this._setAria(e),this._trigger("select",t,{item:e}),e.index!==i&&this._trigger("change",t,{item:e}),this.close(t)},_setAria:function(e){var t=this.menuItems.eq(e.index).attr("id");this.button.attr({"aria-labelledby":t,"aria-activedescendant":t}),this.menu.attr("aria-activedescendant",t)},_setOption:function(e,t){"icons"===e&&this.button.find("span.ui-icon").removeClass(this.options.icons.button).addClass(t.button),this._super(e,t),"appendTo"===e&&this.menuWrap.appendTo(this._appendTo()),"disabled"===e&&(this.menuInstance.option("disabled",t),this.button.toggleClass("ui-state-disabled",t).attr("aria-disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)),"width"===e&&this._resizeButton()},_appendTo:function(){var e=this.options.appendTo;return(e=e&&(e.jquery||e.nodeType?P(e):this.document.find(e).eq(0)))&&e[0]||(e=this.element.closest(".ui-front")),e.length||(e=this.document[0].body),e},_toggleAttr:function(){this.button.toggleClass("ui-corner-top",this.isOpen).toggleClass("ui-corner-all",!this.isOpen).attr("aria-expanded",this.isOpen),this.menuWrap.toggleClass("ui-selectmenu-open",this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var e=this.options.width;e||(e=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(e)},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){return{disabled:this.element.prop("disabled")}},_parseOptions:function(e){var s=[];e.each(function(e,t){var i=P(t),n=i.parent("optgroup");s.push({element:i,index:e,value:i.attr("value"),label:i.text(),optgroup:n.attr("label")||"",disabled:n.prop("disabled")||i.prop("disabled")})}),this.items=s},_destroy:function(){this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.label.attr("for",this.ids.element)}}),P.widget("ui.slider",P.ui.mouse,{version:"1.11.2",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,t,i=this.options,n=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),s=[];for(t=i.values&&i.values.length||1,n.length>t&&(n.slice(t).remove(),n=n.slice(0,t)),e=n.length;e<t;e++)s.push("<span class='ui-slider-handle ui-state-default ui-corner-all' tabindex='0'></span>");this.handles=n.add(P(s.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){P(this).data("ui-slider-handle-index",e)})},_createRange:function(){var e=this.options,t="";e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:P.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=P("<div></div>").appendTo(this.element),t="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(t+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:""))):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var t,i,n,s,o,r,a,l=this,h=this.options;return!h.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var t=Math.abs(i-l.values(e));(t<n||n===t&&(e===l._lastChangedValue||l.values(e)===h.min))&&(n=t,s=P(this),o=e)}),!1!==this._start(e,o)&&(this._mouseSliding=!0,this._handleIndex=o,s.addClass("ui-state-active").focus(),r=s.offset(),a=!P(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=a?{left:0,top:0}
1:{left:e.pageX-r.left-s.width()/2,top:e.pageY-r.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,o,i),this._animateOff=!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,i),!1},_mouseStop:function(e){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,i,n,s;return 1<(i=("horizontal"===this.orientation?(t=this.elementSize.width,e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)))/t)&&(i=1),i<0&&(i=0),"vertical"===this.orientation&&(i=1-i),n=this._valueMax()-this._valueMin(),s=this._valueMin()+i*n,this._trimAlignValue(s)},_start:function(e,t){var i={handle:this.handles[t],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("start",e,i)},_slide:function(e,t,i){var n,s,o;this.options.values&&this.options.values.length?(n=this.values(t?0:1),2===this.options.values.length&&!0===this.options.range&&(0===t&&n<i||1===t&&i<n)&&(i=n),i!==this.values(t)&&((s=this.values())[t]=i,o=this._trigger("slide",e,{handle:this.handles[t],value:i,values:s}),n=this.values(t?0:1),!1!==o&&this.values(t,i))):i===this.value()||!1!==(o=this._trigger("slide",e,{handle:this.handles[t],value:i}))&&this.value(i)},_stop:function(e,t){var i={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._trigger("stop",e,i)},_change:function(e,t){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[t],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(t),i.values=this.values()),this._lastChangedValue=t,this._trigger("change",e,i)}},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,t){var i,n,s;if(1<arguments.length)return this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!P.isArray(e))return this.options.values&&this.options.values.length?this._values(e):this.value();for(i=this.options.values,n=e,s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(n[s]),this._change(null,s);this._refreshValue()},_setOption:function(e,t){var i,n=0;switch("range"===e&&!0===this.options.range&&("min"===t?(this.options.value=this._values(0),this.options.values=null):"max"===t&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),P.isArray(this.options.values)&&(n=this.options.values.length),"disabled"===e&&this.element.toggleClass("ui-state-disabled",!!t),this._super(e,t),e){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue(),this.handles.css("horizontal"===t?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=0;i<n;i+=1)this._change(null,i);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var e=this.options.value;return this._trimAlignValue(e)},_values:function(e){var t,i,n;if(arguments.length)return t=this.options.values[e],this._trimAlignValue(t);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),n=0;i.length>n;n+=1)i[n]=this._trimAlignValue(i[n]);return i}return[]},_trimAlignValue:function(e){if(this._valueMin()>=e)return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=0<this.options.step?this.options.step:1,i=(e-this._valueMin())%t,n=e-i;return 2*Math.abs(i)>=t&&(n+=0<i?t:-t),parseFloat(n.toFixed(5))},_calculateNewMax:function(){var e=(this.options.max-this._valueMin())%this.options.step;this.max=this.options.max-e},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshValue:function(){var t,i,e,n,s,o=this.options.range,r=this.options,a=this,l=!this._animateOff&&r.animate,h={};this.options.values&&this.options.values.length?this.handles.each(function(e){i=(a.values(e)-a._valueMin())/(a._valueMax()-a._valueMin())*100,h["horizontal"===a.orientation?"left":"bottom"]=i+"%",P(this).stop(1,1)[l?"animate":"css"](h,r.animate),!0===a.options.range&&("horizontal"===a.orientation?(0===e&&a.range.stop(1,
vendor: 3,002 bytes, line 1
11)[l?"animate":"css"]({left:i+"%"},r.animate),1===e&&a.range[l?"animate":"css"]({width:i-t+"%"},{queue:!1,duration:r.animate})):(0===e&&a.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},r.animate),1===e&&a.range[l?"animate":"css"]({height:i-t+"%"},{queue:!1,duration:r.animate}))),t=i}):(e=this.value(),n=this._valueMin(),s=this._valueMax(),i=s!==n?(e-n)/(s-n)*100:0,h["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](h,r.animate),"min"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"max"===o&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:r.animate}),"min"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"max"===o&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:r.animate}))},_handleEvents:{keydown:function(e){var t,i,n,s=P(e.target).data("ui-slider-handle-index");switch(e.keyCode){case P.ui.keyCode.HOME:case P.ui.keyCode.END:case P.ui.keyCode.PAGE_UP:case P.ui.keyCode.PAGE_DOWN:case P.ui.keyCode.UP:case P.ui.keyCode.RIGHT:case P.ui.keyCode.DOWN:case P.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,P(e.target).addClass("ui-state-active"),!1===this._start(e,s)))return}switch(n=this.options.step,t=i=this.options.values&&this.options.values.length?this.values(s):this.value(),e.keyCode){case P.ui.keyCode.HOME:i=this._valueMin();break;case P.ui.keyCode.END:i=this._valueMax();break;case P.ui.keyCode.PAGE_UP:i=this._trimAlignValue(t+(this._valueMax()-this._valueMin())/this.numPages);break;case P.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(t-(this._valueMax()-this._valueMin())/this.numPages);break;case P.ui.keyCode.UP:case P.ui.keyCode.RIGHT:if(t===this._valueMax())return;i=this._trimAlignValue(t+n);break;case P.ui.keyCode.DOWN:case P.ui.keyCode.LEFT:if(t===this._valueMin())return;i=this._trimAlignValue(t-n)}this._slide(e,s,i)},keyup:function(e){var t=P(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,t),this._change(e,t),P(e.target).removeClass("ui-state-active"))}}}),P.widget("ui.spinner",{version:"1.11.2",defaultElement:"<input>",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var n={},s=this.element;return P.each(["min","max","step"],function(e,t){var i=s.attr(t);void 0!==i&&i.length&&(n[t]=i)}),n}
1,_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(e){return this.cancelBlur?void delete this.cancelBlur:(this._stop(),this._refresh(),void(this.previous!==this.element.val()&&this._trigger("change",e)))},mousewheel:function(e,t){if(t){if(!this.spinning&&!this._start(e))return!1;this._spin((0<t?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(e)},100),e.preventDefault()}},"mousedown .ui-spinner-button":function(e){function t(){this.element[0]===this.document[0].activeElement||(this.element.focus(),this.previous=i,this._delay(function(){this.previous=i}))}var i;i=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),e.preventDefault(),t.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,t.call(this)}),!1!==this._start(e)&&this._repeat(null,P(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){return P(e.currentTarget).hasClass("ui-state-active")?!1!==this._start(e)&&void this._repeat(null,P(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e):void 0},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var e=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=e.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(.5*e.height())&&0<e.height()&&e.height(e.height()),this.options.disabled&&this.disable()},_keydown:function(e){var t=this.options,i=P.ui.keyCode;switch(e.keyCode){case i.UP:return this._repeat(null,1,e),!0;case i.DOWN:return this._repeat(null,-1,e),!0;case i.PAGE_UP:return this._repeat(null,t.page,e),!0;case i.PAGE_DOWN:return this._repeat(null,-t.page,e),!0}return!1},_uiSpinnerHtml:function(){return"<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>"},_buttonHtml:function(){return"<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon "+this.options.icons.up+"'>&#9650;</span></a><a class='ui-spinner-button ui-spinner-down ui-corner-br'><span class='ui-icon "+this.options.icons.down+"'>&#9660;</span></a>"},_start:function(e){return!(!this.spinning&&!1===this._trigger("start",e))&&(this.counter||(this.counter=1),this.spinning=!0)},_repeat:function(e,t,i){e=e||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,t,i)},e),this._spin(t*this.options.step,i)},_spin:function(e,t){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+e*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",t,{value:i})||(this._value(i),this.counter++)},_increment:function(e){var t=this.options.incremental;return t?P.isFunction(t)?t(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=""+e,i=t.indexOf(".");return-1===i?0:t.length-i-1},_adjustValue:function(e){var t,i,n=this.options;return i=e-(t=null!==n.min?n.min:0),e=t+(i=Math.round(i/n.step)*n.step),e=parseFloat(e.toFixed(this._precision())),null!==n.max&&e>n.max?n.max:null!==n.min&&n.min>e?n.min:e},_stop:function(e){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",e))},_setOption:function(e,t){if("culture"===e||"numberFormat"===e){var i=this._parse(this.element.val());return this.options[e]=t,void this.element.val(this._format(i))}"max"!==e&&"min"!==e&&"step"!==e||"string"!=typeof t||(t=this._parse(t)),"icons"===e&&(this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(t.up),this.buttons.last().find(".ui-icon").removeClass(this.options.icons.down).addClass(t.down)),this._super(e,t),"disabled"===e&&(this.widget().toggleClass("ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable"))},_setOptions:t(function(e){this._super(e)}),_parse:function(e){return"string"==typeof e&&""!==e&&(e=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(e,10,this.options.culture):+e),""===e||isNaN(e)?null:e},_format:function(e){return""===e?"":window.Globalize&&this.options.numberFormat?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var e=this.value();return null!==e&&e===this._adjustValue(e)},_value:function(e,t){var i;""===e||null!==(i=this._parse(e))&&(t||(i=this._adjustValue(i)),e=this._format(i)),this.element.val(e),this._refresh()},_destroy:function(){this.element.removeClass("ui-spinner-input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:t(function(e){this._stepUp(e)}
vendor: 6,362 bytes, line 1
1),_stepUp:function(e){this._start()&&(this._spin((e||1)*this.options.step),this._stop())},stepDown:t(function(e){this._stepDown(e)}),_stepDown:function(e){this._start()&&(this._spin((e||1)*-this.options.step),this._stop())},pageUp:t(function(e){this._stepUp((e||1)*this.options.page)}),pageDown:t(function(e){this._stepDown((e||1)*this.options.page)}),value:function(e){return arguments.length?void t(this._value).call(this,e):this._parse(this.element.val())},widget:function(){return this.uiSpinner}}),P.widget("ui.tabs",{version:"1.11.2",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(_=/#.*$/,function(e){var t,i;t=(e=e.cloneNode(!1)).href.replace(_,""),i=location.href.replace(_,"");try{t=decodeURIComponent(t)}catch(e){}try{i=decodeURIComponent(i)}catch(e){}return 1<e.hash.length&&t===i}),_create:function(){var t=this,e=this.options;this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",e.collapsible),this._processTabs(),e.active=this._initialActive(),P.isArray(e.disabled)&&(e.disabled=P.unique(e.disabled.concat(P.map(this.tabs.filter(".ui-state-disabled"),function(e){return t.tabs.index(e)}))).sort()),this.active=!1!==this.options.active&&this.anchors.length?this._findActive(e.active):P(),this._refresh(),this.active.length&&this.load(e.active)},_initialActive:function(){var i=this.options.active,e=this.options.collapsible,n=location.hash.substring(1);return null===i&&(n&&this.tabs.each(function(e,t){return P(t).attr("aria-controls")===n?(i=e,!1):void 0}),null===i&&(i=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null!==i&&-1!==i||(i=!!this.tabs.length&&0)),!1!==i&&(-1===(i=this.tabs.index(this.tabs.eq(i)))&&(i=!e&&0)),!e&&!1===i&&this.anchors.length&&(i=0),i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):P()}},_tabKeydown:function(e){var t=P(this.document[0].activeElement).closest("li"),i=this.tabs.index(t),n=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case P.ui.keyCode.RIGHT:case P.ui.keyCode.DOWN:i++;break;case P.ui.keyCode.UP:case P.ui.keyCode.LEFT:n=!1,i--;break;case P.ui.keyCode.END:i=this.anchors.length-1;break;case P.ui.keyCode.HOME:i=0;break;case P.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i);case P.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}e.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,n),e.ctrlKey||(t.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===P.ui.keyCode.UP&&(e.preventDefault(),this.active.focus())},_handlePageNav:function(e){return e.altKey&&e.keyCode===P.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===P.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,t){for(var i=this.tabs.length-1;-1!==P.inArray((i<e&&(e=0),e<0&&(e=i),e),this.options.disabled);)e=t?e+1:e-1;return e},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).focus(),e},_setOption:function(e,t){return"active"===e?void this._activate(t):"disabled"===e?void this._setupDisabled(t):(this._super(e,t),"collapsible"===e&&(this.element.toggleClass("ui-tabs-collapsible",t),t||!1!==this.options.active||this._activate(0)),"event"===e&&this._setupEvents(t),void("heightStyle"===e&&this._setupHeightStyle(t)))},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,t=this.tablist.children(":has(a[href])");e.disabled=P.map(t.filter(".ui-state-disabled"),function(e){return t.index(e)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!P.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=P()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=P()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var l=this,e=this.tabs,t=this.anchors,i=this.panels;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist").delegate("> li","mousedown"+this.eventNamespace,function(e){P(this).is(".ui-state-disabled")&&e.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){P(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return P("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=P(),this.anchors.each(function(e,t){var i,n,s,o=P(t).uniqueId().attr("id"),r=P(t).closest("li"),a=r.attr("aria-controls");l._isLocal(t)?(s=(i=t.hash).substring(1),n=l.element.find(l._sanitizeSelector(i))):(i="#"+(s=r.attr("aria-controls")||P({}).uniqueId()[0].id),(n=l.element.find(i)).length||(n=l._createPanel(s)).insertAfter(l.panels[e-1]||l.tablist),n.attr("aria-live","polite")),n.length&&(l.panels=l.panels.add(n)),a&&r.data("ui-tabs-aria-controls",a),r.attr({"aria-controls":s,"aria-labelledby":o}),n.attr("aria-labelledby",o)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel"),e&&(this._off(e.not(this.tabs)
vendor: 11,776 bytes, line 1
1),this._off(t.not(this.anchors)),this._off(i.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol,ul").eq(0)},_createPanel:function(e){return P("<div>").attr("id",e).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(e){P.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1);for(var t,i=0;t=this.tabs[i];i++)!0===e||-1!==P.inArray(i,e)?P(t).addClass("ui-state-disabled").attr("aria-disabled","true"):P(t).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=e},_setupEvents:function(e){var i={};e&&P.each(e.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,t=this.element.parent();"fill"===e?(i=t.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=P(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=P(this).outerHeight(!0)}),this.panels.each(function(){P(this).height(Math.max(0,i-P(this).innerHeight()+P(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,P(this).height("").height())}).height(i))},_eventHandler:function(e){var t=this.options,i=this.active,n=P(e.currentTarget).closest("li"),s=n[0]===i[0],o=s&&t.collapsible,r=o?P():this._getPanelForTab(n),a=i.length?this._getPanelForTab(i):P(),l={oldTab:i,oldPanel:a,newTab:o?P():n,newPanel:r};e.preventDefault(),n.hasClass("ui-state-disabled")||n.hasClass("ui-tabs-loading")||this.running||s&&!t.collapsible||!1===this._trigger("beforeActivate",e,l)||(t.active=!o&&this.tabs.index(n),this.active=s?P():n,this.xhr&&this.xhr.abort(),a.length||r.length||P.error("jQuery UI Tabs: Mismatching fragment identifier."),r.length&&this.load(this.tabs.index(n),e),this._toggle(e,l))},_toggle:function(e,t){function i(){s.running=!1,s._trigger("activate",e,t)}function n(){t.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),o.length&&s.options.show?s._show(o,s.options.show,i):(o.show(),i())}var s=this,o=t.newPanel,r=t.oldPanel;this.running=!0,r.length&&this.options.hide?this._hide(r,this.options.hide,function(){t.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),n()}):(t.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),r.hide(),n()),r.attr("aria-hidden","true"),t.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),o.length&&r.length?t.oldTab.attr("tabIndex",-1):o.length&&this.tabs.filter(function(){return 0===P(this).attr("tabIndex")}).attr("tabIndex",-1),o.attr("aria-hidden","false"),t.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var t,i=this._findActive(e);i[0]!==this.active[0]&&(i.length||(i=this.active),t=i.find(".ui-tabs-anchor")[0],this._eventHandler({target:t,currentTarget:t,preventDefault:P.noop}))},_findActive:function(e){return!1===e?P():this.tabs.eq(e)},_getIndex:function(e){return"string"==typeof e&&(e=this.anchors.index(this.anchors.filter("[href$='"+e+"']"))),e},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId(),this.tablist.unbind(this.eventNamespace),this.tabs.add(this.panels).each(function(){P.data(this,"ui-tabs-destroy")?P(this).remove():P(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var e=P(this),t=e.data("ui-tabs-aria-controls");t?e.attr("aria-controls",t).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var e=this.options.disabled;!1!==e&&(e=void 0!==i&&(i=this._getIndex(i),P.isArray(e)?P.map(e,function(e){return e!==i?e:null}):P.map(this.tabs,function(e,t){return t!==i?t:null})),this._setupDisabled(e))},disable:function(e){var t=this.options.disabled;if(!0!==t){if(void 0===e)t=!0;else{if(e=this._getIndex(e),-1!==P.inArray(e,t))return;t=P.isArray(t)?P.merge([e],t).sort():[e]}this._setupDisabled(t)}},load:function(e,t){e=this._getIndex(e);var i=this,n=this.tabs.eq(e),s=n.find(".ui-tabs-anchor"),o=this._getPanelForTab(n),r={tab:n,panel:o};this._isLocal(s[0])||(this.xhr=P.ajax(this._ajaxSettings(s,t,r)),this.xhr&&"canceled"!==this.xhr.statusText&&(n.addClass("ui-tabs-loading"),o.attr("aria-busy","true"),this.xhr.success(function(e){setTimeout(function(){o.html(e),i._trigger("load",t,r)},1)}).complete(function(e,t){setTimeout(function(){"abort"===t&&i.panels.stop(!1,!0),n.removeClass("ui-tabs-loading"),o.removeAttr("aria-busy"),e===i.xhr&&delete i.xhr},1)})))},_ajaxSettings:function(e,i,n){var s=this;return{url:e.attr("href"),beforeSend:function(e,t){return s._trigger("beforeLoad",i,P.extend({jqXHR:e,ajaxSettings:t},n))}}},_getPanelForTab:function(e){var t=P(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+t))}}),P.widget("ui.tooltip",{version:"1.11.2",options:{content:function(){var e=P(this).attr("title")||"";return P("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_addDescribedBy:function(e,t){var i=(e.attr("aria-describedby")||"").split(/\s+/);i.push(t),e.data("ui-tooltip-id",t).attr("aria-describedby",P.trim(i.join(" ")))},_removeDescribedBy:function(e){var t=e.data("ui-tooltip-id"),i=(e.attr("aria-describedby")||"").split(/\s+/),n=P.inArray(t,i);-1!==n&&i.splice(n,1),e.removeData("ui-tooltip-id"),(i=P.trim(i.join(" ")))?e.attr("aria-describedby",i):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable(),this.liveRegion=P("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).addClass("ui-helper-hidden-accessible").appendTo(this.document[0].body)},_setOption:function(e,t){var i=this;return"disabled"===e?(this[t?"_disable":"_enable"](),void(this.options[e]=t)):(this._super(e,t),void("content"===e&&P.each(this.tooltips,function(e,t){i._updateContent(t.element)})))},_disable:function(){var n=this;P.each(this.tooltips,function(e,t){var i=P.Event("blur");i.target=i.currentTarget=t.element[0],n.close(i,!0)}),this.element.find(this.options.items).addBack().each(function(){var e=P(this);e.is("[title]")&&e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var e=P(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))})},open:function(e){var i=this,t=P(e?e.target:this.element).closest(this.options.items);t.length&&!t.data("ui-tooltip-id")&&(t.attr("title")&&t.data("ui-tooltip-title",t.attr("title")),t.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&t.parents().each(function(){var e,t=P(this);t.data("ui-tooltip-open")&&((e=P.Event("blur")).target=e.currentTarget=this,i.close(e,!0)),t.attr("title")&&(t.uniqueId(),i.parents[this.id]={element:this,title:t.attr("title")},t.attr("title",""))}),this._updateContent(t,e))},_updateContent:function(t,i){var e,n=this.options.content,s=this,o=i?i.type:null;return"string"==typeof n?this._open(i,t,n):void((e=n.call(t[0],function(e){t.data("ui-tooltip-open")&&s._delay(function(){i&&(i.type=o),this._open(i,t,e)})}))&&this._open(i,t,e))},_open:function(e,i,t){function n(e){h.of=e,o.is(":hidden")||o.position(h)}var s,o,r,a,l,h=P.extend({},this.options.position);if(t){if(s=this._find(i))return void s.tooltip.find(".ui-tooltip-content").html(t);i.is("[title]")&&(e&&"mouseover"===e.type?i.attr("title",""):i.removeAttr("title")),s=this._tooltip(i),o=s.tooltip,this._addDescribedBy(i,o.attr("id")),o.find(".ui-tooltip-content").html(t),this.liveRegion.children().hide(),t.clone?(l=t.clone()).removeAttr("id").find("[id]").removeAttr("id"):l=t,P("<div>").html(l).appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:n}),n(e)):o.position(P.extend({of:i},this.options.position)),o.hide(),this._show(o,this.options.show),this.options.show&&this.options.show.delay&&(a=this.delayedShow=setInterval(function(){o.is(":visible")&&(n(h.of),clearInterval(a))},P.fx.interval)),this._trigger("open",e,{tooltip:o}),r={keyup:function(e){if(e.keyCode===P.ui.keyCode.ESCAPE){var t=P.Event(e);t.currentTarget=i[0],this.close(t,!0)}}},i[0]!==this.element[0]&&(r.remove=function(){this._removeTooltip(o)}),e&&"mouseover"!==e.type||(r.mouseleave="close"),e&&"focusin"!==e.type||(r.focusout="close"),this._on(!0,i,r)}},close:function(e){var t,i=this,n=P(e?e.currentTarget:this.element),s=this._find(n);s&&(t=s.tooltip,s.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&!n.attr("title")&&n.attr("title",n.data("ui-tooltip-title")),this._removeDescribedBy(n),s.hiding=!0,t.stop(!0),this._hide(t,this.options.hide,function(){i._removeTooltip(P(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&P.each(this.parents,function(e,t){P(t.element).attr("title",t.title),delete i.parents[e]}),s.closing=!0,this._trigger("close",e,{tooltip:t}),s.hiding||(s.closing=!1)))},_tooltip:function(e){var t=P("<div>").attr("role","tooltip").addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||"")),i=t.uniqueId().attr("id");return P("<div>").addClass("ui-tooltip-content").appendTo(t),t.appendTo(this.document[0].body),this.tooltips[i]={element:e,tooltip:t}},_find:function(e){var t=e.data("ui-tooltip-id");return t?this.tooltips[t]:null},_removeTooltip:function(e){e.remove(),delete this.tooltips[e.attr("id")]},_destroy:function(){var s=this;P.each(this.tooltips,function(e,t){var i=P.Event("blur"),n=t.element;i.target=i.currentTarget=n[0],s.close(i,!0),P("#"+e).remove(),n.data("ui-tooltip-title")&&(n.attr("title")||n.attr("title",n.data("ui-tooltip-title")),n.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}});var k,C,T,D,S,E,N,I,A,M,z,F,H,O,R,W,L,j,q,B,$="ui-effects-",Y=P;function V(e,t,i,n){return P.isPlainObject(e)&&(e=(t=e).effect),e={effect:e},null==t&&(t={}),P.isFunction(t)&&(n=t,i=null,t={}),"number"!=typeof t&&!P.fx.speeds[t]||(n=i,i=t,t={}),P.isFunction(i)&&(n=i,i=null),t&&P.extend(e,t),i=i||t.duration,e.duration=P.fx.off?0:"number"==typeof i?i:i in P.fx.speeds?P.fx.speeds[i]:P.fx.speeds._default,e.complete=n||t.complete,e}function U(e){return!(e&&"number"!=typeof e&&!P.fx.speeds[e])||("string"==typeof e&&!P.effects.effect[e]||(!!P.isFunction(e)||"object"==typeof e&&!e.effect))}function K(e){var t,i,n=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,s={};if(n&&n.length&&n[0]&&n[n[0]])for(i=n.length;i--;
vendor: 13,388 bytes, line 1
1)"string"==typeof n[t=n[i]]&&(s[P.camelCase(t)]=n[t]);else for(t in n)"string"==typeof n[t]&&(s[t]=n[t]);return s}function G(e,t,i){var n=L[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:e<0?0:e>n.max?n.max:e)}function X(r){var a=R(),l=a._rgba=[];return r=r.toLowerCase(),B(O,function(e,t){var i,n=t.re.exec(r),s=n&&t.parse(n),o=t.space||"rgba";return s?(i=a[o](s),a[W[o].cache]=i[W[o].cache],l=a._rgba=i._rgba,!1):z}),l.length?("0,0,0,0"===l.join()&&M.extend(l,F.transparent),a):F[r]}function Z(e,t,i){return 6*(i=(i+1)%1)<1?e+6*(t-e)*i:2*i<1?t:3*i<2?e+6*(t-e)*(2/3-i):e}P.effects={effect:{}},H=/^([\-+])=\s*(\d+\.?\d*)/,O=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],R=(M=Y).Color=function(e,t,i,n){return new M.Color.fn.parse(e,t,i,n)},W={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},L={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},j=R.support={},q=M("<p>")[0],B=M.each,q.style.cssText="background-color:rgba(1,1,1,.5)",j.rgba=-1<q.style.backgroundColor.indexOf("rgba"),B(W,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),R.fn=M.extend(R.prototype,{parse:function(s,e,t,i){if(s===z)return this._rgba=[null,null,null,null],this;(s.jquery||s.nodeType)&&(s=M(s).css(e),e=z);var o=this,n=M.type(s),r=this._rgba=[];return e!==z&&(s=[s,e,t,i],n="array"),"string"===n?this.parse(X(s)||F._default):"array"===n?(B(W.rgba.props,function(e,t){r[t.idx]=G(s[t.idx],t)}),this):"object"===n?(B(W,s instanceof R?function(e,t){s[t.cache]&&(o[t.cache]=s[t.cache].slice())}:function(e,i){var n=i.cache;B(i.props,function(e,t){if(!o[n]&&i.to){if("alpha"===e||null==s[e])return;o[n]=i.to(o._rgba)}o[n][t.idx]=G(s[e],t,!0)}),o[n]&&M.inArray(null,o[n].slice(0,3))<0&&(o[n][3]=1,i.from&&(o._rgba=i.from(o[n])))}),this):z},is:function(e){var s=R(e),o=!0,r=this;return B(W,function(e,t){var i,n=s[t.cache];return n&&(i=r[t.cache]||t.to&&t.to(r._rgba)||[],B(t.props,function(e,t){return null!=n[t.idx]?o=n[t.idx]===i[t.idx]:z})),o}),o},_space:function(){var i=[],n=this;return B(W,function(e,t){n[t.cache]&&i.push(e)}),i.pop()},transition:function(e,r){var a=R(e),t=a._space(),i=W[t],n=0===this.alpha()?R("transparent"):this,l=n[i.cache]||i.to(n._rgba),h=l.slice();return a=a[i.cache],B(i.props,function(e,t){var i=t.idx,n=l[i],s=a[i],o=L[t.type]||{};null!==s&&(null===n?h[i]=s:(o.mod&&(s-n>o.mod/2?n+=o.mod:n-s>o.mod/2&&(n-=o.mod)),h[i]=G((s-n)*r+n,t)))}),this[t](h)},blend:function(e){if(1===this._rgba[3])return this;var t=this._rgba.slice(),i=t.pop(),n=R(e)._rgba;return R(M.map(t,function(e,t){return(1-i)*n[t]+i*e}))},toRgbaString:function(){var e="rgba(",t=M.map(this._rgba,function(e,t){return null==e?2<t?1:0:e});return 1===t[3]&&(t.pop(),e="rgb("),e+t.join()+")"},toHslaString:function(){var e="hsla(",t=M.map(this.hsla(),function(e,t){return null==e&&(e=2<t?1:0),t&&t<3&&(e=Math.round(100*e)+"%"),e});return 1===t[3]&&(t.pop(),e="hsl("),e+t.join()+")"},toHexString:function(e){var t=this._rgba.slice(),i=t.pop();return e&&t.push(~~(255*i)),"#"+M.map(t,function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),R.fn.parse.prototype=R.fn,W.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,i,n=e[0]/255,s=e[1]/255,o=e[2]/255,r=e[3],a=Math.max(n,s,o),l=Math.min(n,s,o),h=a-l,u=a+l,c=.5*u;return t=l===a?0:n===a?60*(s-o)/h+360:s===a?60*(o-n)/h+120:60*(n-s)/h+240,i=0==h?0:c<=.5?h/u:h/(2-u),[Math.round(t)%360,i,c,null==r?1:r]},W.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],n=e[2],s=e[3],o=n<=.5?n*(1+i):n+i-n*i,r=2*n-o;return[Math.round(255*Z(r,o,t+1/3)),Math.round(255*Z(r,o,t)),Math.round(255*Z(r,o,t-1/3)),s]},B(W,function(l,e){var i=e.props,r=e.cache,a=e.to,h=e.from;R.fn[l]=function(e){if(a&&!this[r]&&(this[r]=a(this._rgba)),e===z)return this[r].slice();var t,n=M.type(e),s="array"===n||"object"===n?e:arguments,o=this[r].slice();return B(i,function(e,t){var i=s["object"===n?e:t.idx];null==i&&(i=o[t.idx]),o[t.idx]=G(i,t)}),h?((t=R(h(o)))[r]=o,t):R(o)},B(i,function(r,a){R.fn[r]||(R.fn[r]=function(e){var t,i=M.type(e),n="alpha"===r?this._hsla?"hsla":"rgba":l,s=this[n](),o=s[a.idx];return"undefined"===i?o:("function"===i&&(e=e.call(this,o),i=M.type(e)),null==e&&a.empty?this:("string"===i&&(t=H.exec(e))&&(e=o+parseFloat(t[2])*("+"===t[1]?1:-1)),s[a.idx]=e,this[n](s)))})})}),R.hook=function(e){var t=e.split(" ");B(t,function(e,o){M.cssHooks[o]={set:function(e,t){var i,n,s="";if("transparent"!==t&&("string"!==M.type(t)||(i=X(t)))){if(t=R(i||t),!j.rgba&&1!==t._rgba[3]){for(n="backgroundColor"===o?e.parentNode:e;(""===s||"transparent"===s)&&n&&n.style;)try{s=M.css(n,"backgroundColor"),n=n.parentNode}catch(e){}t=t.blend(s&&"transparent"!==s?s:"_default")}t=t.toRgbaString()}try{e.style[o]=t}catch(e){}}},M.fx.step[o]=function(e){e.colorInit||(e.start=R(e.elem,o),e.end=R(e.end),e.colorInit=!0),M.cssHooks[o].set(e.elem,e.start.transition(e.end,e.pos))}})},R.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),M.cssHooks.borderColor={expand:function(i){var n={};return B(["Top","Right","Bottom","Left"],function(e,t){n["border"+t+"Color"]=i}),n}},F=M.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"},I=["add","remove","toggle"],A={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1},P.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,t){P.fx.step[t]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(Y.style(e.elem,t,e.end),e.setAttr=!0)}}),P.fn.addBack||(P.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),P.effects.animateClass=function(s,e,t,i){var o=P.speed(e,t,i);return this.queue(function(){var e,i=P(this),t=i.attr("class")||"",n=o.children?i.find("*").addBack():i;n=n.map(function(){return{el:P(this),start:K(this)}}),(e=function(){P.each(I,function(e,t){s[t]&&i[t+"Class"](s[t])})})(),n=n.map(function(){return this.end=K(this.el[0]),this.diff=function(e,t){var i,n,s={};for(i in t)n=t[i],e[i]!==n&&(A[i]||!P.fx.step[i]&&isNaN(parseFloat(n))||(s[i]=n));return s}(this.start,this.end),this}),i.attr("class",t),n=n.map(function(){var e=this,t=P.Deferred(),i=P.extend({},o,{queue:!1,complete:function(){t.resolve(e)}});return this.el.animate(this.diff,i),t.promise()}),P.when.apply(P,n.get()).done(function(){e(),P.each(arguments,function(){var t=this.el;P.each(this.diff,function(e){t.css(e,"")})}),o.complete.call(i[0])})})},P.fn.extend({addClass:(N=P.fn.addClass,function(e,t,i,n){return t?P.effects.animateClass.call(this,{add:e},t,i,n):N.apply(this,arguments)}),removeClass:(E=P.fn.removeClass,function(e,t,i,n){return 1<arguments.length?P.effects.animateClass.call(this,{remove:e},t,i,n):E.apply(this,arguments)}),toggleClass:(S=P.fn.toggleClass,function(e,t,i,n,s){return"boolean"==typeof t||void 0===t?i?P.effects.animateClass.call(this,t?{add:e}:{remove:e},i,n,s):S.apply(this,arguments):P.effects.animateClass.call(this,{toggle:e},t,i,n)}),switchClass:function(e,t,i,n,s){return P.effects.animateClass.call(this,{add:t,remove:e},i,n,s)}}),P.extend(P.effects,{version:"1.11.2",save:function(e,t){for(var i=0;t.length>i;i++)null!==t[i]&&e.data($+t[i],e[0].style[t[i]])},restore:function(e,t){var i,n;for(n=0;t.length>n;n++)null!==t[n]&&(void 0===(i=e.data($+t[n]))&&(i=""),e.css(t[n],i))},setMode:function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},getBaseline:function(e,t){var i,n;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=e[0]/t.height}switch(e[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=e[1]/t.width}return{x:n,y:i}},createWrapper:function(i){if(i.parent().is(".ui-effects-wrapper"))return i.parent();var n={width:i.outerWidth(!0),height:i.outerHeight(!0),float:i.css("float")},e=P("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),t={width:i.width(),height:i.height()},s=document.activeElement;try{s.id}catch(e){s=document.body}return i.wrap(e),i[0]!==s&&!P.contains(i[0],s)||P(s).focus(),e=i.parent(),"static"===i.css("position")?(e.css({position:"relative"}),i.css({position:"relative"})):(P.extend(n,{position:i.css("position"),zIndex:i.css("z-index")}),P.each(["top","left","bottom","right"],function(e,t){n[t]=i.css(t),isNaN(parseInt(n[t],10))&&(n[t]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(t),e.css(n).show()},removeWrapper:function(e){var t=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),e[0]!==t&&!P.contains(e[0],t)||P(t).focus()),e},setTransition:function(n,e,s,o){return o=o||{},P.each(e,function(e,t){var i=n.cssUnit(t);0<i[0]&&(o[t]=i[0]*s+i[1])}),o}}),P.fn.extend({effect:function(){function e(e){function t(){P.isFunction(n)&&n.call(i[0]),P.isFunction(e)&&e()}var i=P(this),n=o.complete,s=o.mode;(i.is(":hidden")?"hide"===s:"show"===s)?(i[s](),t()):r.call(i[0],o,t)}var o=V.apply(this,arguments),t=o.mode,i=o.queue,r=P.effects.effect[o.effect];return P.fx.off||!r?t?this[t](o.duration,o.complete):this.each(function(){o.complete&&o.complete.call(this)}):!1===i?this.each(e):this.queue(i||"fx",e)},show:(D=P.fn.show,function(e){if(U(e))return D.apply(this,arguments);var t=V.apply(this,arguments);return t.mode="show",this.effect.call(this,t)}),hide:(T=P.fn.hide,function(e){if(U(e))return T.apply(this,arguments);var t=V.apply(this,arguments);return t.mode="hide",this.effect.call(this,t)}),toggle:(C=P.fn.toggle,function(e){if(U(e)||"boolean"==typeof e)return C.apply(this,arguments);var t=V.apply(this,arguments);return t.mode="toggle",this.effect.call(this,t)}),cssUnit:function(e){var i=this.css(e),n=[];return P.each(["em","px","%","pt"],function(e,t){0<i.indexOf(t)&&(n=[parseFloat(i),t])}),n}}),k={},P.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){k[e]=function(e){return Math.pow(e,t+2)}}),P.extend(k,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;((t=Math.pow(2,--i))-1)/11>e;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),P.each(k,function(e,t){P.easing["easeIn"+e]=t,P.easing["easeOut"+e]=function(e){return 1-t(1-e)},P.easing["easeInOut"+e]=function(e){return e<.5?t(2*e)/2:1-t(-2*e+2)/2}}),P.effects,P.effects.effect.blind=function(e,t){var i,n,s,o=P(this),r=["position","top","bottom","left","right","height","width"],a=P.effects.setMode(o,e.mode||"hide"),l=e.direction||"up",h=/up|down|vertical/.test(l),u=h?"height":"width",c=h?"top":"left",d=/up|left|vertical|horizontal/.test(l),p={},f="show"===a;o.parent().is(".ui-effects-wrapper")?P.effects.save(o.parent(),r):P.effects.save(o,r),o.show(),n=(i=P.effects.createWrapper(o).css({overflow:"hidden"}))[u](),s=parseFloat(i.css(c))||0,p[u]=f?n:0,d||(o.css(h?"bottom":"right",0).css(h?"top":"left","auto").css({position:"absolute"}),p[c]=f?s:n+s),f&&(i.css(u,0),d||i.css(c,s+n)),i.animate(p,{duration:e.duration,easing:e.easing,queue:!1,complete:function(){"hide"===a&&o.hide(),P.effects.restore(o,r),P.effects.removeWrapper(o),t()}})},P.effects.effect.bounce=function(e,t){var i,n,s,o=P(this),r=["position","top","bottom","left","right","height","width"],a=P.effects.setMode(o,e.mode||"effect"),l="hide"===a,h="show"===a,u=e.direction||"up",c=e.distance,d=e.times||5,p=2*d+(h||l?1:0),f=e.duration/p,m=e.easing,g="up"===u||"down"===u?"top":"left",v="up"===u||"left"===u,b=o.queue(),y=b.length;for((h||l)&&r.push("opacity"),P.effects.save(o,r),o.show(),P.effects.createWrapper(o),c=c||o["top"==g?"outerHeight":"outerWidth"]()/3,h&&((s={opacity:1})[g]=0,o.css("opacity",0).css(g,v?2*-c:2*c).animate(s,f,m)),l&&(c/=Math.pow(2,d-1)),i=(s={})[g]=0;i<d;i++)(n={})[g]=(v?"-=":"+=")+c,o.animate(n,f,m).animate(s,f,m),c=l?2*c:c/2;l&&((n={opacity:0}
1)[g]=(v?"-=":"+=")+c,o.animate(n,f,m)),o.queue(function(){l&&o.hide(),P.effects.restore(o,r),P.effects.removeWrapper(o),t()}),1<y&&b.splice.apply(b,[1,0].concat(b.splice(y,1+p))),o.dequeue()},P.effects.effect.clip=function(e,t){var i,n,s,o=P(this),r=["position","top","bottom","left","right","height","width"],a="show"===P.effects.setMode(o,e.mode||"hide"),l="vertical"===(e.direction||"vertical"),h=l?"height":"width",u=l?"top":"left",c={};P.effects.save(o,r),o.show(),i=P.effects.createWrapper(o).css({overflow:"hidden"}),s=(n="IMG"===o[0].tagName?i:o)[h](),a&&(n.css(h,0),n.css(u,s/2)),c[h]=a?s:0,c[u]=a?0:s/2,n.animate(c,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){a||o.hide(),P.effects.restore(o,r),P.effects.removeWrapper(o),t()}})},P.effects.effect.drop=function(e,t){var i,n=P(this),s=["position","top","bottom","left","right","opacity","height","width"],o=P.effects.setMode(n,e.mode||"hide"),r="show"===o,a=e.direction||"left",l="up"===a||"down"===a?"top":"left",h="up"===a||"left"===a?"pos":"neg",u={opacity:r?1:0};P.effects.save(n,s),n.show(),P.effects.createWrapper(n),i=e.distance||n["top"==l?"outerHeight":"outerWidth"](!0)/2,r&&n.css("opacity",0).css(l,"pos"==h?-i:i),u[l]=(r?"pos"==h?"+=":"-=":"pos"==h?"-=":"+=")+i,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===o&&n.hide(),P.effects.restore(n,s),P.effects.removeWrapper(n),t()}})},P.effects.effect.explode=function(e,t){function i(){g.push(this),g.length===h*u&&(c.css({visibility:"visible"}),P(g).remove(),d||c.hide(),t())}var n,s,o,r,a,l,h=e.pieces?Math.round(Math.sqrt(e.pieces)):3,u=h,c=P(this),d="show"===P.effects.setMode(c,e.mode||"hide"),p=c.show().css("visibility","hidden").offset(),f=Math.ceil(c.outerWidth()/u),m=Math.ceil(c.outerHeight()/h),g=[];for(n=0;n<h;n++)for(r=p.top+n*m,l=n-(h-1)/2,s=0;s<u;s++)o=p.left+s*f,a=s-(u-1)/2,c.clone().appendTo("body").wrap("<div></div>
1").css({position:"absolute",visibility:"visible",left:-s*f,top:-n*m}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:f,height:m,left:o+(d?a*f:0),top:r+(d?l*m:0),opacity:d?0:1}).animate({left:o+(d?0:a*f),top:r+(d?0:l*m),opacity:d?1:0},e.duration||500,e.easing,i)},P.effects.effect.fade=function(e,t){var i=P(this),n=P.effects.setMode(i,e.mode||"toggle");i.animate({opacity:n},{queue:!1,duration:e.duration,easing:e.easing,complete:t})},P.effects.effect.fold=function(e,t){var i,n,s=P(this),o=["position","top","bottom","left","right","height","width"],r=P.effects.setMode(s,e.mode||"hide"),a="show"===r,l="hide"===r,h=e.size||15,u=/([0-9]+)%/.exec(h),c=!!e.horizFirst,d=a!=c,p=d?["width","height"]:["height","width"],f=e.duration/2,m={},g={};P.effects.save(s,o),s.show(),i=P.effects.createWrapper(s).css({overflow:"hidden"}),n=d?[i.width(),i.height()]:[i.height(),i.width()],u&&(h=parseInt(u[1],10)/100*n[l?0:1]),a&&i.css(c?{height:0,width:h}:{height:h,width:0}),m[p[0]]=a?n[0]:h,g[p[1]]=a?n[1]:0,i.animate(m,f,e.easing).animate(g,f,e.easing,function(){l&&s.hide(),P.effects.restore(s,o),P.effects.removeWrapper(s),t()})},P.effects.effect.highlight=function(e,t){var i=P(this),n=["backgroundImage","backgroundColor","opacity"],s=P.effects.setMode(i,e.mode||"show"),o={backgroundColor:i.css("backgroundColor")};"hide"===s&&(o.opacity=0),P.effects.save(i,n),i.show().css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(o,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===s&&i.hide(),P.effects.restore(i,n),t()}})},P.effects.effect.size=function(o,e){var t,i,r,a=P(this),n=["position","top","bottom","left","right","width","height","overflow","opacity"],l=["width","height","overflow"],s=["fontSize"],h=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],u=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],c=P.effects.setMode(a,o.mode||"effect"),d=o.restore||"effect"!==c,p=o.scale||"both",f=o.origin||["middle","center"],m=a.css("position"),g=d?n:["position","top","bottom","left","right","overflow","opacity"],v={height:0,width:0,outerHeight:0,outerWidth:0};"show"===c&&a.show(),t={height:a.height(),width:a.width(),outerHeight:a.outerHeight(),outerWidth:a.outerWidth()},"toggle"===o.mode&&"show"===c?(a.from=o.to||v,a.to=o.from||t):(a.from=o.from||("show"===c?v:t),a.to=o.to||("hide"===c?v:t)),r={from:{y:a.from.height/t.height,x:a.from.width/t.width},to:{y:a.to.height/t.height,x:a.to.width/t.width}},"box"!==p&&"both"!==p||(r.from.y!==r.to.y&&(g=g.concat(h),a.from=P.effects.setTransition(a,h,r.from.y,a.from),a.to=P.effects.setTransition(a,h,r.to.y,a.to)),r.from.x!==r.to.x&&(g=g.concat(u),a.from=P.effects.setTransition(a,u,r.from.x,a.from),a.to=P.effects.setTransition(a,u,r.to.x,a.to))),"content"!==p&&"both"!==p||r.from.y===r.to.y||(g=g.concat(s).concat(l),a.from=P.effects.setTransition(a,s,r.from.y,a.from),a.to=P.effects.setTransition(a,s,r.to.y,a.to)),P.effects.save(a,g),a.show(),P.effects.createWrapper(a),a.css("overflow","hidden").css(a.from),f&&(i=P.effects.getBaseline(f,t),a.from.top=(t.outerHeight-a.outerHeight())*i.y,a.from.left=(t.outerWidth-a.outerWidth())*i.x,a.to.top=(t.outerHeight-a.to.outerHeight)*i.y,a.to.left=(t.outerWidth-a.to.outerWidth)*i.x),a.css(a.from),"content"!==p&&"both"!==p||(h=h.concat(["marginTop","marginBottom"]).concat(s),u=u.concat(["marginLeft","marginRight"]),l=n.concat(h).concat(u),a.find("*[width]").each(function(){var e=P(this),t=e.height(),i=e.width(),n=e.outerHeight(),s=e.outerWidth();d&&P.effects.save(e,l),e.from={height:t*r.from.y,width:i*r.from.x,outerHeight:n*r.from.y,outerWidth:s*r.from.x},e.to={height:t*r.to.y,width:i*r.to.x,outerHeight:t*r.to.y,outerWidth:i*r.to.x},r.from.y!==r.to.y&&(e.from=P.effects.setTransition(e,h,r.from.y,e.from),e.to=P.effects.setTransition(e,h,r.to.y,e.to)),r.from.x!==r.to.x&&(e.from=P.effects.setTransition(e,u,r.from.x,e.from),e.to=P.effects.setTransition(e,u,r.to.x,e.to)),e.css(e.from),e.animate(e.to,o.duration,o.easing,function(){d&&P.effects.restore(e,l)})})),a.animate(a.to,{queue:!1,duration:o.duration,easing:o.easing,complete:function(){0===a.to.opacity&&a.css("opacity",a.from.opacity),"hide"===c&&a.hide(),P.effects.restore(a,g),d||("static"===m?a.css({position:"relative",top:a.to.top,left
1:a.to.left}):P.each(["top","left"],function(s,e){a.css(e,function(e,t){var i=parseInt(t,10),n=s?a.to.left:a.to.top;return"auto"===t?n+"px":i+n+"px"})})),P.effects.removeWrapper(a),e()}})},P.effects.effect.scale=function(e,t){var i=P(this),n=P.extend(!0,{},e),s=P.effects.setMode(i,e.mode||"effect"),o=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"hide"===s?0:100),r=e.direction||"both",a=e.origin,l={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()},h="horizontal"!==r?o/100:1,u="vertical"!==r?o/100:1;n.effect="size",n.queue=!1,n.complete=t,"effect"!==s&&(n.origin=a||["middle","center"],n.restore=!0),n.from=e.from||("show"===s?{height:0,width:0,outerHeight:0,outerWidth:0}:l),n.to={height:l.height*h,width:l.width*u,outerHeight:l.outerHeight*h,outerWidth:l.outerWidth*u},n.fade&&("show"===s&&(n.from.opacity=0,n.to.opacity=1),"hide"===s&&(n.from.opacity=1,n.to.opacity=0)),i.effect(n)},P.effects.effect.puff=function(e,t){var i=P(this),n=P.effects.setMode(i,e.mode||"hide"),s="hide"===n,o=parseInt(e.percent,10)||150,r=o/100,a={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};P.extend(e,{effect:"scale",queue:!1,fade:!0,mode:n,complete:t,percent:s?o:100,from:s?a:{height:a.height*r,width:a.width*r,outerHeight:a.outerHeight*r,outerWidth:a.outerWidth*r}}),i.effect(e)},P.effects.effect.pulsate=function(e,t){var i,n=P(this),s=P.effects.setMode(n,e.mode||"show"),o="show"===s,r="hide"===s,a=o||"hide"===s,l=2*(e.times||5)+(a?1:0),h=e.duration/l,u=0,c=n.queue(),d=c.length;for(!o&&n.is(":visible")||(n.css("opacity",0).show(),u=1),i=1;i<l;i++)n.animate({opacity:u},h,e.easing),u=1-u;n.animate({opacity:u},h,e.easing),n.queue(function(){r&&n.hide(),t()}),1<d&&c.splice.apply(c,[1,0].concat(c.splice(d,1+l))),n.dequeue()},P.effects.effect.shake=function(e,t){var i,n=P(this),s=["position","top","bottom","left","right","height","width"],o=P.effects.setMode(n,e.mode||"effect"),r=e.direction||"left",a=e.distance||20,l=e.times||3,h=2*l+1,u=Math.round(e.duration/h),c="up"===r||"down"===r?"top":"left",d="up"===r||"left"===r,p={},f={},m={},g=n.queue(),v=g.length;for(P.effects.save(n,s),n.show(),P.effects.createWrapper(n),p[c]=(d?"-=":"+=")+a,f[c]=(d?"+=":"-=")+2*a,m[c]=(d?"-=":"+=")+2*a,n.animate(p,u,e.easing),i=1;i<l;i++)n.animate(f,u,e.easing).animate(m,u,e.easing);n.animate(f,u,e.easing).animate(p,u/2,e.easing).queue(function(){"hide"===o&&n.hide(),P.effects.restore(n,s),P.effects.removeWrapper(n),t()}),1<v&&g.splice.apply(g,[1,0].concat(g.splice(v,1+h))),n.dequeue()},P.effects.effect.slide=function(e,t){var i,n=P(this),s=["position","top","bottom","left","right","width","height"],o=P.effects.setMode(n,e.mode||"show"),r="show"===o,a=e.direction||"left",l="up"===a||"down"===a?"top":"left",h="up"===a||"left"===a,u={};P.effects.save(n,s),n.show(),i=e.distance||n["top"==l?"outerHeight":"outerWidth"](!0),P.effects.createWrapper(n).css({overflow:"hidden"}),r&&n.css(l,h?isNaN(i)?"-"+i:-i:i),u[l]=(r?h?"+=":"-=":h?"-=":"+=")+i,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===o&&n.hide(),P.effects.restore(n,s),P.effects.removeWrapper(n),t()}})},P.effects.effect.transfer=function(e,t){var i=P(this),n=P(e.to),s="fixed"===n.css("position"),o=P("body"),r=s?o.scrollTop():0,a=s?o.scrollLeft():0,l=n.offset(),h={top:l.top-r,left:l.left-a,height:n.innerHeight(),width:n.innerWidth()},u=i.offset(),c=P("<div class='ui-effects-transfer'></div>").appendTo(document.body).addClass(e.className).css({top:u.top-r,left:u.left-a,height:i.innerHeight(),width:i.innerWidth(),position:s?"fixed":"absolute"}).animate(h,e.duration,e.easing,function(){c.remove(),t()})}}),function(){function e(){}for(var t,i=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeStamp","trace","warn"],n=i.length,s=window.console=window.console||{};n--;)s[t=i[n]]||(s[t]=e)}();var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(h){var u=/\blang(?:uage)?-([\w-]+)\b/i,t=0,I={manual:h.Prism&&h.Prism.manual,disableWorkerMessageHandler:h.Prism&&h.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof A?new A(e.type,I.util.encode(e.content),e.alias):Array.isArray(e)?e.map(I.util.encode):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function i(e,n){var s,t,o=I.util.type(e);switch(n=n||{},o){case"Object":if(t=I.util.objId(e),n[t])return n[t];for(var r in s={},n[t]=s,e)e.hasOwnProperty(r)&&(s[r]=i(e[r],n));return s;case"Array":return t=I.util.objId(e),n[t]?n[t]:(s=[],n[t]=s,e.forEach(function(e,t){s[t]=i(e,n)}),s);default:return e}}},languages:{extend:function(e,t){var i=I.util.clone(I.languages[e]);for(var n in t)i[n]=t[n];return i},insertBefore:function(i,e,t,n){var s=(n=n||I.languages)[i],o={};for(var r in s)if(s.hasOwnProperty(r)){if(r==e)for(var a in t)t.hasOwnProperty(a)&&(o[a]=t[a]);t.hasOwnProperty(r)||(o[r]=s[r])}var l=n[i];return n[i]=o,I.languages.DFS(I.languages,function(e,t){t===l&&e!=i&&(this[e]=o)}),o},DFS:function e(t,i,n,s){s=s||{};var o=I.util.objId;for(var r in t)if(t.hasOwnProperty(r)){i.call(t,r,t[r],n||r);var a=t[r],l=I.util.type(a);"Object"!==l||s[o(a)]?"Array"!==l||s[o(a)]||(s[o(a)]=!0,e(a,i,r,s)):(s[o(a)]=!0,e(a,i,null,s))}}},plugins:{},highlightAll:function(e,t){I.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,i){var n={callback:i,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};I.hooks.run("before-highlightall",n);for(var s,o=e.querySelectorAll(n.selector),r=0;
vendor: 4,196 bytes, line 1
1s=o[r++];)I.highlightElement(s,!0===t,n.callback)},highlightElement:function(e,t,i){for(var n,s="none",o=e;o&&!u.test(o.className);)o=o.parentNode;o&&(s=(o.className.match(u)||[,"none"])[1].toLowerCase(),n=I.languages[s]),e.className=e.className.replace(u,"").replace(/\s+/g," ")+" language-"+s,e.parentNode&&(o=e.parentNode,/pre/i.test(o.nodeName)&&(o.className=o.className.replace(u,"").replace(/\s+/g," ")+" language-"+s));function r(e){a.highlightedCode=e,I.hooks.run("before-insert",a),a.element.innerHTML=a.highlightedCode,I.hooks.run("after-highlight",a),I.hooks.run("complete",a),i&&i.call(a.element)}var a={element:e,language:s,grammar:n,code:e.textContent};if(I.hooks.run("before-sanity-check",a),a.code)if(I.hooks.run("before-highlight",a),a.grammar)if(t&&h.Worker){var l=new Worker(I.filename);l.onmessage=function(e){r(e.data)},l.postMessage(JSON.stringify({language:a.language,code:a.code,immediateClose:!0}))}else r(I.highlight(a.code,a.grammar,a.language));else r(I.util.encode(a.code));else I.hooks.run("complete",a)},highlight:function(e,t,i){var n={code:e,grammar:t,language:i};return I.hooks.run("before-tokenize",n),n.tokens=I.tokenize(n.code,n.grammar),I.hooks.run("after-tokenize",n),A.stringify(I.util.encode(n.tokens),n.language)},matchGrammar:function(e,t,i,n,s,o,r){for(var a in i)if(i.hasOwnProperty(a)&&i[a]){if(a==r)return;var l=i[a];l="Array"===I.util.type(l)?l:[l];for(var h=0;h<l.length;++h){var u=l[h],c=u.inside,d=!!u.lookbehind,p=!!u.greedy,f=0,m=u.alias;if(p&&!u.pattern.global){var g=u.pattern.toString().match(/[imuy]*$/)[0];u.pattern=RegExp(u.pattern.source,g+"g")}u=u.pattern||u;for(var v=n,b=s;v<t.length;b+=t[v].length,++v){var y=t[v];if(t.length>e.length)return;if(!(y instanceof A)){if(p&&v!=t.length-1){if(u.lastIndex=b,!(T=u.exec(e)))break;for(var _=T.index+(d?T[1].length:0),w=T.index+T[0].length,x=v,k=b,C=t.length;x<C&&(k<w||!t[x].type&&!t[x-1].greedy);++x)(k+=t[x].length)<=_&&(++v,b=k);if(t[v]instanceof A)continue;D=x-v,y=e.slice(b,k),T.index-=b}else{u.lastIndex=0;var T=u.exec(y),D=1}if(T){d&&(f=T[1]?T[1].length:0),w=(_=T.index+f)+(T=T[0].slice(f)).length;var S=y.slice(0,_),P=y.slice(w),E=[v,D];S&&(++v,b+=S.length,E.push(S));var N=new A(a,c?I.tokenize(T,c):T,m,T,p);if(E.push(N),P&&E.push(P),Array.prototype.splice.apply(t,E),1!=D&&I.matchGrammar(e,t,i,v,b,!0,a),o)break}else if(o)break}}}}},tokenize:function(e,t){var i=[e],n=t.rest;if(n){for(var s in n)t[s]=n[s];delete t.rest}return I.matchGrammar(e,i,t,0,0,!1),i},hooks:{all:{},add:function(e,t){var i=I.hooks.all;i[e]=i[e]||[],i[e].push(t)},run:function(e,t){var i=I.hooks.all[e];if(i&&i.length)for(var n,s=0;n=i[s++];)n(t)}},Token:A};function A(e,t,i,n,s){this.type=e,this.content=t,this.alias=i,this.length=0|(n||"").length,this.greedy=!!s}if(h.Prism=I,A.stringify=function(e,t){if("string"==typeof e)return e;if(Array.isArray(e))return e.map(function(e){return A.stringify(e,t)}).join("");var i={type:e.type,content:A.stringify(e.content,t),tag:"span",classes:["token",e.type],attributes:{},language:t};if(e.alias){var n=Array.isArray(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(i.classes,n)}I.hooks.run("wrap",i);var s=Object.keys(i.attributes).map(function(e){return e+'="'+(i.attributes[e]||"").replace(/"/g,"&quot;")+'"'}).join(" ");return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+(s?" "+s:"")+">"+i.content+"</"+i.tag+">"},!h.document)return h.addEventListener&&(I.disableWorkerMessageHandler||h.addEventListener("message",function(e){var t=JSON.parse(e.data),i=t.language,n=t.code,s=t.immediateClose;h.postMessage(I.highlight(n,I.languages[i],i)),s&&h.close()},!1)),I;var e=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return e&&(I.filename=e.src,I.manual||e.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(I.highlightAll):window.setTimeout(I.highlightAll,16):document.addEventListener("DOMContentLoaded",I.highlightAll))),I}(_self);"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism),Prism.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:/<!DOCTYPE[\s\S]+?>
1/i,cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var i={};i["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},i.cdata=/^<!\[CDATA\[|\]\]>$/i;var n={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}};n["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var s={};s[e]={pattern:RegExp("(<__[\\s\\S]*?>)(?:<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\s*|[\\s\\S])*?(?=<\\/__>)".replace(/__/g,e),"i"),lookbehind:!0,greedy:!0,inside:n},Prism.languages.insertBefore("markup","cdata",s)}}),Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/@[\w-]+/}},url:{pattern:RegExp("url\\((?:"+t.source+"|[^\n\r()]*)\\)","i"),inside:{function:/^url/i,punctuation:/^\(|\)$/}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+t.source+")*?(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var i=e.languages.markup;i&&(i.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:i.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:e.languages.css}},alias:"language-css"}},i.tag))}(Prism),Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.])\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/-[-=]?|\+[+=]?|!=?=?|<<?=?|>>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]
1*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.js=Prism.languages.javascript,Prism.languages.c=Prism.languages.extend("clike",{"class-name":{pattern:/(\b(?:enum|struct)\s+)\w+/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/,number:/(?:\b0x(?:[\da-f]+\.?[\da-f]*|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?)[ful]*/i}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z]+(?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,alias:"property",inside:{string:{pattern:/(#\s*include\s*)(?:<.+?>|("|')(?:\\?.)+?\2)/,lookbehind:!0},directive:{pattern:/(#\s*)\b(?:define|defined|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)\b/,lookbehind:!0,alias:"keyword"}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,Prism.languages.cpp=Prism.languages.extend("c",{"class-name":{pattern:/(\b(?:class|enum|struct)\s+)\w+/,lookbehind:!0},keyword:/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+\.?[\da-f']*|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+\.?[\d']*|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]*/i,greedy:!0},operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),Prism.languages.insertBefore("cpp","string",{"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),function(v){function b(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(v.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,s,e,o){if(n.language===s){var r=n.tokenStack=[];
vendor: 5,476 bytes, line 1
1n.code=n.code.replace(e,function(e){if("function"==typeof o&&!o(e))return e;for(var t,i=r.length;-1!==n.code.indexOf(t=b(s,i));)++i;return r[i]=e,t}),n.grammar=v.languages.markup}}},tokenizePlaceholders:{value:function(p,f){if(p.language===f&&p.tokenStack){p.grammar=v.languages[f];var m=0,g=Object.keys(p.tokenStack);!function e(t){for(var i=0;i<t.length&&!(m>=g.length);i++){var n=t[i];if("string"==typeof n||n.content&&"string"==typeof n.content){var s=g[m],o=p.tokenStack[s],r="string"==typeof n?n:n.content,a=b(f,s),l=r.indexOf(a);if(-1<l){++m;var h=r.substring(0,l),u=new v.Token(f,v.tokenize(o,p.grammar),"language-"+f,o),c=r.substring(l+a.length),d=[];h&&d.push.apply(d,e([h])),d.push(u),c&&d.push.apply(d,e([c])),"string"==typeof n?t.splice.apply(t,[i,1].concat(d)):n.content=d}}else n.content&&e(n.content)}return t}(p.tokens)}}}})}(Prism),Prism.languages.less=Prism.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-]+?(?:\([^{}]+\)|[^(){};])*?(?=\s*\{)/i,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\([^{}]*\)|[^{};@])*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/i,operator:/[+\-*\/]/}),Prism.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-]+.*?(?=[(;])/,lookbehind:!0,alias:"function"}}),function(e){e.languages.http={"request-line":{pattern:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\s(?:https?:\/\/|\/)\S+\sHTTP\/[0-9.]+/m,inside:{property:/^(?:POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\b/,"attr-name":/:\w+/}},"response-status":{pattern:/^HTTP\/1.[01] \d+.*/m,inside:{property:{pattern:/(^HTTP\/1.[01] )\d+.*/i,lookbehind:!0}}},"header-name":{pattern:/^[\w-]+:(?=.)/m,alias:"keyword"}};var t,i,n,s=e.languages,o={"application/javascript":s.javascript,"application/json":s.json||s.javascript,"application/xml":s.xml,"text/xml":s.xml,"text/html":s.html,"text/css":s.css},r={"application/json":!0,"application/xml":!0};for(var a in o)if(o[a]){t=t||{};var l=r[a]?(n=(i=a).replace(/^[a-z]+\//,""),"(?:"+i+"|\\w+/(?:[\\w.-]+\\+)+"+n+"(?![+\\w.-]))"):a;t[a]={pattern:RegExp("(content-type:\\s*"+l+"[\\s\\S]*?)(?:\\r?\\n|\\r){2}[\\s\\S]*","i"),lookbehind:!0,inside:{rest:o[a]}}}t&&e.languages.insertBefore("http","header-name",t)}(Prism),function(e){var t=/\b(?:abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while|var|null|exports|module|open|opens|provides|requires|to|transitive|uses|with)\b/,i=/\b[A-Z](?:\w*[a-z]\w*)?\b/;e.languages.java=e.languages.extend("clike",{"class-name":[i,/\b[A-Z]\w*(?=\s+\w+\s*[;,=())])/],keyword:t,function:[e.languages.clike.function,{pattern:/(\:\:)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x[\da-f_]*\.?[\da-f_p+-]+\b|(?:\b\d[\d_]*\.?[\d_]*|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|([-+&|])\2|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","class-name",{annotation:{alias:"punctuation",pattern:/(^|[^.])@\w+/,lookbehind:!0},namespace:{pattern:/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)[a-z]\w*(\.[a-z]\w*)+/,lookbehind:!0,inside:{punctuation:/\./}},generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":i,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(Prism),function(t){t.languages.php=t.languages.extend("clike",{keyword:/\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|final|finally|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|new|or|parent|print|private|protected|public|require|require_once|return|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,boolean:{pattern:/\b(?:false|true)\b/i,alias:"constant"},constant:[/\b[A-Z_][A-Z0-9_]*\b/,/\b(?:null)\b/i],comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0}}),t.languages.insertBefore("php","string",{"shell-comment":{pattern:/(^|[^\\])#.*/,lookbehind:!0,alias:"comment"}}),t.languages.insertBefore("php","comment",{delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"}}),t.languages.insertBefore("php","keyword",{variable:/\$+(?:\w+\b|(?={))/i,package:{pattern:/(\\|namespace\s+|use\s+)[\w\\]+/,lookbehind:!0,inside:{punctuation:/\\/}}}),t.languages.insertBefore("php","operator",{property:{pattern:/(->)[\w]+/,lookbehind:!0}});var e={pattern:/{\$(?:{(?:{[^{}]+}|[^{}]+)}|[^{}])+}|(^|[^\\{])\$+(?:\w+(?:\[.+?]|->\w+)*)/,lookbehind:!0,inside:{rest:t.languages.php}};t.languages.insertBefore("php","string",{"nowdoc-string":{pattern:/<<<'([^']+)'(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\1;/,greedy:!0,alias:"string",inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},"heredoc-string":{pattern:/<<<(?:"([^"]+)"(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\1;
1|([a-z_]\w*)(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?\2;)/i,greedy:!0,alias:"string",inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:e}},"single-quoted-string":{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,alias:"string",inside:{interpolation:e}}}),delete t.languages.php.string,t.hooks.add("before-tokenize",function(e){/<\?/.test(e.code)&&t.languages["markup-templating"].buildPlaceholders(e,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#)(?:[^?\n\r]|\?(?!>))*|\/\*[\s\S]*?(?:\*\/|$))*?(?:\?>|$)/gi)}),t.hooks.add("after-tokenize",function(e){t.languages["markup-templating"].tokenizePlaceholders(e,"php")})}(Prism),Prism.languages.json={property:{pattern:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,number:/-?\d+\.?\d*(e[+-]?\d+)?/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.scss=Prism.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-]+(?:\([^()]+\)|[^(])*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()]|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}]+[:{][^}]+))/m,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[\w-]|\$[-\w]+|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),Prism.languages.insertBefore("scss","atrule",{keyword:[/@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i,{pattern:/( +)(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),Prism.languages.insertBefore("scss","function",{placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|or|not)(?=\s)/,lookbehind:!0}}),Prism.languages.scss.atrule.inside.rest=Prism.languages.scss,function(i){var e={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},t=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|c[a-zA-Z]|0[0-7]{0,2}|[123][0-7]{2}|.)/,n=/\\[wsd]|\.|\\p{[^{}]+}/i,s="(?:[^\\\\-]|"+t.source+")",o=RegExp(s+"-"+s),r={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},a=[/\\(?![123][0-7]{2})[1-9]/,{pattern:/\\k<[^<>']+>/,inside:{"group-name":r}}];i.languages.regex={charset:{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"charset-negation":{pattern:/(^\[)\^/,lookbehind:!0},"charset-punctuation":/^\[|\]$/,range:{pattern:o,inside:{escape:t,"range-punctuation":/-/}},"special-escape":e,charclass:n,backreference:a,escape:t}},"special-escape":e,charclass:n,backreference:a,anchor:/[$^]|\\[ABbGZz]/,escape:t,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,inside:{"group-name":r}},/\)/],quantifier:/[+*?]|\{(?:\d+,?\d*)\}/,alternation:/\|/},["actionscript","coffescript","flow","javascript","typescript","vala"].forEach(function(e){var t=i.languages[e];t&&(t.regex.inside={"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/,"language-regex":{pattern:/[\s\S]+/,inside:i.languages.regex}})})}(Prism),function(){if("undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector){var t,i=function(){if(void 0===t){var e=document.createElement("div");e.style.fontSize="13px",e.style.lineHeight="1.5",e.style.padding=0,e.style.border=0,e.innerHTML="&nbsp;<br />&nbsp;",document.body.appendChild(e),t=38===e.offsetHeight,document.body.removeChild(e)}return t},r=0;Prism.hooks.add("before-sanity-check",function(e){var t=e.element.parentNode,i=t&&t.getAttribute("data-line");if(t&&i&&/pre/i.test(t.nodeName)){var n=0;s(".line-highlight",t).forEach(function(e){n+=e.textContent.length,e.parentNode.removeChild(e)}),n&&/^( \n)+$/.test(e.code.slice(-n))&&(e.code=e.code.slice(0,-n))}}),Prism.hooks.add("complete",function e(t){var i=t.element.parentNode,n=i&&i.getAttribute("data-line");if(i&&n&&/pre/i.test(i.nodeName)){clearTimeout(r);var s=Prism.plugins.lineNumbers,o=t.plugins&&t.plugins.lineNumbers;a(i,"line-numbers")&&s&&!o?Prism.hooks.add("line-numbers",e):(l(i,n)(),r=setTimeout(h,1))}}),window.addEventListener("hashchange",h),window.addEventListener("resize",function(){var t=[];s("pre[data-line]").forEach(function(e){t.push(l(e))}),t.forEach(n)})}function s(e,t){return Array.prototype.slice.call((t||document).querySelectorAll(e))}function a(e,t){return t=" "+t+" ",-1<(" "+e.className+" ").replace(/[\n\t]/g," ").indexOf(t)}function n(e){e()}function l(h,e,u){var t=(e="string"==typeof e?e:h.getAttribute("data-line")).replace(/\s+/g,"").split(","),c=+h.getAttribute("data-line-offset")||0,d=(i()?parseInt:parseFloat)(getComputedStyle(h).lineHeight),p=a(h,"line-numbers"),f=p?h:h.querySelector("code")||h,m=[];return t.forEach(function(e){var t=e.split("-"),i=+t[0],n=+t[1]||i,s=h.querySelector('.line-highlight[data-range="'+e+'"]')||document.createElement("div");if(m.push(function(){s.setAttribute("aria-hidden","true"),s.setAttribute("data-range",e),s.className=(u||"")+" line-highlight"}),p&&Prism.plugins.lineNumbers){var o=Prism.plugins.lineNumbers.getLine(h,i),r=Prism.plugins.lineNumbers.getLine(h,n);if(o){var a=o.offsetTop+"px";m.push(function(){s.style.top=a})}if(r){var l=r.offsetTop-o.offsetTop+r.offsetHeight+"px";m.push(function(){s.style.height=l})}}else m.push(function(){s.setAttribute("data-start",i),i<n&&s.setAttribute("data-end",n),s.style.top=(i-c-1)*d+"px",s.textContent=new Array(n-i+2).join(" \n")});m.push(function(){f.appendChild(s)})}),function(){m.forEach(n)}}function h(){var e=location.hash.slice(1);s(".temporary.line-highlight").forEach(function(e){e.parentNode.removeChild(e)});var t=(e.match(/\.([\d,-]+)$/)||[,""])[1];if(t&&!document.getElementById(e)){var i=e.slice(0,e.lastIndexOf(".")),n=document.getElementById(i);n&&(n.hasAttribute("data-line")||n.setAttribute("data-line",""),l(n,t,"temporary ")(),document.querySelector(".temporary.line-highlight").scrollIntoView())}}}(),function(){if("undefined"!=typeof self&&self.Prism&&self.document){function u(e){var t=a(e)["white-space"];if("pre-wrap"===t||"pre-line"===t){var i=e.querySelector("code"),n=e.querySelector(".line-numbers-rows"),s=e.querySelector(".line-numbers-sizer"),o=i.textContent.split(c);s||((s=document.createElement("span")).className="line-numbers-sizer",i.appendChild(s)),s.style.display="block",o.forEach(function(e,t){s.textContent=e||"\n";var i=s.getBoundingClientRect().height;n.children[t].style.height=i+"px"}),s.textContent="",s.style.display="none"}}var r="line-numbers",c=/\n(?!$)/g,a=function(e){return e?window.getComputedStyle?getComputedStyle(e):e.currentStyle||null:null};window.addEventListener("resize",function(){Array.prototype.forEach.call(document.querySelectorAll("pre."+r),u)}),Prism.hooks.add("complete",function(e){if(e.code){var t=e.element,i=t.parentNode;if(i&&/pre/i.test(i.nodeName)&&!t.querySelector(".line-numbers-rows")){for(var n=!1,s=/(?:^|\s)line-numbers(?:\s|$)/,o=t;o;o=o.parentNode)if(s.test(o.className)){n=!0;break}if(n){t.className=t.className.replace(s," "),s.test(i.className)||(i.className+=" line-numbers");var r,a=e.code.match(c),l=a?a.length+1:1,h=new Array(l+1).join("<span></span>");(r=document.createElement("span")).setAttribute("aria-hidden","true"),r.className="line-numbers-rows",r.innerHTML=h,i.hasAttribute("data-start")&&(i.style.counterReset="linenumber "+(parseInt(i.getAttribute("data-start"),10)-1)),e.element.appendChild(r),u(i),Prism.hooks.run("line-numbers",e)}}}}),Prism.hooks.add("line-numbers",function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0}),Prism.plugins.lineNumbers={getLine:function(e,t){if("PRE"===e.tagName&&e.classList.contains(r)){var i=e.querySelector(".line-numbers-rows"),n=parseInt(e.getAttribute("data-start"),10)||1,s=n+(i.children.length-1);t<n&&(t=n),s<t&&(t=s);var o=t-n;return i.children[o]}}}}}(),function(){if("undefined"!=typeof self&&self.Prism&&self.document){var p=/(?:^|\s)command-line(?:\s|$)/;Prism.hooks.add("before-highlight",function(e){var t=e.vars=e.vars||{},i=t["command-line"]=t["command-line"]||{};if(!i.complete&&e.code){var n=e.element.parentNode;if(n&&/pre/i.test(n.nodeName)&&(p.test(n.className)||p.test(e.element.className)))if(e.element.querySelector(".command-line-prompt"))i.complete=!0;else{var s=e.code.split("\n");i.numberOfLines=s.length;var o=i.outputLines=[],r=n.getAttribute("data-output"),a=n.getAttribute("data-filter-output");if(r||""===r){r=r.split(",");for(var l=0;l<r.length;l++){var h=r[l].split("-"),u=parseInt(h[0],10),c=2===h.length?parseInt(h[1],10):u;if(!isNaN(u)&&!isNaN(c)){u<1&&(u=1),c>s.length&&(c=s.length),c--;for(var d=--u;d<=c;d++)o[d]=s[d],s[d]=""}}}else if(a)for(l=0;l<s.length;l++)0===s[l].indexOf(a)&&(o[l]=s[l].slice(a.length),s[l]="");e.code=s.join("\n")}else i.complete=!0}else i.complete=!0}),Prism.hooks.add("before-insert",function(e){var t=e.vars=e.vars||{},i=t["command-line"]=t["command-line"]||{};if(!i.complete){for(var n=e.highlightedCode.split("\n"),s=0,o=(i.outputLines||[]).length;s<o;s++)i.outputLines.hasOwnProperty(s)&&(n[s]=i.outputLines[s]);e.highlightedCode=n.join("\n")}}),Prism.hooks.add("complete",function(e){var t=e.vars=e.vars||{},i=t["command-line"]=t["command-line"]||{};if(!i.complete){var n=e.element.parentNode;p.test(e.element.className)&&(e.element.className=e.element.className.replace(p," ")),p.test(n.className)||(n.className+=" command-line");function s(e,t){return(n.getAttribute(e)||t).replace(/"/g,"&quot")}var o=new Array((i.numberOfLines||0)+1),r=s("data-prompt","");if(""!==r)o=o.join('<span data-prompt="'+r+'"></span>');else{var a=s("data-user","user"),l=s("data-host","localhost");o=o.join('<span data-user="'+a+'" data-host="'+l+'"></span>')}var h=document.createElement("span");
1h.className="command-line-prompt",h.innerHTML=o;for(var u=0,c=(i.outputLines||[]).length;u<c;u++)if(i.outputLines.hasOwnProperty(u)){var d=h.children[u];d.removeAttribute("data-user"),d.removeAttribute("data-host"),d.removeAttribute("data-prompt")}e.element.insertBefore(h,e.element.firstChild),i.complete=!0}})}}(),function(){var s=Object.assign||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e};function e(e){this.defaults=s({},e)}function l(e){for(var t=0,i=0;i<e.length;++i)e.charCodeAt(i)=="\t".charCodeAt(0)&&(t+=3);return e.length+t}e.prototype={setDefaults:function(e){this.defaults=s(this.defaults,e)},normalize:function(e,t){for(var i in t=s(this.defaults,t)){var n=i.replace(/-(\w)/g,function(e,t){return t.toUpperCase()});"normalize"!==i&&"setDefaults"!==n&&t[i]&&this[n]&&(e=this[n].call(this,e,t[i]))}return e},leftTrim:function(e){return e.replace(/^\s+/,"")},rightTrim:function(e){return e.replace(/\s+$/,"")},tabsToSpaces:function(e,t){return t=0|t||4,e.replace(/\t/g,new Array(++t).join(" "))},spacesToTabs:function(e,t){return t=0|t||4,e.replace(RegExp(" {"+t+"}","g"),"\t")},removeTrailing:function(e){return e.replace(/\s*?$/gm,"")},removeInitialLineFeed:function(e){return e.replace(/^(?:\r?\n|\r)/,"")},removeIndent:function(e){var t=e.match(/^[^\S\n\r]*(?=\S)/gm);return t&&t[0].length?(t.sort(function(e,t){return e.length-t.length}),t[0].length?e.replace(RegExp("^"+t[0],"gm"),""):e):e},indent:function(e,t){return e.replace(/^[^\S\n\r]*(?=\S)/gm,new Array(++t).join("\t")+"$&")},breakLines:function(e,t){t=!0===t?80:0|t||80;for(var i=e.split("\n"),n=0;n<i.length;++n)if(!(l(i[n])<=t)){for(var s=i[n].split(/(\s+)/g),o=0,r=0;r<s.length;++r){var a=l(s[r]);t<(o+=a)&&(s[r]="\n"+s[r],o=a)}i[n]=s.join("")}return i.join("\n")}},"undefined"!=typeof module&&module.exports&&(module.exports=e),void 0!==Prism&&(Prism.plugins.NormalizeWhitespace=new e({"remove-trailing":!0,"remove-indent":!0,"left-trim":!0,"right-trim":!0}),Prism.hooks.add("before-sanity-check",function(e){var t=Prism.plugins.NormalizeWhitespace;if(!e.settings||!1!==e.settings["whitespace-normalization"])if(e.element&&e.element.parentNode||!e.code){var i=e.element.parentNode,n=/(?:^|\s)no-whitespace-normalization(?:\s|$)/;if(e.code&&i&&"pre"===i.nodeName.toLowerCase()&&!n.test(i.className)&&!n.test(e.element.className)){for(var s=i.childNodes,o="",r="",a=!1,l=0;l<s.length;++l){var h=s[l];h==e.element?a=!0:"#text"===h.nodeName&&(a?r+=h.nodeValue:o+=h.nodeValue,i.removeChild(h),--l)}if(e.element.children.length&&Prism.plugins.KeepMarkup){var u=o+e.element.innerHTML+r;e.element.innerHTML=t.normalize(u,e.settings),e.code=e.element.textContent}else e.code=o+e.code+r,e.code=t.normalize(e.code,e.settings)}}else e.code=t.normalize(e.code,e.settings)}))}();var response_sm=575.98,response_md=767.98,response_lg=999.98,responseWidth=response_lg;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.