!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(d,t){function e(t,e){return e.toUpperCase()}var p=[],l=p.slice,g=p.concat,s=p.push,i=p.indexOf,n={},r=n.toString,v=n.hasOwnProperty,m={},o="1.11.2",_=function(t,e){return new _.fn.init(t,e)},a=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,c=/^-ms-/,u=/-([\da-z])/gi;function f(t){var e=t.length,n=_.type(t);return"function"!==n&&!_.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t))}_.fn=_.prototype={jquery:o,constructor:_,selector:"",length:0,toArray:function(){return l.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:l.call(this)},pushStack:function(t){var e=_.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return _.each(this,t,e)},map:function(n){return this.pushStack(_.map(this,function(t,e){return n.call(t,e,t)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(0<=n&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:s,sort:p.sort,splice:p.splice},_.extend=_.fn.extend=function(){var t,e,n,r,i,o,a=arguments[0]||{},s=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||_.isFunction(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(i=arguments[s]))for(r in i)t=a[r],a!==(n=i[r])&&(u&&n&&(_.isPlainObject(n)||(e=_.isArray(n)))?(o=e?(e=!1,t&&_.isArray(t)?t:[]):t&&_.isPlainObject(t)?t:{},a[r]=_.extend(u,o,n)):void 0!==n&&(a[r]=n));return a},_.extend({expando:"jQuery"+(o+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===_.type(t)},isArray:Array.isArray||function(t){return"array"===_.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!_.isArray(t)&&0<=t-parseFloat(t)+1},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==_.type(t)||t.nodeType||_.isWindow(t))return!1;try{if(t.constructor&&!v.call(t,"constructor")&&!v.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(m.ownLast)for(e in t)return v.call(t,e);for(e in t);return void 0===e||v.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?n[r.call(t)]||"object":typeof t},globalEval:function(t){t&&_.trim(t)&&(d.execScript||function(t){d.eval.call(d,t)})(t)},camelCase:function(t){return t.replace(c,"ms-").replace(u,e)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var r=0,i=t.length,o=f(t);if(n){if(o)for(;r<i&&!1!==e.apply(t[r],n);r++);else for(r in t)if(!1===e.apply(t[r],n))break}else if(o)for(;r<i&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},trim:function(t){return null==t?"":(t+"").replace(a,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(f(Object(t))?_.merge(n,"string"==typeof t?[t]:t):s.call(n,t)),n},inArray:function(t,e,n){var r;if(e){if(i)return i.call(e,t,n);for(r=e.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;)t[i++]=e[r++];if(n!=n)for(;void 0!==e[r];)t[i++]=e[r++];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,a=!n;i<o;i++)!e(t[i],i)!=a&&r.push(t[i]);return r},map:function(t,e,n){var r,i=0,o=t.length,a=[];if(f(t))for(;i<o;i++)null!=(r=e(t[i],i,n))&&a.push(r);else for(i in t)null!=(r=e(t[i],i,n))&&a.push(r);return g.apply([],a)},guid:1,proxy:function(t,e){var n,r,i;return"string"==typeof e&&(i=t[e],e=t,t=i),_.isFunction(t)?(n=l.call(arguments,2),(r=function(){return t.apply(e||this,n.concat(l.call(arguments)))}).guid=t.guid=t.guid||_.guid++,r):void 0},now:function(){return+new Date},support:m}),_.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){n["[object "+e+"]"]=e.toLowerCase()});var h=function(n){function p(t,e,n){var r="0x"+e-65536;return r!=r||n?e:r<0?String.fromCharCode(65536+r):String.fromCharCode(r>>10|55296,1023&r|56320)}function r(){m()}var t,d,x,o,i,g,f,v,w,u,l,m,E,a,y,b,s,h,_,T="sizzle"+1*new Date,S=n.document,k=0,C=0,c=ot(),N=ot(),A=ot(),j=function(t,e){return t===e&&(l=!0),0},O={}.hasOwnProperty,e=[],D=e.pop,L=e.push,H=e.push,$=e.slice,R=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},F="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",q=M.replace("w","w#"),I="\\["+P+"*("+M+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+q+"))|)"+P+"*\\]",B=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",W=new RegExp(P+"+","g"),U=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),z=new RegExp("^"+P+"*,"+P+"*"),X=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),Y=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),J=new RegExp(B),V=new RegExp("^"+q+"$"),G={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,tt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/[+~]/,nt=/'|\\/g,rt=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig");try{H.apply(e=$.call(S.childNodes),S.childNodes),e[S.childNodes.length].nodeType}catch(t){H={apply:e.length?function(t,e){L.apply(t,$.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function it(t,e,n,r){var i,o,a,s,c,u,l,p,f,h;if((e?e.ownerDocument||e:S)!==E&&m(e),n=n||[],s=(e=e||E).nodeType,"string"!=typeof t||!t||1!==s&&9!==s&&11!==s)return n;if(!r&&y){if(11!==s&&(i=tt.exec(t)))if(a=i[1]){if(9===s){if(!(o=e.getElementById(a))||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(a))&&_(e,o)&&o.id===a)return n.push(o),n}else{if(i[2])return H.apply(n,e.getElementsByTagName(t)),n;if((a=i[3])&&d.getElementsByClassName)return H.apply(n,e.getElementsByClassName(a)),n}if(d.qsa&&(!b||!b.test(t))){if(p=l=T,f=e,h=1!==s&&t,1===s&&"object"!==e.nodeName.toLowerCase()){for(u=g(t),(l=e.getAttribute("id"))?p=l.replace(nt,"\\$&"):e.setAttribute("id",p),p="[id='"+p+"'] ",c=u.length;c--;)u[c]=p+gt(u[c]);f=et.test(t)&&ht(e.parentNode)||e,h=u.join(",")}if(h)try{return H.apply(n,f.querySelectorAll(h)),n}catch(t){}finally{l||e.removeAttribute("id")}}}return v(t.replace(U,"$1"),e,n,r)}function ot(){var r=[];return function t(e,n){return r.push(e+" ")>x.cacheLength&&delete t[r.shift()],t[e+" "]=n}}function at(t){return t[T]=!0,t}function st(t){var e=E.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ct(t,e){for(var n=t.split("|"),r=t.length;r--;)x.attrHandle[n[r]]=e}function ut(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function lt(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pt(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}function ft(a){return at(function(o){return o=+o,at(function(t,e){for(var n,r=a([],t.length,o),i=r.length;i--;)t[n=r[i]]&&(t[n]=!(e[n]=t[n]))})})}function ht(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in d=it.support={},i=it.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},m=it.setDocument=function(t){var e,n,c=t?t.ownerDocument||t:S;return c!==E&&9===c.nodeType&&c.documentElement?(a=(E=c).documentElement,(n=c.defaultView)&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",r,!1):n.attachEvent&&n.attachEvent("onunload",r)),y=!i(c),d.attributes=st(function(t){return t.className="i",!t.getAttribute("className")}),d.getElementsByTagName=st(function(t){return t.appendChild(c.createComment("")),!t.getElementsByTagName("*").length}),d.getElementsByClassName=Z.test(c.getElementsByClassName),d.getById=st(function(t){return a.appendChild(t).id=T,!c.getElementsByName||!c.getElementsByName(T).length}),d.getById?(x.find.ID=function(t,e){if(void 0!==e.getElementById&&y){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},x.filter.ID=function(t){var e=t.replace(rt,p);return function(t){return t.getAttribute("id")===e}}):(delete x.find.ID,x.filter.ID=function(t){var n=t.replace(rt,p);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===n}}),x.find.TAG=d.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):d.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"!==t)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},x.find.CLASS=d.getElementsByClassName&&function(t,e){return y?e.getElementsByClassName(t):void 0},s=[],b=[],(d.qsa=Z.test(c.querySelectorAll))&&(st(function(t){a.appendChild(t).innerHTML="<a id='"+T+"'></a><select id='"+T+"-\f]' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&b.push("[*^$]="+P+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||b.push("\\["+P+"*(?:value|"+F+")"),t.querySelectorAll("[id~="+T+"-]").length||b.push("~="),t.querySelectorAll(":checked").length||b.push(":checked"),t.querySelectorAll("a#"+T+"+*").length||b.push(".#.+[+~]")}),st(function(t){var e=c.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&b.push("name"+P+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||b.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),b.push(",.*:")})),(d.matchesSelector=Z.test(h=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&st(function(t){d.disconnectedMatch=h.call(t,"div"),h.call(t,"[s!='']:x"),s.push("!=",B)}),b=b.length&&new RegExp(b.join("|")),s=s.length&&new RegExp(s.join("|")),e=Z.test(a.compareDocumentPosition),_=e||Z.test(a.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},j=e?function(t,e){if(t===e)return l=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!d.sortDetached&&e.compareDocumentPosition(t)===n?t===c||t.ownerDocument===S&&_(S,t)?-1:e===c||e.ownerDocument===S&&_(S,e)?1:u?R(u,t)-R(u,e):0:4&n?-1:1)}:function(t,e){if(t===e)return l=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!i||!o)return t===c?-1:e===c?1:i?-1:o?1:u?R(u,t)-R(u,e):0;if(i===o)return ut(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ut(a[r],s[r]):a[r]===S?-1:s[r]===S?1:0},c):E},it.matches=function(t,e){return it(t,null,null,e)},it.matchesSelector=function(t,e){if((t.ownerDocument||t)!==E&&m(t),e=e.replace(Y,"='$1']"),!(!d.matchesSelector||!y||s&&s.test(e)||b&&b.test(e)))try{var n=h.call(t,e);if(n||d.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0<it(e,E,null,[t]).length},it.contains=function(t,e){return(t.ownerDocument||t)!==E&&m(t),_(t,e)},it.attr=function(t,e){(t.ownerDocument||t)!==E&&m(t);var n=x.attrHandle[e.toLowerCase()],r=n&&O.call(x.attrHandle,e.toLowerCase())?n(t,e,!y):void 0;return void 0!==r?r:d.attributes||!y?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},it.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},it.uniqueSort=function(t){var e,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&&t.slice(0),t.sort(j),l){for(;e=t[i++];)e===t[i]&&(r=n.push(i));for(;r--;)t.splice(n[r],1)}return u=null,t},o=it.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=o(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=o(e);return n},(x=it.selectors={cacheLength:50,createPseudo:at,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(rt,p),t[3]=(t[3]||t[4]||t[5]||"").replace(rt,p),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||it.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&it.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return G.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&J.test(n)&&(e=g(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(rt,p).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=c[t+" "];return e||(e=new RegExp("(^|"+P+")"+t+"("+P+"|$)"))&&c(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(t){var e=it.attr(t,n);return null==e?"!="===r:!r||(e+="","="===r?e===i:"!="===r?e!==i:"^="===r?i&&0===e.indexOf(i):"*="===r?i&&-1<e.indexOf(i):"$="===r?i&&e.slice(-i.length)===i:"~="===r?-1<(" "+e.replace(W," ")+" ").indexOf(i):"|="===r&&(e===i||e.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,t,e,d,g){var v="nth"!==h.slice(0,3),m="last"!==h.slice(-4),y="of-type"===t;return 1===d&&0===g?function(t){return!!t.parentNode}:function(t,e,n){var r,i,o,a,s,c,u=v!=m?"nextSibling":"previousSibling",l=t.parentNode,p=y&&t.nodeName.toLowerCase(),f=!n&&!y;if(l){if(v){for(;u;){for(o=t;o=o[u];)if(y?o.nodeName.toLowerCase()===p:1===o.nodeType)return!1;c=u="only"===h&&!c&&"nextSibling"}return!0}if(c=[m?l.firstChild:l.lastChild],m&&f){for(s=(r=(i=l[T]||(l[T]={}))[h]||[])[0]===k&&r[1],a=r[0]===k&&r[2],o=s&&l.childNodes[s];o=++s&&o&&o[u]||(a=s=0)||c.pop();)if(1===o.nodeType&&++a&&o===t){i[h]=[k,s,a];break}}else if(f&&(r=(t[T]||(t[T]={}))[h])&&r[0]===k)a=r[1];else for(;(o=++s&&o&&o[u]||(a=s=0)||c.pop())&&((y?o.nodeName.toLowerCase()!==p:1!==o.nodeType)||!++a||(f&&((o[T]||(o[T]={}))[h]=[k,a]),o!==t)););return(a-=g)===d||a%d==0&&0<=a/d}}},PSEUDO:function(t,o){var e,a=x.pseudos[t]||x.setFilters[t.toLowerCase()]||it.error("unsupported pseudo: "+t);return a[T]?a(o):1<a.length?(e=[t,t,"",o],x.setFilters.hasOwnProperty(t.toLowerCase())?at(function(t,e){for(var n,r=a(t,o),i=r.length;i--;)t[n=R(t,r[i])]=!(e[n]=r[i])}):function(t){return a(t,0,e)}):a}},pseudos:{not:at(function(t){var r=[],i=[],s=f(t.replace(U,"$1"));return s[T]?at(function(t,e,n,r){for(var i,o=s(t,null,r,[]),a=t.length;a--;)(i=o[a])&&(t[a]=!(e[a]=i))}):function(t,e,n){return r[0]=t,s(r,null,n,i),r[0]=null,!i.pop()}}),has:at(function(e){return function(t){return 0<it(e,t).length}}),contains:at(function(e){return e=e.replace(rt,p),function(t){return-1<(t.textContent||t.innerText||o(t)).indexOf(e)}}),lang:at(function(n){return V.test(n||"")||it.error("unsupported lang: "+n),n=n.replace(rt,p).toLowerCase(),function(t){var e;do{if(e=y?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===n||0===e.indexOf(n+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=n.location&&n.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===a},focus:function(t){return t===E.activeElement&&(!E.hasFocus||E.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!x.pseudos.empty(t)},header:function(t){return K.test(t.nodeName)},input:function(t){return Q.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:ft(function(){return[0]}),last:ft(function(t,e){return[e-1]}),eq:ft(function(t,e,n){return[n<0?n+e:n]}),even:ft(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:ft(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:ft(function(t,e,n){for(var r=n<0?n+e:n;0<=--r;)t.push(r);return t}),gt:ft(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}}).pseudos.nth=x.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[t]=lt(t);for(t in{submit:!0,reset:!0})x.pseudos[t]=pt(t);function dt(){}function gt(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function vt(a,t,e){var s=t.dir,c=e&&"parentNode"===s,u=C++;return t.first?function(t,e,n){for(;t=t[s];)if(1===t.nodeType||c)return a(t,e,n)}:function(t,e,n){var r,i,o=[k,u];if(n){for(;t=t[s];)if((1===t.nodeType||c)&&a(t,e,n))return!0}else for(;t=t[s];)if(1===t.nodeType||c){if((r=(i=t[T]||(t[T]={}))[s])&&r[0]===k&&r[1]===u)return o[2]=r[2];if((i[s]=o)[2]=a(t,e,n))return!0}}}function mt(i){return 1<i.length?function(t,e,n){for(var r=i.length;r--;)if(!i[r](t,e,n))return!1;return!0}:i[0]}function yt(t,e,n,r,i){for(var o,a=[],s=0,c=t.length,u=null!=e;s<c;s++)!(o=t[s])||n&&!n(o,r,i)||(a.push(o),u&&e.push(s));return a}function bt(h,d,g,v,m,t){return v&&!v[T]&&(v=bt(v)),m&&!m[T]&&(m=bt(m,t)),at(function(t,e,n,r){var i,o,a,s=[],c=[],u=e.length,l=t||function(t,e,n){for(var r=0,i=e.length;r<i;r++)it(t,e[r],n);return n}(d||"*",n.nodeType?[n]:n,[]),p=!h||!t&&d?l:yt(l,s,h,n,r),f=g?m||(t?h:u||v)?[]:e:p;if(g&&g(p,f,n,r),v)for(i=yt(f,c),v(i,[],n,r),o=i.length;o--;)(a=i[o])&&(f[c[o]]=!(p[c[o]]=a));if(t){if(m||h){if(m){for(i=[],o=f.length;o--;)(a=f[o])&&i.push(p[o]=a);m(null,f=[],i,r)}for(o=f.length;o--;)(a=f[o])&&-1<(i=m?R(t,a):s[o])&&(t[i]=!(e[i]=a))}}else f=yt(f===e?f.splice(u,f.length):f),m?m(null,e,f,r):H.apply(e,f)})}function xt(t){for(var i,e,n,r=t.length,o=x.relative[t[0].type],a=o||x.relative[" "],s=o?1:0,c=vt(function(t){return t===i},a,!0),u=vt(function(t){return-1<R(i,t)},a,!0),l=[function(t,e,n){var r=!o&&(n||e!==w)||((i=e).nodeType?c(t,e,n):u(t,e,n));return i=null,r}];s<r;s++)if(e=x.relative[t[s].type])l=[vt(mt(l),e)];else{if((e=x.filter[t[s].type].apply(null,t[s].matches))[T]){for(n=++s;n<r&&!x.relative[t[n].type];n++);return bt(1<s&&mt(l),1<s&&gt(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(U,"$1"),e,s<n&&xt(t.slice(s,n)),n<r&&xt(t=t.slice(n)),n<r&&gt(t))}l.push(e)}return mt(l)}return dt.prototype=x.filters=x.pseudos,x.setFilters=new dt,g=it.tokenize=function(t,e){var n,r,i,o,a,s,c,u=N[t+" "];if(u)return e?0:u.slice(0);for(a=t,s=[],c=x.preFilter;a;){for(o in n&&!(r=z.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=X.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(U," ")}),a=a.slice(n.length)),x.filter)!(r=G[o].exec(a))||c[o]&&!(r=c[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return e?a.length:a?it.error(t):N(t,s).slice(0)},f=it.compile=function(t,e){var n,r=[],i=[],o=A[t+" "];if(!o){for(n=(e=e||g(t)).length;n--;)(o=xt(e[n]))[T]?r.push(o):i.push(o);(o=A(t,function(v,m){function t(t,e,n,r,i){var o,a,s,c=0,u="0",l=t&&[],p=[],f=w,h=t||b&&x.find.TAG("*",i),d=k+=null==f?1:Math.random()||.1,g=h.length;for(i&&(w=e!==E&&e);u!==g&&null!=(o=h[u]);u++){if(b&&o){for(a=0;s=v[a++];)if(s(o,e,n)){r.push(o);break}i&&(k=d)}y&&((o=!s&&o)&&c--,t&&l.push(o))}if(c+=u,y&&u!==c){for(a=0;s=m[a++];)s(l,p,e,n);if(t){if(0<c)for(;u--;)l[u]||p[u]||(p[u]=D.call(r));p=yt(p)}H.apply(r,p),i&&!t&&0<p.length&&1<c+m.length&&it.uniqueSort(r)}return i&&(k=d,w=f),l}var y=0<m.length,b=0<v.length;return y?at(t):t}(i,r))).selector=t}return o},v=it.select=function(t,e,n,r){var i,o,a,s,c,u="function"==typeof t&&t,l=!r&&g(t=u.selector||t);if(n=n||[],1===l.length){if(2<(o=l[0]=l[0].slice(0)).length&&"ID"===(a=o[0]).type&&d.getById&&9===e.nodeType&&y&&x.relative[o[1].type]){if(!(e=(x.find.ID(a.matches[0].replace(rt,p),e)||[])[0]))return n;u&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(i=G.needsContext.test(t)?0:o.length;i--&&(a=o[i],!x.relative[s=a.type]);)if((c=x.find[s])&&(r=c(a.matches[0].replace(rt,p),et.test(o[0].type)&&ht(e.parentNode)||e))){if(o.splice(i,1),!(t=r.length&&gt(o)))return H.apply(n,r),n;break}}return(u||f(t,l))(r,e,!y,n,et.test(t)&&ht(e.parentNode)||e),n},d.sortStable=T.split("").sort(j).join("")===T,d.detectDuplicates=!!l,m(),d.sortDetached=st(function(t){return 1&t.compareDocumentPosition(E.createElement("div"))}),st(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ct("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),d.attributes&&st(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ct("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),st(function(t){return null==t.getAttribute("disabled")})||ct(F,function(t,e,n){var r;return n?void 0:!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),it}(d);_.find=h,_.expr=h.selectors,_.expr[":"]=_.expr.pseudos,_.unique=h.uniqueSort,_.text=h.getText,_.isXMLDoc=h.isXML,_.contains=h.contains;var y=_.expr.match.needsContext,b=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,x=/^.[^:#\[\.,]*$/;function w(t,n,r){if(_.isFunction(n))return _.grep(t,function(t,e){return!!n.call(t,e,t)!==r});if(n.nodeType)return _.grep(t,function(t){return t===n!==r});if("string"==typeof n){if(x.test(n))return _.filter(n,t,r);n=_.filter(n,t)}return _.grep(t,function(t){return 0<=_.inArray(t,n)!==r})}_.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?_.find.matchesSelector(r,t)?[r]:[]:_.find.matches(t,_.grep(e,function(t){return 1===t.nodeType}))},_.fn.extend({find:function(t){var e,n=[],r=this,i=r.length;if("string"!=typeof t)return this.pushStack(_(t).filter(function(){for(e=0;e<i;e++)if(_.contains(r[e],this))return!0}));for(e=0;e<i;e++)_.find(t,r[e],n);return(n=this.pushStack(1<i?_.unique(n):n)).selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(w(this,t||[],!1))},not:function(t){return this.pushStack(w(this,t||[],!0))},is:function(t){return!!w(this,"string"==typeof t&&y.test(t)?_(t):t||[],!1).length}});var E,T=d.document,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(_.fn.init=function(t,e){var n,r;if(!t)return this;if("string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):_.isFunction(t)?void 0!==E.ready?E.ready(t):t(_):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),_.makeArray(t,this));if(!(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:S.exec(t))||!n[1]&&e)return!e||e.jquery?(e||E).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof _?e[0]:e,_.merge(this,_.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:T,!0)),b.test(n[1])&&_.isPlainObject(e))for(n in e)_.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if((r=T.getElementById(n[2]))&&r.parentNode){if(r.id!==n[2])return E.find(t);this.length=1,this[0]=r}return this.context=T,this.selector=t,this}).prototype=_.fn,E=_(T);var k=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};function N(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}_.extend({dir:function(t,e,n){for(var r=[],i=t[e];i&&9!==i.nodeType&&(void 0===n||1!==i.nodeType||!_(i).is(n));)1===i.nodeType&&r.push(i),i=i[e];return r},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),_.fn.extend({has:function(t){var e,n=_(t,this),r=n.length;return this.filter(function(){for(e=0;e<r;e++)if(_.contains(this,n[e]))return!0})},closest:function(t,e){for(var n,r=0,i=this.length,o=[],a=y.test(t)||"string"!=typeof t?_(t,e||this.context):0;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&_.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(1<o.length?_.unique(o):o)},index:function(t){return t?"string"==typeof t?_.inArray(this[0],_(t)):_.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(_.unique(_.merge(this.get(),_(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),_.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return _.dir(t,"parentNode")},parentsUntil:function(t,e,n){return _.dir(t,"parentNode",n)},next:function(t){return N(t,"nextSibling")},prev:function(t){return N(t,"previousSibling")},nextAll:function(t){return _.dir(t,"nextSibling")},prevAll:function(t){return _.dir(t,"previousSibling")},nextUntil:function(t,e,n){return _.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return _.dir(t,"previousSibling",n)},siblings:function(t){return _.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return _.sibling(t.firstChild)},contents:function(t){return _.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:_.merge([],t.childNodes)}},function(r,i){_.fn[r]=function(t,e){var n=_.map(this,i,t);return"Until"!==r.slice(-5)&&(e=t),e&&"string"==typeof e&&(n=_.filter(e,n)),1<this.length&&(C[r]||(n=_.unique(n)),k.test(r)&&(n=n.reverse())),this.pushStack(n)}});var A,j=/\S+/g,O={};function D(){T.addEventListener?(T.removeEventListener("DOMContentLoaded",L,!1),d.removeEventListener("load",L,!1)):(T.detachEvent("onreadystatechange",L),d.detachEvent("onload",L))}function L(){!T.addEventListener&&"load"!==event.type&&"complete"!==T.readyState||(D(),_.ready())}_.Callbacks=function(i){i="string"==typeof i?O[i]||function(t){var n=O[t]={};return _.each(t.match(j)||[],function(t,e){n[e]=!0}),n}(i):_.extend({},i);var r,e,n,o,a,s,c=[],u=!i.once&&[],l=function(t){for(e=i.memory&&t,n=!0,a=s||0,s=0,o=c.length,r=!0;c&&a<o;a++)if(!1===c[a].apply(t[0],t[1])&&i.stopOnFalse){e=!1;break}r=!1,c&&(u?u.length&&l(u.shift()):e?c=[]:p.disable())},p={add:function(){if(c){var t=c.length;!function r(t){_.each(t,function(t,e){var n=_.type(e);"function"===n?i.unique&&p.has(e)||c.push(e):e&&e.length&&"string"!==n&&r(e)})}(arguments),r?o=c.length:e&&(s=t,l(e))}return this},remove:function(){return c&&_.each(arguments,function(t,e){for(var n;-1<(n=_.inArray(e,c,n));)c.splice(n,1),r&&(n<=o&&o--,n<=a&&a--)}),this},has:function(t){return t?-1<_.inArray(t,c):!(!c||!c.length)},empty:function(){return c=[],o=0,this},disable:function(){return c=u=e=void 0,this},disabled:function(){return!c},lock:function(){return u=void 0,e||p.disable(),this},locked:function(){return!u},fireWith:function(t,e){return!c||n&&!u||(e=[t,(e=e||[]).slice?e.slice():e],r?u.push(e):l(e)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!n}};return p},_.extend({Deferred:function(t){var o=[["resolve","done",_.Callbacks("once memory"),"resolved"],["reject","fail",_.Callbacks("once memory"),"rejected"],["notify","progress",_.Callbacks("memory")]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var i=arguments;return _.Deferred(function(r){_.each(o,function(t,e){var n=_.isFunction(i[t])&&i[t];s[e[1]](function(){var t=n&&n.apply(this,arguments);t&&_.isFunction(t.promise)?t.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[e[0]+"With"](this===a?r.promise():this,n?[t]:arguments)})}),i=null}).promise()},promise:function(t){return null!=t?_.extend(t,a):a}},s={};return a.pipe=a.then,_.each(o,function(t,e){var n=e[2],r=e[3];a[e[1]]=n.add,r&&n.add(function(){i=r},o[1^t][2].disable,o[2][2].lock),s[e[0]]=function(){return s[e[0]+"With"](this===s?a:this,arguments),this},s[e[0]+"With"]=n.fireWith}),a.promise(s),t&&t.call(s,s),s},when:function(t){function e(e,n,r){return function(t){n[e]=this,r[e]=1<arguments.length?l.call(arguments):t,r===i?u.notifyWith(n,r):--c||u.resolveWith(n,r)}}var i,n,r,o=0,a=l.call(arguments),s=a.length,c=1!==s||t&&_.isFunction(t.promise)?s:0,u=1===c?t:_.Deferred();if(1<s)for(i=new Array(s),n=new Array(s),r=new Array(s);o<s;o++)a[o]&&_.isFunction(a[o].promise)?a[o].promise().done(e(o,r,a)).fail(u.reject).progress(e(o,n,i)):--c;return c||u.resolveWith(r,a),u.promise()}}),_.fn.ready=function(t){return _.ready.promise().done(t),this},_.extend({isReady:!1,readyWait:1,holdReady:function(t){t?_.readyWait++:_.ready(!0)},ready:function(t){if(!0===t?!--_.readyWait:!_.isReady){if(!T.body)return setTimeout(_.ready);(_.isReady=!0)!==t&&0<--_.readyWait||(A.resolveWith(T,[_]),_.fn.triggerHandler&&(_(T).triggerHandler("ready"),_(T).off("ready")))}}}),_.ready.promise=function(t){if(!A)if(A=_.Deferred(),"complete"===T.readyState)setTimeout(_.ready);else if(T.addEventListener)T.addEventListener("DOMContentLoaded",L,!1),d.addEventListener("load",L,!1);else{T.attachEvent("onreadystatechange",L),d.attachEvent("onload",L);var n=!1;try{n=null==d.frameElement&&T.documentElement}catch(t){}n&&n.doScroll&&!function e(){if(!_.isReady){try{n.doScroll("left")}catch(t){return setTimeout(e,50)}D(),_.ready()}}()}return A.promise(t)};var H,$="undefined";for(H in _(m))break;m.ownLast="0"!==H,m.inlineBlockNeedsLayout=!1,_(function(){var t,e,n,r;(n=T.getElementsByTagName("body")[0])&&n.style&&(e=T.createElement("div"),(r=T.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(e),typeof e.style.zoom!==$&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",m.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(n.style.zoom=1)),n.removeChild(r))}),function(){var t=T.createElement("div");if(null==m.deleteExpando){m.deleteExpando=!0;try{delete t.test}catch(t){m.deleteExpando=!1}}t=null}(),_.acceptData=function(t){var e=_.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return(1===n||9===n)&&(!e||!0!==e&&t.getAttribute("classid")===e)};var R=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,F=/([A-Z])/g;function P(t,e,n){if(void 0===n&&1===t.nodeType){var r="data-"+e.replace(F,"-$1").toLowerCase();if("string"==typeof(n=t.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:R.test(n)?_.parseJSON(n):n)}catch(t){}_.data(t,e,n)}else n=void 0}return n}function M(t){var e;for(e in t)if(("data"!==e||!_.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function q(t,e,n,r){if(_.acceptData(t)){var i,o,a=_.expando,s=t.nodeType,c=s?_.cache:t,u=s?t[a]:t[a]&&a;if(u&&c[u]&&(r||c[u].data)||void 0!==n||"string"!=typeof e)return c[u=u||(s?t[a]=p.pop()||_.guid++:a)]||(c[u]=s?{}:{toJSON:_.noop}),"object"!=typeof e&&"function"!=typeof e||(r?c[u]=_.extend(c[u],e):c[u].data=_.extend(c[u].data,e)),o=c[u],r||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[_.camelCase(e)]=n),"string"==typeof e?null==(i=o[e])&&(i=o[_.camelCase(e)]):i=o,i}}function I(t,e,n){if(_.acceptData(t)){var r,i,o=t.nodeType,a=o?_.cache:t,s=o?t[_.expando]:_.expando;if(a[s]){if(e&&(r=n?a[s]:a[s].data)){i=(e=_.isArray(e)?e.concat(_.map(e,_.camelCase)):e in r?[e]:(e=_.camelCase(e))in r?[e]:e.split(" ")).length;for(;i--;)delete r[e[i]];if(n?!M(r):!_.isEmptyObject(r))return}(n||(delete a[s].data,M(a[s])))&&(o?_.cleanData([t],!0):m.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}_.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?_.cache[t[_.expando]]:t[_.expando])&&!M(t)},data:function(t,e,n){return q(t,e,n)},removeData:function(t,e){return I(t,e)},_data:function(t,e,n){return q(t,e,n,!0)},_removeData:function(t,e){return I(t,e,!0)}}),_.fn.extend({data:function(t,e){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0!==t)return"object"==typeof t?this.each(function(){_.data(this,t)}):1<arguments.length?this.each(function(){_.data(this,t,e)}):o?P(o,t,_.data(o,t)):void 0;if(this.length&&(i=_.data(o),1===o.nodeType&&!_._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(0===(r=a[n].name).indexOf("data-")&&P(o,r=_.camelCase(r.slice(5)),i[r]));_._data(o,"parsedAttrs",!0)}return i},removeData:function(t){return this.each(function(){_.removeData(this,t)})}}),_.extend({queue:function(t,e,n){var r;return t?(e=(e||"fx")+"queue",r=_._data(t,e),n&&(!r||_.isArray(n)?r=_._data(t,e,_.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=_.queue(t,e),r=n.length,i=n.shift(),o=_._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,function(){_.dequeue(t,e)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return _._data(t,n)||_._data(t,n,{empty:_.Callbacks("once memory").add(function(){_._removeData(t,e+"queue"),_._removeData(t,n)})})}}),_.fn.extend({queue:function(e,n){var t=2;return"string"!=typeof e&&(n=e,e="fx",t--),arguments.length<t?_.queue(this[0],e):void 0===n?this:this.each(function(){var t=_.queue(this,e,n);_._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&_.dequeue(this,e)})},dequeue:function(t){return this.each(function(){_.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function n(){--i||o.resolveWith(a,[a])}var r,i=1,o=_.Deferred(),a=this,s=this.length;for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(r=_._data(a[s],t+"queueHooks"))&&r.empty&&(i++,r.empty.add(n));return n(),o.promise(e)}});function B(t,e){return t=e||t,"none"===_.css(t,"display")||!_.contains(t.ownerDocument,t)}var W=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,U=["Top","Right","Bottom","Left"],z=_.access=function(t,e,n,r,i,o,a){var s=0,c=t.length,u=null==n;if("object"===_.type(n))for(s in i=!0,n)_.access(t,e,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,_.isFunction(r)||(a=!0),u&&(e=a?(e.call(t,r),null):(u=e,function(t,e,n){return u.call(_(t),n)})),e))for(;s<c;s++)e(t[s],n,a?r:r.call(t[s],s,e(t[s],n)));return i?t:u?e.call(t):c?e(t[0],n):o},X=/^(?:checkbox|radio)$/i;!function(){var t=T.createElement("input"),e=T.createElement("div"),n=T.createDocumentFragment();if(e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",m.leadingWhitespace=3===e.firstChild.nodeType,m.tbody=!e.getElementsByTagName("tbody").length,m.htmlSerialize=!!e.getElementsByTagName("link").length,m.html5Clone="<:nav></:nav>"!==T.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,n.appendChild(t),m.appendChecked=t.checked,e.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,n.appendChild(e),e.innerHTML="<input type='radio' checked='checked' name='t'/>",m.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,m.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){m.noCloneEvent=!1}),e.cloneNode(!0).click()),null==m.deleteExpando){m.deleteExpando=!0;try{delete e.test}catch(t){m.deleteExpando=!1}}}(),function(){var t,e,n=T.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})e="on"+t,(m[t+"Bubbles"]=e in d)||(n.setAttribute(e,"t"),m[t+"Bubbles"]=!1===n.attributes[e].expando);n=null}();var Y=/^(?:input|select|textarea)$/i,J=/^key/,V=/^(?:mouse|pointer|contextmenu)|click/,G=/^(?:focusinfocus|focusoutblur)$/,Q=/^([^.]*)(?:\.(.+)|)$/;function K(){return!0}function Z(){return!1}function tt(){try{return T.activeElement}catch(t){}}function et(t){var e=nt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}_.event={global:{},add:function(t,e,n,r,i){var o,a,s,c,u,l,p,f,h,d,g,v=_._data(t);if(v){for(n.handler&&(n=(c=n).handler,i=c.selector),n.guid||(n.guid=_.guid++),(a=v.events)||(a=v.events={}),(l=v.handle)||((l=v.handle=function(t){return typeof _===$||t&&_.event.triggered===t.type?void 0:_.event.dispatch.apply(l.elem,arguments)}).elem=t),s=(e=(e||"").match(j)||[""]).length;s--;)h=g=(o=Q.exec(e[s])||[])[1],d=(o[2]||"").split(".").sort(),h&&(u=_.event.special[h]||{},h=(i?u.delegateType:u.bindType)||h,u=_.event.special[h]||{},p=_.extend({type:h,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&_.expr.match.needsContext.test(i),namespace:d.join(".")},c),(f=a[h])||((f=a[h]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(t,r,d,l)||(t.addEventListener?t.addEventListener(h,l,!1):t.attachEvent&&t.attachEvent("on"+h,l))),u.add&&(u.add.call(t,p),p.handler.guid||(p.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,p):f.push(p),_.event.global[h]=!0);t=null}},remove:function(t,e,n,r,i){var o,a,s,c,u,l,p,f,h,d,g,v=_.hasData(t)&&_._data(t);if(v&&(l=v.events)){for(u=(e=(e||"").match(j)||[""]).length;u--;)if(h=g=(s=Q.exec(e[u])||[])[1],d=(s[2]||"").split(".").sort(),h){for(p=_.event.special[h]||{},f=l[h=(r?p.delegateType:p.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),c=o=f.length;o--;)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(t,a));c&&!f.length&&(p.teardown&&!1!==p.teardown.call(t,d,v.handle)||_.removeEvent(t,h,v.handle),delete l[h])}else for(h in l)_.event.remove(t,h+e[u],n,r,!0);_.isEmptyObject(l)&&(delete v.handle,_._removeData(t,"events"))}},trigger:function(t,e,n,r){var i,o,a,s,c,u,l,p=[n||T],f=v.call(t,"type")?t.type:t,h=v.call(t,"namespace")?t.namespace.split("."):[];if(a=u=n=n||T,3!==n.nodeType&&8!==n.nodeType&&!G.test(f+_.event.triggered)&&(0<=f.indexOf(".")&&(f=(h=f.split(".")).shift(),h.sort()),o=f.indexOf(":")<0&&"on"+f,(t=t[_.expando]?t:new _.Event(f,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=h.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:_.makeArray(e,[t]),c=_.event.special[f]||{},r||!c.trigger||!1!==c.trigger.apply(n,e))){if(!r&&!c.noBubble&&!_.isWindow(n)){for(s=c.delegateType||f,G.test(s+f)||(a=a.parentNode);a;a=a.parentNode)p.push(a),u=a;u===(n.ownerDocument||T)&&p.push(u.defaultView||u.parentWindow||d)}for(l=0;(a=p[l++])&&!t.isPropagationStopped();)t.type=1<l?s:c.bindType||f,(i=(_._data(a,"events")||{})[t.type]&&_._data(a,"handle"))&&i.apply(a,e),(i=o&&a[o])&&i.apply&&_.acceptData(a)&&(t.result=i.apply(a,e),!1===t.result&&t.preventDefault());if(t.type=f,!r&&!t.isDefaultPrevented()&&(!c._default||!1===c._default.apply(p.pop(),e))&&_.acceptData(n)&&o&&n[f]&&!_.isWindow(n)){(u=n[o])&&(n[o]=null),_.event.triggered=f;try{n[f]()}catch(t){}_.event.triggered=void 0,u&&(n[o]=u)}return t.result}},dispatch:function(t){t=_.event.fix(t);var e,n,r,i,o,a=[],s=l.call(arguments),c=(_._data(this,"events")||{})[t.type]||[],u=_.event.special[t.type]||{};if((s[0]=t).delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,t)){for(a=_.event.handlers.call(this,t,c),e=0;(i=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=i.elem,o=0;(r=i.handlers[o++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(r.namespace)||(t.handleObj=r,t.data=r.data,void 0!==(n=((_.event.special[r.origType]||{}).handle||r.handler).apply(i.elem,s))&&!1===(t.result=n)&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,r,i,o,a=[],s=e.delegateCount,c=t.target;if(s&&c.nodeType&&(!t.button||"click"!==t.type))for(;c!=this;c=c.parentNode||this)if(1===c.nodeType&&(!0!==c.disabled||"click"!==t.type)){for(i=[],o=0;o<s;o++)void 0===i[n=(r=e[o]).selector+" "]&&(i[n]=r.needsContext?0<=_(n,this).index(c):_.find(n,this,null,[c]).length),i[n]&&i.push(r);i.length&&a.push({elem:c,handlers:i})}return s<e.length&&a.push({elem:this,handlers:e.slice(s)}),a},fix:function(t){if(t[_.expando])return t;var e,n,r,i=t.type,o=t,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=V.test(i)?this.mouseHooks:J.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,t=new _.Event(o),e=r.length;e--;)t[n=r[e]]=o[n];return t.target||(t.target=o.srcElement||T),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,o):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,r,i,o=e.button,a=e.fromElement;return null==t.pageX&&null!=e.clientX&&(i=(r=t.target.ownerDocument||T).documentElement,n=r.body,t.pageX=e.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?e.toElement:a),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==tt()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===tt()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return _.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(t){return _.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,r){var i=_.extend(new _.Event,n,{type:t,isSimulated:!0,originalEvent:{}});r?_.event.trigger(i,null,e):_.event.dispatch.call(e,i),i.isDefaultPrevented()&&n.preventDefault()}},_.removeEvent=T.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){var r="on"+e;t.detachEvent&&(typeof t[r]===$&&(t[r]=null),t.detachEvent(r,n))},_.Event=function(t,e){return this instanceof _.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?K:Z):this.type=t,e&&_.extend(this,e),this.timeStamp=t&&t.timeStamp||_.now(),void(this[_.expando]=!0)):new _.Event(t,e)},_.Event.prototype={isDefaultPrevented:Z,isPropagationStopped:Z,isImmediatePropagationStopped:Z,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=K,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=K,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=K,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},_.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,i){_.event.special[t]={delegateType:i,bindType:i,handle:function(t){var e,n=t.relatedTarget,r=t.handleObj;return n&&(n===this||_.contains(this,n))||(t.type=r.origType,e=r.handler.apply(this,arguments),t.type=i),e}}}),m.submitBubbles||(_.event.special.submit={setup:function(){return!_.nodeName(this,"form")&&void _.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=_.nodeName(e,"input")||_.nodeName(e,"button")?e.form:void 0;n&&!_._data(n,"submitBubbles")&&(_.event.add(n,"submit._submit",function(t){t._submit_bubble=!0}),_._data(n,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&_.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return!_.nodeName(this,"form")&&void _.event.remove(this,"._submit")}}),m.changeBubbles||(_.event.special.change={setup:function(){return Y.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(_.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),_.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),_.event.simulate("change",this,t,!0)})),!1):void _.event.add(this,"beforeactivate._change",function(t){var e=t.target;Y.test(e.nodeName)&&!_._data(e,"changeBubbles")&&(_.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||_.event.simulate("change",this.parentNode,t,!0)}),_._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return _.event.remove(this,"._change"),!Y.test(this.nodeName)}}),m.focusinBubbles||_.each({focus:"focusin",blur:"focusout"},function(n,r){function i(t){_.event.simulate(r,t.target,_.event.fix(t),!0)}_.event.special[r]={setup:function(){var t=this.ownerDocument||this,e=_._data(t,r);e||t.addEventListener(n,i,!0),_._data(t,r,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this,e=_._data(t,r)-1;e?_._data(t,r,e):(t.removeEventListener(n,i,!0),_._removeData(t,r))}}}),_.fn.extend({on:function(t,e,n,r,i){var o,a;if("object"==typeof t){for(o in"string"!=typeof e&&(n=n||e,e=void 0),t)this.on(o,e,n,t[o],i);return this}if(null==n&&null==r?(r=e,n=e=void 0):null==r&&("string"==typeof e?(r=n,n=void 0):(r=n,n=e,e=void 0)),!1===r)r=Z;else if(!r)return this;return 1===i&&(a=r,(r=function(t){return _().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=_.guid++)),this.each(function(){_.event.add(this,t,r,n,e)})},one:function(t,e,n,r){return this.on(t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,_(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=Z),this.each(function(){_.event.remove(this,t,n,e)});for(i in t)this.off(i,e,t[i]);return this},trigger:function(t,e){return this.each(function(){_.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?_.event.trigger(t,e,n,!0):void 0}});var nt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",rt=/ jQuery\d+="(?:null|\d+)"/g,it=new RegExp("<(?:"+nt+")[\\s/>]","i"),ot=/^\s+/,at=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,st=/<([\w:]+)/,ct=/<tbody/i,ut=/<|&#?\w+;/,lt=/<(?:script|style|link)/i,pt=/checked\s*(?:[^=]|=\s*.checked.)/i,ft=/^$|\/(?:java|ecma)script/i,ht=/^true\/(.*)/,dt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,gt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:m.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},vt=et(T).appendChild(T.createElement("div"));function mt(t,e){var n,r,i=0,o=typeof t.getElementsByTagName!==$?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==$?t.querySelectorAll(e||"*"):void 0;if(!o)for(o=[],n=t.childNodes||t;null!=(r=n[i]);i++)!e||_.nodeName(r,e)?o.push(r):_.merge(o,mt(r,e));return void 0===e||e&&_.nodeName(t,e)?_.merge([t],o):o}function yt(t){X.test(t.type)&&(t.defaultChecked=t.checked)}function bt(t,e){return _.nodeName(t,"table")&&_.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function xt(t){return t.type=(null!==_.find.attr(t,"type"))+"/"+t.type,t}function wt(t){var e=ht.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Et(t,e){for(var n,r=0;null!=(n=t[r]);r++)_._data(n,"globalEval",!e||_._data(e[r],"globalEval"))}function _t(t,e){if(1===e.nodeType&&_.hasData(t)){var n,r,i,o=_._data(t),a=_._data(e,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(r=0,i=s[n].length;r<i;r++)_.event.add(e,n,s[n][r]);a.data&&(a.data=_.extend({},a.data))}}function Tt(t,e){var n,r,i;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!m.noCloneEvent&&e[_.expando]){for(r in(i=_._data(e)).events)_.removeEvent(e,r,i.handle);e.removeAttribute(_.expando)}"script"===n&&e.text!==t.text?(xt(e).text=t.text,wt(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),m.html5Clone&&t.innerHTML&&!_.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&X.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}}gt.optgroup=gt.option,gt.tbody=gt.tfoot=gt.colgroup=gt.caption=gt.thead,gt.th=gt.td,_.extend({clone:function(t,e,n){var r,i,o,a,s,c=_.contains(t.ownerDocument,t);if(m.html5Clone||_.isXMLDoc(t)||!it.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(vt.innerHTML=t.outerHTML,vt.removeChild(o=vt.firstChild)),!(m.noCloneEvent&&m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||_.isXMLDoc(t)))for(r=mt(o),s=mt(t),a=0;null!=(i=s[a]);++a)r[a]&&Tt(i,r[a]);if(e)if(n)for(s=s||mt(t),r=r||mt(o),a=0;null!=(i=s[a]);a++)_t(i,r[a]);else _t(t,o);return 0<(r=mt(o,"script")).length&&Et(r,!c&&mt(t,"script")),r=s=i=null,o},buildFragment:function(t,e,n,r){for(var i,o,a,s,c,u,l,p=t.length,f=et(e),h=[],d=0;d<p;d++)if((o=t[d])||0===o)if("object"===_.type(o))_.merge(h,o.nodeType?[o]:o);else if(ut.test(o)){for(s=s||f.appendChild(e.createElement("div")),c=(st.exec(o)||["",""])[1].toLowerCase(),l=gt[c]||gt._default,s.innerHTML=l[1]+o.replace(at,"<$1></$2>")+l[2],i=l[0];i--;)s=s.lastChild;if(!m.leadingWhitespace&&ot.test(o)&&h.push(e.createTextNode(ot.exec(o)[0])),!m.tbody)for(i=(o="table"!==c||ct.test(o)?"<table>"!==l[1]||ct.test(o)?0:s:s.firstChild)&&o.childNodes.length;i--;)_.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(_.merge(h,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=f.lastChild}else h.push(e.createTextNode(o));for(s&&f.removeChild(s),m.appendChecked||_.grep(mt(h,"input"),yt),d=0;o=h[d++];)if((!r||-1===_.inArray(o,r))&&(a=_.contains(o.ownerDocument,o),s=mt(f.appendChild(o),"script"),a&&Et(s),n))for(i=0;o=s[i++];)ft.test(o.type||"")&&n.push(o);return s=null,f},cleanData:function(t,e){for(var n,r,i,o,a=0,s=_.expando,c=_.cache,u=m.deleteExpando,l=_.event.special;null!=(n=t[a]);a++)if((e||_.acceptData(n))&&(o=(i=n[s])&&c[i])){if(o.events)for(r in o.events)l[r]?_.event.remove(n,r):_.removeEvent(n,r,o.handle);c[i]&&(delete c[i],u?delete n[s]:typeof n.removeAttribute!==$?n.removeAttribute(s):n[s]=null,p.push(i))}}}),_.fn.extend({text:function(t){return z(this,function(t){return void 0===t?_.text(this):this.empty().append((this[0]&&this[0].ownerDocument||T).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||bt(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=bt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,r=t?_.filter(t,this):this,i=0;null!=(n=r[i]);i++)e||1!==n.nodeType||_.cleanData(mt(n)),n.parentNode&&(e&&_.contains(n.ownerDocument,n)&&Et(mt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&_.cleanData(mt(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&_.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return _.clone(this,t,e)})},html:function(t){return z(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(rt,""):void 0;if(!("string"!=typeof t||lt.test(t)||!m.htmlSerialize&&it.test(t)||!m.leadingWhitespace&&ot.test(t)||gt[(st.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(at,"<$1></$2>");try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(_.cleanData(mt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,_.cleanData(mt(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(n,r){n=g.apply([],n);var t,e,i,o,a,s,c=0,u=this.length,l=this,p=u-1,f=n[0],h=_.isFunction(f);if(h||1<u&&"string"==typeof f&&!m.checkClone&&pt.test(f))return this.each(function(t){var e=l.eq(t);h&&(n[0]=f.call(this,t,e.html())),e.domManip(n,r)});if(u&&(t=(s=_.buildFragment(n,this[0].ownerDocument,!1,this)).firstChild,1===s.childNodes.length&&(s=t),t)){for(i=(o=_.map(mt(s,"script"),xt)).length;c<u;c++)e=s,c!==p&&(e=_.clone(e,!0,!0),i&&_.merge(o,mt(e,"script"))),r.call(this[c],e,c);if(i)for(a=o[o.length-1].ownerDocument,_.map(o,wt),c=0;c<i;c++)e=o[c],ft.test(e.type||"")&&!_._data(e,"globalEval")&&_.contains(a,e)&&(e.src?_._evalUrl&&_._evalUrl(e.src):_.globalEval((e.text||e.textContent||e.innerHTML||"").replace(dt,"")));s=t=null}return this}}),_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,a){_.fn[t]=function(t){for(var e,n=0,r=[],i=_(t),o=i.length-1;n<=o;n++)e=n===o?this:this.clone(!0),_(i[n])[a](e),s.apply(r,e.get());return this.pushStack(r)}});var St,kt,Ct={};function Nt(t,e){var n,r=_(e.createElement(t)).appendTo(e.body),i=d.getDefaultComputedStyle&&(n=d.getDefaultComputedStyle(r[0]))?n.display:_.css(r[0],"display");return r.detach(),i}function At(t){var e=T,n=Ct[t];return n||("none"!==(n=Nt(t,e))&&n||((e=((St=(St||_("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement))[0].contentWindow||St[0].contentDocument).document).write(),e.close(),n=Nt(t,e),St.detach()),Ct[t]=n),n}m.shrinkWrapBlocks=function(){return null!=kt?kt:(kt=!1,(e=T.getElementsByTagName("body")[0])&&e.style?(t=T.createElement("div"),(n=T.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",e.appendChild(n).appendChild(t),typeof t.style.zoom!==$&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(T.createElement("div")).style.width="5px",kt=3!==t.offsetWidth),e.removeChild(n),kt):void 0);var t,e,n};var jt,Ot,Dt=/^margin/,Lt=new RegExp("^("+W+")(?!px)[a-z%]+$","i"),Ht=/^(top|right|bottom|left)$/;function $t(e,n){return{get:function(){var t=e();if(null!=t)return t?void delete this.get:(this.get=n).apply(this,arguments)}}}d.getComputedStyle?(jt=function(t){return t.ownerDocument.defaultView.opener?t.ownerDocument.defaultView.getComputedStyle(t,null):d.getComputedStyle(t,null)},Ot=function(t,e,n){var r,i,o,a,s=t.style;return a=(n=n||jt(t))?n.getPropertyValue(e)||n[e]:void 0,n&&(""!==a||_.contains(t.ownerDocument,t)||(a=_.style(t,e)),Lt.test(a)&&Dt.test(e)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0===a?a:a+""}):T.documentElement.currentStyle&&(jt=function(t){return t.currentStyle},Ot=function(t,e,n){var r,i,o,a,s=t.style;return null==(a=(n=n||jt(t))?n[e]:void 0)&&s&&s[e]&&(a=s[e]),Lt.test(a)&&!Ht.test(e)&&(r=s.left,(o=(i=t.runtimeStyle)&&i.left)&&(i.left=t.currentStyle.left),s.left="fontSize"===e?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"}),function(){var t,e,n,i,o,a,s;if((t=T.createElement("div")).innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=(n=t.getElementsByTagName("a")[0])&&n.style){function r(){var t,e,n,r;(e=T.getElementsByTagName("body")[0])&&e.style&&(t=T.createElement("div"),(n=T.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",e.appendChild(n).appendChild(t),t.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",i=o=!1,s=!0,d.getComputedStyle&&(i="1%"!==(d.getComputedStyle(t,null)||{}).top,o="4px"===(d.getComputedStyle(t,null)||{width:"4px"}).width,(r=t.appendChild(T.createElement("div"))).style.cssText=t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",r.style.marginRight=r.style.width="0",t.style.width="1px",s=!parseFloat((d.getComputedStyle(r,null)||{}).marginRight),t.removeChild(r)),t.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(r=t.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(a=0===r[0].offsetHeight)&&(r[0].style.display="",r[1].style.display="none",a=0===r[0].offsetHeight),e.removeChild(n))}e.cssText="float:left;opacity:.5",m.opacity="0.5"===e.opacity,m.cssFloat=!!e.cssFloat,t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===t.style.backgroundClip,m.boxSizing=""===e.boxSizing||""===e.MozBoxSizing||""===e.WebkitBoxSizing,_.extend(m,{reliableHiddenOffsets:function(){return null==a&&r(),a},boxSizingReliable:function(){return null==o&&r(),o},pixelPosition:function(){return null==i&&r(),i},reliableMarginRight:function(){return null==s&&r(),s}})}}(),_.swap=function(t,e,n,r){var i,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in i=n.apply(t,r||[]),e)t.style[o]=a[o];return i};var Rt=/alpha\([^)]*\)/i,Ft=/opacity\s*=\s*([^)]*)/,Pt=/^(none|table(?!-c[ea]).+)/,Mt=new RegExp("^("+W+")(.*)$","i"),qt=new RegExp("^([+-])=("+W+")","i"),It={position:"absolute",visibility:"hidden",display:"block"},Bt={letterSpacing:"0",fontWeight:"400"},Wt=["Webkit","O","Moz","ms"];function Ut(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),r=e,i=Wt.length;i--;)if((e=Wt[i]+n)in t)return e;return r}function zt(t,e){for(var n,r,i,o=[],a=0,s=t.length;a<s;a++)(r=t[a]).style&&(o[a]=_._data(r,"olddisplay"),n=r.style.display,e?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&B(r)&&(o[a]=_._data(r,"olddisplay",At(r.nodeName)))):(i=B(r),(n&&"none"!==n||!i)&&_._data(r,"olddisplay",i?n:_.css(r,"display"))));for(a=0;a<s;a++)(r=t[a]).style&&(e&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=e?o[a]||"":"none"));return t}function Xt(t,e,n){var r=Mt.exec(e);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):e}function Yt(t,e,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===e?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=_.css(t,n+U[o],!0,i)),r?("content"===n&&(a-=_.css(t,"padding"+U[o],!0,i)),"margin"!==n&&(a-=_.css(t,"border"+U[o]+"Width",!0,i))):(a+=_.css(t,"padding"+U[o],!0,i),"padding"!==n&&(a+=_.css(t,"border"+U[o]+"Width",!0,i)));return a}function Jt(t,e,n){var r=!0,i="width"===e?t.offsetWidth:t.offsetHeight,o=jt(t),a=m.boxSizing&&"border-box"===_.css(t,"boxSizing",!1,o);if(i<=0||null==i){if(((i=Ot(t,e,o))<0||null==i)&&(i=t.style[e]),Lt.test(i))return i;r=a&&(m.boxSizingReliable()||i===t.style[e]),i=parseFloat(i)||0}return i+Yt(t,e,n||(a?"border":"content"),r,o)+"px"}function Vt(t,e,n,r,i){return new Vt.prototype.init(t,e,n,r,i)}_.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Ot(t,"opacity");return""===n?"1":n}}}},cssNumber:{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:m.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,s=_.camelCase(e),c=t.style;if(e=_.cssProps[s]||(_.cssProps[s]=Ut(c,s)),a=_.cssHooks[e]||_.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:c[e];if("string"===(o=typeof n)&&(i=qt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(_.css(t,e)),o="number"),null!=n&&n==n&&("number"!==o||_.cssNumber[s]||(n+="px"),m.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(t,n,r)))))try{c[e]=n}catch(t){}}},css:function(t,e,n,r){var i,o,a,s=_.camelCase(e);return e=_.cssProps[s]||(_.cssProps[s]=Ut(t.style,s)),(a=_.cssHooks[e]||_.cssHooks[s])&&"get"in a&&(o=a.get(t,!0,n)),void 0===o&&(o=Ot(t,e,r)),"normal"===o&&e in Bt&&(o=Bt[e]),""===n||n?(i=parseFloat(o),!0===n||_.isNumeric(i)?i||0:o):o}}),_.each(["height","width"],function(t,i){_.cssHooks[i]={get:function(t,e,n){return e?Pt.test(_.css(t,"display"))&&0===t.offsetWidth?_.swap(t,It,function(){return Jt(t,i,n)}):Jt(t,i,n):void 0},set:function(t,e,n){var r=n&&jt(t);return Xt(0,e,n?Yt(t,i,n,m.boxSizing&&"border-box"===_.css(t,"boxSizing",!1,r),r):0)}}}),m.opacity||(_.cssHooks.opacity={get:function(t,e){return Ft.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,r=t.currentStyle,i=_.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=r&&r.filter||n.filter||"";((n.zoom=1)<=e||""===e)&&""===_.trim(o.replace(Rt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||r&&!r.filter)||(n.filter=Rt.test(o)?o.replace(Rt,i):o+" "+i)}}),_.cssHooks.marginRight=$t(m.reliableMarginRight,function(t,e){return e?_.swap(t,{display:"inline-block"},Ot,[t,"marginRight"]):void 0}),_.each({margin:"",padding:"",border:"Width"},function(i,o){_.cssHooks[i+o]={expand:function(t){for(var e=0,n={},r="string"==typeof t?t.split(" "):[t];e<4;e++)n[i+U[e]+o]=r[e]||r[e-2]||r[0];return n}},Dt.test(i)||(_.cssHooks[i+o].set=Xt)}),_.fn.extend({css:function(t,e){return z(this,function(t,e,n){var r,i,o={},a=0;if(_.isArray(e)){for(r=jt(t),i=e.length;a<i;a++)o[e[a]]=_.css(t,e[a],!1,r);return o}return void 0!==n?_.style(t,e,n):_.css(t,e)},t,e,1<arguments.length)},show:function(){return zt(this,!0)},hide:function(){return zt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){B(this)?_(this).show():_(this).hide()})}}),((_.Tween=Vt).prototype={constructor:Vt,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||"swing",this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(_.cssNumber[n]?"":"px")},cur:function(){var t=Vt.propHooks[this.prop];return t&&t.get?t.get(this):Vt.propHooks._default.get(this)},run:function(t){var e,n=Vt.propHooks[this.prop];return this.pos=e=this.options.duration?_.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Vt.propHooks._default.set(this),this}}).init.prototype=Vt.prototype,(Vt.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=_.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){_.fx.step[t.prop]?_.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[_.cssProps[t.prop]]||_.cssHooks[t.prop])?_.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}}).scrollTop=Vt.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},_.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},_.fx=Vt.prototype.init,_.fx.step={};var Gt,Qt,Kt,Zt,te,ee,ne,re=/^(?:toggle|show|hide)$/,ie=new RegExp("^(?:([+-])=|)("+W+")([a-z%]*)$","i"),oe=/queueHooks$/,ae=[function(e,t,n){var r,i,o,a,s,c,u,l=this,p={},f=e.style,h=e.nodeType&&B(e),d=_._data(e,"fxshow");for(r in n.queue||(null==(s=_._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,c=s.empty.fire,s.empty.fire=function(){s.unqueued||c()}),s.unqueued++,l.always(function(){l.always(function(){s.unqueued--,_.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],u=_.css(e,"display"),"inline"===("none"===u?_._data(e,"olddisplay")||At(e.nodeName):u)&&"none"===_.css(e,"float")&&(m.inlineBlockNeedsLayout&&"inline"!==At(e.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",m.shrinkWrapBlocks()||l.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),t)if(i=t[r],re.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!d||void 0===d[r])continue;h=!0}p[r]=d&&d[r]||_.style(e,r)}else u=void 0;if(_.isEmptyObject(p))"inline"===("none"===u?At(e.nodeName):u)&&(f.display=u);else for(r in d?"hidden"in d&&(h=d.hidden):d=_._data(e,"fxshow",{}),o&&(d.hidden=!h),h?_(e).show():l.done(function(){_(e).hide()}),l.done(function(){var t;for(t in _._removeData(e,"fxshow"),p)_.style(e,t,p[t])}),p)a=le(h?d[r]:0,r,l),r in d||(d[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}],se={"*":[function(t,e){var n=this.createTween(t,e),r=n.cur(),i=ie.exec(e),o=i&&i[3]||(_.cssNumber[t]?"":"px"),a=(_.cssNumber[t]||"px"!==o&&+r)&&ie.exec(_.css(n.elem,t)),s=1,c=20;if(a&&a[3]!==o)for(o=o||a[3],i=i||[],a=+r||1;a/=s=s||".5",_.style(n.elem,t,a+o),s!==(s=n.cur()/r)&&1!==s&&--c;);return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function ce(){return setTimeout(function(){Gt=void 0}),Gt=_.now()}function ue(t,e){var n,r={height:t},i=0;for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=U[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function le(t,e,n){for(var r,i=(se[e]||[]).concat(se["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,e,t))return r}function pe(o,t,e){var n,a,r=0,i=ae.length,s=_.Deferred().always(function(){delete c.elem}),c=function(){if(a)return!1;for(var t=Gt||ce(),e=Math.max(0,u.startTime+u.duration-t),n=1-(e/u.duration||0),r=0,i=u.tweens.length;r<i;r++)u.tweens[r].run(n);return s.notifyWith(o,[u,n,e]),n<1&&i?e:(s.resolveWith(o,[u]),!1)},u=s.promise({elem:o,props:_.extend({},t),opts:_.extend(!0,{specialEasing:{}},e),originalProperties:t,originalOptions:e,startTime:Gt||ce(),duration:e.duration,tweens:[],createTween:function(t,e){var n=_.Tween(o,u.opts,t,e,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(n),n},stop:function(t){var e=0,n=t?u.tweens.length:0;if(a)return this;for(a=!0;e<n;e++)u.tweens[e].run(1);return t?s.resolveWith(o,[u,t]):s.rejectWith(o,[u,t]),this}}),l=u.props;for(function(t,e){var n,r,i,o,a;for(n in t)if(i=e[r=_.camelCase(n)],o=t[n],_.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(a=_.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete t[r],o)n in t||(t[n]=o[n],e[n]=i);else e[r]=i}(l,u.opts.specialEasing);r<i;r++)if(n=ae[r].call(u,o,l,u.opts))return n;return _.map(l,le,u),_.isFunction(u.opts.start)&&u.opts.start.call(o,u),_.fx.timer(_.extend(c,{elem:o,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}_.Animation=_.extend(pe,{tweener:function(t,e){for(var n,r=0,i=(t=_.isFunction(t)?(e=t,["*"]):t.split(" ")).length;r<i;r++)n=t[r],se[n]=se[n]||[],se[n].unshift(e)},prefilter:function(t,e){e?ae.unshift(t):ae.push(t)}}),_.speed=function(t,e,n){var r=t&&"object"==typeof t?_.extend({},t):{complete:n||!n&&e||_.isFunction(t)&&t,duration:t,easing:n&&e||e&&!_.isFunction(e)&&e};return r.duration=_.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in _.fx.speeds?_.fx.speeds[r.duration]:_.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){_.isFunction(r.old)&&r.old.call(this),r.queue&&_.dequeue(this,r.queue)},r},_.fn.extend({fadeTo:function(t,e,n,r){return this.filter(B).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(e,t,n,r){function i(){var t=pe(this,_.extend({},e),a);(o||_._data(this,"finish"))&&t.stop(!0)}var o=_.isEmptyObject(e),a=_.speed(t,n,r);return i.finish=i,o||!1===a.queue?this.each(i):this.queue(a.queue,i)},stop:function(i,t,o){function a(t){var e=t.stop;delete t.stop,e(o)}return"string"!=typeof i&&(o=t,t=i,i=void 0),t&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var t=!0,e=null!=i&&i+"queueHooks",n=_.timers,r=_._data(this);if(e)r[e]&&r[e].stop&&a(r[e]);else for(e in r)r[e]&&r[e].stop&&oe.test(e)&&a(r[e]);for(e=n.length;e--;)n[e].elem!==this||null!=i&&n[e].queue!==i||(n[e].anim.stop(o),t=!1,n.splice(e,1));!t&&o||_.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var t,e=_._data(this),n=e[a+"queue"],r=e[a+"queueHooks"],i=_.timers,o=n?n.length:0;for(e.finish=!0,_.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===a&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<o;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete e.finish})}}),_.each(["toggle","show","hide"],function(t,r){var i=_.fn[r];_.fn[r]=function(t,e,n){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(ue(r,!0),t,e,n)}}),_.each({slideDown:ue("show"),slideUp:ue("hide"),slideToggle:ue("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,r){_.fn[t]=function(t,e,n){return this.animate(r,t,e,n)}}),_.timers=[],_.fx.tick=function(){var t,e=_.timers,n=0;for(Gt=_.now();n<e.length;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||_.fx.stop(),Gt=void 0},_.fx.timer=function(t){_.timers.push(t),t()?_.fx.start():_.timers.pop()},_.fx.interval=13,_.fx.start=function(){Qt=Qt||setInterval(_.fx.tick,_.fx.interval)},_.fx.stop=function(){clearInterval(Qt),Qt=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(r,t){return r=_.fx&&_.fx.speeds[r]||r,t=t||"fx",this.queue(t,function(t,e){var n=setTimeout(t,r);e.stop=function(){clearTimeout(n)}})},(Zt=T.createElement("div")).setAttribute("className","t"),Zt.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",ee=Zt.getElementsByTagName("a")[0],ne=(te=T.createElement("select")).appendChild(T.createElement("option")),Kt=Zt.getElementsByTagName("input")[0],ee.style.cssText="top:1px",m.getSetAttribute="t"!==Zt.className,m.style=/top/.test(ee.getAttribute("style")),m.hrefNormalized="/a"===ee.getAttribute("href"),m.checkOn=!!Kt.value,m.optSelected=ne.selected,m.enctype=!!T.createElement("form").enctype,te.disabled=!0,m.optDisabled=!ne.disabled,(Kt=T.createElement("input")).setAttribute("value",""),m.input=""===Kt.getAttribute("value"),Kt.value="t",Kt.setAttribute("type","radio"),m.radioValue="t"===Kt.value;var fe=/\r/g;_.fn.extend({val:function(n){var r,t,i,e=this[0];return arguments.length?(i=_.isFunction(n),this.each(function(t){var e;1===this.nodeType&&(null==(e=i?n.call(this,t,_(this).val()):n)?e="":"number"==typeof e?e+="":_.isArray(e)&&(e=_.map(e,function(t){return null==t?"":t+""})),(r=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,e,"value")||(this.value=e))})):e?(r=_.valHooks[e.type]||_.valHooks[e.nodeName.toLowerCase()])&&"get"in r&&void 0!==(t=r.get(e,"value"))?t:"string"==typeof(t=e.value)?t.replace(fe,""):null==t?"":t:void 0}}),_.extend({valHooks:{option:{get:function(t){var e=_.find.attr(t,"value");return null!=e?e:_.trim(_.text(t))}},select:{get:function(t){for(var e,n,r=t.options,i=t.selectedIndex,o="select-one"===t.type||i<0,a=o?null:[],s=o?i+1:r.length,c=i<0?s:o?i:0;c<s;c++)if(!(!(n=r[c]).selected&&c!==i||(m.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&_.nodeName(n.parentNode,"optgroup"))){if(e=_(n).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var n,r,i=t.options,o=_.makeArray(e),a=i.length;a--;)if(r=i[a],0<=_.inArray(_.valHooks.option.get(r),o))try{r.selected=n=!0}catch(t){r.scrollHeight}else r.selected=!1;return n||(t.selectedIndex=-1),i}}}}),_.each(["radio","checkbox"],function(){_.valHooks[this]={set:function(t,e){return _.isArray(e)?t.checked=0<=_.inArray(_(t).val(),e):void 0}},m.checkOn||(_.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var he,de,ge=_.expr.attrHandle,ve=/^(?:checked|selected)$/i,me=m.getSetAttribute,ye=m.input;_.fn.extend({attr:function(t,e){return z(this,_.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){_.removeAttr(this,t)})}}),_.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute===$?_.prop(t,e,n):(1===o&&_.isXMLDoc(t)||(e=e.toLowerCase(),r=_.attrHooks[e]||(_.expr.match.bool.test(e)?de:he)),void 0===n?r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=_.find.attr(t,e))?void 0:i:null!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):void _.removeAttr(t,e))},removeAttr:function(t,e){var n,r,i=0,o=e&&e.match(j);if(o&&1===t.nodeType)for(;n=o[i++];)r=_.propFix[n]||n,_.expr.match.bool.test(n)?ye&&me||!ve.test(n)?t[r]=!1:t[_.camelCase("default-"+n)]=t[r]=!1:_.attr(t,n,""),t.removeAttribute(me?n:r)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&_.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),de={set:function(t,e,n){return!1===e?_.removeAttr(t,n):ye&&me||!ve.test(n)?t.setAttribute(!me&&_.propFix[n]||n,n):t[_.camelCase("default-"+n)]=t[n]=!0,n}},_.each(_.expr.match.bool.source.match(/\w+/g),function(t,e){var o=ge[e]||_.find.attr;ge[e]=ye&&me||!ve.test(e)?function(t,e,n){var r,i;return n||(i=ge[e],ge[e]=r,r=null!=o(t,e,n)?e.toLowerCase():null,ge[e]=i),r}:function(t,e,n){return n?void 0:t[_.camelCase("default-"+e)]?e.toLowerCase():null}}),ye&&me||(_.attrHooks.value={set:function(t,e,n){return _.nodeName(t,"input")?void(t.defaultValue=e):he&&he.set(t,e,n)}}),me||(he={set:function(t,e,n){var r=t.getAttributeNode(n);return r||t.setAttributeNode(r=t.ownerDocument.createAttribute(n)),r.value=e+="","value"===n||e===t.getAttribute(n)?e:void 0}},ge.id=ge.name=ge.coords=function(t,e,n){var r;return n?void 0:(r=t.getAttributeNode(e))&&""!==r.value?r.value:null},_.valHooks.button={get:function(t,e){var n=t.getAttributeNode(e);return n&&n.specified?n.value:void 0},set:he.set},_.attrHooks.contenteditable={set:function(t,e,n){he.set(t,""!==e&&e,n)}},_.each(["width","height"],function(t,n){_.attrHooks[n]={set:function(t,e){return""===e?(t.setAttribute(n,"auto"),e):void 0}}})),m.style||(_.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var be=/^(?:input|select|textarea|button|object)$/i,xe=/^(?:a|area)$/i;_.fn.extend({prop:function(t,e){return z(this,_.prop,t,e,1<arguments.length)},removeProp:function(t){return t=_.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(t){}})}}),_.extend({propFix:{for:"htmlFor",class:"className"},prop:function(t,e,n){var r,i,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return(1!==o||!_.isXMLDoc(t))&&(e=_.propFix[e]||e,i=_.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=_.find.attr(t,"tabindex");return e?parseInt(e,10):be.test(t.nodeName)||xe.test(t.nodeName)&&t.href?0:-1}}}}),m.hrefNormalized||_.each(["href","src"],function(t,e){_.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),m.optSelected||(_.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_.propFix[this.toLowerCase()]=this}),m.enctype||(_.propFix.enctype="encoding");var we=/[\t\r\n\f]/g;_.fn.extend({addClass:function(e){var t,n,r,i,o,a,s=0,c=this.length,u="string"==typeof e&&e;if(_.isFunction(e))return this.each(function(t){_(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(j)||[];s<c;s++)if(r=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(we," "):" ")){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=_.trim(r),n.className!==a&&(n.className=a)}return this},removeClass:function(e){var t,n,r,i,o,a,s=0,c=this.length,u=0===arguments.length||"string"==typeof e&&e;if(_.isFunction(e))return this.each(function(t){_(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(j)||[];s<c;s++)if(r=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(we," "):"")){for(o=0;i=t[o++];)for(;0<=r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");a=e?_.trim(r):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(i,e){var o=typeof i;return"boolean"==typeof e&&"string"==o?e?this.addClass(i):this.removeClass(i):this.each(_.isFunction(i)?function(t){_(this).toggleClass(i.call(this,t,this.className,e),e)}:function(){if("string"==o)for(var t,e=0,n=_(this),r=i.match(j)||[];t=r[e++];)n.hasClass(t)?n.removeClass(t):n.addClass(t);else o!==$&&"boolean"!=o||(this.className&&_._data(this,"__className__",this.className),this.className=this.className||!1===i?"":_._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(we," ").indexOf(e))return!0;return!1}}),_.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(t,n){_.fn[n]=function(t,e){return 0<arguments.length?this.on(n,null,t,e):this.trigger(n)}}),_.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var Ee=_.now(),_e=/\?/,Te=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;_.parseJSON=function(t){if(d.JSON&&d.JSON.parse)return d.JSON.parse(t+"");var i,o=null,e=_.trim(t+"");return e&&!_.trim(e.replace(Te,function(t,e,n,r){return i&&e&&(o=0),0===o?t:(i=n||e,o+=!r-!n,"")}))?Function("return "+e)():_.error("Invalid JSON: "+t)},_.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{d.DOMParser?e=(new DOMParser).parseFromString(t,"text/xml"):((e=new ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t))}catch(t){e=void 0}return e&&e.documentElement&&!e.getElementsByTagName("parsererror").length||_.error("Invalid XML: "+t),e};var Se,ke,Ce=/#.*$/,Ne=/([?&])_=[^&]*/,Ae=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,je=/^(?:GET|HEAD)$/,Oe=/^\/\//,De=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Le={},He={},$e="*/".concat("*");try{ke=location.href}catch(t){(ke=T.createElement("a")).href="",ke=ke.href}function Re(o){return function(t,e){"string"!=typeof t&&(e=t,t="*");var n,r=0,i=t.toLowerCase().match(j)||[];if(_.isFunction(e))for(;n=i[r++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(e)):(o[n]=o[n]||[]).push(e)}}function Fe(e,i,o,a){var s={},c=e===He;function u(t){var r;return s[t]=!0,_.each(e[t]||[],function(t,e){var n=e(i,o,a);return"string"!=typeof n||c||s[n]?c?!(r=n):void 0:(i.dataTypes.unshift(n),u(n),!1)}),r}return u(i.dataTypes[0])||!s["*"]&&u("*")}function Pe(t,e){var n,r,i=_.ajaxSettings.flatOptions||{};for(r in e)void 0!==e[r]&&((i[r]?t:n=n||{})[r]=e[r]);return n&&_.extend(!0,t,n),t}Se=De.exec(ke.toLowerCase())||[],_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ke,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Se[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$e,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":_.parseJSON,"text xml":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Pe(Pe(t,_.ajaxSettings),e):Pe(_.ajaxSettings,t)},ajaxPrefilter:Re(Le),ajaxTransport:Re(He),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,r,l,p,f,h,d,i,g=_.ajaxSetup({},e),v=g.context||g,m=g.context&&(v.nodeType||v.jquery)?_(v):_.event,y=_.Deferred(),b=_.Callbacks("once memory"),x=g.statusCode||{},o={},a={},w=0,s="canceled",E={readyState:0,getResponseHeader:function(t){var e;if(2===w){if(!i)for(i={};e=Ae.exec(p);)i[e[1].toLowerCase()]=e[2];e=i[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===w?p:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return w||(t=a[n]=a[n]||t,o[t]=e),this},overrideMimeType:function(t){return w||(g.mimeType=t),this},statusCode:function(t){var e;if(t)if(w<2)for(e in t)x[e]=[x[e],t[e]];else E.always(t[E.status]);return this},abort:function(t){var e=t||s;return d&&d.abort(e),c(0,e),this}};if(y.promise(E).complete=b.add,E.success=E.done,E.error=E.fail,g.url=((t||g.url||ke)+"").replace(Ce,"").replace(Oe,Se[1]+"//"),g.type=e.method||e.type||g.method||g.type,g.dataTypes=_.trim(g.dataType||"*").toLowerCase().match(j)||[""],null==g.crossDomain&&(n=De.exec(g.url.toLowerCase()),g.crossDomain=!(!n||n[1]===Se[1]&&n[2]===Se[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(Se[3]||("http:"===Se[1]?"80":"443")))),g.data&&g.processData&&"string"!=typeof g.data&&(g.data=_.param(g.data,g.traditional)),Fe(Le,g,e,E),2===w)return E;for(r in(h=_.event&&g.global)&&0==_.active++&&_.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!je.test(g.type),l=g.url,g.hasContent||(g.data&&(l=g.url+=(_e.test(l)?"&":"?")+g.data,delete g.data),!1===g.cache&&(g.url=Ne.test(l)?l.replace(Ne,"$1_="+Ee++):l+(_e.test(l)?"&":"?")+"_="+Ee++)),g.ifModified&&(_.lastModified[l]&&E.setRequestHeader("If-Modified-Since",_.lastModified[l]),_.etag[l]&&E.setRequestHeader("If-None-Match",_.etag[l])),(g.data&&g.hasContent&&!1!==g.contentType||e.contentType)&&E.setRequestHeader("Content-Type",g.contentType),E.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+$e+"; q=0.01":""):g.accepts["*"]),g.headers)E.setRequestHeader(r,g.headers[r]);if(g.beforeSend&&(!1===g.beforeSend.call(v,E,g)||2===w))return E.abort();for(r in s="abort",{success:1,error:1,complete:1})E[r](g[r]);if(d=Fe(He,g,e,E)){E.readyState=1,h&&m.trigger("ajaxSend",[E,g]),g.async&&0<g.timeout&&(f=setTimeout(function(){E.abort("timeout")},g.timeout));try{w=1,d.send(o,c)}catch(t){if(!(w<2))throw t;c(-1,t)}}else c(-1,"No Transport");function c(t,e,n,r){var i,o,a,s,c,u=e;2!==w&&(w=2,f&&clearTimeout(f),d=void 0,p=r||"",E.readyState=0<t?4:0,i=200<=t&&t<300||304===t,n&&(s=function(t,e,n){for(var r,i,o,a,s=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){c.unshift(a);break}if(c[0]in n)o=c[0];else{for(a in n){if(!c[0]||t.converters[a+" "+c[0]]){o=a;break}r=r||a}o=o||r}return o?(o!==c[0]&&c.unshift(o),n[o]):void 0}(g,E,n)),s=function(t,e,n,r){var i,o,a,s,c,u={},l=t.dataTypes.slice();if(l[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(o=l.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!c&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),c=o,o=l.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(a=u[c+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[c+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+c+" to "+o}}}return{state:"success",data:e}}(g,s,E,i),i?(g.ifModified&&((c=E.getResponseHeader("Last-Modified"))&&(_.lastModified[l]=c),(c=E.getResponseHeader("etag"))&&(_.etag[l]=c)),204===t||"HEAD"===g.type?u="nocontent":304===t?u="notmodified":(u=s.state,o=s.data,i=!(a=s.error))):(a=u,!t&&u||(u="error",t<0&&(t=0))),E.status=t,E.statusText=(e||u)+"",i?y.resolveWith(v,[o,u,E]):y.rejectWith(v,[E,u,a]),E.statusCode(x),x=void 0,h&&m.trigger(i?"ajaxSuccess":"ajaxError",[E,g,i?o:a]),b.fireWith(v,[E,u]),h&&(m.trigger("ajaxComplete",[E,g]),--_.active||_.event.trigger("ajaxStop")))}return E},getJSON:function(t,e,n){return _.get(t,e,n,"json")},getScript:function(t,e){return _.get(t,void 0,e,"script")}}),_.each(["get","post"],function(t,i){_[i]=function(t,e,n,r){return _.isFunction(e)&&(r=r||n,n=e,e=void 0),_.ajax({url:t,type:i,dataType:r,data:e,success:n})}}),_._evalUrl=function(t){return _.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},_.fn.extend({wrapAll:function(e){if(_.isFunction(e))return this.each(function(t){_(this).wrapAll(e.call(this,t))});if(this[0]){var t=_(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(n){return this.each(_.isFunction(n)?function(t){_(this).wrapInner(n.call(this,t))}:function(){var t=_(this),e=t.contents();e.length?e.wrapAll(n):t.append(n)})},wrap:function(e){var n=_.isFunction(e);return this.each(function(t){_(this).wrapAll(n?e.call(this,t):e)})},unwrap:function(){return this.parent().each(function(){_.nodeName(this,"body")||_(this).replaceWith(this.childNodes)}).end()}}),_.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!m.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||_.css(t,"display"))},_.expr.filters.visible=function(t){return!_.expr.filters.hidden(t)};var Me=/%20/g,qe=/\[\]$/,Ie=/\r?\n/g,Be=/^(?:submit|button|image|reset|file)$/i,We=/^(?:input|select|textarea|keygen)/i;function Ue(n,t,r,i){var e;if(_.isArray(t))_.each(t,function(t,e){r||qe.test(n)?i(n,e):Ue(n+"["+("object"==typeof e?t:"")+"]",e,r,i)});else if(r||"object"!==_.type(t))i(n,t);else for(e in t)Ue(n+"["+e+"]",t[e],r,i)}_.param=function(t,e){function n(t,e){e=_.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)}var r,i=[];if(void 0===e&&(e=_.ajaxSettings&&_.ajaxSettings.traditional),_.isArray(t)||t.jquery&&!_.isPlainObject(t))_.each(t,function(){n(this.name,this.value)});else for(r in t)Ue(r,t[r],e,n);return i.join("&").replace(Me,"+")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=_.prop(this,"elements");return t?_.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!_(this).is(":disabled")&&We.test(this.nodeName)&&!Be.test(t)&&(this.checked||!X.test(t))}).map(function(t,e){var n=_(this).val();return null==n?null:_.isArray(n)?_.map(n,function(t){return{name:e.name,value:t.replace(Ie,"\r\n")}}):{name:e.name,value:n.replace(Ie,"\r\n")}}).get()}}),_.ajaxSettings.xhr=void 0!==d.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Je()||function(){try{return new d.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}()}:Je;var ze=0,Xe={},Ye=_.ajaxSettings.xhr();function Je(){try{return new d.XMLHttpRequest}catch(t){}}d.attachEvent&&d.attachEvent("onunload",function(){for(var t in Xe)Xe[t](void 0,!0)}),m.cors=!!Ye&&"withCredentials"in Ye,(Ye=m.ajax=!!Ye)&&_.ajaxTransport(function(c){var u;if(!c.crossDomain||m.cors)return{send:function(t,o){var e,a=c.xhr(),s=++ze;if(a.open(c.type,c.url,c.async,c.username,c.password),c.xhrFields)for(e in c.xhrFields)a[e]=c.xhrFields[e];for(e in c.mimeType&&a.overrideMimeType&&a.overrideMimeType(c.mimeType),c.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)void 0!==t[e]&&a.setRequestHeader(e,t[e]+"");a.send(c.hasContent&&c.data||null),u=function(t,e){var n,r,i;if(u&&(e||4===a.readyState))if(delete Xe[s],u=void 0,a.onreadystatechange=_.noop,e)4!==a.readyState&&a.abort();else{i={},n=a.status,"string"==typeof a.responseText&&(i.text=a.responseText);try{r=a.statusText}catch(t){r=""}n||!c.isLocal||c.crossDomain?1223===n&&(n=204):n=i.text?200:404}i&&o(n,r,i,a.getAllResponseHeaders())},c.async?4===a.readyState?setTimeout(u):a.onreadystatechange=Xe[s]=u:u()},abort:function(){u&&u(void 0,!0)}}}),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return _.globalEval(t),t}}}),_.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),_.ajaxTransport("script",function(e){if(e.crossDomain){var r,i=T.head||_("head")[0]||T.documentElement;return{send:function(t,n){(r=T.createElement("script")).async=!0,e.scriptCharset&&(r.charset=e.scriptCharset),r.src=e.url,r.onload=r.onreadystatechange=function(t,e){!e&&r.readyState&&!/loaded|complete/.test(r.readyState)||(r.onload=r.onreadystatechange=null,r.parentNode&&r.parentNode.removeChild(r),r=null,e||n(200,"success"))},i.insertBefore(r,i.firstChild)},abort:function(){r&&r.onload(void 0,!0)}}}});var Ve=[],Ge=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ve.pop()||_.expando+"_"+Ee++;return this[t]=!0,t}}),_.ajaxPrefilter("json jsonp",function(t,e,n){var r,i,o,a=!1!==t.jsonp&&(Ge.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ge.test(t.data)&&"data");return a||"jsonp"===t.dataTypes[0]?(r=t.jsonpCallback=_.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ge,"$1"+r):!1!==t.jsonp&&(t.url+=(_e.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||_.error(r+" was not called"),o[0]},t.dataTypes[0]="json",i=d[r],d[r]=function(){o=arguments},n.always(function(){d[r]=i,t[r]&&(t.jsonpCallback=e.jsonpCallback,Ve.push(r)),o&&_.isFunction(i)&&i(o[0]),o=i=void 0}),"script"):void 0}),_.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||T;var r=b.exec(t),i=!n&&[];return r?[e.createElement(r[1])]:(r=_.buildFragment([t],e,i),i&&i.length&&_(i).remove(),_.merge([],r.childNodes))};var Qe=_.fn.load;_.fn.load=function(t,e,n){if("string"!=typeof t&&Qe)return Qe.apply(this,arguments);var r,i,o,a=this,s=t.indexOf(" ");return 0<=s&&(r=_.trim(t.slice(s,t.length)),t=t.slice(0,s)),_.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),0<a.length&&_.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){i=arguments,a.html(r?_("<div>").append(_.parseHTML(t)).find(r):t)}).complete(n&&function(t,e){a.each(n,i||[t.responseText,e,t])}),this},_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){_.fn[e]=function(t){return this.on(e,t)}}),_.expr.filters.animated=function(e){return _.grep(_.timers,function(t){return e===t.elem}).length};var Ke=d.document.documentElement;function Ze(t){return _.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}_.offset={setOffset:function(t,e,n){var r,i,o,a,s,c,u=_.css(t,"position"),l=_(t),p={};"static"===u&&(t.style.position="relative"),s=l.offset(),o=_.css(t,"top"),c=_.css(t,"left"),i=("absolute"===u||"fixed"===u)&&-1<_.inArray("auto",[o,c])?(a=(r=l.position()).top,r.left):(a=parseFloat(o)||0,parseFloat(c)||0),_.isFunction(e)&&(e=e.call(t,n,s)),null!=e.top&&(p.top=e.top-s.top+a),null!=e.left&&(p.left=e.left-s.left+i),"using"in e?e.using.call(t,p):l.css(p)}},_.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){_.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;return o?(t=o.documentElement,_.contains(t,i)?(typeof i.getBoundingClientRect!==$&&(r=i.getBoundingClientRect()),n=Ze(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r):void 0},position:function(){if(this[0]){var t,e,n={top:0,left:0},r=this[0];return"fixed"===_.css(r,"position")?e=r.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),_.nodeName(t[0],"html")||(n=t.offset()),n.top+=_.css(t[0],"borderTopWidth",!0),n.left+=_.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-_.css(r,"marginTop",!0),left:e.left-n.left-_.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||Ke;t&&!_.nodeName(t,"html")&&"static"===_.css(t,"position");)t=t.offsetParent;return t||Ke})}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,i){var o=/Y/.test(i);_.fn[e]=function(t){return z(this,function(t,e,n){var r=Ze(t);return void 0===n?r?i in r?r[i]:r.document.documentElement[e]:t[e]:void(r?r.scrollTo(o?_(r).scrollLeft():n,o?n:_(r).scrollTop()):t[e]=n)},e,t,arguments.length,null)}}),_.each(["top","left"],function(t,n){_.cssHooks[n]=$t(m.pixelPosition,function(t,e){return e?(e=Ot(t,n),Lt.test(e)?_(t).position()[n]+"px":e):void 0})}),_.each({Height:"height",Width:"width"},function(o,a){_.each({padding:"inner"+o,content:a,"":"outer"+o},function(r,t){_.fn[t]=function(t,e){var n=arguments.length&&(r||"boolean"!=typeof t),i=r||(!0===t||!0===e?"margin":"border");return z(this,function(t,e,n){var r;return _.isWindow(t)?t.document.documentElement["client"+o]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+o],r["scroll"+o],t.body["offset"+o],r["offset"+o],r["client"+o])):void 0===n?_.css(t,e,i):_.style(t,e,n,i)},a,n?t:void 0,n,null)}})}),_.fn.size=function(){return this.length},_.fn.andSelf=_.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return _});var tn=d.jQuery,en=d.$;return _.noConflict=function(t){return d.$===_&&(d.$=en),t&&d.jQuery===_&&(d.jQuery=tn),_},typeof t===$&&(d.jQuery=d.$=_),_}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(h){var r=/\+/g;function d(t){return v.raw?t:encodeURIComponent(t)}function g(t,e){var n=v.raw?t:function(t){0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t=decodeURIComponent(t.replace(r," ")),v.json?JSON.parse(t):t}catch(t){}}(t);return h.isFunction(e)?e(n):n}var v=h.cookie=function(t,e,n){if(1<arguments.length&&!h.isFunction(e)){if("number"==typeof(n=h.extend({},v.defaults,n)).expires){var r=n.expires,i=n.expires=new Date;i.setMilliseconds(i.getMilliseconds()+864e5*r)}return document.cookie=[d(t),"=",function(t){return d(v.json?JSON.stringify(t):String(t))}(e),n.expires?"; expires="+n.expires.toUTCString():"",n.path?"; path="+n.path:"",n.domain?"; domain="+n.domain:"",n.secure?"; secure":""].join("")}for(var o,a=t?void 0:{},s=document.cookie?document.cookie.split("; "):[],c=0,u=s.length;c<u;c++){var l=s[c].split("="),p=(o=l.shift(),v.raw?o:decodeURIComponent(o)),f=l.join("=");if(t===p){a=g(f,e);break}t||void 0===(f=g(f))||(a[p]=f)}return a};v.defaults={},h.removeCookie=function(t,e){return h.cookie(t,"",h.extend({},e,{expires:-1})),!h.cookie(t)}}),function(u,_){"use strict";var t;t=function(g){function t(t,e){return isNaN(t)?e||0:Number(t)}function l(t){return t.data("plugin_"+o)}function p(){for(var t=null,e=0;e<h.length;e++)(t=l(h[e]))&&t.hide(!0);a.trigger("hiddenAll."+m)}function f(t){var e={x:0,y:0};if("touchstart"===t.type||"touchmove"===t.type||"touchend"===t.type||"touchcancel"===t.type){var n=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0];e.x=n.pageX,e.y=n.pageY}else"mousedown"!==t.type&&"mouseup"!==t.type&&"click"!==t.type||(e.x=t.pageX,e.y=t.pageY);return e}var o="webuiPopover",v="webui-popover",m="webui.popover",r={placement:"auto",container:null,width:"auto",height:"auto",trigger:"click",style:"",selector:!1,delay:{show:null,hide:300},async:{type:"GET",before:null,success:null,error:null},cache:!0,multi:!1,arrow:!0,title:"",content:"",closeable:!1,padding:!0,url:"",type:"html",direction:"",animation:null,template:'<div class="webui-popover"><div class="webui-arrow"></div><div class="webui-popover-inner"><a href="#" class="close"></a><h3 class="webui-popover-title"></h3><div class="webui-popover-content"><i class="icon-refresh"></i> <p>&nbsp;</p></div></div></div>',backdrop:!1,dismissible:!0,onShow:null,onHide:null,abortXHR:!0,autoHide:!1,offsetTop:0,offsetLeft:0,iframeOptions:{frameborder:"0",allowtransparency:"true",id:"",name:"",scrolling:"",onload:"",height:"",width:""},hideEmpty:!1},y=v+"-rtl",h=[],i=g('<div class="webui-popover-backdrop"></div>'),e=0,d=!1,E=-2e3,a=g(_),n="ontouchstart"in _.documentElement&&/Mobi/.test(navigator.userAgent);function s(t,e){return this.$element=g(t),e&&("string"!==g.type(e.delay)&&"number"!==g.type(e.delay)||(e.delay={show:e.delay,hide:e.delay})),this.options=g.extend({},r,e),this._defaults=r,this._name=o,this._targetclick=!1,this.init(),h.push(this.$element),this}s.prototype={init:function(){if(this.$element[0]instanceof _.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");"manual"!==this.getTrigger()&&(n?this.$element.off("touchend",this.options.selector).on("touchend",this.options.selector,g.proxy(this.toggle,this)):"click"===this.getTrigger()?this.$element.off("click",this.options.selector).on("click",this.options.selector,g.proxy(this.toggle,this)):"hover"===this.getTrigger()&&this.$element.off("mouseenter mouseleave click",this.options.selector).on("mouseenter",this.options.selector,g.proxy(this.mouseenterHandler,this)).on("mouseleave",this.options.selector,g.proxy(this.mouseleaveHandler,this))),this._poped=!1,this._inited=!0,this._opened=!1,this._idSeed=e,this.id=o+this._idSeed,this.options.container=g(this.options.container||_.body).first(),this.options.backdrop&&i.appendTo(this.options.container).hide(),e++,"sticky"===this.getTrigger()&&this.show(),this.options.selector&&(this._options=g.extend({},this.options,{selector:""}))},destroy:function(){for(var t=-1,e=0;e<h.length;e++)if(h[e]===this.$element){t=e;break}h.splice(t,1),this.hide(),this.$element.data("plugin_"+o,null),"click"===this.getTrigger()?this.$element.off("click"):"hover"===this.getTrigger()&&this.$element.off("mouseenter mouseleave"),this.$target&&this.$target.remove()},getDelegateOptions:function(){var n={};return this._options&&g.each(this._options,function(t,e){r[t]!==e&&(n[t]=e)}),n},hide:function(t,e){if((t||"sticky"!==this.getTrigger())&&this._opened){e&&(e.preventDefault(),e.stopPropagation()),this.xhr&&!0===this.options.abortXHR&&(this.xhr.abort(),this.xhr=null);var n=g.Event("hide."+m);if(this.$element.trigger(n,[this.$target]),this.$target){this.$target.removeClass("in").addClass(this.getHideAnimation());var r=this;setTimeout(function(){r.$target.hide(),r.getCache()||r.$target.remove()},r.getHideDelay())}this.options.backdrop&&i.hide(),this._opened=!1,this.$element.trigger("hidden."+m,[this.$target]),this.options.onHide&&this.options.onHide(this.$target)}},resetAutoHide:function(){var t=this,e=t.getAutoHide();e&&(t.autoHideHandler&&clearTimeout(t.autoHideHandler),t.autoHideHandler=setTimeout(function(){t.hide()},e))},delegate:function(t){var e=g(t).data("plugin_"+o);return e||(e=new s(t,this.getDelegateOptions()),g(t).data("plugin_"+o,e)),e},toggle:function(t){var e=this;t&&(t.preventDefault(),t.stopPropagation(),this.options.selector&&(e=this.delegate(t.currentTarget))),e[e.getTarget().hasClass("in")?"hide":"show"]()},hideAll:function(){p()},hideOthers:function(){!function(t){for(var e=null,n=0;n<h.length;n++)(e=l(h[n]))&&e.id!==t.id&&e.hide(!0);a.trigger("hiddenAll."+m)}(this)},show:function(){if(!this._opened){var t=this.getTarget().removeClass().addClass(v).addClass(this._customTargetClass);if(this.options.multi||this.hideOthers(),!this.getCache()||!this._poped||""===this.content){if(this.content="",this.setTitle(this.getTitle()),this.options.closeable||t.find(".close").off("click").remove(),this.isAsync()?this.setContentASync(this.options.content):this.setContent(this.getContent()),this.canEmptyHide()&&""===this.content)return;t.show()}this.displayContent(),this.options.onShow&&this.options.onShow(t),this.bindBodyEvents(),this.options.backdrop&&i.show(),this._opened=!0,this.resetAutoHide()}},displayContent:function(){var t,e=this.getElementPosition(),n=this.getTarget().removeClass().addClass(v).addClass(this._customTargetClass),r=this.getContentElement(),i=n[0].offsetWidth,o=n[0].offsetHeight,a=g.Event("show."+m);if(this.canEmptyHide()){var s=r.children().html();if(null!==s&&0===s.trim().length)return}this.$element.trigger(a,[n]);var c=this.$element.data("width")||this.options.width;""===c&&(c=this._defaults.width),"auto"!==c&&n.width(c);var u=this.$element.data("height")||this.options.height;""===u&&(u=this._defaults.height),"auto"!==u&&r.height(u),this.options.style&&this.$target.addClass(v+"-"+this.options.style),"rtl"!==this.options.direction||r.hasClass(y)||r.addClass(y),this.options.arrow||n.find(".webui-arrow").remove(),n.detach().css({top:E,left:E,display:"block"}),this.getAnimation()&&n.addClass(this.getAnimation()),n.appendTo(this.options.container),t=this.getPlacement(e),this.$element.trigger("added."+m),this.initTargetEvents(),this.options.padding||("auto"!==this.options.height&&r.css("height",r.outerHeight()),this.$target.addClass("webui-no-padding")),this.options.maxHeight&&r.css("maxHeight",this.options.maxHeight),this.options.maxWidth&&r.css("maxWidth",this.options.maxWidth),i=n[0].offsetWidth,o=n[0].offsetHeight;var l=this.getTargetPositin(e,t,i,o);if(this.$target.css(l.position).addClass(t).addClass("in"),"iframe"===this.options.type){var p=n.find("iframe"),f=n.width(),h=p.parent().height();""!==this.options.iframeOptions.width&&"auto"!==this.options.iframeOptions.width&&(f=this.options.iframeOptions.width),""!==this.options.iframeOptions.height&&"auto"!==this.options.iframeOptions.height&&(h=this.options.iframeOptions.height),p.width(f).height(h)}if(this.options.arrow||this.$target.css({margin:0}),this.options.arrow){var d=this.$target.find(".webui-arrow");d.removeAttr("style"),"left"===t||"right"===t?d.css({top:this.$target.height()/2}):"top"!==t&&"bottom"!==t||d.css({left:this.$target.width()/2}),l.arrowOffset&&(-1===l.arrowOffset.left||-1===l.arrowOffset.top?d.hide():d.css(l.arrowOffset))}this._poped=!0,this.$element.trigger("shown."+m,[this.$target])},isTargetLoaded:function(){return 0===this.getTarget().find("i.glyphicon-refresh").length},getTriggerElement:function(){return this.$element},getTarget:function(){if(!this.$target){var t=o+this._idSeed;this.$target=g(this.options.template).attr("id",t),this._customTargetClass=this.$target.attr("class")!==v?this.$target.attr("class"):null,this.getTriggerElement().attr("data-target",t)}return this.$target.data("trigger-element")||this.$target.data("trigger-element",this.getTriggerElement()),this.$target},removeTarget:function(){this.$target.remove(),this.$target=null,this.$contentElement=null},getTitleElement:function(){return this.getTarget().find("."+v+"-title")},getContentElement:function(){return this.$contentElement||(this.$contentElement=this.getTarget().find("."+v+"-content")),this.$contentElement},getTitle:function(){return this.$element.attr("data-title")||this.options.title||this.$element.attr("title")},getUrl:function(){return this.$element.attr("data-url")||this.options.url},getAutoHide:function(){return this.$element.attr("data-auto-hide")||this.options.autoHide},getOffsetTop:function(){return t(this.$element.attr("data-offset-top"))||this.options.offsetTop},getOffsetLeft:function(){return t(this.$element.attr("data-offset-left"))||this.options.offsetLeft},getCache:function(){var t=this.$element.attr("data-cache");if(void 0!==t)switch(t.toLowerCase()){case"true":case"yes":case"1":return!0;case"false":case"no":case"0":return!1}return this.options.cache},getTrigger:function(){return this.$element.attr("data-trigger")||this.options.trigger},getDelayShow:function(){var t=this.$element.attr("data-delay-show");return void 0!==t?t:0===this.options.delay.show?0:this.options.delay.show||100},getHideDelay:function(){var t=this.$element.attr("data-delay-hide");return void 0!==t?t:0===this.options.delay.hide?0:this.options.delay.hide||100},getAnimation:function(){return this.$element.attr("data-animation")||this.options.animation},getHideAnimation:function(){var t=this.getAnimation();return t?t+"-out":"out"},setTitle:function(t){var e=this.getTitleElement();t?("rtl"!==this.options.direction||e.hasClass(y)||e.addClass(y),e.html(t)):e.remove()},hasContent:function(){return this.getContent()},canEmptyHide:function(){return this.options.hideEmpty&&"html"===this.options.type},getIframe:function(){var e=g("<iframe></iframe>").attr("src",this.getUrl()),n=this;return g.each(this._defaults.iframeOptions,function(t){void 0!==n.options.iframeOptions[t]&&e.attr(t,n.options.iframeOptions[t])}),e},getContent:function(){if(this.getUrl())switch(this.options.type){case"iframe":this.content=this.getIframe();break;case"html":try{this.content=g(this.getUrl()),this.content.is(":visible")||this.content.show()}catch(t){throw new Error("Unable to get popover content. Invalid selector specified.")}}else if(!this.content){var t="";if(t=g.isFunction(this.options.content)?this.options.content.apply(this.$element[0],[this]):this.options.content,this.content=this.$element.attr("data-content")||t,!this.content){var e=this.$element.next();e&&e.hasClass(v+"-content")&&(this.content=e)}}return this.content},setContent:function(t){var e=this.getTarget(),n=this.getContentElement();"string"==typeof t?n.html(t):t instanceof g&&(n.html(""),this.options.cache?t.removeClass(v+"-content").appendTo(n):t.clone(!0,!0).removeClass(v+"-content").appendTo(n)),this.$target=e},isAsync:function(){return"async"===this.options.type},setContentASync:function(e){var n=this;this.xhr||(this.xhr=g.ajax({url:this.getUrl(),type:this.options.async.type,cache:this.getCache(),beforeSend:function(t,e){n.options.async.before&&n.options.async.before(n,t,e)},success:function(t){n.bindBodyEvents(),e&&g.isFunction(e)?n.content=e.apply(n.$element[0],[t]):n.content=t,n.setContent(n.content),n.getContentElement().removeAttr("style"),n.displayContent(),n.options.async.success&&n.options.async.success(n,t)},complete:function(){n.xhr=null},error:function(t,e){n.options.async.error&&n.options.async.error(n,t,e)}}))},bindBodyEvents:function(){d||(this.options.dismissible&&"click"===this.getTrigger()?n?a.off("touchstart.webui-popover").on("touchstart.webui-popover",g.proxy(this.bodyTouchStartHandler,this)):(a.off("keyup.webui-popover").on("keyup.webui-popover",g.proxy(this.escapeHandler,this)),a.off("click.webui-popover").on("click.webui-popover",g.proxy(this.bodyClickHandler,this))):"hover"===this.getTrigger()&&a.off("touchend.webui-popover").on("touchend.webui-popover",g.proxy(this.bodyClickHandler,this)))},mouseenterHandler:function(t){var e=this;t&&this.options.selector&&(e=this.delegate(t.currentTarget)),e._timeout&&clearTimeout(e._timeout),e._enterTimeout=setTimeout(function(){e.getTarget().is(":visible")||e.show()},this.getDelayShow())},mouseleaveHandler:function(){var t=this;clearTimeout(t._enterTimeout),t._timeout=setTimeout(function(){t.hide()},this.getHideDelay())},escapeHandler:function(t){27===t.keyCode&&this.hideAll()},bodyTouchStartHandler:function(t){var e=this,n=g(t.currentTarget);n.on("touchend",function(t){e.bodyClickHandler(t),n.off("touchend")}),n.on("touchmove",function(){n.off("touchend")})},bodyClickHandler:function(t){for(var e=d=!0,n=0;n<h.length;n++){var r=l(h[n]);if(r&&r._opened){var i=r.getTarget().offset(),o=i.left,a=i.top,s=i.left+r.getTarget().width(),c=i.top+r.getTarget().height(),u=f(t);if(u.x>=o&&u.x<=s&&u.y>=a&&u.y<=c){e=!1;break}}}e&&p()},initTargetEvents:function(){"hover"===this.getTrigger()&&this.$target.off("mouseenter mouseleave").on("mouseenter",g.proxy(this.mouseenterHandler,this)).on("mouseleave",g.proxy(this.mouseleaveHandler,this)),this.$target.find(".close").off("click").on("click",g.proxy(this.hide,this,!0))},getPlacement:function(t){var e,n=this.options.container,r=n.innerWidth(),i=n.innerHeight(),o=n.scrollTop(),a=n.scrollLeft(),s=Math.max(0,t.left-a),c=Math.max(0,t.top-o),u="horizontal"===(e="function"==typeof this.options.placement?this.options.placement.call(this,this.getTarget()[0],this.$element[0]):this.$element.data("placement")||this.options.placement),l="vertical"===e;return"auto"===e||u||l?e=s<r/3?c<i/3?u?"right-bottom":"bottom-right":c<2*i/3?l?c<=i/2?"bottom-right":"top-right":"right":u?"right-top":"top-right":s<2*r/3?c<i/3?u?s<=r/2?"right-bottom":"left-bottom":"bottom":c<2*i/3?u?s<=r/2?"right":"left":c<=i/2?"bottom":"top":u?s<=r/2?"right-top":"left-top":"top":c<i/3?u?"left-bottom":"bottom-left":c<2*i/3?l?c<=i/2?"bottom-left":"top-left":"left":u?"left-top":"top-left":"auto-top"===e?e=s<r/3?"top-right":s<2*r/3?"top":"top-left":"auto-bottom"===e?e=s<r/3?"bottom-right":s<2*r/3?"bottom":"bottom-left":"auto-left"===e?e=c<i/3?"left-top":c<2*i/3?"left":"left-bottom":"auto-right"===e&&(e=c<i/3?"right-bottom":c<2*i/3?"right":"right-top"),e},getElementPosition:function(){var t=this.$element[0].getBoundingClientRect(),e=this.options.container,n=e.css("position");if(e.is(_.body)||"static"===n)return g.extend({},this.$element.offset(),{width:this.$element[0].offsetWidth||t.width,height:this.$element[0].offsetHeight||t.height});if("fixed"!==n)return"relative"===n||"absolute"===n?{top:this.$element.offset().top-e.offset().top,left:this.$element.offset().left-e.offset().left,width:this.$element[0].offsetWidth||t.width,height:this.$element[0].offsetHeight||t.height}:void 0;var r=e[0].getBoundingClientRect();return{top:t.top-r.top+e.scrollTop(),left:t.left-r.left+e.scrollLeft(),width:t.width,height:t.height}},getTargetPositin:function(t,e,n,r){var i=t,o=this.options.container,a=this.$element.outerWidth(),s=this.$element.outerHeight(),c=_.documentElement.scrollTop+o.scrollTop(),u=_.documentElement.scrollLeft+o.scrollLeft(),l={},p=null,f=this.options.arrow?20:0,h=a<10+f?f:0,d=s<10+f?f:0,g=0,v=_.documentElement.clientHeight+c,m=_.documentElement.clientWidth+u,y=0<i.left+i.width/2-h,b=i.left+i.width/2+h<m,x=0<i.top+i.height/2-d,w=i.top+i.height/2+d<v;switch(e){case"bottom":l={top:i.top+i.height,left:i.left+i.width/2-n/2};break;case"top":l={top:i.top-r,left:i.left+i.width/2-n/2};break;case"left":l={top:i.top+i.height/2-r/2,left:i.left-n};break;case"right":l={top:i.top+i.height/2-r/2,left:i.left+i.width};break;case"top-right":l={top:i.top-r,left:y?i.left-h:10},p={left:y?Math.min(a,n)/2+h:E};break;case"top-left":g=b?h:-10,l={top:i.top-r,left:i.left-n+i.width+g},p={left:b?n-Math.min(a,n)/2-h:E};break;case"bottom-right":l={top:i.top+i.height,left:y?i.left-h:10},p={left:y?Math.min(a,n)/2+h:E};break;case"bottom-left":g=b?h:-10,l={top:i.top+i.height,left:i.left-n+i.width+g},p={left:b?n-Math.min(a,n)/2-h:E};break;case"right-top":g=w?d:-10,l={top:i.top-r+i.height+g,left:i.left+i.width},p={top:w?r-Math.min(s,r)/2-d:E};break;case"right-bottom":l={top:x?i.top-d:10,left:i.left+i.width},p={top:x?Math.min(s,r)/2+d:E};break;case"left-top":g=w?d:-10,l={top:i.top-r+i.height+g,left:i.left-n},p={top:w?r-Math.min(s,r)/2-d:E};break;case"left-bottom":l={top:x?i.top-d:10,left:i.left-n},p={top:x?Math.min(s,r)/2+d:E}}return l.top+=this.getOffsetTop(),l.left+=this.getOffsetLeft(),{position:l,arrowOffset:p}}},g.fn[o]=function(e,n){var r=[],t=this.each(function(){var t=g.data(this,"plugin_"+o);t?"destroy"===e?t.destroy():"string"==typeof e&&r.push(t[e]()):(e?"string"==typeof e?"destroy"!==e&&(n||(t=new s(this,null),r.push(t[e]()))):"object"==typeof e&&(t=new s(this,e)):t=new s(this,null),g.data(this,"plugin_"+o,t))});return r.length?r:t};var c={show:function(t,e){e?g(t).webuiPopover(e).webuiPopover("show"):g(t).webuiPopover("show")},hide:function(t){g(t).webuiPopover("hide")},create:function(t,e){e=e||{},g(t).webuiPopover(e)},isCreated:function(t){var n=!0;return g(t).each(function(t,e){n=n&&void 0!==g(e).data("plugin_"+o)}),n},hideAll:function(){p()},updateContent:function(t,e){var n=g(t).data("plugin_"+o);if(n){var r=n.getCache();n.options.cache=!1,n.options.content=e,n._opened?(n._opened=!1,n.show()):n.isAsync()?n.setContentASync(e):n.setContent(e),n.options.cache=r}},updateContentAsync:function(t,e){var n=g(t).data("plugin_"+o);if(n){var r=n.getCache(),i=n.options.type;n.options.cache=!1,n.options.url=e,n._opened?(n._opened=!1,n.show()):(n.options.type="async",n.setContentASync(n.content)),n.options.cache=r,n.options.type=i}},setDefaultOptions:function(t){r=g.extend({},r,t)}};u.WebuiPopovers=c},"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(u.jQuery)}(window,document),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var h,n;h=t,n=window,document,h.fn.extend({scrollspy:function(e){var t={min:0,max:0,mode:"vertical",namespace:"scrollspy",buffer:0,container:n,onEnter:e.onEnter?e.onEnter:[],onLeave:e.onLeave?e.onLeave:[],onTick:e.onTick?e.onTick:[]};return e=h.extend({},t,e),this.each(function(t){var o,a=this,s=e,c=h(s.container),u=s.mode,l=s.buffer,p=o=0,f=!1;c.bind("scroll."+s.namespace,function(t){var e={top:h(this).scrollTop(),left:h(this).scrollLeft()},n="vertical"==u?e.top+l:e.left+l,r=s.max,i=s.min;h.isFunction(s.max)&&(r=s.max()),h.isFunction(s.min)&&(i=s.min()),0==r&&(r="vertical"==u?c.height():c.outerWidth()+h(a).outerWidth()),i<=n&&n<=r?(f||(f=!0,p++,h(a).trigger("scrollEnter",{position:e}),h.isFunction(s.onEnter)&&s.onEnter(a,e)),h(a).trigger("scrollTick",{position:e,inside:f,enters:p,leaves:o}),h.isFunction(s.onTick)&&s.onTick(a,e,f,p,o)):f&&(f=!1,o++,h(a).trigger("scrollLeave",{position:e,leaves:o}),h.isFunction(s.onLeave)&&s.onLeave(a,e))})})}})});var Sentry=function(l){var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function t(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var e,n,i,o,a,s,h=function(){return(h=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function d(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(d(arguments[e]));return t}(s=e=e||{})[s.None=0]="None",s[s.Error=1]="Error",s[s.Debug=2]="Debug",s[s.Verbose=3]="Verbose",(n=l.Severity||(l.Severity={})).Fatal="fatal",n.Error="error",n.Warning="warning",n.Log="log",n.Info="info",n.Debug="debug",n.Critical="critical",(a=l.Severity||(l.Severity={})).fromString=function(t){switch(t){case"debug":return a.Debug;case"info":return a.Info;case"warn":case"warning":return a.Warning;case"error":return a.Error;case"fatal":return a.Fatal;case"critical":return a.Critical;case"log":default:return a.Log}},(i=l.Status||(l.Status={})).Unknown="unknown",i.Skipped="skipped",i.Success="success",i.RateLimit="rate_limit",i.Invalid="invalid",i.Failed="failed",(o=l.Status||(l.Status={})).fromHttpCode=function(t){return 200<=t&&t<300?o.Success:429===t?o.RateLimit:400<=t&&t<500?o.Invalid:500<=t?o.Failed:o.Unknown};var u,p=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){return t.__proto__=e,t}:function(t,e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n]);return t}),g=(t(f,u=Error),f);function f(t){var e=this.constructor,n=u.call(this,t)||this;return n.message=t,n.name=e.prototype.constructor.name,p(n,e.prototype),n}function v(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}}function m(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)}function y(t){return"[object DOMError]"===Object.prototype.toString.call(t)}function b(t){return"[object String]"===Object.prototype.toString.call(t)}function x(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function w(t){return"[object Object]"===Object.prototype.toString.call(t)}function E(t){return Boolean(t&&t.then&&"function"==typeof t.then)}var _={};function T(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:_}function S(){var t=T(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var n=new Uint16Array(8);e.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;function r(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e}return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})}function k(t){if(!t)return{};var e=t.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+r}}function C(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){var e=t.exception.values[0];return e.type&&e.value?e.type+": "+e.value:e.type||e.value||t.event_id||"<unknown>"}return t.event_id||"<unknown>"}function N(t){var e=T();if(!("console"in e))return t();var n=e.console,r={};["debug","info","warn","error","log","assert"].forEach(function(t){t in e.console&&n[t].__sentry__&&(r[t]=n[t].__sentry_wrapped__,n[t]=n[t].__sentry_original__)});var i=t();return Object.keys(r).forEach(function(t){n[t]=r[t]}),i}function A(t,e,n,r){void 0===r&&(r={handled:!0,type:"generic"}),t.exception=t.exception||{},t.exception.values=t.exception.values||[],t.exception.values[0]=t.exception.values[0]||{},t.exception.values[0].value=t.exception.values[0].value||e||"",t.exception.values[0].type=t.exception.values[0].type||n||"Error",t.exception.values[0].mechanism=t.exception.values[0].mechanism||r}var j=T(),O="Sentry Logger ",D=(L.prototype.disable=function(){this.t=!1},L.prototype.enable=function(){this.t=!0},L.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.t&&N(function(){j.console.log(O+"[Log]: "+t.join(" "))})},L.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.t&&N(function(){j.console.warn(O+"[Warn]: "+t.join(" "))})},L.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.t&&N(function(){j.console.error(O+"[Error]: "+t.join(" "))})},L);function L(){this.t=!1}j.__SENTRY__=j.__SENTRY__||{};var H=j.__SENTRY__.logger||(j.__SENTRY__.logger=new D),$=(R.prototype.memoize=function(t){if(this.i)return!!this.o.has(t)||(this.o.add(t),!1);for(var e=0;e<this.o.length;e++)if(this.o[e]===t)return!0;return this.o.push(t),!1},R.prototype.unmemoize=function(t){if(this.i)this.o.delete(t);else for(var e=0;e<this.o.length;e++)if(this.o[e]===t){this.o.splice(e,1);break}},R);function R(){this.i="function"==typeof WeakSet,this.o=this.i?new WeakSet:[]}function F(t,e,n){if(e in t){var r=t[e],i=n(r);if("function"==typeof i)try{i.prototype=i.prototype||{},Object.defineProperties(i,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r},__sentry_wrapped__:{enumerable:!1,value:i}})}catch(t){}t[e]=i}}function P(t,e,n){void 0===e&&(e=3),void 0===n&&(n=102400);var r=q(t,e);return function(t){return e=JSON.stringify(t),~-encodeURI(e).split(/%..|./).length;var e}(r)>n?P(t,e-1,n):r}function M(t,e){return"domain"===e&&"object"==typeof t&&t.u?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":"undefined"!=typeof global&&t===global?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":"undefined"!=typeof Event&&t instanceof Event?Object.getPrototypeOf(t)?t.constructor.name:"Event":w(n=t)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n?"[SyntheticEvent]":Number.isNaN(t)?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?"[Function: "+(t.name||"<unknown-function-name>")+"]":t;var n}function q(t,n){try{return JSON.parse(JSON.stringify(t,function(t,e){return function t(e,n,r,i){if(void 0===r&&(r=1/0),void 0===i&&(i=new $),0===r)return function(t){var e=Object.prototype.toString.call(t);if("string"==typeof t)return t;if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";var n=M(t);return x(n)?n:e}(n);if(null!=n&&"function"==typeof n.toJSON)return n.toJSON();var o=M(n,e);if(x(o))return o;var a=v(n)?function(t){var e={message:t.message,name:t.name,stack:t.stack};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}(n):n,s=Array.isArray(n)?[]:{};if(i.memoize(n))return"[Circular ~]";for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(s[c]=t(c,a[c],r-1,i));return i.unmemoize(n),s}(t,e,n)}))}catch(t){return"**non-serializable**"}}var I,B,W=(U.prototype.isReady=function(){return void 0===this.s||this.length()<this.s},U.prototype.add=function(t){var e=this;return this.isReady()?(-1===this.h.indexOf(t)&&this.h.push(t),t.then(function(){return e.remove(t)}).catch(function(){return e.remove(t).catch(function(){})}),t):Promise.reject(new g("Not adding Promise due to buffer limit reached."))},U.prototype.remove=function(t){return this.h.splice(this.h.indexOf(t),1)[0]},U.prototype.length=function(){return this.h.length},U.prototype.drain=function(n){var r=this;return new Promise(function(t){var e=setTimeout(function(){n&&0<n&&t(!1)},n);Promise.all(r.h).then(function(){clearTimeout(e),t(!0)}).catch(function(){t(!0)})})},U);function U(t){this.s=t,this.h=[]}function z(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e?t:t.length<=e?t:t.substr(0,e)+"..."}function X(t,e){if(!Array.isArray(t))return"";for(var n=[],r=0;r<t.length;r++){var i=t[r];try{n.push(String(i))}catch(t){n.push("[value cannot be serialized]")}}return n.join(e)}function Y(t,e){return n=e,"[object RegExp]"===Object.prototype.toString.call(n)?e.test(t):"string"==typeof e&&t.includes(e);var n}function J(){if(!("fetch"in T()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(t){return!1}}(B=I=I||{}).PENDING="PENDING",B.RESOLVED="RESOLVED",B.REJECTED="REJECTED";var V=(et.prototype.then=function(r,i){var t=this;return new et(function(e,n){t.S({onFail:function(t){if(i)try{return void e(i(t))}catch(t){return void n(t)}else n(t)},onSuccess:function(t){if(r)try{return void e(r(t))}catch(t){return void n(t)}else e(t)}})})},et.prototype.catch=function(t){return this.then(function(t){return t},t)},et.prototype.toString=function(){return"[object SyncPromise]"},et.resolve=function(e){return new et(function(t){t(e)})},et.reject=function(n){return new et(function(t,e){e(n)})},et),G=/^[ \t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \t]*$/,Q=(tt.prototype.setParent=function(t){return this.R=t,this},tt.prototype.setSampled=function(t){return this.T=t,this},tt.fromTraceparent=function(t){var e=t.match(G);if(e){var n=void 0;"1"===e[3]?n=!0:"0"===e[3]&&(n=!1);var r=new tt(e[1],e[2],n);return new tt(e[1],void 0,n,r)}},tt.prototype.toTraceparent=function(){var t="";return!0===this.T?t="-1":!1===this.T&&(t="-0"),this.O+"-"+this.k+t},tt.prototype.toJSON=function(){return{parent:this.R&&this.R.toJSON()||void 0,sampled:this.T,span_id:this.k,trace_id:this.O}},tt),K=(Z.prototype.addScopeListener=function(t){this.I.push(t)},Z.prototype.addEventProcessor=function(t){return this.C.push(t),this},Z.prototype.F=function(){var e=this;this.D||(this.D=!0,setTimeout(function(){e.I.forEach(function(t){t(e)}),e.D=!1}))},Z.prototype.P=function(i,o,a,s){var c=this;return void 0===s&&(s=0),new V(function(e,t){var n=i[s];if(null===o||"function"!=typeof n)e(o);else{var r=n(h({},o),a);E(r)?r.then(function(t){return c.P(i,t,a,s+1).then(e)}).catch(t):c.P(i,r,a,s+1).then(e).catch(t)}})},Z.prototype.setUser=function(t){return this.A=q(t),this.F(),this},Z.prototype.setTags=function(t){return this.L=h({},this.L,q(t)),this.F(),this},Z.prototype.setTag=function(t,e){var n;return this.L=h({},this.L,((n={})[t]=q(e),n)),this.F(),this},Z.prototype.setExtras=function(t){return this.M=h({},this.M,q(t)),this.F(),this},Z.prototype.setExtra=function(t,e){var n;return this.M=h({},this.M,((n={})[t]=q(e),n)),this.F(),this},Z.prototype.setFingerprint=function(t){return this.$=q(t),this.F(),this},Z.prototype.setLevel=function(t){return this.q=q(t),this.F(),this},Z.prototype.setTransaction=function(t){return this.H=t,this.F(),this},Z.prototype.setContext=function(t,e){return this.U[t]=e?q(e):void 0,this.F(),this},Z.prototype.setSpan=function(t){return this.W=t,this.F(),this},Z.prototype.startSpan=function(t){var e=new Q;return e.setParent(t),this.setSpan(e),e},Z.prototype.getSpan=function(){return this.W},Z.clone=function(t){var e=new Z;return Object.assign(e,t,{I:[]}),t&&(e.N=c(t.N),e.L=h({},t.L),e.M=h({},t.M),e.U=h({},t.U),e.A=t.A,e.q=t.q,e.W=t.W,e.H=t.H,e.$=t.$,e.C=c(t.C)),e},Z.prototype.clear=function(){return this.N=[],this.L={},this.M={},this.A={},this.U={},this.q=void 0,this.H=void 0,this.$=void 0,this.W=void 0,this.F(),this},Z.prototype.addBreadcrumb=function(t,e){var n=(new Date).getTime()/1e3,r=h({timestamp:n},t);return this.N=void 0!==e&&0<=e?c(this.N,[q(r)]).slice(-e):c(this.N,[q(r)]),this.F(),this},Z.prototype.clearBreadcrumbs=function(){return this.N=[],this.F(),this},Z.prototype.B=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this.$&&(t.fingerprint=t.fingerprint.concat(this.$)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},Z.prototype.applyToEvent=function(t,e){return this.M&&Object.keys(this.M).length&&(t.extra=h({},this.M,t.extra)),this.L&&Object.keys(this.L).length&&(t.tags=h({},this.L,t.tags)),this.A&&Object.keys(this.A).length&&(t.user=h({},this.A,t.user)),this.U&&Object.keys(this.U).length&&(t.contexts=h({},this.U,t.contexts)),this.q&&(t.level=this.q),this.H&&(t.transaction=this.H),this.W&&(t.contexts=t.contexts||{},t.contexts.trace=this.W),this.B(t),t.breadcrumbs=c(t.breadcrumbs||[],this.N),t.breadcrumbs=0<t.breadcrumbs.length?t.breadcrumbs:void 0,this.P(c(nt(),this.C),t,e)},Z);function Z(){this.D=!1,this.I=[],this.C=[],this.N=[],this.A={},this.L={},this.M={},this.U={}}function tt(t,e,n,r){void 0===t&&(t=S()),void 0===e&&(e=S().substring(16)),this.O=t,this.k=e,this.T=n,this.R=r}function et(t){var n=this;this.l=I.PENDING,this.v=[],this.p=function(t){n.m(t,I.RESOLVED)},this.g=function(t){n.m(t,I.REJECTED)},this.m=function(t,e){n.l===I.PENDING&&(E(t)?t.then(n.p,n.g):(n.j=t,n.l=e,n._()))},this._=function(){n.l!==I.PENDING&&(n.l===I.REJECTED?n.v.forEach(function(t){return t.onFail&&t.onFail(n.j)}):n.v.forEach(function(t){return t.onSuccess&&t.onSuccess(n.j)}),n.v=[])},this.S=function(t){n.v=n.v.concat(t),n._()};try{t(this.p,this.g)}catch(t){this.g(t)}}function nt(){var t=T();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function rt(t){nt().push(t)}var it=3,ot=(at.prototype.G=function(t){for(var e,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=this.getStackTop();i&&i.client&&i.client[t]&&(e=i.client)[t].apply(e,c(n,[i.scope]))},at.prototype.isOlderThan=function(t){return this.J<t},at.prototype.bindClient=function(t){this.getStackTop().client=t},at.prototype.pushScope=function(){var t=this.getStack(),e=0<t.length?t[t.length-1].scope:void 0,n=K.clone(e);return this.getStack().push({client:this.getClient(),scope:n}),n},at.prototype.popScope=function(){return void 0!==this.getStack().pop()},at.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},at.prototype.getClient=function(){return this.getStackTop().client},at.prototype.getScope=function(){return this.getStackTop().scope},at.prototype.getStack=function(){return this.X},at.prototype.getStackTop=function(){return this.X[this.X.length-1]},at.prototype.captureException=function(t,e){var n=this.V=S(),r=e;if(!e){var i=void 0;try{throw new Error("Sentry syntheticException")}catch(t){i=t}r={originalException:t,syntheticException:i}}return this.G("captureException",t,h({},r,{event_id:n})),n},at.prototype.captureMessage=function(t,e,n){var r=this.V=S(),i=n;if(!n){var o=void 0;try{throw new Error(t)}catch(t){o=t}i={originalException:t,syntheticException:o}}return this.G("captureMessage",t,e,h({},i,{event_id:r})),r},at.prototype.captureEvent=function(t,e){var n=this.V=S();return this.G("captureEvent",t,h({},e,{event_id:n})),n},at.prototype.lastEventId=function(){return this.V},at.prototype.addBreadcrumb=function(t,e){var n=this.getStackTop();if(n.scope&&n.client){var r=n.client.getOptions&&n.client.getOptions()||{},i=r.beforeBreadcrumb,o=void 0===i?null:i,a=r.maxBreadcrumbs,s=void 0===a?30:a;if(!(s<=0)){var c=(new Date).getTime()/1e3,u=h({timestamp:c},t),l=o?N(function(){return o(u,e)}):u;null!==l&&n.scope.addBreadcrumb(l,Math.min(s,100))}}},at.prototype.setUser=function(t){var e=this.getStackTop();e.scope&&e.scope.setUser(t)},at.prototype.setTags=function(t){var e=this.getStackTop();e.scope&&e.scope.setTags(t)},at.prototype.setExtras=function(t){var e=this.getStackTop();e.scope&&e.scope.setExtras(t)},at.prototype.setTag=function(t,e){var n=this.getStackTop();n.scope&&n.scope.setTag(t,e)},at.prototype.setExtra=function(t,e){var n=this.getStackTop();n.scope&&n.scope.setExtra(t,e)},at.prototype.setContext=function(t,e){var n=this.getStackTop();n.scope&&n.scope.setContext(t,e)},at.prototype.configureScope=function(t){var e=this.getStackTop();e.scope&&e.client&&t(e.scope)},at.prototype.run=function(t){var e=ct(this);try{t(this)}finally{ct(e)}},at.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return H.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},at.prototype.traceHeaders=function(){var t=this.getStackTop();if(t.scope&&t.client){var e=t.scope.getSpan();if(e)return{"sentry-trace":e.toTraceparent()}}return{}},at);function at(t,e,n){void 0===e&&(e=new K),void 0===n&&(n=it),this.J=n,this.X=[],this.X.push({client:t,scope:e})}function st(){var t=T();return t.__SENTRY__=t.__SENTRY__||{hub:void 0},t}function ct(t){var e=st(),n=pt(e);return ft(e,t),n}function ut(){var t,e=st();lt(e)&&!pt(e).isOlderThan(it)||ft(e,new ot);try{var n=(t=module,"domain",t.require("domain")).active;if(!n)return pt(e);if(!lt(n)||pt(n).isOlderThan(it)){var r=pt(e).getStackTop();ft(n,new ot(r.client,K.clone(r.scope)))}return pt(n)}catch(t){return pt(e)}}function lt(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function pt(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub||(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new ot),t.__SENTRY__.hub}function ft(t,e){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=e,!0)}function ht(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=ut();if(r&&r[t])return r[t].apply(r,c(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function dt(t){var e;try{throw new Error("Sentry syntheticException")}catch(t){e=t}return ht("captureException",t,{originalException:t,syntheticException:e})}function gt(t){ht("withScope",t)}var vt=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w\.-]+)(?::(\d+))?\/(.+)/,mt=(wt.prototype.toString=function(t){void 0===t&&(t=!1);var e=this,n=e.host,r=e.path,i=e.pass,o=e.port,a=e.projectId;return e.protocol+"://"+e.user+(t&&i?":"+i:"")+"@"+n+(o?":"+o:"")+"/"+(r?r+"/":r)+a},wt.prototype.K=function(t){var e=vt.exec(t);if(!e)throw new g("Invalid Dsn");var n=d(e.slice(1),6),r=n[0],i=n[1],o=n[2],a=void 0===o?"":o,s=n[3],c=n[4],u=void 0===c?"":c,l="",p=n[5],f=p.split("/");1<f.length&&(l=f.slice(0,-1).join("/"),p=f.pop()),Object.assign(this,{host:s,pass:a,path:l,projectId:p,port:u,protocol:r,user:i})},wt.prototype.Z=function(t){this.protocol=t.protocol,this.user=t.user,this.pass=t.pass||"",this.host=t.host,this.port=t.port||"",this.path=t.path||"",this.projectId=t.projectId},wt.prototype.Y=function(){var e=this;if(["protocol","user","host","projectId"].forEach(function(t){if(!e[t])throw new g("Invalid Dsn")}),"http"!==this.protocol&&"https"!==this.protocol)throw new g("Invalid Dsn");if(this.port&&Number.isNaN(parseInt(this.port,10)))throw new g("Invalid Dsn")},wt),yt=(xt.prototype.getDsn=function(){return this.nn},xt.prototype.getStoreEndpoint=function(){return""+this.tn()+this.getStoreEndpointPath()},xt.prototype.getStoreEndpointWithUrlEncodedAuth=function(){var e,t={sentry_key:this.nn.user,sentry_version:"7"};return this.getStoreEndpoint()+"?"+(e=t,Object.keys(e).map(function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])}).join("&"))},xt.prototype.tn=function(){var t=this.nn,e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n},xt.prototype.getStoreEndpointPath=function(){var t=this.nn;return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},xt.prototype.getRequestHeaders=function(t,e){var n=this.nn,r=["Sentry sentry_version=7"];return r.push("sentry_timestamp="+(new Date).getTime()),r.push("sentry_client="+t+"/"+e),r.push("sentry_key="+n.user),n.pass&&r.push("sentry_secret="+n.pass),{"Content-Type":"application/json","X-Sentry-Auth":r.join(", ")}},xt.prototype.getReportDialogEndpoint=function(t){void 0===t&&(t={});var e=this.nn,n=this.tn()+(e.path?"/"+e.path:"")+"/api/embed/error-page/",r=[];for(var i in r.push("dsn="+e.toString()),t)if("user"===i){if(!t.user)continue;t.user.name&&r.push("name="+encodeURIComponent(t.user.name)),t.user.email&&r.push("email="+encodeURIComponent(t.user.email))}else r.push(encodeURIComponent(i)+"="+encodeURIComponent(t[i]));return r.length?n+"?"+r.join("&"):n},xt),bt=[];function xt(t){this.dsn=t,this.nn=new mt(t)}function wt(t){"string"==typeof t?this.K(t):this.Z(t),this.Y()}var Et,_t=(Nt.prototype.captureException=function(t,e,n){var r=this,i=e&&e.event_id;return this.rn=!0,this.cn().eventFromException(t,e).then(function(t){return r.sn(t,e,n)}).then(function(t){i=t&&t.event_id,r.rn=!1}).catch(function(t){H.error(t),r.rn=!1}),i},Nt.prototype.captureMessage=function(t,e,n,r){var i=this,o=n&&n.event_id;return this.rn=!0,(x(t)?this.cn().eventFromMessage(""+t,e,n):this.cn().eventFromException(t,n)).then(function(t){return i.sn(t,n,r)}).then(function(t){o=t&&t.event_id,i.rn=!1}).catch(function(t){H.error(t),i.rn=!1}),o},Nt.prototype.captureEvent=function(t,e,n){var r=this,i=e&&e.event_id;return this.rn=!0,this.sn(t,e,n).then(function(t){i=t&&t.event_id,r.rn=!1}).catch(function(t){H.error(t),r.rn=!1}),i},Nt.prototype.getDsn=function(){return this.on},Nt.prototype.getOptions=function(){return this.in},Nt.prototype.flush=function(t){var n=this;return this.an(t).then(function(e){return clearInterval(e.interval),n.cn().getTransport().close(t).then(function(t){return e.ready&&t})})},Nt.prototype.close=function(t){var e=this;return this.flush(t).then(function(t){return e.getOptions().enabled=!1,t})},Nt.prototype.getIntegrations=function(){return this.un||{}},Nt.prototype.getIntegration=function(e){try{return this.un[e.id]||null}catch(t){return H.warn("Cannot retrieve integration "+e.id+" from the current Client"),null}},Nt.prototype.an=function(r){var i=this;return new Promise(function(t){var e=0,n=0;clearInterval(n),n=setInterval(function(){i.rn?(e+=1,r&&r<=e&&t({interval:n,ready:!1})):t({interval:n,ready:!0})},1)})},Nt.prototype.cn=function(){return this.en},Nt.prototype.fn=function(){return!1!==this.getOptions().enabled&&void 0!==this.on},Nt.prototype.hn=function(t,e,n){var r=this.getOptions(),i=r.environment,o=r.release,a=r.dist,s=r.maxValueLength,c=void 0===s?250:s,u=h({},t);void 0===u.environment&&void 0!==i&&(u.environment=i),void 0===u.release&&void 0!==o&&(u.release=o),void 0===u.dist&&void 0!==a&&(u.dist=a),u.message&&(u.message=z(u.message,c));var l=u.exception&&u.exception.values&&u.exception.values[0];l&&l.value&&(l.value=z(l.value,c));var p=u.request;p&&p.url&&(p.url=z(p.url,c)),void 0===u.event_id&&(u.event_id=S()),this.ln(u.sdk);var f=V.resolve(u);return e&&(f=e.applyToEvent(u,n)),f},Nt.prototype.ln=function(t){var e=Object.keys(this.un);t&&0<e.length&&(t.integrations=e)},Nt.prototype.sn=function(t,o,e){var a=this,n=this.getOptions(),s=n.beforeSend,r=n.sampleRate;return this.fn()?"number"==typeof r&&Math.random()>r?V.reject("This event has been sampled, will not send event."):new V(function(r,i){a.hn(t,e,o).then(function(t){if(null!==t){var e=t;try{if(o&&o.data&&!0===o.data.__sentry__||!s)return a.cn().sendEvent(e),void r(e);var n=s(t,o);if(void 0===n)H.error("`beforeSend` method has to return `null` or a valid event.");else if(E(n))a.vn(n,r,i);else{if(null===(e=n))return H.log("`beforeSend` returned `null`, will not send event."),void r(null);a.cn().sendEvent(e),r(e)}}catch(t){a.captureException(t,{data:{__sentry__:!0},originalException:t}),i("`beforeSend` throw an error, will not send event.")}}else i("An event processor returned null, will not send event.")})}):V.reject("SDK not enabled, will not send event.")},Nt.prototype.vn=function(t,e,n){var r=this;t.then(function(t){null!==t?(r.cn().sendEvent(t),e(t)):n("`beforeSend` returned `null`, will not send event.")}).catch(function(t){n("beforeSend rejected with "+t)})},Nt),Tt=(Ct.prototype.sendEvent=function(t){return Promise.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:l.Status.Skipped})},Ct.prototype.close=function(t){return Promise.resolve(!0)},Ct),St=(kt.prototype.pn=function(){return new Tt},kt.prototype.eventFromException=function(t,e){throw new g("Backend has to implement `eventFromException` method")},kt.prototype.eventFromMessage=function(t,e,n){throw new g("Backend has to implement `eventFromMessage` method")},kt.prototype.sendEvent=function(t){this.dn.sendEvent(t).catch(function(t){H.error("Error while sending event: "+t)})},kt.prototype.getTransport=function(){return this.dn},kt);function kt(t){this.in=t,this.in.dsn||H.warn("No DSN provided, backend will not do anything."),this.dn=this.pn()}function Ct(){}function Nt(t,e){this.rn=!1,this.en=new t(e),(this.in=e).dsn&&(this.on=new mt(e.dsn)),this.un=function(t){var n={};return function(t){var e=t.defaultIntegrations&&c(t.defaultIntegrations)||[],n=t.integrations,r=[];if(Array.isArray(n)){var i=n.map(function(t){return t.name}),o=[];e.forEach(function(t){-1===i.indexOf(t.name)&&-1===o.indexOf(t.name)&&(r.push(t),o.push(t.name))}),n.forEach(function(t){-1===o.indexOf(t.name)&&(r.push(t),o.push(t.name))})}else{if("function"!=typeof n)return c(e);r=n(e),r=Array.isArray(r)?r:[r]}return r}(t).forEach(function(t){var e;n[t.name]=t,e=t,-1===bt.indexOf(e.name)&&(e.setupOnce(rt,ut),bt.push(e.name),H.log("Integration installed: "+e.name))}),n}(this.in)}var At,jt,Ot,Dt,Lt,Ht=(Wt.prototype.setupOnce=function(){Et=Function.prototype.toString,Function.prototype.toString=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=this.__sentry__?this.__sentry_original__:this;return Et.apply(n,t)}},Wt.id="FunctionToString",Wt),$t=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Rt=(Bt.prototype.setupOnce=function(){rt(function(t){var e=ut();if(!e)return t;var n=e.getIntegration(Bt);if(n){var r=e.getClient(),i=r?r.getOptions():{},o=n.mn(i);if(n.yn(t,o))return null}return t})},Bt.prototype.yn=function(t,e){return this.bn(t,e)?(H.warn("Event dropped due to being internal Sentry Error.\nEvent: "+C(t)),!0):this.wn(t,e)?(H.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+C(t)),!0):this.gn(t,e)?(H.warn("Event dropped due to being matched by `blacklistUrls` option.\nEvent: "+C(t)+".\nUrl: "+this.En(t)),!0):!this.xn(t,e)&&(H.warn("Event dropped due to not being matched by `whitelistUrls` option.\nEvent: "+C(t)+".\nUrl: "+this.En(t)),!0)},Bt.prototype.bn=function(t,e){if(void 0===e&&(e={}),!e.ignoreInternal)return!1;try{return"SentryError"===t.exception.values[0].type}catch(t){return!1}},Bt.prototype.wn=function(t,n){return void 0===n&&(n={}),!(!n.ignoreErrors||!n.ignoreErrors.length)&&this.jn(t).some(function(e){return n.ignoreErrors.some(function(t){return Y(e,t)})})},Bt.prototype.gn=function(t,e){if(void 0===e&&(e={}),!e.blacklistUrls||!e.blacklistUrls.length)return!1;var n=this.En(t);return!!n&&e.blacklistUrls.some(function(t){return Y(n,t)})},Bt.prototype.xn=function(t,e){if(void 0===e&&(e={}),!e.whitelistUrls||!e.whitelistUrls.length)return!0;var n=this.En(t);return!n||e.whitelistUrls.some(function(t){return Y(n,t)})},Bt.prototype.mn=function(t){return void 0===t&&(t={}),{blacklistUrls:c(this.in.blacklistUrls||[],t.blacklistUrls||[]),ignoreErrors:c(this.in.ignoreErrors||[],t.ignoreErrors||[],$t),ignoreInternal:void 0===this.in.ignoreInternal||this.in.ignoreInternal,whitelistUrls:c(this.in.whitelistUrls||[],t.whitelistUrls||[])}},Bt.prototype.jn=function(t){if(t.message)return[t.message];if(t.exception)try{var e=t.exception.values[0],n=e.type,r=e.value;return[""+r,n+": "+r]}catch(e){return H.error("Cannot extract message for event "+C(t)),[]}return[]},Bt.prototype.En=function(t){try{if(t.stacktrace){var e=t.stacktrace.frames;return e[e.length-1].filename}if(t.exception){var n=t.exception.values[0].stacktrace.frames;return n[n.length-1].filename}return null}catch(e){return H.error("Cannot extract url for event "+C(t)),null}},Bt.id="InboundFilters",Bt),Ft=Object.freeze({FunctionToString:Ht,InboundFilters:Rt}),Pt=T(),Mt={_n:!1,Sn:!1,On:!1,kn:!1},qt="?",It=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function Bt(t){void 0===t&&(t={}),this.in=t,this.name=Bt.id}function Wt(){this.name=Wt.id}function Ut(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zt(){return"undefined"==typeof document||null==document.location?"":document.location.href}function Xt(t){if(!t||!t.stack)return null;for(var e,n,r,i=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,o=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,a=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,c=/\((\S*)(?::(\d+))(?::(\d+))\)/,u=t.stack.split("\n"),l=[],p=/^(.*) is undefined$/.exec(t.message),f=0,h=u.length;f<h;++f){if(n=i.exec(u[f])){var d=n[2]&&0===n[2].indexOf("native");n[2]&&0===n[2].indexOf("eval")&&(e=c.exec(n[2]))&&(n[2]=e[1],n[3]=e[2],n[4]=e[3]),r={url:n[2],func:n[1]||qt,args:d?[n[2]]:[],line:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}else if(n=a.exec(u[f]))r={url:n[2],func:n[1]||qt,args:[],line:+n[3],column:n[4]?+n[4]:null};else{if(!(n=o.exec(u[f])))continue;n[3]&&-1<n[3].indexOf(" > eval")&&(e=s.exec(n[3]))?(n[1]=n[1]||"eval",n[3]=e[1],n[4]=e[2],n[5]=""):0!==f||n[5]||void 0===t.columnNumber||(l[0].column=t.columnNumber+1),r={url:n[3],func:n[1]||qt,args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}!r.func&&r.line&&(r.func=qt),r.context=null,l.push(r)}return l.length?(l[0]&&l[0].line&&!l[0].column&&p&&(l[0].column=null),{mode:"stack",name:t.name,message:t.message,stack:l}):null}function Yt(t,e,n,r){var i={url:e,line:n};if(i.url&&i.line){if(t.incomplete=!1,i.func||(i.func=qt),i.context||(i.context=null),/ '([^']+)' /.exec(r)&&(i.column=null),0<t.stack.length&&t.stack[0].url===i.url){if(t.stack[0].line===i.line)return!1;if(!t.stack[0].line&&t.stack[0].func===i.func)return t.stack[0].line=i.line,t.stack[0].context=i.context,!1}return t.stack.unshift(i),t.partial=!0}return!(t.incomplete=!0)}function Jt(t,e){for(var n,r,i=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,o=[],a={},s=!1,c=Jt.caller;c&&!s;c=c.caller)if(c!==ie&&c!==Mt._n){if(r={url:null,func:qt,args:[],line:null,column:null},c.name?r.func=c.name:(n=i.exec(c.toString()))&&(r.func=n[1]),void 0===r.func)try{r.func=n.input.substring(0,n.input.indexOf("{"))}catch(t){}a[""+c]?s=!0:a[""+c]=!0,o.push(r)}e&&o.splice(0,e);var u={mode:"callers",name:t.name,message:t.message,stack:o};return Yt(u,t.sourceURL||t.fileName,t.line||t.lineNumber,t.message||t.description),u}function Vt(t,e){var n=null;e=null==e?0:+e;try{if(n=function(t){var e=t.stacktrace;if(e){for(var n,r=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,i=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,o=e.split("\n"),a=[],s=0;s<o.length;s+=2){var c=null;(n=r.exec(o[s]))?c={url:n[2],line:+n[1],column:null,func:n[3],args:[]}:(n=i.exec(o[s]))&&(c={url:n[6],line:+n[1],column:+n[2],func:n[3]||n[4],args:n[5]?n[5].split(","):[]}),c&&(!c.func&&c.line&&(c.func=qt),c.line&&(c.context=null),c.context||(c.context=[o[s+1]]),a.push(c))}return a.length?{mode:"stacktrace",name:t.name,message:t.message,stack:a}:null}}(t))return n}catch(t){}try{if(n=Xt(t))return n}catch(t){}try{if(n=function(t){var e=t.message.split("\n");if(e.length<4)return null;var n,r=/^\s*Line (\d+) of linked script ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,i=/^\s*Line (\d+) of inline#(\d+) script in ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,o=/^\s*Line (\d+) of function script\s*$/i,a=[],s=Pt&&Pt.document&&Pt.document.getElementsByTagName("script"),c=[];for(var u in s)Ut(s,u)&&!s[u].src&&c.push(s[u]);for(var l=2;l<e.length;l+=2){var p=null;(n=r.exec(e[l]))?p={url:n[2],func:n[3],args:[],line:+n[1],column:null}:(n=i.exec(e[l]))?p={url:n[3],func:n[4],args:[],line:+n[1],column:null}:(n=o.exec(e[l]))&&(p={url:zt().replace(/#.*$/,""),func:"",args:[],line:n[1],column:null}),p&&(p.func||(p.func=qt),p.context=[e[l+1]],a.push(p))}return a.length?{mode:"multiline",name:t.name,message:e[0],stack:a}:null}(t))return n}catch(t){}try{if(n=Jt(t,e+1))return n}catch(t){}return{original:t,name:t.name,message:t.message,mode:"failed"}}function Gt(t,e,n){var r=null;if(!e||Mt.Sn){for(var i in Ot)if(Ut(Ot,i))try{Ot[i](t,e,n)}catch(t){r=t}if(r)throw r}}function Qt(t,e,n,r,i){var o=null;if(i=m(i)?i.error:i,t=m(t)?t.message:t,Lt)Mt.On.Tn(Lt,e,n,t),Zt();else if(i&&v(i))(o=Mt.On(i)).mechanism="onerror",Gt(o,!0,i);else{var a,s={url:e,line:n,column:r},c=t;if("[object String]"==={}.toString.call(t)){var u=t.match(It);u&&(a=u[1],c=u[2])}s.func=qt,s.context=null,Gt(o={name:a,message:c,mode:"onerror",mechanism:"onerror",stack:[h({},s,{url:s.url||zt()})]},!0,null)}return!!At&&At.apply(this,arguments)}function Kt(t){var e=t&&(t.detail?t.detail.reason:t.reason)||t,n=Mt.On(e);n.mechanism="onunhandledrejection",n.message||(n.message=JSON.stringify(q(e))),Gt(n,!0,e)}function Zt(){var t=Lt,e=Dt;Dt=Lt=null,Gt(t,!1,e)}function te(t){if(Lt){if(Dt===t)return;Zt()}var e=Mt.On(t);throw Lt=e,Dt=t,setTimeout(function(){Dt===t&&Zt()},e.incomplete?2e3:0),t}Mt._n=(Ot=[],Lt=Dt=null,te.Rn=function(t){Ot.push(t)},te.Dn=function(){!0!==jt&&(At=Pt.onerror,Pt.onerror=Qt,jt=!0)},te.In=function(){Pt.onunhandledrejection=Kt},te),Mt.On=(Vt.Tn=Yt,Vt.Cn=Xt,Vt),Mt.Sn=!0,Mt.kn=11;var ee=Mt._n.Rn,ne=Mt._n.Dn,re=Mt._n.In,ie=Mt.On,oe=50;function ae(t){var e=ce(t.stack),n={type:t.name,value:t.message};return e&&e.length&&(n.stacktrace={frames:e}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function se(t){return{exception:{values:[ae(t)]}}}function ce(t){if(!t||!t.length)return[];var e=t,n=e[0].func||"",r=e[e.length-1].func||"";return(n.includes("captureMessage")||n.includes("captureException"))&&(e=e.slice(1)),r.includes("sentryWrapped")&&(e=e.slice(0,-1)),e.map(function(t){return{colno:t.column,filename:t.url||e[0].url,function:t.func||"?",in_app:!0,lineno:t.line}}).slice(0,oe).reverse()}var ue,le,pe,fe,he,de,ge=(Ne.prototype.sendEvent=function(t){throw new g("Transport Class has to implement `sendEvent` method")},Ne.prototype.close=function(t){return this.h.drain(t)},Ne),ve=T(),me=(t(Ce,de=ge),Ce.prototype.sendEvent=function(t){var e={body:JSON.stringify(t),method:"POST",referrerPolicy:function(){if(!J())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(t){return!1}}()?"origin":""};return this.h.add(ve.fetch(this.url,e).then(function(t){return{status:l.Status.fromHttpCode(t.status)}}))},Ce),ye=(t(ke,he=ge),ke.prototype.sendEvent=function(r){var i=this;return this.h.add(new Promise(function(t,e){var n=new XMLHttpRequest;n.onreadystatechange=function(){4===n.readyState&&(200===n.status&&t({status:l.Status.fromHttpCode(n.status)}),e(n))},n.open("POST",i.url),n.send(JSON.stringify(r))}))},ke),be=Object.freeze({BaseTransport:ge,FetchTransport:me,XHRTransport:ye}),xe=(t(Se,fe=St),Se.prototype.pn=function(){if(!this.in.dsn)return fe.prototype.pn.call(this);var t=h({},this.in.transportOptions,{dsn:this.in.dsn});return this.in.transport?new this.in.transport(t):J()?new me(t):new ye(t)},Se.prototype.eventFromException=function(t,e){var n,r,i=this;if(m(t)&&t.error)return t=t.error,n=se(ie(t)),V.resolve(this.Nn(n,e));if(y(t)||(r=t,"[object DOMException]"===Object.prototype.toString.call(r))){var o=t,a=o.name||(y(o)?"DOMError":"DOMException"),s=o.message?a+": "+o.message:a;return this.eventFromMessage(s,l.Severity.Error,e).then(function(t){return A(t,s),V.resolve(i.Nn(t,e))})}if(v(t))return n=se(ie(t)),V.resolve(this.Nn(n,e));if(w(t)&&e&&e.syntheticException)return A(n=function(t,e){var n=Object.keys(t).sort(),r={extra:{__serialized__:P(t)},message:"Non-Error exception captured with keys: "+function(t,e){if(void 0===e&&(e=40),!t.length)return"[object has no keys]";if(t[0].length>=e)return z(t[0],e);for(var n=t.length;0<n;n--){var r=t.slice(0,n).join(", ");if(!(r.length>e))return n===t.length?r:z(r,e)}return""}(n)};if(e){var i=ce(ie(e).stack);r.stacktrace={frames:i}}return r}(t,e.syntheticException),"Custom Object",void 0,{handled:!0,synthetic:!0,type:"generic"}),n.level=l.Severity.Error,V.resolve(this.Nn(n,e));var c=t;return this.eventFromMessage(c,void 0,e).then(function(t){return A(t,""+c,void 0,{handled:!0,synthetic:!0,type:"generic"}),t.level=l.Severity.Error,V.resolve(i.Nn(t,e))})},Se.prototype.Nn=function(t,e){return h({},t,{event_id:e&&e.event_id})},Se.prototype.eventFromMessage=function(t,e,n){void 0===e&&(e=l.Severity.Info);var r={event_id:n&&n.event_id,level:e,message:t};if(this.in.attachStacktrace&&n&&n.syntheticException){var i=ce(ie(n.syntheticException).stack);r.stacktrace={frames:i}}return V.resolve(r)},Se),we="sentry.javascript.browser",Ee=(t(Te,pe=_t),Te.prototype.hn=function(t,e,n){return t.platform=t.platform||"javascript",t.sdk=h({},t.sdk,{name:we,packages:c(t.sdk&&t.sdk.packages||[],[{name:"npm:@sentry/browser",version:"5.5.0"}]),version:"5.5.0"}),pe.prototype.hn.call(this,t,e,n)},Te.prototype.showReportDialog=function(t){void 0===t&&(t={});var e=T().document;if(e)if(this.fn()){var n=t.dsn||this.getDsn();if(t.eventId)if(n){var r=e.createElement("script");r.async=!0,r.src=new yt(n).getReportDialogEndpoint(t),t.onLoad&&(r.onload=t.onLoad),(e.head||e.body).appendChild(r)}else H.error("Missing `Dsn` option in showReportDialog call");else H.error("Missing `eventId` option in showReportDialog call")}else H.error("Trying to call showReportDialog with Sentry Client is disabled")},Te),_e=0;function Te(t){return void 0===t&&(t={}),pe.call(this,xe,t)||this}function Se(){return null!==fe&&fe.apply(this,arguments)||this}function ke(){return null!==he&&he.apply(this,arguments)||this}function Ce(){return null!==de&&de.apply(this,arguments)||this}function Ne(t){this.options=t,this.h=new W(30),this.url=new yt(this.options.dsn).getStoreEndpointWithUrlEncodedAuth()}function Ae(e,r,i){if(void 0===r&&(r={}),"function"!=typeof e)return e;try{if(e.__sentry__)return e;if(e.__sentry_wrapped__)return e.__sentry_wrapped__}catch(r){return e}function t(){i&&"function"==typeof i&&i.apply(this,arguments);var n=Array.prototype.slice.call(arguments);try{var t=n.map(function(t){return Ae(t,r)});return e.handleEvent?e.handleEvent.apply(this,t):e.apply(this,t)}catch(e){throw _e+=1,setTimeout(function(){_e-=1}),gt(function(t){t.addEventProcessor(function(t){var e=h({},t);return r.mechanism&&A(e,void 0,void 0,r.mechanism),e.extra=h({},e.extra,{arguments:q(n,3)}),e}),dt(e)}),e}}try{for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}catch(e){}e.prototype=e.prototype||{},t.prototype=e.prototype,Object.defineProperty(e,"__sentry_wrapped__",{enumerable:!1,value:t}),Object.defineProperties(t,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:e}});try{Object.getOwnPropertyDescriptor(t,"name").configurable&&Object.defineProperty(t,"name",{get:function(){return e.name}})}catch(e){}return t}var je=0;function Oe(n,r){return void 0===r&&(r=!1),function(t){if(ue=void 0,t&&le!==t){le=t;function e(){var e;try{e=t.target?Le(t.target):Le(t)}catch(t){e="<unknown>"}0!==e.length&&ut().addBreadcrumb({category:"ui."+n,message:e},{event:t,name:n})}je&&clearTimeout(je),r?je=setTimeout(e):e()}}}function De(){return function(t){var e;try{e=t.target}catch(t){return}var n=e&&e.tagName;n&&("INPUT"===n||"TEXTAREA"===n||e.isContentEditable)&&(ue||Oe("input")(t),clearTimeout(ue),ue=setTimeout(function(){ue=void 0},1e3))}}function Le(t){for(var e,n=t,r=[],i=0,o=0,a=" > ".length;n&&i++<5&&!("html"===(e=He(n))||1<i&&80<=o+r.length*a+e.length);)r.push(e),o+=e.length,n=n.parentNode;return r.reverse().join(" > ")}function He(t){var e,n,r,i,o,a=[];if(!t||!t.tagName)return"";if(a.push(t.tagName.toLowerCase()),t.id&&a.push("#"+t.id),(e=t.className)&&b(e))for(n=e.split(/\s+/),o=0;o<n.length;o++)a.push("."+n[o]);var s=["type","name","title","alt"];for(o=0;o<s.length;o++)r=s[o],(i=t.getAttribute(r))&&a.push("["+r+'="'+i+'"]');return a.join("")}var $e=(Pe.prototype.setupOnce=function(){Error.stackTraceLimit=50,ee(function(t,e,n){if(!(0<_e)){var r=ut().getIntegration(Pe);r&&ut().captureEvent(r.An(t),{data:{stack:t},originalException:n})}}),this.in.onerror&&(H.log("Global Handler attached: onerror"),ne()),this.in.onunhandledrejection&&(H.log("Global Handler attached: onunhandledrejection"),re())},Pe.prototype.An=function(t){if(!b(t.message)&&"onunhandledrejection"!==t.mechanism){var e=t.message;t.message=e.error&&b(e.error.message)?e.error.message:"No error message"}var n=se(t),r={mode:t.mode};t.message&&(r.message=t.message),t.name&&(r.name=t.name);var i=ut().getClient(),o=i&&i.getOptions().maxValueLength||250;return A(n,t.original?z(JSON.stringify(q(t.original)),o):"","onunhandledrejection"===t.mechanism?"UnhandledRejection":"Error",{data:r,handled:!1,type:t.mechanism}),n},Pe.id="GlobalHandlers",Pe),Re=(Fe.prototype.Mn=function(r){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[0];return t[0]=Ae(n,{mechanism:{data:{function:Me(r)},handled:!0,type:"instrument"}}),r.apply(this,t)}},Fe.prototype.Un=function(e){return function(t){return e(Ae(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Me(e)},handled:!0,type:"instrument"}}))}},Fe.prototype.Fn=function(i){var t=T(),e=t[i]&&t[i].prototype;e&&e.hasOwnProperty&&e.hasOwnProperty("addEventListener")&&(F(e,"addEventListener",function(r){return function(t,e,n){try{"function"==typeof e.handleEvent&&(e.handleEvent=Ae(e.handleEvent.bind(e),{mechanism:{data:{function:"handleEvent",handler:Me(e),target:i},handled:!0,type:"instrument"}}))}catch(t){}return r.call(this,t,Ae(e,{mechanism:{data:{function:"addEventListener",handler:Me(e),target:i},handled:!0,type:"instrument"}}),n)}}),F(e,"removeEventListener",function(i){return function(t,e,n){var r=e;try{r=r&&(r.__sentry_wrapped__||r)}catch(t){}return i.call(this,t,r,n)}}))},Fe.prototype.setupOnce=function(){this.Ln=this.Ln;var t=T();F(t,"setTimeout",this.Mn.bind(this)),F(t,"setInterval",this.Mn.bind(this)),F(t,"requestAnimationFrame",this.Un.bind(this)),["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"].forEach(this.Fn.bind(this))},Fe.id="TryCatch",Fe);function Fe(){this.Ln=0,this.name=Fe.id}function Pe(t){this.name=Pe.id,this.in=h({onerror:!0,onunhandledrejection:!0},t)}function Me(t){try{return t&&t.name||"<anonymous>"}catch(t){return"<anonymous>"}}var qe,Ie=T(),Be=(We.prototype.Pn=function(){"console"in Ie&&["debug","info","warn","error","log","assert"].forEach(function(i){i in Ie.console&&F(Ie.console,i,function(r){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n={category:"console",data:{extra:{arguments:q(t,3)},logger:"console"},level:l.Severity.fromString(i),message:X(t," ")};"assert"===i&&!1===t[0]&&(n.message="Assertion failed: "+(X(t.slice(1)," ")||"console.assert"),n.data.extra.arguments=q(t.slice(1),3)),We.addBreadcrumb(n,{input:t,level:i}),r&&Function.prototype.apply.call(r,Ie.console,t)}})})},We.prototype.$n=function(){"document"in Ie&&(Ie.document.addEventListener("click",Oe("click"),!1),Ie.document.addEventListener("keypress",De(),!1),["EventTarget","Node"].forEach(function(t){var e=Ie[t]&&Ie[t].prototype;e&&e.hasOwnProperty&&e.hasOwnProperty("addEventListener")&&(F(e,"addEventListener",function(r){return function(t,e,n){return e&&e.handleEvent?("click"===t&&F(e,"handleEvent",function(e){return function(t){return Oe("click")(t),e.call(this,t)}}),"keypress"===t&&F(e,"handleEvent",function(e){return function(t){return De()(t),e.call(this,t)}})):("click"===t&&Oe("click",!0)(this),"keypress"===t&&De()(this)),r.call(this,t,e,n)}}),F(e,"removeEventListener",function(i){return function(t,e,n){var r=e;try{r=r&&(r.__sentry_wrapped__||r)}catch(t){}return i.call(this,t,r,n)}}))}))},We.prototype.qn=function(){!function(){if(!J())return!1;function t(t){return-1!==t.toString().indexOf("native")}var e=T(),n=null,r=e.document;if(r){var i=r.createElement("iframe");i.hidden=!0;try{r.head.appendChild(i),i.contentWindow&&i.contentWindow.fetch&&(n=t(i.contentWindow.fetch)),r.head.removeChild(i)}catch(t){H.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}}return null===n&&(n=t(e.fetch)),n}()||F(Ie,"fetch",function(u){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n,r=e[0],i="GET";"string"==typeof r?n=r:"Request"in Ie&&r instanceof Request?(n=r.url,r.method&&(i=r.method)):n=String(r),e[1]&&e[1].method&&(i=e[1].method);var o=ut().getClient(),a=o&&o.getDsn();if(a){var s=new yt(a).getStoreEndpoint();if(s&&n.includes(s))return"POST"===i&&e[1]&&e[1].body&&Ue(e[1].body),u.apply(Ie,e)}var c={method:i,url:n};return u.apply(Ie,e).then(function(t){return c.status_code=t.status,We.addBreadcrumb({category:"fetch",data:c,type:"http"},{input:e,response:t}),t}).catch(function(t){throw We.addBreadcrumb({category:"fetch",data:c,level:l.Severity.Error,type:"http"},{error:t,input:e}),t})}})},We.prototype.Hn=function(){var r=this;if(n=(e=(t=T()).chrome)&&e.app&&e.app.runtime,i="history"in t&&!!t.history.pushState&&!!t.history.replaceState,!n&&i){var t,e,n,i,o=function(t,e){var n=k(Ie.location.href),r=k(e),i=k(t);i.path||(i=n),qe=e,n.protocol===r.protocol&&n.host===r.host&&(e=r.relative),n.protocol===i.protocol&&n.host===i.host&&(t=i.relative),We.addBreadcrumb({category:"navigation",data:{from:t,to:e}})},a=Ie.onpopstate;Ie.onpopstate=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Ie.location.href;if(o(qe,n),a)return a.apply(r,t)},F(Ie.history,"pushState",s),F(Ie.history,"replaceState",s)}function s(r){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=2<t.length?t[2]:void 0;return n&&o(qe,String(n)),r.apply(this,t)}}},We.prototype.Wn=function(){if("XMLHttpRequest"in Ie){var t=XMLHttpRequest.prototype;F(t,"open",function(a){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[1];this.__sentry_xhr__={method:t[0],url:t[1]};var r=ut().getClient(),i=r&&r.getDsn();if(i){var o=new yt(i).getStoreEndpoint();b(n)&&o&&n.includes(o)&&(this.__sentry_own_request__=!0)}return a.apply(this,t)}}),F(t,"send",function(i){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=this;function n(){if(4===r.readyState){if(r.__sentry_own_request__)return;try{r.__sentry_xhr__&&(r.__sentry_xhr__.status_code=r.status)}catch(t){}We.addBreadcrumb({category:"xhr",data:r.__sentry_xhr__,type:"http"},{xhr:r})}}return r.__sentry_own_request__&&Ue(t[0]),["onload","onerror","onprogress"].forEach(function(t){var e,n;(e=t)in(n=r)&&"function"==typeof n[e]&&F(n,e,function(t){return Ae(t,{mechanism:{data:{function:e,handler:t&&t.name||"<anonymous>"},handled:!0,type:"instrument"}})})}),"onreadystatechange"in r&&"function"==typeof r.onreadystatechange?F(r,"onreadystatechange",function(t){return Ae(t,{mechanism:{data:{function:"onreadystatechange",handler:t&&t.name||"<anonymous>"},handled:!0,type:"instrument"}},n)}):r.onreadystatechange=n,i.apply(this,t)}})}},We.addBreadcrumb=function(t,e){ut().getIntegration(We)&&ut().addBreadcrumb(t,e)},We.prototype.setupOnce=function(){this.in.console&&this.Pn(),this.in.dom&&this.$n(),this.in.xhr&&this.Wn(),this.in.fetch&&this.qn(),this.in.history&&this.Hn()},We.id="Breadcrumbs",We);function We(t){this.name=We.id,this.in=h({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}function Ue(t){try{var e=JSON.parse(t);Be.addBreadcrumb({category:"sentry",event_id:e.event_id,level:e.level||l.Severity.fromString("error"),message:C(e)},{event:e})}catch(t){H.error("Error while adding sentry type breadcrumb")}}var ze=(Qe.prototype.setupOnce=function(){rt(function(t,e){var n=ut().getIntegration(Qe);return n?n.Jn(t,e):t})},Qe.prototype.Jn=function(t,e){if(!(t.exception&&t.exception.values&&e&&e.originalException instanceof Error))return t;var n=this.Xn(e.originalException,this.Bn);return t.exception.values=c(n,t.exception.values),t},Qe.prototype.Xn=function(t,e,n){if(void 0===n&&(n=[]),!(t[e]instanceof Error)||n.length+1>=this.s)return n;var r=ae(ie(t[e]));return this.Xn(t[e],e,c([r],n))},Qe.id="LinkedErrors",Qe),Xe=T(),Ye=(Ge.prototype.setupOnce=function(){rt(function(t){if(ut().getIntegration(Ge)){if(!Xe.navigator||!Xe.location)return t;var e=t.request||{};return e.url=e.url||Xe.location.href,e.headers=e.headers||{},e.headers["User-Agent"]=Xe.navigator.userAgent,h({},t,{request:e})}return t})},Ge.id="UserAgent",Ge),Je=Object.freeze({GlobalHandlers:$e,TryCatch:Re,Breadcrumbs:Be,LinkedErrors:ze,UserAgent:Ye}),Ve=[new Rt,new Ht,new Re,new Be,new $e,new ze,new Ye];function Ge(){this.name=Ge.id}function Qe(t){void 0===t&&(t={}),this.name=Qe.id,this.Bn=t.key||"cause",this.s=t.limit||5}var Ke={},Ze=T();Ze.Sentry&&Ze.Sentry.Integrations&&(Ke=Ze.Sentry.Integrations);var tn=h({},Ke,Ft,Je);return l.BrowserClient=Ee,l.Hub=ot,l.Integrations=tn,l.SDK_NAME=we,l.SDK_VERSION="5.5.0",l.Scope=K,l.Span=Q,l.Transports=be,l.addBreadcrumb=function(t){ht("addBreadcrumb",t)},l.addGlobalEventProcessor=rt,l.captureEvent=function(t){return ht("captureEvent",t)},l.captureException=dt,l.captureMessage=function(t,e){var n;try{throw new Error(t)}catch(t){n=t}return ht("captureMessage",t,e,{originalException:t,syntheticException:n})},l.close=function(t){var e=ut().getClient();return e?e.close(t):Promise.reject(!1)},l.configureScope=function(t){ht("configureScope",t)},l.defaultIntegrations=Ve,l.flush=function(t){var e=ut().getClient();return e?e.flush(t):Promise.reject(!1)},l.forceLoad=function(){},l.getCurrentHub=ut,l.getHubFromCarrier=pt,l.init=function(t){if(void 0===t&&(t={}),void 0===t.defaultIntegrations&&(t.defaultIntegrations=Ve),void 0===t.release){var e=T();e.SENTRY_RELEASE&&e.SENTRY_RELEASE.id&&(t.release=e.SENTRY_RELEASE.id)}var n,r;n=Ee,!0===(r=t).debug&&H.enable(),ut().bindClient(new n(r))},l.lastEventId=function(){return ut().lastEventId()},l.onLoad=function(t){t()},l.setContext=function(t,e){ht("setContext",t,e)},l.setExtra=function(t,e){ht("setExtra",t,e)},l.setExtras=function(t){ht("setExtras",t)},l.setTag=function(t,e){ht("setTag",t,e)},l.setTags=function(t){ht("setTags",t)},l.setUser=function(t){ht("setUser",t)},l.showReportDialog=function(t){void 0===t&&(t={}),t.eventId||(t.eventId=ut().lastEventId());var e=ut().getClient();e&&e.showReportDialog(t)},l.withScope=gt,l.wrap=function(t){Ae(t)()},l}({});!function(f){var n,s=window,c=f(s),r={threshold:0,failure_limit:0,event:"scroll",effect:"show",effect_params:null,container:s,data_attribute:"original",data_srcset_attribute:"original-srcset",skip_invisible:!0,appear:h,load:h,vertical_only:!1,check_appear_throttle_time:300,url_rewriter_fn:h,no_fake_img_loader:!1,placeholder_data_img:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC",placeholder_real_img:"http://ditu.baidu.cn/yyfm/lazyload/0.0.1/img/placeholder.png"};function h(){}function u(t,e){return(e._$container==c?("innerHeight"in s?s.innerHeight:c.height())+c.scrollTop():e._$container.offset().top+e._$container.height())<=t.offset().top-e.threshold}function l(t,e){return(e._$container==c?c.scrollTop():e._$container.offset().top)>=t.offset().top+e.threshold+t.height()}function i(i,o){var a=0;i.each(function(t,e){var n=i.eq(t);if(!(n.width()<=0&&n.height()<=0||"none"===n.css("display")))if(o.vertical_only)if(l(n,o));else if(u(n,o)){if(++a>o.failure_limit)return!1}else r();else if(l(n,o)||function(t,e){var n;n=e._$container==c?f.fn.scrollLeft?c.scrollLeft():s.pageXOffset:e._$container.offset().left;return n>=t.offset().left+e.threshold+t.width()}(n,o));else if(u(n,o)||function(t,e){var n;n=e._$container==c?c.width()+(f.fn.scrollLeft?c.scrollLeft():s.pageXOffset):e._$container.offset().left+e._$container.width();return n<=t.offset().left-e.threshold}(n,o)){if(++a>o.failure_limit)return!1}else r();function r(){n.trigger("_lazyload_appear"),a=0}})}function d(n){return n.filter(function(t,e){return!n.eq(t)._lazyload_loadStarted})}n=function(){var e=Object.prototype.toString;return function(t){return e.call(t).replace("[object ","").replace("]","")}}(),f.fn.hasOwnProperty("lazyload")||(f.fn.lazyload=function(u){var t,l,e,p=this;return f.isPlainObject(u)||(u={}),f.each(r,function(t,e){-1!=f.inArray(t,["threshold","failure_limit","check_appear_throttle_time"])?"String"==n(u[t])?u[t]=parseInt(u[t],10):u[t]=e:"container"==t?(u.hasOwnProperty(t)?u[t]==s||u[t]==document?u._$container=c:u._$container=f(u[t]):u._$container=c,delete u.container):!r.hasOwnProperty(t)||u.hasOwnProperty(t)&&n(u[t])==n(r[t])||(u[t]=e)}),t="scroll"==u.event,e=0==u.check_appear_throttle_time?i:function(t,e){var n,r,i,o,a=0;return function(){n=this,r=arguments;var t=new Date-a;return o||(e<=t?s():o=setTimeout(s,e-t)),i};function s(){o=0,a=+new Date,i=t.apply(n,r),r=n=null}}(i,u.check_appear_throttle_time),l=t||"scrollstart"==u.event||"scrollstop"==u.event,p.each(function(t,e){var r=this,i=p.eq(t),n=i.attr("src"),o=i.attr("data-"+u.data_attribute),a=u.url_rewriter_fn==h?o:u.url_rewriter_fn.call(r,i,o),s=i.attr("data-"+u.data_srcset_attribute),c=i.is("img");if(1==i._lazyload_loadStarted||n==a)return i._lazyload_loadStarted=!0,void(p=d(p));i._lazyload_loadStarted=!1,c&&!n&&i.one("error",function(){i.attr("src",u.placeholder_real_img)}).attr("src",u.placeholder_data_img),i.one("_lazyload_appear",function(){var t,e=f.isArray(u.effect_params);function n(){t&&i.hide(),c?(s&&i.attr("srcset",s),a&&i.attr("src",a)):i.css("background-image",'url("'+a+'")'),t&&i[u.effect].apply(i,e?u.effect_params:[]),p=d(p)}i._lazyload_loadStarted||(t="show"!=u.effect&&f.fn[u.effect]&&(!u.effect_params||e&&0==u.effect_params.length),u.appear!=h&&u.appear.call(r,i,p.length,u),i._lazyload_loadStarted=!0,u.no_fake_img_loader||s?(u.load!=h&&i.one("load",function(){u.load.call(r,i,p.length,u)}),n()):f("<img />").one("load",function(){n(),u.load!=h&&u.load.call(r,i,p.length,u)}).attr("src",a))}),l||i.on(u.event,function(){i._lazyload_loadStarted||i.trigger("_lazyload_appear")})}),l&&u._$container.on(u.event,function(){e(p,u)}),c.on("resize load",function(){e(p,u)}),f(function(){e(p,u)}),this})}(window.jQuery||window.Zepto);