diff --git a/_includes/parse-server/best-practice.md b/_includes/parse-server/best-practice.md new file mode 100644 index 000000000..cef440461 --- /dev/null +++ b/_includes/parse-server/best-practice.md @@ -0,0 +1,23 @@ +# Best Practice + +*This page is a work in progress and incomplete. If you have any suggestions, please open a pull request.* + +## Security + +### Firewall + +Protect all Parse Server endpoints using a Firewall to mitigate the risk of malicious attempts to scape user data, flood the database and DDoS attacks. +- Use rate-limiting rules for public endpoints, for example limit the number of requests per IP address or per user. +- Use very restrictive rules for private endpoints; for example limit access to Parse Dashboard to your personal network. + +## Optimization + +The following is a list of design considerations to optimize data traffic and performance. + +### Database + +- Use short field names; field names need to be stored in the database just like the field values; short field names not only require less database storage but also reduce the data traffic between database, server and client. + +### Queries + +- Use `select` and `exclude` to transfer only the fields that you need instead of the whole object. \ No newline at end of file diff --git a/assets/js/bundle.js b/assets/js/bundle.js index ea9a7fabc..4905fd056 100644 --- a/assets/js/bundle.js +++ b/assets/js/bundle.js @@ -1,2 +1,2 @@ /*! For license information please see bundle.js.LICENSE.txt */ -(()=>{var e={4683:e=>{var t=function(e,t,n,r){var o;if(o=r?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e),n){Array.isArray(n)||(n=[n]);for(var i=0;i6&&n<10)return(0|(t=e/1e6))===t||0===Math.round(e%1e6/1e5)?(0|t)+"M":(0|t)+"."+Math.round(e%1e6/1e5)+"M";if(n>5)return(0|(t=e/1e3))===t||0===Math.round(e%1e3/100)?(0|t)+"K":(0|t)+"."+Math.round(e%1e3/100)+"K";if(n>3){var r=e%1e3|0;return r<10?r="00"+r:r<100&&(r="0"+r),(e/1e3|0)+","+r}return(0|e)+""},Animate:{show:function(e,t){"undefined"===t&&(t=0),e.style.display="block",e.style.opacity=0,setTimeout((function(){e.style.opacity=1}),t)},hide:function(e,t){window.getComputedStyle(e).opacity>0&&(void 0===t&&(t=500),e.style.opacity=0,setTimeout((function(){e.style.display="none"}),t))}},ComponentProto:{attach:function(e){return this.node?(e.appendChild(this.node),this):null},remove:function(){return this.node&&this.node.parentNode?(this.node.parentNode.removeChild(this.node),this):null}}};e.exports=n},1577:e=>{"use strict";var t,n,r,o,i,a=window,s={},u=function(){},l=function(e,t){if(function(e){return null===e.offsetParent}(e))return!1;var n=e.getBoundingClientRect();return n.right>=t.l&&n.bottom>=t.t&&n.left<=t.r&&n.top<=t.b},c=function(){!o&&n||(clearTimeout(n),n=setTimeout((function(){s.render(),n=null}),r))};s.init=function(e){var n=(e=e||{}).offset||0,l=e.offsetVertical||n,f=e.offsetHorizontal||n,p=function(e,t){return parseInt(e||t,10)};t={t:p(e.offsetTop,l),b:p(e.offsetBottom,l),l:p(e.offsetLeft,f),r:p(e.offsetRight,f)},r=p(e.throttle,250),o=!1!==e.debounce,i=!!e.unload,u=e.callback||u,s.render(),document.addEventListener?(a.addEventListener("scroll",c,!1),a.addEventListener("load",c,!1)):(a.attachEvent("onscroll",c),a.attachEvent("onload",c))},s.render=function(e){for(var n,r,o=(e||document).querySelectorAll("[data-echo], [data-echo-background]"),c=o.length,f={l:0-t.l,t:0-t.t,b:(a.innerHeight||document.documentElement.clientHeight)+t.b,r:(a.innerWidth||document.documentElement.clientWidth)+t.r},p=0;p{var r;!function(o){var i,a,s,u,l,c,f,p,d,h,v,g,m,y,x,b,w,C,T,S="sizzle"+1*new Date,E=o.document,k=0,A=0,N=pe(),j=pe(),D=pe(),L=pe(),O=function(e,t){return e===t&&(v=!0),0},q={}.hasOwnProperty,I=[],_=I.pop,H=I.push,M=I.push,R=I.slice,P=function(e,t){for(var n=0,r=e.length;n+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),G=new RegExp(W+"|>"),K=new RegExp(z),J=new RegExp("^"+F+"$"),Q={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+$),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+B+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},Z=/HTML$/i,ee=/^(?:input|select|textarea|button)$/i,te=/^h\d$/i,ne=/^[^{]+\{\s*\[native \w/,re=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,oe=/[+~]/,ie=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ae=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},se=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ue=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},le=function(){g()},ce=Se((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{M.apply(I=R.call(E.childNodes),E.childNodes),I[E.childNodes.length].nodeType}catch(e){M={apply:I.length?function(e,t){H.apply(e,R.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function fe(e,t,n,r){var o,i,s,u,l,f,d,h=t&&t.ownerDocument,v=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==v&&9!==v&&11!==v)return n;if(!r&&(g(t),t=t||m,x)){if(11!==v&&(l=re.exec(e)))if(o=l[1]){if(9===v){if(!(s=t.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(h&&(s=h.getElementById(o))&&T(t,s)&&s.id===o)return n.push(s),n}else{if(l[2])return M.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&a.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(o)),n}if(a.qsa&&!L[e+" "]&&(!b||!b.test(e))&&(1!==v||"object"!==t.nodeName.toLowerCase())){if(d=e,h=t,1===v&&(G.test(e)||Y.test(e))){for((h=oe.test(e)&&we(t.parentNode)||t)===t&&a.scope||((u=t.getAttribute("id"))?u=u.replace(se,ue):t.setAttribute("id",u=S)),i=(f=c(e)).length;i--;)f[i]=(u?"#"+u:":scope")+" "+Te(f[i]);d=f.join(",")}try{return M.apply(n,h.querySelectorAll(d)),n}catch(t){L(e,!0)}finally{u===S&&t.removeAttribute("id")}}}return p(e.replace(U,"$1"),t,n,r)}function pe(){var e=[];return function t(n,r){return e.push(n+" ")>s.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function de(e){return e[S]=!0,e}function he(e){var t=m.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ve(e,t){for(var n=e.split("|"),r=n.length;r--;)s.attrHandle[n[r]]=t}function ge(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function me(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ye(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function xe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ce(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function be(e){return de((function(t){return t=+t,de((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function we(e){return e&&void 0!==e.getElementsByTagName&&e}for(i in a=fe.support={},l=fe.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Z.test(t||n&&n.nodeName||"HTML")},g=fe.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:E;return r!=m&&9===r.nodeType&&r.documentElement?(y=(m=r).documentElement,x=!l(m),E!=m&&(n=m.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",le,!1):n.attachEvent&&n.attachEvent("onunload",le)),a.scope=he((function(e){return y.appendChild(e).appendChild(m.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),a.attributes=he((function(e){return e.className="i",!e.getAttribute("className")})),a.getElementsByTagName=he((function(e){return e.appendChild(m.createComment("")),!e.getElementsByTagName("*").length})),a.getElementsByClassName=ne.test(m.getElementsByClassName),a.getById=he((function(e){return y.appendChild(e).id=S,!m.getElementsByName||!m.getElementsByName(S).length})),a.getById?(s.filter.ID=function(e){var t=e.replace(ie,ae);return function(e){return e.getAttribute("id")===t}},s.find.ID=function(e,t){if(void 0!==t.getElementById&&x){var n=t.getElementById(e);return n?[n]:[]}}):(s.filter.ID=function(e){var t=e.replace(ie,ae);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},s.find.ID=function(e,t){if(void 0!==t.getElementById&&x){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),s.find.TAG=a.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):a.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},s.find.CLASS=a.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&x)return t.getElementsByClassName(e)},w=[],b=[],(a.qsa=ne.test(m.querySelectorAll))&&(he((function(e){var t;y.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&b.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||b.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+B+")"),e.querySelectorAll("[id~="+S+"-]").length||b.push("~="),(t=m.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||b.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||b.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||b.push(".#.+[+~]"),e.querySelectorAll("\\\f"),b.push("[\\r\\n\\f]")})),he((function(e){e.innerHTML="";var t=m.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&b.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&b.push(":enabled",":disabled"),y.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&b.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),b.push(",.*:")}))),(a.matchesSelector=ne.test(C=y.matches||y.webkitMatchesSelector||y.mozMatchesSelector||y.oMatchesSelector||y.msMatchesSelector))&&he((function(e){a.disconnectedMatch=C.call(e,"*"),C.call(e,"[s!='']:x"),w.push("!=",z)})),b=b.length&&new RegExp(b.join("|")),w=w.length&&new RegExp(w.join("|")),t=ne.test(y.compareDocumentPosition),T=t||ne.test(y.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},O=t?function(e,t){if(e===t)return v=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!a.sortDetached&&t.compareDocumentPosition(e)===n?e==m||e.ownerDocument==E&&T(E,e)?-1:t==m||t.ownerDocument==E&&T(E,t)?1:h?P(h,e)-P(h,t):0:4&n?-1:1)}:function(e,t){if(e===t)return v=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==m?-1:t==m?1:o?-1:i?1:h?P(h,e)-P(h,t):0;if(o===i)return ge(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ge(a[r],s[r]):a[r]==E?-1:s[r]==E?1:0},m):m},fe.matches=function(e,t){return fe(e,null,null,t)},fe.matchesSelector=function(e,t){if(g(e),a.matchesSelector&&x&&!L[t+" "]&&(!w||!w.test(t))&&(!b||!b.test(t)))try{var n=C.call(e,t);if(n||a.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){L(t,!0)}return fe(t,m,null,[e]).length>0},fe.contains=function(e,t){return(e.ownerDocument||e)!=m&&g(e),T(e,t)},fe.attr=function(e,t){(e.ownerDocument||e)!=m&&g(e);var n=s.attrHandle[t.toLowerCase()],r=n&&q.call(s.attrHandle,t.toLowerCase())?n(e,t,!x):void 0;return void 0!==r?r:a.attributes||!x?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},fe.escape=function(e){return(e+"").replace(se,ue)},fe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},fe.uniqueSort=function(e){var t,n=[],r=0,o=0;if(v=!a.detectDuplicates,h=!a.sortStable&&e.slice(0),e.sort(O),v){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return h=null,e},u=fe.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+=u(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=u(t);return n},(s=fe.selectors={cacheLength:50,createPseudo:de,match:Q,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(ie,ae),e[3]=(e[3]||e[4]||e[5]||"").replace(ie,ae),"~="===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]||fe.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]&&fe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&K.test(n)&&(t=c(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(ie,ae).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+W+"|$)"))&&N(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 o=fe.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(V," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,v=i!==a?"nextSibling":"previousSibling",g=t.parentNode,m=s&&t.nodeName.toLowerCase(),y=!u&&!s,x=!1;if(g){if(i){for(;v;){for(p=t;p=p[v];)if(s?p.nodeName.toLowerCase()===m:1===p.nodeType)return!1;h=v="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(x=(d=(l=(c=(f=(p=g)[S]||(p[S]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===k&&l[1])&&l[2],p=d&&g.childNodes[d];p=++d&&p&&p[v]||(x=d=0)||h.pop();)if(1===p.nodeType&&++x&&p===t){c[e]=[k,d,x];break}}else if(y&&(x=d=(l=(c=(f=(p=t)[S]||(p[S]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===k&&l[1]),!1===x)for(;(p=++d&&p&&p[v]||(x=d=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==m:1!==p.nodeType)||!++x||(y&&((c=(f=p[S]||(p[S]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[k,x]),p!==t)););return(x-=o)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,r=s.pseudos[e]||s.setFilters[e.toLowerCase()]||fe.error("unsupported pseudo: "+e);return r[S]?r(t):r.length>1?(n=[e,e,"",t],s.setFilters.hasOwnProperty(e.toLowerCase())?de((function(e,n){for(var o,i=r(e,t),a=i.length;a--;)e[o=P(e,i[a])]=!(n[o]=i[a])})):function(e){return r(e,0,n)}):r}},pseudos:{not:de((function(e){var t=[],n=[],r=f(e.replace(U,"$1"));return r[S]?de((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:de((function(e){return function(t){return fe(e,t).length>0}})),contains:de((function(e){return e=e.replace(ie,ae),function(t){return(t.textContent||u(t)).indexOf(e)>-1}})),lang:de((function(e){return J.test(e||"")||fe.error("unsupported lang: "+e),e=e.replace(ie,ae).toLowerCase(),function(t){var n;do{if(n=x?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(e){var t=o.location&&o.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===y},focus:function(e){return e===m.activeElement&&(!m.hasFocus||m.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:xe(!1),disabled:xe(!0),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!s.pseudos.empty(e)},header:function(e){return te.test(e.nodeName)},input:function(e){return ee.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:be((function(){return[0]})),last:be((function(e,t){return[t-1]})),eq:be((function(e,t,n){return[n<0?n+t:n]})),even:be((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:be((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function ke(e,t,n,r,o){for(var i,a=[],s=0,u=e.length,l=null!=t;s-1&&(i[l]=!(a[l]=f))}}else m=ke(m===a?m.splice(h,m.length):m),o?o(null,a,m,u):M.apply(a,m)}))}function Ne(e){for(var t,n,r,o=e.length,i=s.relative[e[0].type],a=i||s.relative[" "],u=i?1:0,l=Se((function(e){return e===t}),a,!0),c=Se((function(e){return P(t,e)>-1}),a,!0),f=[function(e,n,r){var o=!i&&(r||n!==d)||((t=n).nodeType?l(e,n,r):c(e,n,r));return t=null,o}];u1&&Ee(f),u>1&&Te(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(U,"$1"),n,u0,r=e.length>0,o=function(o,i,a,u,l){var c,f,p,h=0,v="0",y=o&&[],b=[],w=d,C=o||r&&s.find.TAG("*",l),T=k+=null==w?1:Math.random()||.1,S=C.length;for(l&&(d=i==m||i||l);v!==S&&null!=(c=C[v]);v++){if(r&&c){for(f=0,i||c.ownerDocument==m||(g(c),a=!x);p=e[f++];)if(p(c,i||m,a)){u.push(c);break}l&&(k=T)}n&&((c=!p&&c)&&h--,o&&y.push(c))}if(h+=v,n&&v!==h){for(f=0;p=t[f++];)p(y,b,i,a);if(o){if(h>0)for(;v--;)y[v]||b[v]||(b[v]=_.call(u));b=ke(b)}M.apply(u,b),l&&!o&&b.length>0&&h+t.length>1&&fe.uniqueSort(u)}return l&&(k=T,d=w),y};return n?de(o):o}(o,r))).selector=e}return i},p=fe.select=function(e,t,n,r){var o,i,a,u,l,p="function"==typeof e&&e,d=!r&&c(e=p.selector||e);if(n=n||[],1===d.length){if((i=d[0]=d[0].slice(0)).length>2&&"ID"===(a=i[0]).type&&9===t.nodeType&&x&&s.relative[i[1].type]){if(!(t=(s.find.ID(a.matches[0].replace(ie,ae),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=Q.needsContext.test(e)?0:i.length;o--&&(a=i[o],!s.relative[u=a.type]);)if((l=s.find[u])&&(r=l(a.matches[0].replace(ie,ae),oe.test(i[0].type)&&we(t.parentNode)||t))){if(i.splice(o,1),!(e=r.length&&Te(i)))return M.apply(n,r),n;break}}return(p||f(e,d))(r,t,!x,n,!t||oe.test(e)&&we(t.parentNode)||t),n},a.sortStable=S.split("").sort(O).join("")===S,a.detectDuplicates=!!v,g(),a.sortDetached=he((function(e){return 1&e.compareDocumentPosition(m.createElement("fieldset"))})),he((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||ve("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),a.attributes&&he((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ve("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),he((function(e){return null==e.getAttribute("disabled")}))||ve(B,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}));var je=o.Sizzle;fe.noConflict=function(){return o.Sizzle===fe&&(o.Sizzle=je),fe},void 0===(r=function(){return fe}.call(t,n,t,e))||(e.exports=r)}(window)},7178:(e,t,n)=>{var r,o;r=[n(8934),n(7792),n(2134),n(8663),n(454),n(6981),n(7661),n(8048),n(461),n(1045),n(6525),n(5385)],void 0===(o=function(e,t,n,r,o,i,a){"use strict";var s=/%20/g,u=/#.*$/,l=/([?&])_=[^&]*/,c=/^(.*?):[ \t]*([^\r\n]*)$/gm,f=/^(?:GET|HEAD)$/,p=/^\/\//,d={},h={},v="*/".concat("*"),g=t.createElement("a");function m(e){return function(t,o){"string"!=typeof t&&(o=t,t="*");var i,a=0,s=t.toLowerCase().match(r)||[];if(n(o))for(;i=s[a++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(o)):(e[i]=e[i]||[]).push(o)}}function y(t,n,r,o){var i={},a=t===h;function s(u){var l;return i[u]=!0,e.each(t[u]||[],(function(e,t){var u=t(n,r,o);return"string"!=typeof u||a||i[u]?a?!(l=u):void 0:(n.dataTypes.unshift(u),s(u),!1)})),l}return s(n.dataTypes[0])||!i["*"]&&s("*")}function x(t,n){var r,o,i=e.ajaxSettings.flatOptions||{};for(r in n)void 0!==n[r]&&((i[r]?t:o||(o={}))[r]=n[r]);return o&&e.extend(!0,t,o),t}return g.href=o.href,e.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:o.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(o.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":v,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":JSON.parse,"text xml":e.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,n){return n?x(x(t,e.ajaxSettings),n):x(e.ajaxSettings,t)},ajaxPrefilter:m(d),ajaxTransport:m(h),ajax:function(n,m){"object"==typeof n&&(m=n,n=void 0),m=m||{};var x,b,w,C,T,S,E,k,A,N,j=e.ajaxSetup({},m),D=j.context||j,L=j.context&&(D.nodeType||D.jquery)?e(D):e.event,O=e.Deferred(),q=e.Callbacks("once memory"),I=j.statusCode||{},_={},H={},M="canceled",R={readyState:0,getResponseHeader:function(e){var t;if(E){if(!C)for(C={};t=c.exec(w);)C[t[1].toLowerCase()+" "]=(C[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=C[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return E?w:null},setRequestHeader:function(e,t){return null==E&&(e=H[e.toLowerCase()]=H[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==E&&(j.mimeType=e),this},statusCode:function(e){var t;if(e)if(E)R.always(e[R.status]);else for(t in e)I[t]=[I[t],e[t]];return this},abort:function(e){var t=e||M;return x&&x.abort(t),P(0,t),this}};if(O.promise(R),j.url=((n||j.url||o.href)+"").replace(p,o.protocol+"//"),j.type=m.method||m.type||j.method||j.type,j.dataTypes=(j.dataType||"*").toLowerCase().match(r)||[""],null==j.crossDomain){S=t.createElement("a");try{S.href=j.url,S.href=S.href,j.crossDomain=g.protocol+"//"+g.host!=S.protocol+"//"+S.host}catch(e){j.crossDomain=!0}}if(j.data&&j.processData&&"string"!=typeof j.data&&(j.data=e.param(j.data,j.traditional)),y(d,j,m,R),E)return R;for(A in(k=e.event&&j.global)&&0==e.active++&&e.event.trigger("ajaxStart"),j.type=j.type.toUpperCase(),j.hasContent=!f.test(j.type),b=j.url.replace(u,""),j.hasContent?j.data&&j.processData&&0===(j.contentType||"").indexOf("application/x-www-form-urlencoded")&&(j.data=j.data.replace(s,"+")):(N=j.url.slice(b.length),j.data&&(j.processData||"string"==typeof j.data)&&(b+=(a.test(b)?"&":"?")+j.data,delete j.data),!1===j.cache&&(b=b.replace(l,"$1"),N=(a.test(b)?"&":"?")+"_="+i.guid+++N),j.url=b+N),j.ifModified&&(e.lastModified[b]&&R.setRequestHeader("If-Modified-Since",e.lastModified[b]),e.etag[b]&&R.setRequestHeader("If-None-Match",e.etag[b])),(j.data&&j.hasContent&&!1!==j.contentType||m.contentType)&&R.setRequestHeader("Content-Type",j.contentType),R.setRequestHeader("Accept",j.dataTypes[0]&&j.accepts[j.dataTypes[0]]?j.accepts[j.dataTypes[0]]+("*"!==j.dataTypes[0]?", "+v+"; q=0.01":""):j.accepts["*"]),j.headers)R.setRequestHeader(A,j.headers[A]);if(j.beforeSend&&(!1===j.beforeSend.call(D,R,j)||E))return R.abort();if(M="abort",q.add(j.complete),R.done(j.success),R.fail(j.error),x=y(h,j,m,R)){if(R.readyState=1,k&&L.trigger("ajaxSend",[R,j]),E)return R;j.async&&j.timeout>0&&(T=window.setTimeout((function(){R.abort("timeout")}),j.timeout));try{E=!1,x.send(_,P)}catch(e){if(E)throw e;P(-1,e)}}else P(-1,"No Transport");function P(t,n,r,o){var i,a,s,u,l,c=n;E||(E=!0,T&&window.clearTimeout(T),x=void 0,w=o||"",R.readyState=t>0?4:0,i=t>=200&&t<300||304===t,r&&(u=function(e,t,n){for(var r,o,i,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}(j,R,r)),!i&&e.inArray("script",j.dataTypes)>-1&&(j.converters["text script"]=function(){}),u=function(e,t,n,r){var o,i,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=c.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(!(a=l[u+" "+i]||l["* "+i]))for(o in l)if((s=o.split(" "))[1]===i&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[o]:!0!==l[o]&&(i=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}(j,u,R,i),i?(j.ifModified&&((l=R.getResponseHeader("Last-Modified"))&&(e.lastModified[b]=l),(l=R.getResponseHeader("etag"))&&(e.etag[b]=l)),204===t||"HEAD"===j.type?c="nocontent":304===t?c="notmodified":(c=u.state,a=u.data,i=!(s=u.error))):(s=c,!t&&c||(c="error",t<0&&(t=0))),R.status=t,R.statusText=(n||c)+"",i?O.resolveWith(D,[a,c,R]):O.rejectWith(D,[R,c,s]),R.statusCode(I),I=void 0,k&&L.trigger(i?"ajaxSuccess":"ajaxError",[R,j,i?a:s]),q.fireWith(D,[R,c]),k&&(L.trigger("ajaxComplete",[R,j]),--e.active||e.event.trigger("ajaxStop")))}return R},getJSON:function(t,n,r){return e.get(t,n,r,"json")},getScript:function(t,n){return e.get(t,void 0,n,"script")}}),e.each(["get","post"],(function(t,r){e[r]=function(t,o,i,a){return n(o)&&(a=a||i,i=o,o=void 0),e.ajax(e.extend({url:t,type:r,dataType:a,data:o,success:i},e.isPlainObject(t)&&t))}})),e.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),e}.apply(t,r))||(e.exports=o)},7533:(e,t,n)=>{var r,o;r=[n(8934),n(2134),n(6981),n(7661),n(7178)],void 0===(o=function(e,t,n,r){"use strict";var o=[],i=/(=)\?(?=&|$)|\?\?/;e.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=o.pop()||e.expando+"_"+n.guid++;return this[t]=!0,t}}),e.ajaxPrefilter("json jsonp",(function(n,a,s){var u,l,c,f=!1!==n.jsonp&&(i.test(n.url)?"url":"string"==typeof n.data&&0===(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&i.test(n.data)&&"data");if(f||"jsonp"===n.dataTypes[0])return u=n.jsonpCallback=t(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,f?n[f]=n[f].replace(i,"$1"+u):!1!==n.jsonp&&(n.url+=(r.test(n.url)?"&":"?")+n.jsonp+"="+u),n.converters["script json"]=function(){return c||e.error(u+" was not called"),c[0]},n.dataTypes[0]="json",l=window[u],window[u]=function(){c=arguments},s.always((function(){void 0===l?e(window).removeProp(u):window[u]=l,n[u]&&(n.jsonpCallback=a.jsonpCallback,o.push(u)),c&&t(l)&&l(c[0]),c=l=void 0})),"script"}))}.apply(t,r))||(e.exports=o)},4581:(e,t,n)=>{var r,o;r=[n(8934),n(4552),n(2134),n(2889),n(7178),n(8482),n(2632),n(655)],void 0===(o=function(e,t,n){"use strict";e.fn.load=function(r,o,i){var a,s,u,l=this,c=r.indexOf(" ");return c>-1&&(a=t(r.slice(c)),r=r.slice(0,c)),n(o)?(i=o,o=void 0):o&&"object"==typeof o&&(s="POST"),l.length>0&&e.ajax({url:r,type:s||"GET",dataType:"html",data:o}).done((function(t){u=arguments,l.html(a?e("
").append(e.parseHTML(t)).find(a):t)})).always(i&&function(e,t){l.each((function(){i.apply(this,u||[e.responseText,t,e])}))}),this}}.apply(t,r))||(e.exports=o)},5488:(e,t,n)=>{var r,o;r=[n(8934),n(7792),n(7178)],void 0===(o=function(e,t){"use strict";e.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),e.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return e.globalEval(t),t}}}),e.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),e.ajaxTransport("script",(function(n){var r,o;if(n.crossDomain||n.scriptAttrs)return{send:function(i,a){r=e("