gentelella
Version:
Gentelella v4 — free admin template. 60 pages, 20 chart variants, fully interactive inbox & kanban, live theme generator, component playground, PWA-ready. Vite 8, vanilla JS, no Bootstrap, no jQuery.
1 lines • 179 kB
JavaScript
import{n as e}from"./rolldown-runtime-DEgBLETi.js";var t,n,r,o,a=function(e){if(void 0===e||!e.document)throw new Error("jQuery requires a window with a document");var t=[],n=Object.getPrototypeOf,r=t.slice,o=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},a=t.push,i=t.indexOf,s={},l=s.toString,u=s.hasOwnProperty,c=u.toString,f=c.call(Object),d={};function p(e){return null==e?e+"":"object"==typeof e?s[l.call(e)]||"object":typeof e}function h(e){return null!=e&&e===e.window}function g(e){var t=!!e&&e.length,n=p(e);return"function"!=typeof e&&!h(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}var v=e.document,m={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var r,o=(n=n||v).createElement("script");for(r in o.text=e,m)t&&t[r]&&(o[r]=t[r]);n.head.appendChild(o).parentNode&&o.parentNode.removeChild(o)}var b="4.0.0",x=/HTML$/i,w=function(e,t){return new w.fn.init(e,t)};function D(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}w.fn=w.prototype={jquery:b,constructor:w,length:0,toArray:function(){return r.call(this)},get:function(e){return null==e?r.call(this):0>e?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(w.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()}},w.extend=w.fn.extend=function(){var e,t,n,r,o,a,i=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof i&&(u=i,i=arguments[s]||{},s++),"object"!=typeof i&&"function"!=typeof i&&(i={}),s===l&&(i=this,s--);l>s;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&i!==r&&(u&&r&&(w.isPlainObject(r)||(o=Array.isArray(r)))?(n=i[t],a=o&&!Array.isArray(n)?[]:o||w.isPlainObject(n)?n:{},o=!1,i[t]=w.extend(u,a,r)):void 0!==r&&(i[t]=r));return i},w.extend({expando:"jQuery"+(b+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,r;return!(!e||"[object Object]"!==l.call(e)||(t=n(e))&&("function"!=typeof(r=u.call(t,"constructor")&&t.constructor)||c.call(r)!==f))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){y(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(g(e))for(n=e.length;n>r&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,o=e.nodeType;if(!o)for(;t=e[r++];)n+=w.text(t);return 1===o||11===o?e.textContent:9===o?e.documentElement.textContent:3===o||4===o?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(g(Object(e))?w.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},isXMLDoc:function(e){var t=e&&(e.ownerDocument||e).documentElement;return!x.test(e&&e.namespaceURI||t&&t.nodeName||"HTML")},contains:function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;n>r;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,a=e.length,i=!n;a>o;o++)!t(e[o],o)!==i&&r.push(e[o]);return r},map:function(e,t,n){var r,a,i=0,s=[];if(g(e))for(r=e.length;r>i;i++)null!=(a=t(e[i],i,n))&&s.push(a);else for(i in e)null!=(a=t(e[i],i,n))&&s.push(a);return o(s)},guid:1,support:d}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=t[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){s["[object "+t+"]"]=t.toLowerCase()});var T=t.pop,S="[\\x20\\t\\r\\n\\f]",C=v.documentMode,_=C&&new RegExp(":enabled|:disabled|\\["+S+"*name"+S+"*="+S+"*(?:''|\"\")"),A=new RegExp("^"+S+"+|((?:^|[^\\\\])(?:\\\\.)*)"+S+"+$","g"),j="(?:\\\\[\\da-fA-F]{1,6}"+S+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",N=new RegExp("^"+S+"*([>+~]|"+S+")"+S+"*"),L=new RegExp(S+"|>"),E=/[+~]/,O=v.documentElement,k=O.matches||O.msMatchesSelector;function I(){var e=[];return function t(n,r){return e.push(n+" ")>w.expr.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function R(e){return e&&void 0!==e.getElementsByTagName&&e}var F="\\["+S+"*("+j+")(?:"+S+"*([*^$|!~]?=)"+S+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+j+"))|)"+S+"*\\]",P=":("+j+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",H={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+S+"*(even|odd|(([+-]|)(\\d*)n|)"+S+"*(?:([+-]|)"+S+"*(\\d+)|))"+S+"*\\)|)","i")},M=new RegExp(P),q=new RegExp("\\\\[\\da-fA-F]{1,6}"+S+"?|\\\\([^\\r\\n\\f])","g"),W=function(e,t){var n="0x"+e.slice(1)-65536;return t||(0>n?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))};function $(e){return e.replace(q,W)}function B(e){w.error("Syntax error, unrecognized expression: "+e)}var X=new RegExp("^"+S+"*,"+S+"*"),U=I();function V(e,t){var n,r,o,a,i,s,l,u=U[e+" "];if(u)return t?0:u.slice(0);for(i=e,s=[],l=w.expr.preFilter;i;){for(a in n&&!(r=X.exec(i))||(r&&(i=i.slice(r[0].length)||i),s.push(o=[])),n=!1,(r=N.exec(i))&&(n=r.shift(),o.push({value:n,type:r[0].replace(A," ")}),i=i.slice(n.length)),H)!(r=w.expr.match[a].exec(i))||l[a]&&!(r=l[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),i=i.slice(n.length));if(!n)break}return t?i.length:i?B(e):U(e,s).slice(0)}var z={ATTR:function(e){return e[1]=$(e[1]),e[3]=$(e[3]||e[4]||e[5]||""),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||B(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&B(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return H.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&M.test(n)&&(t=V(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}};function Y(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function G(e,t,n,r,o,a,i){var s=0,l=e.length,u=null==n;if("object"===p(n))for(s in o=!0,n)G(e,t,s,n[s],!0,a,i);else if(void 0!==r&&(o=!0,"function"!=typeof r&&(i=!0),u&&(i?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(w(e),n)})),t))for(;l>s;s++)t(e[s],n,i?r:r.call(e[s],s,t(e[s],n)));return o?e:u?t.call(e):l?t(e[0],n):a}var J=/[^\x20\t\r\n\f]+/g;w.fn.extend({attr:function(e,t){return G(this,w.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,o,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?w.prop(e,t,n):(1===a&&w.isXMLDoc(e)||(o=w.attrHooks[t.toLowerCase()]),void 0!==n?null===n||!1===n&&0!==t.toLowerCase().indexOf("aria-")?void w.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=e.getAttribute(t))?void 0:r)},attrHooks:{},removeAttr:function(e,t){var n,r=0,o=t&&t.match(J);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),C&&(w.attrHooks.type={set:function(e,t){if("radio"===t&&D(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}});var Z=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Q(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}w.escapeSelector=function(e){return(e+"").replace(Z,Q)};var K,ee=t.sort,te=t.splice;function ne(e,t){if(e===t)return K=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)?e==v||e.ownerDocument==v&&w.contains(v,e)?-1:t==v||t.ownerDocument==v&&w.contains(v,t)?1:0:4&n?-1:1)}w.uniqueSort=function(e){var t,n=[],r=0,o=0;if(K=!1,ee.call(e,ne),K){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)te.call(e,n[r],1)}return e},w.fn.uniqueSort=function(){return this.pushStack(w.uniqueSort(r.apply(this)))};var re,oe,ae,ie,se,le=0,ue=0,ce=I(),fe=I(),de=I(),pe=new RegExp(S+"+","g"),he=new RegExp("^"+j+"$"),ge=w.extend({needsContext:new RegExp("^"+S+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+S+"*((?:-\\d)?\\d*)"+S+"*\\)|)(?=[^-]|$)","i")},H),ve=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,be=function(){Ae()},xe=Ne(function(e){return!0===e.disabled&&D(e,"fieldset")},{dir:"parentNode",next:"legend"});function we(e,t,n,r){var o,i,s,l,u,c,f,d=t&&t.ownerDocument,p=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return n;if(!r&&(Ae(t),t=t||ae,se)){if(11!==p&&(u=ye.exec(e)))if(o=u[1]){if(9===p)return(s=t.getElementById(o))&&a.call(n,s),n;if(d&&(s=d.getElementById(o))&&w.contains(t,s))return a.call(n,s),n}else{if(u[2])return a.apply(n,t.getElementsByTagName(e)),n;if((o=u[3])&&t.getElementsByClassName)return a.apply(n,t.getElementsByClassName(o)),n}if(!(de[e+" "]||_&&_.test(e))){if(f=e,d=t,1===p&&(L.test(e)||N.test(e))){for(((d=E.test(e)&&R(t.parentNode)||t)!=t||C)&&((l=t.getAttribute("id"))?l=w.escapeSelector(l):t.setAttribute("id",l=w.expando)),i=(c=V(e)).length;i--;)c[i]=(l?"#"+l:":scope")+" "+Y(c[i]);f=c.join(",")}try{return a.apply(n,d.querySelectorAll(f)),n}catch(h){de(e,!0)}finally{l===w.expando&&t.removeAttribute("id")}}}return Re(e.replace(A,"$1"),t,n,r)}function De(e){return e[w.expando]=!0,e}function Te(e){return function(t){return D(t,"input")&&t.type===e}}function Se(e){return function(t){return(D(t,"input")||D(t,"button"))&&t.type===e}}function Ce(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&xe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function _e(e){return De(function(t){return t=+t,De(function(n,r){for(var o,a=e([],n.length,t),i=a.length;i--;)n[o=a[i]]&&(n[o]=!(r[o]=n[o]))})})}function Ae(e){var t,n=e?e.ownerDocument||e:v;n!=ae&&9===n.nodeType&&(ie=(ae=n).documentElement,se=!w.isXMLDoc(ae),C&&v!=ae&&(t=ae.defaultView)&&t.top!==t&&t.addEventListener("unload",be))}for(re in we.matches=function(e,t){return we(e,null,null,t)},we.matchesSelector=function(e,t){if(Ae(e),se&&!de[t+" "]&&(!_||!_.test(t)))try{return k.call(e,t)}catch(n){de(t,!0)}return we(t,ae,null,[e]).length>0},w.expr={cacheLength:50,createPseudo:De,match:ge,find:{ID:function(e,t){if(void 0!==t.getElementById&&se){var n=t.getElementById(e);return n?[n]:[]}},TAG:function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},CLASS:function(e,t){if(void 0!==t.getElementsByClassName&&se)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:z,filter:{ID:function(e){var t=$(e);return function(e){return e.getAttribute("id")===t}},TAG:function(e){var t=$(e).toLowerCase();return"*"===e?function(){return!0}:function(e){return D(e,t)}},CLASS:function(e){var t=ce[e+" "];return t||(t=new RegExp("(^|"+S+")"+e+"("+S+"|$)"))&&ce(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var o=w.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(pe," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var a="nth"!==e.slice(0,3),i="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var u,c,f,d,p,h=a!==i?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!l&&!s,y=!1;if(g){if(a){for(;h;){for(f=t;f=f[h];)if(s?D(f,v):1===f.nodeType)return!1;p=h="only"===e&&!p&&"nextSibling"}return!0}if(p=[i?g.firstChild:g.lastChild],i&&m){for(y=(d=(u=(c=g[w.expando]||(g[w.expando]={}))[e]||[])[0]===le&&u[1])&&u[2],f=d&&g.childNodes[d];f=++d&&f&&f[h]||(y=d=0)||p.pop();)if(1===f.nodeType&&++y&&f===t){c[e]=[le,d,y];break}}else if(m&&(y=d=(u=(c=t[w.expando]||(t[w.expando]={}))[e]||[])[0]===le&&u[1]),!1===y)for(;(f=++d&&f&&f[h]||(y=d=0)||p.pop())&&(!(s?D(f,v):1===f.nodeType)||!++y||(m&&((c=f[w.expando]||(f[w.expando]={}))[e]=[le,y]),f!==t)););return(y-=o)===r||y%r===0&&y/r>=0}}},PSEUDO:function(e,t){var n=w.expr.pseudos[e]||w.expr.setFilters[e.toLowerCase()]||B("unsupported pseudo: "+e);return n[w.expando]?n(t):n}},pseudos:{not:De(function(e){var t=[],n=[],r=Ie(e.replace(A,"$1"));return r[w.expando]?De(function(e,t,n,o){for(var a,i=r(e,null,o,[]),s=e.length;s--;)(a=i[s])&&(e[s]=!(t[s]=a))}):function(e,o,a){return t[0]=e,r(t,null,a,n),t[0]=null,!n.pop()}}),has:De(function(e){return function(t){return we(e,t).length>0}}),contains:De(function(e){return e=$(e),function(t){return(t.textContent||w.text(t)).indexOf(e)>-1}}),lang:De(function(e){return he.test(e||"")||B("unsupported lang: "+e),e=$(e).toLowerCase(),function(t){var n;do{if(n=se?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===ie},focus:function(e){return e===ae.activeElement&&ae.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:Ce(!1),disabled:Ce(!0),checked:function(e){return D(e,"input")&&!!e.checked||D(e,"option")&&!!e.selected},selected:function(e){return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(6>e.nodeType)return!1;return!0},parent:function(e){return!w.expr.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return ve.test(e.nodeName)},button:function(e){return D(e,"input")&&"button"===e.type||D(e,"button")},text:function(e){return D(e,"input")&&"text"===e.type},first:_e(function(){return[0]}),last:_e(function(e,t){return[t-1]}),eq:_e(function(e,t,n){return[0>n?n+t:n]}),even:_e(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:_e(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:_e(function(e,t,n){var r;for(r=0>n?n+t:n>t?t:n;--r>=0;)e.push(r);return e}),gt:_e(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},w.expr.pseudos.nth=w.expr.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.expr.pseudos[re]=Te(re);for(re in{submit:!0,reset:!0})w.expr.pseudos[re]=Se(re);function je(){}function Ne(e,t,n){var r=t.dir,o=t.next,a=o||r,i=n&&"parentNode"===a,s=ue++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o);return!1}:function(t,n,l){var u,c,f=[le,s];if(l){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||i)if(c=t[w.expando]||(t[w.expando]={}),o&&D(t,o))t=t[r]||t;else{if((u=c[a])&&u[0]===le&&u[1]===s)return f[2]=u[2];if(c[a]=f,f[2]=e(t,n,l))return!0}return!1}}function Le(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function Ee(e,t,n,r,o){for(var a,i=[],s=0,l=e.length,u=null!=t;l>s;s++)(a=e[s])&&(n&&!n(a,r,o)||(i.push(a),u&&t.push(s)));return i}function Oe(e,t,n,r,o,s){return r&&!r[w.expando]&&(r=Oe(r)),o&&!o[w.expando]&&(o=Oe(o,s)),De(function(s,l,u,c){var f,d,p,h,g=[],v=[],m=l.length,y=s||function(e,t,n){for(var r=0,o=t.length;o>r;r++)we(e,t[r],n);return n}(t||"*",u.nodeType?[u]:u,[]),b=!e||!s&&t?y:Ee(y,g,e,u,c);if(n?n(b,h=o||(s?e:m||r)?[]:l,u,c):h=b,r)for(f=Ee(h,v),r(f,[],u,c),d=f.length;d--;)(p=f[d])&&(h[v[d]]=!(b[v[d]]=p));if(s){if(o||e){if(o){for(f=[],d=h.length;d--;)(p=h[d])&&f.push(b[d]=p);o(null,h=[],f,c)}for(d=h.length;d--;)(p=h[d])&&(f=o?i.call(s,p):g[d])>-1&&(s[f]=!(l[f]=p))}}else h=Ee(h===l?h.splice(m,h.length):h),o?o(null,l,h,c):a.apply(l,h)})}function ke(e){for(var t,n,r,o=e.length,a=w.expr.relative[e[0].type],s=a||w.expr.relative[" "],l=a?1:0,u=Ne(function(e){return e===t},s,!0),c=Ne(function(e){return i.call(t,e)>-1},s,!0),f=[function(e,n,r){var o=!a&&(r||n!=oe)||((t=n).nodeType?u(e,n,r):c(e,n,r));return t=null,o}];o>l;l++)if(n=w.expr.relative[e[l].type])f=[Ne(Le(f),n)];else{if((n=w.expr.filter[e[l].type].apply(null,e[l].matches))[w.expando]){for(r=++l;o>r&&!w.expr.relative[e[r].type];r++);return Oe(l>1&&Le(f),l>1&&Y(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(A,"$1"),n,r>l&&ke(e.slice(l,r)),o>r&&ke(e=e.slice(r)),o>r&&Y(e))}f.push(n)}return Le(f)}function Ie(e,t){var n,r=[],o=[],i=fe[e+" "];if(!i){for(t||(t=V(e)),n=t.length;n--;)(i=ke(t[n]))[w.expando]?r.push(i):o.push(i);i=fe(e,function(e,t){var n=t.length>0,r=e.length>0,o=function(o,i,s,l,u){var c,f,d,p=0,h="0",g=o&&[],v=[],m=oe,y=o||r&&w.expr.find.TAG("*",u),b=le+=null==m?1:Math.random()||.1;for(u&&(oe=i==ae||i||u);null!=(c=y[h]);h++){if(r&&c){for(f=0,i||c.ownerDocument==ae||(Ae(c),s=!se);d=e[f++];)if(d(c,i||ae,s)){a.call(l,c);break}u&&(le=b)}n&&((c=!d&&c)&&p--,o&&g.push(c))}if(p+=h,n&&h!==p){for(f=0;d=t[f++];)d(g,v,i,s);if(o){if(p>0)for(;h--;)g[h]||v[h]||(v[h]=T.call(l));v=Ee(v)}a.apply(l,v),u&&!o&&v.length>0&&p+t.length>1&&w.uniqueSort(l)}return u&&(le=b,oe=m),g};return n?De(o):o}(o,r)),i.selector=e}return i}function Re(e,t,n,r){var o,i,s,l,u,c="function"==typeof e&&e,f=!r&&V(e=c.selector||e);if(n=n||[],1===f.length){if((i=f[0]=f[0].slice(0)).length>2&&"ID"===(s=i[0]).type&&9===t.nodeType&&se&&w.expr.relative[i[1].type]){if(!(t=(w.expr.find.ID($(s.matches[0]),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=ge.needsContext.test(e)?0:i.length;o--&&!w.expr.relative[l=(s=i[o]).type];)if((u=w.expr.find[l])&&(r=u($(s.matches[0]),E.test(i[0].type)&&R(t.parentNode)||t))){if(i.splice(o,1),!(e=r.length&&Y(i)))return a.apply(n,r),n;break}}return(c||Ie(e,f))(r,t,!se,n,!t||E.test(e)&&R(t.parentNode)||t),n}function Fe(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&w(e).is(n))break;r.push(e)}return r}function Pe(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}je.prototype=w.expr.pseudos,w.expr.setFilters=new je,Ae(),w.find=we,we.compile=Ie,we.select=Re,we.setDocument=Ae,we.tokenize=V;var He=w.expr.match.needsContext,Me=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function qe(e){return"<"===e[0]&&">"===e[e.length-1]&&e.length>=3}function We(e,t,n){return"function"==typeof t?w.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return i.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;r>t;t++)if(w.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;r>t;t++)w.find(e,o[t],n);return r>1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(We(this,e||[],!1))},not:function(e){return this.pushStack(We(this,e||[],!0))},is:function(e){return!!We(this,"string"==typeof e&&He.test(e)?w(e):e||[],!1).length}});var $e,Be=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t){var n,r;if(!e)return this;if(e.nodeType)return this[0]=e,this.length=1,this;if("function"==typeof e)return void 0!==$e.ready?$e.ready(e):e(w);if(qe(n=e+""))n=[null,e,null];else{if("string"!=typeof e)return w.makeArray(e,this);n=Be.exec(e)}if(!n||!n[1]&&t)return!t||t.jquery?(t||$e).find(e):this.constructor(t).find(e);if(n[1]){if(w.merge(this,w.parseHTML(n[1],(t=t instanceof w?t[0]:t)&&t.nodeType?t.ownerDocument||t:v,!0)),Me.test(n[1])&&w.isPlainObject(t))for(n in t)"function"==typeof this[n]?this[n](t[n]):this.attr(n,t[n]);return this}return(r=v.getElementById(n[2]))&&(this[0]=r,this.length=1),this}).prototype=w.fn,$e=w(v);var Xe=/^(?:parents|prev(?:Until|All))/,Ue={children:!0,contents:!0,next:!0,prev:!0};function Ve(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function ze(e){return e}function Ye(e){throw e}function Ge(e,t,n,r){var o;try{e&&"function"==typeof(o=e.promise)?o.call(e).done(t).fail(n):e&&"function"==typeof(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n(e)}}w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;n>e;e++)if(w.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,o=this.length,a=[],i="string"!=typeof e&&w(e);if(!He.test(e))for(;o>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(i?i.index(n)>-1:1===n.nodeType&&w.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?w.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?i.call(w(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Fe(e,"parentNode")},parentsUntil:function(e,t,n){return Fe(e,"parentNode",n)},next:function(e){return Ve(e,"nextSibling")},prev:function(e){return Ve(e,"previousSibling")},nextAll:function(e){return Fe(e,"nextSibling")},prevAll:function(e){return Fe(e,"previousSibling")},nextUntil:function(e,t,n){return Fe(e,"nextSibling",n)},prevUntil:function(e,t,n){return Fe(e,"previousSibling",n)},siblings:function(e){return Pe((e.parentNode||{}).firstChild,e)},children:function(e){return Pe(e.firstChild)},contents:function(e){return null!=e.contentDocument&&n(e.contentDocument)?e.contentDocument:(D(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,r){var o=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=w.filter(r,o)),this.length>1&&(Ue[e]||w.uniqueSort(o),Xe.test(e)&&o.reverse()),this.pushStack(o)}}),w.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return w.each(e.match(J)||[],function(e,n){t[n]=!0}),t}(e):w.extend({},e);var t,n,r,o,a=[],i=[],s=-1,l=function(){for(o=o||e.once,r=t=!0;i.length;s=-1)for(n=i.shift();++s<a.length;)!1===a[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=a.length,n=!1);e.memory||(n=!1),t=!1,o&&(a=n?[]:"")},u={add:function(){return a&&(n&&!t&&(s=a.length-1,i.push(n)),function t(n){w.each(n,function(n,r){"function"==typeof r?e.unique&&u.has(r)||a.push(r):r&&r.length&&"string"!==p(r)&&t(r)})}(arguments),n&&!t&&l()),this},remove:function(){return w.each(arguments,function(e,t){for(var n;(n=w.inArray(t,a,n))>-1;)a.splice(n,1),n>s||s--}),this},has:function(e){return e?w.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return o=i=[],a=n="",this},disabled:function(){return!a},lock:function(){return o=i=[],n||t||(a=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],i.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,r){var o="function"==typeof e[r[4]]&&e[r[4]];a[r[1]](function(){var e=o&&o.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(t,r,o){var a=0;function i(t,n,r,o){return function(){var s=this,l=arguments,u=function(){var e,u;if(t>=a){if((e=r.apply(s,l))===n.promise())throw new TypeError("Thenable self-resolution");"function"==typeof(u=e&&("object"==typeof e||"function"==typeof e)&&e.then)?o?u.call(e,i(a,n,ze,o),i(a,n,Ye,o)):(a++,u.call(e,i(a,n,ze,o),i(a,n,Ye,o),i(a,n,ze,n.notifyWith))):(r!==ze&&(s=void 0,l=[e]),(o||n.resolveWith)(s,l))}},c=o?u:function(){try{u()}catch(e){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(e,c.error),a>t+1||(r!==Ye&&(s=void 0,l=[e]),n.rejectWith(s,l))}};t?c():(w.Deferred.getErrorHook&&(c.error=w.Deferred.getErrorHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(i(0,e,"function"==typeof o?o:ze,e.notifyWith)),n[1][3].add(i(0,e,"function"==typeof t?t:ze)),n[2][3].add(i(0,e,"function"==typeof r?r:Ye))}).promise()},promise:function(e){return null!=e?w.extend(e,o):o}},a={};return w.each(n,function(e,t){var i=t[2],s=t[5];o[t[1]]=i.add,s&&i.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),i.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=i.fireWith}),o.promise(a),t&&t.call(a,a),a},when:function(e){var t=arguments.length,n=t,o=Array(n),a=r.call(arguments),i=w.Deferred(),s=function(e){return function(n){o[e]=this,a[e]=arguments.length>1?r.call(arguments):n,--t||i.resolveWith(o,a)}};if(1>=t&&(Ge(e,i.done(s(n)).resolve,i.reject,!t),"pending"===i.state()||"function"==typeof(a[n]&&a[n].then)))return i.then();for(;n--;)Ge(a[n],s(n),i.reject);return i.promise()}});var Je=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){t&&Je.test(t.name)&&e.console.warn("jQuery.Deferred exception",t,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var Ze=w.Deferred();function Qe(){v.removeEventListener("DOMContentLoaded",Qe),e.removeEventListener("load",Qe),w.ready()}w.fn.ready=function(e){return Ze.then(e).catch(function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||Ze.resolveWith(v,[w]))}}),w.ready.then=Ze.then,"loading"!==v.readyState?e.setTimeout(w.ready):(v.addEventListener("DOMContentLoaded",Qe),e.addEventListener("load",Qe));var Ke=/-([a-z])/g;function et(e,t){return t.toUpperCase()}function tt(e){return e.replace(Ke,et)}function nt(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function rt(){this.expando=w.expando+rt.uid++}rt.uid=1,rt.prototype={cache:function(e){var t=e[this.expando];return t||(t=Object.create(null),nt(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[tt(t)]=n;else for(r in t)o[tt(r)]=t[r];return n},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][tt(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(tt):(t=tt(t))in r?[t]:t.match(J)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||w.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!w.isEmptyObject(t)}};var ot=new rt,at=new rt,it=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,st=/[A-Z]/g;function lt(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(st,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:it.test(e)?JSON.parse(e):e)}(n)}catch(o){}at.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return at.hasData(e)||ot.hasData(e)},data:function(e,t,n){return at.access(e,t,n)},removeData:function(e,t){at.remove(e,t)},_data:function(e,t,n){return ot.access(e,t,n)},_removeData:function(e,t){ot.remove(e,t)}}),w.fn.extend({data:function(e,t){var n,r,o,a=this[0],i=a&&a.attributes;if(void 0===e){if(this.length&&(o=at.get(a),1===a.nodeType&&!ot.get(a,"hasDataAttrs"))){for(n=i.length;n--;)i[n]&&0===(r=i[n].name).indexOf("data-")&&(r=tt(r.slice(5)),lt(a,r,o[r]));ot.set(a,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){at.set(this,e)}):G(this,function(t){var n;if(a&&void 0===t)return void 0!==(n=at.get(a,e))||void 0!==(n=lt(a,e))?n:void 0;this.each(function(){at.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){at.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return r=ot.get(e,t=(t||"fx")+"queue"),n&&(!r||Array.isArray(n)?r=ot.set(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){var n=w.queue(e,t=t||"fx"),r=n.length,o=n.shift(),a=w._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete a.stop,o.call(e,function(){w.dequeue(e,t)},a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ot.get(e,n)||ot.set(e,n,{empty:w.Callbacks("once memory").add(function(){ot.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),n>arguments.length?w.queue(this[0],e):void 0===t?this:this.each(function(){var n=w.queue(this,e,t);w._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&w.dequeue(this,e)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=w.Deferred(),a=this,i=this.length,s=function(){--r||o.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";i--;)(n=ot.get(a[i],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var ut=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ct=new RegExp("^(?:([+-])=|)("+ut+")([a-z%]*)$","i"),ft=["Top","Right","Bottom","Left"];function dt(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&"none"===w.css(e,"display")}var pt=/^[a-z]/,ht=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;function gt(e){return pt.test(e)&&ht.test(e[0].toUpperCase()+e.slice(1))}function vt(e,t,n,r){var o,a,i=20,s=r?function(){return r.cur()}:function(){return w.css(e,t,"")},l=s(),u=n&&n[3]||(gt(t)?"px":""),c=e.nodeType&&(!gt(t)||"px"!==u&&+l)&&ct.exec(w.css(e,t));if(c&&c[3]!==u){for(u=u||c[3],c=+(l/=2)||1;i--;)w.style(e,t,c+u),(1-a)*(1-(a=s()/l||.5))>0||(i=0),c/=a;w.style(e,t,(c*=2)+u),n=n||[]}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=o)),o}var mt=/^-ms-/;function yt(e){return tt(e.replace(mt,"ms-"))}var bt={};function xt(e){var t,n=e.ownerDocument,r=e.nodeName,o=bt[r];return o||(t=n.body.appendChild(n.createElement(r)),o=w.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),bt[r]=o,o)}function wt(e,t){for(var n,r,o=[],a=0,i=e.length;i>a;a++)(r=e[a]).style&&(n=r.style.display,t?("none"===n&&(o[a]=ot.get(r,"display")||null,o[a]||(r.style.display="")),""===r.style.display&&dt(r)&&(o[a]=xt(r))):"none"!==n&&(o[a]="none",ot.set(r,"display",n)));for(a=0;i>a;a++)null!=o[a]&&(e[a].style.display=o[a]);return e}w.fn.extend({show:function(){return wt(this,!0)},hide:function(){return wt(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){dt(this)?w(this).show():w(this).hide()})}});var Dt=function(e){return w.contains(e.ownerDocument,e)||e.getRootNode(Tt)===e.ownerDocument},Tt={composed:!0};O.getRootNode||(Dt=function(e){return w.contains(e.ownerDocument,e)});var St=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ct={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};function _t(e,n){var r;return r=void 0!==e.getElementsByTagName?t.slice.call(e.getElementsByTagName(n||"*")):void 0!==e.querySelectorAll?e.querySelectorAll(n||"*"):[],void 0===n||n&&D(e,n)?w.merge([e],r):r}Ct.tbody=Ct.tfoot=Ct.colgroup=Ct.caption=Ct.thead,Ct.th=Ct.td;var At=/^$|^module$|\/(?:java|ecma)script/i;function jt(e,t){for(var n=0,r=e.length;r>n;n++)ot.set(e[n],"globalEval",!t||ot.get(t[n],"globalEval"))}var Nt=/<|&#?\w+;/;function Lt(e,n,r,o,a){for(var i,s,l,u,c,f,d=n.createDocumentFragment(),h=[],v=0,m=e.length;m>v;v++)if((i=e[v])||0===i)if("object"===p(i)&&(i.nodeType||g(i)))w.merge(h,i.nodeType?[i]:i);else if(Nt.test(i)){for(s=s||d.appendChild(n.createElement("div")),l=(St.exec(i)||["",""])[1].toLowerCase(),f=(u=Ct[l]||t).length;--f>-1;)s=s.appendChild(n.createElement(u[f]));s.innerHTML=w.htmlPrefilter(i),w.merge(h,s.childNodes),(s=d.firstChild).textContent=""}else h.push(n.createTextNode(i));for(d.textContent="",v=0;i=h[v++];)if(o&&w.inArray(i,o)>-1)a&&a.push(i);else if(c=Dt(i),s=_t(d.appendChild(i),"script"),c&&jt(s),r)for(f=0;i=s[f++];)At.test(i.type||"")&&r.push(i);return d}function Et(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ot(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function kt(e,t,n,r){t=o(t);var a,i,s,l,u,c,f=0,d=e.length,p=d-1,h=t[0];if("function"==typeof h)return e.each(function(o){var a=e.eq(o);t[0]=h.call(this,o,a.html()),kt(a,t,n,r)});if(d&&(i=(a=Lt(t,e[0].ownerDocument,!1,e,r)).firstChild,1===a.childNodes.length&&(a=i),i||r)){for(l=(s=w.map(_t(a,"script"),Et)).length;d>f;f++)u=a,f!==p&&(u=w.clone(u,!0,!0),l&&w.merge(s,_t(u,"script"))),n.call(e[f],u,f);if(l)for(c=s[s.length-1].ownerDocument,w.map(s,Ot),f=0;l>f;f++)At.test((u=s[f]).type||"")&&!ot.get(u,"globalEval")&&w.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?w._evalUrl&&!u.noModule&&w._evalUrl(u.src,{nonce:u.nonce,crossOrigin:u.crossOrigin},c):y(u.textContent,u,c))}return e}var It=/^(?:checkbox|radio)$/i,Rt=/^([^.]*)(?:\.(.+)|)/;function Ft(){return!0}function Pt(){return!1}function Ht(e,t,n,r,o,a){var i,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ht(e,s,n,r,t[s],a);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Pt;else if(!o)return e;return 1===a&&(i=o,o=function(e){return w().off(e),i.apply(this,arguments)},o.guid=i.guid||(i.guid=w.guid++)),e.each(function(){w.event.add(this,t,o,r,n)})}function Mt(e,t,n){n?(ot.set(e,t,!1),w.event.add(e,t,{namespace:!1,handler:function(e){var n,o=ot.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(w.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=r.call(arguments),ot.set(this,t,o),this[t](),n=ot.get(this,t),ot.set(this,t,!1),o!==n)return e.stopImmediatePropagation(),e.preventDefault(),n&&n.value}else o.length&&(ot.set(this,t,{value:w.event.trigger(o[0],o.slice(1),this)}),e.stopPropagation(),e.isImmediatePropagationStopped=Ft)}})):void 0===ot.get(e,t)&&w.event.add(e,t,Ft)}w.event={add:function(e,t,n,r,o){var a,i,s,l,u,c,f,d,p,h,g,v=ot.get(e);if(nt(e))for(n.handler&&(n=(a=n).handler,o=a.selector),o&&w.find.matchesSelector(O,o),n.guid||(n.guid=w.guid++),(l=v.events)||(l=v.events=Object.create(null)),(i=v.handle)||(i=v.handle=function(t){return void 0!==w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(J)||[""]).length;u--;)p=g=(s=Rt.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p&&(f=w.event.special[p]||{},f=w.event.special[p=(o?f.delegateType:f.bindType)||p]||{},c=w.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&w.expr.match.needsContext.test(o),namespace:h.join(".")},a),(d=l[p])||((d=l[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,i)||e.addEventListener&&e.addEventListener(p,i)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,c):d.push(c))},remove:function(e,t,n,r,o){var a,i,s,l,u,c,f,d,p,h,g,v=ot.hasData(e)&&ot.get(e);if(v&&(l=v.events)){for(u=(t=(t||"").match(J)||[""]).length;u--;)if(p=g=(s=Rt.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p){for(f=w.event.special[p]||{},d=l[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=a=d.length;a--;)c=d[a],!o&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(a,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));i&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||w.removeEvent(e,p,v.handle),delete l[p])}else for(p in l)w.event.remove(e,p+t[u],n,r,!0);w.isEmptyObject(l)&&ot.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,a,i,s=new Array(arguments.length),l=w.event.fix(e),u=(ot.get(this,"events")||Object.create(null))[l.type]||[],c=w.event.special[l.type]||{};for(s[0]=l,t=1;arguments.length>t;t++)s[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(i=w.event.handlers.call(this,l,u),t=0;(o=i[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(a=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==a.namespace&&!l.rnamespace.test(a.namespace)||(l.handleObj=a,l.data=a.data,void 0!==(r=((w.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,o,a,i,s=[],l=t.delegateCount,u=e.target;if(l&&("click"!==e.type||1>e.button))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(a=[],i={},n=0;l>n;n++)void 0===i[o=(r=t[n]).selector+" "]&&(i[o]=r.needsContext?w(o,this).index(u)>-1:w.find(o,this,null,[u]).length),i[o]&&a.push(r);a.length&&s.push({elem:u,handlers:a})}return u=this,t.length>l&&s.push({elem:u,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:!0,configurable:!0,get:"function"==typeof t?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[w.expando]?e:new w.Event(e)},special:w.extend(Object.create(null),{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return It.test(t.type)&&t.click&&D(t,"input")&&Mt(t,"click",!0),!1},trigger:function(e){var t=this||e;return It.test(t.type)&&t.click&&D(t,"input")&&Mt(t,"click"),!0},_default:function(e){var t=e.target;return It.test(t.type)&&t.click&&D(t,"input")&&ot.get(t,"click")||D(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.preventDefault()}}})},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented?Ft:Pt,this.target=e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:Pt,isPropagationStopped:Pt,isImmediatePropagationStopped:Pt,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ft,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ft,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ft,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},w.event.addProp),w.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){var t=w.event.fix(e);t.type="focusin"===e.type?"focus":"blur",t.isSimulated=!0,t.target===t.currentTarget&&ot.get(this,"handle")(t)}w.event.special[e]={setup:function(){if(Mt(this,e,!0),!C)return!1;this.addEventListener(t,n)},trigger:function(){return Mt(this,e),!0},teardown:function(){if(!C)return!1;this.removeEventListener(t,n)},_default:function(t){return ot.get(t.target,e)},delegateType:t}}),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,o=e.handleObj;return r&&(r===this||w.contains(this,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),w.fn.extend({on:function(e,t,n,r){return Ht(this,e,t,n,r)},one:function(e,t,n,r){return Ht(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,w(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Pt),this.each(function(){w.event.remove(this,e,n,t)})}});var qt=/<script|<style|<link/i;function Wt(e,t){return D(e,"table")&&D(11!==t.nodeType?t:t.firstChild,"tr")&&w(e).children("tbody")[0]||e}function $t(e,t){var n,r,o,a=ot.get(e,"events");if(1===t.nodeType){if(a)for(n in ot.remove(t,"handle events"),a)for(r=0,o=a[n].length;o>r;r++)w.event.add(t,n,a[n][r]);at.hasData(e)&&at.set(t,w.extend({},at.get(e)))}}function Bt(e,t,n){for(var r,o=t?w.filter(t,e):e,a=0;null!=(r=o[a]);a++)n||1!==r.nodeType||w.cleanData(_t(r)),r.parentNode&&(n&&Dt(r)&&jt(_t(r,"script")),r.parentNode.removeChild(r));return e}w.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,a,i,s=e.cloneNode(!0),l=Dt(e);if(C&&(1===e.nodeType||11===e.nodeType)&&!w.isXMLDoc(e))for(i=_t(s),r=0,o=(a=_t(e)).length;o>r;r++)D(i[r],"textarea")&&(i[r].defaultValue=a[r].defaultValue);if(t)if(n)for(a=a||_t(e),i=i||_t(s),r=0,o=a.length;o>r;r++)$t(a[r],i[r]);else $t(e,s);return(i=_t(s,"script")).length>0&&jt(i,!l&&_t(e,"script")),s},cleanData:function(e){for(var t,n,r,o=w.event.special,a=0;void 0!==(n=e[a]);a++)if(nt(n)){if(t=n[ot.expando]){if(t.events)for(r in t.events)o[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[ot.expando]=void 0}n[at.expando]&&(n[at.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Bt(this,e,!0)},remove:function(e){return Bt(this,e)},text:function(e){return G(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return kt(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Wt(this,e).appendChild(e)})},prepend:function(){return kt(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Wt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return kt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return kt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(_t(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return G(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!qt.test(e)&&!Ct[(St.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;r>n;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(_t(t,!1)),t.innerHTML=e);t=0}catch(o){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return kt(this,arguments,function(t){var n=this.parentNode;0>w.inArray(this,e)&&(w.cleanData(_t(this)),n&&n.replaceChild(t,this))},e)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){w.fn[e]=function(e){for(var n,r=[],o=w(e),i=o.length-1,s=0;i>=s;s++)n=s===i?this:this.clone(!0),w(o[s])[t](n),a.apply(r,n);return this.pushStack(r)}});var Xt=new RegExp("^("+ut+")(?!px)[a-z%]+$","i"),Ut=/^--/;function Vt(t){var n=t.ownerDocument.defaultView;return n||(n=e),n.getComputedStyle(t)}function zt(e,t,n){var r,o=Ut.test(t);return(n=n||Vt(e))&&(r=n.getPropertyValue(t)||n[t],o&&r&&(r=r.replace(A,"$1")||void 0),""!==r||Dt(e)||(r=w.style(e,t))),void 0!==r?r+"":r}var Yt=["Webkit","Moz","ms"],Gt=v.createElement("div").style;function Jt(e){return e in Gt?e:function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Yt.length;n--;)if((e=Yt[n]+t)in Gt)return e}(e)||e}var Zt,Qt,Kt=v.createElement("table");function en(){if(Kt&&Kt.style){var t,n=v.createElement("col"),r=v.createElement("tr"),o=v.createElement("td");Kt.style.cssText="position:absolute;left:-11111px;border-collapse:separate;border-spacing:0",r.style.cssText="box-sizing:content-box;border:1px solid;height:1px",o.style.cssText="height:9px;width:9px;padding:0",n.span=2,O.appendChild(Kt).appendChild(n).parentNode.appendChild(r).appendChild(o).parentNode.appendChild(o.cloneNode(!0)),0!==Kt.offsetWidth?(t=e.getComputedStyle(r),Qt=C||18===Math.round(parseFloat(e.getComputedStyle(n).width)),Zt=Math.round(parseFloat(t.height)+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth))===r.offsetHeight,O.removeChild(Kt),Kt=null):O.removeChild(Kt)}}w.extend(d,{reliableTrDimensions:function(){return en(),Zt},reliableColDimensions:function(){return en(),Qt}});var tn={position:"absolute",visibility:"hidden",display:"block"},nn={letterSpacing:"0",fontWeight:"400"};function rn(e,t,n){var r=ct.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function on(e,t,n,r,o,a){var i="width"===t?1:0,s=0,l=0,u=0;if(n===(r?"border":"content"))return 0;for(;4>i;i+=2)"margin"===n&&(u+=w.css(e,n+ft[i],!0,o)),r?("content"===n&&(l-=w.css(e,"padding"+ft[i],!0,o)),"margin"!==n&&(l-=w.css(e,"border"+ft[i]+"Width",!0,o))):(l+=w.css(e,"padding"+ft[i],!0,o),"padding"!==n?l+=w.css(e,"border"+ft[i]+"Width",!0,o):s+=w.css(e,"border"+ft[i]+"Width",!0,o));return r||0>a||(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-l-s-.5))||0),l+u}function an(e,t,n){var r=Vt(e),o=(C||n)&&"border-box"===w.css(e,"boxSizing",!1,r),a=o,i=zt(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Xt.test(i)){if(!n)return i;i="auto"}return("auto"===i||C&&o||!d.reliableColDimensions()&&D(e,"col")||!d.reliableTrDimensions()&&D(e,"tr"))&&e.getClientRects().length&&(o="border-box"===w.css(e,"boxSizing",!1,r),(a=s in e)&&(i=e[s])),(i=parseFloat(i)||0)+on(e,t,n||(o?"border":"content"),a,r,i)+"px"}function sn(e,t,n,r,o){return new sn.prototype.init(e,t,n,r,o)}w.extend({cssHooks:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,i,s=yt(t),l=Ut.test(t),u=e.style;if(l||(t=Jt(s)),i=w.cssHooks[t]||w.cssHooks[s],void 0===n)return i&&"get"in i&&void 0!==(o=i.get(e,!1,r))?o:u[t];"string"==(a=typeof n)&&(o=ct.exec(n))&&o[1]&&(n=vt(e,t,o),a="number"),null!=n&&n==n&&("number"===a&&(n+=o&&o[3]||(gt(s)?"px":"")),C&&""===n&&0===t.indexOf("background")&&(u[t]="inherit"),i&&"set"in i&&void 0===(n=i.set(e,n,r))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var o,a,i,s=yt(t);return Ut.test(t)||(t=Jt(s)),(i=w.cssHooks[t]||w.cssHooks[s])&&"get"in i&&(o=i.get(e,!0,n)),void 0===o&&(o=zt(e,t,r)),"normal"===o&&t in nn&&(o=nn[t]),""===n||n?(a=parseFloat(o),!0===n||isFinite(a)?a||0:o):o}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return"none"===w.css(e,"display")?function(e,t,n){var r,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=a[o];return r}(e,tn,function(){return an(e,t,r)}):an(e,t,r)},set:function(e,n,r){var o,a=Vt(e),i=r&&"border-box"===w.css(e,"boxSizing",!1,a),s=r?on(e,t,r,i,a):0;return s&&(o=ct.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),rn(0,n,s)}}}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,o={},a="string"==typeof n?n.split(" "):[n];4>r;r++)o[e+ft[r]+t]=a[r]||a[r-2]||a[0];return o}},"margin"!==e&&(w.cssHooks[e+t].set=rn)}),w.fn.extend({css:function(e,t){return G(this,function(e,t,n){var r,o,a={},i=0;if(Array.isArray(t)){for(r=Vt(e),o=t.length;o>i;i++)a[t[i]]=w.css(e,t[i],!1,r);return a}return void 0!==n?w.style(e,t,n):w.css(e,t)},e,t,arguments.length>1)}}),w.Tween=sn,(sn.prototype={constructor:sn,init:function(e,t,n,r,o,a){this.elem=e,this.prop=n,this.easing=o||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(gt(n)?"px":"")},cur:function(){var e=sn.propHooks[this.prop];return e&&e.get?e.get(this):sn.propHooks._default.get(this)},run:function(e){var t,n=sn.propHooks[this.prop];return this.pos=t=this.options.duration?w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):sn.propHooks._default.set(this),this}}).init.prototype=sn.prototype,sn.propHooks={_default:{get