From c7c583732f6080d1931d359564b02256db4f49e0 Mon Sep 17 00:00:00 2001 From: Byran Date: Fri, 19 Jul 2024 09:36:27 +0000 Subject: [PATCH] =?UTF-8?q?[Bug]:=20=E6=96=87=E4=BB=B6=E6=8B=9F=E5=86=99?= =?UTF-8?q?=EF=BC=8C=E6=A0=87=E9=A2=98=E7=AD=89=E5=AD=97=E6=AE=B5=E7=9A=84?= =?UTF-8?q?=E5=80=BC=E6=9C=89=E6=97=B6=E4=BC=9A=E4=B8=A2=E5=A4=B1=20#6965?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../steedos-creator/client/router.coffee | 5 +++- .../server/packages/aldeed_autoform.js | 17 +++++++----- .../programs/server/packages/modules.js | 26 +++++++++---------- ...300208b0127664c9de2d1db122fd5837d4470d.js} | 10 +++---- ...127664c9de2d1db122fd5837d4470d.stats.json} | 12 ++++----- .../programs/web.browser.legacy/program.json | 22 ++++++++-------- ...300208b0127664c9de2d1db122fd5837d4470d.js} | 10 +++---- ...127664c9de2d1db122fd5837d4470d.stats.json} | 12 ++++----- .../bundle/programs/web.browser/program.json | 22 ++++++++-------- ...7d1027319a2407868eca068b6919418c808ebc.js} | 4 +-- ...9a2407868eca068b6919418c808ebc.stats.json} | 12 ++++----- .../bundle/programs/web.cordova/program.json | 26 +++++++++---------- server/bundle/star.json | 2 +- 13 files changed, 93 insertions(+), 87 deletions(-) rename server/bundle/programs/web.browser.legacy/{11cfa335b2c8af9c6d7ccb91c6d2920dfa21eaed.js => e2300208b0127664c9de2d1db122fd5837d4470d.js} (96%) rename server/bundle/programs/web.browser.legacy/{11cfa335b2c8af9c6d7ccb91c6d2920dfa21eaed.stats.json => e2300208b0127664c9de2d1db122fd5837d4470d.stats.json} (99%) rename server/bundle/programs/web.browser/{11cfa335b2c8af9c6d7ccb91c6d2920dfa21eaed.js => e2300208b0127664c9de2d1db122fd5837d4470d.js} (96%) rename server/bundle/programs/web.browser/{11cfa335b2c8af9c6d7ccb91c6d2920dfa21eaed.stats.json => e2300208b0127664c9de2d1db122fd5837d4470d.stats.json} (99%) rename server/bundle/programs/web.cordova/{0399b0a9782de5cf380ef92c788afb2cf950ff31.js => b77d1027319a2407868eca068b6919418c808ebc.js} (97%) rename server/bundle/programs/web.cordova/{0399b0a9782de5cf380ef92c788afb2cf950ff31.stats.json => b77d1027319a2407868eca068b6919418c808ebc.stats.json} (99%) diff --git a/creator/packages/steedos-creator/client/router.coffee b/creator/packages/steedos-creator/client/router.coffee index 9467f19686..ed16d51bce 100644 --- a/creator/packages/steedos-creator/client/router.coffee +++ b/creator/packages/steedos-creator/client/router.coffee @@ -280,7 +280,10 @@ objectRoutes.route '/view/:record_id', , 10 triggersExit: [ (context, redirect) -> - if Session.get("instance_change") && ((context.params?.object_name == 'instances' && context.queryParams?.side_listview_id == 'draft') || (context.params?.object_name == 'instance_tasks' && context.queryParams?.side_listview_id == 'inbox')) + side_listview_id = context.queryParams?.side_listview_id + if window._.isArray(side_listview_id) + side_listview_id = side_listview_id[0] + if Session.get("instance_change") && ((context.params?.object_name == 'instances' && side_listview_id == 'draft') || (context.params?.object_name == 'instance_tasks' && side_listview_id == 'inbox')) ins = WorkflowManager.getInstance() if !("draft" != ins.state && "draft" == Session.get("box")) InstanceManager.saveIns(false); diff --git a/server/bundle/programs/server/packages/aldeed_autoform.js b/server/bundle/programs/server/packages/aldeed_autoform.js index 8f60ab7750..439ea5b91e 100644 --- a/server/bundle/programs/server/packages/aldeed_autoform.js +++ b/server/bundle/programs/server/packages/aldeed_autoform.js @@ -9,21 +9,24 @@ var MongoObject = Package['aldeed:simple-schema'].MongoObject; var check = Package.check.check; var Match = Package.check.Match; +/* Package-scope variables */ +var AutoForm, globalDefaultTemplate, setDefaults, ArrayTracker, FormData, form_version, Hooks, getFlatDocOfFieldValues, getInputValue, getInputData, updateTrackedFieldValue, updateAllTrackedFieldValues, getAllFieldsInForm, validateField, arrayTracker, defaultTypeTemplates, deps, FormPreserve, res, Utility, year, month, date; + (function(){ -/////////////////////////////////////////////////////////////////////// -// // -// packages/aldeed_autoform/autoform-common.js // -// // -/////////////////////////////////////////////////////////////////////// - // +///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// // +// packages/aldeed_autoform/autoform-common.js // +// // +///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + // // This is the only file that is run on the server, too // Extend the schema options allowed by SimpleSchema SimpleSchema.extendOptions({ autoform: Match.Optional(Object) }); -/////////////////////////////////////////////////////////////////////// +///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// }).call(this); diff --git a/server/bundle/programs/server/packages/modules.js b/server/bundle/programs/server/packages/modules.js index ff7f9d53a7..6d0767d612 100644 --- a/server/bundle/programs/server/packages/modules.js +++ b/server/bundle/programs/server/packages/modules.js @@ -463,7 +463,7 @@ module.useNode(); // module.exports = { "name": "@steedos/objectql", - "version": "2.6.18", + "version": "2.6.19", "main": "lib/index.js" }; @@ -490,7 +490,7 @@ module.useNode(); // module.exports = { "name": "@steedos/i18n", - "version": "2.6.18", + "version": "2.6.19", "main": "lib/index.js" }; @@ -517,7 +517,7 @@ module.useNode(); // module.exports = { "name": "@steedos/core", - "version": "2.6.18", + "version": "2.6.19", "main": "lib/index.js" }; @@ -544,7 +544,7 @@ module.useNode(); // module.exports = { "name": "@steedos/service-meteor-package-loader", - "version": "2.6.18", + "version": "2.6.19", "main": "index.js" }; @@ -571,7 +571,7 @@ module.useNode(); // module.exports = { "name": "@steedos/service-api", - "version": "2.6.18", + "version": "2.6.19", "main": "index.js" }; @@ -598,7 +598,7 @@ module.useNode(); // module.exports = { "name": "@steedos/service-metadata-server", - "version": "2.6.18", + "version": "2.6.19", "main": "index.js" }; @@ -625,7 +625,7 @@ module.useNode(); // module.exports = { "name": "@steedos/service-package-registry", - "version": "2.6.18", + "version": "2.6.19", "main": "package.service.js" }; @@ -652,7 +652,7 @@ module.useNode(); // module.exports = { "name": "@steedos/service-objectql", - "version": "2.6.18", + "version": "2.6.19", "main": "package.service.js" }; @@ -679,7 +679,7 @@ module.useNode(); // module.exports = { "name": "@steedos/service-ui", - "version": "2.6.18", + "version": "2.6.19", "main": "package.service.js" }; @@ -706,7 +706,7 @@ module.useNode(); // module.exports = { "name": "@steedos/service-pages", - "version": "2.6.18", + "version": "2.6.19", "main": "package.service.js" }; @@ -733,7 +733,7 @@ module.useNode(); // module.exports = { "name": "@steedos/router", - "version": "2.6.18", + "version": "2.6.19", "main": "lib/index.js" }; @@ -760,7 +760,7 @@ module.useNode(); // module.exports = { "name": "@steedos/auth", - "version": "2.6.18", + "version": "2.6.19", "main": "lib/index.js" }; @@ -787,7 +787,7 @@ module.useNode(); // module.exports = { "name": "@steedos/workflow", - "version": "2.6.18", + "version": "2.6.19", "main": "index.js" }; diff --git a/server/bundle/programs/web.browser.legacy/11cfa335b2c8af9c6d7ccb91c6d2920dfa21eaed.js b/server/bundle/programs/web.browser.legacy/e2300208b0127664c9de2d1db122fd5837d4470d.js similarity index 96% rename from server/bundle/programs/web.browser.legacy/11cfa335b2c8af9c6d7ccb91c6d2920dfa21eaed.js rename to server/bundle/programs/web.browser.legacy/e2300208b0127664c9de2d1db122fd5837d4470d.js index 28676d3096..10fac33fc1 100644 --- a/server/bundle/programs/web.browser.legacy/11cfa335b2c8af9c6d7ccb91c6d2920dfa21eaed.js +++ b/server/bundle/programs/web.browser.legacy/e2300208b0127664c9de2d1db122fd5837d4470d.js @@ -31,14 +31,14 @@ Package._define("blaze-html-templates"); * * Date: 2015-10-17 */ -function(e){var t,n,r,i,o,s,a,u,f,c,l,h,d,p,g,b,m,v,y,_="sizzle"+1*new Date,w=e.document,k=0,j=0,x=oe(),S=oe(),D=oe(),E=function(e,t){return e===t&&(l=!0),0},A=1<<31,C={}.hasOwnProperty,M=[],O=M.pop,T=M.push,B=M.push,I=M.slice,R=function(e,t){for(var n=0,r=e.length;n+~]|"+P+")"+P+"*"),H=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),Y=new RegExp(z),V=new RegExp("^"+N+"$"),K={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+L),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,ee=/'|\\/g,te=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=function(){h()};try{B.apply(M=I.call(w.childNodes),w.childNodes),M[w.childNodes.length].nodeType}catch(je){B={apply:M.length?function(e,t){T.apply(e,I.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ie(e,t,r,i){var o,a,f,c,l,p,m,v,k=t&&t.ownerDocument,j=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==j&&9!==j&&11!==j)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&h(t),t=t||d,g)){if(11!==j&&(p=J.exec(e)))if(o=p[1]){if(9===j){if(!(f=t.getElementById(o)))return r;if(f.id===o)return r.push(f),r}else if(k&&(f=k.getElementById(o))&&y(t,f)&&f.id===o)return r.push(f),r}else{if(p[2])return B.apply(r,t.getElementsByTagName(e)),r;if((o=p[3])&&n.getElementsByClassName&&t.getElementsByClassName)return B.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!D[e+" "]&&(!b||!b.test(e))){if(1!==j)k=t,v=e;else if("object"!==t.nodeName.toLowerCase()){for((c=t.getAttribute("id"))?c=c.replace(ee,"\\$&"):t.setAttribute("id",c=_),a=(m=s(e)).length,l=V.test(c)?"#"+c:"[id='"+c+"']";a--;)m[a]=l+" "+ge(m[a]);v=m.join(","),k=Q.test(e)&&de(t.parentNode)||t}if(v)try{return B.apply(r,k.querySelectorAll(v)),r}catch(x){}finally{c===_&&t.removeAttribute("id")}}}return u(e.replace(q,"$1"),t,r,i)}function oe(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function se(e){return e[_]=!0,e}function ae(e){var t=d.createElement("div");try{return!!e(t)}catch(je){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||A)-(~e.sourceIndex||A);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ce(e){return function(t){var n;return"input"===t.nodeName.toLowerCase()&&t.type===e}}function le(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function he(e){return se((function(t){return t=+t,se((function(n,r){for(var i,o=e([],n.length,t),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))}))}))}function de(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ie.support={},o=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},h=ie.setDocument=function(e){var t,i,s=e?e.ownerDocument||e:w;return s!==d&&9===s.nodeType&&s.documentElement?(p=(d=s).documentElement,g=!o(d),(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ae((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ae((function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Z.test(d.getElementsByClassName),n.getById=ae((function(e){return p.appendChild(e).id=_,!d.getElementsByName||!d.getElementsByName(_).length})),n.getById?(r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}},r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},m=[],b=[],(n.qsa=Z.test(d.querySelectorAll))&&(ae((function(e){p.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&b.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||b.push("\\["+P+"*(?:value|"+F+")"),e.querySelectorAll("[id~="+_+"-]").length||b.push("~="),e.querySelectorAll(":checked").length||b.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||b.push(".#.+[+~]")})),ae((function(e){var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&b.push("name"+P+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||b.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),b.push(",.*:")}))),(n.matchesSelector=Z.test(v=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ae((function(e){n.disconnectedMatch=v.call(e,"div"),v.call(e,"[s!='']:x"),m.push("!=",z)})),b=b.length&&new RegExp(b.join("|")),m=m.length&&new RegExp(m.join("|")),t=Z.test(p.compareDocumentPosition),y=t||Z.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},E=t?function(e,t){if(e===t)return l=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===w&&y(w,e)?-1:t===d||t.ownerDocument===w&&y(w,t)?1:c?R(c,e)-R(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:c?R(c,e)-R(c,t):0;if(i===o)return fe(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?fe(s[r],a[r]):s[r]===w?-1:a[r]===w?1:0},d):d},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&h(e),t=t.replace(H,"='$1']"),n.matchesSelector&&g&&!D[t+" "]&&(!m||!m.test(t))&&(!b||!b.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(je){}return ie(t,d,null,[e]).length>0},ie.contains=function(e,t){return(e.ownerDocument||e)!==d&&h(e),y(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==d&&h(e);var i=r.attrHandle[t.toLowerCase()],o=i&&C.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,r=[],i=0,o=0;if(l=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(E),l){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return c=null,e},i=ie.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=ie.selectors={cacheLength:50,createPseudo:se,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=s(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&x(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=ie.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(U," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var f,c,l,h,d,p,g=o!==s?"nextSibling":"previousSibling",b=t.parentNode,m=a&&t.nodeName.toLowerCase(),v=!u&&!a,y=!1;if(b){if(o){for(;g;){for(h=t;h=h[g];)if(a?h.nodeName.toLowerCase()===m:1===h.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[s?b.firstChild:b.lastChild],s&&v){for(y=(d=(f=(c=(l=(h=b)[_]||(h[_]={}))[h.uniqueID]||(l[h.uniqueID]={}))[e]||[])[0]===k&&f[1])&&f[2],h=d&&b.childNodes[d];h=++d&&h&&h[g]||(y=d=0)||p.pop();)if(1===h.nodeType&&++y&&h===t){c[e]=[k,d,y];break}}else if(v&&(y=d=(f=(c=(l=(h=t)[_]||(h[_]={}))[h.uniqueID]||(l[h.uniqueID]={}))[e]||[])[0]===k&&f[1]),!1===y)for(;(h=++d&&h&&h[g]||(y=d=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==m:1!==h.nodeType)||!++y||(v&&((c=(l=h[_]||(h[_]={}))[h.uniqueID]||(l[h.uniqueID]={}))[e]=[k,y]),h!==t)););return(y-=i)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return i[_]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se((function(e,n){for(var r,o=i(e,t),s=o.length;s--;)e[r=R(e,o[s])]=!(n[r]=o[s])})):function(e){return i(e,0,n)}):i}},pseudos:{not:se((function(e){var t=[],n=[],r=a(e.replace(q,"$1"));return r[_]?se((function(e,t,n,i){for(var o,s=r(e,null,i,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:se((function(e){return function(t){return ie(e,t).length>0}})),contains:se((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}})),lang:se((function(e){return V.test(e||"")||ie.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he((function(){return[0]})),last:he((function(e,t){return[t-1]})),eq:he((function(e,t,n){return[n<0?n+t:n]})),even:he((function(e,t){for(var n=0;n=0;)e.push(r);return e})),gt:he((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function ve(e,t,n){for(var r=0,i=t.length;r-1&&(o[f]=!(s[f]=l))}}else m=ye(m===s?m.splice(p,m.length):m),i?i(null,s,m,u):B.apply(s,m)}))}function we(e){for(var t,n,i,o=e.length,s=r.relative[e[0].type],a=s||r.relative[" "],u=s?1:0,c=be((function(e){return e===t}),a,!0),l=be((function(e){return R(t,e)>-1}),a,!0),h=[function(e,n,r){var i=!s&&(r||n!==f)||((t=n).nodeType?c(e,n,r):l(e,n,r));return t=null,i}];u1&&me(h),u>1&&ge(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(q,"$1"),n,u0,i=e.length>0,o=function(o,s,a,u,c){var l,p,b,m=0,v="0",y=o&&[],_=[],w=f,j=o||i&&r.find.TAG("*",c),x=k+=null==w?1:Math.random()||.1,S=j.length;for(c&&(f=s===d||s||c);v!==S&&null!=(l=j[v]);v++){if(i&&l){for(p=0,s||l.ownerDocument===d||(h(l),a=!g);b=e[p++];)if(b(l,s||d,a)){u.push(l);break}c&&(k=x)}n&&((l=!b&&l)&&m--,o&&y.push(l))}if(m+=v,n&&v!==m){for(p=0;b=t[p++];)b(y,_,s,a);if(o){if(m>0)for(;v--;)y[v]||_[v]||(_[v]=O.call(u));_=ye(_)}B.apply(u,_),c&&!o&&_.length>0&&m+t.length>1&&ie.uniqueSort(u)}return c&&(k=x,f=w),y};return n?se(o):o}return pe.prototype=r.filters=r.pseudos,r.setFilters=new pe,s=ie.tokenize=function(e,t){var n,i,o,s,a,u,f,c=S[e+" "];if(c)return t?0:c.slice(0);for(a=e,u=[],f=r.preFilter;a;){for(s in n&&!(i=$.exec(a))||(i&&(a=a.slice(i[0].length)||a),u.push(o=[])),n=!1,(i=W.exec(a))&&(n=i.shift(),o.push({value:n,type:i[0].replace(q," ")}),a=a.slice(n.length)),r.filter)!(i=K[s].exec(a))||f[s]&&!(i=f[s](i))||(n=i.shift(),o.push({value:n,type:s,matches:i}),a=a.slice(n.length));if(!n)break}return t?a.length:a?ie.error(e):S(e,u).slice(0)},a=ie.compile=function(e,t){var n,r=[],i=[],o=D[e+" "];if(!o){for(t||(t=s(e)),n=t.length;n--;)(o=we(t[n]))[_]?r.push(o):i.push(o);(o=D(e,ke(i,r))).selector=e}return o},u=ie.select=function(e,t,i,o){var u,f,c,l,h,d="function"==typeof e&&e,p=!o&&s(e=d.selector||e);if(i=i||[],1===p.length){if((f=p[0]=p[0].slice(0)).length>2&&"ID"===(c=f[0]).type&&n.getById&&9===t.nodeType&&g&&r.relative[f[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return i;d&&(t=t.parentNode),e=e.slice(f.shift().value.length)}for(u=K.needsContext.test(e)?0:f.length;u--&&(c=f[u],!r.relative[l=c.type]);)if((h=r.find[l])&&(o=h(c.matches[0].replace(te,ne),Q.test(f[0].type)&&de(t.parentNode)||t))){if(f.splice(u,1),!(e=o.length&&ge(f)))return B.apply(i,o),i;break}}return(d||a(e,p))(o,t,!g,i,!t||Q.test(e)&&de(t.parentNode)||t),i},n.sortStable=_.split("").sort(E).join("")===_,n.detectDuplicates=!!l,h(),n.sortDetached=ae((function(e){return 1&e.compareDocumentPosition(d.createElement("div"))})),ae((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||ue("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ae((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ue("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ae((function(e){return null==e.getAttribute("disabled")}))||ue(F,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),ie}(e);d.find=y,d.expr=y.selectors,d.expr[":"]=d.expr.pseudos,d.uniqueSort=d.unique=y.uniqueSort,d.text=y.getText,d.isXMLDoc=y.isXML,d.contains=y.contains;var _=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&d(e).is(n))break;r.push(e)}return r},w=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},k=d.expr.match.needsContext,j=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,x=/^.[^:#\[\.,]*$/;function S(e,t,n){if(d.isFunction(t))return d.grep(e,(function(e,r){return!!t.call(e,r,e)!==n}));if(t.nodeType)return d.grep(e,(function(e){return e===t!==n}));if("string"==typeof t){if(x.test(t))return d.filter(t,e,n);t=d.filter(t,e)}return d.grep(e,(function(e){return a.call(t,e)>-1!==n}))}d.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?d.find.matchesSelector(r,e)?[r]:[]:d.find.matches(e,d.grep(t,(function(e){return 1===e.nodeType})))},d.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(d(e).filter((function(){for(t=0;t1?d.unique(r):r)).selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(S(this,e||[],!1))},not:function(e){return this.pushStack(S(this,e||[],!0))},is:function(e){return!!S(this,"string"==typeof e&&k.test(e)?d(e):e||[],!1).length}});var D,E=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A;(d.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:E.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof d?t[0]:t,d.merge(this,d.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),j.test(i[1])&&d.isPlainObject(t))for(i in t)d.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=r.getElementById(i[2]))&&o.parentNode&&(this.length=1,this[0]=o),this.context=r,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):d.isFunction(e)?void 0!==n.ready?n.ready(e):e(d):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),d.makeArray(e,this))}).prototype=d.fn,D=d(r);var C=/^(?:parents|prev(?:Until|All))/,M={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}d.fn.extend({has:function(e){var t=d(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&d.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?d.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?a.call(d(e),this[0]):a.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(d.uniqueSort(d.merge(this.get(),d(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),d.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return _(e,"parentNode")},parentsUntil:function(e,t,n){return _(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return _(e,"nextSibling")},prevAll:function(e){return _(e,"previousSibling")},nextUntil:function(e,t,n){return _(e,"nextSibling",n)},prevUntil:function(e,t,n){return _(e,"previousSibling",n)},siblings:function(e){return w((e.parentNode||{}).firstChild,e)},children:function(e){return w(e.firstChild)},contents:function(e){return e.contentDocument||d.merge([],e.childNodes)}},(function(e,t){d.fn[e]=function(n,r){var i=d.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=d.filter(r,i)),this.length>1&&(M[e]||d.uniqueSort(i),C.test(e)&&i.reverse()),this.pushStack(i)}}));var T=/\S+/g,B;function I(e){var t={};return d.each(e.match(T)||[],(function(e,n){t[n]=!0})),t}function R(){r.removeEventListener("DOMContentLoaded",R),e.removeEventListener("load",R),d.ready()}d.Callbacks=function(e){e="string"==typeof e?I(e):d.extend({},e);var t,n,r,i,o=[],s=[],a=-1,u=function(){for(i=e.once,r=t=!0;s.length;a=-1)for(n=s.shift();++a-1;)o.splice(n,1),n<=a&&a--})),this},has:function(e){return e?d.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=s=[],n||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||u()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!r}};return f},d.extend({Deferred:function(e){var t=[["resolve","done",d.Callbacks("once memory"),"resolved"],["reject","fail",d.Callbacks("once memory"),"rejected"],["notify","progress",d.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return d.Deferred((function(n){d.each(t,(function(t,o){var s=d.isFunction(e[t])&&e[t];i[o[1]]((function(){var e=s&&s.apply(this,arguments);e&&d.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,s?[e]:arguments)}))})),e=null})).promise()},promise:function(e){return null!=e?d.extend(e,r):r}},i={};return r.pipe=r.then,d.each(t,(function(e,o){var s=o[2],a=o[3];r[o[1]]=s.add,a&&s.add((function(){n=a}),t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=s.fireWith})),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=i.call(arguments),r=n.length,o=1!==r||e&&d.isFunction(e.promise)?r:0,s=1===o?e:d.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?i.call(arguments):r,n===u?s.notifyWith(t,n):--o||s.resolveWith(t,n)}},u,f,c;if(r>1)for(u=new Array(r),f=new Array(r),c=new Array(r);t0||(B.resolveWith(r,[d]),d.fn.triggerHandler&&(d(r).triggerHandler("ready"),d(r).off("ready"))))}}),d.ready.promise=function(t){return B||(B=d.Deferred(),"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(d.ready):(r.addEventListener("DOMContentLoaded",R),e.addEventListener("load",R))),B.promise(t)},d.ready.promise();var F=function(e,t,n,r,i,o,s){var a=0,u=e.length,f=null==n;if("object"===d.type(n))for(a in i=!0,n)F(e,t,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,d.isFunction(r)||(s=!0),f&&(s?(t.call(e,r),t=null):(f=t,t=function(e,t,n){return f.call(d(e),n)})),t))for(;a-1&&void 0!==n&&z.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){z.remove(this,e)}))}}),d.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=L.get(e,t),n&&(!r||d.isArray(n)?r=L.access(e,t,d.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=d.queue(e,t),r=n.length,i=n.shift(),o=d._queueHooks(e,t),s=function(){d.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return L.get(e,n)||L.access(e,n,{empty:d.Callbacks("once memory").add((function(){L.remove(e,[t+"queue",n])}))})}}),d.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length",""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Q(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&d.nodeName(e,t)?d.merge([e],n):n}function ee(e,t){for(var n=0,r=e.length;n-1)i&&i.push(o);else if(f=d.contains(o.ownerDocument,o),s=Q(l.appendChild(o),"script"),f&&ee(s),n)for(c=0;o=s[c++];)Z.test(o.type||"")&&n.push(o);return l}re=r.createDocumentFragment().appendChild(r.createElement("div")),(ie=r.createElement("input")).setAttribute("type","radio"),ie.setAttribute("checked","checked"),ie.setAttribute("name","t"),re.appendChild(ie),l.checkClone=re.cloneNode(!0).cloneNode(!0).lastChild.checked,re.innerHTML="",l.noCloneChecked=!!re.cloneNode(!0).lastChild.defaultValue;var se=/^key/,ae=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ue=/^([^.]*)(?:\.(.+)|)/;function fe(){return!0}function ce(){return!1}function le(){try{return r.activeElement}catch(e){}}function he(e,t,n,r,i,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(r=r||n,n=void 0),t)he(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ce;else if(!i)return e;return 1===o&&(s=i,(i=function(e){return d().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=d.guid++)),e.each((function(){d.event.add(this,t,i,r,n)}))}d.event={global:{},add:function(e,t,n,r,i){var o,s,a,u,f,c,l,h,p,g,b,m=L.get(e);if(m)for(n.handler&&(n=(o=n).handler,i=o.selector),n.guid||(n.guid=d.guid++),(u=m.events)||(u=m.events={}),(s=m.handle)||(s=m.handle=function(t){return void 0!==d&&d.event.triggered!==t.type?d.event.dispatch.apply(e,arguments):void 0}),f=(t=(t||"").match(T)||[""]).length;f--;)p=b=(a=ue.exec(t[f])||[])[1],g=(a[2]||"").split(".").sort(),p&&(l=d.event.special[p]||{},p=(i?l.delegateType:l.bindType)||p,l=d.event.special[p]||{},c=d.extend({type:p,origType:b,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&d.expr.match.needsContext.test(i),namespace:g.join(".")},o),(h=u[p])||((h=u[p]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(e,r,g,s)||e.addEventListener&&e.addEventListener(p,s)),l.add&&(l.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,c):h.push(c),d.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,s,a,u,f,c,l,h,p,g,b,m=L.hasData(e)&&L.get(e);if(m&&(u=m.events)){for(f=(t=(t||"").match(T)||[""]).length;f--;)if(p=b=(a=ue.exec(t[f])||[])[1],g=(a[2]||"").split(".").sort(),p){for(l=d.event.special[p]||{},h=u[p=(r?l.delegateType:l.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)c=h[o],!i&&b!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,l.remove&&l.remove.call(e,c));s&&!h.length&&(l.teardown&&!1!==l.teardown.call(e,g,m.handle)||d.removeEvent(e,p,m.handle),delete u[p])}else for(p in u)d.event.remove(e,p+t[f],n,r,!0);d.isEmptyObject(u)&&L.remove(e,"handle events")}},dispatch:function(e){e=d.event.fix(e);var t,n,r,o,s,a=[],u=i.call(arguments),f=(L.get(this,"events")||{})[e.type]||[],c=d.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(a=d.event.handlers.call(this,e,f),t=0;(o=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,n=0;(s=o.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(s.namespace)||(e.handleObj=s,e.data=s.data,void 0!==(r=((d.event.special[s.origType]||{}).handle||s.handler).apply(o.elem,u))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,s=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==e.type)){for(r=[],n=0;n-1:d.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return a]*)\/>/gi,pe=/\s*$/g;function ve(e,t){return d.nodeName(e,"table")&&d.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ye(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function _e(e){var t=be.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function we(e,t){var n,r,i,o,s,a,u,f;if(1===t.nodeType){if(L.hasData(e)&&(o=L.access(e),s=L.set(t,o),f=o.events))for(i in delete s.handle,s.events={},f)for(n=0,r=f[i].length;n1&&"string"==typeof b&&!l.checkClone&&ge.test(b))return e.each((function(i){var o=e.eq(i);m&&(t[0]=b.call(this,i,o.html())),je(o,t,n,r)}));if(p&&(s=(i=oe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=s),s||r)){for(u=(a=d.map(Q(i,"script"),ye)).length;h")},clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(!0),u=d.contains(e.ownerDocument,e);if(!(l.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||d.isXMLDoc(e)))for(s=Q(a),r=0,i=(o=Q(e)).length;r0&&ee(s,!u&&Q(e,"script")),a},cleanData:function(e){for(var t,n,r,i=d.event.special,o=0;void 0!==(n=e[o]);o++)if(P(n)){if(t=n[L.expando]){if(t.events)for(r in t.events)i[r]?d.event.remove(n,r):d.removeEvent(n,r,t.handle);n[L.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),d.fn.extend({domManip:je,detach:function(e){return xe(this,e,!0)},remove:function(e){return xe(this,e)},text:function(e){return F(this,(function(e){return void 0===e?d.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return je(this,arguments,(function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ve(this,e).appendChild(e)}))},prepend:function(){return je(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ve(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return je(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return je(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(d.cleanData(Q(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return d.clone(this,e,t)}))},html:function(e){return F(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!pe.test(e)&&!J[(X.exec(e)||["",""])[1].toLowerCase()]){e=d.htmlPrefilter(e);try{for(;n")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=Ee(e,t),Se.detach()),De[e]=n),n}var Ce=/^margin/,Me=new RegExp("^("+W+")(?!px)[a-z%]+$","i"),Oe=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Te=function(e,t,n,r){var i,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=s[o];return i},Be=r.documentElement;function Ie(e,t,n){var r,i,o,s,a=e.style;return""!==(s=(n=n||Oe(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==s||d.contains(e.ownerDocument,e)||(s=d.style(e,t)),n&&!l.pixelMarginRight()&&Me.test(s)&&Ce.test(t)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o),void 0!==s?s+"":s}function Re(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){var t,n,i,o,s=r.createElement("div"),a=r.createElement("div");function u(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",Be.appendChild(s);var r=e.getComputedStyle(a);t="1%"!==r.top,o="2px"===r.marginLeft,n="4px"===r.width,a.style.marginRight="50%",i="4px"===r.marginRight,Be.removeChild(s)}a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===a.style.backgroundClip,s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",s.appendChild(a),d.extend(l,{pixelPosition:function(){return u(),t},boxSizingReliable:function(){return null==n&&u(),n},pixelMarginRight:function(){return null==n&&u(),i},reliableMarginLeft:function(){return null==n&&u(),o},reliableMarginRight:function(){var t,n=a.appendChild(r.createElement("div"));return n.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",a.style.width="1px",Be.appendChild(s),t=!parseFloat(e.getComputedStyle(n).marginRight),Be.removeChild(s),a.removeChild(n),t}}))}();var Fe=/^(none|table(?!-c[ea]).+)/,Pe={position:"absolute",visibility:"hidden",display:"block"},Ne={letterSpacing:"0",fontWeight:"400"},Le=["Webkit","O","Moz","ms"],ze=r.createElement("div").style;function Ue(e){if(e in ze)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Le.length;n--;)if((e=Le[n]+t)in ze)return e}function qe(e,t,n){var r=H.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function $e(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=d.css(e,n+Y[o],!0,i)),r?("content"===n&&(s-=d.css(e,"padding"+Y[o],!0,i)),"margin"!==n&&(s-=d.css(e,"border"+Y[o]+"Width",!0,i))):(s+=d.css(e,"padding"+Y[o],!0,i),"padding"!==n&&(s+=d.css(e,"border"+Y[o]+"Width",!0,i)));return s}function We(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Oe(e),s="border-box"===d.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=Ie(e,t,o))<0||null==i)&&(i=e.style[t]),Me.test(i))return i;r=s&&(l.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+$e(e,t,n||(s?"border":"content"),r,o)+"px"}function He(e,t){for(var n,r,i,o=[],s=0,a=e.length;s1)},show:function(){return He(this,!0)},hide:function(){return He(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){V(this)?d(this).show():d(this).hide()}))}}),d.Tween=Ye,Ye.prototype={constructor:Ye,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||d.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(d.cssNumber[n]?"":"px")},cur:function(){var e=Ye.propHooks[this.prop];return e&&e.get?e.get(this):Ye.propHooks._default.get(this)},run:function(e){var t,n=Ye.propHooks[this.prop];return this.options.duration?this.pos=t=d.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):Ye.propHooks._default.set(this),this}},Ye.prototype.init.prototype=Ye.prototype,Ye.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=d.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){d.fx.step[e.prop]?d.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[d.cssProps[e.prop]]&&!d.cssHooks[e.prop]?e.elem[e.prop]=e.now:d.style(e.elem,e.prop,e.now+e.unit)}}},Ye.propHooks.scrollTop=Ye.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},d.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},d.fx=Ye.prototype.init,d.fx.step={};var Ve,Ke,Ge=/^(?:toggle|show|hide)$/,Xe=/queueHooks$/;function Ze(){return e.setTimeout((function(){Ve=void 0})),Ve=d.now()}function Je(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Y[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Qe(e,t,n){for(var r,i=(nt.tweeners[t]||[]).concat(nt.tweeners["*"]),o=0,s=i.length;o1)},removeAttr:function(e){return this.each((function(){d.removeAttr(this,e)}))}}),d.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?d.prop(e,t,n):(1===o&&d.isXMLDoc(e)||(t=t.toLowerCase(),i=d.attrHooks[t]||(d.expr.match.bool.test(t)?rt:void 0)),void 0!==n?null===n?void d.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=d.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!l.radioValue&&"radio"===t&&d.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)for(;n=o[i++];)r=d.propFix[n]||n,d.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)}}),rt={set:function(e,t,n){return!1===t?d.removeAttr(e,n):e.setAttribute(n,n),n}},d.each(d.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=it[t]||d.find.attr;it[t]=function(e,t,r){var i,o;return r||(o=it[t],it[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,it[t]=o),i}}));var ot=/^(?:input|select|textarea|button)$/i,st=/^(?:a|area)$/i;d.fn.extend({prop:function(e,t){return F(this,d.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[d.propFix[e]||e]}))}}),d.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&d.isXMLDoc(e)||(t=d.propFix[t]||t,i=d.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=d.find.attr(e,"tabindex");return t?parseInt(t,10):ot.test(e.nodeName)||st.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),l.optSelected||(d.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)}}),d.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){d.propFix[this.toLowerCase()]=this}));var at=/[\t\r\n\f]/g;function ut(e){return e.getAttribute&&e.getAttribute("class")||""}d.fn.extend({addClass:function(e){var t,n,r,i,o,s,a,u=0;if(d.isFunction(e))return this.each((function(t){d(this).addClass(e.call(this,t,ut(this)))}));if("string"==typeof e&&e)for(t=e.match(T)||[];n=this[u++];)if(i=ut(n),r=1===n.nodeType&&(" "+i+" ").replace(at," ")){for(s=0;o=t[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=d.trim(r))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,i,o,s,a,u=0;if(d.isFunction(e))return this.each((function(t){d(this).removeClass(e.call(this,t,ut(this)))}));if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(T)||[];n=this[u++];)if(i=ut(n),r=1===n.nodeType&&(" "+i+" ").replace(at," ")){for(s=0;o=t[s++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(a=d.trim(r))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):d.isFunction(e)?this.each((function(n){d(this).toggleClass(e.call(this,n,ut(this),t),t)})):this.each((function(){var t,r,i,o;if("string"===n)for(r=0,i=d(this),o=e.match(T)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=ut(this))&&L.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":L.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+ut(n)+" ").replace(at," ").indexOf(t)>-1)return!0;return!1}});var ft=/\r/g,ct=/[\x20\t\r\n\f]+/g;d.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=d.isFunction(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,d(this).val()):e)?i="":"number"==typeof i?i+="":d.isArray(i)&&(i=d.map(i,(function(e){return null==e?"":e+""}))),(t=d.valHooks[this.type]||d.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=d.valHooks[i.type]||d.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(ft,""):null==n?"":n:void 0}}),d.extend({valHooks:{option:{get:function(e){var t=d.find.attr(e,"value");return null!=t?t:d.trim(d.text(e)).replace(ct," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,s=o?null:[],a=o?i+1:r.length,u=i<0?a:o?i:0;u-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),d.each(["radio","checkbox"],(function(){d.valHooks[this]={set:function(e,t){if(d.isArray(t))return e.checked=d.inArray(d(e).val(),t)>-1}},l.checkOn||(d.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var lt=/^(?:focusinfocus|focusoutblur)$/;d.extend(d.event,{trigger:function(t,n,i,o){var s,a,u,f,l,h,p,g=[i||r],b=c.call(t,"type")?t.type:t,m=c.call(t,"namespace")?t.namespace.split("."):[];if(a=u=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!lt.test(b+d.event.triggered)&&(b.indexOf(".")>-1&&(m=b.split("."),b=m.shift(),m.sort()),l=b.indexOf(":")<0&&"on"+b,(t=t[d.expando]?t:new d.Event(b,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:d.makeArray(n,[t]),p=d.event.special[b]||{},o||!p.trigger||!1!==p.trigger.apply(i,n))){if(!o&&!p.noBubble&&!d.isWindow(i)){for(f=p.delegateType||b,lt.test(f+b)||(a=a.parentNode);a;a=a.parentNode)g.push(a),u=a;u===(i.ownerDocument||r)&&g.push(u.defaultView||u.parentWindow||e)}for(s=0;(a=g[s++])&&!t.isPropagationStopped();)t.type=s>1?f:p.bindType||b,(h=(L.get(a,"events")||{})[t.type]&&L.get(a,"handle"))&&h.apply(a,n),(h=l&&a[l])&&h.apply&&P(a)&&(t.result=h.apply(a,n),!1===t.result&&t.preventDefault());return t.type=b,o||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(g.pop(),n)||!P(i)||l&&d.isFunction(i[b])&&!d.isWindow(i)&&((u=i[l])&&(i[l]=null),d.event.triggered=b,i[b](),d.event.triggered=void 0,u&&(i[l]=u)),t.result}},simulate:function(e,t,n){var r=d.extend(new d.Event,n,{type:e,isSimulated:!0});d.event.trigger(r,null,t)}}),d.fn.extend({trigger:function(e,t){return this.each((function(){d.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return d.event.trigger(e,t,n,!0)}}),d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(e,t){d.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}})),d.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),l.focusin="onfocusin"in e,l.focusin||d.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){d.event.simulate(t,e.target,d.event.fix(e))};d.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=L.access(r,t);i||r.addEventListener(e,n,!0),L.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=L.access(r,t)-1;i?L.access(r,t,i):(r.removeEventListener(e,n,!0),L.remove(r,t))}}}));var ht=e.location,dt=d.now(),pt=/\?/;d.parseJSON=function(e){return JSON.parse(e+"")},d.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(r){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||d.error("Invalid XML: "+t),n};var gt=/#.*$/,bt=/([?&])_=[^&]*/,mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,vt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,yt=/^(?:GET|HEAD)$/,_t=/^\/\//,wt={},kt={},jt="*/".concat("*"),xt=r.createElement("a");function St(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(T)||[];if(d.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Dt(e,t,n,r){var i={},o=e===kt;function s(a){var u;return i[a]=!0,d.each(e[a]||[],(function(e,a){var f=a(t,n,r);return"string"!=typeof f||o||i[f]?o?!(u=f):void 0:(t.dataTypes.unshift(f),s(f),!1)})),u}return s(t.dataTypes[0])||!i["*"]&&s("*")}function Et(e,t){var n,r,i=d.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&d.extend(!0,e,r),e}function At(e,t,n){for(var r,i,o,s,a=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Ct(e,t,n,r){var i,o,s,a,u,f={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)f[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(s=f[u+" "+o]||f["* "+o]))for(i in f)if((a=i.split(" "))[1]===o&&(s=f[u+" "+a[0]]||f["* "+a[0]])){!0===s?s=f[i]:!0!==f[i]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(l){return{state:"parsererror",error:s?l:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}xt.href=ht.href,d.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ht.href,type:"GET",isLocal:vt.test(ht.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":jt,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":!0,"text json":d.parseJSON,"text xml":d.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Et(Et(e,d.ajaxSettings),t):Et(d.ajaxSettings,e)},ajaxPrefilter:St(wt),ajaxTransport:St(kt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,s,a,u,f,c,l,h=d.ajaxSetup({},n),p=h.context||h,g=h.context&&(p.nodeType||p.jquery)?d(p):d.event,b=d.Deferred(),m=d.Callbacks("once memory"),v=h.statusCode||{},y={},_={},w=0,k="canceled",j={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!a)for(a={};t=mt.exec(s);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=_[n]=_[n]||e,y[e]=t),this},overrideMimeType:function(e){return w||(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)v[t]=[v[t],e[t]];else j.always(e[j.status]);return this},abort:function(e){var t=e||k;return i&&i.abort(t),x(0,t),this}};if(b.promise(j).complete=m.add,j.success=j.done,j.error=j.fail,h.url=((t||h.url||ht.href)+"").replace(gt,"").replace(_t,ht.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=d.trim(h.dataType||"*").toLowerCase().match(T)||[""],null==h.crossDomain){f=r.createElement("a");try{f.href=h.url,f.href=f.href,h.crossDomain=xt.protocol+"//"+xt.host!=f.protocol+"//"+f.host}catch(S){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=d.param(h.data,h.traditional)),Dt(wt,h,n,j),2===w)return j;for(l in(c=d.event&&h.global)&&0==d.active++&&d.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!yt.test(h.type),o=h.url,h.hasContent||(h.data&&(o=h.url+=(pt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(h.url=bt.test(o)?o.replace(bt,"$1_="+dt++):o+(pt.test(o)?"&":"?")+"_="+dt++)),h.ifModified&&(d.lastModified[o]&&j.setRequestHeader("If-Modified-Since",d.lastModified[o]),d.etag[o]&&j.setRequestHeader("If-None-Match",d.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&j.setRequestHeader("Content-Type",h.contentType),j.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+jt+"; q=0.01":""):h.accepts["*"]),h.headers)j.setRequestHeader(l,h.headers[l]);if(h.beforeSend&&(!1===h.beforeSend.call(p,j,h)||2===w))return j.abort();for(l in k="abort",{success:1,error:1,complete:1})j[l](h[l]);if(i=Dt(kt,h,n,j)){if(j.readyState=1,c&&g.trigger("ajaxSend",[j,h]),2===w)return j;h.async&&h.timeout>0&&(u=e.setTimeout((function(){j.abort("timeout")}),h.timeout));try{w=1,i.send(y,x)}catch(S){if(!(w<2))throw S;x(-1,S)}}else x(-1,"No Transport");function x(t,n,r,a){var f,l,y,_,k,x=n;2!==w&&(w=2,u&&e.clearTimeout(u),i=void 0,s=a||"",j.readyState=t>0?4:0,f=t>=200&&t<300||304===t,r&&(_=At(h,j,r)),_=Ct(h,_,j,f),f?(h.ifModified&&((k=j.getResponseHeader("Last-Modified"))&&(d.lastModified[o]=k),(k=j.getResponseHeader("etag"))&&(d.etag[o]=k)),204===t||"HEAD"===h.type?x="nocontent":304===t?x="notmodified":(x=_.state,l=_.data,f=!(y=_.error))):(y=x,!t&&x||(x="error",t<0&&(t=0))),j.status=t,j.statusText=(n||x)+"",f?b.resolveWith(p,[l,x,j]):b.rejectWith(p,[j,x,y]),j.statusCode(v),v=void 0,c&&g.trigger(f?"ajaxSuccess":"ajaxError",[j,h,f?l:y]),m.fireWith(p,[j,x]),c&&(g.trigger("ajaxComplete",[j,h]),--d.active||d.event.trigger("ajaxStop")))}return j},getJSON:function(e,t,n){return d.get(e,t,n,"json")},getScript:function(e,t){return d.get(e,void 0,t,"script")}}),d.each(["get","post"],(function(e,t){d[t]=function(e,n,r,i){return d.isFunction(n)&&(i=i||r,r=n,n=void 0),d.ajax(d.extend({url:e,type:t,dataType:i,data:n,success:r},d.isPlainObject(e)&&e))}})),d._evalUrl=function(e){return d.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},d.fn.extend({wrapAll:function(e){var t;return d.isFunction(e)?this.each((function(t){d(this).wrapAll(e.call(this,t))})):(this[0]&&(t=d(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this)},wrapInner:function(e){return d.isFunction(e)?this.each((function(t){d(this).wrapInner(e.call(this,t))})):this.each((function(){var t=d(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=d.isFunction(e);return this.each((function(n){d(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(){return this.parent().each((function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)})).end()}}),d.expr.filters.hidden=function(e){return!d.expr.filters.visible(e)},d.expr.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0};var Mt=/%20/g,Ot=/\[\]$/,Tt=/\r?\n/g,Bt=/^(?:submit|button|image|reset|file)$/i,It=/^(?:input|select|textarea|keygen)/i;function Rt(e,t,n,r){var i;if(d.isArray(t))d.each(t,(function(t,i){n||Ot.test(e)?r(e,i):Rt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==d.type(t))r(e,t);else for(i in t)Rt(e+"["+i+"]",t[i],n,r)}d.param=function(e,t){var n,r=[],i=function(e,t){t=d.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=d.ajaxSettings&&d.ajaxSettings.traditional),d.isArray(e)||e.jquery&&!d.isPlainObject(e))d.each(e,(function(){i(this.name,this.value)}));else for(n in e)Rt(n,e[n],t,i);return r.join("&").replace(Mt,"+")},d.fn.extend({serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=d.prop(this,"elements");return e?d.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!d(this).is(":disabled")&&It.test(this.nodeName)&&!Bt.test(e)&&(this.checked||!G.test(e))})).map((function(e,t){var n=d(this).val();return null==n?null:d.isArray(n)?d.map(n,(function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}})):{name:t.name,value:n.replace(Tt,"\r\n")}})).get()}}),d.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var Ft={0:200,1223:204},Pt=d.ajaxSettings.xhr();l.cors=!!Pt&&"withCredentials"in Pt,l.ajax=Pt=!!Pt,d.ajaxTransport((function(t){var n,r;if(l.cors||Pt&&!t.crossDomain)return{send:function(i,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(s,i[s]);n=function(e){return function(){n&&(n=r=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Ft[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),r=a.onerror=n("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout((function(){n&&r()}))},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(u){if(n)throw u}},abort:function(){n&&n()}}})),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return d.globalEval(e),e}}}),d.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),d.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain)return{send:function(i,o){t=d("