UNPKG

mupdf-webviewer

Version:

The web viewer SDK using mupdf.js

1 lines 547 kB
import{a as Hp}from"./chunk-GYSDD6ED.js";import{a as Do,f as Ep,k as Mp,l as Rp,m as Wo,n as Ip,o as Ap,p as Np,q as Dp,r as kp,s as Vp,t as Lp,u as ua,v as Fp,w as Bp,x as Up}from"./chunk-3XEYKGPG.js";import{$c as Sn,$d as Yl,$f as Ut,A as un,Ab as Ri,Ac as Wn,Ae as Je,Ah as ot,B as rl,Ba as _l,Bb as Ce,Be as Ir,C as sl,Ca as Io,Cb as ni,Cc as go,Ch as dp,Db as Gs,Dc as Tt,Dh as hp,E as Za,Eb as mt,Ec as Rl,Ee as Xl,Eg as oc,Eh as On,F as ho,Fa as ti,Fb as ec,Fc as _s,Fd as An,Fg as sp,Fh as up,G as al,Gd as Ul,Ge as Bt,Gg as ap,Gi as Cs,H as We,Ha as Sl,Hc as zn,He as Zl,Hg as Ht,Hi as pa,I as nr,Ia as bl,Ib as G,Ic as Il,Id as Rr,Ie as V,Ig as tn,Ih as kr,Ii as _e,J as cl,Ja as mn,Jb as Y,Jc as sr,Jd as Hl,Je as Jl,Jh as gp,Ji as Tp,K as ct,Ka as x,Kc as Pr,Ke as Yi,Kf as tp,Kg as ui,Kh as Vr,Ki as pt,L as Hs,Lb as di,Lc as Al,Ld as Xs,Le as Zt,Lg as jt,Li as L,M as F,Mb as Ae,Mc as Nl,Md as Zs,Mf as ip,Mi as rn,N as js,Na as Ft,Nc as Dl,Ne as Th,Nf as Nr,Ng as ko,Nh as Uo,O as ll,Oa as v,Oc as kl,Od as jl,Og as Vo,P as pl,Pa as Ja,Pe as Ar,Pf as wi,Pg as na,Pi as Op,Q as dl,Qa as be,Qb as Ol,Qc as Vl,Qe as ta,Qi as wp,R as vs,Ra as pi,Rb as uo,Re as ic,Rf as np,Ri as jr,S as hl,Sa as vn,Sb as Oi,Sc as fo,Sd as vo,Sf as oi,Sg as Ot,Sh as fp,T as ul,Tb as ht,Tc as tc,Tf as hi,Tg as wt,Th as mp,Ti as da,U as gl,Ua as se,Ue as So,Uf as Hi,Ug as Ee,Uh as vp,Ui as $r,V as ei,Va as Cl,Ve as Yn,Vg as Dn,Vh as _p,Vi as yp,W as Rn,Wa as xl,Wg as he,Wh as Sp,Wi as Wr,X as $s,Xa as de,Xb as Yt,Xc as Gn,Xd as $l,Xf as Dr,Xg as j,Xh as bp,Xi as ha,Y as jn,Ya as T,Yb as Ys,Yc as _n,Yd as Wl,Yg as gi,Yh as ra,Yi as qt,Z as fl,Za as Gi,Zb as wl,Zd as zl,Zf as No,Zg as nn,Zh as Lr,_ as or,_a as Fe,_c as Di,_d as Gl,_h as Fr,_i as Pp,a as xi,ab as rr,ac as Zi,ad as bn,af as Q,ag as Ji,ah as Lo,b as Tr,bb as Xt,be as ql,bh as cp,bi as ri,cb as M,cc as yl,ce as Js,ch as lp,d as xh,db as I,de as ea,df as Z,e as tl,eb as K,ec as Pl,ee as Ql,ef as ep,f as N,fa as Ws,fb as Vt,fe as Kl,fg as Pe,fh as oa,fi as sa,ga as Ro,gb as Lt,gd as Ss,gf as Nn,gg as Vi,gi as Cp,ha as ut,hb as In,hg as en,hh as Fo,hi as Ne,i as Kt,ib as me,ih as yi,ii as rt,j as Ui,ja as ml,jb as Tl,jd as Cn,jh as Bo,ji as Ii,k as $t,ka as st,kd as Ll,kf as ke,kg as ie,kh as nt,ki as aa,la as wr,lb as ae,lf as xn,lg as St,lh as on,ma as vl,mb as w,md as Fl,mh as qn,mi as Ho,n as il,nc as El,nd as ar,ni as ca,oa as ci,od as mo,og as op,oh as Tn,oi as rc,p as Mn,pa as li,pb as Ao,pc as Ml,pd as Bl,pi as Br,q as je,qb as Ye,qd as bs,qg as q,qi as Ur,ra as Be,rb as Re,rc as yr,re as cr,ri as xp,sb as Ie,t as Us,tb as ii,te as _o,ti as jo,u as xt,ua as Xi,ub as ve,ue as Ke,ui as la,v as Or,va as $,vb as Te,vc as ee,vd as Ks,ve as ki,vh as ji,vi as Hr,wa as W,wb as $n,wc as qs,x as nl,xa as Ti,xb as zs,xc as Qs,xd as Er,xe as Wt,xf as ye,xg as rp,xh as ue,y as ol,yb as Ei,yd as Mr,yg as ia,yh as tt,z as $e,zb as Mi,zg as nc,zh as pp,zi as $o}from"./chunk-FQTIMCVV.js";var ed=xh((Jp,ys)=>{(function(s,t){"use strict";typeof ys=="object"&&typeof ys.exports=="object"?ys.exports=s.document?t(s,!0):function(i){if(!i.document)throw new Error("jQuery requires a window with a document");return t(i)}:t(s)})(typeof window<"u"?window:Jp,function(s,t){"use strict";var i=[],e=s.document,n=Object.getPrototypeOf,r=i.slice,l=i.concat,g=i.push,S=i.indexOf,P={},A=P.toString,B=P.hasOwnProperty,J=B.toString,ge=J.call(Object),le={};function xe(o,a){a=a||e;var c=a.createElement("script");c.text=o,a.head.appendChild(c).parentNode.removeChild(c)}var qe="3.2.0",p=function(o,a){return new p.fn.init(o,a)},_t=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,gt=/^-ms-/,ft=/-([a-z])/g,Rt=function(o,a){return a.toUpperCase()};p.fn=p.prototype={jquery:qe,constructor:p,length:0,toArray:function(){return r.call(this)},get:function(o){return o==null?r.call(this):o<0?this[o+this.length]:this[o]},pushStack:function(o){var a=p.merge(this.constructor(),o);return a.prevObject=this,a},each:function(o){return p.each(this,o)},map:function(o){return this.pushStack(p.map(this,function(a,c){return o.call(a,c,a)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(o){var a=this.length,c=+o+(o<0?a:0);return this.pushStack(c>=0&&c<a?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:i.sort,splice:i.splice},p.extend=p.fn.extend=function(){var o,a,c,d,m,f,_=arguments[0]||{},E=1,k=arguments.length,H=!1;for(typeof _=="boolean"&&(H=_,_=arguments[E]||{},E++),typeof _=="object"||p.isFunction(_)||(_={}),E===k&&(_=this,E--);E<k;E++)if((o=arguments[E])!=null)for(a in o)c=_[a],d=o[a],_!==d&&(H&&d&&(p.isPlainObject(d)||(m=Array.isArray(d)))?(m?(m=!1,f=c&&Array.isArray(c)?c:[]):f=c&&p.isPlainObject(c)?c:{},_[a]=p.extend(H,f,d)):d!==void 0&&(_[a]=d));return _},p.extend({expando:"jQuery"+(qe+Math.random()).replace(/\D/g,""),isReady:!0,error:function(o){throw new Error(o)},noop:function(){},isFunction:function(o){return p.type(o)==="function"},isWindow:function(o){return o!=null&&o===o.window},isNumeric:function(o){var a=p.type(o);return(a==="number"||a==="string")&&!isNaN(o-parseFloat(o))},isPlainObject:function(o){var a,c;return!(!o||A.call(o)!=="[object Object]")&&(!(a=n(o))||(c=B.call(a,"constructor")&&a.constructor,typeof c=="function"&&J.call(c)===ge))},isEmptyObject:function(o){var a;for(a in o)return!1;return!0},type:function(o){return o==null?o+"":typeof o=="object"||typeof o=="function"?P[A.call(o)]||"object":typeof o},globalEval:function(o){xe(o)},camelCase:function(o){return o.replace(gt,"ms-").replace(ft,Rt)},each:function(o,a){var c,d=0;if(Fi(o))for(c=o.length;d<c&&a.call(o[d],d,o[d])!==!1;d++);else for(d in o)if(a.call(o[d],d,o[d])===!1)break;return o},trim:function(o){return o==null?"":(o+"").replace(_t,"")},makeArray:function(o,a){var c=a||[];return o!=null&&(Fi(Object(o))?p.merge(c,typeof o=="string"?[o]:o):g.call(c,o)),c},inArray:function(o,a,c){return a==null?-1:S.call(a,o,c)},merge:function(o,a){for(var c=+a.length,d=0,m=o.length;d<c;d++)o[m++]=a[d];return o.length=m,o},grep:function(o,a,c){for(var d,m=[],f=0,_=o.length,E=!c;f<_;f++)d=!a(o[f],f),d!==E&&m.push(o[f]);return m},map:function(o,a,c){var d,m,f=0,_=[];if(Fi(o))for(d=o.length;f<d;f++)m=a(o[f],f,c),m!=null&&_.push(m);else for(f in o)m=a(o[f],f,c),m!=null&&_.push(m);return l.apply([],_)},guid:1,proxy:function(o,a){var c,d,m;if(typeof a=="string"&&(c=o[a],a=o,o=c),p.isFunction(o))return d=r.call(arguments,2),m=function(){return o.apply(a||this,d.concat(r.call(arguments)))},m.guid=o.guid=o.guid||p.guid++,m},now:Date.now,support:le}),typeof Symbol=="function"&&(p.fn[Symbol.iterator]=i[Symbol.iterator]),p.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(o,a){P["[object "+a+"]"]=a.toLowerCase()});function Fi(o){var a=!!o&&"length"in o&&o.length,c=p.type(o);return c!=="function"&&!p.isWindow(o)&&(c==="array"||a===0||typeof a=="number"&&a>0&&a-1 in o)}var si=function(o){var a,c,d,m,f,_,E,k,H,ne,pe,z,re,Ge,et,De,Si,ai,ln,At="sizzle"+1*new Date,Ze=o.document,Ki=0,vt=0,Jt=Ga(),hs=Ga(),xr=Ga(),Pn=function(C,y){return C===y&&(pe=!0),0},us={}.hasOwnProperty,pn=[],Eo=pn.pop,Mo=pn.push,bi=pn.push,Yc=pn.slice,er=function(C,y){for(var D=0,te=C.length;D<te;D++)if(C[D]===y)return D;return-1},$a="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Nt="[\\x20\\t\\r\\n\\f]",tr="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",qc="\\["+Nt+"*("+tr+")(?:"+Nt+"*([*^$|!~]?=)"+Nt+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+tr+"))|)"+Nt+"*\\]",Wa=":("+tr+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+qc+")*)|.*)\\)|)",ch=new RegExp(Nt+"+","g"),ks=new RegExp("^"+Nt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Nt+"+$","g"),lh=new RegExp("^"+Nt+"*,"+Nt+"*"),ph=new RegExp("^"+Nt+"*([>+~]|"+Nt+")"+Nt+"*"),dh=new RegExp("="+Nt+`*([^\\]'"]*?)`+Nt+"*\\]","g"),hh=new RegExp(Wa),uh=new RegExp("^"+tr+"$"),Vs={ID:new RegExp("^#("+tr+")"),CLASS:new RegExp("^\\.("+tr+")"),TAG:new RegExp("^("+tr+"|[*])"),ATTR:new RegExp("^"+qc),PSEUDO:new RegExp("^"+Wa),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Nt+"*(even|odd|(([+-]|)(\\d*)n|)"+Nt+"*(?:([+-]|)"+Nt+"*(\\d+)|))"+Nt+"*\\)|)","i"),bool:new RegExp("^(?:"+$a+")$","i"),needsContext:new RegExp("^"+Nt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Nt+"*((?:-\\d)?\\d*)"+Nt+"*\\)|)(?=[^-]|$)","i")},gh=/^(?:input|select|textarea|button)$/i,fh=/^h\d$/i,gs=/^[^{]+\{\s*\[native \w/,mh=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,za=/[+~]/,lo=new RegExp("\\\\([\\da-f]{1,6}"+Nt+"?|("+Nt+")|.)","ig"),po=function(C,y,D){var te="0x"+y-65536;return te!==te||D?y:te<0?String.fromCharCode(te+65536):String.fromCharCode(te>>10|55296,1023&te|56320)},Qc=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Kc=function(C,y){return y?C==="\0"?"\uFFFD":C.slice(0,-1)+"\\"+C.charCodeAt(C.length-1).toString(16)+" ":"\\"+C},Xc=function(){z()},vh=Fs(function(C){return C.disabled===!0&&("form"in C||"label"in C)},{dir:"parentNode",next:"legend"});try{bi.apply(pn=Yc.call(Ze.childNodes),Ze.childNodes),pn[Ze.childNodes.length].nodeType}catch{bi={apply:pn.length?function(y,D){Mo.apply(y,Yc.call(D))}:function(y,D){for(var te=y.length,U=0;y[te++]=D[U++];);y.length=te-1}}}function Dt(C,y,D,te){var U,oe,ce,fe,Se,Ue,Le,Qe=y&&y.ownerDocument,lt=y?y.nodeType:9;if(D=D||[],typeof C!="string"||!C||lt!==1&&lt!==9&&lt!==11)return D;if(!te&&((y?y.ownerDocument||y:Ze)!==re&&z(y),y=y||re,et)){if(lt!==11&&(Se=mh.exec(C)))if(U=Se[1]){if(lt===9){if(!(ce=y.getElementById(U)))return D;if(ce.id===U)return D.push(ce),D}else if(Qe&&(ce=Qe.getElementById(U))&&ln(y,ce)&&ce.id===U)return D.push(ce),D}else{if(Se[2])return bi.apply(D,y.getElementsByTagName(C)),D;if((U=Se[3])&&c.getElementsByClassName&&y.getElementsByClassName)return bi.apply(D,y.getElementsByClassName(U)),D}if(c.qsa&&!xr[C+" "]&&(!De||!De.test(C))){if(lt!==1)Qe=y,Le=C;else if(y.nodeName.toLowerCase()!=="object"){for((fe=y.getAttribute("id"))?fe=fe.replace(Qc,Kc):y.setAttribute("id",fe=At),Ue=_(C),oe=Ue.length;oe--;)Ue[oe]="#"+fe+" "+Ls(Ue[oe]);Le=Ue.join(","),Qe=za.test(C)&&qa(y.parentNode)||y}if(Le)try{return bi.apply(D,Qe.querySelectorAll(Le)),D}catch{}finally{fe===At&&y.removeAttribute("id")}}}return k(C.replace(ks,"$1"),y,D,te)}function Ga(){var C=[];function y(D,te){return C.push(D+" ")>d.cacheLength&&delete y[C.shift()],y[D+" "]=te}return y}function En(C){return C[At]=!0,C}function Hn(C){var y=re.createElement("fieldset");try{return!!C(y)}catch{return!1}finally{y.parentNode&&y.parentNode.removeChild(y),y=null}}function Ya(C,y){for(var D=C.split("|"),te=D.length;te--;)d.attrHandle[D[te]]=y}function Zc(C,y){var D=y&&C,te=D&&C.nodeType===1&&y.nodeType===1&&C.sourceIndex-y.sourceIndex;if(te)return te;if(D){for(;D=D.nextSibling;)if(D===y)return-1}return C?1:-1}function _h(C){return function(y){var D=y.nodeName.toLowerCase();return D==="input"&&y.type===C}}function Sh(C){return function(y){var D=y.nodeName.toLowerCase();return(D==="input"||D==="button")&&y.type===C}}function Jc(C){return function(y){return"form"in y?y.parentNode&&y.disabled===!1?"label"in y?"label"in y.parentNode?y.parentNode.disabled===C:y.disabled===C:y.isDisabled===C||y.isDisabled!==!C&&vh(y)===C:y.disabled===C:"label"in y&&y.disabled===C}}function ir(C){return En(function(y){return y=+y,En(function(D,te){for(var U,oe=C([],D.length,y),ce=oe.length;ce--;)D[U=oe[ce]]&&(D[U]=!(te[U]=D[U]))})})}function qa(C){return C&&typeof C.getElementsByTagName<"u"&&C}c=Dt.support={},f=Dt.isXML=function(C){var y=C&&(C.ownerDocument||C).documentElement;return!!y&&y.nodeName!=="HTML"},z=Dt.setDocument=function(C){var y,D,te=C?C.ownerDocument||C:Ze;return te!==re&&te.nodeType===9&&te.documentElement&&(re=te,Ge=re.documentElement,et=!f(re),Ze!==re&&(D=re.defaultView)&&D.top!==D&&(D.addEventListener?D.addEventListener("unload",Xc,!1):D.attachEvent&&D.attachEvent("onunload",Xc)),c.attributes=Hn(function(U){return U.className="i",!U.getAttribute("className")}),c.getElementsByTagName=Hn(function(U){return U.appendChild(re.createComment("")),!U.getElementsByTagName("*").length}),c.getElementsByClassName=gs.test(re.getElementsByClassName),c.getById=Hn(function(U){return Ge.appendChild(U).id=At,!re.getElementsByName||!re.getElementsByName(At).length}),c.getById?(d.filter.ID=function(U){var oe=U.replace(lo,po);return function(ce){return ce.getAttribute("id")===oe}},d.find.ID=function(U,oe){if(typeof oe.getElementById<"u"&&et){var ce=oe.getElementById(U);return ce?[ce]:[]}}):(d.filter.ID=function(U){var oe=U.replace(lo,po);return function(ce){var fe=typeof ce.getAttributeNode<"u"&&ce.getAttributeNode("id");return fe&&fe.value===oe}},d.find.ID=function(U,oe){if(typeof oe.getElementById<"u"&&et){var ce,fe,Se,Ue=oe.getElementById(U);if(Ue){if(ce=Ue.getAttributeNode("id"),ce&&ce.value===U)return[Ue];for(Se=oe.getElementsByName(U),fe=0;Ue=Se[fe++];)if(ce=Ue.getAttributeNode("id"),ce&&ce.value===U)return[Ue]}return[]}}),d.find.TAG=c.getElementsByTagName?function(U,oe){return typeof oe.getElementsByTagName<"u"?oe.getElementsByTagName(U):c.qsa?oe.querySelectorAll(U):void 0}:function(U,oe){var ce,fe=[],Se=0,Ue=oe.getElementsByTagName(U);if(U==="*"){for(;ce=Ue[Se++];)ce.nodeType===1&&fe.push(ce);return fe}return Ue},d.find.CLASS=c.getElementsByClassName&&function(U,oe){if(typeof oe.getElementsByClassName<"u"&&et)return oe.getElementsByClassName(U)},Si=[],De=[],(c.qsa=gs.test(re.querySelectorAll))&&(Hn(function(U){Ge.appendChild(U).innerHTML="<a id='"+At+"'></a><select id='"+At+"-\r\\' msallowcapture=''><option selected=''></option></select>",U.querySelectorAll("[msallowcapture^='']").length&&De.push("[*^$]="+Nt+`*(?:''|"")`),U.querySelectorAll("[selected]").length||De.push("\\["+Nt+"*(?:value|"+$a+")"),U.querySelectorAll("[id~="+At+"-]").length||De.push("~="),U.querySelectorAll(":checked").length||De.push(":checked"),U.querySelectorAll("a#"+At+"+*").length||De.push(".#.+[+~]")}),Hn(function(U){U.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var oe=re.createElement("input");oe.setAttribute("type","hidden"),U.appendChild(oe).setAttribute("name","D"),U.querySelectorAll("[name=d]").length&&De.push("name"+Nt+"*[*^$|!~]?="),U.querySelectorAll(":enabled").length!==2&&De.push(":enabled",":disabled"),Ge.appendChild(U).disabled=!0,U.querySelectorAll(":disabled").length!==2&&De.push(":enabled",":disabled"),U.querySelectorAll("*,:x"),De.push(",.*:")})),(c.matchesSelector=gs.test(ai=Ge.matches||Ge.webkitMatchesSelector||Ge.mozMatchesSelector||Ge.oMatchesSelector||Ge.msMatchesSelector))&&Hn(function(U){c.disconnectedMatch=ai.call(U,"*"),ai.call(U,"[s!='']:x"),Si.push("!=",Wa)}),De=De.length&&new RegExp(De.join("|")),Si=Si.length&&new RegExp(Si.join("|")),y=gs.test(Ge.compareDocumentPosition),ln=y||gs.test(Ge.contains)?function(U,oe){var ce=U.nodeType===9?U.documentElement:U,fe=oe&&oe.parentNode;return U===fe||!(!fe||fe.nodeType!==1||!(ce.contains?ce.contains(fe):U.compareDocumentPosition&&16&U.compareDocumentPosition(fe)))}:function(U,oe){if(oe){for(;oe=oe.parentNode;)if(oe===U)return!0}return!1},Pn=y?function(U,oe){if(U===oe)return pe=!0,0;var ce=!U.compareDocumentPosition-!oe.compareDocumentPosition;return ce||(ce=(U.ownerDocument||U)===(oe.ownerDocument||oe)?U.compareDocumentPosition(oe):1,1&ce||!c.sortDetached&&oe.compareDocumentPosition(U)===ce?U===re||U.ownerDocument===Ze&&ln(Ze,U)?-1:oe===re||oe.ownerDocument===Ze&&ln(Ze,oe)?1:ne?er(ne,U)-er(ne,oe):0:4&ce?-1:1)}:function(U,oe){if(U===oe)return pe=!0,0;var ce,fe=0,Se=U.parentNode,Ue=oe.parentNode,Le=[U],Qe=[oe];if(!Se||!Ue)return U===re?-1:oe===re?1:Se?-1:Ue?1:ne?er(ne,U)-er(ne,oe):0;if(Se===Ue)return Zc(U,oe);for(ce=U;ce=ce.parentNode;)Le.unshift(ce);for(ce=oe;ce=ce.parentNode;)Qe.unshift(ce);for(;Le[fe]===Qe[fe];)fe++;return fe?Zc(Le[fe],Qe[fe]):Le[fe]===Ze?-1:Qe[fe]===Ze?1:0}),re},Dt.matches=function(C,y){return Dt(C,null,null,y)},Dt.matchesSelector=function(C,y){if((C.ownerDocument||C)!==re&&z(C),y=y.replace(dh,"='$1']"),c.matchesSelector&&et&&!xr[y+" "]&&(!Si||!Si.test(y))&&(!De||!De.test(y)))try{var D=ai.call(C,y);if(D||c.disconnectedMatch||C.document&&C.document.nodeType!==11)return D}catch{}return Dt(y,re,null,[C]).length>0},Dt.contains=function(C,y){return(C.ownerDocument||C)!==re&&z(C),ln(C,y)},Dt.attr=function(C,y){(C.ownerDocument||C)!==re&&z(C);var D=d.attrHandle[y.toLowerCase()],te=D&&us.call(d.attrHandle,y.toLowerCase())?D(C,y,!et):void 0;return te!==void 0?te:c.attributes||!et?C.getAttribute(y):(te=C.getAttributeNode(y))&&te.specified?te.value:null},Dt.escape=function(C){return(C+"").replace(Qc,Kc)},Dt.error=function(C){throw new Error("Syntax error, unrecognized expression: "+C)},Dt.uniqueSort=function(C){var y,D=[],te=0,U=0;if(pe=!c.detectDuplicates,ne=!c.sortStable&&C.slice(0),C.sort(Pn),pe){for(;y=C[U++];)y===C[U]&&(te=D.push(U));for(;te--;)C.splice(D[te],1)}return ne=null,C},m=Dt.getText=function(C){var y,D="",te=0,U=C.nodeType;if(U){if(U===1||U===9||U===11){if(typeof C.textContent=="string")return C.textContent;for(C=C.firstChild;C;C=C.nextSibling)D+=m(C)}else if(U===3||U===4)return C.nodeValue}else for(;y=C[te++];)D+=m(y);return D},d=Dt.selectors={cacheLength:50,createPseudo:En,match:Vs,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(C){return C[1]=C[1].replace(lo,po),C[3]=(C[3]||C[4]||C[5]||"").replace(lo,po),C[2]==="~="&&(C[3]=" "+C[3]+" "),C.slice(0,4)},CHILD:function(C){return C[1]=C[1].toLowerCase(),C[1].slice(0,3)==="nth"?(C[3]||Dt.error(C[0]),C[4]=+(C[4]?C[5]+(C[6]||1):2*(C[3]==="even"||C[3]==="odd")),C[5]=+(C[7]+C[8]||C[3]==="odd")):C[3]&&Dt.error(C[0]),C},PSEUDO:function(C){var y,D=!C[6]&&C[2];return Vs.CHILD.test(C[0])?null:(C[3]?C[2]=C[4]||C[5]||"":D&&hh.test(D)&&(y=_(D,!0))&&(y=D.indexOf(")",D.length-y)-D.length)&&(C[0]=C[0].slice(0,y),C[2]=D.slice(0,y)),C.slice(0,3))}},filter:{TAG:function(C){var y=C.replace(lo,po).toLowerCase();return C==="*"?function(){return!0}:function(D){return D.nodeName&&D.nodeName.toLowerCase()===y}},CLASS:function(C){var y=Jt[C+" "];return y||(y=new RegExp("(^|"+Nt+")"+C+"("+Nt+"|$)"))&&Jt(C,function(D){return y.test(typeof D.className=="string"&&D.className||typeof D.getAttribute<"u"&&D.getAttribute("class")||"")})},ATTR:function(C,y,D){return function(te){var U=Dt.attr(te,C);return U==null?y==="!=":!y||(U+="",y==="="?U===D:y==="!="?U!==D:y==="^="?D&&U.indexOf(D)===0:y==="*="?D&&U.indexOf(D)>-1:y==="$="?D&&U.slice(-D.length)===D:y==="~="?(" "+U.replace(ch," ")+" ").indexOf(D)>-1:y==="|="&&(U===D||U.slice(0,D.length+1)===D+"-"))}},CHILD:function(C,y,D,te,U){var oe=C.slice(0,3)!=="nth",ce=C.slice(-4)!=="last",fe=y==="of-type";return te===1&&U===0?function(Se){return!!Se.parentNode}:function(Se,Ue,Le){var Qe,lt,kt,He,Ci,Bi,dn=oe!==ce?"nextSibling":"previousSibling",Gt=Se.parentNode,fs=fe&&Se.nodeName.toLowerCase(),ms=!Le&&!fe,hn=!1;if(Gt){if(oe){for(;dn;){for(He=Se;He=He[dn];)if(fe?He.nodeName.toLowerCase()===fs:He.nodeType===1)return!1;Bi=dn=C==="only"&&!Bi&&"nextSibling"}return!0}if(Bi=[ce?Gt.firstChild:Gt.lastChild],ce&&ms){for(He=Gt,kt=He[At]||(He[At]={}),lt=kt[He.uniqueID]||(kt[He.uniqueID]={}),Qe=lt[C]||[],Ci=Qe[0]===Ki&&Qe[1],hn=Ci&&Qe[2],He=Ci&&Gt.childNodes[Ci];He=++Ci&&He&&He[dn]||(hn=Ci=0)||Bi.pop();)if(He.nodeType===1&&++hn&&He===Se){lt[C]=[Ki,Ci,hn];break}}else if(ms&&(He=Se,kt=He[At]||(He[At]={}),lt=kt[He.uniqueID]||(kt[He.uniqueID]={}),Qe=lt[C]||[],Ci=Qe[0]===Ki&&Qe[1],hn=Ci),hn===!1)for(;(He=++Ci&&He&&He[dn]||(hn=Ci=0)||Bi.pop())&&!((fe?He.nodeName.toLowerCase()===fs:He.nodeType===1)&&++hn&&(ms&&(kt=He[At]||(He[At]={}),lt=kt[He.uniqueID]||(kt[He.uniqueID]={}),lt[C]=[Ki,hn]),He===Se)););return hn-=U,hn===te||hn%te===0&&hn/te>=0}}},PSEUDO:function(C,y){var D,te=d.pseudos[C]||d.setFilters[C.toLowerCase()]||Dt.error("unsupported pseudo: "+C);return te[At]?te(y):te.length>1?(D=[C,C,"",y],d.setFilters.hasOwnProperty(C.toLowerCase())?En(function(U,oe){for(var ce,fe=te(U,y),Se=fe.length;Se--;)ce=er(U,fe[Se]),U[ce]=!(oe[ce]=fe[Se])}):function(U){return te(U,0,D)}):te}},pseudos:{not:En(function(C){var y=[],D=[],te=E(C.replace(ks,"$1"));return te[At]?En(function(U,oe,ce,fe){for(var Se,Ue=te(U,null,fe,[]),Le=U.length;Le--;)(Se=Ue[Le])&&(U[Le]=!(oe[Le]=Se))}):function(U,oe,ce){return y[0]=U,te(y,null,ce,D),y[0]=null,!D.pop()}}),has:En(function(C){return function(y){return Dt(C,y).length>0}}),contains:En(function(C){return C=C.replace(lo,po),function(y){return(y.textContent||y.innerText||m(y)).indexOf(C)>-1}}),lang:En(function(C){return uh.test(C||"")||Dt.error("unsupported lang: "+C),C=C.replace(lo,po).toLowerCase(),function(y){var D;do if(D=et?y.lang:y.getAttribute("xml:lang")||y.getAttribute("lang"))return D=D.toLowerCase(),D===C||D.indexOf(C+"-")===0;while((y=y.parentNode)&&y.nodeType===1);return!1}}),target:function(C){var y=o.location&&o.location.hash;return y&&y.slice(1)===C.id},root:function(C){return C===Ge},focus:function(C){return C===re.activeElement&&(!re.hasFocus||re.hasFocus())&&!!(C.type||C.href||~C.tabIndex)},enabled:Jc(!1),disabled:Jc(!0),checked:function(C){var y=C.nodeName.toLowerCase();return y==="input"&&!!C.checked||y==="option"&&!!C.selected},selected:function(C){return C.parentNode&&C.parentNode.selectedIndex,C.selected===!0},empty:function(C){for(C=C.firstChild;C;C=C.nextSibling)if(C.nodeType<6)return!1;return!0},parent:function(C){return!d.pseudos.empty(C)},header:function(C){return fh.test(C.nodeName)},input:function(C){return gh.test(C.nodeName)},button:function(C){var y=C.nodeName.toLowerCase();return y==="input"&&C.type==="button"||y==="button"},text:function(C){var y;return C.nodeName.toLowerCase()==="input"&&C.type==="text"&&((y=C.getAttribute("type"))==null||y.toLowerCase()==="text")},first:ir(function(){return[0]}),last:ir(function(C,y){return[y-1]}),eq:ir(function(C,y,D){return[D<0?D+y:D]}),even:ir(function(C,y){for(var D=0;D<y;D+=2)C.push(D);return C}),odd:ir(function(C,y){for(var D=1;D<y;D+=2)C.push(D);return C}),lt:ir(function(C,y,D){for(var te=D<0?D+y:D;--te>=0;)C.push(te);return C}),gt:ir(function(C,y,D){for(var te=D<0?D+y:D;++te<y;)C.push(te);return C})}},d.pseudos.nth=d.pseudos.eq;for(a in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[a]=_h(a);for(a in{submit:!0,reset:!0})d.pseudos[a]=Sh(a);function el(){}el.prototype=d.filters=d.pseudos,d.setFilters=new el,_=Dt.tokenize=function(C,y){var D,te,U,oe,ce,fe,Se,Ue=hs[C+" "];if(Ue)return y?0:Ue.slice(0);for(ce=C,fe=[],Se=d.preFilter;ce;){D&&!(te=lh.exec(ce))||(te&&(ce=ce.slice(te[0].length)||ce),fe.push(U=[])),D=!1,(te=ph.exec(ce))&&(D=te.shift(),U.push({value:D,type:te[0].replace(ks," ")}),ce=ce.slice(D.length));for(oe in d.filter)!(te=Vs[oe].exec(ce))||Se[oe]&&!(te=Se[oe](te))||(D=te.shift(),U.push({value:D,type:oe,matches:te}),ce=ce.slice(D.length));if(!D)break}return y?ce.length:ce?Dt.error(C):hs(C,fe).slice(0)};function Ls(C){for(var y=0,D=C.length,te="";y<D;y++)te+=C[y].value;return te}function Fs(C,y,D){var te=y.dir,U=y.next,oe=U||te,ce=D&&oe==="parentNode",fe=vt++;return y.first?function(Se,Ue,Le){for(;Se=Se[te];)if(Se.nodeType===1||ce)return C(Se,Ue,Le);return!1}:function(Se,Ue,Le){var Qe,lt,kt,He=[Ki,fe];if(Le){for(;Se=Se[te];)if((Se.nodeType===1||ce)&&C(Se,Ue,Le))return!0}else for(;Se=Se[te];)if(Se.nodeType===1||ce)if(kt=Se[At]||(Se[At]={}),lt=kt[Se.uniqueID]||(kt[Se.uniqueID]={}),U&&U===Se.nodeName.toLowerCase())Se=Se[te]||Se;else{if((Qe=lt[oe])&&Qe[0]===Ki&&Qe[1]===fe)return He[2]=Qe[2];if(lt[oe]=He,He[2]=C(Se,Ue,Le))return!0}return!1}}function Qa(C){return C.length>1?function(y,D,te){for(var U=C.length;U--;)if(!C[U](y,D,te))return!1;return!0}:C[0]}function bh(C,y,D){for(var te=0,U=y.length;te<U;te++)Dt(C,y[te],D);return D}function Bs(C,y,D,te,U){for(var oe,ce=[],fe=0,Se=C.length,Ue=y!=null;fe<Se;fe++)(oe=C[fe])&&(D&&!D(oe,te,U)||(ce.push(oe),Ue&&y.push(fe)));return ce}function Ka(C,y,D,te,U,oe){return te&&!te[At]&&(te=Ka(te)),U&&!U[At]&&(U=Ka(U,oe)),En(function(ce,fe,Se,Ue){var Le,Qe,lt,kt=[],He=[],Ci=fe.length,Bi=ce||bh(y||"*",Se.nodeType?[Se]:Se,[]),dn=!C||!ce&&y?Bi:Bs(Bi,kt,C,Se,Ue),Gt=D?U||(ce?C:Ci||te)?[]:fe:dn;if(D&&D(dn,Gt,Se,Ue),te)for(Le=Bs(Gt,He),te(Le,[],Se,Ue),Qe=Le.length;Qe--;)(lt=Le[Qe])&&(Gt[He[Qe]]=!(dn[He[Qe]]=lt));if(ce){if(U||C){if(U){for(Le=[],Qe=Gt.length;Qe--;)(lt=Gt[Qe])&&Le.push(dn[Qe]=lt);U(null,Gt=[],Le,Ue)}for(Qe=Gt.length;Qe--;)(lt=Gt[Qe])&&(Le=U?er(ce,lt):kt[Qe])>-1&&(ce[Le]=!(fe[Le]=lt))}}else Gt=Bs(Gt===fe?Gt.splice(Ci,Gt.length):Gt),U?U(null,fe,Gt,Ue):bi.apply(fe,Gt)})}function Xa(C){for(var y,D,te,U=C.length,oe=d.relative[C[0].type],ce=oe||d.relative[" "],fe=oe?1:0,Se=Fs(function(Qe){return Qe===y},ce,!0),Ue=Fs(function(Qe){return er(y,Qe)>-1},ce,!0),Le=[function(Qe,lt,kt){var He=!oe&&(kt||lt!==H)||((y=lt).nodeType?Se(Qe,lt,kt):Ue(Qe,lt,kt));return y=null,He}];fe<U;fe++)if(D=d.relative[C[fe].type])Le=[Fs(Qa(Le),D)];else{if(D=d.filter[C[fe].type].apply(null,C[fe].matches),D[At]){for(te=++fe;te<U&&!d.relative[C[te].type];te++);return Ka(fe>1&&Qa(Le),fe>1&&Ls(C.slice(0,fe-1).concat({value:C[fe-2].type===" "?"*":""})).replace(ks,"$1"),D,fe<te&&Xa(C.slice(fe,te)),te<U&&Xa(C=C.slice(te)),te<U&&Ls(C))}Le.push(D)}return Qa(Le)}function Ch(C,y){var D=y.length>0,te=C.length>0,U=function(oe,ce,fe,Se,Ue){var Le,Qe,lt,kt=0,He="0",Ci=oe&&[],Bi=[],dn=H,Gt=oe||te&&d.find.TAG("*",Ue),fs=Ki+=dn==null?1:Math.random()||.1,ms=Gt.length;for(Ue&&(H=ce===re||ce||Ue);He!==ms&&(Le=Gt[He])!=null;He++){if(te&&Le){for(Qe=0,ce||Le.ownerDocument===re||(z(Le),fe=!et);lt=C[Qe++];)if(lt(Le,ce||re,fe)){Se.push(Le);break}Ue&&(Ki=fs)}D&&((Le=!lt&&Le)&&kt--,oe&&Ci.push(Le))}if(kt+=He,D&&He!==kt){for(Qe=0;lt=y[Qe++];)lt(Ci,Bi,ce,fe);if(oe){if(kt>0)for(;He--;)Ci[He]||Bi[He]||(Bi[He]=Eo.call(Se));Bi=Bs(Bi)}bi.apply(Se,Bi),Ue&&!oe&&Bi.length>0&&kt+y.length>1&&Dt.uniqueSort(Se)}return Ue&&(Ki=fs,H=dn),Ci};return D?En(U):U}return E=Dt.compile=function(C,y){var D,te=[],U=[],oe=xr[C+" "];if(!oe){for(y||(y=_(C)),D=y.length;D--;)oe=Xa(y[D]),oe[At]?te.push(oe):U.push(oe);oe=xr(C,Ch(U,te)),oe.selector=C}return oe},k=Dt.select=function(C,y,D,te){var U,oe,ce,fe,Se,Ue=typeof C=="function"&&C,Le=!te&&_(C=Ue.selector||C);if(D=D||[],Le.length===1){if(oe=Le[0]=Le[0].slice(0),oe.length>2&&(ce=oe[0]).type==="ID"&&y.nodeType===9&&et&&d.relative[oe[1].type]){if(y=(d.find.ID(ce.matches[0].replace(lo,po),y)||[])[0],!y)return D;Ue&&(y=y.parentNode),C=C.slice(oe.shift().value.length)}for(U=Vs.needsContext.test(C)?0:oe.length;U--&&(ce=oe[U],!d.relative[fe=ce.type]);)if((Se=d.find[fe])&&(te=Se(ce.matches[0].replace(lo,po),za.test(oe[0].type)&&qa(y.parentNode)||y))){if(oe.splice(U,1),C=te.length&&Ls(oe),!C)return bi.apply(D,te),D;break}}return(Ue||E(C,Le))(te,y,!et,D,!y||za.test(C)&&qa(y.parentNode)||y),D},c.sortStable=At.split("").sort(Pn).join("")===At,c.detectDuplicates=!!pe,z(),c.sortDetached=Hn(function(C){return 1&C.compareDocumentPosition(re.createElement("fieldset"))}),Hn(function(C){return C.innerHTML="<a href='#'></a>",C.firstChild.getAttribute("href")==="#"})||Ya("type|href|height|width",function(C,y,D){if(!D)return C.getAttribute(y,y.toLowerCase()==="type"?1:2)}),c.attributes&&Hn(function(C){return C.innerHTML="<input/>",C.firstChild.setAttribute("value",""),C.firstChild.getAttribute("value")===""})||Ya("value",function(C,y,D){if(!D&&C.nodeName.toLowerCase()==="input")return C.defaultValue}),Hn(function(C){return C.getAttribute("disabled")==null})||Ya($a,function(C,y,D){var te;if(!D)return C[y]===!0?y.toLowerCase():(te=C.getAttributeNode(y))&&te.specified?te.value:null}),Dt}(s);p.find=si,p.expr=si.selectors,p.expr[":"]=p.expr.pseudos,p.uniqueSort=p.unique=si.uniqueSort,p.text=si.getText,p.isXMLDoc=si.isXML,p.contains=si.contains,p.escapeSelector=si.escape;var fi=function(o,a,c){for(var d=[],m=c!==void 0;(o=o[a])&&o.nodeType!==9;)if(o.nodeType===1){if(m&&p(o).is(c))break;d.push(o)}return d},Oe=function(o,a){for(var c=[];o;o=o.nextSibling)o.nodeType===1&&o!==a&&c.push(o);return c},Ve=p.expr.match.needsContext;function h(o,a){return o.nodeName&&o.nodeName.toLowerCase()===a.toLowerCase()}var u=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,b=/^.[^:#\[\.,]*$/;function O(o,a,c){return p.isFunction(a)?p.grep(o,function(d,m){return!!a.call(d,m,d)!==c}):a.nodeType?p.grep(o,function(d){return d===a!==c}):typeof a!="string"?p.grep(o,function(d){return S.call(a,d)>-1!==c}):b.test(a)?p.filter(a,o,c):(a=p.filter(a,o),p.grep(o,function(d){return S.call(a,d)>-1!==c&&d.nodeType===1}))}p.filter=function(o,a,c){var d=a[0];return c&&(o=":not("+o+")"),a.length===1&&d.nodeType===1?p.find.matchesSelector(d,o)?[d]:[]:p.find.matches(o,p.grep(a,function(m){return m.nodeType===1}))},p.fn.extend({find:function(o){var a,c,d=this.length,m=this;if(typeof o!="string")return this.pushStack(p(o).filter(function(){for(a=0;a<d;a++)if(p.contains(m[a],this))return!0}));for(c=this.pushStack([]),a=0;a<d;a++)p.find(o,m[a],c);return d>1?p.uniqueSort(c):c},filter:function(o){return this.pushStack(O(this,o||[],!1))},not:function(o){return this.pushStack(O(this,o||[],!0))},is:function(o){return!!O(this,typeof o=="string"&&Ve.test(o)?p(o):o||[],!1).length}});var R,X=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,we=p.fn.init=function(o,a,c){var d,m;if(!o)return this;if(c=c||R,typeof o=="string"){if(d=o[0]==="<"&&o[o.length-1]===">"&&o.length>=3?[null,o,null]:X.exec(o),!d||!d[1]&&a)return!a||a.jquery?(a||c).find(o):this.constructor(a).find(o);if(d[1]){if(a=a instanceof p?a[0]:a,p.merge(this,p.parseHTML(d[1],a&&a.nodeType?a.ownerDocument||a:e,!0)),u.test(d[1])&&p.isPlainObject(a))for(d in a)p.isFunction(this[d])?this[d](a[d]):this.attr(d,a[d]);return this}return m=e.getElementById(d[2]),m&&(this[0]=m,this.length=1),this}return o.nodeType?(this[0]=o,this.length=1,this):p.isFunction(o)?c.ready!==void 0?c.ready(o):o(p):p.makeArray(o,this)};we.prototype=p.fn,R=p(e);var Xe=/^(?:parents|prev(?:Until|All))/,at={children:!0,contents:!0,next:!0,prev:!0};p.fn.extend({has:function(o){var a=p(o,this),c=a.length;return this.filter(function(){for(var d=0;d<c;d++)if(p.contains(this,a[d]))return!0})},closest:function(o,a){var c,d=0,m=this.length,f=[],_=typeof o!="string"&&p(o);if(!Ve.test(o)){for(;d<m;d++)for(c=this[d];c&&c!==a;c=c.parentNode)if(c.nodeType<11&&(_?_.index(c)>-1:c.nodeType===1&&p.find.matchesSelector(c,o))){f.push(c);break}}return this.pushStack(f.length>1?p.uniqueSort(f):f)},index:function(o){return o?typeof o=="string"?S.call(p(o),this[0]):S.call(this,o.jquery?o[0]:o):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(o,a){return this.pushStack(p.uniqueSort(p.merge(this.get(),p(o,a))))},addBack:function(o){return this.add(o==null?this.prevObject:this.prevObject.filter(o))}});function Ct(o,a){for(;(o=o[a])&&o.nodeType!==1;);return o}p.each({parent:function(o){var a=o.parentNode;return a&&a.nodeType!==11?a:null},parents:function(o){return fi(o,"parentNode")},parentsUntil:function(o,a,c){return fi(o,"parentNode",c)},next:function(o){return Ct(o,"nextSibling")},prev:function(o){return Ct(o,"previousSibling")},nextAll:function(o){return fi(o,"nextSibling")},prevAll:function(o){return fi(o,"previousSibling")},nextUntil:function(o,a,c){return fi(o,"nextSibling",c)},prevUntil:function(o,a,c){return fi(o,"previousSibling",c)},siblings:function(o){return Oe((o.parentNode||{}).firstChild,o)},children:function(o){return Oe(o.firstChild)},contents:function(o){return h(o,"iframe")?o.contentDocument:(h(o,"template")&&(o=o.content||o),p.merge([],o.childNodes))}},function(o,a){p.fn[o]=function(c,d){var m=p.map(this,a,c);return o.slice(-5)!=="Until"&&(d=c),d&&typeof d=="string"&&(m=p.filter(d,m)),this.length>1&&(at[o]||p.uniqueSort(m),Xe.test(o)&&m.reverse()),this.pushStack(m)}});var dt=/[^\x20\t\r\n\f]+/g;function mi(o){var a={};return p.each(o.match(dt)||[],function(c,d){a[d]=!0}),a}p.Callbacks=function(o){o=typeof o=="string"?mi(o):p.extend({},o);var a,c,d,m,f=[],_=[],E=-1,k=function(){for(m=m||o.once,d=a=!0;_.length;E=-1)for(c=_.shift();++E<f.length;)f[E].apply(c[0],c[1])===!1&&o.stopOnFalse&&(E=f.length,c=!1);o.memory||(c=!1),a=!1,m&&(f=c?[]:"")},H={add:function(){return f&&(c&&!a&&(E=f.length-1,_.push(c)),function ne(pe){p.each(pe,function(z,re){p.isFunction(re)?o.unique&&H.has(re)||f.push(re):re&&re.length&&p.type(re)!=="string"&&ne(re)})}(arguments),c&&!a&&k()),this},remove:function(){return p.each(arguments,function(ne,pe){for(var z;(z=p.inArray(pe,f,z))>-1;)f.splice(z,1),z<=E&&E--}),this},has:function(ne){return ne?p.inArray(ne,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return m=_=[],f=c="",this},disabled:function(){return!f},lock:function(){return m=_=[],c||a||(f=c=""),this},locked:function(){return!!m},fireWith:function(ne,pe){return m||(pe=pe||[],pe=[ne,pe.slice?pe.slice():pe],_.push(pe),a||k()),this},fire:function(){return H.fireWith(this,arguments),this},fired:function(){return!!d}};return H};function an(o){return o}function to(o){throw o}function io(o,a,c,d){var m;try{o&&p.isFunction(m=o.promise)?m.call(o).done(a).fail(c):o&&p.isFunction(m=o.then)?m.call(o,a,c):a.apply(void 0,[o].slice(d))}catch(f){c.apply(void 0,[f])}}p.extend({Deferred:function(o){var a=[["notify","progress",p.Callbacks("memory"),p.Callbacks("memory"),2],["resolve","done",p.Callbacks("once memory"),p.Callbacks("once memory"),0,"resolved"],["reject","fail",p.Callbacks("once memory"),p.Callbacks("once memory"),1,"rejected"]],c="pending",d={state:function(){return c},always:function(){return m.done(arguments).fail(arguments),this},catch:function(f){return d.then(null,f)},pipe:function(){var f=arguments;return p.Deferred(function(_){p.each(a,function(E,k){var H=p.isFunction(f[k[4]])&&f[k[4]];m[k[1]](function(){var ne=H&&H.apply(this,arguments);ne&&p.isFunction(ne.promise)?ne.promise().progress(_.notify).done(_.resolve).fail(_.reject):_[k[0]+"With"](this,H?[ne]:arguments)})}),f=null}).promise()},then:function(f,_,E){var k=0;function H(ne,pe,z,re){return function(){var Ge=this,et=arguments,De=function(){var ai,ln;if(!(ne<k)){if(ai=z.apply(Ge,et),ai===pe.promise())throw new TypeError("Thenable self-resolution");ln=ai&&(typeof ai=="object"||typeof ai=="function")&&ai.then,p.isFunction(ln)?re?ln.call(ai,H(k,pe,an,re),H(k,pe,to,re)):(k++,ln.call(ai,H(k,pe,an,re),H(k,pe,to,re),H(k,pe,an,pe.notifyWith))):(z!==an&&(Ge=void 0,et=[ai]),(re||pe.resolveWith)(Ge,et))}},Si=re?De:function(){try{De()}catch(ai){p.Deferred.exceptionHook&&p.Deferred.exceptionHook(ai,Si.stackTrace),ne+1>=k&&(z!==to&&(Ge=void 0,et=[ai]),pe.rejectWith(Ge,et))}};ne?Si():(p.Deferred.getStackHook&&(Si.stackTrace=p.Deferred.getStackHook()),s.setTimeout(Si))}}return p.Deferred(function(ne){a[0][3].add(H(0,ne,p.isFunction(E)?E:an,ne.notifyWith)),a[1][3].add(H(0,ne,p.isFunction(f)?f:an)),a[2][3].add(H(0,ne,p.isFunction(_)?_:to))}).promise()},promise:function(f){return f!=null?p.extend(f,d):d}},m={};return p.each(a,function(f,_){var E=_[2],k=_[5];d[_[1]]=E.add,k&&E.add(function(){c=k},a[3-f][2].disable,a[0][2].lock),E.add(_[3].fire),m[_[0]]=function(){return m[_[0]+"With"](this===m?void 0:this,arguments),this},m[_[0]+"With"]=E.fireWith}),d.promise(m),o&&o.call(m,m),m},when:function(o){var a=arguments.length,c=a,d=Array(c),m=r.call(arguments),f=p.Deferred(),_=function(E){return function(k){d[E]=this,m[E]=arguments.length>1?r.call(arguments):k,--a||f.resolveWith(d,m)}};if(a<=1&&(io(o,f.done(_(c)).resolve,f.reject,!a),f.state()==="pending"||p.isFunction(m[c]&&m[c].then)))return f.then();for(;c--;)io(m[c],_(c),f.reject);return f.promise()}});var Ko=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;p.Deferred.exceptionHook=function(o,a){s.console&&s.console.warn&&o&&Ko.test(o.name)&&s.console.warn("jQuery.Deferred exception: "+o.message,o.stack,a)},p.readyException=function(o){s.setTimeout(function(){throw o})};var yo=p.Deferred();p.fn.ready=function(o){return yo.then(o).catch(function(a){p.readyException(a)}),this},p.extend({isReady:!1,readyWait:1,ready:function(o){(o===!0?--p.readyWait:p.isReady)||(p.isReady=!0,o!==!0&&--p.readyWait>0||yo.resolveWith(e,[p]))}}),p.ready.then=yo.then;function no(){e.removeEventListener("DOMContentLoaded",no),s.removeEventListener("load",no),p.ready()}e.readyState==="complete"||e.readyState!=="loading"&&!e.documentElement.doScroll?s.setTimeout(p.ready):(e.addEventListener("DOMContentLoaded",no),s.addEventListener("load",no));var Wi=function(o,a,c,d,m,f,_){var E=0,k=o.length,H=c==null;if(p.type(c)==="object"){m=!0;for(E in c)Wi(o,a,E,c[E],!0,f,_)}else if(d!==void 0&&(m=!0,p.isFunction(d)||(_=!0),H&&(_?(a.call(o,d),a=null):(H=a,a=function(ne,pe,z){return H.call(p(ne),z)})),a))for(;E<k;E++)a(o[E],c,_?d:d.call(o[E],E,a(o[E],c)));return m?o:H?a.call(o):k?a(o[0],c):f},Po=function(o){return o.nodeType===1||o.nodeType===9||!+o.nodeType};function cn(){this.expando=p.expando+cn.uid++}cn.uid=1,cn.prototype={cache:function(o){var a=o[this.expando];return a||(a={},Po(o)&&(o.nodeType?o[this.expando]=a:Object.defineProperty(o,this.expando,{value:a,configurable:!0}))),a},set:function(o,a,c){var d,m=this.cache(o);if(typeof a=="string")m[p.camelCase(a)]=c;else for(d in a)m[p.camelCase(d)]=a[d];return m},get:function(o,a){return a===void 0?this.cache(o):o[this.expando]&&o[this.expando][p.camelCase(a)]},access:function(o,a,c){return a===void 0||a&&typeof a=="string"&&c===void 0?this.get(o,a):(this.set(o,a,c),c!==void 0?c:a)},remove:function(o,a){var c,d=o[this.expando];if(d!==void 0){if(a!==void 0)for(Array.isArray(a)?a=a.map(p.camelCase):(a=p.camelCase(a),a=a in d?[a]:a.match(dt)||[]),c=a.length;c--;)delete d[a[c]];(a===void 0||p.isEmptyObject(d))&&(o.nodeType?o[this.expando]=void 0:delete o[this.expando])}},hasData:function(o){var a=o[this.expando];return a!==void 0&&!p.isEmptyObject(a)}};var ze=new cn,vi=new cn,Bn=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,mr=/[A-Z]/g;function Rs(o){return o==="true"||o!=="false"&&(o==="null"?null:o===+o+""?+o:Bn.test(o)?JSON.parse(o):o)}function fn(o,a,c){var d;if(c===void 0&&o.nodeType===1)if(d="data-"+a.replace(mr,"-$&").toLowerCase(),c=o.getAttribute(d),typeof c=="string"){try{c=Rs(c)}catch{}vi.set(o,a,c)}else c=void 0;return c}p.extend({hasData:function(o){return vi.hasData(o)||ze.hasData(o)},data:function(o,a,c){return vi.access(o,a,c)},removeData:function(o,a){vi.remove(o,a)},_data:function(o,a,c){return ze.access(o,a,c)},_removeData:function(o,a){ze.remove(o,a)}}),p.fn.extend({data:function(o,a){var c,d,m,f=this[0],_=f&&f.attributes;if(o===void 0){if(this.length&&(m=vi.get(f),f.nodeType===1&&!ze.get(f,"hasDataAttrs"))){for(c=_.length;c--;)_[c]&&(d=_[c].name,d.indexOf("data-")===0&&(d=p.camelCase(d.slice(5)),fn(f,d,m[d])));ze.set(f,"hasDataAttrs",!0)}return m}return typeof o=="object"?this.each(function(){vi.set(this,o)}):Wi(this,function(E){var k;if(f&&E===void 0){if(k=vi.get(f,o),k!==void 0||(k=fn(f,o),k!==void 0))return k}else this.each(function(){vi.set(this,o,E)})},null,a,arguments.length>1,null,!0)},removeData:function(o){return this.each(function(){vi.remove(this,o)})}}),p.extend({queue:function(o,a,c){var d;if(o)return a=(a||"fx")+"queue",d=ze.get(o,a),c&&(!d||Array.isArray(c)?d=ze.access(o,a,p.makeArray(c)):d.push(c)),d||[]},dequeue:function(o,a){a=a||"fx";var c=p.queue(o,a),d=c.length,m=c.shift(),f=p._queueHooks(o,a),_=function(){p.dequeue(o,a)};m==="inprogress"&&(m=c.shift(),d--),m&&(a==="fx"&&c.unshift("inprogress"),delete f.stop,m.call(o,_,f)),!d&&f&&f.empty.fire()},_queueHooks:function(o,a){var c=a+"queueHooks";return ze.get(o,c)||ze.access(o,c,{empty:p.Callbacks("once memory").add(function(){ze.remove(o,[a+"queue",c])})})}}),p.fn.extend({queue:function(o,a){var c=2;return typeof o!="string"&&(a=o,o="fx",c--),arguments.length<c?p.queue(this[0],o):a===void 0?this:this.each(function(){var d=p.queue(this,o,a);p._queueHooks(this,o),o==="fx"&&d[0]!=="inprogress"&&p.dequeue(this,o)})},dequeue:function(o){return this.each(function(){p.dequeue(this,o)})},clearQueue:function(o){return this.queue(o||"fx",[])},promise:function(o,a){var c,d=1,m=p.Deferred(),f=this,_=this.length,E=function(){--d||m.resolveWith(f,[f])};for(typeof o!="string"&&(a=o,o=void 0),o=o||"fx";_--;)c=ze.get(f[_],o+"queueHooks"),c&&c.empty&&(d++,c.empty.add(E));return E(),m.promise(a)}});var vr=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,zt=new RegExp("^(?:([+-])=|)("+vr+")([a-z%]*)$","i"),oo=["Top","Right","Bottom","Left"],ro=function(o,a){return o=a||o,o.style.display==="none"||o.style.display===""&&p.contains(o.ownerDocument,o)&&p.css(o,"display")==="none"},_r=function(o,a,c,d){var m,f,_={};for(f in a)_[f]=o.style[f],o.style[f]=a[f];m=c.apply(o,d||[]);for(f in a)o.style[f]=_[f];return m};function so(o,a,c,d){var m,f=1,_=20,E=d?function(){return d.cur()}:function(){return p.css(o,a,"")},k=E(),H=c&&c[3]||(p.cssNumber[a]?"":"px"),ne=(p.cssNumber[a]||H!=="px"&&+k)&&zt.exec(p.css(o,a));if(ne&&ne[3]!==H){H=H||ne[3],c=c||[],ne=+k||1;do f=f||".5",ne/=f,p.style(o,a,ne+H);while(f!==(f=E()/k)&&f!==1&&--_)}return c&&(ne=+ne||+k||0,m=c[1]?ne+(c[1]+1)*c[2]:+c[2],d&&(d.unit=H,d.start=ne,d.end=m)),m}var Un={};function Xo(o){var a,c=o.ownerDocument,d=o.nodeName,m=Un[d];return m||(a=c.body.appendChild(c.createElement(d)),m=p.css(a,"display"),a.parentNode.removeChild(a),m==="none"&&(m="block"),Un[d]=m,m)}function it(o,a){for(var c,d,m=[],f=0,_=o.length;f<_;f++)d=o[f],d.style&&(c=d.style.display,a?(c==="none"&&(m[f]=ze.get(d,"display")||null,m[f]||(d.style.display="")),d.style.display===""&&ro(d)&&(m[f]=Xo(d))):c!=="none"&&(m[f]="none",ze.set(d,"display",c)));for(f=0;f<_;f++)m[f]!=null&&(o[f].style.display=m[f]);return o}p.fn.extend({show:function(){return it(this,!0)},hide:function(){return it(this)},toggle:function(o){return typeof o=="boolean"?o?this.show():this.hide():this.each(function(){ro(this)?p(this).show():p(this).hide()})}});var Ai=/^(?:checkbox|radio)$/i,It=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,_i=/^$|\/(?:java|ecma)script/i,zi={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};zi.optgroup=zi.option,zi.tbody=zi.tfoot=zi.colgroup=zi.caption=zi.thead,zi.th=zi.td;function Ni(o,a){var c;return c=typeof o.getElementsByTagName<"u"?o.getElementsByTagName(a||"*"):typeof o.querySelectorAll<"u"?o.querySelectorAll(a||"*"):[],a===void 0||a&&h(o,a)?p.merge([o],c):c}function wn(o,a){for(var c=0,d=o.length;c<d;c++)ze.set(o[c],"globalEval",!a||ze.get(a[c],"globalEval"))}var ao=/<|&#?\w+;/;function as(o,a,c,d,m){for(var f,_,E,k,H,ne,pe=a.createDocumentFragment(),z=[],re=0,Ge=o.length;re<Ge;re++)if(f=o[re],f||f===0)if(p.type(f)==="object")p.merge(z,f.nodeType?[f]:f);else if(ao.test(f)){for(_=_||pe.appendChild(a.createElement("div")),E=(It.exec(f)||["",""])[1].toLowerCase(),k=zi[E]||zi._default,_.innerHTML=k[1]+p.htmlPrefilter(f)+k[2],ne=k[0];ne--;)_=_.lastChild;p.merge(z,_.childNodes),_=pe.firstChild,_.textContent=""}else z.push(a.createTextNode(f));for(pe.textContent="",re=0;f=z[re++];)if(d&&p.inArray(f,d)>-1)m&&m.push(f);else if(H=p.contains(f.ownerDocument,f),_=Ni(pe.appendChild(f),"script"),H&&wn(_),c)for(ne=0;f=_[ne++];)_i.test(f.type||"")&&c.push(f);return pe}(function(){var o=e.createDocumentFragment(),a=o.appendChild(e.createElement("div")),c=e.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),a.appendChild(c),le.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue})();var co=e.documentElement,Pd=/^key/,Ed=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Cc=/^([^.]*)(?:\.(.+)|)/;function Is(){return!0}function Sr(){return!1}function xc(){try{return e.activeElement}catch{}}function Da(o,a,c,d,m,f){var _,E;if(typeof a=="object"){typeof c!="string"&&(d=d||c,c=void 0);for(E in a)Da(o,E,c,d,a[E],f);return o}if(d==null&&m==null?(m=c,d=c=void 0):m==null&&(typeof c=="string"?(m=d,d=void 0):(m=d,d=c,c=void 0)),m===!1)m=Sr;else if(!m)return o;return f===1&&(_=m,m=function(k){return p().off(k),_.apply(this,arguments)},m.guid=_.guid||(_.guid=p.guid++)),o.each(function(){p.event.add(this,a,m,d,c)})}p.event={global:{},add:function(o,a,c,d,m){var f,_,E,k,H,ne,pe,z,re,Ge,et,De=ze.get(o);if(De)for(c.handler&&(f=c,c=f.handler,m=f.selector),m&&p.find.matchesSelector(co,m),c.guid||(c.guid=p.guid++),(k=De.events)||(k=De.events={}),(_=De.handle)||(_=De.handle=function(Si){return typeof p<"u"&&p.event.triggered!==Si.type?p.event.dispatch.apply(o,arguments):void 0}),a=(a||"").match(dt)||[""],H=a.length;H--;)E=Cc.exec(a[H])||[],re=et=E[1],Ge=(E[2]||"").split(".").sort(),re&&(pe=p.event.special[re]||{},re=(m?pe.delegateType:pe.bindType)||re,pe=p.event.special[re]||{},ne=p.extend({type:re,origType:et,data:d,handler:c,guid:c.guid,selector:m,needsContext:m&&p.expr.match.needsContext.test(m),namespace:Ge.join(".")},f),(z=k[re])||(z=k[re]=[],z.delegateCount=0,pe.setup&&pe.setup.call(o,d,Ge,_)!==!1||o.addEventListener&&o.addEventListener(re,_)),pe.add&&(pe.add.call(o,ne),ne.handler.guid||(ne.handler.guid=c.guid)),m?z.splice(z.delegateCount++,0,ne):z.push(ne),p.event.global[re]=!0)},remove:function(o,a,c,d,m){var f,_,E,k,H,ne,pe,z,re,Ge,et,De=ze.hasData(o)&&ze.get(o);if(De&&(k=De.events)){for(a=(a||"").match(dt)||[""],H=a.length;H--;)if(E=Cc.exec(a[H])||[],re=et=E[1],Ge=(E[2]||"").split(".").sort(),re){for(pe=p.event.special[re]||{},re=(d?pe.delegateType:pe.bindType)||re,z=k[re]||[],E=E[2]&&new RegExp("(^|\\.)"+Ge.join("\\.(?:.*\\.|)")+"(\\.|$)"),_=f=z.length;f--;)ne=z[f],!m&&et!==ne.origType||c&&c.guid!==ne.guid||E&&!E.test(ne.namespace)||d&&d!==ne.selector&&(d!=="**"||!ne.selector)||(z.splice(f,1),ne.selector&&z.delegateCount--,pe.remove&&pe.remove.call(o,ne));_&&!z.length&&(pe.teardown&&pe.teardown.call(o,Ge,De.handle)!==!1||p.removeEvent(o,re,De.handle),delete k[re])}else for(re in k)p.event.remove(o,re+a[H],c,d,!0);p.isEmptyObject(k)&&ze.remove(o,"handle events")}},dispatch:function(o){var a=p.event.fix(o),c,d,m,f,_,E,k=new Array(arguments.length),H=(ze.get(this,"events")||{})[a.type]||[],ne=p.event.special[a.type]||{};for(k[0]=a,c=1;c<arguments.length;c++)k[c]=arguments[c];if(a.delegateTarget=this,!ne.preDispatch||ne.preDispatch.call(this,a)!==!1){for(E=p.event.handlers.call(this,a,H),c=0;(f=E[c++])&&!a.isPropagationStopped();)for(a.currentTarget=f.elem,d=0;(_=f.handlers[d++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(_.namespace)||(a.handleObj=_,a.data=_.data,m=((p.event.special[_.origType]||{}).handle||_.handler).apply(f.elem,k),m!==void 0&&(a.result=m)===!1&&(a.preventDefault(),a.stopPropagation()));return ne.postDispatch&&ne.postDispatch.call(this,a),a.result}},handlers:function(o,a){var c,d,m,f,_,E=[],k=a.delegateCount,H=o.target;if(k&&H.nodeType&&!(o.type==="click"&&o.button>=1)){for(;H!==this;H=H.parentNode||this)if(H.nodeType===1&&(o.type!=="click"||H.disabled!==!0)){for(f=[],_={},c=0;c<k;c++)d=a[c],m=d.selector+" ",_[m]===void 0&&(_[m]=d.needsContext?p(m,this).index(H)>-1:p.find(m,this,null,[H]).length),_[m]&&f.push(d);f.length&&E.push({elem:H,handlers:f})}}return H=this,k<a.length&&E.push({elem:H,handlers:a.slice(k)}),E},addProp:function(o,a){Object.defineProperty(p.Event.prototype,o,{enumerable:!0,configurable:!0,get:p.isFunction(a)?function(){if(this.originalEvent)return a(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[o]},set:function(c){Object.defineProperty(this,o,{enumerable:!0,configurable:!0,writable:!0,value:c})}})},fix:function(o){return o[p.expando]?o:new p.Event(o)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==xc()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===xc()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(Ai.test(this.type)&&this.click&&h(this,"input"))return this.click(),!1},_default:function(o){return h(o.target,"a")}},beforeunload:{postDispatch:function(o){o.result!==void 0&&o.originalEvent&&(o.originalEvent.returnValue=o.result)}}}},p.removeEvent=function(o,a,c){o.removeEventListener&&o.removeEventListener(a,c)},p.Event=function(o,a){return this instanceof p.Event?(o&&o.type?(this.originalEvent=o,this.type=o.type,this.isDefaultPrevented=o.defaultPrevented||o.defaultPrevented===void 0&&o.returnValue===!1?Is:Sr,this.target=o.target&&o.target.nodeType===3?o.target.parentNode:o.target,this.currentTarget=o.currentTarget,this.relatedTarget=o.relatedTarget):this.type=o,a&&p.extend(this,a),this.timeStamp=o&&o.timeStamp||p.now(),void(this[p.expando]=!0)):new p.Event(o,a)},p.Event.prototype={constructor:p.Event,isDefaultPrevented:Sr,isPropagationStopped:Sr,isImmediatePropagationStopped:Sr,isSimulated:!1,preventDefault:function(){var o=this.originalEvent;this.isDefaultPrevented=Is,o&&!this.isSimulated&&o.preventDefault()},stopPropagation:function(){var o=this.originalEvent;this.isPropagationStopped=Is,o&&!this.isSimulated&&o.stopPropagation()},stopImmediatePropagation:function(){var o=this.originalEvent;this.isImmediatePropagationStopped=Is,o&&!this.isSimulated&&o.stopImmediatePropagation(),this.stopPropagation()}},p.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,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(o){var a=o.button;return o.which==null&&Pd.test(o.type)?o.charCode!=null?o.charCode:o.keyCode:!o.which&&a!==void 0&&Ed.test(o.type)?1&a?1:2&a?3:4&a?2:0:o.which}},p.event.addProp),p.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(o,a){p.event.special[o]={delegateType:a,bindType:a,handle:function(c){var