jquery-react-render 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +21 -0
- package/index.js +15 -5
- package/package.json +12 -20
- package/CODEOWNERS +0 -1
- package/LICENSE +0 -7
- package/README.md +0 -74
- /package/{index.d.ts → types/index.d.ts} +0 -0
package/index.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var e = require("react-dom/client");
|
|
2
|
+
|
|
3
|
+
function t(e) {
|
|
4
|
+
return e && e.__esModule ? e : {
|
|
5
|
+
default: e
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
var r = t(require("jquery"));
|
|
10
|
+
|
|
11
|
+
globalThis.$ = r.default, globalThis.jQuery = r.default, r.default.fn.react = function(t, a) {
|
|
12
|
+
const l = r.default(t);
|
|
13
|
+
l.length > 0 && l.remove();
|
|
14
|
+
const u = document.createElement("div");
|
|
15
|
+
return t.startsWith("#") ? u.id = t.slice(1) : t.startsWith(".") && (u.className = t.slice(1)),
|
|
16
|
+
this.append(u), e.createRoot(u).render(a), this;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
var a = r.default.fn.react;
|
|
20
|
+
|
|
21
|
+
module.exports = a;
|
package/index.js
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
|
-
import {createRoot}from'react-dom/client';var Gi=Object.create;var jn=Object.defineProperty;var Yi=Object.getOwnPropertyDescriptor;var Ji=Object.getOwnPropertyNames;var Ki=Object.getPrototypeOf,Zi=Object.prototype.hasOwnProperty;var er=(y,A)=>()=>(A||y((A={exports:{}}).exports,A),A.exports);var tr=(y,A,E,W)=>{if(A&&typeof A=="object"||typeof A=="function")for(let O of Ji(A))!Zi.call(y,O)&&O!==E&&jn(y,O,{get:()=>A[O],enumerable:!(W=Yi(A,O))||W.enumerable});return y};var nr=(y,A,E)=>(E=y!=null?Gi(Ki(y)):{},tr(jn(E,"default",{value:y,enumerable:true}),y));var En=er((Dn,Je)=>{(function(y,A){typeof Je=="object"&&typeof Je.exports=="object"?Je.exports=A(y,true):A(y);})(typeof window<"u"?window:Dn,function(y,A){if(!y.document)throw new Error("jQuery requires a window with a document");var E=[],W=Object.getPrototypeOf,O=E.slice,Ct=E.flat?function(e){return E.flat.call(e)}:function(e){return E.concat.apply([],e)},I=E.push,re=E.indexOf,Ne={},wt=Ne.toString,ke=Ne.hasOwnProperty,St=ke.toString,Nn=St.call(Object),Oe={};function xe(e){return e==null?e+"":typeof e=="object"?Ne[wt.call(e)]||"object":typeof e}function be(e){return e!=null&&e===e.window}function qe(e){var t=!!e&&e.length,n=xe(e);return typeof e=="function"||be(e)?false:n==="array"||t===0||typeof t=="number"&&t>0&&t-1 in e}var C=y.document,kn={type:true,src:true,nonce:true,noModule:true};function jt(e,t,n){n=n||C;var i,o=n.createElement("script");o.text=e;for(i in kn)t&&t[i]&&(o[i]=t[i]);n.head.appendChild(o).parentNode&&o.parentNode.removeChild(o);}var Dt="4.0.0",On=/HTML$/i,r=function(e,t){return new r.fn.init(e,t)};r.fn=r.prototype={jquery:Dt,constructor:r,length:0,toArray:function(){return O.call(this)},get:function(e){return e==null?O.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=r.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return r.each(this,e)},map:function(e){return this.pushStack(r.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(O.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(r.grep(this,function(e,t){return (t+1)%2}))},odd:function(){return this.pushStack(r.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()}},r.extend=r.fn.extend=function(){var e,t,n,i,o,u,f=arguments[0]||{},s=1,a=arguments.length,c=false;for(typeof f=="boolean"&&(c=f,f=arguments[s]||{},s++),typeof f!="object"&&typeof f!="function"&&(f={}),s===a&&(f=this,s--);s<a;s++)if((e=arguments[s])!=null)for(t in e)i=e[t],!(t==="__proto__"||f===i)&&(c&&i&&(r.isPlainObject(i)||(o=Array.isArray(i)))?(n=f[t],o&&!Array.isArray(n)?u=[]:!o&&!r.isPlainObject(n)?u={}:u=n,o=false,f[t]=r.extend(c,u,i)):i!==void 0&&(f[t]=i));return f},r.extend({expando:"jQuery"+(Dt+Math.random()).replace(/\D/g,""),isReady:true,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return !e||wt.call(e)!=="[object Object]"?false:(t=W(e),t?(n=ke.call(t,"constructor")&&t.constructor,typeof n=="function"&&St.call(n)===Nn):true)},isEmptyObject:function(e){var t;for(t in e)return false;return true},globalEval:function(e,t,n){jt(e,{nonce:t&&t.nonce},n);},each:function(e,t){var n,i=0;if(qe(e))for(n=e.length;i<n&&t.call(e[i],i,e[i])!==false;i++);else for(i in e)if(t.call(e[i],i,e[i])===false)break;return e},text:function(e){var t,n="",i=0,o=e.nodeType;if(!o)for(;t=e[i++];)n+=r.text(t);return o===1||o===11?e.textContent:o===9?e.documentElement.textContent:o===3||o===4?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return e!=null&&(qe(Object(e))?r.merge(n,typeof e=="string"?[e]:e):I.call(n,e)),n},inArray:function(e,t,n){return t==null?-1:re.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return !On.test(t||n&&n.nodeName||"HTML")},contains:function(e,t){var n=t&&t.parentNode;return e===n||!!(n&&n.nodeType===1&&(e.contains?e.contains(n):e.compareDocumentPosition&&e.compareDocumentPosition(n)&16))},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i,o=[],u=0,f=e.length,s=!n;u<f;u++)i=!t(e[u],u),i!==s&&o.push(e[u]);return o},map:function(e,t,n){var i,o,u=0,f=[];if(qe(e))for(i=e.length;u<i;u++)o=t(e[u],u,n),o!=null&&f.push(o);else for(u in e)o=t(e[u],u,n),o!=null&&f.push(o);return Ct(f)},guid:1,support:Oe}),typeof Symbol=="function"&&(r.fn[Symbol.iterator]=E[Symbol.iterator]),r.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){Ne["[object "+t+"]"]=t.toLowerCase();});function S(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var qn=E.pop,w="[\\x20\\t\\r\\n\\f]",q=C.documentMode,Pe=q&&new RegExp(":enabled|:disabled|\\["+w+"*name"+w+"*="+w+`*(?:''|"")`),me=new RegExp("^"+w+"+|((?:^|[^\\\\])(?:\\\\.)*)"+w+"+$","g"),ee="(?:\\\\[\\da-fA-F]{1,6}"+w+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Et=new RegExp("^"+w+"*([>+~]|"+w+")"+w+"*"),Pn=new RegExp(w+"|>"),Ke=/[+~]/,G=C.documentElement,Ln=G.matches||G.msMatchesSelector;function Le(){var e=[];function t(n,i){return e.push(n+" ")>r.expr.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function Ze(e){return e&&typeof e.getElementsByTagName<"u"&&e}var At="\\["+w+"*("+ee+")(?:"+w+"*([*^$|!~]?=)"+w+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+ee+"))|)"+w+"*\\]",Nt=":("+ee+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+At+")*)|.*)\\)|)",et={ID:new RegExp("^#("+ee+")"),CLASS:new RegExp("^\\.("+ee+")"),TAG:new RegExp("^("+ee+"|[*])"),ATTR:new RegExp("^"+At),PSEUDO:new RegExp("^"+Nt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+w+"*(even|odd|(([+-]|)(\\d*)n|)"+w+"*(?:([+-]|)"+w+"*(\\d+)|))"+w+"*\\)|)","i")},Hn=new RegExp(Nt),Mn=new RegExp("\\\\[\\da-fA-F]{1,6}"+w+"?|\\\\([^\\r\\n\\f])","g"),Rn=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,n&1023|56320))};function Y(e){return e.replace(Mn,Rn)}function Te(e){r.error("Syntax error, unrecognized expression: "+e);}var In=new RegExp("^"+w+"*,"+w+"*"),kt=Le();function Ce(e,t){var n,i,o,u,f,s,a,c=kt[e+" "];if(c)return t?0:c.slice(0);for(f=e,s=[],a=r.expr.preFilter;f;){(!n||(i=In.exec(f)))&&(i&&(f=f.slice(i[0].length)||f),s.push(o=[])),n=false,(i=Et.exec(f))&&(n=i.shift(),o.push({value:n,type:i[0].replace(me," ")}),f=f.slice(n.length));for(u in et)(i=r.expr.match[u].exec(f))&&(!a[u]||(i=a[u](i)))&&(n=i.shift(),o.push({value:n,type:u,matches:i}),f=f.slice(n.length));if(!n)break}return t?f.length:f?Te(e):kt(e,s).slice(0)}var _n={ATTR:function(e){return e[1]=Y(e[1]),e[3]=Y(e[3]||e[4]||e[5]||""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1].slice(0,3)==="nth"?(e[3]||Te(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd")),e[5]=+(e[7]+e[8]||e[3]==="odd")):e[3]&&Te(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return et.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Hn.test(n)&&(t=Ce(n,true))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}};function He(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function X(e,t,n,i,o,u,f){var s=0,a=e.length,c=n==null;if(xe(n)==="object"){o=true;for(s in n)X(e,t,s,n[s],true,u,f);}else if(i!==void 0&&(o=true,typeof i!="function"&&(f=true),c&&(f?(t.call(e,i),t=null):(c=t,t=function(p,h,l){return c.call(r(p),l)})),t))for(;s<a;s++)t(e[s],n,f?i:i.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):a?t(e[0],n):u}var F=/[^\x20\t\r\n\f]+/g;r.fn.extend({attr:function(e,t){return X(this,r.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){r.removeAttr(this,e);})}}),r.extend({attr:function(e,t,n){var i,o,u=e.nodeType;if(!(u===3||u===8||u===2)){if(typeof e.getAttribute>"u")return r.prop(e,t,n);if((u!==1||!r.isXMLDoc(e))&&(o=r.attrHooks[t.toLowerCase()]),n!==void 0){if(n===null||n===false&&t.toLowerCase().indexOf("aria-")!==0){r.removeAttr(e,t);return}return o&&"set"in o&&(i=o.set(e,n,t))!==void 0?i:(e.setAttribute(t,n),n)}return o&&"get"in o&&(i=o.get(e,t))!==null?i:(i=e.getAttribute(t),i??void 0)}},attrHooks:{},removeAttr:function(e,t){var n,i=0,o=t&&t.match(F);if(o&&e.nodeType===1)for(;n=o[i++];)e.removeAttribute(n);}}),q&&(r.attrHooks.type={set:function(e,t){if(t==="radio"&&S(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}});var $n=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Wn(e,t){return t?e==="\0"?"\uFFFD":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}r.escapeSelector=function(e){return (e+"").replace($n,Wn)};var Fn=E.sort,Bn=E.splice,tt;function Un(e,t){if(e===t)return tt=true,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1,n&1?e==C||e.ownerDocument==C&&r.contains(C,e)?-1:t==C||t.ownerDocument==C&&r.contains(C,t)?1:0:n&4?-1:1)}r.uniqueSort=function(e){var t,n=[],i=0,o=0;if(tt=false,Fn.call(e,Un),tt){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)Bn.call(e,n[i],1);}return e},r.fn.uniqueSort=function(){return this.pushStack(r.uniqueSort(O.apply(this)))};var oe,Me,M,Ot,z,Q=0,Xn=0,qt=Le(),Pt=Le(),Re=Le(),zn=new RegExp(w+"+","g"),Qn=new RegExp("^"+ee+"$"),Lt=r.extend({needsContext:new RegExp("^"+w+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+w+"*((?:-\\d)?\\d*)"+w+"*\\)|)(?=[^-]|$)","i")},et),Vn=/^(?:input|select|textarea|button)$/i,Gn=/^h\d$/i,Yn=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Jn=function(){ue();},Kn=Ie(function(e){return e.disabled===true&&S(e,"fieldset")},{dir:"parentNode",next:"legend"});function _(e,t,n,i){var o,u,f,s,a,c,p,h=t&&t.ownerDocument,l=t?t.nodeType:9;if(n=n||[],typeof e!="string"||!e||l!==1&&l!==9&&l!==11)return n;if(!i&&(ue(t),t=t||M,z)){if(l!==11&&(a=Yn.exec(e)))if(o=a[1]){if(l===9)return (f=t.getElementById(o))&&I.call(n,f),n;if(h&&(f=h.getElementById(o))&&r.contains(t,f))return I.call(n,f),n}else {if(a[2])return I.apply(n,t.getElementsByTagName(e)),n;if((o=a[3])&&t.getElementsByClassName)return I.apply(n,t.getElementsByClassName(o)),n}if(!Re[e+" "]&&(!Pe||!Pe.test(e))){if(p=e,h=t,l===1&&(Pn.test(e)||Et.test(e))){for(h=Ke.test(e)&&Ze(t.parentNode)||t,(h!=t||q)&&((s=t.getAttribute("id"))?s=r.escapeSelector(s):t.setAttribute("id",s=r.expando)),c=Ce(e),u=c.length;u--;)c[u]=(s?"#"+s:":scope")+" "+He(c[u]);p=c.join(",");}try{return I.apply(n,h.querySelectorAll(p)),n}catch{Re(e,true);}finally{s===r.expando&&t.removeAttribute("id");}}}return Rt(e.replace(me,"$1"),t,n,i)}function B(e){return e[r.expando]=true,e}function Zn(e){return function(t){return S(t,"input")&&t.type===e}}function ei(e){return function(t){return (S(t,"input")||S(t,"button"))&&t.type===e}}function Ht(e){return function(t){return "form"in t?t.parentNode&&t.disabled===false?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Kn(t)===e:t.disabled===e:"label"in t?t.disabled===e:false}}function te(e){return B(function(t){return t=+t,B(function(n,i){for(var o,u=e([],n.length,t),f=u.length;f--;)n[o=u[f]]&&(n[o]=!(i[o]=n[o]));})})}function ue(e){var t,n=e?e.ownerDocument||e:C;n==M||n.nodeType!==9||(M=n,Ot=M.documentElement,z=!r.isXMLDoc(M),q&&C!=M&&(t=M.defaultView)&&t.top!==t&&t.addEventListener("unload",Jn));}_.matches=function(e,t){return _(e,null,null,t)},_.matchesSelector=function(e,t){if(ue(e),z&&!Re[t+" "]&&(!Pe||!Pe.test(t)))try{return Ln.call(e,t)}catch{Re(t,true);}return _(t,M,null,[e]).length>0},r.expr={cacheLength:50,createPseudo:B,match:Lt,find:{ID:function(e,t){if(typeof t.getElementById<"u"&&z){var n=t.getElementById(e);return n?[n]:[]}},TAG:function(e,t){return typeof t.getElementsByTagName<"u"?t.getElementsByTagName(e):t.querySelectorAll(e)},CLASS:function(e,t){if(typeof t.getElementsByClassName<"u"&&z)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:_n,filter:{ID:function(e){var t=Y(e);return function(n){return n.getAttribute("id")===t}},TAG:function(e){var t=Y(e).toLowerCase();return e==="*"?function(){return true}:function(n){return S(n,t)}},CLASS:function(e){var t=qt[e+" "];return t||(t=new RegExp("(^|"+w+")"+e+"("+w+"|$)"))&&qt(e,function(n){return t.test(typeof n.className=="string"&&n.className||typeof n.getAttribute<"u"&&n.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var o=r.attr(i,e);return o==null?t==="!=":t?(o+="",t==="="?o===n:t==="!="?o!==n:t==="^="?n&&o.indexOf(n)===0:t==="*="?n&&o.indexOf(n)>-1:t==="$="?n&&o.slice(-n.length)===n:t==="~="?(" "+o.replace(zn," ")+" ").indexOf(n)>-1:t==="|="?o===n||o.slice(0,n.length+1)===n+"-":false):true}},CHILD:function(e,t,n,i,o){var u=e.slice(0,3)!=="nth",f=e.slice(-4)!=="last",s=t==="of-type";return i===1&&o===0?function(a){return !!a.parentNode}:function(a,c,p){var h,l,d,g,x,v=u!==f?"nextSibling":"previousSibling",D=a.parentNode,j=s&&a.nodeName.toLowerCase(),H=!p&&!s,k=false;if(D){if(u){for(;v;){for(d=a;d=d[v];)if(s?S(d,j):d.nodeType===1)return false;x=v=e==="only"&&!x&&"nextSibling";}return true}if(x=[f?D.firstChild:D.lastChild],f&&H){for(l=D[r.expando]||(D[r.expando]={}),h=l[e]||[],g=h[0]===Q&&h[1],k=g&&h[2],d=g&&D.childNodes[g];d=++g&&d&&d[v]||(k=g=0)||x.pop();)if(d.nodeType===1&&++k&&d===a){l[e]=[Q,g,k];break}}else if(H&&(l=a[r.expando]||(a[r.expando]={}),h=l[e]||[],g=h[0]===Q&&h[1],k=g),k===false)for(;(d=++g&&d&&d[v]||(k=g=0)||x.pop())&&!((s?S(d,j):d.nodeType===1)&&++k&&(H&&(l=d[r.expando]||(d[r.expando]={}),l[e]=[Q,k]),d===a)););return k-=o,k===i||k%i===0&&k/i>=0}}},PSEUDO:function(e,t){var n=r.expr.pseudos[e]||r.expr.setFilters[e.toLowerCase()]||Te("unsupported pseudo: "+e);return n[r.expando]?n(t):n}},pseudos:{not:B(function(e){var t=[],n=[],i=ot(e.replace(me,"$1"));return i[r.expando]?B(function(o,u,f,s){for(var a,c=i(o,null,s,[]),p=o.length;p--;)(a=c[p])&&(o[p]=!(u[p]=a));}):function(o,u,f){return t[0]=o,i(t,null,f,n),t[0]=null,!n.pop()}}),has:B(function(e){return function(t){return _(e,t).length>0}}),contains:B(function(e){return e=Y(e),function(t){return (t.textContent||r.text(t)).indexOf(e)>-1}}),lang:B(function(e){return Qn.test(e||"")||Te("unsupported lang: "+e),e=Y(e).toLowerCase(),function(t){var n;do if(n=z?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||n.indexOf(e+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return false}}),target:function(e){var t=y.location&&y.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===Ot},focus:function(e){return e===M.activeElement&&M.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:Ht(false),disabled:Ht(true),checked:function(e){return S(e,"input")&&!!e.checked||S(e,"option")&&!!e.selected},selected:function(e){return q&&e.parentNode&&e.parentNode.selectedIndex,e.selected===true},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return false;return true},parent:function(e){return !r.expr.pseudos.empty(e)},header:function(e){return Gn.test(e.nodeName)},input:function(e){return Vn.test(e.nodeName)},button:function(e){return S(e,"input")&&e.type==="button"||S(e,"button")},text:function(e){return S(e,"input")&&e.type==="text"},first:te(function(){return [0]}),last:te(function(e,t){return [t-1]}),eq:te(function(e,t,n){return [n<0?n+t:n]}),even:te(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:te(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:te(function(e,t,n){var i;for(n<0?i=n+t:n>t?i=t:i=n;--i>=0;)e.push(i);return e}),gt:te(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}},r.expr.pseudos.nth=r.expr.pseudos.eq;for(oe in {radio:true,checkbox:true,file:true,password:true,image:true})r.expr.pseudos[oe]=Zn(oe);for(oe in {submit:true,reset:true})r.expr.pseudos[oe]=ei(oe);function Mt(){}Mt.prototype=r.expr.pseudos,r.expr.setFilters=new Mt;function Ie(e,t,n){var i=t.dir,o=t.next,u=o||i,f=n&&u==="parentNode",s=Xn++;return t.first?function(a,c,p){for(;a=a[i];)if(a.nodeType===1||f)return e(a,c,p);return false}:function(a,c,p){var h,l,d=[Q,s];if(p){for(;a=a[i];)if((a.nodeType===1||f)&&e(a,c,p))return true}else for(;a=a[i];)if(a.nodeType===1||f)if(l=a[r.expando]||(a[r.expando]={}),o&&S(a,o))a=a[i]||a;else {if((h=l[u])&&h[0]===Q&&h[1]===s)return d[2]=h[2];if(l[u]=d,d[2]=e(a,c,p))return true}return false}}function nt(e){return e.length>1?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return false;return true}:e[0]}function ti(e,t,n){for(var i=0,o=t.length;i<o;i++)_(e,t[i],n);return n}function _e(e,t,n,i,o){for(var u,f=[],s=0,a=e.length,c=t!=null;s<a;s++)(u=e[s])&&(!n||n(u,i,o))&&(f.push(u),c&&t.push(s));return f}function it(e,t,n,i,o,u){return i&&!i[r.expando]&&(i=it(i)),o&&!o[r.expando]&&(o=it(o,u)),B(function(f,s,a,c){var p,h,l,d,g=[],x=[],v=s.length,D=f||ti(t||"*",a.nodeType?[a]:a,[]),j=e&&(f||!t)?_e(D,g,e,a,c):D;if(n?(d=o||(f?e:v||i)?[]:s,n(j,d,a,c)):d=j,i)for(p=_e(d,x),i(p,[],a,c),h=p.length;h--;)(l=p[h])&&(d[x[h]]=!(j[x[h]]=l));if(f){if(o||e){if(o){for(p=[],h=d.length;h--;)(l=d[h])&&p.push(j[h]=l);o(null,d=[],p,c);}for(h=d.length;h--;)(l=d[h])&&(p=o?re.call(f,l):g[h])>-1&&(f[p]=!(s[p]=l));}}else d=_e(d===s?d.splice(v,d.length):d),o?o(null,s,d,c):I.apply(s,d);})}function rt(e){for(var t,n,i,o=e.length,u=r.expr.relative[e[0].type],f=u||r.expr.relative[" "],s=u?1:0,a=Ie(function(h){return h===t},f,true),c=Ie(function(h){return re.call(t,h)>-1},f,true),p=[function(h,l,d){var g=!u&&(d||l!=Me)||((t=l).nodeType?a(h,l,d):c(h,l,d));return t=null,g}];s<o;s++)if(n=r.expr.relative[e[s].type])p=[Ie(nt(p),n)];else {if(n=r.expr.filter[e[s].type].apply(null,e[s].matches),n[r.expando]){for(i=++s;i<o&&!r.expr.relative[e[i].type];i++);return it(s>1&&nt(p),s>1&&He(e.slice(0,s-1).concat({value:e[s-2].type===" "?"*":""})).replace(me,"$1"),n,s<i&&rt(e.slice(s,i)),i<o&&rt(e=e.slice(i)),i<o&&He(e))}p.push(n);}return nt(p)}function ni(e,t){var n=t.length>0,i=e.length>0,o=function(u,f,s,a,c){var p,h,l,d=0,g="0",x=u&&[],v=[],D=Me,j=u||i&&r.expr.find.TAG("*",c),H=Q+=D==null?1:Math.random()||.1;for(c&&(Me=f==M||f||c);(p=j[g])!=null;g++){if(i&&p){for(h=0,!f&&p.ownerDocument!=M&&(ue(p),s=!z);l=e[h++];)if(l(p,f||M,s)){I.call(a,p);break}c&&(Q=H);}n&&((p=!l&&p)&&d--,u&&x.push(p));}if(d+=g,n&&g!==d){for(h=0;l=t[h++];)l(x,v,f,s);if(u){if(d>0)for(;g--;)x[g]||v[g]||(v[g]=qn.call(a));v=_e(v);}I.apply(a,v),c&&!u&&v.length>0&&d+t.length>1&&r.uniqueSort(a);}return c&&(Q=H,Me=D),x};return n?B(o):o}function ot(e,t){var n,i=[],o=[],u=Pt[e+" "];if(!u){for(t||(t=Ce(e)),n=t.length;n--;)u=rt(t[n]),u[r.expando]?i.push(u):o.push(u);u=Pt(e,ni(o,i)),u.selector=e;}return u}function Rt(e,t,n,i){var o,u,f,s,a,c=typeof e=="function"&&e,p=!i&&Ce(e=c.selector||e);if(n=n||[],p.length===1){if(u=p[0]=p[0].slice(0),u.length>2&&(f=u[0]).type==="ID"&&t.nodeType===9&&z&&r.expr.relative[u[1].type]){if(t=(r.expr.find.ID(Y(f.matches[0]),t)||[])[0],t)c&&(t=t.parentNode);else return n;e=e.slice(u.shift().value.length);}for(o=Lt.needsContext.test(e)?0:u.length;o--&&(f=u[o],!r.expr.relative[s=f.type]);)if((a=r.expr.find[s])&&(i=a(Y(f.matches[0]),Ke.test(u[0].type)&&Ze(t.parentNode)||t))){if(u.splice(o,1),e=i.length&&He(u),!e)return I.apply(n,i),n;break}}return (c||ot(e,p))(i,t,!z,n,!t||Ke.test(e)&&Ze(t.parentNode)||t),n}ue(),r.find=_,_.compile=ot,_.select=Rt,_.setDocument=ue,_.tokenize=Ce;function fe(e,t,n){for(var i=[],o=n!==void 0;(e=e[t])&&e.nodeType!==9;)if(e.nodeType===1){if(o&&r(e).is(n))break;i.push(e);}return i}function It(e,t){for(var n=[];e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}var _t=r.expr.match.needsContext,$t=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Wt(e){return e[0]==="<"&&e[e.length-1]===">"&&e.length>=3}function ut(e,t,n){return typeof t=="function"?r.grep(e,function(i,o){return !!t.call(i,o,i)!==n}):t.nodeType?r.grep(e,function(i){return i===t!==n}):typeof t!="string"?r.grep(e,function(i){return re.call(t,i)>-1!==n}):r.filter(t,e,n)}r.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),t.length===1&&i.nodeType===1?r.find.matchesSelector(i,e)?[i]:[]:r.find.matches(e,r.grep(t,function(o){return o.nodeType===1}))},r.fn.extend({find:function(e){var t,n,i=this.length,o=this;if(typeof e!="string")return this.pushStack(r(e).filter(function(){for(t=0;t<i;t++)if(r.contains(o[t],this))return true}));for(n=this.pushStack([]),t=0;t<i;t++)r.find(e,o[t],n);return i>1?r.uniqueSort(n):n},filter:function(e){return this.pushStack(ut(this,e||[],false))},not:function(e){return this.pushStack(ut(this,e||[],true))},is:function(e){return !!ut(this,typeof e=="string"&&_t.test(e)?r(e):e||[],false).length}});var $e,ii=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,ri=r.fn.init=function(e,t){var n,i;if(!e)return this;if(e.nodeType)return this[0]=e,this.length=1,this;if(typeof e=="function")return $e.ready!==void 0?$e.ready(e):e(r);if(n=e+"",Wt(n))n=[null,e,null];else if(typeof e=="string")n=ii.exec(e);else return r.makeArray(e,this);if(n&&(n[1]||!t))if(n[1]){if(t=t instanceof r?t[0]:t,r.merge(this,r.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:C,true)),$t.test(n[1])&&r.isPlainObject(t))for(n in t)typeof this[n]=="function"?this[n](t[n]):this.attr(n,t[n]);return this}else return i=C.getElementById(n[2]),i&&(this[0]=i,this.length=1),this;else return !t||t.jquery?(t||$e).find(e):this.constructor(t).find(e)};ri.prototype=r.fn,$e=r(C);var oi=/^(?:parents|prev(?:Until|All))/,ui={children:true,contents:true,next:true,prev:true};r.fn.extend({has:function(e){var t=r(e,this),n=t.length;return this.filter(function(){for(var i=0;i<n;i++)if(r.contains(this,t[i]))return true})},closest:function(e,t){var n,i=0,o=this.length,u=[],f=typeof e!="string"&&r(e);if(!_t.test(e)){for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(f?f.index(n)>-1:n.nodeType===1&&r.find.matchesSelector(n,e))){u.push(n);break}}return this.pushStack(u.length>1?r.uniqueSort(u):u)},index:function(e){return e?typeof e=="string"?re.call(r(e),this[0]):re.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});function Ft(e,t){for(;(e=e[t])&&e.nodeType!==1;);return e}r.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return fe(e,"parentNode")},parentsUntil:function(e,t,n){return fe(e,"parentNode",n)},next:function(e){return Ft(e,"nextSibling")},prev:function(e){return Ft(e,"previousSibling")},nextAll:function(e){return fe(e,"nextSibling")},prevAll:function(e){return fe(e,"previousSibling")},nextUntil:function(e,t,n){return fe(e,"nextSibling",n)},prevUntil:function(e,t,n){return fe(e,"previousSibling",n)},siblings:function(e){return It((e.parentNode||{}).firstChild,e)},children:function(e){return It(e.firstChild)},contents:function(e){return e.contentDocument!=null&&W(e.contentDocument)?e.contentDocument:(S(e,"template")&&(e=e.content||e),r.merge([],e.childNodes))}},function(e,t){r.fn[e]=function(n,i){var o=r.map(this,t,n);return e.slice(-5)!=="Until"&&(i=n),i&&typeof i=="string"&&(o=r.filter(i,o)),this.length>1&&(ui[e]||r.uniqueSort(o),oi.test(e)&&o.reverse()),this.pushStack(o)};});function fi(e){var t={};return r.each(e.match(F)||[],function(n,i){t[i]=true;}),t}r.Callbacks=function(e){e=typeof e=="string"?fi(e):r.extend({},e);var t,n,i,o,u=[],f=[],s=-1,a=function(){for(o=o||e.once,i=t=true;f.length;s=-1)for(n=f.shift();++s<u.length;)u[s].apply(n[0],n[1])===false&&e.stopOnFalse&&(s=u.length,n=false);e.memory||(n=false),t=false,o&&(n?u=[]:u="");},c={add:function(){return u&&(n&&!t&&(s=u.length-1,f.push(n)),(function p(h){r.each(h,function(l,d){typeof d=="function"?(!e.unique||!c.has(d))&&u.push(d):d&&d.length&&xe(d)!=="string"&&p(d);});})(arguments),n&&!t&&a()),this},remove:function(){return r.each(arguments,function(p,h){for(var l;(l=r.inArray(h,u,l))>-1;)u.splice(l,1),l<=s&&s--;}),this},has:function(p){return p?r.inArray(p,u)>-1:u.length>0},empty:function(){return u&&(u=[]),this},disable:function(){return o=f=[],u=n="",this},disabled:function(){return !u},lock:function(){return o=f=[],!n&&!t&&(u=n=""),this},locked:function(){return !!o},fireWith:function(p,h){return o||(h=h||[],h=[p,h.slice?h.slice():h],f.push(h),t||a()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return !!i}};return c};function ae(e){return e}function We(e){throw e}function Bt(e,t,n,i){var o;try{e&&typeof(o=e.promise)=="function"?o.call(e).done(t).fail(n):e&&typeof(o=e.then)=="function"?o.call(e,t,n):t.apply(void 0,[e].slice(i));}catch(u){n(u);}}r.extend({Deferred:function(e){var t=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(u){return i.then(null,u)},pipe:function(){var u=arguments;return r.Deferred(function(f){r.each(t,function(s,a){var c=typeof u[a[4]]=="function"&&u[a[4]];o[a[1]](function(){var p=c&&c.apply(this,arguments);p&&typeof p.promise=="function"?p.promise().progress(f.notify).done(f.resolve).fail(f.reject):f[a[0]+"With"](this,c?[p]:arguments);});}),u=null;}).promise()},then:function(u,f,s){var a=0;function c(p,h,l,d){return function(){var g=this,x=arguments,v=function(){var j,H;if(!(p<a)){if(j=l.apply(g,x),j===h.promise())throw new TypeError("Thenable self-resolution");H=j&&(typeof j=="object"||typeof j=="function")&&j.then,typeof H=="function"?d?H.call(j,c(a,h,ae,d),c(a,h,We,d)):(a++,H.call(j,c(a,h,ae,d),c(a,h,We,d),c(a,h,ae,h.notifyWith))):(l!==ae&&(g=void 0,x=[j]),(d||h.resolveWith)(g,x));}},D=d?v:function(){try{v();}catch(j){r.Deferred.exceptionHook&&r.Deferred.exceptionHook(j,D.error),p+1>=a&&(l!==We&&(g=void 0,x=[j]),h.rejectWith(g,x));}};p?D():(r.Deferred.getErrorHook&&(D.error=r.Deferred.getErrorHook()),y.setTimeout(D));}}return r.Deferred(function(p){t[0][3].add(c(0,p,typeof s=="function"?s:ae,p.notifyWith)),t[1][3].add(c(0,p,typeof u=="function"?u:ae)),t[2][3].add(c(0,p,typeof f=="function"?f:We));}).promise()},promise:function(u){return u!=null?r.extend(u,i):i}},o={};return r.each(t,function(u,f){var s=f[2],a=f[5];i[f[1]]=s.add,a&&s.add(function(){n=a;},t[3-u][2].disable,t[3-u][3].disable,t[0][2].lock,t[0][3].lock),s.add(f[3].fire),o[f[0]]=function(){return o[f[0]+"With"](this===o?void 0:this,arguments),this},o[f[0]+"With"]=s.fireWith;}),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),o=O.call(arguments),u=r.Deferred(),f=function(s){return function(a){i[s]=this,o[s]=arguments.length>1?O.call(arguments):a,--t||u.resolveWith(i,o);}};if(t<=1&&(Bt(e,u.done(f(n)).resolve,u.reject,!t),u.state()==="pending"||typeof(o[n]&&o[n].then)=="function"))return u.then();for(;n--;)Bt(o[n],f(n),u.reject);return u.promise()}});var ai=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(e,t){e&&ai.test(e.name)&&y.console.warn("jQuery.Deferred exception",e,t);},r.readyException=function(e){y.setTimeout(function(){throw e});};var ft=r.Deferred();r.fn.ready=function(e){return ft.then(e).catch(function(t){r.readyException(t);}),this},r.extend({isReady:false,readyWait:1,ready:function(e){(e===true?--r.readyWait:r.isReady)||(r.isReady=true,!(e!==true&&--r.readyWait>0)&&ft.resolveWith(C,[r]));}}),r.ready.then=ft.then;function Fe(){C.removeEventListener("DOMContentLoaded",Fe),y.removeEventListener("load",Fe),r.ready();}C.readyState!=="loading"?y.setTimeout(r.ready):(C.addEventListener("DOMContentLoaded",Fe),y.addEventListener("load",Fe));var si=/-([a-z])/g;function ci(e,t){return t.toUpperCase()}function ne(e){return e.replace(si,ci)}function we(e){return e.nodeType===1||e.nodeType===9||!+e.nodeType}function Se(){this.expando=r.expando+Se.uid++;}Se.uid=1,Se.prototype={cache:function(e){var t=e[this.expando];return t||(t=Object.create(null),we(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:true}))),t},set:function(e,t,n){var i,o=this.cache(e);if(typeof t=="string")o[ne(t)]=n;else for(i in t)o[ne(i)]=t[i];return n},get:function(e,t){return t===void 0?this.cache(e):e[this.expando]&&e[this.expando][ne(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,i=e[this.expando];if(i!==void 0){if(t!==void 0)for(Array.isArray(t)?t=t.map(ne):(t=ne(t),t=t in i?[t]:t.match(F)||[]),n=t.length;n--;)delete i[t[n]];(t===void 0||r.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando]);}},hasData:function(e){var t=e[this.expando];return t!==void 0&&!r.isEmptyObject(t)}};var b=new Se,P=new Se,li=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,pi=/[A-Z]/g;function di(e){return e==="true"?true:e==="false"?false:e==="null"?null:e===+e+""?+e:li.test(e)?JSON.parse(e):e}function Ut(e,t,n){var i;if(n===void 0&&e.nodeType===1)if(i="data-"+t.replace(pi,"-$&").toLowerCase(),n=e.getAttribute(i),typeof n=="string"){try{n=di(n);}catch{}P.set(e,t,n);}else n=void 0;return n}r.extend({hasData:function(e){return P.hasData(e)||b.hasData(e)},data:function(e,t,n){return P.access(e,t,n)},removeData:function(e,t){P.remove(e,t);},_data:function(e,t,n){return b.access(e,t,n)},_removeData:function(e,t){b.remove(e,t);}}),r.fn.extend({data:function(e,t){var n,i,o,u=this[0],f=u&&u.attributes;if(e===void 0){if(this.length&&(o=P.get(u),u.nodeType===1&&!b.get(u,"hasDataAttrs"))){for(n=f.length;n--;)f[n]&&(i=f[n].name,i.indexOf("data-")===0&&(i=ne(i.slice(5)),Ut(u,i,o[i])));b.set(u,"hasDataAttrs",true);}return o}return typeof e=="object"?this.each(function(){P.set(this,e);}):X(this,function(s){var a;if(u&&s===void 0)return a=P.get(u,e),a!==void 0||(a=Ut(u,e),a!==void 0)?a:void 0;this.each(function(){P.set(this,e,s);});},null,t,arguments.length>1,null,true)},removeData:function(e){return this.each(function(){P.remove(this,e);})}}),r.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=b.get(e,t),n&&(!i||Array.isArray(n)?i=b.set(e,t,r.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=r.queue(e,t),i=n.length,o=n.shift(),u=r._queueHooks(e,t),f=function(){r.dequeue(e,t);};o==="inprogress"&&(o=n.shift(),i--),o&&(t==="fx"&&n.unshift("inprogress"),delete u.stop,o.call(e,f,u)),!i&&u&&u.empty.fire();},_queueHooks:function(e,t){var n=t+"queueHooks";return b.get(e,n)||b.set(e,n,{empty:r.Callbacks("once memory").add(function(){b.remove(e,[t+"queue",n]);})})}}),r.fn.extend({queue:function(e,t){var n=2;return typeof e!="string"&&(t=e,e="fx",n--),arguments.length<n?r.queue(this[0],e):t===void 0?this:this.each(function(){var i=r.queue(this,e,t);r._queueHooks(this,e),e==="fx"&&i[0]!=="inprogress"&&r.dequeue(this,e);})},dequeue:function(e){return this.each(function(){r.dequeue(this,e);})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=r.Deferred(),u=this,f=this.length,s=function(){--i||o.resolveWith(u,[u]);};for(typeof e!="string"&&(t=e,e=void 0),e=e||"fx";f--;)n=b.get(u[f],e+"queueHooks"),n&&n.empty&&(i++,n.empty.add(s));return s(),o.promise(t)}});var Xt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,je=new RegExp("^(?:([+-])=|)("+Xt+")([a-z%]*)$","i"),J=["Top","Right","Bottom","Left"];function Be(e,t){return e=t||e,e.style.display==="none"||e.style.display===""&&r.css(e,"display")==="none"}var hi=/^[a-z]/,gi=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;function Ue(e){return hi.test(e)&&gi.test(e[0].toUpperCase()+e.slice(1))}function zt(e,t,n,i){var o,u,f=20,s=i?function(){return i.cur()}:function(){return r.css(e,t,"")},a=s(),c=n&&n[3]||(Ue(t)?"px":""),p=e.nodeType&&(!Ue(t)||c!=="px"&&+a)&&je.exec(r.css(e,t));if(p&&p[3]!==c){for(a=a/2,c=c||p[3],p=+a||1;f--;)r.style(e,t,p+c),(1-u)*(1-(u=s()/a||.5))<=0&&(f=0),p=p/u;p=p*2,r.style(e,t,p+c),n=n||[];}return n&&(p=+p||+a||0,o=n[1]?p+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=p,i.end=o)),o}var yi=/^-ms-/;function at(e){return ne(e.replace(yi,"ms-"))}var Qt={};function vi(e){var t,n=e.ownerDocument,i=e.nodeName,o=Qt[i];return o||(t=n.body.appendChild(n.createElement(i)),o=r.css(t,"display"),t.parentNode.removeChild(t),o==="none"&&(o="block"),Qt[i]=o,o)}function se(e,t){for(var n,i,o=[],u=0,f=e.length;u<f;u++)i=e[u],i.style&&(n=i.style.display,t?(n==="none"&&(o[u]=b.get(i,"display")||null,o[u]||(i.style.display="")),i.style.display===""&&Be(i)&&(o[u]=vi(i))):n!=="none"&&(o[u]="none",b.set(i,"display",n)));for(u=0;u<f;u++)o[u]!=null&&(e[u].style.display=o[u]);return e}r.fn.extend({show:function(){return se(this,true)},hide:function(){return se(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){Be(this)?r(this).show():r(this).hide();})}});var De=function(e){return r.contains(e.ownerDocument,e)||e.getRootNode(xi)===e.ownerDocument},xi={composed:true};G.getRootNode||(De=function(e){return r.contains(e.ownerDocument,e)});var Vt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,V={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};V.tbody=V.tfoot=V.colgroup=V.caption=V.thead,V.th=V.td;function L(e,t){var n;return typeof e.getElementsByTagName<"u"?n=E.slice.call(e.getElementsByTagName(t||"*")):typeof e.querySelectorAll<"u"?n=e.querySelectorAll(t||"*"):n=[],t===void 0||t&&S(e,t)?r.merge([e],n):n}var Gt=/^$|^module$|\/(?:java|ecma)script/i;function st(e,t){for(var n=0,i=e.length;n<i;n++)b.set(e[n],"globalEval",!t||b.get(t[n],"globalEval"));}var bi=/<|&#?\w+;/;function Yt(e,t,n,i,o){for(var u,f,s,a,c,p,h=t.createDocumentFragment(),l=[],d=0,g=e.length;d<g;d++)if(u=e[d],u||u===0)if(xe(u)==="object"&&(u.nodeType||qe(u)))r.merge(l,u.nodeType?[u]:u);else if(!bi.test(u))l.push(t.createTextNode(u));else {for(f=f||h.appendChild(t.createElement("div")),s=(Vt.exec(u)||["",""])[1].toLowerCase(),a=V[s]||E,p=a.length;--p>-1;)f=f.appendChild(t.createElement(a[p]));f.innerHTML=r.htmlPrefilter(u),r.merge(l,f.childNodes),f=h.firstChild,f.textContent="";}for(h.textContent="",d=0;u=l[d++];){if(i&&r.inArray(u,i)>-1){o&&o.push(u);continue}if(c=De(u),f=L(h.appendChild(u),"script"),c&&st(f),n)for(p=0;u=f[p++];)Gt.test(u.type||"")&&n.push(u);}return h}function mi(e){return e.type=(e.getAttribute("type")!==null)+"/"+e.type,e}function Ti(e){return (e.type||"").slice(0,5)==="true/"?e.type=e.type.slice(5):e.removeAttribute("type"),e}function ce(e,t,n,i){t=Ct(t);var o,u,f,s,a,c,p=0,h=e.length,l=h-1,d=t[0],g=typeof d=="function";if(g)return e.each(function(x){var v=e.eq(x);t[0]=d.call(this,x,v.html()),ce(v,t,n,i);});if(h&&(o=Yt(t,e[0].ownerDocument,false,e,i),u=o.firstChild,o.childNodes.length===1&&(o=u),u||i)){for(f=r.map(L(o,"script"),mi),s=f.length;p<h;p++)a=o,p!==l&&(a=r.clone(a,true,true),s&&r.merge(f,L(a,"script"))),n.call(e[p],a,p);if(s)for(c=f[f.length-1].ownerDocument,r.map(f,Ti),p=0;p<s;p++)a=f[p],Gt.test(a.type||"")&&!b.get(a,"globalEval")&&r.contains(c,a)&&(a.src&&(a.type||"").toLowerCase()!=="module"?r._evalUrl&&!a.noModule&&r._evalUrl(a.src,{nonce:a.nonce,crossOrigin:a.crossOrigin},c):jt(a.textContent,a,c));}return e}var Xe=/^(?:checkbox|radio)$/i,Jt=/^([^.]*)(?:\.(.+)|)/;function le(){return true}function pe(){return false}function ct(e,t,n,i,o,u){var f,s;if(typeof t=="object"){typeof n!="string"&&(i=i||n,n=void 0);for(s in t)ct(e,s,n,i,t[s],u);return e}if(i==null&&o==null?(o=n,i=n=void 0):o==null&&(typeof n=="string"?(o=i,i=void 0):(o=i,i=n,n=void 0)),o===false)o=pe;else if(!o)return e;return u===1&&(f=o,o=function(a){return r().off(a),f.apply(this,arguments)},o.guid=f.guid||(f.guid=r.guid++)),e.each(function(){r.event.add(this,t,o,i,n);})}r.event={add:function(e,t,n,i,o){var u,f,s,a,c,p,h,l,d,g,x,v=b.get(e);if(we(e))for(n.handler&&(u=n,n=u.handler,o=u.selector),o&&r.find.matchesSelector(G,o),n.guid||(n.guid=r.guid++),(a=v.events)||(a=v.events=Object.create(null)),(f=v.handle)||(f=v.handle=function(D){return typeof r<"u"&&r.event.triggered!==D.type?r.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(F)||[""],c=t.length;c--;)s=Jt.exec(t[c])||[],d=x=s[1],g=(s[2]||"").split(".").sort(),d&&(h=r.event.special[d]||{},d=(o?h.delegateType:h.bindType)||d,h=r.event.special[d]||{},p=r.extend({type:d,origType:x,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&r.expr.match.needsContext.test(o),namespace:g.join(".")},u),(l=a[d])||(l=a[d]=[],l.delegateCount=0,(!h.setup||h.setup.call(e,i,g,f)===false)&&e.addEventListener&&e.addEventListener(d,f)),h.add&&(h.add.call(e,p),p.handler.guid||(p.handler.guid=n.guid)),o?l.splice(l.delegateCount++,0,p):l.push(p));},remove:function(e,t,n,i,o){var u,f,s,a,c,p,h,l,d,g,x,v=b.hasData(e)&&b.get(e);if(!(!v||!(a=v.events))){for(t=(t||"").match(F)||[""],c=t.length;c--;){if(s=Jt.exec(t[c])||[],d=x=s[1],g=(s[2]||"").split(".").sort(),!d){for(d in a)r.event.remove(e,d+t[c],n,i,true);continue}for(h=r.event.special[d]||{},d=(i?h.delegateType:h.bindType)||d,l=a[d]||[],s=s[2]&&new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"),f=u=l.length;u--;)p=l[u],(o||x===p.origType)&&(!n||n.guid===p.guid)&&(!s||s.test(p.namespace))&&(!i||i===p.selector||i==="**"&&p.selector)&&(l.splice(u,1),p.selector&&l.delegateCount--,h.remove&&h.remove.call(e,p));f&&!l.length&&((!h.teardown||h.teardown.call(e,g,v.handle)===false)&&r.removeEvent(e,d,v.handle),delete a[d]);}r.isEmptyObject(a)&&b.remove(e,"handle events");}},dispatch:function(e){var t,n,i,o,u,f,s=new Array(arguments.length),a=r.event.fix(e),c=(b.get(this,"events")||Object.create(null))[a.type]||[],p=r.event.special[a.type]||{};for(s[0]=a,t=1;t<arguments.length;t++)s[t]=arguments[t];if(a.delegateTarget=this,!(p.preDispatch&&p.preDispatch.call(this,a)===false)){for(f=r.event.handlers.call(this,a,c),t=0;(o=f[t++])&&!a.isPropagationStopped();)for(a.currentTarget=o.elem,n=0;(u=o.handlers[n++])&&!a.isImmediatePropagationStopped();)(!a.rnamespace||u.namespace===false||a.rnamespace.test(u.namespace))&&(a.handleObj=u,a.data=u.data,i=((r.event.special[u.origType]||{}).handle||u.handler).apply(o.elem,s),i!==void 0&&(a.result=i)===false&&(a.preventDefault(),a.stopPropagation()));return p.postDispatch&&p.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,i,o,u,f,s=[],a=t.delegateCount,c=e.target;if(a&&!(e.type==="click"&&e.button>=1)){for(;c!==this;c=c.parentNode||this)if(c.nodeType===1&&!(e.type==="click"&&c.disabled===true)){for(u=[],f={},n=0;n<a;n++)i=t[n],o=i.selector+" ",f[o]===void 0&&(f[o]=i.needsContext?r(o,this).index(c)>-1:r.find(o,this,null,[c]).length),f[o]&&u.push(i);u.length&&s.push({elem:c,handlers:u});}}return c=this,a<t.length&&s.push({elem:c,handlers:t.slice(a)}),s},addProp:function(e,t){Object.defineProperty(r.Event.prototype,e,{enumerable:true,configurable:true,get:typeof t=="function"?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(n){Object.defineProperty(this,e,{enumerable:true,configurable:true,writable:true,value:n});}});},fix:function(e){return e[r.expando]?e:new r.Event(e)},special:r.extend(Object.create(null),{load:{noBubble:true},click:{setup:function(e){var t=this||e;return Xe.test(t.type)&&t.click&&S(t,"input")&&ze(t,"click",true),false},trigger:function(e){var t=this||e;return Xe.test(t.type)&&t.click&&S(t,"input")&&ze(t,"click"),true},_default:function(e){var t=e.target;return Xe.test(t.type)&&t.click&&S(t,"input")&&b.get(t,"click")||S(t,"a")}},beforeunload:{postDispatch:function(e){e.result!==void 0&&e.preventDefault();}}})};function ze(e,t,n){if(!n){b.get(e,t)===void 0&&r.event.add(e,t,le);return}b.set(e,t,false),r.event.add(e,t,{namespace:false,handler:function(i){var o,u=b.get(this,t);if(i.isTrigger&1&&this[t]){if(u.length)(r.event.special[t]||{}).delegateType&&i.stopPropagation();else if(u=O.call(arguments),b.set(this,t,u),this[t](),o=b.get(this,t),b.set(this,t,false),u!==o)return i.stopImmediatePropagation(),i.preventDefault(),o&&o.value}else u.length&&(b.set(this,t,{value:r.event.trigger(u[0],u.slice(1),this)}),i.stopPropagation(),i.isImmediatePropagationStopped=le);}});}r.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n);},r.Event=function(e,t){if(!(this instanceof r.Event))return new r.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented?le:pe,this.target=e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&r.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[r.expando]=true;},r.Event.prototype={constructor:r.Event,isDefaultPrevented:pe,isPropagationStopped:pe,isImmediatePropagationStopped:pe,isSimulated:false,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=le,e&&!this.isSimulated&&e.preventDefault();},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=le,e&&!this.isSimulated&&e.stopPropagation();},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=le,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation();}},r.each({altKey:true,bubbles:true,cancelable:true,changedTouches:true,ctrlKey:true,detail:true,eventPhase:true,metaKey:true,pageX:true,pageY:true,shiftKey:true,view:true,char:true,code:true,charCode:true,key:true,keyCode:true,button:true,buttons:true,clientX:true,clientY:true,offsetX:true,offsetY:true,pointerId:true,pointerType:true,screenX:true,screenY:true,targetTouches:true,toElement:true,touches:true,which:true},r.event.addProp),r.each({focus:"focusin",blur:"focusout"},function(e,t){function n(i){var o=r.event.fix(i);o.type=i.type==="focusin"?"focus":"blur",o.isSimulated=true,o.target===o.currentTarget&&b.get(this,"handle")(o);}r.event.special[e]={setup:function(){if(ze(this,e,true),q)this.addEventListener(t,n);else return false},trigger:function(){return ze(this,e),true},teardown:function(){if(q)this.removeEventListener(t,n);else return false},_default:function(i){return b.get(i.target,e)},delegateType:t};}),r.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){r.event.special[e]={delegateType:t,bindType:t,handle:function(n){var i,o=this,u=n.relatedTarget,f=n.handleObj;return (!u||u!==o&&!r.contains(o,u))&&(n.type=f.origType,i=f.handler.apply(this,arguments),n.type=t),i}};}),r.fn.extend({on:function(e,t,n,i){return ct(this,e,t,n,i)},one:function(e,t,n,i){return ct(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,r(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if(typeof e=="object"){for(o in e)this.off(o,t,e[o]);return this}return (t===false||typeof t=="function")&&(n=t,t=void 0),n===false&&(n=pe),this.each(function(){r.event.remove(this,e,n,t);})}});var Ci=/<script|<style|<link/i;function Kt(e,t){return S(e,"table")&&S(t.nodeType!==11?t:t.firstChild,"tr")&&r(e).children("tbody")[0]||e}function Zt(e,t){var n,i,o,u=b.get(e,"events");if(t.nodeType===1){if(u){b.remove(t,"handle events");for(n in u)for(i=0,o=u[n].length;i<o;i++)r.event.add(t,n,u[n][i]);}P.hasData(e)&&P.set(t,r.extend({},P.get(e)));}}function en(e,t,n){for(var i,o=t?r.filter(t,e):e,u=0;(i=o[u])!=null;u++)!n&&i.nodeType===1&&r.cleanData(L(i)),i.parentNode&&(n&&De(i)&&st(L(i,"script")),i.parentNode.removeChild(i));return e}r.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,o,u,f,s=e.cloneNode(true),a=De(e);if(q&&(e.nodeType===1||e.nodeType===11)&&!r.isXMLDoc(e))for(f=L(s),u=L(e),i=0,o=u.length;i<o;i++)S(f[i],"textarea")&&(f[i].defaultValue=u[i].defaultValue);if(t)if(n)for(u=u||L(e),f=f||L(s),i=0,o=u.length;i<o;i++)Zt(u[i],f[i]);else Zt(e,s);return f=L(s,"script"),f.length>0&&st(f,!a&&L(e,"script")),s},cleanData:function(e){for(var t,n,i,o=r.event.special,u=0;(n=e[u])!==void 0;u++)if(we(n)){if(t=n[b.expando]){if(t.events)for(i in t.events)o[i]?r.event.remove(n,i):r.removeEvent(n,i,t.handle);n[b.expando]=void 0;}n[P.expando]&&(n[P.expando]=void 0);}}}),r.fn.extend({detach:function(e){return en(this,e,true)},remove:function(e){return en(this,e)},text:function(e){return X(this,function(t){return t===void 0?r.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=t);})},null,e,arguments.length)},append:function(){return ce(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Kt(this,e);t.appendChild(e);}})},prepend:function(){return ce(this,arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=Kt(this,e);t.insertBefore(e,t.firstChild);}})},before:function(){return ce(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this);})},after:function(){return ce(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling);})},empty:function(){for(var e,t=0;(e=this[t])!=null;t++)e.nodeType===1&&(r.cleanData(L(e,false)),e.textContent="");return this},clone:function(e,t){return e=e??false,t=t??e,this.map(function(){return r.clone(this,e,t)})},html:function(e){return X(this,function(t){var n=this[0]||{},i=0,o=this.length;if(t===void 0&&n.nodeType===1)return n.innerHTML;if(typeof t=="string"&&!Ci.test(t)&&!V[(Vt.exec(t)||["",""])[1].toLowerCase()]){t=r.htmlPrefilter(t);try{for(;i<o;i++)n=this[i]||{},n.nodeType===1&&(r.cleanData(L(n,!1)),n.innerHTML=t);n=0;}catch{}}n&&this.empty().append(t);},null,e,arguments.length)},replaceWith:function(){var e=[];return ce(this,arguments,function(t){var n=this.parentNode;r.inArray(this,e)<0&&(r.cleanData(L(this)),n&&n.replaceChild(t,this));},e)}}),r.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){r.fn[e]=function(n){for(var i,o=[],u=r(n),f=u.length-1,s=0;s<=f;s++)i=s===f?this:this.clone(true),r(u[s])[t](i),I.apply(o,i);return this.pushStack(o)};});var wi=new RegExp("^("+Xt+")(?!px)[a-z%]+$","i"),lt=/^--/;function Qe(e){var t=e.ownerDocument.defaultView;return t||(t=y),t.getComputedStyle(e)}function Si(e,t,n){var i,o,u={};for(o in t)u[o]=e.style[o],e.style[o]=t[o];i=n.call(e);for(o in t)e.style[o]=u[o];return i}function tn(e,t,n){var i,o=lt.test(t);return n=n||Qe(e),n&&(i=n.getPropertyValue(t)||n[t],o&&i&&(i=i.replace(me,"$1")||void 0),i===""&&!De(e)&&(i=r.style(e,t))),i!==void 0?i+"":i}var nn=["Webkit","Moz","ms"],rn=C.createElement("div").style;function ji(e){for(var t=e[0].toUpperCase()+e.slice(1),n=nn.length;n--;)if(e=nn[n]+t,e in rn)return e}function pt(e){return e in rn?e:ji(e)||e}var on,un,K=C.createElement("table");function fn(){if(!(!K||!K.style)){var e,t=C.createElement("col"),n=C.createElement("tr"),i=C.createElement("td");if(K.style.cssText="position:absolute;left:-11111px;border-collapse:separate;border-spacing:0",n.style.cssText="box-sizing:content-box;border:1px solid;height:1px",i.style.cssText="height:9px;width:9px;padding:0",t.span=2,G.appendChild(K).appendChild(t).parentNode.appendChild(n).appendChild(i).parentNode.appendChild(i.cloneNode(true)),K.offsetWidth===0){G.removeChild(K);return}e=y.getComputedStyle(n),un=q||Math.round(parseFloat(y.getComputedStyle(t).width))===18,on=Math.round(parseFloat(e.height)+parseFloat(e.borderTopWidth)+parseFloat(e.borderBottomWidth))===n.offsetHeight,G.removeChild(K),K=null;}}r.extend(Oe,{reliableTrDimensions:function(){return fn(),on},reliableColDimensions:function(){return fn(),un}});var Di={position:"absolute",visibility:"hidden",display:"block"},an={letterSpacing:"0",fontWeight:"400"};function sn(e,t,n){var i=je.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function cn(e,t,n,i,o,u){var f=t==="width"?1:0,s=0,a=0,c=0;if(n===(i?"border":"content"))return 0;for(;f<4;f+=2)n==="margin"&&(c+=r.css(e,n+J[f],true,o)),i?(n==="content"&&(a-=r.css(e,"padding"+J[f],true,o)),n!=="margin"&&(a-=r.css(e,"border"+J[f]+"Width",true,o))):(a+=r.css(e,"padding"+J[f],true,o),n!=="padding"?a+=r.css(e,"border"+J[f]+"Width",true,o):s+=r.css(e,"border"+J[f]+"Width",true,o));return !i&&u>=0&&(a+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-u-a-s-.5))||0),a+c}function ln(e,t,n){var i=Qe(e),o=q||n,u=o&&r.css(e,"boxSizing",false,i)==="border-box",f=u,s=tn(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(wi.test(s)){if(!n)return s;s="auto";}return (s==="auto"||q&&u||!Oe.reliableColDimensions()&&S(e,"col")||!Oe.reliableTrDimensions()&&S(e,"tr"))&&e.getClientRects().length&&(u=r.css(e,"boxSizing",false,i)==="border-box",f=a in e,f&&(s=e[a])),s=parseFloat(s)||0,s+cn(e,t,n||(u?"border":"content"),f,i,s)+"px"}r.extend({cssHooks:{},style:function(e,t,n,i){if(!(!e||e.nodeType===3||e.nodeType===8||!e.style)){var o,u,f,s=at(t),a=lt.test(t),c=e.style;if(a||(t=pt(s)),f=r.cssHooks[t]||r.cssHooks[s],n!==void 0){if(u=typeof n,u==="string"&&(o=je.exec(n))&&o[1]&&(n=zt(e,t,o),u="number"),n==null||n!==n)return;u==="number"&&(n+=o&&o[3]||(Ue(s)?"px":"")),q&&n===""&&t.indexOf("background")===0&&(c[t]="inherit"),(!f||!("set"in f)||(n=f.set(e,n,i))!==void 0)&&(a?c.setProperty(t,n):c[t]=n);}else return f&&"get"in f&&(o=f.get(e,false,i))!==void 0?o:c[t]}},css:function(e,t,n,i){var o,u,f,s=at(t),a=lt.test(t);return a||(t=pt(s)),f=r.cssHooks[t]||r.cssHooks[s],f&&"get"in f&&(o=f.get(e,true,n)),o===void 0&&(o=tn(e,t,i)),o==="normal"&&t in an&&(o=an[t]),n===""||n?(u=parseFloat(o),n===true||isFinite(u)?u||0:o):o}}),r.each(["height","width"],function(e,t){r.cssHooks[t]={get:function(n,i,o){if(i)return r.css(n,"display")==="none"?Si(n,Di,function(){return ln(n,t,o)}):ln(n,t,o)},set:function(n,i,o){var u,f=Qe(n),s=o&&r.css(n,"boxSizing",false,f)==="border-box",a=o?cn(n,t,o,s,f):0;return a&&(u=je.exec(i))&&(u[3]||"px")!=="px"&&(n.style[t]=i,i=r.css(n,t)),sn(n,i,a)}};}),r.each({margin:"",padding:"",border:"Width"},function(e,t){r.cssHooks[e+t]={expand:function(n){for(var i=0,o={},u=typeof n=="string"?n.split(" "):[n];i<4;i++)o[e+J[i]+t]=u[i]||u[i-2]||u[0];return o}},e!=="margin"&&(r.cssHooks[e+t].set=sn);}),r.fn.extend({css:function(e,t){return X(this,function(n,i,o){var u,f,s={},a=0;if(Array.isArray(i)){for(u=Qe(n),f=i.length;a<f;a++)s[i[a]]=r.css(n,i[a],false,u);return s}return o!==void 0?r.style(n,i,o):r.css(n,i)},e,t,arguments.length>1)}});function R(e,t,n,i,o){return new R.prototype.init(e,t,n,i,o)}r.Tween=R,R.prototype={constructor:R,init:function(e,t,n,i,o,u){this.elem=e,this.prop=n,this.easing=o||r.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=u||(Ue(n)?"px":"");},cur:function(){var e=R.propHooks[this.prop];return e&&e.get?e.get(this):R.propHooks._default.get(this)},run:function(e){var t,n=R.propHooks[this.prop];return this.options.duration?this.pos=t=r.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):R.propHooks._default.set(this),this}},R.prototype.init.prototype=R.prototype,R.propHooks={_default:{get:function(e){var t;return e.elem.nodeType!==1||e.elem[e.prop]!=null&&e.elem.style[e.prop]==null?e.elem[e.prop]:(t=r.css(e.elem,e.prop,""),!t||t==="auto"?0:t)},set:function(e){r.fx.step[e.prop]?r.fx.step[e.prop](e):e.elem.nodeType===1&&(r.cssHooks[e.prop]||e.elem.style[pt(e.prop)]!=null)?r.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now;}}},r.easing={linear:function(e){return e},swing:function(e){return .5-Math.cos(e*Math.PI)/2},_default:"swing"},r.fx=R.prototype.init,r.fx.step={};var de,Ve,Ei=/^(?:toggle|show|hide)$/,Ai=/queueHooks$/;function dt(){Ve&&(C.hidden===false&&y.requestAnimationFrame?y.requestAnimationFrame(dt):y.setTimeout(dt,13),r.fx.tick());}function pn(){return y.setTimeout(function(){de=void 0;}),de=Date.now()}function Ge(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)n=J[i],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function dn(e,t,n){for(var i,o=($.tweeners[t]||[]).concat($.tweeners["*"]),u=0,f=o.length;u<f;u++)if(i=o[u].call(n,t,e))return i}function Ni(e,t,n){var i,o,u,f,s,a,c,p,h="width"in t||"height"in t,l=this,d={},g=e.style,x=e.nodeType&&Be(e),v=b.get(e,"fxshow");n.queue||(f=r._queueHooks(e,"fx"),f.unqueued==null&&(f.unqueued=0,s=f.empty.fire,f.empty.fire=function(){f.unqueued||s();}),f.unqueued++,l.always(function(){l.always(function(){f.unqueued--,r.queue(e,"fx").length||f.empty.fire();});}));for(i in t)if(o=t[i],Ei.test(o)){if(delete t[i],u=u||o==="toggle",o===(x?"hide":"show"))if(o==="show"&&v&&v[i]!==void 0)x=true;else continue;d[i]=v&&v[i]||r.style(e,i);}if(a=!r.isEmptyObject(t),!(!a&&r.isEmptyObject(d))){h&&e.nodeType===1&&(n.overflow=[g.overflow,g.overflowX,g.overflowY],c=v&&v.display,c==null&&(c=b.get(e,"display")),p=r.css(e,"display"),p==="none"&&(c?p=c:(se([e],true),c=e.style.display||c,p=r.css(e,"display"),se([e]))),(p==="inline"||p==="inline-block"&&c!=null)&&r.css(e,"float")==="none"&&(a||(l.done(function(){g.display=c;}),c==null&&(p=g.display,c=p==="none"?"":p)),g.display="inline-block")),n.overflow&&(g.overflow="hidden",l.always(function(){g.overflow=n.overflow[0],g.overflowX=n.overflow[1],g.overflowY=n.overflow[2];})),a=false;for(i in d)a||(v?"hidden"in v&&(x=v.hidden):v=b.set(e,"fxshow",{display:c}),u&&(v.hidden=!x),x&&se([e],true),l.done(function(){x||se([e]),b.remove(e,"fxshow");for(i in d)r.style(e,i,d[i]);})),a=dn(x?v[i]:0,i,l),i in v||(v[i]=a.start,x&&(a.end=a.start,a.start=0));}}function ki(e,t){var n,i,o,u,f;for(n in e)if(i=at(n),o=t[i],u=e[n],Array.isArray(u)&&(o=u[1],u=e[n]=u[0]),n!==i&&(e[i]=u,delete e[n]),f=r.cssHooks[i],f&&"expand"in f){u=f.expand(u),delete e[i];for(n in u)n in e||(e[n]=u[n],t[n]=o);}else t[i]=o;}function $(e,t,n){var i,o,u=0,f=$.prefilters.length,s=r.Deferred().always(function(){delete a.elem;}),a=function(){if(o)return false;for(var h=de||pn(),l=Math.max(0,c.startTime+c.duration-h),d=1-(l/c.duration||0),g=0,x=c.tweens.length;g<x;g++)c.tweens[g].run(d);return s.notifyWith(e,[c,d,l]),d<1&&x?l:(x||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),false)},c=s.promise({elem:e,props:r.extend({},t),opts:r.extend(true,{specialEasing:{},easing:r.easing._default},n),originalProperties:t,originalOptions:n,startTime:de||pn(),duration:n.duration,tweens:[],createTween:function(h,l){var d=r.Tween(e,c.opts,h,l,c.opts.specialEasing[h]||c.opts.easing);return c.tweens.push(d),d},stop:function(h){var l=0,d=h?c.tweens.length:0;if(o)return this;for(o=true;l<d;l++)c.tweens[l].run(1);return h?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,h])):s.rejectWith(e,[c,h]),this}}),p=c.props;for(ki(p,c.opts.specialEasing);u<f;u++)if(i=$.prefilters[u].call(c,e,p,c.opts),i)return typeof i.stop=="function"&&(r._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return r.map(p,dn,c),typeof c.opts.start=="function"&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),r.fx.timer(r.extend(a,{elem:e,anim:c,queue:c.opts.queue})),c}r.Animation=r.extend($,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return zt(n.elem,e,je.exec(t),n),n}]},tweener:function(e,t){typeof e=="function"?(t=e,e=["*"]):e=e.match(F);for(var n,i=0,o=e.length;i<o;i++)n=e[i],$.tweeners[n]=$.tweeners[n]||[],$.tweeners[n].unshift(t);},prefilters:[Ni],prefilter:function(e,t){t?$.prefilters.unshift(e):$.prefilters.push(e);}}),r.speed=function(e,t,n){var i=e&&typeof e=="object"?r.extend({},e):{complete:n||t||typeof e=="function"&&e,duration:e,easing:n&&t||t&&typeof t!="function"&&t};return r.fx.off?i.duration=0:typeof i.duration!="number"&&(i.duration in r.fx.speeds?i.duration=r.fx.speeds[i.duration]:i.duration=r.fx.speeds._default),(i.queue==null||i.queue===true)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){typeof i.old=="function"&&i.old.call(this),i.queue&&r.dequeue(this,i.queue);},i},r.fn.extend({fadeTo:function(e,t,n,i){return this.filter(Be).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=r.isEmptyObject(e),u=r.speed(t,n,i),f=function(){var s=$(this,r.extend({},e),u);(o||b.get(this,"finish"))&&s.stop(true);};return f.finish=f,o||u.queue===false?this.each(f):this.queue(u.queue,f)},stop:function(e,t,n){var i=function(o){var u=o.stop;delete o.stop,u(n);};return typeof e!="string"&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var o=true,u=e!=null&&e+"queueHooks",f=r.timers,s=b.get(this);if(u)s[u]&&s[u].stop&&i(s[u]);else for(u in s)s[u]&&s[u].stop&&Ai.test(u)&&i(s[u]);for(u=f.length;u--;)f[u].elem===this&&(e==null||f[u].queue===e)&&(f[u].anim.stop(n),o=false,f.splice(u,1));(o||!n)&&r.dequeue(this,e);})},finish:function(e){return e!==false&&(e=e||"fx"),this.each(function(){var t,n=b.get(this),i=n[e+"queue"],o=n[e+"queueHooks"],u=r.timers,f=i?i.length:0;for(n.finish=true,r.queue(this,e,[]),o&&o.stop&&o.stop.call(this,true),t=u.length;t--;)u[t].elem===this&&u[t].queue===e&&(u[t].anim.stop(true),u.splice(t,1));for(t=0;t<f;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish;})}}),r.each(["toggle","show","hide"],function(e,t){var n=r.fn[t];r.fn[t]=function(i,o,u){return i==null||typeof i=="boolean"?n.apply(this,arguments):this.animate(Ge(t,true),i,o,u)};}),r.each({slideDown:Ge("show"),slideUp:Ge("hide"),slideToggle:Ge("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){r.fn[e]=function(n,i,o){return this.animate(t,n,i,o)};}),r.timers=[],r.fx.tick=function(){var e,t=0,n=r.timers;for(de=Date.now();t<n.length;t++)e=n[t],!e()&&n[t]===e&&n.splice(t--,1);n.length||r.fx.stop(),de=void 0;},r.fx.timer=function(e){r.timers.push(e),r.fx.start();},r.fx.start=function(){Ve||(Ve=true,dt());},r.fx.stop=function(){Ve=null;},r.fx.speeds={slow:600,fast:200,_default:400},r.fn.delay=function(e,t){return e=r.fx&&r.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(n,i){var o=y.setTimeout(n,e);i.stop=function(){y.clearTimeout(o);};})};var Oi=/^(?:input|select|textarea|button)$/i,qi=/^(?:a|area)$/i;r.fn.extend({prop:function(e,t){return X(this,r.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[r.propFix[e]||e];})}}),r.extend({prop:function(e,t,n){var i,o,u=e.nodeType;if(!(u===3||u===8||u===2))return (u!==1||!r.isXMLDoc(e))&&(t=r.propFix[t]||t,o=r.propHooks[t]),n!==void 0?o&&"set"in o&&(i=o.set(e,n,t))!==void 0?i:e[t]=n:o&&"get"in o&&(i=o.get(e,t))!==null?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=e.getAttribute("tabindex");return t?parseInt(t,10):Oi.test(e.nodeName)||qi.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),q&&(r.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex);}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this;});function ie(e){var t=e.match(F)||[];return t.join(" ")}function he(e){return e.getAttribute&&e.getAttribute("class")||""}function ht(e){return Array.isArray(e)?e:typeof e=="string"?e.match(F)||[]:[]}r.fn.extend({addClass:function(e){var t,n,i,o,u,f;return typeof e=="function"?this.each(function(s){r(this).addClass(e.call(this,s,he(this)));}):(t=ht(e),t.length?this.each(function(){if(i=he(this),n=this.nodeType===1&&" "+ie(i)+" ",n){for(u=0;u<t.length;u++)o=t[u],n.indexOf(" "+o+" ")<0&&(n+=o+" ");f=ie(n),i!==f&&this.setAttribute("class",f);}}):this)},removeClass:function(e){var t,n,i,o,u,f;return typeof e=="function"?this.each(function(s){r(this).removeClass(e.call(this,s,he(this)));}):arguments.length?(t=ht(e),t.length?this.each(function(){if(i=he(this),n=this.nodeType===1&&" "+ie(i)+" ",n){for(u=0;u<t.length;u++)for(o=t[u];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");f=ie(n),i!==f&&this.setAttribute("class",f);}}):this):this.attr("class","")},toggleClass:function(e,t){var n,i,o,u;return typeof e=="function"?this.each(function(f){r(this).toggleClass(e.call(this,f,he(this),t),t);}):typeof t=="boolean"?t?this.addClass(e):this.removeClass(e):(n=ht(e),n.length?this.each(function(){for(u=r(this),o=0;o<n.length;o++)i=n[o],u.hasClass(i)?u.removeClass(i):u.addClass(i);}):this)},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(n.nodeType===1&&(" "+ie(he(n))+" ").indexOf(t)>-1)return true;return false}}),r.fn.extend({val:function(e){var t,n,i,o=this[0];return arguments.length?(i=typeof e=="function",this.each(function(u){var f;this.nodeType===1&&(i?f=e.call(this,u,r(this).val()):f=e,f==null?f="":typeof f=="number"?f+="":Array.isArray(f)&&(f=r.map(f,function(s){return s==null?"":s+""})),t=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],(!t||!("set"in t)||t.set(this,f,"value")===void 0)&&(this.value=f));})):o?(t=r.valHooks[o.type]||r.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(o,"value"))!==void 0?n:(n=o.value,n??"")):void 0}}),r.extend({valHooks:{select:{get:function(e){var t,n,i,o=e.options,u=e.selectedIndex,f=e.type==="select-one",s=f?null:[],a=f?u+1:o.length;for(u<0?i=a:i=f?u:0;i<a;i++)if(n=o[i],n.selected&&!n.disabled&&(!n.parentNode.disabled||!S(n.parentNode,"optgroup"))){if(t=r(n).val(),f)return t;s.push(t);}return s},set:function(e,t){for(var n,i,o=e.options,u=r.makeArray(t),f=o.length;f--;)i=o[f],(i.selected=r.inArray(r(i).val(),u)>-1)&&(n=true);return n||(e.selectedIndex=-1),u}}}}),q&&(r.valHooks.option={get:function(e){var t=e.getAttribute("value");return t??ie(r.text(e))}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=r.inArray(r(e).val(),t)>-1}};});var hn=/^(?:focusinfocus|focusoutblur)$/,gn=function(e){e.stopPropagation();};r.extend(r.event,{trigger:function(e,t,n,i){var o,u,f,s,a,c,p,h,l=[n||C],d=ke.call(e,"type")?e.type:e,g=ke.call(e,"namespace")?e.namespace.split("."):[];if(u=h=f=n=n||C,!(n.nodeType===3||n.nodeType===8)&&!hn.test(d+r.event.triggered)&&(d.indexOf(".")>-1&&(g=d.split("."),d=g.shift(),g.sort()),a=d.indexOf(":")<0&&"on"+d,e=e[r.expando]?e:new r.Event(d,typeof e=="object"&&e),e.isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=t==null?[e]:r.makeArray(t,[e]),p=r.event.special[d]||{},!(!i&&p.trigger&&p.trigger.apply(n,t)===false))){if(!i&&!p.noBubble&&!be(n)){for(s=p.delegateType||d,hn.test(s+d)||(u=u.parentNode);u;u=u.parentNode)l.push(u),f=u;f===(n.ownerDocument||C)&&l.push(f.defaultView||f.parentWindow||y);}for(o=0;(u=l[o++])&&!e.isPropagationStopped();)h=u,e.type=o>1?s:p.bindType||d,c=(b.get(u,"events")||Object.create(null))[e.type]&&b.get(u,"handle"),c&&c.apply(u,t),c=a&&u[a],c&&c.apply&&we(u)&&(e.result=c.apply(u,t),e.result===false&&e.preventDefault());return e.type=d,!i&&!e.isDefaultPrevented()&&(!p._default||p._default.apply(l.pop(),t)===false)&&we(n)&&a&&typeof n[d]=="function"&&!be(n)&&(f=n[a],f&&(n[a]=null),r.event.triggered=d,e.isPropagationStopped()&&h.addEventListener(d,gn),n[d](),e.isPropagationStopped()&&h.removeEventListener(d,gn),r.event.triggered=void 0,f&&(n[a]=f)),e.result}},simulate:function(e,t,n){var i=r.extend(new r.Event,n,{type:e,isSimulated:true});r.event.trigger(i,null,t);}}),r.fn.extend({trigger:function(e,t){return this.each(function(){r.event.trigger(e,t,this);})},triggerHandler:function(e,t){var n=this[0];if(n)return r.event.trigger(e,t,n,true)}});var Ee=y.location,yn={guid:Date.now()},gt=/\?/;r.parseXML=function(e){var t,n;if(!e||typeof e!="string")return null;try{t=new y.DOMParser().parseFromString(e,"text/xml");}catch{}return n=t&&t.getElementsByTagName("parsererror")[0],(!t||n)&&r.error("Invalid XML: "+(n?r.map(n.childNodes,function(i){return i.textContent}).join(`
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
`)}}).get()}});var Mi=/%20/g,Ri=/#.*$/,Ii=/([?&])_=[^&]*/,_i=/^(.*?):[ \t]*([^\r\n]*)$/mg,$i=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Wi=/^(?:GET|HEAD)$/,Fi=/^\/\//,xn={},vt={},bn="*/".concat("*"),xt=C.createElement("a");xt.href=Ee.href;function mn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var i,o=0,u=t.toLowerCase().match(F)||[];if(typeof n=="function")for(;i=u[o++];)i[0]==="+"?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n);}}function Tn(e,t,n,i){var o={},u=e===vt;function f(s){var a;return o[s]=true,r.each(e[s]||[],function(c,p){var h=p(t,n,i);if(typeof h=="string"&&!u&&!o[h])return t.dataTypes.unshift(h),f(h),false;if(u)return !(a=h)}),a}return f(t.dataTypes[0])||!o["*"]&&f("*")}function bt(e,t){var n,i,o=r.ajaxSettings.flatOptions||{};for(n in t)t[n]!==void 0&&((o[n]?e:i||(i={}))[n]=t[n]);return i&&r.extend(true,e,i),e}function Bi(e,t,n){for(var i,o,u,f,s=e.contents,a=e.dataTypes;a[0]==="*";)a.shift(),i===void 0&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i){for(o in s)if(s[o]&&s[o].test(i)){a.unshift(o);break}}if(a[0]in n)u=a[0];else {for(o in n){if(!a[0]||e.converters[o+" "+a[0]]){u=o;break}f||(f=o);}u=u||f;}if(u)return u!==a[0]&&a.unshift(u),n[u]}function Ui(e,t,n,i){var o,u,f,s,a,c={},p=e.dataTypes.slice();if(p[1])for(f in e.converters)c[f.toLowerCase()]=e.converters[f];for(u=p.shift();u;)if(e.responseFields[u]&&(n[e.responseFields[u]]=t),!a&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),a=u,u=p.shift(),u){if(u==="*")u=a;else if(a!=="*"&&a!==u){if(f=c[a+" "+u]||c["* "+u],!f){for(o in c)if(s=o.split(" "),s[1]===u&&(f=c[a+" "+s[0]]||c["* "+s[0]],f)){f===true?f=c[o]:c[o]!==true&&(u=s[0],p.unshift(s[1]));break}}if(f!==true)if(f&&e.throws)t=f(t);else try{t=f(t);}catch(h){return {state:"parsererror",error:f?h:"No conversion from "+a+" to "+u}}}}return {state:"success",data:t}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ee.href,type:"GET",isLocal:$i.test(Ee.protocol),global:true,processData:true,async:true,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":bn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":true,"text json":JSON.parse,"text xml":r.parseXML},flatOptions:{url:true,context:true}},ajaxSetup:function(e,t){return t?bt(bt(e,r.ajaxSettings),t):bt(r.ajaxSettings,e)},ajaxPrefilter:mn(xn),ajaxTransport:mn(vt),ajax:function(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};var n,i,o,u,f,s,a,c,p,h,l=r.ajaxSetup({},t),d=l.context||l,g=l.context&&(d.nodeType||d.jquery)?r(d):r.event,x=r.Deferred(),v=r.Callbacks("once memory"),D=l.statusCode||{},j={},H={},k="canceled",m={readyState:0,getResponseHeader:function(T){var N;if(a){if(!u)for(u={};N=_i.exec(o);)u[N[1].toLowerCase()+" "]=(u[N[1].toLowerCase()+" "]||[]).concat(N[2]);N=u[T.toLowerCase()+" "];}return N==null?null:N.join(", ")},getAllResponseHeaders:function(){return a?o:null},setRequestHeader:function(T,N){return a==null&&(T=H[T.toLowerCase()]=H[T.toLowerCase()]||T,j[T]=N),this},overrideMimeType:function(T){return a==null&&(l.mimeType=T),this},statusCode:function(T){var N;if(T)if(a)m.always(T[m.status]);else for(N in T)D[N]=[D[N],T[N]];return this},abort:function(T){var N=T||k;return n&&n.abort(N),Ye(0,N),this}};if(x.promise(m),l.url=((e||l.url||Ee.href)+"").replace(Fi,Ee.protocol+"//"),l.type=t.method||t.type||l.method||l.type,l.dataTypes=(l.dataType||"*").toLowerCase().match(F)||[""],l.crossDomain==null){s=C.createElement("a");try{s.href=l.url,s.href=s.href,l.crossDomain=xt.protocol+"//"+xt.host!=s.protocol+"//"+s.host;}catch{l.crossDomain=true;}}if(Tn(xn,l,t,m),l.data&&l.processData&&typeof l.data!="string"&&(l.data=r.param(l.data,l.traditional)),a)return m;c=r.event&&l.global,c&&r.active++===0&&r.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!Wi.test(l.type),i=l.url.replace(Ri,""),l.hasContent?l.data&&l.processData&&(l.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(l.data=l.data.replace(Mi,"+")):(h=l.url.slice(i.length),l.data&&(l.processData||typeof l.data=="string")&&(i+=(gt.test(i)?"&":"?")+l.data,delete l.data),l.cache===false&&(i=i.replace(Ii,"$1"),h=(gt.test(i)?"&":"?")+"_="+yn.guid+++h),l.url=i+h),l.ifModified&&(r.lastModified[i]&&m.setRequestHeader("If-Modified-Since",r.lastModified[i]),r.etag[i]&&m.setRequestHeader("If-None-Match",r.etag[i])),(l.data&&l.hasContent&&l.contentType!==false||t.contentType)&&m.setRequestHeader("Content-Type",l.contentType),m.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+bn+"; q=0.01":""):l.accepts["*"]);for(p in l.headers)m.setRequestHeader(p,l.headers[p]);if(l.beforeSend&&(l.beforeSend.call(d,m,l)===false||a))return m.abort();if(k="abort",v.add(l.complete),m.done(l.success),m.fail(l.error),n=Tn(vt,l,t,m),!n)Ye(-1,"No Transport");else {if(m.readyState=1,c&&g.trigger("ajaxSend",[m,l]),a)return m;l.async&&l.timeout>0&&(f=y.setTimeout(function(){m.abort("timeout");},l.timeout));try{a=!1,n.send(j,Ye);}catch(T){if(a)throw T;Ye(-1,T);}}function Ye(T,N,Sn,Vi){var Z,Tt,Ae,ge,ye,U=N;a||(a=true,f&&y.clearTimeout(f),n=void 0,o=Vi||"",m.readyState=T>0?4:0,Z=T>=200&&T<300||T===304,Sn&&(ge=Bi(l,m,Sn)),!Z&&r.inArray("script",l.dataTypes)>-1&&r.inArray("json",l.dataTypes)<0&&(l.converters["text script"]=function(){}),ge=Ui(l,ge,m,Z),Z?(l.ifModified&&(ye=m.getResponseHeader("Last-Modified"),ye&&(r.lastModified[i]=ye),ye=m.getResponseHeader("etag"),ye&&(r.etag[i]=ye)),T===204||l.type==="HEAD"?U="nocontent":T===304?U="notmodified":(U=ge.state,Tt=ge.data,Ae=ge.error,Z=!Ae)):(Ae=U,(T||!U)&&(U="error",T<0&&(T=0))),m.status=T,m.statusText=(N||U)+"",Z?x.resolveWith(d,[Tt,U,m]):x.rejectWith(d,[m,U,Ae]),m.statusCode(D),D=void 0,c&&g.trigger(Z?"ajaxSuccess":"ajaxError",[m,l,Z?Tt:Ae]),v.fireWith(d,[m,U]),c&&(g.trigger("ajaxComplete",[m,l]),--r.active||r.event.trigger("ajaxStop")));}return m},getJSON:function(e,t,n){return r.get(e,t,n,"json")},getScript:function(e,t){return r.get(e,void 0,t,"script")}}),r.each(["get","post"],function(e,t){r[t]=function(n,i,o,u){return (typeof i=="function"||i===null)&&(u=u||o,o=i,i=void 0),r.ajax(r.extend({url:n,type:t,dataType:u,data:i,success:o},r.isPlainObject(n)&&n))};}),r.ajaxPrefilter(function(e){var t;for(t in e.headers)t.toLowerCase()==="content-type"&&(e.contentType=e.headers[t]||"");}),r._evalUrl=function(e,t,n){return r.ajax({url:e,type:"GET",dataType:"script",cache:true,async:false,global:false,scriptAttrs:t.crossOrigin?{crossOrigin:t.crossOrigin}:void 0,converters:{"text script":function(){}},dataFilter:function(i){r.globalEval(i,t,n);}})},r.fn.extend({wrapAll:function(e){var t;return this[0]&&(typeof e=="function"&&(e=e.call(this[0])),t=r(e,this[0].ownerDocument).eq(0).clone(true),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(e){return typeof e=="function"?this.each(function(t){r(this).wrapInner(e.call(this,t));}):this.each(function(){var t=r(this),n=t.contents();n.length?n.wrapAll(e):t.append(e);})},wrap:function(e){var t=typeof e=="function";return this.each(function(n){r(this).wrapAll(t?e.call(this,n):e);})},unwrap:function(e){return this.parent(e).not("body").each(function(){r(this).replaceWith(this.childNodes);}),this}}),r.expr.pseudos.hidden=function(e){return !r.expr.pseudos.visible(e)},r.expr.pseudos.visible=function(e){return !!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},r.ajaxSettings.xhr=function(){return new y.XMLHttpRequest};var Xi={0:200};r.ajaxTransport(function(e){var t;return {send:function(n,i){var o,u=e.xhr();if(u.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)u[o]=e.xhrFields[o];e.mimeType&&u.overrideMimeType&&u.overrideMimeType(e.mimeType),!e.crossDomain&&!n["X-Requested-With"]&&(n["X-Requested-With"]="XMLHttpRequest");for(o in n)u.setRequestHeader(o,n[o]);t=function(f){return function(){t&&(t=u.onload=u.onerror=u.onabort=u.ontimeout=null,f==="abort"?u.abort():f==="error"?i(u.status,u.statusText):i(Xi[u.status]||u.status,u.statusText,(u.responseType||"text")==="text"?{text:u.responseText}:{binary:u.response},u.getAllResponseHeaders()));}},u.onload=t(),u.onabort=u.onerror=u.ontimeout=t("error"),t=t("abort");try{u.send(e.hasContent&&e.data||null);}catch(f){if(t)throw f}},abort:function(){t&&t();}}});function Cn(e){return e.scriptAttrs||!e.headers&&(e.crossDomain||e.async&&r.inArray("json",e.dataTypes)<0)}r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},converters:{"text script":function(e){return r.globalEval(e),e}}}),r.ajaxPrefilter("script",function(e){e.cache===void 0&&(e.cache=false),Cn(e)&&(e.type="GET");}),r.ajaxTransport("script",function(e){if(Cn(e)){var t,n;return {send:function(i,o){t=r("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(u){t.remove(),n=null,u&&o(u.type==="error"?404:200,u.type);}),C.head.appendChild(t[0]);},abort:function(){n&&n();}}}});var wn=[],mt=/(=)\?(?=&|$)|\?\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=wn.pop()||r.expando+"_"+yn.guid++;return this[e]=true,e}}),r.ajaxPrefilter("jsonp",function(e,t,n){var i,o,u,f=e.jsonp!==false&&(mt.test(e.url)?"url":typeof e.data=="string"&&(e.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&mt.test(e.data)&&"data");return i=e.jsonpCallback=typeof e.jsonpCallback=="function"?e.jsonpCallback():e.jsonpCallback,f?e[f]=e[f].replace(mt,"$1"+i):e.jsonp!==false&&(e.url+=(gt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return u||r.error(i+" was not called"),u[0]},e.dataTypes[0]="json",o=y[i],y[i]=function(){u=arguments;},n.always(function(){o===void 0?r(y).removeProp(i):y[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,wn.push(i)),u&&typeof o=="function"&&o(u[0]),u=o=void 0;}),"script"}),r.ajaxPrefilter(function(e,t){typeof e.data!="string"&&!r.isPlainObject(e.data)&&!Array.isArray(e.data)&&!("processData"in t)&&(e.processData=false),e.data instanceof y.FormData&&(e.contentType=false);}),r.parseHTML=function(e,t,n){if(typeof e!="string"&&!Wt(e+""))return [];typeof t=="boolean"&&(n=t,t=false);var i,o;return t||(t=new y.DOMParser().parseFromString("","text/html")),i=$t.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=Yt([e],t,o),o&&o.length&&r(o).remove(),r.merge([],i.childNodes))},r.fn.load=function(e,t,n){var i,o,u,f=this,s=e.indexOf(" ");return s>-1&&(i=ie(e.slice(s)),e=e.slice(0,s)),typeof t=="function"?(n=t,t=void 0):t&&typeof t=="object"&&(o="POST"),f.length>0&&r.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(a){u=arguments,f.html(i?r("<div>").append(r.parseHTML(a)).find(i):a);}).always(n&&function(a,c){f.each(function(){n.apply(this,u||[a.responseText,c,a]);});}),this},r.expr.pseudos.animated=function(e){return r.grep(r.timers,function(t){return e===t.elem}).length},r.offset={setOffset:function(e,t,n){var i,o,u,f,s,a,c,p=r.css(e,"position"),h=r(e),l={};p==="static"&&(e.style.position="relative"),s=h.offset(),u=r.css(e,"top"),a=r.css(e,"left"),c=(p==="absolute"||p==="fixed")&&(u+a).indexOf("auto")>-1,c?(i=h.position(),f=i.top,o=i.left):(f=parseFloat(u)||0,o=parseFloat(a)||0),typeof t=="function"&&(t=t.call(e,n,r.extend({},s))),t.top!=null&&(l.top=t.top-s.top+f),t.left!=null&&(l.left=t.left-s.left+o),"using"in t?t.using.call(e,l):h.css(l);}},r.fn.extend({offset:function(e){if(arguments.length)return e===void 0?this:this.each(function(o){r.offset.setOffset(this,e,o);});var t,n,i=this[0];if(i)return i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,i=this[0],o={top:0,left:0};if(r.css(i,"position")==="fixed")t=i.getBoundingClientRect();else {for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&e!==n.documentElement&&r.css(e,"position")==="static";)e=e.offsetParent||n.documentElement;e&&e!==i&&e.nodeType===1&&r.css(e,"position")!=="static"&&(o=r(e).offset(),o.top+=r.css(e,"borderTopWidth",true),o.left+=r.css(e,"borderLeftWidth",true));}return {top:t.top-o.top-r.css(i,"marginTop",true),left:t.left-o.left-r.css(i,"marginLeft",true)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&r.css(e,"position")==="static";)e=e.offsetParent;return e||G})}}),r.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=t==="pageYOffset";r.fn[e]=function(i){return X(this,function(o,u,f){var s;if(be(o)?s=o:o.nodeType===9&&(s=o.defaultView),f===void 0)return s?s[t]:o[u];s?s.scrollTo(n?s.pageXOffset:f,n?f:s.pageYOffset):o[u]=f;},e,i,arguments.length)};}),r.each({Height:"height",Width:"width"},function(e,t){r.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){r.fn[i]=function(o,u){var f=arguments.length&&(n||typeof o!="boolean"),s=n||(o===true||u===true?"margin":"border");return X(this,function(a,c,p){var h;return be(a)?i.indexOf("outer")===0?a["inner"+e]:a.document.documentElement["client"+e]:a.nodeType===9?(h=a.documentElement,Math.max(a.body["scroll"+e],h["scroll"+e],a.body["offset"+e],h["offset"+e],h["client"+e])):p===void 0?r.css(a,c,s):r.style(a,c,p,s)},t,f?o:void 0,f)};});}),r.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){r.fn[t]=function(n){return this.on(t,n)};}),r.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){r.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)};}),r.proxy=function(e,t){var n,i,o;if(typeof t=="string"&&(n=e[t],t=e,e=n),typeof e=="function")return i=O.call(arguments,2),o=function(){return e.apply(t||this,i.concat(O.call(arguments)))},o.guid=e.guid=e.guid||r.guid++,o},r.holdReady=function(e){e?r.readyWait++:r.ready(true);},r.expr[":"]=r.expr.filters=r.expr.pseudos,typeof define=="function"&&define.amd&&define("jquery",[],function(){return r});var zi=y.jQuery,Qi=y.$;return r.noConflict=function(e){return y.$===r&&(y.$=Qi),e&&y.jQuery===r&&(y.jQuery=zi),r},typeof A>"u"&&(y.jQuery=y.$=r),r});});var An=nr(En());var ve=An.default;globalThis.$=ve;globalThis.jQuery=ve;ve.fn.react=function(y,A){let E=ve(y);E.length>0&&E.remove();let W=document.createElement("div");return y.startsWith("#")?W.id=y.slice(1):y.startsWith(".")&&(W.className=y.slice(1)),this.append(W),createRoot(W).render(A),this};var ar=ve.fn.react;
|
|
5
|
-
|
|
1
|
+
import { createRoot as t } from "react-dom/client";
|
|
2
|
+
|
|
3
|
+
import e from "jquery";
|
|
4
|
+
|
|
5
|
+
globalThis.$ = e, globalThis.jQuery = e, e.fn.react = function(r, s) {
|
|
6
|
+
const a = e(r);
|
|
7
|
+
a.length > 0 && a.remove();
|
|
8
|
+
const i = document.createElement("div");
|
|
9
|
+
return r.startsWith("#") ? i.id = r.slice(1) : r.startsWith(".") && (i.className = r.slice(1)),
|
|
10
|
+
this.append(i), t(i).render(s), this;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
var r = e.fn.react;
|
|
14
|
+
|
|
15
|
+
export { r as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jquery-react-render",
|
|
3
|
-
"
|
|
3
|
+
"code": "jqueryReactRender",
|
|
4
|
+
"version": "1.5.0",
|
|
4
5
|
"description": "Render React Component Using Jquery",
|
|
5
6
|
"keywords": [
|
|
6
7
|
"jquery-react-render",
|
|
@@ -13,25 +14,16 @@
|
|
|
13
14
|
],
|
|
14
15
|
"license": "MIT",
|
|
15
16
|
"author": "Dario Passariello",
|
|
16
|
-
"
|
|
17
|
-
"main": "./index.js",
|
|
17
|
+
"main": "./index.cjs",
|
|
18
18
|
"types": "./index.d.ts",
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
"
|
|
19
|
+
"module": "./index.js",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"import": "./index.js",
|
|
23
|
+
"require": "./index.cjs",
|
|
24
|
+
"types": "./index.d.ts"
|
|
25
|
+
},
|
|
26
|
+
"./types/*": "./types/*"
|
|
22
27
|
},
|
|
23
|
-
"
|
|
24
|
-
"react": "^19.2.4",
|
|
25
|
-
"react-dom": "^19.2.4"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"rimraf": "6.1.3",
|
|
29
|
-
"ts-node": "^10.9.2",
|
|
30
|
-
"tslib": "^2.8.1",
|
|
31
|
-
"tsup": "8.5.1",
|
|
32
|
-
"typescript": "^5.9.3"
|
|
33
|
-
},
|
|
34
|
-
"optionalDependencies": {
|
|
35
|
-
"jquery": "4.0.0"
|
|
36
|
-
}
|
|
28
|
+
"typings": "./index.d.ts"
|
|
37
29
|
}
|
package/CODEOWNERS
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
* @passariello
|
package/LICENSE
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# Copyright 2025 Dario Passariello
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
-
|
|
5
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
# [jquery react render](https://npmjs.com/package/jquery-react-render)
|
|
2
|
-
|
|
3
|
-
If you love to use Jquery and react... this is for you!
|
|
4
|
-
You can pass a react component or html element and append it where you want... in react style
|
|
5
|
-
|
|
6
|
-
**jquery-react-render** by [Dario Passariello](https://dario.passariello.ca) (c)
|
|
7
|
-
|
|
8
|
-
[](https://npmjs.org/package/jquery-react-render)
|
|
9
|
-
[](https://npmjs.org/package/jquery-react-render)
|
|
10
|
-
|
|
11
|
-

|
|
12
|
-

|
|
13
|
-

|
|
14
|
-

|
|
15
|
-
|
|
16
|
-

|
|
17
|
-
|
|
18
|
-
> [!NOTE]
|
|
19
|
-
> If you have intention to use exclusively in react please, use ["REACT-ATTACK"](https://www.npmjs.com/package/react-attack) instead.
|
|
20
|
-
|
|
21
|
-
## install
|
|
22
|
-
|
|
23
|
-
```sh
|
|
24
|
-
npm i -D jquery-react-render
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
You use:
|
|
28
|
-
If your app is an SPA you need to import only one time at first script
|
|
29
|
-
|
|
30
|
-
```js
|
|
31
|
-
import "jquery-react-render"
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Example in vanilla js
|
|
35
|
-
|
|
36
|
-
```js
|
|
37
|
-
|
|
38
|
-
$("body").react( // The main element where you want you component
|
|
39
|
-
"#jrr", // example: the name of container
|
|
40
|
-
<div>
|
|
41
|
-
This is just a test
|
|
42
|
-
</div>
|
|
43
|
-
)
|
|
44
|
-
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
## Example in React
|
|
48
|
-
|
|
49
|
-
```js
|
|
50
|
-
|
|
51
|
-
import react from "React"
|
|
52
|
-
import "jquery-react-render"
|
|
53
|
-
|
|
54
|
-
export const Test = () => {
|
|
55
|
-
|
|
56
|
-
useEffect(
|
|
57
|
-
()=>{
|
|
58
|
-
$("body").react( // The main element where you want you component
|
|
59
|
-
"#jrr", // example: the name of container
|
|
60
|
-
<div>
|
|
61
|
-
This is just a test
|
|
62
|
-
</div>
|
|
63
|
-
)
|
|
64
|
-
},[]
|
|
65
|
-
)
|
|
66
|
-
|
|
67
|
-
return <div>TEST</div>
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
Copyright by Dario Passariello (c) 2025
|
|
74
|
-
all rights reserved - <dariopassariello@gmail.com>
|
|
File without changes
|