UNPKG

universalviewer

Version:

The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎

1 lines 99.5 kB
import{c as ri}from"./chunk-L67DAW3A.js";var ii=ri((Wn,xt)=>{(function(v,p){"use strict";typeof xt=="object"&&typeof xt.exports=="object"?xt.exports=v.document?p(v,!0):function(b){if(!b.document)throw new Error("jQuery requires a window with a document");return p(b)}:p(v)})(typeof window<"u"?window:Wn,function(v,p){"use strict";var b=[],E=Object.getPrototypeOf,A=b.slice,W=b.flat?function(e){return b.flat.call(e)}:function(e){return b.concat.apply([],e)},_=b.push,ve=b.indexOf,Ee={},xe=Ee.toString,ot=Ee.hasOwnProperty,Ut=ot.toString,$n=Ut.call(Object),z={},I=function(t){return typeof t=="function"&&typeof t.nodeType!="number"},Re=function(t){return t!=null&&t===t.window},B=v.document,zn={type:!0,src:!0,nonce:!0,noModule:!0};function Vt(e,t,n){n=n||B;var r,o,u=n.createElement("script");if(u.text=e,t)for(r in zn)o=t[r]||t.getAttribute&&t.getAttribute(r),o&&u.setAttribute(r,o);n.head.appendChild(u).parentNode.removeChild(u)}function Ie(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?Ee[xe.call(e)]||"object":typeof e}var Xt="3.5.0",i=function(e,t){return new i.fn.init(e,t)};i.fn=i.prototype={jquery:Xt,constructor:i,length:0,toArray:function(){return A.call(this)},get:function(e){return e==null?A.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(A.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:b.sort,splice:b.splice},i.extend=i.fn.extend=function(){var e,t,n,r,o,u,a=arguments[0]||{},c=1,l=arguments.length,h=!1;for(typeof a=="boolean"&&(h=a,a=arguments[c]||{},c++),typeof a!="object"&&!I(a)&&(a={}),c===l&&(a=this,c--);c<l;c++)if((e=arguments[c])!=null)for(t in e)r=e[t],!(t==="__proto__"||a===r)&&(h&&r&&(i.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],o&&!Array.isArray(n)?u=[]:!o&&!i.isPlainObject(n)?u={}:u=n,o=!1,a[t]=i.extend(h,u,r)):r!==void 0&&(a[t]=r));return a},i.extend({expando:"jQuery"+(Xt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!e||xe.call(e)!=="[object Object]"?!1:(t=E(e),t?(n=ot.call(t,"constructor")&&t.constructor,typeof n=="function"&&Ut.call(n)===$n):!0)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){Vt(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(Ct(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&&(Ct(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=[],u=0,a=e.length,c=!n;u<a;u++)r=!t(e[u],u),r!==c&&o.push(e[u]);return o},map:function(e,t,n){var r,o,u=0,a=[];if(Ct(e))for(r=e.length;u<r;u++)o=t(e[u],u,n),o!=null&&a.push(o);else for(u in e)o=t(e[u],u,n),o!=null&&a.push(o);return W(a)},guid:1,support:z}),typeof Symbol=="function"&&(i.fn[Symbol.iterator]=b[Symbol.iterator]),i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){Ee["[object "+t+"]"]=t.toLowerCase()});function Ct(e){var t=!!e&&"length"in e&&e.length,n=Ie(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,u,a,c,l,h,m,S,y,x,D,R,j,Z,J,ae,V="sizzle"+1*new Date,M=e.document,oe=0,$=0,K=yt(),tt=yt(),pt=yt(),se=yt(),Le=function(s,f){return s===f&&(S=!0),0},qe={}.hasOwnProperty,ue=[],Ne=ue.pop,pe=ue.push,Ae=ue.push,qn=ue.slice,He=function(s,f){for(var d=0,C=s.length;d<C;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]",Pe="(?:\\\\[\\da-fA-F]{1,6}"+U+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Hn="\\["+U+"*("+Pe+")(?:"+U+"*([*^$|!~]?=)"+U+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Pe+"))|)"+U+"*\\]",It=":("+Pe+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Hn+")*)|.*)\\)|)",$r=new RegExp(U+"+","g"),ht=new RegExp("^"+U+"+|((?:^|[^\\\\])(?:\\\\.)*)"+U+"+$","g"),zr=new RegExp("^"+U+"*,"+U+"*"),Pn=new RegExp("^"+U+"*([>+~]|"+U+")"+U+"*"),Ur=new RegExp(U+"|>"),Vr=new RegExp(It),Xr=new RegExp("^"+Pe+"$"),gt={ID:new RegExp("^#("+Pe+")"),CLASS:new RegExp("^\\.("+Pe+")"),TAG:new RegExp("^("+Pe+"|[*])"),ATTR:new RegExp("^"+Hn),PSEUDO:new RegExp("^"+It),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")},Yr=/HTML$/i,Qr=/^(?:input|select|textarea|button)$/i,Gr=/^h\d$/i,nt=/^[^{]+\{\s*\[native \w/,Kr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_t=/[+~]/,Te=new RegExp("\\\\[\\da-fA-F]{1,6}"+U+"?|\\\\([^\\r\\n\\f])","g"),Se=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))},Mn=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Rn=function(s,f){return f?s==="\0"?"\uFFFD":s.slice(0,-1)+"\\"+s.charCodeAt(s.length-1).toString(16)+" ":"\\"+s},In=function(){y()},Jr=mt(function(s){return s.disabled===!0&&s.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{Ae.apply(ue=qn.call(M.childNodes),M.childNodes),ue[M.childNodes.length].nodeType}catch{Ae={apply:ue.length?function(f,d){pe.apply(f,qn.call(d))}:function(f,d){for(var C=f.length,g=0;f[C++]=d[g++];);f.length=C-1}}}function X(s,f,d,C){var g,w,T,N,k,L,O,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(!C&&(y(f),f=f||x,R)){if(F!==11&&(k=Kr.exec(s)))if(g=k[1]){if(F===9)if(T=f.getElementById(g)){if(T.id===g)return d.push(T),d}else return d;else if(P&&(T=P.getElementById(g))&&ae(f,T)&&T.id===g)return d.push(T),d}else{if(k[2])return Ae.apply(d,f.getElementsByTagName(s)),d;if((g=k[3])&&n.getElementsByClassName&&f.getElementsByClassName)return Ae.apply(d,f.getElementsByClassName(g)),d}if(n.qsa&&!se[s+" "]&&(!j||!j.test(s))&&(F!==1||f.nodeName.toLowerCase()!=="object")){if(O=s,P=f,F===1&&(Ur.test(s)||Pn.test(s))){for(P=_t.test(s)&&Bt(f.parentNode)||f,(P!==f||!n.scope)&&((N=f.getAttribute("id"))?N=N.replace(Mn,Rn):f.setAttribute("id",N=V)),L=a(s),w=L.length;w--;)L[w]=(N?"#"+N:":scope")+" "+vt(L[w]);O=L.join(",")}try{return Ae.apply(d,P.querySelectorAll(O)),d}catch{se(s,!0)}finally{N===V&&f.removeAttribute("id")}}}return l(s.replace(ht,"$1"),f,d,C)}function yt(){var s=[];function f(d,C){return s.push(d+" ")>r.cacheLength&&delete f[s.shift()],f[d+" "]=C}return f}function ge(s){return s[V]=!0,s}function ye(s){var f=x.createElement("fieldset");try{return!!s(f)}catch{return!1}finally{f.parentNode&&f.parentNode.removeChild(f),f=null}}function Ft(s,f){for(var d=s.split("|"),C=d.length;C--;)r.attrHandle[d[C]]=f}function _n(s,f){var d=f&&s,C=d&&s.nodeType===1&&f.nodeType===1&&s.sourceIndex-f.sourceIndex;if(C)return C;if(d){for(;d=d.nextSibling;)if(d===f)return-1}return s?1:-1}function Zr(s){return function(f){var d=f.nodeName.toLowerCase();return d==="input"&&f.type===s}}function ei(s){return function(f){var d=f.nodeName.toLowerCase();return(d==="input"||d==="button")&&f.type===s}}function Fn(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&&Jr(f)===s:f.disabled===s:"label"in f?f.disabled===s:!1}}function Me(s){return ge(function(f){return f=+f,ge(function(d,C){for(var g,w=s([],d.length,f),T=w.length;T--;)d[g=w[T]]&&(d[g]=!(C[g]=d[g]))})})}function Bt(s){return s&&typeof s.getElementsByTagName<"u"&&s}n=X.support={},u=X.isXML=function(s){var f=s.namespaceURI,d=(s.ownerDocument||s).documentElement;return!Yr.test(f||d&&d.nodeName||"HTML")},y=X.setDocument=function(s){var f,d,C=s?s.ownerDocument||s:M;return C==x||C.nodeType!==9||!C.documentElement||(x=C,D=x.documentElement,R=!u(x),M!=x&&(d=x.defaultView)&&d.top!==d&&(d.addEventListener?d.addEventListener("unload",In,!1):d.attachEvent&&d.attachEvent("onunload",In)),n.scope=ye(function(g){return D.appendChild(g).appendChild(x.createElement("div")),typeof g.querySelectorAll<"u"&&!g.querySelectorAll(":scope fieldset div").length}),n.attributes=ye(function(g){return g.className="i",!g.getAttribute("className")}),n.getElementsByTagName=ye(function(g){return g.appendChild(x.createComment("")),!g.getElementsByTagName("*").length}),n.getElementsByClassName=nt.test(x.getElementsByClassName),n.getById=ye(function(g){return D.appendChild(g).id=V,!x.getElementsByName||!x.getElementsByName(V).length}),n.getById?(r.filter.ID=function(g){var w=g.replace(Te,Se);return function(T){return T.getAttribute("id")===w}},r.find.ID=function(g,w){if(typeof w.getElementById<"u"&&R){var T=w.getElementById(g);return T?[T]:[]}}):(r.filter.ID=function(g){var w=g.replace(Te,Se);return function(T){var N=typeof T.getAttributeNode<"u"&&T.getAttributeNode("id");return N&&N.value===w}},r.find.ID=function(g,w){if(typeof w.getElementById<"u"&&R){var T,N,k,L=w.getElementById(g);if(L){if(T=L.getAttributeNode("id"),T&&T.value===g)return[L];for(k=w.getElementsByName(g),N=0;L=k[N++];)if(T=L.getAttributeNode("id"),T&&T.value===g)return[L]}return[]}}),r.find.TAG=n.getElementsByTagName?function(g,w){if(typeof w.getElementsByTagName<"u")return w.getElementsByTagName(g);if(n.qsa)return w.querySelectorAll(g)}:function(g,w){var T,N=[],k=0,L=w.getElementsByTagName(g);if(g==="*"){for(;T=L[k++];)T.nodeType===1&&N.push(T);return N}return L},r.find.CLASS=n.getElementsByClassName&&function(g,w){if(typeof w.getElementsByClassName<"u"&&R)return w.getElementsByClassName(g)},Z=[],j=[],(n.qsa=nt.test(x.querySelectorAll))&&(ye(function(g){var w;D.appendChild(g).innerHTML="<a id='"+V+"'></a><select id='"+V+"-\r\\' msallowcapture=''><option selected=''></option></select>",g.querySelectorAll("[msallowcapture^='']").length&&j.push("[*^$]="+U+`*(?:''|"")`),g.querySelectorAll("[selected]").length||j.push("\\["+U+"*(?:value|"+Rt+")"),g.querySelectorAll("[id~="+V+"-]").length||j.push("~="),w=x.createElement("input"),w.setAttribute("name",""),g.appendChild(w),g.querySelectorAll("[name='']").length||j.push("\\["+U+"*name"+U+"*="+U+`*(?:''|"")`),g.querySelectorAll(":checked").length||j.push(":checked"),g.querySelectorAll("a#"+V+"+*").length||j.push(".#.+[+~]"),g.querySelectorAll("\\\f"),j.push("[\\r\\n\\f]")}),ye(function(g){g.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var w=x.createElement("input");w.setAttribute("type","hidden"),g.appendChild(w).setAttribute("name","D"),g.querySelectorAll("[name=d]").length&&j.push("name"+U+"*[*^$|!~]?="),g.querySelectorAll(":enabled").length!==2&&j.push(":enabled",":disabled"),D.appendChild(g).disabled=!0,g.querySelectorAll(":disabled").length!==2&&j.push(":enabled",":disabled"),g.querySelectorAll("*,:x"),j.push(",.*:")})),(n.matchesSelector=nt.test(J=D.matches||D.webkitMatchesSelector||D.mozMatchesSelector||D.oMatchesSelector||D.msMatchesSelector))&&ye(function(g){n.disconnectedMatch=J.call(g,"*"),J.call(g,"[s!='']:x"),Z.push("!=",It)}),j=j.length&&new RegExp(j.join("|")),Z=Z.length&&new RegExp(Z.join("|")),f=nt.test(D.compareDocumentPosition),ae=f||nt.test(D.contains)?function(g,w){var T=g.nodeType===9?g.documentElement:g,N=w&&w.parentNode;return g===N||!!(N&&N.nodeType===1&&(T.contains?T.contains(N):g.compareDocumentPosition&&g.compareDocumentPosition(N)&16))}:function(g,w){if(w){for(;w=w.parentNode;)if(w===g)return!0}return!1},Le=f?function(g,w){if(g===w)return S=!0,0;var T=!g.compareDocumentPosition-!w.compareDocumentPosition;return T||(T=(g.ownerDocument||g)==(w.ownerDocument||w)?g.compareDocumentPosition(w):1,T&1||!n.sortDetached&&w.compareDocumentPosition(g)===T?g==x||g.ownerDocument==M&&ae(M,g)?-1:w==x||w.ownerDocument==M&&ae(M,w)?1:m?He(m,g)-He(m,w):0:T&4?-1:1)}:function(g,w){if(g===w)return S=!0,0;var T,N=0,k=g.parentNode,L=w.parentNode,O=[g],P=[w];if(!k||!L)return g==x?-1:w==x?1:k?-1:L?1:m?He(m,g)-He(m,w):0;if(k===L)return _n(g,w);for(T=g;T=T.parentNode;)O.unshift(T);for(T=w;T=T.parentNode;)P.unshift(T);for(;O[N]===P[N];)N++;return N?_n(O[N],P[N]):O[N]==M?-1:P[N]==M?1:0}),x},X.matches=function(s,f){return X(s,null,null,f)},X.matchesSelector=function(s,f){if(y(s),n.matchesSelector&&R&&!se[f+" "]&&(!Z||!Z.test(f))&&(!j||!j.test(f)))try{var d=J.call(s,f);if(d||n.disconnectedMatch||s.document&&s.document.nodeType!==11)return d}catch{se(f,!0)}return X(f,x,null,[s]).length>0},X.contains=function(s,f){return(s.ownerDocument||s)!=x&&y(s),ae(s,f)},X.attr=function(s,f){(s.ownerDocument||s)!=x&&y(s);var d=r.attrHandle[f.toLowerCase()],C=d&&qe.call(r.attrHandle,f.toLowerCase())?d(s,f,!R):void 0;return C!==void 0?C:n.attributes||!R?s.getAttribute(f):(C=s.getAttributeNode(f))&&C.specified?C.value:null},X.escape=function(s){return(s+"").replace(Mn,Rn)},X.error=function(s){throw new Error("Syntax error, unrecognized expression: "+s)},X.uniqueSort=function(s){var f,d=[],C=0,g=0;if(S=!n.detectDuplicates,m=!n.sortStable&&s.slice(0),s.sort(Le),S){for(;f=s[g++];)f===s[g]&&(C=d.push(g));for(;C--;)s.splice(d[C],1)}return m=null,s},o=X.getText=function(s){var f,d="",C=0,g=s.nodeType;if(g){if(g===1||g===9||g===11){if(typeof s.textContent=="string")return s.textContent;for(s=s.firstChild;s;s=s.nextSibling)d+=o(s)}else if(g===3||g===4)return s.nodeValue}else for(;f=s[C++];)d+=o(f);return d},r=X.selectors={cacheLength:50,createPseudo:ge,match:gt,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(Te,Se),s[3]=(s[3]||s[4]||s[5]||"").replace(Te,Se),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 gt.CHILD.test(s[0])?null:(s[3]?s[2]=s[4]||s[5]||"":d&&Vr.test(d)&&(f=a(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(Te,Se).toLowerCase();return s==="*"?function(){return!0}:function(d){return d.nodeName&&d.nodeName.toLowerCase()===f}},CLASS:function(s){var f=K[s+" "];return f||(f=new RegExp("(^|"+U+")"+s+"("+U+"|$)"))&&K(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(C){var g=X.attr(C,s);return g==null?f==="!=":f?(g+="",f==="="?g===d:f==="!="?g!==d:f==="^="?d&&g.indexOf(d)===0:f==="*="?d&&g.indexOf(d)>-1:f==="$="?d&&g.slice(-d.length)===d:f==="~="?(" "+g.replace($r," ")+" ").indexOf(d)>-1:f==="|="?g===d||g.slice(0,d.length+1)===d+"-":!1):!0}},CHILD:function(s,f,d,C,g){var w=s.slice(0,3)!=="nth",T=s.slice(-4)!=="last",N=f==="of-type";return C===1&&g===0?function(k){return!!k.parentNode}:function(k,L,O){var P,F,Y,q,ee,te,fe=w!==T?"nextSibling":"previousSibling",G=k.parentNode,rt=N&&k.nodeName.toLowerCase(),it=!O&&!N,ce=!1;if(G){if(w){for(;fe;){for(q=k;q=q[fe];)if(N?q.nodeName.toLowerCase()===rt:q.nodeType===1)return!1;te=fe=s==="only"&&!te&&"nextSibling"}return!0}if(te=[T?G.firstChild:G.lastChild],T&&it){for(q=G,Y=q[V]||(q[V]={}),F=Y[q.uniqueID]||(Y[q.uniqueID]={}),P=F[s]||[],ee=P[0]===oe&&P[1],ce=ee&&P[2],q=ee&&G.childNodes[ee];q=++ee&&q&&q[fe]||(ce=ee=0)||te.pop();)if(q.nodeType===1&&++ce&&q===k){F[s]=[oe,ee,ce];break}}else if(it&&(q=k,Y=q[V]||(q[V]={}),F=Y[q.uniqueID]||(Y[q.uniqueID]={}),P=F[s]||[],ee=P[0]===oe&&P[1],ce=ee),ce===!1)for(;(q=++ee&&q&&q[fe]||(ce=ee=0)||te.pop())&&!((N?q.nodeName.toLowerCase()===rt:q.nodeType===1)&&++ce&&(it&&(Y=q[V]||(q[V]={}),F=Y[q.uniqueID]||(Y[q.uniqueID]={}),F[s]=[oe,ce]),q===k)););return ce-=g,ce===C||ce%C===0&&ce/C>=0}}},PSEUDO:function(s,f){var d,C=r.pseudos[s]||r.setFilters[s.toLowerCase()]||X.error("unsupported pseudo: "+s);return C[V]?C(f):C.length>1?(d=[s,s,"",f],r.setFilters.hasOwnProperty(s.toLowerCase())?ge(function(g,w){for(var T,N=C(g,f),k=N.length;k--;)T=He(g,N[k]),g[T]=!(w[T]=N[k])}):function(g){return C(g,0,d)}):C}},pseudos:{not:ge(function(s){var f=[],d=[],C=c(s.replace(ht,"$1"));return C[V]?ge(function(g,w,T,N){for(var k,L=C(g,null,N,[]),O=g.length;O--;)(k=L[O])&&(g[O]=!(w[O]=k))}):function(g,w,T){return f[0]=g,C(f,null,T,d),f[0]=null,!d.pop()}}),has:ge(function(s){return function(f){return X(s,f).length>0}}),contains:ge(function(s){return s=s.replace(Te,Se),function(f){return(f.textContent||o(f)).indexOf(s)>-1}}),lang:ge(function(s){return Xr.test(s||"")||X.error("unsupported lang: "+s),s=s.replace(Te,Se).toLowerCase(),function(f){var d;do if(d=R?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===x.activeElement&&(!x.hasFocus||x.hasFocus())&&!!(s.type||s.href||~s.tabIndex)},enabled:Fn(!1),disabled:Fn(!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 Gr.test(s.nodeName)},input:function(s){return Qr.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:Me(function(){return[0]}),last:Me(function(s,f){return[f-1]}),eq:Me(function(s,f,d){return[d<0?d+f:d]}),even:Me(function(s,f){for(var d=0;d<f;d+=2)s.push(d);return s}),odd:Me(function(s,f){for(var d=1;d<f;d+=2)s.push(d);return s}),lt:Me(function(s,f,d){for(var C=d<0?d+f:d>f?f:d;--C>=0;)s.push(C);return s}),gt:Me(function(s,f,d){for(var C=d<0?d+f:d;++C<f;)s.push(C);return s})}},r.pseudos.nth=r.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=Zr(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=ei(t);function Bn(){}Bn.prototype=r.filters=r.pseudos,r.setFilters=new Bn,a=X.tokenize=function(s,f){var d,C,g,w,T,N,k,L=tt[s+" "];if(L)return f?0:L.slice(0);for(T=s,N=[],k=r.preFilter;T;){(!d||(C=zr.exec(T)))&&(C&&(T=T.slice(C[0].length)||T),N.push(g=[])),d=!1,(C=Pn.exec(T))&&(d=C.shift(),g.push({value:d,type:C[0].replace(ht," ")}),T=T.slice(d.length));for(w in r.filter)(C=gt[w].exec(T))&&(!k[w]||(C=k[w](C)))&&(d=C.shift(),g.push({value:d,type:w,matches:C}),T=T.slice(d.length));if(!d)break}return f?T.length:T?X.error(s):tt(s,N).slice(0)};function vt(s){for(var f=0,d=s.length,C="";f<d;f++)C+=s[f].value;return C}function mt(s,f,d){var C=f.dir,g=f.next,w=g||C,T=d&&w==="parentNode",N=$++;return f.first?function(k,L,O){for(;k=k[C];)if(k.nodeType===1||T)return s(k,L,O);return!1}:function(k,L,O){var P,F,Y,q=[oe,N];if(O){for(;k=k[C];)if((k.nodeType===1||T)&&s(k,L,O))return!0}else for(;k=k[C];)if(k.nodeType===1||T)if(Y=k[V]||(k[V]={}),F=Y[k.uniqueID]||(Y[k.uniqueID]={}),g&&g===k.nodeName.toLowerCase())k=k[C]||k;else{if((P=F[w])&&P[0]===oe&&P[1]===N)return q[2]=P[2];if(F[w]=q,q[2]=s(k,L,O))return!0}return!1}}function Wt(s){return s.length>1?function(f,d,C){for(var g=s.length;g--;)if(!s[g](f,d,C))return!1;return!0}:s[0]}function ti(s,f,d){for(var C=0,g=f.length;C<g;C++)X(s,f[C],d);return d}function bt(s,f,d,C,g){for(var w,T=[],N=0,k=s.length,L=f!=null;N<k;N++)(w=s[N])&&(!d||d(w,C,g))&&(T.push(w),L&&f.push(N));return T}function $t(s,f,d,C,g,w){return C&&!C[V]&&(C=$t(C)),g&&!g[V]&&(g=$t(g,w)),ge(function(T,N,k,L){var O,P,F,Y=[],q=[],ee=N.length,te=T||ti(f||"*",k.nodeType?[k]:k,[]),fe=s&&(T||!f)?bt(te,Y,s,k,L):te,G=d?g||(T?s:ee||C)?[]:N:fe;if(d&&d(fe,G,k,L),C)for(O=bt(G,q),C(O,[],k,L),P=O.length;P--;)(F=O[P])&&(G[q[P]]=!(fe[q[P]]=F));if(T){if(g||s){if(g){for(O=[],P=G.length;P--;)(F=G[P])&&O.push(fe[P]=F);g(null,G=[],O,L)}for(P=G.length;P--;)(F=G[P])&&(O=g?He(T,F):Y[P])>-1&&(T[O]=!(N[O]=F))}}else G=bt(G===N?G.splice(ee,G.length):G),g?g(null,N,G,L):Ae.apply(N,G)})}function zt(s){for(var f,d,C,g=s.length,w=r.relative[s[0].type],T=w||r.relative[" "],N=w?1:0,k=mt(function(P){return P===f},T,!0),L=mt(function(P){return He(f,P)>-1},T,!0),O=[function(P,F,Y){var q=!w&&(Y||F!==h)||((f=F).nodeType?k(P,F,Y):L(P,F,Y));return f=null,q}];N<g;N++)if(d=r.relative[s[N].type])O=[mt(Wt(O),d)];else{if(d=r.filter[s[N].type].apply(null,s[N].matches),d[V]){for(C=++N;C<g&&!r.relative[s[C].type];C++);return $t(N>1&&Wt(O),N>1&&vt(s.slice(0,N-1).concat({value:s[N-2].type===" "?"*":""})).replace(ht,"$1"),d,N<C&&zt(s.slice(N,C)),C<g&&zt(s=s.slice(C)),C<g&&vt(s))}O.push(d)}return Wt(O)}function ni(s,f){var d=f.length>0,C=s.length>0,g=function(w,T,N,k,L){var O,P,F,Y=0,q="0",ee=w&&[],te=[],fe=h,G=w||C&&r.find.TAG("*",L),rt=oe+=fe==null?1:Math.random()||.1,it=G.length;for(L&&(h=T==x||T||L);q!==it&&(O=G[q])!=null;q++){if(C&&O){for(P=0,!T&&O.ownerDocument!=x&&(y(O),N=!R);F=s[P++];)if(F(O,T||x,N)){k.push(O);break}L&&(oe=rt)}d&&((O=!F&&O)&&Y--,w&&ee.push(O))}if(Y+=q,d&&q!==Y){for(P=0;F=f[P++];)F(ee,te,T,N);if(w){if(Y>0)for(;q--;)ee[q]||te[q]||(te[q]=Ne.call(k));te=bt(te)}Ae.apply(k,te),L&&!w&&te.length>0&&Y+f.length>1&&X.uniqueSort(k)}return L&&(oe=rt,h=fe),ee};return d?ge(g):g}return c=X.compile=function(s,f){var d,C=[],g=[],w=pt[s+" "];if(!w){for(f||(f=a(s)),d=f.length;d--;)w=zt(f[d]),w[V]?C.push(w):g.push(w);w=pt(s,ni(g,C)),w.selector=s}return w},l=X.select=function(s,f,d,C){var g,w,T,N,k,L=typeof s=="function"&&s,O=!C&&a(s=L.selector||s);if(d=d||[],O.length===1){if(w=O[0]=O[0].slice(0),w.length>2&&(T=w[0]).type==="ID"&&f.nodeType===9&&R&&r.relative[w[1].type]){if(f=(r.find.ID(T.matches[0].replace(Te,Se),f)||[])[0],f)L&&(f=f.parentNode);else return d;s=s.slice(w.shift().value.length)}for(g=gt.needsContext.test(s)?0:w.length;g--&&(T=w[g],!r.relative[N=T.type]);)if((k=r.find[N])&&(C=k(T.matches[0].replace(Te,Se),_t.test(w[0].type)&&Bt(f.parentNode)||f))){if(w.splice(g,1),s=C.length&&vt(w),!s)return Ae.apply(d,C),d;break}}return(L||c(s,O))(C,f,!R,d,!f||_t.test(s)&&Bt(f.parentNode)||f),d},n.sortStable=V.split("").sort(Le).join("")===V,n.detectDuplicates=!!S,y(),n.sortDetached=ye(function(s){return s.compareDocumentPosition(x.createElement("fieldset"))&1}),ye(function(s){return s.innerHTML="<a href='#'></a>",s.firstChild.getAttribute("href")==="#"})||Ft("type|href|height|width",function(s,f,d){if(!d)return s.getAttribute(f,f.toLowerCase()==="type"?1:2)}),(!n.attributes||!ye(function(s){return s.innerHTML="<input/>",s.firstChild.setAttribute("value",""),s.firstChild.getAttribute("value")===""}))&&Ft("value",function(s,f,d){if(!d&&s.nodeName.toLowerCase()==="input")return s.defaultValue}),ye(function(s){return s.getAttribute("disabled")==null})||Ft(Rt,function(s,f,d){var C;if(!d)return s[f]===!0?f.toLowerCase():(C=s.getAttributeNode(f))&&C.specified?C.value:null}),X}(v);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 _e=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},Yt=function(e,t){for(var n=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n},Qt=i.expr.match.needsContext;function le(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var Gt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function wt(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(wt(this,e||[],!1))},not:function(e){return this.pushStack(wt(this,e||[],!0))},is:function(e){return!!wt(this,typeof e=="string"&&Qt.test(e)?i(e):e||[],!1).length}});var Kt,Un=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Vn=i.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||Kt,typeof e=="string")if(e[0]==="<"&&e[e.length-1]===">"&&e.length>=3?r=[null,e,null]:r=Un.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)),Gt.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)};Vn.prototype=i.fn,Kt=i(B);var Xn=/^(?:parents|prev(?:Until|All))/,Yn={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,u=[],a=typeof e!="string"&&i(e);if(!Qt.test(e)){for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:n.nodeType===1&&i.find.matchesSelector(n,e))){u.push(n);break}}return this.pushStack(u.length>1?i.uniqueSort(u):u)},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 Jt(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 _e(e,"parentNode")},parentsUntil:function(e,t,n){return _e(e,"parentNode",n)},next:function(e){return Jt(e,"nextSibling")},prev:function(e){return Jt(e,"previousSibling")},nextAll:function(e){return _e(e,"nextSibling")},prevAll:function(e){return _e(e,"previousSibling")},nextUntil:function(e,t,n){return _e(e,"nextSibling",n)},prevUntil:function(e,t,n){return _e(e,"previousSibling",n)},siblings:function(e){return Yt((e.parentNode||{}).firstChild,e)},children:function(e){return Yt(e.firstChild)},contents:function(e){return e.contentDocument!=null&&E(e.contentDocument)?e.contentDocument:(le(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&&(Yn[e]||i.uniqueSort(o),Xn.test(e)&&o.reverse()),this.pushStack(o)}});var me=/[^\x20\t\r\n\f]+/g;function Qn(e){var t={};return i.each(e.match(me)||[],function(n,r){t[r]=!0}),t}i.Callbacks=function(e){e=typeof e=="string"?Qn(e):i.extend({},e);var t,n,r,o,u=[],a=[],c=-1,l=function(){for(o=o||e.once,r=t=!0;a.length;c=-1)for(n=a.shift();++c<u.length;)u[c].apply(n[0],n[1])===!1&&e.stopOnFalse&&(c=u.length,n=!1);e.memory||(n=!1),t=!1,o&&(n?u=[]:u="")},h={add:function(){return u&&(n&&!t&&(c=u.length-1,a.push(n)),function m(S){i.each(S,function(y,x){I(x)?(!e.unique||!h.has(x))&&u.push(x):x&&x.length&&Ie(x)!=="string"&&m(x)})}(arguments),n&&!t&&l()),this},remove:function(){return i.each(arguments,function(m,S){for(var y;(y=i.inArray(S,u,y))>-1;)u.splice(y,1),y<=c&&c--}),this},has:function(m){return m?i.inArray(m,u)>-1:u.length>0},empty:function(){return u&&(u=[]),this},disable:function(){return o=a=[],u=n="",this},disabled:function(){return!u},lock:function(){return o=a=[],!n&&!t&&(u=n=""),this},locked:function(){return!!o},fireWith:function(m,S){return o||(S=S||[],S=[m,S.slice?S.slice():S],a.push(S),t||l()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!r}};return h};function Fe(e){return e}function ut(e){throw e}function Zt(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(u){n.apply(void 0,[u])}}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(u){return r.then(null,u)},pipe:function(){var u=arguments;return i.Deferred(function(a){i.each(t,function(c,l){var h=I(u[l[4]])&&u[l[4]];o[l[1]](function(){var m=h&&h.apply(this,arguments);m&&I(m.promise)?m.promise().progress(a.notify).done(a.resolve).fail(a.reject):a[l[0]+"With"](this,h?[m]:arguments)})}),u=null}).promise()},then:function(u,a,c){var l=0;function h(m,S,y,x){return function(){var D=this,R=arguments,j=function(){var J,ae;if(!(m<l)){if(J=y.apply(D,R),J===S.promise())throw new TypeError("Thenable self-resolution");ae=J&&(typeof J=="object"||typeof J=="function")&&J.then,I(ae)?x?ae.call(J,h(l,S,Fe,x),h(l,S,ut,x)):(l++,ae.call(J,h(l,S,Fe,x),h(l,S,ut,x),h(l,S,Fe,S.notifyWith))):(y!==Fe&&(D=void 0,R=[J]),(x||S.resolveWith)(D,R))}},Z=x?j:function(){try{j()}catch(J){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(J,Z.stackTrace),m+1>=l&&(y!==ut&&(D=void 0,R=[J]),S.rejectWith(D,R))}};m?Z():(i.Deferred.getStackHook&&(Z.stackTrace=i.Deferred.getStackHook()),v.setTimeout(Z))}}return i.Deferred(function(m){t[0][3].add(h(0,m,I(c)?c:Fe,m.notifyWith)),t[1][3].add(h(0,m,I(u)?u:Fe)),t[2][3].add(h(0,m,I(a)?a:ut))}).promise()},promise:function(u){return u!=null?i.extend(u,r):r}},o={};return i.each(t,function(u,a){var c=a[2],l=a[5];r[a[1]]=c.add,l&&c.add(function(){n=l},t[3-u][2].disable,t[3-u][3].disable,t[0][2].lock,t[0][3].lock),c.add(a[3].fire),o[a[0]]=function(){return o[a[0]+"With"](this===o?void 0:this,arguments),this},o[a[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=A.call(arguments),u=i.Deferred(),a=function(c){return function(l){r[c]=this,o[c]=arguments.length>1?A.call(arguments):l,--t||u.resolveWith(r,o)}};if(t<=1&&(Zt(e,u.done(a(n)).resolve,u.reject,!t),u.state()==="pending"||I(o[n]&&o[n].then)))return u.then();for(;n--;)Zt(o[n],a(n),u.reject);return u.promise()}});var Gn=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(e,t){v.console&&v.console.warn&&e&&Gn.test(e.name)&&v.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},i.readyException=function(e){v.setTimeout(function(){throw e})};var Tt=i.Deferred();i.fn.ready=function(e){return Tt.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)&&Tt.resolveWith(B,[i]))}}),i.ready.then=Tt.then;function at(){B.removeEventListener("DOMContentLoaded",at),v.removeEventListener("load",at),i.ready()}B.readyState==="complete"||B.readyState!=="loading"&&!B.documentElement.doScroll?v.setTimeout(i.ready):(B.addEventListener("DOMContentLoaded",at),v.addEventListener("load",at));var Ce=function(e,t,n,r,o,u,a){var c=0,l=e.length,h=n==null;if(Ie(n)==="object"){o=!0;for(c in n)Ce(e,t,c,n[c],!0,u,a)}else if(r!==void 0&&(o=!0,I(r)||(a=!0),h&&(a?(t.call(e,r),t=null):(h=t,t=function(m,S,y){return h.call(i(m),y)})),t))for(;c<l;c++)t(e[c],n,a?r:r.call(e[c],c,t(e[c],n)));return o?e:h?t.call(e):l?t(e[0],n):u},Kn=/^-ms-/,Jn=/-([a-z])/g;function Zn(e,t){return t.toUpperCase()}function be(e){return e.replace(Kn,"ms-").replace(Jn,Zn)}var Xe=function(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType};function Ye(){this.expando=i.expando+Ye.uid++}Ye.uid=1,Ye.prototype={cache:function(e){var t=e[this.expando];return t||(t=Object.create(null),Xe(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[be(t)]=n;else for(r in t)o[be(r)]=t[r];return o},get:function(e,t){return t===void 0?this.cache(e):e[this.expando]&&e[this.expando][be(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(be):(t=be(t),t=t in r?[t]:t.match(me)||[]),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 Ye,ne=new Ye,er=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,tr=/[A-Z]/g;function nr(e){return e==="true"?!0:e==="false"?!1:e==="null"?null:e===+e+""?+e:er.test(e)?JSON.parse(e):e}function en(e,t,n){var r;if(n===void 0&&e.nodeType===1)if(r="data-"+t.replace(tr,"-$&").toLowerCase(),n=e.getAttribute(r),typeof n=="string"){try{n=nr(n)}catch{}ne.set(e,t,n)}else n=void 0;return n}i.extend({hasData:function(e){return ne.hasData(e)||H.hasData(e)},data:function(e,t,n){return ne.access(e,t,n)},removeData:function(e,t){ne.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,u=this[0],a=u&&u.attributes;if(e===void 0){if(this.length&&(o=ne.get(u),u.nodeType===1&&!H.get(u,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,r.indexOf("data-")===0&&(r=be(r.slice(5)),en(u,r,o[r])));H.set(u,"hasDataAttrs",!0)}return o}return typeof e=="object"?this.each(function(){ne.set(this,e)}):Ce(this,function(c){var l;if(u&&c===void 0)return l=ne.get(u,e),l!==void 0||(l=en(u,e),l!==void 0)?l:void 0;this.each(function(){ne.set(this,e,c)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){ne.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(),u=i._queueHooks(e,t),a=function(){i.dequeue(e,t)};o==="inprogress"&&(o=n.shift(),r--),o&&(t==="fx"&&n.unshift("inprogress"),delete u.stop,o.call(e,a,u)),!r&&u&&u.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(),u=this,a=this.length,c=function(){--r||o.resolveWith(u,[u])};for(typeof e!="string"&&(t=e,e=void 0),e=e||"fx";a--;)n=H.get(u[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(c));return c(),o.promise(t)}});var tn=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Qe=new RegExp("^(?:([+-])=|)("+tn+")([a-z%]*)$","i"),we=["Top","Right","Bottom","Left"],De=B.documentElement,Be=function(e){return i.contains(e.ownerDocument,e)},rr={composed:!0};De.getRootNode&&(Be=function(e){return i.contains(e.ownerDocument,e)||e.getRootNode(rr)===e.ownerDocument});var st=function(e,t){return e=t||e,e.style.display==="none"||e.style.display===""&&Be(e)&&i.css(e,"display")==="none"};function nn(e,t,n,r){var o,u,a=20,c=r?function(){return r.cur()}:function(){return i.css(e,t,"")},l=c(),h=n&&n[3]||(i.cssNumber[t]?"":"px"),m=e.nodeType&&(i.cssNumber[t]||h!=="px"&&+l)&&Qe.exec(i.css(e,t));if(m&&m[3]!==h){for(l=l/2,h=h||m[3],m=+l||1;a--;)i.style(e,t,m+h),(1-u)*(1-(u=c()/l||.5))<=0&&(a=0),m=m/u;m=m*2,i.style(e,t,m+h),n=n||[]}return n&&(m=+m||+l||0,o=n[1]?m+(n[1]+1)*n[2]:+n[2],r&&(r.unit=h,r.start=m,r.end=o)),o}var rn={};function ir(e){var t,n=e.ownerDocument,r=e.nodeName,o=rn[r];return o||(t=n.body.appendChild(n.createElement(r)),o=i.css(t,"display"),t.parentNode.removeChild(t),o==="none"&&(o="block"),rn[r]=o,o)}function We(e,t){for(var n,r,o=[],u=0,a=e.length;u<a;u++)r=e[u],r.style&&(n=r.style.display,t?(n==="none"&&(o[u]=H.get(r,"display")||null,o[u]||(r.style.display="")),r.style.display===""&&st(r)&&(o[u]=ir(r))):n!=="none"&&(o[u]="none",H.set(r,"display",n)));for(u=0;u<a;u++)o[u]!=null&&(e[u].style.display=o[u]);return e}i.fn.extend({show:function(){return We(this,!0)},hide:function(){return We(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){st(this)?i(this).show():i(this).hide()})}});var Ge=/^(?:checkbox|radio)$/i,on=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,un=/^$|^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 de={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,"",""]};de.tbody=de.tfoot=de.colgroup=de.caption=de.thead,de.th=de.td,z.option||(de.optgroup=de.option=[1,"<select multiple='multiple'>","</select>"]);function re(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&&le(e,t)?i.merge([e],n):n}function St(e,t){for(var n=0,r=e.length;n<r;n++)H.set(e[n],"globalEval",!t||H.get(t[n],"globalEval"))}var or=/<|&#?\w+;/;function an(e,t,n,r,o){for(var u,a,c,l,h,m,S=t.createDocumentFragment(),y=[],x=0,D=e.length;x<D;x++)if(u=e[x],u||u===0)if(Ie(u)==="object")i.merge(y,u.nodeType?[u]:u);else if(!or.test(u))y.push(t.createTextNode(u));else{for(a=a||S.appendChild(t.createElement("div")),c=(on.exec(u)||["",""])[1].toLowerCase(),l=de[c]||de._default,a.innerHTML=l[1]+i.htmlPrefilter(u)+l[2],m=l[0];m--;)a=a.lastChild;i.merge(y,a.childNodes),a=S.firstChild,a.textContent=""}for(S.textContent="",x=0;u=y[x++];){if(r&&i.inArray(u,r)>-1){o&&o.push(u);continue}if(h=Be(u),a=re(S.appendChild(u),"script"),h&&St(a),n)for(m=0;u=a[m++];)un.test(u.type||"")&&n.push(u)}return S}var ur=/^key/,ar=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,sn=/^([^.]*)(?:\.(.+)|)/;function $e(){return!0}function ze(){return!1}function sr(e,t){return e===fr()==(t==="focus")}function fr(){try{return B.activeElement}catch{}}function Et(e,t,n,r,o,u){var a,c;if(typeof t=="object"){typeof n!="string"&&(r=r||n,n=void 0);for(c in t)Et(e,c,n,r,t[c],u);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=ze;else if(!o)return e;return u===1&&(a=o,o=function(l){return i().off(l),a.apply(this,arguments)},o.guid=a.guid||(a.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 u,a,c,l,h,m,S,y,x,D,R,j=H.get(e);if(Xe(e))for(n.handler&&(u=n,n=u.handler,o=u.selector),o&&i.find.matchesSelector(De,o),n.guid||(n.guid=i.guid++),(l=j.events)||(l=j.events=Object.create(null)),(a=j.handle)||(a=j.handle=function(Z){return typeof i<"u"&&i.event.triggered!==Z.type?i.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(me)||[""],h=t.length;h--;)c=sn.exec(t[h])||[],x=R=c[1],D=(c[2]||"").split(".").sort(),x&&(S=i.event.special[x]||{},x=(o?S.delegateType:S.bindType)||x,S=i.event.special[x]||{},m=i.extend({type:x,origType:R,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&i.expr.match.needsContext.test(o),namespace:D.join(".")},u),(y=l[x])||(y=l[x]=[],y.delegateCount=0,(!S.setup||S.setup.call(e,r,D,a)===!1)&&e.addEventListener&&e.addEventListener(x,a)),S.add&&(S.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[x]=!0)},remove:function(e,t,n,r,o){var u,a,c,l,h,m,S,y,x,D,R,j=H.hasData(e)&&H.get(e);if(!(!j||!(l=j.events))){for(t=(t||"").match(me)||[""],h=t.length;h--;){if(c=sn.exec(t[h])||[],x=R=c[1],D=(c[2]||"").split(".").sort(),!x){for(x in l)i.event.remove(e,x+t[h],n,r,!0);continue}for(S=i.event.special[x]||{},x=(r?S.delegateType:S.bindType)||x,y=l[x]||[],c=c[2]&&new RegExp("(^|\\.)"+D.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=u=y.length;u--;)m=y[u],(o||R===m.origType)&&(!n||n.guid===m.guid)&&(!c||c.test(m.namespace))&&(!r||r===m.selector||r==="**"&&m.selector)&&(y.splice(u,1),m.selector&&y.delegateCount--,S.remove&&S.remove.call(e,m));a&&!y.length&&((!S.teardown||S.teardown.call(e,D,j.handle)===!1)&&i.removeEvent(e,x,j.handle),delete l[x])}i.isEmptyObject(l)&&H.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,u,a,c=new Array(arguments.length),l=i.event.fix(e),h=(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(a=i.event.handlers.call(this,l,h),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(u=o.handlers[n++])&&!l.isImmediatePropagationStopped();)(!l.rnamespace||u.namespace===!1||l.rnamespace.test(u.namespace))&&(l.handleObj=u,l.data=u.data,r=((i.event.special[u.origType]||{}).handle||u.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,u,a,c=[],l=t.delegateCount,h=e.target;if(l&&h.nodeType&&!(e.type==="click"&&e.button>=1)){for(;h!==this;h=h.parentNode||this)if(h.nodeType===1&&!(e.type==="click"&&h.disabled===!0)){for(u=[],a={},n=0;n<l;n++)r=t[n],o=r.selector+" ",a[o]===void 0&&(a[o]=r.needsContext?i(o,this).index(h)>-1:i.find(o,this,null,[h]).length),a[o]&&u.push(r);u.length&&c.push({elem:h,handlers:u})}}return h=this,l<t.length&&c.push({elem:h,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 Ge.test(t.type)&&t.click&&le(t,"input")&&ft(t,"click",$e),!1},trigger:function(e){var t=this||e;return Ge.test(t.type)&&t.click&&le(t,"input")&&ft(t,"click"),!0},_default:function(e){var t=e.target;return Ge.test(t.type)&&t.click&&le(t,"input")&&H.get(t,"click")||le(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}};function ft(e,t,n){if(!n){H.get(e,t)===void 0&&i.event.add(e,t,$e);return}H.set(e,t,!1),i.event.add(e,t,{namespace:!1,handler:function(r){var o,u,a=H.get(this,t);if(r.isTrigger&1&&this[t]){if(a.length)(i.event.special[t]||{}).delegateType&&r.stopPropagation();else if(a=A.call(arguments),H.set(this,t,a),o=n(this,t),this[t](),u=H.get(this,t),a!==u||o?H.set(this,t,!1):u={},a!==u)return r.stopImmediatePropagation(),r.preventDefault(),u.value}else a.length&&(H.set(this,t,{value:i.event.trigger(i.extend(a[0],i.Event.prototype),a.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?$e:ze,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:ze,isPropagationStopped:ze,isImmediatePropagationStopped:ze,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=$e,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=$e,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=$e,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&&ur.test(e.type)?e.charCode!=null?e.charCode:e.keyCode:!e.which&&t!==void 0&&ar.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 ft(this,e,sr),!1},trigger:function(){return ft(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,u=n.relatedTarget,a=n.handleObj;return(!u||u!==o&&!i.contains(o,u))&&(n.type=a.origType,r=a.handler.apply(this,arguments),n.type=t),r}}}),i.fn.extend({on:function(e,t,n,r){return Et(this,e,t,n,r)},one:function(e,t,n,r){return Et(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=ze),this.each(function(){i.event.remove(this,e,n,t)})}});var cr=/<script|<style|<link/i,lr=/checked\s*(?:[^=]|=\s*.checked.)/i,dr=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function fn(e,t){return le(e,"table")&&le(t.nodeType!==11?t:t.firstChild,"tr")&&i(e).children("tbody")[0]||e}function pr(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function hr(e){return(e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function cn(e,t){var n,r,o,u,a,c,l;if(t.nodeType===1){if(H.hasData(e)&&(u=H.get(e),l=u.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])}ne.hasData(e)&&(a=ne.access(e),c=i.extend({},a),ne.set(t,c))}}function gr(e,t){var n=t.nodeName.toLowerCase();n==="input"&&Ge.test(e.type)?t.checked=e.checked:(n==="input"||n==="textarea")&&(t.defaultValue=e.defaultValue)}function Ue(e,t,n,r){t=W(t);var o,u,a,c,l,h,m=0,S=e.length,y=S-1,x=t[0],D=I(x);if(D||S>1&&typeof x=="string"&&!z.checkClone&&lr.test(x))return e.each(function(R){var j=e.eq(R);D&&(t[0]=x.call(this,R,j.html())),Ue(j,t,n,r)});if(S&&(o=an(t,e[0].ownerDocument,!1,e,r),u=o.firstChild,o.childNodes.length===1&&(o=u),u||r)){for(a=i.map(re(o,"script"),pr),c=a.length;m<S;m++)l=o,m!==y&&(l=i.clone(l,!0,!0),c&&i.merge(a,re(l,"script"))),n.call(e[m],l,m);if(c)for(h=a[a.length-1].ownerDocument,i.map(a,hr),m=0;m<c;m++)l=a[m],un.test(l.type||"")&&!H.access(l,"globalEval")&&i.contains(h,l)&&(l.src&&(l.type||"").toLowerCase()!=="module"?i._evalUrl&&!l.noModule&&i._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},h):Vt(l.textContent.replace(dr,""),l,h))}return e}function ln(e,t,n){for(var r,o=t?i.filter(t,e):e,u=0;(r=o[u])!=null;u++)!n&&r.nodeType===1&&i.cleanData(re(r)),r.parentNode&&(n&&Be(r)&&St(re(r,"script")),r.parentNode.removeChild(r));return e}i.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,u,a,c=e.cloneNode(!0),l=Be(e);if(!z.noCloneChecked&&(e.nodeType===1||e.nodeType===11)&&!i.isXMLDoc(e))for(a=re(c),u=re(e),r=0,o=u.length;r<o;r++)gr(u[r],a[r]);if(t)if(n)for(u=u||re(e),a=a||re(c),r=0,o=u.length;r<o;r++)cn(u[r],a[r]);else cn(e,c);return a=re(c,"script"),a.length>0&&St(a,!l&&re(e,"script")),c},cleanData:function(e){for(var t,n,r,o=i.event.special,u=0;(n=e[u])!==void 0;u++)if(Xe(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