universalviewer
Version:
The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎
1 lines • 97.5 kB
JavaScript
import{c as bi}from"./chunk-L67DAW3A.js";var xi=bi((zn,bt)=>{(function(A,g){"use strict";typeof bt=="object"&&typeof bt.exports=="object"?bt.exports=A.document?g(A,!0):function(T){if(!T.document)throw new Error("jQuery requires a window with a document");return g(T)}:g(A)})(typeof window<"u"?window:zn,function(A,g){"use strict";var T=[],E=Object.getPrototypeOf,k=T.slice,$=T.flat?function(e){return T.flat.call(e)}:function(e){return T.concat.apply([],e)},_=T.push,ve=T.indexOf,we={},be=we.toString,it=we.hasOwnProperty,Xt=it.toString,or=Xt.call(Object),z={},I=function(t){return typeof t=="function"&&typeof t.nodeType!="number"},Re=function(t){return t!=null&&t===t.window},B=A.document,ar={type:!0,src:!0,nonce:!0,noModule:!0};function Yt(e,t,n){n=n||B;var r,o,a=n.createElement("script");if(a.text=e,t)for(r in ar)o=t[r]||t.getAttribute&&t.getAttribute(r),o&&a.setAttribute(r,o);n.head.appendChild(a).parentNode.removeChild(a)}function Me(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?we[be.call(e)]||"object":typeof e}var Qt="3.5.0",i=function(e,t){return new i.fn.init(e,t)};i.fn=i.prototype={jquery:Qt,constructor:i,length:0,toArray:function(){return k.call(this)},get:function(e){return e==null?k.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=i.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return i.each(this,e)},map:function(e){return this.pushStack(i.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(k.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(i.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(i.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:_,sort:T.sort,splice:T.splice},i.extend=i.fn.extend=function(){var e,t,n,r,o,a,u=arguments[0]||{},c=1,l=arguments.length,p=!1;for(typeof u=="boolean"&&(p=u,u=arguments[c]||{},c++),typeof u!="object"&&!I(u)&&(u={}),c===l&&(u=this,c--);c<l;c++)if((e=arguments[c])!=null)for(t in e)r=e[t],!(t==="__proto__"||u===r)&&(p&&r&&(i.isPlainObject(r)||(o=Array.isArray(r)))?(n=u[t],o&&!Array.isArray(n)?a=[]:!o&&!i.isPlainObject(n)?a={}:a=n,o=!1,u[t]=i.extend(p,a,r)):r!==void 0&&(u[t]=r));return u},i.extend({expando:"jQuery"+(Qt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!e||be.call(e)!=="[object Object]"?!1:(t=E(e),t?(n=it.call(t,"constructor")&&t.constructor,typeof n=="function"&&Xt.call(n)===or):!0)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){Yt(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(xt(e))for(n=e.length;r<n&&t.call(e[r],r,e[r])!==!1;r++);else for(r in e)if(t.call(e[r],r,e[r])===!1)break;return e},makeArray:function(e,t){var n=t||[];return e!=null&&(xt(Object(e))?i.merge(n,typeof e=="string"?[e]:e):_.call(n,e)),n},inArray:function(e,t,n){return t==null?-1:ve.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r,o=[],a=0,u=e.length,c=!n;a<u;a++)r=!t(e[a],a),r!==c&&o.push(e[a]);return o},map:function(e,t,n){var r,o,a=0,u=[];if(xt(e))for(r=e.length;a<r;a++)o=t(e[a],a,n),o!=null&&u.push(o);else for(a in e)o=t(e[a],a,n),o!=null&&u.push(o);return $(u)},guid:1,support:z}),typeof Symbol=="function"&&(i.fn[Symbol.iterator]=T[Symbol.iterator]),i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){we["[object "+t+"]"]=t.toLowerCase()});function xt(e){var t=!!e&&"length"in e&&e.length,n=Me(e);return I(e)||Re(e)?!1:n==="array"||t===0||typeof t=="number"&&t>0&&t-1 in e}var ke=function(e){var t,n,r,o,a,u,c,l,p,m,C,y,v,D,M,j,J,K,ae,V="sizzle"+1*new Date,R=e.document,ie=0,W=0,G=gt(),et=gt(),dt=gt(),ue=gt(),Le=function(s,f){return s===f&&(C=!0),0},Oe={}.hasOwnProperty,oe=[],Ee=oe.pop,de=oe.push,Ne=oe.push,Pn=oe.slice,qe=function(s,f){for(var d=0,b=s.length;d<b;d++)if(s[d]===f)return d;return-1},Rt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",U="[\\x20\\t\\r\\n\\f]",He="(?:\\\\[\\da-fA-F]{1,6}"+U+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Rn="\\["+U+"*("+He+")(?:"+U+"*([*^$|!~]?=)"+U+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+He+"))|)"+U+"*\\]",Mt=":("+He+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Rn+")*)|.*)\\)|)",oi=new RegExp(U+"+","g"),pt=new RegExp("^"+U+"+|((?:^|[^\\\\])(?:\\\\.)*)"+U+"+$","g"),ai=new RegExp("^"+U+"*,"+U+"*"),Mn=new RegExp("^"+U+"*([>+~]|"+U+")"+U+"*"),ui=new RegExp(U+"|>"),si=new RegExp(Mt),fi=new RegExp("^"+He+"$"),ht={ID:new RegExp("^#("+He+")"),CLASS:new RegExp("^\\.("+He+")"),TAG:new RegExp("^("+He+"|[*])"),ATTR:new RegExp("^"+Rn),PSEUDO:new RegExp("^"+Mt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+U+"*(even|odd|(([+-]|)(\\d*)n|)"+U+"*(?:([+-]|)"+U+"*(\\d+)|))"+U+"*\\)|)","i"),bool:new RegExp("^(?:"+Rt+")$","i"),needsContext:new RegExp("^"+U+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+U+"*((?:-\\d)?\\d*)"+U+"*\\)|)(?=[^-]|$)","i")},ci=/HTML$/i,li=/^(?:input|select|textarea|button)$/i,di=/^h\d$/i,tt=/^[^{]+\{\s*\[native \w/,pi=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,It=/[+~]/,Se=new RegExp("\\\\[\\da-fA-F]{1,6}"+U+"?|\\\\([^\\r\\n\\f])","g"),Ce=function(s,f){var d="0x"+s.slice(1)-65536;return f||(d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,d&1023|56320))},In=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,_n=function(s,f){return f?s==="\0"?"\uFFFD":s.slice(0,-1)+"\\"+s.charCodeAt(s.length-1).toString(16)+" ":"\\"+s},Fn=function(){y()},hi=mt(function(s){return s.disabled===!0&&s.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{Ne.apply(oe=Pn.call(R.childNodes),R.childNodes),oe[R.childNodes.length].nodeType}catch{Ne={apply:oe.length?function(f,d){de.apply(f,Pn.call(d))}:function(f,d){for(var b=f.length,h=0;f[b++]=d[h++];);f.length=b-1}}}function X(s,f,d,b){var h,x,S,w,N,O,L,P=f&&f.ownerDocument,F=f?f.nodeType:9;if(d=d||[],typeof s!="string"||!s||F!==1&&F!==9&&F!==11)return d;if(!b&&(y(f),f=f||v,M)){if(F!==11&&(N=pi.exec(s)))if(h=N[1]){if(F===9)if(S=f.getElementById(h)){if(S.id===h)return d.push(S),d}else return d;else if(P&&(S=P.getElementById(h))&&ae(f,S)&&S.id===h)return d.push(S),d}else{if(N[2])return Ne.apply(d,f.getElementsByTagName(s)),d;if((h=N[3])&&n.getElementsByClassName&&f.getElementsByClassName)return Ne.apply(d,f.getElementsByClassName(h)),d}if(n.qsa&&!ue[s+" "]&&(!j||!j.test(s))&&(F!==1||f.nodeName.toLowerCase()!=="object")){if(L=s,P=f,F===1&&(ui.test(s)||Mn.test(s))){for(P=It.test(s)&&Ft(f.parentNode)||f,(P!==f||!n.scope)&&((w=f.getAttribute("id"))?w=w.replace(In,_n):f.setAttribute("id",w=V)),O=u(s),x=O.length;x--;)O[x]=(w?"#"+w:":scope")+" "+yt(O[x]);L=O.join(",")}try{return Ne.apply(d,P.querySelectorAll(L)),d}catch{ue(s,!0)}finally{w===V&&f.removeAttribute("id")}}}return l(s.replace(pt,"$1"),f,d,b)}function gt(){var s=[];function f(d,b){return s.push(d+" ")>r.cacheLength&&delete f[s.shift()],f[d+" "]=b}return f}function he(s){return s[V]=!0,s}function ge(s){var f=v.createElement("fieldset");try{return!!s(f)}catch{return!1}finally{f.parentNode&&f.parentNode.removeChild(f),f=null}}function _t(s,f){for(var d=s.split("|"),b=d.length;b--;)r.attrHandle[d[b]]=f}function Bn(s,f){var d=f&&s,b=d&&s.nodeType===1&&f.nodeType===1&&s.sourceIndex-f.sourceIndex;if(b)return b;if(d){for(;d=d.nextSibling;)if(d===f)return-1}return s?1:-1}function gi(s){return function(f){var d=f.nodeName.toLowerCase();return d==="input"&&f.type===s}}function yi(s){return function(f){var d=f.nodeName.toLowerCase();return(d==="input"||d==="button")&&f.type===s}}function Wn(s){return function(f){return"form"in f?f.parentNode&&f.disabled===!1?"label"in f?"label"in f.parentNode?f.parentNode.disabled===s:f.disabled===s:f.isDisabled===s||f.isDisabled!==!s&&hi(f)===s:f.disabled===s:"label"in f?f.disabled===s:!1}}function Pe(s){return he(function(f){return f=+f,he(function(d,b){for(var h,x=s([],d.length,f),S=x.length;S--;)d[h=x[S]]&&(d[h]=!(b[h]=d[h]))})})}function Ft(s){return s&&typeof s.getElementsByTagName<"u"&&s}n=X.support={},a=X.isXML=function(s){var f=s.namespaceURI,d=(s.ownerDocument||s).documentElement;return!ci.test(f||d&&d.nodeName||"HTML")},y=X.setDocument=function(s){var f,d,b=s?s.ownerDocument||s:R;return b==v||b.nodeType!==9||!b.documentElement||(v=b,D=v.documentElement,M=!a(v),R!=v&&(d=v.defaultView)&&d.top!==d&&(d.addEventListener?d.addEventListener("unload",Fn,!1):d.attachEvent&&d.attachEvent("onunload",Fn)),n.scope=ge(function(h){return D.appendChild(h).appendChild(v.createElement("div")),typeof h.querySelectorAll<"u"&&!h.querySelectorAll(":scope fieldset div").length}),n.attributes=ge(function(h){return h.className="i",!h.getAttribute("className")}),n.getElementsByTagName=ge(function(h){return h.appendChild(v.createComment("")),!h.getElementsByTagName("*").length}),n.getElementsByClassName=tt.test(v.getElementsByClassName),n.getById=ge(function(h){return D.appendChild(h).id=V,!v.getElementsByName||!v.getElementsByName(V).length}),n.getById?(r.filter.ID=function(h){var x=h.replace(Se,Ce);return function(S){return S.getAttribute("id")===x}},r.find.ID=function(h,x){if(typeof x.getElementById<"u"&&M){var S=x.getElementById(h);return S?[S]:[]}}):(r.filter.ID=function(h){var x=h.replace(Se,Ce);return function(S){var w=typeof S.getAttributeNode<"u"&&S.getAttributeNode("id");return w&&w.value===x}},r.find.ID=function(h,x){if(typeof x.getElementById<"u"&&M){var S,w,N,O=x.getElementById(h);if(O){if(S=O.getAttributeNode("id"),S&&S.value===h)return[O];for(N=x.getElementsByName(h),w=0;O=N[w++];)if(S=O.getAttributeNode("id"),S&&S.value===h)return[O]}return[]}}),r.find.TAG=n.getElementsByTagName?function(h,x){if(typeof x.getElementsByTagName<"u")return x.getElementsByTagName(h);if(n.qsa)return x.querySelectorAll(h)}:function(h,x){var S,w=[],N=0,O=x.getElementsByTagName(h);if(h==="*"){for(;S=O[N++];)S.nodeType===1&&w.push(S);return w}return O},r.find.CLASS=n.getElementsByClassName&&function(h,x){if(typeof x.getElementsByClassName<"u"&&M)return x.getElementsByClassName(h)},J=[],j=[],(n.qsa=tt.test(v.querySelectorAll))&&(ge(function(h){var x;D.appendChild(h).innerHTML="<a id='"+V+"'></a><select id='"+V+"-\r\\' msallowcapture=''><option selected=''></option></select>",h.querySelectorAll("[msallowcapture^='']").length&&j.push("[*^$]="+U+`*(?:''|"")`),h.querySelectorAll("[selected]").length||j.push("\\["+U+"*(?:value|"+Rt+")"),h.querySelectorAll("[id~="+V+"-]").length||j.push("~="),x=v.createElement("input"),x.setAttribute("name",""),h.appendChild(x),h.querySelectorAll("[name='']").length||j.push("\\["+U+"*name"+U+"*="+U+`*(?:''|"")`),h.querySelectorAll(":checked").length||j.push(":checked"),h.querySelectorAll("a#"+V+"+*").length||j.push(".#.+[+~]"),h.querySelectorAll("\\\f"),j.push("[\\r\\n\\f]")}),ge(function(h){h.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var x=v.createElement("input");x.setAttribute("type","hidden"),h.appendChild(x).setAttribute("name","D"),h.querySelectorAll("[name=d]").length&&j.push("name"+U+"*[*^$|!~]?="),h.querySelectorAll(":enabled").length!==2&&j.push(":enabled",":disabled"),D.appendChild(h).disabled=!0,h.querySelectorAll(":disabled").length!==2&&j.push(":enabled",":disabled"),h.querySelectorAll("*,:x"),j.push(",.*:")})),(n.matchesSelector=tt.test(K=D.matches||D.webkitMatchesSelector||D.mozMatchesSelector||D.oMatchesSelector||D.msMatchesSelector))&&ge(function(h){n.disconnectedMatch=K.call(h,"*"),K.call(h,"[s!='']:x"),J.push("!=",Mt)}),j=j.length&&new RegExp(j.join("|")),J=J.length&&new RegExp(J.join("|")),f=tt.test(D.compareDocumentPosition),ae=f||tt.test(D.contains)?function(h,x){var S=h.nodeType===9?h.documentElement:h,w=x&&x.parentNode;return h===w||!!(w&&w.nodeType===1&&(S.contains?S.contains(w):h.compareDocumentPosition&&h.compareDocumentPosition(w)&16))}:function(h,x){if(x){for(;x=x.parentNode;)if(x===h)return!0}return!1},Le=f?function(h,x){if(h===x)return C=!0,0;var S=!h.compareDocumentPosition-!x.compareDocumentPosition;return S||(S=(h.ownerDocument||h)==(x.ownerDocument||x)?h.compareDocumentPosition(x):1,S&1||!n.sortDetached&&x.compareDocumentPosition(h)===S?h==v||h.ownerDocument==R&&ae(R,h)?-1:x==v||x.ownerDocument==R&&ae(R,x)?1:m?qe(m,h)-qe(m,x):0:S&4?-1:1)}:function(h,x){if(h===x)return C=!0,0;var S,w=0,N=h.parentNode,O=x.parentNode,L=[h],P=[x];if(!N||!O)return h==v?-1:x==v?1:N?-1:O?1:m?qe(m,h)-qe(m,x):0;if(N===O)return Bn(h,x);for(S=h;S=S.parentNode;)L.unshift(S);for(S=x;S=S.parentNode;)P.unshift(S);for(;L[w]===P[w];)w++;return w?Bn(L[w],P[w]):L[w]==R?-1:P[w]==R?1:0}),v},X.matches=function(s,f){return X(s,null,null,f)},X.matchesSelector=function(s,f){if(y(s),n.matchesSelector&&M&&!ue[f+" "]&&(!J||!J.test(f))&&(!j||!j.test(f)))try{var d=K.call(s,f);if(d||n.disconnectedMatch||s.document&&s.document.nodeType!==11)return d}catch{ue(f,!0)}return X(f,v,null,[s]).length>0},X.contains=function(s,f){return(s.ownerDocument||s)!=v&&y(s),ae(s,f)},X.attr=function(s,f){(s.ownerDocument||s)!=v&&y(s);var d=r.attrHandle[f.toLowerCase()],b=d&&Oe.call(r.attrHandle,f.toLowerCase())?d(s,f,!M):void 0;return b!==void 0?b:n.attributes||!M?s.getAttribute(f):(b=s.getAttributeNode(f))&&b.specified?b.value:null},X.escape=function(s){return(s+"").replace(In,_n)},X.error=function(s){throw new Error("Syntax error, unrecognized expression: "+s)},X.uniqueSort=function(s){var f,d=[],b=0,h=0;if(C=!n.detectDuplicates,m=!n.sortStable&&s.slice(0),s.sort(Le),C){for(;f=s[h++];)f===s[h]&&(b=d.push(h));for(;b--;)s.splice(d[b],1)}return m=null,s},o=X.getText=function(s){var f,d="",b=0,h=s.nodeType;if(h){if(h===1||h===9||h===11){if(typeof s.textContent=="string")return s.textContent;for(s=s.firstChild;s;s=s.nextSibling)d+=o(s)}else if(h===3||h===4)return s.nodeValue}else for(;f=s[b++];)d+=o(f);return d},r=X.selectors={cacheLength:50,createPseudo:he,match:ht,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(s){return s[1]=s[1].replace(Se,Ce),s[3]=(s[3]||s[4]||s[5]||"").replace(Se,Ce),s[2]==="~="&&(s[3]=" "+s[3]+" "),s.slice(0,4)},CHILD:function(s){return s[1]=s[1].toLowerCase(),s[1].slice(0,3)==="nth"?(s[3]||X.error(s[0]),s[4]=+(s[4]?s[5]+(s[6]||1):2*(s[3]==="even"||s[3]==="odd")),s[5]=+(s[7]+s[8]||s[3]==="odd")):s[3]&&X.error(s[0]),s},PSEUDO:function(s){var f,d=!s[6]&&s[2];return ht.CHILD.test(s[0])?null:(s[3]?s[2]=s[4]||s[5]||"":d&&si.test(d)&&(f=u(d,!0))&&(f=d.indexOf(")",d.length-f)-d.length)&&(s[0]=s[0].slice(0,f),s[2]=d.slice(0,f)),s.slice(0,3))}},filter:{TAG:function(s){var f=s.replace(Se,Ce).toLowerCase();return s==="*"?function(){return!0}:function(d){return d.nodeName&&d.nodeName.toLowerCase()===f}},CLASS:function(s){var f=G[s+" "];return f||(f=new RegExp("(^|"+U+")"+s+"("+U+"|$)"))&&G(s,function(d){return f.test(typeof d.className=="string"&&d.className||typeof d.getAttribute<"u"&&d.getAttribute("class")||"")})},ATTR:function(s,f,d){return function(b){var h=X.attr(b,s);return h==null?f==="!=":f?(h+="",f==="="?h===d:f==="!="?h!==d:f==="^="?d&&h.indexOf(d)===0:f==="*="?d&&h.indexOf(d)>-1:f==="$="?d&&h.slice(-d.length)===d:f==="~="?(" "+h.replace(oi," ")+" ").indexOf(d)>-1:f==="|="?h===d||h.slice(0,d.length+1)===d+"-":!1):!0}},CHILD:function(s,f,d,b,h){var x=s.slice(0,3)!=="nth",S=s.slice(-4)!=="last",w=f==="of-type";return b===1&&h===0?function(N){return!!N.parentNode}:function(N,O,L){var P,F,Y,q,Z,ee,se=x!==S?"nextSibling":"previousSibling",Q=N.parentNode,nt=w&&N.nodeName.toLowerCase(),rt=!L&&!w,fe=!1;if(Q){if(x){for(;se;){for(q=N;q=q[se];)if(w?q.nodeName.toLowerCase()===nt:q.nodeType===1)return!1;ee=se=s==="only"&&!ee&&"nextSibling"}return!0}if(ee=[S?Q.firstChild:Q.lastChild],S&&rt){for(q=Q,Y=q[V]||(q[V]={}),F=Y[q.uniqueID]||(Y[q.uniqueID]={}),P=F[s]||[],Z=P[0]===ie&&P[1],fe=Z&&P[2],q=Z&&Q.childNodes[Z];q=++Z&&q&&q[se]||(fe=Z=0)||ee.pop();)if(q.nodeType===1&&++fe&&q===N){F[s]=[ie,Z,fe];break}}else if(rt&&(q=N,Y=q[V]||(q[V]={}),F=Y[q.uniqueID]||(Y[q.uniqueID]={}),P=F[s]||[],Z=P[0]===ie&&P[1],fe=Z),fe===!1)for(;(q=++Z&&q&&q[se]||(fe=Z=0)||ee.pop())&&!((w?q.nodeName.toLowerCase()===nt:q.nodeType===1)&&++fe&&(rt&&(Y=q[V]||(q[V]={}),F=Y[q.uniqueID]||(Y[q.uniqueID]={}),F[s]=[ie,fe]),q===N)););return fe-=h,fe===b||fe%b===0&&fe/b>=0}}},PSEUDO:function(s,f){var d,b=r.pseudos[s]||r.setFilters[s.toLowerCase()]||X.error("unsupported pseudo: "+s);return b[V]?b(f):b.length>1?(d=[s,s,"",f],r.setFilters.hasOwnProperty(s.toLowerCase())?he(function(h,x){for(var S,w=b(h,f),N=w.length;N--;)S=qe(h,w[N]),h[S]=!(x[S]=w[N])}):function(h){return b(h,0,d)}):b}},pseudos:{not:he(function(s){var f=[],d=[],b=c(s.replace(pt,"$1"));return b[V]?he(function(h,x,S,w){for(var N,O=b(h,null,w,[]),L=h.length;L--;)(N=O[L])&&(h[L]=!(x[L]=N))}):function(h,x,S){return f[0]=h,b(f,null,S,d),f[0]=null,!d.pop()}}),has:he(function(s){return function(f){return X(s,f).length>0}}),contains:he(function(s){return s=s.replace(Se,Ce),function(f){return(f.textContent||o(f)).indexOf(s)>-1}}),lang:he(function(s){return fi.test(s||"")||X.error("unsupported lang: "+s),s=s.replace(Se,Ce).toLowerCase(),function(f){var d;do if(d=M?f.lang:f.getAttribute("xml:lang")||f.getAttribute("lang"))return d=d.toLowerCase(),d===s||d.indexOf(s+"-")===0;while((f=f.parentNode)&&f.nodeType===1);return!1}}),target:function(s){var f=e.location&&e.location.hash;return f&&f.slice(1)===s.id},root:function(s){return s===D},focus:function(s){return s===v.activeElement&&(!v.hasFocus||v.hasFocus())&&!!(s.type||s.href||~s.tabIndex)},enabled:Wn(!1),disabled:Wn(!0),checked:function(s){var f=s.nodeName.toLowerCase();return f==="input"&&!!s.checked||f==="option"&&!!s.selected},selected:function(s){return s.parentNode&&s.parentNode.selectedIndex,s.selected===!0},empty:function(s){for(s=s.firstChild;s;s=s.nextSibling)if(s.nodeType<6)return!1;return!0},parent:function(s){return!r.pseudos.empty(s)},header:function(s){return di.test(s.nodeName)},input:function(s){return li.test(s.nodeName)},button:function(s){var f=s.nodeName.toLowerCase();return f==="input"&&s.type==="button"||f==="button"},text:function(s){var f;return s.nodeName.toLowerCase()==="input"&&s.type==="text"&&((f=s.getAttribute("type"))==null||f.toLowerCase()==="text")},first:Pe(function(){return[0]}),last:Pe(function(s,f){return[f-1]}),eq:Pe(function(s,f,d){return[d<0?d+f:d]}),even:Pe(function(s,f){for(var d=0;d<f;d+=2)s.push(d);return s}),odd:Pe(function(s,f){for(var d=1;d<f;d+=2)s.push(d);return s}),lt:Pe(function(s,f,d){for(var b=d<0?d+f:d>f?f:d;--b>=0;)s.push(b);return s}),gt:Pe(function(s,f,d){for(var b=d<0?d+f:d;++b<f;)s.push(b);return s})}},r.pseudos.nth=r.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=gi(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=yi(t);function $n(){}$n.prototype=r.filters=r.pseudos,r.setFilters=new $n,u=X.tokenize=function(s,f){var d,b,h,x,S,w,N,O=et[s+" "];if(O)return f?0:O.slice(0);for(S=s,w=[],N=r.preFilter;S;){(!d||(b=ai.exec(S)))&&(b&&(S=S.slice(b[0].length)||S),w.push(h=[])),d=!1,(b=Mn.exec(S))&&(d=b.shift(),h.push({value:d,type:b[0].replace(pt," ")}),S=S.slice(d.length));for(x in r.filter)(b=ht[x].exec(S))&&(!N[x]||(b=N[x](b)))&&(d=b.shift(),h.push({value:d,type:x,matches:b}),S=S.slice(d.length));if(!d)break}return f?S.length:S?X.error(s):et(s,w).slice(0)};function yt(s){for(var f=0,d=s.length,b="";f<d;f++)b+=s[f].value;return b}function mt(s,f,d){var b=f.dir,h=f.next,x=h||b,S=d&&x==="parentNode",w=W++;return f.first?function(N,O,L){for(;N=N[b];)if(N.nodeType===1||S)return s(N,O,L);return!1}:function(N,O,L){var P,F,Y,q=[ie,w];if(L){for(;N=N[b];)if((N.nodeType===1||S)&&s(N,O,L))return!0}else for(;N=N[b];)if(N.nodeType===1||S)if(Y=N[V]||(N[V]={}),F=Y[N.uniqueID]||(Y[N.uniqueID]={}),h&&h===N.nodeName.toLowerCase())N=N[b]||N;else{if((P=F[x])&&P[0]===ie&&P[1]===w)return q[2]=P[2];if(F[x]=q,q[2]=s(N,O,L))return!0}return!1}}function Bt(s){return s.length>1?function(f,d,b){for(var h=s.length;h--;)if(!s[h](f,d,b))return!1;return!0}:s[0]}function mi(s,f,d){for(var b=0,h=f.length;b<h;b++)X(s,f[b],d);return d}function vt(s,f,d,b,h){for(var x,S=[],w=0,N=s.length,O=f!=null;w<N;w++)(x=s[w])&&(!d||d(x,b,h))&&(S.push(x),O&&f.push(w));return S}function Wt(s,f,d,b,h,x){return b&&!b[V]&&(b=Wt(b)),h&&!h[V]&&(h=Wt(h,x)),he(function(S,w,N,O){var L,P,F,Y=[],q=[],Z=w.length,ee=S||mi(f||"*",N.nodeType?[N]:N,[]),se=s&&(S||!f)?vt(ee,Y,s,N,O):ee,Q=d?h||(S?s:Z||b)?[]:w:se;if(d&&d(se,Q,N,O),b)for(L=vt(Q,q),b(L,[],N,O),P=L.length;P--;)(F=L[P])&&(Q[q[P]]=!(se[q[P]]=F));if(S){if(h||s){if(h){for(L=[],P=Q.length;P--;)(F=Q[P])&&L.push(se[P]=F);h(null,Q=[],L,O)}for(P=Q.length;P--;)(F=Q[P])&&(L=h?qe(S,F):Y[P])>-1&&(S[L]=!(w[L]=F))}}else Q=vt(Q===w?Q.splice(Z,Q.length):Q),h?h(null,w,Q,O):Ne.apply(w,Q)})}function $t(s){for(var f,d,b,h=s.length,x=r.relative[s[0].type],S=x||r.relative[" "],w=x?1:0,N=mt(function(P){return P===f},S,!0),O=mt(function(P){return qe(f,P)>-1},S,!0),L=[function(P,F,Y){var q=!x&&(Y||F!==p)||((f=F).nodeType?N(P,F,Y):O(P,F,Y));return f=null,q}];w<h;w++)if(d=r.relative[s[w].type])L=[mt(Bt(L),d)];else{if(d=r.filter[s[w].type].apply(null,s[w].matches),d[V]){for(b=++w;b<h&&!r.relative[s[b].type];b++);return Wt(w>1&&Bt(L),w>1&&yt(s.slice(0,w-1).concat({value:s[w-2].type===" "?"*":""})).replace(pt,"$1"),d,w<b&&$t(s.slice(w,b)),b<h&&$t(s=s.slice(b)),b<h&&yt(s))}L.push(d)}return Bt(L)}function vi(s,f){var d=f.length>0,b=s.length>0,h=function(x,S,w,N,O){var L,P,F,Y=0,q="0",Z=x&&[],ee=[],se=p,Q=x||b&&r.find.TAG("*",O),nt=ie+=se==null?1:Math.random()||.1,rt=Q.length;for(O&&(p=S==v||S||O);q!==rt&&(L=Q[q])!=null;q++){if(b&&L){for(P=0,!S&&L.ownerDocument!=v&&(y(L),w=!M);F=s[P++];)if(F(L,S||v,w)){N.push(L);break}O&&(ie=nt)}d&&((L=!F&&L)&&Y--,x&&Z.push(L))}if(Y+=q,d&&q!==Y){for(P=0;F=f[P++];)F(Z,ee,S,w);if(x){if(Y>0)for(;q--;)Z[q]||ee[q]||(ee[q]=Ee.call(N));ee=vt(ee)}Ne.apply(N,ee),O&&!x&&ee.length>0&&Y+f.length>1&&X.uniqueSort(N)}return O&&(ie=nt,p=se),Z};return d?he(h):h}return c=X.compile=function(s,f){var d,b=[],h=[],x=dt[s+" "];if(!x){for(f||(f=u(s)),d=f.length;d--;)x=$t(f[d]),x[V]?b.push(x):h.push(x);x=dt(s,vi(h,b)),x.selector=s}return x},l=X.select=function(s,f,d,b){var h,x,S,w,N,O=typeof s=="function"&&s,L=!b&&u(s=O.selector||s);if(d=d||[],L.length===1){if(x=L[0]=L[0].slice(0),x.length>2&&(S=x[0]).type==="ID"&&f.nodeType===9&&M&&r.relative[x[1].type]){if(f=(r.find.ID(S.matches[0].replace(Se,Ce),f)||[])[0],f)O&&(f=f.parentNode);else return d;s=s.slice(x.shift().value.length)}for(h=ht.needsContext.test(s)?0:x.length;h--&&(S=x[h],!r.relative[w=S.type]);)if((N=r.find[w])&&(b=N(S.matches[0].replace(Se,Ce),It.test(x[0].type)&&Ft(f.parentNode)||f))){if(x.splice(h,1),s=b.length&&yt(x),!s)return Ne.apply(d,b),d;break}}return(O||c(s,L))(b,f,!M,d,!f||It.test(s)&&Ft(f.parentNode)||f),d},n.sortStable=V.split("").sort(Le).join("")===V,n.detectDuplicates=!!C,y(),n.sortDetached=ge(function(s){return s.compareDocumentPosition(v.createElement("fieldset"))&1}),ge(function(s){return s.innerHTML="<a href='#'></a>",s.firstChild.getAttribute("href")==="#"})||_t("type|href|height|width",function(s,f,d){if(!d)return s.getAttribute(f,f.toLowerCase()==="type"?1:2)}),(!n.attributes||!ge(function(s){return s.innerHTML="<input/>",s.firstChild.setAttribute("value",""),s.firstChild.getAttribute("value")===""}))&&_t("value",function(s,f,d){if(!d&&s.nodeName.toLowerCase()==="input")return s.defaultValue}),ge(function(s){return s.getAttribute("disabled")==null})||_t(Rt,function(s,f,d){var b;if(!d)return s[f]===!0?f.toLowerCase():(b=s.getAttributeNode(f))&&b.specified?b.value:null}),X}(A);i.find=ke,i.expr=ke.selectors,i.expr[":"]=i.expr.pseudos,i.uniqueSort=i.unique=ke.uniqueSort,i.text=ke.getText,i.isXMLDoc=ke.isXML,i.contains=ke.contains,i.escapeSelector=ke.escape;var Ie=function(e,t,n){for(var r=[],o=n!==void 0;(e=e[t])&&e.nodeType!==9;)if(e.nodeType===1){if(o&&i(e).is(n))break;r.push(e)}return r},Gt=function(e,t){for(var n=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n},Kt=i.expr.match.needsContext;function ce(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var Jt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Tt(e,t,n){return I(t)?i.grep(e,function(r,o){return!!t.call(r,o,r)!==n}):t.nodeType?i.grep(e,function(r){return r===t!==n}):typeof t!="string"?i.grep(e,function(r){return ve.call(t,r)>-1!==n}):i.filter(t,e,n)}i.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),t.length===1&&r.nodeType===1?i.find.matchesSelector(r,e)?[r]:[]:i.find.matches(e,i.grep(t,function(o){return o.nodeType===1}))},i.fn.extend({find:function(e){var t,n,r=this.length,o=this;if(typeof e!="string")return this.pushStack(i(e).filter(function(){for(t=0;t<r;t++)if(i.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)i.find(e,o[t],n);return r>1?i.uniqueSort(n):n},filter:function(e){return this.pushStack(Tt(this,e||[],!1))},not:function(e){return this.pushStack(Tt(this,e||[],!0))},is:function(e){return!!Tt(this,typeof e=="string"&&Kt.test(e)?i(e):e||[],!1).length}});var Zt,ur=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,sr=i.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||Zt,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?r=[null,e,null]:r=ur.exec(e),r&&(r[1]||!t))if(r[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:B,!0)),Jt.test(r[1])&&i.isPlainObject(t))for(r in t)I(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}else return o=B.getElementById(r[2]),o&&(this[0]=o,this.length=1),this;else return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);else{if(e.nodeType)return this[0]=e,this.length=1,this;if(I(e))return n.ready!==void 0?n.ready(e):e(i)}return i.makeArray(e,this)};sr.prototype=i.fn,Zt=i(B);var fr=/^(?:parents|prev(?:Until|All))/,cr={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(e){var t=i(e,this),n=t.length;return this.filter(function(){for(var r=0;r<n;r++)if(i.contains(this,t[r]))return!0})},closest:function(e,t){var n,r=0,o=this.length,a=[],u=typeof e!="string"&&i(e);if(!Kt.test(e)){for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(u?u.index(n)>-1:n.nodeType===1&&i.find.matchesSelector(n,e))){a.push(n);break}}return this.pushStack(a.length>1?i.uniqueSort(a):a)},index:function(e){return e?typeof e=="string"?ve.call(i(e),this[0]):ve.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function en(e,t){for(;(e=e[t])&&e.nodeType!==1;);return e}i.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return Ie(e,"parentNode")},parentsUntil:function(e,t,n){return Ie(e,"parentNode",n)},next:function(e){return en(e,"nextSibling")},prev:function(e){return en(e,"previousSibling")},nextAll:function(e){return Ie(e,"nextSibling")},prevAll:function(e){return Ie(e,"previousSibling")},nextUntil:function(e,t,n){return Ie(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ie(e,"previousSibling",n)},siblings:function(e){return Gt((e.parentNode||{}).firstChild,e)},children:function(e){return Gt(e.firstChild)},contents:function(e){return e.contentDocument!=null&&E(e.contentDocument)?e.contentDocument:(ce(e,"template")&&(e=e.content||e),i.merge([],e.childNodes))}},function(e,t){i.fn[e]=function(n,r){var o=i.map(this,t,n);return e.slice(-5)!=="Until"&&(r=n),r&&typeof r=="string"&&(o=i.filter(r,o)),this.length>1&&(cr[e]||i.uniqueSort(o),fr.test(e)&&o.reverse()),this.pushStack(o)}});var ye=/[^\x20\t\r\n\f]+/g;function lr(e){var t={};return i.each(e.match(ye)||[],function(n,r){t[r]=!0}),t}i.Callbacks=function(e){e=typeof e=="string"?lr(e):i.extend({},e);var t,n,r,o,a=[],u=[],c=-1,l=function(){for(o=o||e.once,r=t=!0;u.length;c=-1)for(n=u.shift();++c<a.length;)a[c].apply(n[0],n[1])===!1&&e.stopOnFalse&&(c=a.length,n=!1);e.memory||(n=!1),t=!1,o&&(n?a=[]:a="")},p={add:function(){return a&&(n&&!t&&(c=a.length-1,u.push(n)),function m(C){i.each(C,function(y,v){I(v)?(!e.unique||!p.has(v))&&a.push(v):v&&v.length&&Me(v)!=="string"&&m(v)})}(arguments),n&&!t&&l()),this},remove:function(){return i.each(arguments,function(m,C){for(var y;(y=i.inArray(C,a,y))>-1;)a.splice(y,1),y<=c&&c--}),this},has:function(m){return m?i.inArray(m,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return o=u=[],a=n="",this},disabled:function(){return!a},lock:function(){return o=u=[],!n&&!t&&(a=n=""),this},locked:function(){return!!o},fireWith:function(m,C){return o||(C=C||[],C=[m,C.slice?C.slice():C],u.push(C),t||l()),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!r}};return p};function _e(e){return e}function ot(e){throw e}function tn(e,t,n,r){var o;try{e&&I(o=e.promise)?o.call(e).done(t).fail(n):e&&I(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(a){n.apply(void 0,[a])}}i.extend({Deferred:function(e){var t=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(a){return r.then(null,a)},pipe:function(){var a=arguments;return i.Deferred(function(u){i.each(t,function(c,l){var p=I(a[l[4]])&&a[l[4]];o[l[1]](function(){var m=p&&p.apply(this,arguments);m&&I(m.promise)?m.promise().progress(u.notify).done(u.resolve).fail(u.reject):u[l[0]+"With"](this,p?[m]:arguments)})}),a=null}).promise()},then:function(a,u,c){var l=0;function p(m,C,y,v){return function(){var D=this,M=arguments,j=function(){var K,ae;if(!(m<l)){if(K=y.apply(D,M),K===C.promise())throw new TypeError("Thenable self-resolution");ae=K&&(typeof K=="object"||typeof K=="function")&&K.then,I(ae)?v?ae.call(K,p(l,C,_e,v),p(l,C,ot,v)):(l++,ae.call(K,p(l,C,_e,v),p(l,C,ot,v),p(l,C,_e,C.notifyWith))):(y!==_e&&(D=void 0,M=[K]),(v||C.resolveWith)(D,M))}},J=v?j:function(){try{j()}catch(K){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(K,J.stackTrace),m+1>=l&&(y!==ot&&(D=void 0,M=[K]),C.rejectWith(D,M))}};m?J():(i.Deferred.getStackHook&&(J.stackTrace=i.Deferred.getStackHook()),A.setTimeout(J))}}return i.Deferred(function(m){t[0][3].add(p(0,m,I(c)?c:_e,m.notifyWith)),t[1][3].add(p(0,m,I(a)?a:_e)),t[2][3].add(p(0,m,I(u)?u:ot))}).promise()},promise:function(a){return a!=null?i.extend(a,r):r}},o={};return i.each(t,function(a,u){var c=u[2],l=u[5];r[u[1]]=c.add,l&&c.add(function(){n=l},t[3-a][2].disable,t[3-a][3].disable,t[0][2].lock,t[0][3].lock),c.add(u[3].fire),o[u[0]]=function(){return o[u[0]+"With"](this===o?void 0:this,arguments),this},o[u[0]+"With"]=c.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),o=k.call(arguments),a=i.Deferred(),u=function(c){return function(l){r[c]=this,o[c]=arguments.length>1?k.call(arguments):l,--t||a.resolveWith(r,o)}};if(t<=1&&(tn(e,a.done(u(n)).resolve,a.reject,!t),a.state()==="pending"||I(o[n]&&o[n].then)))return a.then();for(;n--;)tn(o[n],u(n),a.reject);return a.promise()}});var dr=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(e,t){A.console&&A.console.warn&&e&&dr.test(e.name)&&A.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},i.readyException=function(e){A.setTimeout(function(){throw e})};var St=i.Deferred();i.fn.ready=function(e){return St.then(e).catch(function(t){i.readyException(t)}),this},i.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--i.readyWait:i.isReady)||(i.isReady=!0,!(e!==!0&&--i.readyWait>0)&&St.resolveWith(B,[i]))}}),i.ready.then=St.then;function at(){B.removeEventListener("DOMContentLoaded",at),A.removeEventListener("load",at),i.ready()}B.readyState==="complete"||B.readyState!=="loading"&&!B.documentElement.doScroll?A.setTimeout(i.ready):(B.addEventListener("DOMContentLoaded",at),A.addEventListener("load",at));var xe=function(e,t,n,r,o,a,u){var c=0,l=e.length,p=n==null;if(Me(n)==="object"){o=!0;for(c in n)xe(e,t,c,n[c],!0,a,u)}else if(r!==void 0&&(o=!0,I(r)||(u=!0),p&&(u?(t.call(e,r),t=null):(p=t,t=function(m,C,y){return p.call(i(m),y)})),t))for(;c<l;c++)t(e[c],n,u?r:r.call(e[c],c,t(e[c],n)));return o?e:p?t.call(e):l?t(e[0],n):a},pr=/^-ms-/,hr=/-([a-z])/g;function gr(e,t){return t.toUpperCase()}function me(e){return e.replace(pr,"ms-").replace(hr,gr)}var Ve=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function Xe(){this.expando=i.expando+Xe.uid++}Xe.uid=1,Xe.prototype={cache:function(e){var t=e[this.expando];return t||(t=Object.create(null),Ve(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(typeof t=="string")o[me(t)]=n;else for(r in t)o[me(r)]=t[r];return o},get:function(e,t){return t===void 0?this.cache(e):e[this.expando]&&e[this.expando][me(t)]},access:function(e,t,n){return t===void 0||t&&typeof t=="string"&&n===void 0?this.get(e,t):(this.set(e,t,n),n!==void 0?n:t)},remove:function(e,t){var n,r=e[this.expando];if(r!==void 0){if(t!==void 0)for(Array.isArray(t)?t=t.map(me):(t=me(t),t=t in r?[t]:t.match(ye)||[]),n=t.length;n--;)delete r[t[n]];(t===void 0||i.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return t!==void 0&&!i.isEmptyObject(t)}};var H=new Xe,te=new Xe,yr=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,mr=/[A-Z]/g;function vr(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:yr.test(e)?JSON.parse(e):e}function nn(e,t,n){var r;if(n===void 0&&e.nodeType===1)if(r="data-"+t.replace(mr,"-$&").toLowerCase(),n=e.getAttribute(r),typeof n=="string"){try{n=vr(n)}catch{}te.set(e,t,n)}else n=void 0;return n}i.extend({hasData:function(e){return te.hasData(e)||H.hasData(e)},data:function(e,t,n){return te.access(e,t,n)},removeData:function(e,t){te.remove(e,t)},_data:function(e,t,n){return H.access(e,t,n)},_removeData:function(e,t){H.remove(e,t)}}),i.fn.extend({data:function(e,t){var n,r,o,a=this[0],u=a&&a.attributes;if(e===void 0){if(this.length&&(o=te.get(a),a.nodeType===1&&!H.get(a,"hasDataAttrs"))){for(n=u.length;n--;)u[n]&&(r=u[n].name,r.indexOf("data-")===0&&(r=me(r.slice(5)),nn(a,r,o[r])));H.set(a,"hasDataAttrs",!0)}return o}return typeof e=="object"?this.each(function(){te.set(this,e)}):xe(this,function(c){var l;if(a&&c===void 0)return l=te.get(a,e),l!==void 0||(l=nn(a,e),l!==void 0)?l:void 0;this.each(function(){te.set(this,e,c)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){te.remove(this,e)})}}),i.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=H.get(e,t),n&&(!r||Array.isArray(n)?r=H.access(e,t,i.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=i.queue(e,t),r=n.length,o=n.shift(),a=i._queueHooks(e,t),u=function(){i.dequeue(e,t)};o==="inprogress"&&(o=n.shift(),r--),o&&(t==="fx"&&n.unshift("inprogress"),delete a.stop,o.call(e,u,a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return H.get(e,n)||H.access(e,n,{empty:i.Callbacks("once memory").add(function(){H.remove(e,[t+"queue",n])})})}}),i.fn.extend({queue:function(e,t){var n=2;return typeof e!="string"&&(t=e,e="fx",n--),arguments.length<n?i.queue(this[0],e):t===void 0?this:this.each(function(){var r=i.queue(this,e,t);i._queueHooks(this,e),e==="fx"&&r[0]!=="inprogress"&&i.dequeue(this,e)})},dequeue:function(e){return this.each(function(){i.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=i.Deferred(),a=this,u=this.length,c=function(){--r||o.resolveWith(a,[a])};for(typeof e!="string"&&(t=e,e=void 0),e=e||"fx";u--;)n=H.get(a[u],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(c));return c(),o.promise(t)}});var rn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ye=new RegExp("^(?:([+-])=|)("+rn+")([a-z%]*)$","i"),Te=["Top","Right","Bottom","Left"],Ae=B.documentElement,Fe=function(e){return i.contains(e.ownerDocument,e)},br={composed:!0};Ae.getRootNode&&(Fe=function(e){return i.contains(e.ownerDocument,e)||e.getRootNode(br)===e.ownerDocument});var ut=function(e,t){return e=t||e,e.style.display==="none"||e.style.display===""&&Fe(e)&&i.css(e,"display")==="none"};function on(e,t,n,r){var o,a,u=20,c=r?function(){return r.cur()}:function(){return i.css(e,t,"")},l=c(),p=n&&n[3]||(i.cssNumber[t]?"":"px"),m=e.nodeType&&(i.cssNumber[t]||p!=="px"&&+l)&&Ye.exec(i.css(e,t));if(m&&m[3]!==p){for(l=l/2,p=p||m[3],m=+l||1;u--;)i.style(e,t,m+p),(1-a)*(1-(a=c()/l||.5))<=0&&(u=0),m=m/a;m=m*2,i.style(e,t,m+p),n=n||[]}return n&&(m=+m||+l||0,o=n[1]?m+(n[1]+1)*n[2]:+n[2],r&&(r.unit=p,r.start=m,r.end=o)),o}var an={};function xr(e){var t,n=e.ownerDocument,r=e.nodeName,o=an[r];return o||(t=n.body.appendChild(n.createElement(r)),o=i.css(t,"display"),t.parentNode.removeChild(t),o==="none"&&(o="block"),an[r]=o,o)}function Be(e,t){for(var n,r,o=[],a=0,u=e.length;a<u;a++)r=e[a],r.style&&(n=r.style.display,t?(n==="none"&&(o[a]=H.get(r,"display")||null,o[a]||(r.style.display="")),r.style.display===""&&ut(r)&&(o[a]=xr(r))):n!=="none"&&(o[a]="none",H.set(r,"display",n)));for(a=0;a<u;a++)o[a]!=null&&(e[a].style.display=o[a]);return e}i.fn.extend({show:function(){return Be(this,!0)},hide:function(){return Be(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){ut(this)?i(this).show():i(this).hide()})}});var Qe=/^(?:checkbox|radio)$/i,un=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,sn=/^$|^module$|\/(?:java|ecma)script/i;(function(){var e=B.createDocumentFragment(),t=e.appendChild(B.createElement("div")),n=B.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),z.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",z.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",z.option=!!t.lastChild})();var le={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};le.tbody=le.tfoot=le.colgroup=le.caption=le.thead,le.th=le.td,z.option||(le.optgroup=le.option=[1,"<select multiple='multiple'>","</select>"]);function ne(e,t){var n;return typeof e.getElementsByTagName<"u"?n=e.getElementsByTagName(t||"*"):typeof e.querySelectorAll<"u"?n=e.querySelectorAll(t||"*"):n=[],t===void 0||t&&ce(e,t)?i.merge([e],n):n}function Ct(e,t){for(var n=0,r=e.length;n<r;n++)H.set(e[n],"globalEval",!t||H.get(t[n],"globalEval"))}var Tr=/<|&#?\w+;/;function fn(e,t,n,r,o){for(var a,u,c,l,p,m,C=t.createDocumentFragment(),y=[],v=0,D=e.length;v<D;v++)if(a=e[v],a||a===0)if(Me(a)==="object")i.merge(y,a.nodeType?[a]:a);else if(!Tr.test(a))y.push(t.createTextNode(a));else{for(u=u||C.appendChild(t.createElement("div")),c=(un.exec(a)||["",""])[1].toLowerCase(),l=le[c]||le._default,u.innerHTML=l[1]+i.htmlPrefilter(a)+l[2],m=l[0];m--;)u=u.lastChild;i.merge(y,u.childNodes),u=C.firstChild,u.textContent=""}for(C.textContent="",v=0;a=y[v++];){if(r&&i.inArray(a,r)>-1){o&&o.push(a);continue}if(p=Fe(a),u=ne(C.appendChild(a),"script"),p&&Ct(u),n)for(m=0;a=u[m++];)sn.test(a.type||"")&&n.push(a)}return C}var Sr=/^key/,Cr=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,cn=/^([^.]*)(?:\.(.+)|)/;function We(){return!0}function $e(){return!1}function wr(e,t){return e===Er()==(t==="focus")}function Er(){try{return B.activeElement}catch{}}function wt(e,t,n,r,o,a){var u,c;if(typeof t=="object"){typeof n!="string"&&(r=r||n,n=void 0);for(c in t)wt(e,c,n,r,t[c],a);return e}if(r==null&&o==null?(o=n,r=n=void 0):o==null&&(typeof n=="string"?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=$e;else if(!o)return e;return a===1&&(u=o,o=function(l){return i().off(l),u.apply(this,arguments)},o.guid=u.guid||(u.guid=i.guid++)),e.each(function(){i.event.add(this,t,o,r,n)})}i.event={global:{},add:function(e,t,n,r,o){var a,u,c,l,p,m,C,y,v,D,M,j=H.get(e);if(Ve(e))for(n.handler&&(a=n,n=a.handler,o=a.selector),o&&i.find.matchesSelector(Ae,o),n.guid||(n.guid=i.guid++),(l=j.events)||(l=j.events=Object.create(null)),(u=j.handle)||(u=j.handle=function(J){return typeof i<"u"&&i.event.triggered!==J.type?i.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(ye)||[""],p=t.length;p--;)c=cn.exec(t[p])||[],v=M=c[1],D=(c[2]||"").split(".").sort(),v&&(C=i.event.special[v]||{},v=(o?C.delegateType:C.bindType)||v,C=i.event.special[v]||{},m=i.extend({type:v,origType:M,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&i.expr.match.needsContext.test(o),namespace:D.join(".")},a),(y=l[v])||(y=l[v]=[],y.delegateCount=0,(!C.setup||C.setup.call(e,r,D,u)===!1)&&e.addEventListener&&e.addEventListener(v,u)),C.add&&(C.add.call(e,m),m.handler.guid||(m.handler.guid=n.guid)),o?y.splice(y.delegateCount++,0,m):y.push(m),i.event.global[v]=!0)},remove:function(e,t,n,r,o){var a,u,c,l,p,m,C,y,v,D,M,j=H.hasData(e)&&H.get(e);if(!(!j||!(l=j.events))){for(t=(t||"").match(ye)||[""],p=t.length;p--;){if(c=cn.exec(t[p])||[],v=M=c[1],D=(c[2]||"").split(".").sort(),!v){for(v in l)i.event.remove(e,v+t[p],n,r,!0);continue}for(C=i.event.special[v]||{},v=(r?C.delegateType:C.bindType)||v,y=l[v]||[],c=c[2]&&new RegExp("(^|\\.)"+D.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=a=y.length;a--;)m=y[a],(o||M===m.origType)&&(!n||n.guid===m.guid)&&(!c||c.test(m.namespace))&&(!r||r===m.selector||r==="**"&&m.selector)&&(y.splice(a,1),m.selector&&y.delegateCount--,C.remove&&C.remove.call(e,m));u&&!y.length&&((!C.teardown||C.teardown.call(e,D,j.handle)===!1)&&i.removeEvent(e,v,j.handle),delete l[v])}i.isEmptyObject(l)&&H.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,a,u,c=new Array(arguments.length),l=i.event.fix(e),p=(H.get(this,"events")||Object.create(null))[l.type]||[],m=i.event.special[l.type]||{};for(c[0]=l,t=1;t<arguments.length;t++)c[t]=arguments[t];if(l.delegateTarget=this,!(m.preDispatch&&m.preDispatch.call(this,l)===!1)){for(u=i.event.handlers.call(this,l,p),t=0;(o=u[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(a=o.handlers[n++])&&!l.isImmediatePropagationStopped();)(!l.rnamespace||a.namespace===!1||l.rnamespace.test(a.namespace))&&(l.handleObj=a,l.data=a.data,r=((i.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,c),r!==void 0&&(l.result=r)===!1&&(l.preventDefault(),l.stopPropagation()));return m.postDispatch&&m.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,o,a,u,c=[],l=t.delegateCount,p=e.target;if(l&&p.nodeType&&!(e.type==="click"&&e.button>=1)){for(;p!==this;p=p.parentNode||this)if(p.nodeType===1&&!(e.type==="click"&&p.disabled===!0)){for(a=[],u={},n=0;n<l;n++)r=t[n],o=r.selector+" ",u[o]===void 0&&(u[o]=r.needsContext?i(o,this).index(p)>-1:i.find(o,this,null,[p]).length),u[o]&&a.push(r);a.length&&c.push({elem:p,handlers:a})}}return p=this,l<t.length&&c.push({elem:p,handlers:t.slice(l)}),c},addProp:function(e,t){Object.defineProperty(i.Event.prototype,e,{enumerable:!0,configurable:!0,get:I(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(n){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:n})}})},fix:function(e){return e[i.expando]?e:new i.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Qe.test(t.type)&&t.click&&ce(t,"input")&&st(t,"click",We),!1},trigger:function(e){var t=this||e;return Qe.test(t.type)&&t.click&&ce(t,"input")&&st(t,"click"),!0},_default:function(e){var t=e.target;return Qe.test(t.type)&&t.click&&ce(t,"input")&&H.get(t,"click")||ce(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}};function st(e,t,n){if(!n){H.get(e,t)===void 0&&i.event.add(e,t,We);return}H.set(e,t,!1),i.event.add(e,t,{namespace:!1,handler:function(r){var o,a,u=H.get(this,t);if(r.isTrigger&1&&this[t]){if(u.length)(i.event.special[t]||{}).delegateType&&r.stopPropagation();else if(u=k.call(arguments),H.set(this,t,u),o=n(this,t),this[t](),a=H.get(this,t),u!==a||o?H.set(this,t,!1):a={},u!==a)return r.stopImmediatePropagation(),r.preventDefault(),a.value}else u.length&&(H.set(this,t,{value:i.event.trigger(i.extend(u[0],i.Event.prototype),u.slice(1),this)}),r.stopImmediatePropagation())}})}i.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},i.Event=function(e,t){if(!(this instanceof i.Event))return new i.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.defaultPrevented===void 0&&e.returnValue===!1?We:$e,this.target=e.target&&e.target.nodeType===3?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&i.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[i.expando]=!0},i.Event.prototype={constructor:i.Event,isDefaultPrevented:$e,isPropagationStopped:$e,isImmediatePropagationStopped:$e,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=We,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=We,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=We,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},i.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return e.which==null&&Sr.test(e.type)?e.charCode!=null?e.charCode:e.keyCode:!e.which&&t!==void 0&&Cr.test(e.type)?t&1?1:t&2?3:t&4?2:0:e.which}},i.event.addProp),i.each({focus:"focusin",blur:"focusout"},function(e,t){i.event.special[e]={setup:function(){return st(this,e,wr),!1},trigger:function(){return st(this,e),!0},delegateType:t}}),i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){i.event.special[e]={delegateType:t,bindType:t,handle:function(n){var r,o=this,a=n.relatedTarget,u=n.handleObj;return(!a||a!==o&&!i.contains(o,a))&&(n.type=u.origType,r=u.handler.apply(this,arguments),n.type=t),r}}}),i.fn.extend({on:function(e,t,n,r){return wt(this,e,t,n,r)},one:function(e,t,n,r){return wt(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,i(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if(typeof e=="object"){for(o in e)this.off(o,t,e[o]);return this}return(t===!1||typeof t=="function")&&(n=t,t=void 0),n===!1&&(n=$e),this.each(function(){i.event.remove(this,e,n,t)})}});var Nr=/<script|<style|<link/i,kr=/checked\s*(?:[^=]|=\s*.checked.)/i,Ar=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function ln(e,t){return ce(e,"table")&&ce(t.nodeType!==11?t:t.firstChild,"tr")&&i(e).children("tbody")[0]||e}function Dr(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function jr(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function dn(e,t){var n,r,o,a,u,c,l;if(t.nodeType===1){if(H.hasData(e)&&(a=H.get(e),l=a.events,l)){H.remove(t,"handle events");for(o in l)for(n=0,r=l[o].length;n<r;n++)i.event.add(t,o,l[o][n])}te.hasData(e)&&(u=te.access(e),c=i.extend({},u),te.set(t,c))}}function Lr(e,t){var n=t.nodeName.toLowerCase();n==="input"&&Qe.test(e.type)?t.checked=e.checked:(n==="input"||n==="textarea")&&(t.defaultValue=e.defaultValue)}function ze(e,t,n,r){t=$(t);var o,a,u,c,l,p,m=0,C=e.length,y=C-1,v=t[0],D=I(v);if(D||C>1&&typeof v=="string"&&!z.checkClone&&kr.test(v))return e.each(function(M){var j=e.eq(M);D&&(t[0]=v.call(this,M,j.html())),ze(j,t,n,r)});if(C&&(o=fn(t,e[0].ownerDocument,!1,e,r),a=o.firstChild,o.childNodes.length===1&&(o=a),a||r)){for(u=i.map(ne(o,"script"),Dr),c=u.length;m<C;m++)l=o,m!==y&&(l=i.clone(l,!0,!0),c&&i.merge(u,ne(l,"script"))),n.call(e[m],l,m);if(c)for(p=u[u.length-1].ownerDocument,i.map(u,jr),m=0;m<c;m++)l=u[m],sn.test(l.type||"")&&!H.access(l,"globalEval")&&i.contains(p,l)&&(l.src&&(l.type||"").toLowerCase()!=="module"?i._evalUrl&&!l.noModule&&i._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},p):Yt(l.textContent.replace(Ar,""),l,p))}return e}function pn(e,t,n){for(var r,o=t?i.filter(t,e):e,a=0;(r=o[a])!=null;a++)!n&&r.nodeType===1&&i.cleanData(ne(r)),r.parentNode&&(n&&Fe(r)&&Ct(ne(r,"script")),r.parentNode.removeChild(r));return e}i.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,a,u,c=e.cloneNode(!0),l=Fe(e);if(!z.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!i.isXMLDoc(e))for(u=ne(c),a=ne(e),r=0,o=a.length;r<o;r++)Lr(a[r],u[r]);if(t)if(n)for(a=a||ne(e),u=u||ne(c),r=0,o=a.length;r<o;r++)dn(a[r],u[r]);else dn(e,c);return u=ne(c,"script"),u.length>0&&Ct(u,!l&&ne(e,"script")),c},cleanData:function(e){for(var t,n,r,o=i.event.special,a=0;(n=e[a])!==void 0;a++)if(Ve(n)){if(t=n[H.expando]){if(t.events)for(r in t.events)o[r]?i.event.remove(n,r):i.removeEvent(n,r,t.handle);n[H.expando