Tätä skriptiä ei tulisi asentaa suoraan. Se on kirjasto muita skriptejä varten sisällytettäväksi metadirektiivillä // @require https://update.greasyfork.org/scripts/440237/1019741/book.js
.
/*! For license information please see book.js.LICENSE.txt */
(()=>{var e={2152:function(e){var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return A}});var r=n(279),o=n.n(r),i=n(370),a=n.n(i),s=n(817),l=n.n(s);function u(e){try{return document.execCommand(e)}catch(e){return!1}}var c=function(e){var t=l()(e);return u("cut"),t};function p(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}var f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";if("string"==typeof e){var r=p(e);t.container.appendChild(r),n=l()(r),u("copy"),r.remove()}else n=l()(e),u("copy");return n};function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var A=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(l,e);var t,n,r,o,i,s=(o=l,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v(o);if(i){var n=v(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return m(this,e)});function l(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(n=s.call(this)).resolveOptions(t),n.listenClick(e),n}return t=l,r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return f(e,t)}},{key:"cut",value:function(e){return c(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],(n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===h(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=a()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,o=e.target,i=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==o){if(!o||"object"!==d(o)||1!==o.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&o.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(o.hasAttribute("readonly")||o.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return i?f(i,{container:r}):o?"cut"===n?c(o):f(o,{container:r}):void 0}({action:this.action(t),container:this.container,target:this.target(t),text:this.text(t)});this.emit(n?"success":"error",{action:this.action,text:n,trigger:t,clearSelection:function(){t&&t.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return b("action",e)}},{key:"defaultTarget",value:function(e){var t=b("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return b("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}])&&g(t.prototype,n),r&&g(t,r),l}(o())},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function o(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,i)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),o=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(686)}().default},e.exports=t()},9755:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,l=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},u=i.push,c=i.indexOf,p={},f=p.toString,d=p.hasOwnProperty,h=d.toString,g=h.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},v=function(e){return null!=e&&e===e.window},b=r.document,A={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,n){var r,o,i=(n=n||b).createElement("script");if(i.text=e,t)for(r in A)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[f.call(e)]||"object":typeof e}var C="3.6.0",T=function(e,t){return new T.fn.init(e,t)};function E(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}T.fn=T.prototype={jquery:C,constructor:T,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(T.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:i.sort,splice:i.splice},T.extend=T.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(u&&r&&(T.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||T.isPlainObject(n)?n:{},o=!1,a[t]=T.extend(u,i,r)):void 0!==r&&(a[t]=r));return a},T.extend({expando:"jQuery"+(C+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e)||(t=a(e))&&("function"!=typeof(n=d.call(t,"constructor")&&t.constructor)||h.call(n)!==g))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){x(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(E(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(E(Object(e))?T.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:c.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(E(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return l(a)},guid:1,support:y}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=i[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){p["[object "+t+"]"]=t.toLowerCase()}));var _=function(e){var t,n,r,o,i,a,s,l,u,c,p,f,d,h,g,y,m,v,b,A="sizzle"+1*new Date,x=e.document,w=0,C=0,T=le(),E=le(),_=le(),S=le(),k=function(e,t){return e===t&&(p=!0),0},j={}.hasOwnProperty,I=[],N=I.pop,B=I.push,L=I.push,D=I.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},O="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",H="[\\x20\\t\\r\\n\\f]",M="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",R="\\[[\\x20\\t\\r\\n\\f]*("+M+")(?:"+H+"*([*^$|!~]?=)"+H+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+H+"*\\]",q=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",W=new RegExp(H+"+","g"),F=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),$=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),z=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),U=new RegExp(H+"|>"),Y=new RegExp(q),X=new RegExp("^"+M+"$"),V={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+q),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("^(?:"+O+")$","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")},G=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=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))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){f()},ae=Ae((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{L.apply(I=D.call(x.childNodes),x.childNodes),I[x.childNodes.length].nodeType}catch(e){L={apply:I.length?function(e,t){B.apply(e,D.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,o){var i,s,u,c,p,h,m,v=t&&t.ownerDocument,x=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return r;if(!o&&(f(t),t=t||d,g)){if(11!==x&&(p=J.exec(e)))if(i=p[1]){if(9===x){if(!(u=t.getElementById(i)))return r;if(u.id===i)return r.push(u),r}else if(v&&(u=v.getElementById(i))&&b(t,u)&&u.id===i)return r.push(u),r}else{if(p[2])return L.apply(r,t.getElementsByTagName(e)),r;if((i=p[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!S[e+" "]&&(!y||!y.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(m=e,v=t,1===x&&(U.test(e)||z.test(e))){for((v=ee.test(e)&&me(t.parentNode)||t)===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(re,oe):t.setAttribute("id",c=A)),s=(h=a(e)).length;s--;)h[s]=(c?"#"+c:":scope")+" "+be(h[s]);m=h.join(",")}try{return L.apply(r,v.querySelectorAll(m)),r}catch(t){S(e,!0)}finally{c===A&&t.removeAttribute("id")}}}return l(e.replace(F,"$1"),t,r,o)}function le(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ue(e){return e[A]=!0,e}function ce(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function pe(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function fe(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 de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(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&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ye(e){return ue((function(t){return t=+t,ue((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 me(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!G.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:x;return a!=d&&9===a.nodeType&&a.documentElement?(h=(d=a).documentElement,g=!i(d),x!=d&&(o=d.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.scope=ce((function(e){return h.appendChild(e).appendChild(d.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ce((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ce((function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(d.getElementsByClassName),n.getById=ce((function(e){return h.appendChild(e).id=A,!d.getElementsByName||!d.getElementsByName(A).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},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){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){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[]}}),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=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},m=[],y=[],(n.qsa=K.test(d.querySelectorAll))&&(ce((function(e){var t;h.appendChild(e).innerHTML="<a id='"+A+"'></a><select id='"+A+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+O+")"),e.querySelectorAll("[id~="+A+"-]").length||y.push("~="),(t=d.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||y.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+A+"+*").length||y.push(".#.+[+~]"),e.querySelectorAll("\\\f"),y.push("[\\r\\n\\f]")})),ce((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")}))),(n.matchesSelector=K.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ce((function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),m.push("!=",q)})),y=y.length&&new RegExp(y.join("|")),m=m.length&&new RegExp(m.join("|")),t=K.test(h.compareDocumentPosition),b=t||K.test(h.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},k=t?function(e,t){if(e===t)return p=!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==x&&b(x,e)?-1:t==d||t.ownerDocument==x&&b(x,t)?1:c?P(c,e)-P(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return p=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==d?-1:t==d?1:o?-1:i?1:c?P(c,e)-P(c,t):0;if(o===i)return fe(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?fe(a[r],s[r]):a[r]==x?-1:s[r]==x?1:0},d):d},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&g&&!S[t+" "]&&(!m||!m.test(t))&&(!y||!y.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){S(t,!0)}return se(t,d,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=d&&f(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=d&&f(e);var o=r.attrHandle[t.toLowerCase()],i=o&&j.call(r.attrHandle,t.toLowerCase())?o(e,t,!g):void 0;return void 0!==i?i:n.attributes||!g?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],o=0,i=0;if(p=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(k),p){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return c=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(r=se.selectors={cacheLength:50,createPseudo:ue,match:V,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]||se.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]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=a(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=T[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+H+"|$)"))&&T(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=se.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(W," ")+" ").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,l){var u,c,p,f,d,h,g=i!==a?"nextSibling":"previousSibling",y=t.parentNode,m=s&&t.nodeName.toLowerCase(),v=!l&&!s,b=!1;if(y){if(i){for(;g;){for(f=t;f=f[g];)if(s?f.nodeName.toLowerCase()===m:1===f.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&v){for(b=(d=(u=(c=(p=(f=y)[A]||(f[A]={}))[f.uniqueID]||(p[f.uniqueID]={}))[e]||[])[0]===w&&u[1])&&u[2],f=d&&y.childNodes[d];f=++d&&f&&f[g]||(b=d=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[w,d,b];break}}else if(v&&(b=d=(u=(c=(p=(f=t)[A]||(f[A]={}))[f.uniqueID]||(p[f.uniqueID]={}))[e]||[])[0]===w&&u[1]),!1===b)for(;(f=++d&&f&&f[g]||(b=d=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==m:1!==f.nodeType)||!++b||(v&&((c=(p=f[A]||(f[A]={}))[f.uniqueID]||(p[f.uniqueID]={}))[e]=[w,b]),f!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[A]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ue((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=P(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:ue((function(e){var t=[],n=[],r=s(e.replace(F,"$1"));return r[A]?ue((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:ue((function(e){return function(t){return se(e,t).length>0}})),contains:ue((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:ue((function(e){return X.test(e||"")||se.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===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!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!r.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return Z.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:ye((function(){return[0]})),last:ye((function(e,t){return[t-1]})),eq:ye((function(e,t,n){return[n<0?n+t:n]})),even:ye((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ye((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ye((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ye((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=de(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ve(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function Ae(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=C++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var u,c,p,f=[w,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(c=(p=t[A]||(t[A]={}))[t.uniqueID]||(p[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((u=c[i])&&u[0]===w&&u[1]===s)return f[2]=u[2];if(c[i]=f,f[2]=e(t,n,l))return!0}return!1}}function xe(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function we(e,t,n,r,o){for(var i,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),u&&t.push(s)));return a}function Ce(e,t,n,r,o,i){return r&&!r[A]&&(r=Ce(r)),o&&!o[A]&&(o=Ce(o,i)),ue((function(i,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),y=!e||!i&&t?g:we(g,f,e,s,l),m=n?o||(i?e:h||r)?[]:a:y;if(n&&n(y,m,s,l),r)for(u=we(m,d),r(u,[],s,l),c=u.length;c--;)(p=u[c])&&(m[d[c]]=!(y[d[c]]=p));if(i){if(o||e){if(o){for(u=[],c=m.length;c--;)(p=m[c])&&u.push(y[c]=p);o(null,m=[],u,l)}for(c=m.length;c--;)(p=m[c])&&(u=o?P(i,p):f[c])>-1&&(i[u]=!(a[u]=p))}}else m=we(m===a?m.splice(h,m.length):m),o?o(null,a,m,l):L.apply(a,m)}))}function Te(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],l=a?1:0,c=Ae((function(e){return e===t}),s,!0),p=Ae((function(e){return P(t,e)>-1}),s,!0),f=[function(e,n,r){var o=!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r));return t=null,o}];l<i;l++)if(n=r.relative[e[l].type])f=[Ae(xe(f),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[A]){for(o=++l;o<i&&!r.relative[e[o].type];o++);return Ce(l>1&&xe(f),l>1&&be(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(F,"$1"),n,l<o&&Te(e.slice(l,o)),o<i&&Te(e=e.slice(o)),o<i&&be(e))}f.push(n)}return xe(f)}return ve.prototype=r.filters=r.pseudos,r.setFilters=new ve,a=se.tokenize=function(e,t){var n,o,i,a,s,l,u,c=E[e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],u=r.preFilter;s;){for(a in n&&!(o=$.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),n=!1,(o=z.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(F," ")}),s=s.slice(n.length)),r.filter)!(o=V[a].exec(s))||u[a]&&!(o=u[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):E(e,l).slice(0)},s=se.compile=function(e,t){var n,o=[],i=[],s=_[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Te(t[n]))[A]?o.push(s):i.push(s);(s=_(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,l,c){var p,h,y,m=0,v="0",b=i&&[],A=[],x=u,C=i||o&&r.find.TAG("*",c),T=w+=null==x?1:Math.random()||.1,E=C.length;for(c&&(u=a==d||a||c);v!==E&&null!=(p=C[v]);v++){if(o&&p){for(h=0,a||p.ownerDocument==d||(f(p),s=!g);y=e[h++];)if(y(p,a||d,s)){l.push(p);break}c&&(w=T)}n&&((p=!y&&p)&&m--,i&&b.push(p))}if(m+=v,n&&v!==m){for(h=0;y=t[h++];)y(b,A,a,s);if(i){if(m>0)for(;v--;)b[v]||A[v]||(A[v]=N.call(l));A=we(A)}L.apply(l,A),c&&!i&&A.length>0&&m+t.length>1&&se.uniqueSort(l)}return c&&(w=T,u=x),b};return n?ue(i):i}(i,o))).selector=e}return s},l=se.select=function(e,t,n,o){var i,l,u,c,p,f="function"==typeof e&&e,d=!o&&a(e=f.selector||e);if(n=n||[],1===d.length){if((l=d[0]=d[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===t.nodeType&&g&&r.relative[l[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(i=V.needsContext.test(e)?0:l.length;i--&&(u=l[i],!r.relative[c=u.type]);)if((p=r.find[c])&&(o=p(u.matches[0].replace(te,ne),ee.test(l[0].type)&&me(t.parentNode)||t))){if(l.splice(i,1),!(e=o.length&&be(l)))return L.apply(n,o),n;break}}return(f||s(e,d))(o,t,!g,n,!t||ee.test(e)&&me(t.parentNode)||t),n},n.sortStable=A.split("").sort(k).join("")===A,n.detectDuplicates=!!p,f(),n.sortDetached=ce((function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))})),ce((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||pe("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ce((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||pe("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ce((function(e){return null==e.getAttribute("disabled")}))||pe(O,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);T.find=_,T.expr=_.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=_.uniqueSort,T.text=_.getText,T.isXMLDoc=_.isXML,T.contains=_.contains,T.escapeSelector=_.escape;var S=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&T(e).is(n))break;r.push(e)}return r},k=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},j=T.expr.match.needsContext;function I(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function B(e,t,n){return m(t)?T.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?T.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?T.grep(e,(function(e){return c.call(t,e)>-1!==n})):T.filter(t,e,n)}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,(function(e){return 1===e.nodeType})))},T.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(T(e).filter((function(){for(t=0;t<r;t++)if(T.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)T.find(e,o[t],n);return r>1?T.uniqueSort(n):n},filter:function(e){return this.pushStack(B(this,e||[],!1))},not:function(e){return this.pushStack(B(this,e||[],!0))},is:function(e){return!!B(this,"string"==typeof e&&j.test(e)?T(e):e||[],!1).length}});var L,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||L,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:D.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),N.test(r[1])&&T.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=b.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,L=T(b);var P=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function H(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&T(e);if(!j.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?T.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?c.call(T(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return S(e,"parentNode")},parentsUntil:function(e,t,n){return S(e,"parentNode",n)},next:function(e){return H(e,"nextSibling")},prev:function(e){return H(e,"previousSibling")},nextAll:function(e){return S(e,"nextSibling")},prevAll:function(e){return S(e,"previousSibling")},nextUntil:function(e,t,n){return S(e,"nextSibling",n)},prevUntil:function(e,t,n){return S(e,"previousSibling",n)},siblings:function(e){return k((e.parentNode||{}).firstChild,e)},children:function(e){return k(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(I(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},(function(e,t){T.fn[e]=function(n,r){var o=T.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=T.filter(r,o)),this.length>1&&(O[e]||T.uniqueSort(o),P.test(e)&&o.reverse()),this.pushStack(o)}}));var M=/[^\x20\t\r\n\f]+/g;function R(e){return e}function q(e){throw e}function W(e,t,n,r){var o;try{e&&m(o=e.promise)?o.call(e).done(t).fail(n):e&&m(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(M)||[],(function(e,n){t[n]=!0})),t}(e):T.extend({},e);var t,n,r,o,i=[],a=[],s=-1,l=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},u={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){T.each(n,(function(n,r){m(r)?e.unique&&u.has(r)||i.push(r):r&&r.length&&"string"!==w(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return T.each(arguments,(function(e,t){for(var n;(n=T.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?T.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},T.extend({Deferred:function(e){var t=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return T.Deferred((function(n){T.each(t,(function(t,r){var o=m(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&m(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,l=arguments,u=function(){var r,u;if(!(e<i)){if((r=n.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");u=r&&("object"==typeof r||"function"==typeof r)&&r.then,m(u)?o?u.call(r,a(i,t,R,o),a(i,t,q,o)):(i++,u.call(r,a(i,t,R,o),a(i,t,q,o),a(i,t,R,t.notifyWith))):(n!==R&&(s=void 0,l=[r]),(o||t.resolveWith)(s,l))}},c=o?u:function(){try{u()}catch(r){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(r,c.stackTrace),e+1>=i&&(n!==q&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?c():(T.Deferred.getStackHook&&(c.stackTrace=T.Deferred.getStackHook()),r.setTimeout(c))}}return T.Deferred((function(r){t[0][3].add(a(0,r,m(o)?o:R,r.notifyWith)),t[1][3].add(a(0,r,m(e)?e:R)),t[2][3].add(a(0,r,m(n)?n:q))})).promise()},promise:function(e){return null!=e?T.extend(e,o):o}},i={};return T.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=T.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(W(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||m(o[n]&&o[n].then)))return i.then();for(;n--;)W(o[n],a(n),i.reject);return i.promise()}});var F=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&F.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){r.setTimeout((function(){throw e}))};var $=T.Deferred();function z(){b.removeEventListener("DOMContentLoaded",z),r.removeEventListener("load",z),T.ready()}T.fn.ready=function(e){return $.then(e).catch((function(e){T.readyException(e)})),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==e&&--T.readyWait>0||$.resolveWith(b,[T]))}}),T.ready.then=$.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(T.ready):(b.addEventListener("DOMContentLoaded",z),r.addEventListener("load",z));var U=function(e,t,n,r,o,i,a){var s=0,l=e.length,u=null==n;if("object"===w(n))for(s in o=!0,n)U(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,m(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(T(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:u?t.call(e):l?t(e[0],n):i},Y=/^-ms-/,X=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function G(e){return e.replace(Y,"ms-").replace(X,V)}var Z=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Q(){this.expando=T.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Z(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[G(t)]=n;else for(r in t)o[G(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][G(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(G):(t=G(t))in r?[t]:t.match(M)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||T.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var K=new Q,J=new Q,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}J.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return J.hasData(e)||K.hasData(e)},data:function(e,t,n){return J.access(e,t,n)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,n){return K.access(e,t,n)},_removeData:function(e,t){K.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=J.get(i),1===i.nodeType&&!K.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=G(r.slice(5)),ne(i,r,o[r]));K.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){J.set(this,e)})):U(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=J.get(i,e))||void 0!==(n=ne(i,e))?n:void 0;this.each((function(){J.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){J.remove(this,e)}))}}),T.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=K.get(e,t),n&&(!r||Array.isArray(n)?r=K.access(e,t,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),r=n.length,o=n.shift(),i=T._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){T.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return K.get(e,n)||K.access(e,n,{empty:T.Callbacks("once memory").add((function(){K.remove(e,[t+"queue",n])}))})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?T.queue(this[0],e):void 0===t?this:this.each((function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){T.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=T.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=K.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=b.documentElement,se=function(e){return T.contains(e.ownerDocument,e)},le={composed:!0};ae.getRootNode&&(se=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(le)===e.ownerDocument});var ue=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===T.css(e,"display")};function ce(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return T.css(e,t,"")},l=s(),u=n&&n[3]||(T.cssNumber[t]?"":"px"),c=e.nodeType&&(T.cssNumber[t]||"px"!==u&&+l)&&oe.exec(T.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;a--;)T.style(e,t,c+u),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),c/=i;c*=2,T.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=o)),o}var pe={};function fe(e){var t,n=e.ownerDocument,r=e.nodeName,o=pe[r];return o||(t=n.body.appendChild(n.createElement(r)),o=T.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),pe[r]=o,o)}function de(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=K.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ue(r)&&(o[i]=fe(r))):"none"!==n&&(o[i]="none",K.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}T.fn.extend({show:function(){return de(this,!0)},hide:function(){return de(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ue(this)?T(this).show():T(this).hide()}))}});var he,ge,ye=/^(?:checkbox|radio)$/i,me=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(ge=b.createElement("input")).setAttribute("type","radio"),ge.setAttribute("checked","checked"),ge.setAttribute("name","t"),he.appendChild(ge),y.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",y.option=!!he.lastChild;var be={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Ae(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&I(e,t)?T.merge([e],n):n}function xe(e,t){for(var n=0,r=e.length;n<r;n++)K.set(e[n],"globalEval",!t||K.get(t[n],"globalEval"))}be.tbody=be.tfoot=be.colgroup=be.caption=be.thead,be.th=be.td,y.option||(be.optgroup=be.option=[1,"<select multiple='multiple'>","</select>"]);var we=/<|&#?\w+;/;function Ce(e,t,n,r,o){for(var i,a,s,l,u,c,p=t.createDocumentFragment(),f=[],d=0,h=e.length;d<h;d++)if((i=e[d])||0===i)if("object"===w(i))T.merge(f,i.nodeType?[i]:i);else if(we.test(i)){for(a=a||p.appendChild(t.createElement("div")),s=(me.exec(i)||["",""])[1].toLowerCase(),l=be[s]||be._default,a.innerHTML=l[1]+T.htmlPrefilter(i)+l[2],c=l[0];c--;)a=a.lastChild;T.merge(f,a.childNodes),(a=p.firstChild).textContent=""}else f.push(t.createTextNode(i));for(p.textContent="",d=0;i=f[d++];)if(r&&T.inArray(i,r)>-1)o&&o.push(i);else if(u=se(i),a=Ae(p.appendChild(i),"script"),u&&xe(a),n)for(c=0;i=a[c++];)ve.test(i.type||"")&&n.push(i);return p}var Te=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function _e(){return!1}function Se(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function ke(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)ke(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=_e;else if(!o)return e;return 1===i&&(a=o,(o=function(e){return T().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=T.guid++)),e.each((function(){T.event.add(this,t,o,r,n)}))}function je(e,t,n){n?(K.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=K.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),K.set(this,t,i),r=n(this,t),this[t](),i!==(o=K.get(this,t))||r?K.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else i.length&&(K.set(this,t,{value:T.event.trigger(T.extend(i[0],T.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===K.get(e,t)&&T.event.add(e,t,Ee)}T.event={global:{},add:function(e,t,n,r,o){var i,a,s,l,u,c,p,f,d,h,g,y=K.get(e);if(Z(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&T.find.matchesSelector(ae,o),n.guid||(n.guid=T.guid++),(l=y.events)||(l=y.events=Object.create(null)),(a=y.handle)||(a=y.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(M)||[""]).length;u--;)d=g=(s=Te.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),d&&(p=T.event.special[d]||{},d=(o?p.delegateType:p.bindType)||d,p=T.event.special[d]||{},c=T.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=l[d])||((f=l[d]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),T.event.global[d]=!0)},remove:function(e,t,n,r,o){var i,a,s,l,u,c,p,f,d,h,g,y=K.hasData(e)&&K.get(e);if(y&&(l=y.events)){for(u=(t=(t||"").match(M)||[""]).length;u--;)if(d=g=(s=Te.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),d){for(p=T.event.special[d]||{},f=l[d=(r?p.delegateType:p.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)c=f[i],!o&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(i,1),c.selector&&f.delegateCount--,p.remove&&p.remove.call(e,c));a&&!f.length&&(p.teardown&&!1!==p.teardown.call(e,h,y.handle)||T.removeEvent(e,d,y.handle),delete l[d])}else for(d in l)T.event.remove(e,d+t[u],n,r,!0);T.isEmptyObject(l)&&K.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),l=T.event.fix(e),u=(K.get(this,"events")||Object.create(null))[l.type]||[],c=T.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(a=T.event.handlers.call(this,l,u),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(r=((T.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,o,i,a,s=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],a={},n=0;n<l;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?T(o,this).index(u)>-1:T.find(o,this,null,[u]).length),a[o]&&i.push(r);i.length&&s.push({elem:u,handlers:i})}return u=this,l<t.length&&s.push({elem:u,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:m(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ye.test(t.type)&&t.click&&I(t,"input")&&je(t,"click",Ee),!1},trigger:function(e){var t=this||e;return ye.test(t.type)&&t.click&&I(t,"input")&&je(t,"click"),!0},_default:function(e){var t=e.target;return ye.test(t.type)&&t.click&&I(t,"input")&&K.get(t,"click")||I(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ee:_e,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:_e,isPropagationStopped:_e,isImmediatePropagationStopped:_e,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ee,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ee,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ee,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},(function(e,t){T.event.special[e]={setup:function(){return je(this,e,Se),!1},trigger:function(){return je(this,e),!0},_default:function(){return!0},delegateType:t}})),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||T.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),T.fn.extend({on:function(e,t,n,r){return ke(this,e,t,n,r)},one:function(e,t,n,r){return ke(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,T(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=_e),this.each((function(){T.event.remove(this,e,n,t)}))}});var Ie=/<script|<style|<link/i,Ne=/checked\s*(?:[^=]|=\s*.checked.)/i,Be=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Le(e,t){return I(e,"table")&&I(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Pe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(K.hasData(e)&&(s=K.get(e).events))for(o in K.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)T.event.add(t,o,s[o][n]);J.hasData(e)&&(i=J.access(e),a=T.extend({},i),J.set(t,a))}}function He(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ye.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Me(e,t,n,r){t=l(t);var o,i,a,s,u,c,p=0,f=e.length,d=f-1,h=t[0],g=m(h);if(g||f>1&&"string"==typeof h&&!y.checkClone&&Ne.test(h))return e.each((function(o){var i=e.eq(o);g&&(t[0]=h.call(this,o,i.html())),Me(i,t,n,r)}));if(f&&(i=(o=Ce(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=T.map(Ae(o,"script"),De)).length;p<f;p++)u=o,p!==d&&(u=T.clone(u,!0,!0),s&&T.merge(a,Ae(u,"script"))),n.call(e[p],u,p);if(s)for(c=a[a.length-1].ownerDocument,T.map(a,Pe),p=0;p<s;p++)u=a[p],ve.test(u.type||"")&&!K.access(u,"globalEval")&&T.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?T._evalUrl&&!u.noModule&&T._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):x(u.textContent.replace(Be,""),u,c))}return e}function Re(e,t,n){for(var r,o=t?T.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||T.cleanData(Ae(r)),r.parentNode&&(n&&se(r)&&xe(Ae(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),l=se(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(a=Ae(s),r=0,o=(i=Ae(e)).length;r<o;r++)He(i[r],a[r]);if(t)if(n)for(i=i||Ae(e),a=a||Ae(s),r=0,o=i.length;r<o;r++)Oe(i[r],a[r]);else Oe(e,s);return(a=Ae(s,"script")).length>0&&xe(a,!l&&Ae(e,"script")),s},cleanData:function(e){for(var t,n,r,o=T.event.special,i=0;void 0!==(n=e[i]);i++)if(Z(n)){if(t=n[K.expando]){if(t.events)for(r in t.events)o[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[K.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),T.fn.extend({detach:function(e){return Re(this,e,!0)},remove:function(e){return Re(this,e)},text:function(e){return U(this,(function(e){return void 0===e?T.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 Me(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)}))},prepend:function(){return Me(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Me(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Me(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&&(T.cleanData(Ae(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return T.clone(this,e,t)}))},html:function(e){return U(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&&!Ie.test(e)&&!be[(me.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(Ae(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Me(this,arguments,(function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(Ae(this)),n&&n.replaceChild(t,this))}),e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){T.fn[e]=function(e){for(var n,r=[],o=T(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),T(o[a])[t](n),u.apply(r,n.get());return this.pushStack(r)}}));var qe=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),We=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Fe=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},$e=new RegExp(ie.join("|"),"i");function ze(e,t,n){var r,o,i,a,s=e.style;return(n=n||We(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||se(e)||(a=T.style(e,t)),!y.pixelBoxStyles()&&qe.test(a)&&$e.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function Ue(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(u).appendChild(c);var e=r.getComputedStyle(c);n="1%"!==e.top,l=12===t(e.marginLeft),c.style.right="60%",a=36===t(e.right),o=36===t(e.width),c.style.position="absolute",i=12===t(c.offsetWidth/3),ae.removeChild(u),c=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,l,u=b.createElement("div"),c=b.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===c.style.backgroundClip,T.extend(y,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ae.appendChild(e).appendChild(t).appendChild(n),o=r.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var Ye=["Webkit","Moz","ms"],Xe=b.createElement("div").style,Ve={};function Ge(e){return T.cssProps[e]||Ve[e]||(e in Xe?e:Ve[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ye.length;n--;)if((e=Ye[n]+t)in Xe)return e}(e)||e)}var Ze=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,Ke={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var r=oe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function tt(e,t,n,r,o,i){var a="width"===t?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=T.css(e,n+ie[a],!0,o)),r?("content"===n&&(l-=T.css(e,"padding"+ie[a],!0,o)),"margin"!==n&&(l-=T.css(e,"border"+ie[a]+"Width",!0,o))):(l+=T.css(e,"padding"+ie[a],!0,o),"padding"!==n?l+=T.css(e,"border"+ie[a]+"Width",!0,o):s+=T.css(e,"border"+ie[a]+"Width",!0,o));return!r&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l}function nt(e,t,n){var r=We(e),o=(!y.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,r),i=o,a=ze(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(qe.test(a)){if(!n)return a;a="auto"}return(!y.boxSizingReliable()&&o||!y.reliableTrDimensions()&&I(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===T.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+tt(e,t,n||(o?"border":"content"),i,r,a)+"px"}function rt(e,t,n,r,o){return new rt.prototype.init(e,t,n,r,o)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ze(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=G(t),l=Qe.test(t),u=e.style;if(l||(t=Ge(s)),a=T.cssHooks[t]||T.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:u[t];"string"==(i=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=ce(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=o&&o[3]||(T.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var o,i,a,s=G(t);return Qe.test(t)||(t=Ge(s)),(a=T.cssHooks[t]||T.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=ze(e,t,r)),"normal"===o&&t in Je&&(o=Je[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),T.each(["height","width"],(function(e,t){T.cssHooks[t]={get:function(e,n,r){if(n)return!Ze.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,r):Fe(e,Ke,(function(){return nt(e,t,r)}))},set:function(e,n,r){var o,i=We(e),a=!y.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===T.css(e,"boxSizing",!1,i),l=r?tt(e,t,r,s,i):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-tt(e,t,"border",!1,i)-.5)),l&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),et(0,n,l)}}})),T.cssHooks.marginLeft=Ue(y.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(ze(e,"marginLeft"))||e.getBoundingClientRect().left-Fe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),T.each({margin:"",padding:"",border:"Width"},(function(e,t){T.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+ie[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(T.cssHooks[e+t].set=et)})),T.fn.extend({css:function(e,t){return U(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=We(e),o=t.length;a<o;a++)i[t[a]]=T.css(e,t[a],!1,r);return i}return void 0!==n?T.style(e,t,n):T.css(e,t)}),e,t,arguments.length>1)}}),T.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(T.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=T.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):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.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=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[Ge(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=rt.prototype.init,T.fx.step={};var ot,it,at=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function lt(){it&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(lt):r.setTimeout(lt,T.fx.interval),T.fx.tick())}function ut(){return r.setTimeout((function(){ot=void 0})),ot=Date.now()}function ct(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ie[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function pt(e,t,n){for(var r,o=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function ft(e,t,n){var r,o,i=0,a=ft.prefilters.length,s=T.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=ot||ut(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),i=0,a=u.tweens.length;i<a;i++)u.tweens[i].run(r);return s.notifyWith(e,[u,r,n]),r<1&&a?n:(a||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:ot||ut(),duration:n.duration,tweens:[],createTween:function(t,n){var r=T.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),c=u.props;for(function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=G(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=T.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(c,u.opts.specialEasing);i<a;i++)if(r=ft.prefilters[i].call(u,e,c,u.opts))return m(r.stop)&&(T._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return T.map(c,pt,u),m(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),T.fx.timer(T.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}T.Animation=T.extend(ft,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(M);for(var n,r=0,o=e.length;r<o;r++)n=e[r],ft.tweeners[n]=ft.tweeners[n]||[],ft.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,l,u,c,p="width"in t||"height"in t,f=this,d={},h=e.style,g=e.nodeType&&ue(e),y=K.get(e,"fxshow");for(r in n.queue||(null==(a=T._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,T.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],at.test(o)){if(delete t[r],i=i||"toggle"===o,o===(g?"hide":"show")){if("show"!==o||!y||void 0===y[r])continue;g=!0}d[r]=y&&y[r]||T.style(e,r)}if((l=!T.isEmptyObject(t))||!T.isEmptyObject(d))for(r in p&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(u=y&&y.display)&&(u=K.get(e,"display")),"none"===(c=T.css(e,"display"))&&(u?c=u:(de([e],!0),u=e.style.display||u,c=T.css(e,"display"),de([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===T.css(e,"float")&&(l||(f.done((function(){h.display=u})),null==u&&(c=h.display,u="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),l=!1,d)l||(y?"hidden"in y&&(g=y.hidden):y=K.access(e,"fxshow",{display:u}),i&&(y.hidden=!g),g&&de([e],!0),f.done((function(){for(r in g||de([e]),K.remove(e,"fxshow"),d)T.style(e,r,d[r])}))),l=pt(g?y[r]:0,r,f),r in y||(y[r]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?ft.prefilters.unshift(e):ft.prefilters.push(e)}}),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return T.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in T.fx.speeds?r.duration=T.fx.speeds[r.duration]:r.duration=T.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ue).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=T.isEmptyObject(e),i=T.speed(t,n,r),a=function(){var t=ft(this,T.extend({},e),i);(o||K.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=T.timers,a=K.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&st.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||T.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=K.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=T.timers,a=r?r.length:0;for(n.finish=!0,T.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),T.each(["toggle","show","hide"],(function(e,t){var n=T.fn[t];T.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,r,o)}})),T.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){T.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(ot=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),ot=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){it||(it=!0,lt())},T.fx.stop=function(){it=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(e,t){return e=T.fx&&T.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(o)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",y.checkOn=""!==e.value,y.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",y.radioValue="t"===e.value}();var dt,ht=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return U(this,T.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){T.removeAttr(this,e)}))}}),T.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?T.prop(e,t,n):(1===i&&T.isXMLDoc(e)||(o=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=T.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&I(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(M);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=ht[t]||T.find.attr;ht[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=ht[a],ht[a]=o,o=null!=n(e,t,r)?a:null,ht[a]=i),o}}));var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;function mt(e){return(e.match(M)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(M)||[]}T.fn.extend({prop:function(e,t){return U(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[T.propFix[e]||e]}))}}),T.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&T.isXMLDoc(e)||(t=T.propFix[t]||t,o=T.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(T.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)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){T.propFix[this.toLowerCase()]=this})),T.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,l=0;if(m(e))return this.each((function(t){T(this).addClass(e.call(this,t,vt(this)))}));if((t=bt(e)).length)for(;n=this[l++];)if(o=vt(n),r=1===n.nodeType&&" "+mt(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=mt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,l=0;if(m(e))return this.each((function(t){T(this).removeClass(e.call(this,t,vt(this)))}));if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[l++];)if(o=vt(n),r=1===n.nodeType&&" "+mt(o)+" "){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(s=mt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):m(e)?this.each((function(n){T(this).toggleClass(e.call(this,n,vt(this),t),t)})):this.each((function(){var t,o,i,a;if(r)for(o=0,i=T(this),a=bt(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=vt(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":K.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+mt(vt(n))+" ").indexOf(t)>-1)return!0;return!1}});var At=/\r/g;T.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=m(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,T(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=T.map(o,(function(e){return null==e?"":e+""}))),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=T.valHooks[o.type]||T.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(At,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:mt(T.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?i+1:o.length;for(r=i<0?l:a?i:0;r<l;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!I(n.parentNode,"optgroup"))){if(t=T(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=T.makeArray(t),a=o.length;a--;)((r=o[a]).selected=T.inArray(T.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),T.each(["radio","checkbox"],(function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=T.inArray(T(e).val(),t)>-1}},y.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),y.focusin="onfocusin"in r;var xt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,n,o){var i,a,s,l,u,c,p,f,h=[n||b],g=d.call(e,"type")?e.type:e,y=d.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!xt.test(g+T.event.triggered)&&(g.indexOf(".")>-1&&(y=g.split("."),g=y.shift(),y.sort()),u=g.indexOf(":")<0&&"on"+g,(e=e[T.expando]?e:new T.Event(g,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:T.makeArray(t,[e]),p=T.event.special[g]||{},o||!p.trigger||!1!==p.trigger.apply(n,t))){if(!o&&!p.noBubble&&!v(n)){for(l=p.delegateType||g,xt.test(l+g)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=h[i++])&&!e.isPropagationStopped();)f=a,e.type=i>1?l:p.bindType||g,(c=(K.get(a,"events")||Object.create(null))[e.type]&&K.get(a,"handle"))&&c.apply(a,t),(c=u&&a[u])&&c.apply&&Z(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,o||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(h.pop(),t)||!Z(n)||u&&m(n[g])&&!v(n)&&((s=n[u])&&(n[u]=null),T.event.triggered=g,e.isPropagationStopped()&&f.addEventListener(g,wt),n[g](),e.isPropagationStopped()&&f.removeEventListener(g,wt),T.event.triggered=void 0,s&&(n[u]=s)),e.result}},simulate:function(e,t,n){var r=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(r,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each((function(){T.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}}),y.focusin||T.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){T.event.simulate(t,e.target,T.event.fix(e))};T.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=K.access(r,t);o||r.addEventListener(e,n,!0),K.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=K.access(r,t)-1;o?K.access(r,t,o):(r.removeEventListener(e,n,!0),K.remove(r,t))}}}));var Ct=r.location,Tt={guid:Date.now()},Et=/\?/;T.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||T.error("Invalid XML: "+(n?T.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var _t=/\[\]$/,St=/\r?\n/g,kt=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;function It(e,t,n,r){var o;if(Array.isArray(t))T.each(t,(function(t,o){n||_t.test(e)?r(e,o):It(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==w(t))r(e,t);else for(o in t)It(e+"["+o+"]",t[o],n,r)}T.param=function(e,t){var n,r=[],o=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,(function(){o(this.name,this.value)}));else for(n in e)It(n,e[n],t,o);return r.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&jt.test(this.nodeName)&&!kt.test(e)&&(this.checked||!ye.test(e))})).map((function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,(function(e){return{name:t.name,value:e.replace(St,"\r\n")}})):{name:t.name,value:n.replace(St,"\r\n")}})).get()}});var Nt=/%20/g,Bt=/#.*$/,Lt=/([?&])_=[^&]*/,Dt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:GET|HEAD)$/,Ot=/^\/\//,Ht={},Mt={},Rt="*/".concat("*"),qt=b.createElement("a");function Wt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(M)||[];if(m(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Ft(e,t,n,r){var o={},i=e===Mt;function a(s){var l;return o[s]=!0,T.each(e[s]||[],(function(e,s){var u=s(t,n,r);return"string"!=typeof u||i||o[u]?i?!(l=u):void 0:(t.dataTypes.unshift(u),a(u),!1)})),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function $t(e,t){var n,r,o=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&T.extend(!0,e,r),e}qt.href=Ct.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Rt,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":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$t($t(e,T.ajaxSettings),t):$t(T.ajaxSettings,e)},ajaxPrefilter:Wt(Ht),ajaxTransport:Wt(Mt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,l,u,c,p,f,d=T.ajaxSetup({},t),h=d.context||d,g=d.context&&(h.nodeType||h.jquery)?T(h):T.event,y=T.Deferred(),m=T.Callbacks("once memory"),v=d.statusCode||{},A={},x={},w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=Dt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?i:null},setRequestHeader:function(e,t){return null==u&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,A[e]=t),this},overrideMimeType:function(e){return null==u&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)C.always(e[C.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||w;return n&&n.abort(t),E(0,t),this}};if(y.promise(C),d.url=((e||d.url||Ct.href)+"").replace(Ot,Ct.protocol+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(M)||[""],null==d.crossDomain){l=b.createElement("a");try{l.href=d.url,l.href=l.href,d.crossDomain=qt.protocol+"//"+qt.host!=l.protocol+"//"+l.host}catch(e){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=T.param(d.data,d.traditional)),Ft(Ht,d,t,C),u)return C;for(p in(c=T.event&&d.global)&&0==T.active++&&T.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Pt.test(d.type),o=d.url.replace(Bt,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Nt,"+")):(f=d.url.slice(o.length),d.data&&(d.processData||"string"==typeof d.data)&&(o+=(Et.test(o)?"&":"?")+d.data,delete d.data),!1===d.cache&&(o=o.replace(Lt,"$1"),f=(Et.test(o)?"&":"?")+"_="+Tt.guid+++f),d.url=o+f),d.ifModified&&(T.lastModified[o]&&C.setRequestHeader("If-Modified-Since",T.lastModified[o]),T.etag[o]&&C.setRequestHeader("If-None-Match",T.etag[o])),(d.data&&d.hasContent&&!1!==d.contentType||t.contentType)&&C.setRequestHeader("Content-Type",d.contentType),C.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Rt+"; q=0.01":""):d.accepts["*"]),d.headers)C.setRequestHeader(p,d.headers[p]);if(d.beforeSend&&(!1===d.beforeSend.call(h,C,d)||u))return C.abort();if(w="abort",m.add(d.complete),C.done(d.success),C.fail(d.error),n=Ft(Mt,d,t,C)){if(C.readyState=1,c&&g.trigger("ajaxSend",[C,d]),u)return C;d.async&&d.timeout>0&&(s=r.setTimeout((function(){C.abort("timeout")}),d.timeout));try{u=!1,n.send(A,E)}catch(e){if(u)throw e;E(-1,e)}}else E(-1,"No Transport");function E(e,t,a,l){var p,f,b,A,x,w=t;u||(u=!0,s&&r.clearTimeout(s),n=void 0,i=l||"",C.readyState=e>0?4:0,p=e>=200&&e<300||304===e,a&&(A=function(e,t,n){for(var r,o,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){l.unshift(o);break}if(l[0]in n)i=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==l[0]&&l.unshift(i),n[i]}(d,C,a)),!p&&T.inArray("script",d.dataTypes)>-1&&T.inArray("json",d.dataTypes)<0&&(d.converters["text script"]=function(){}),A=function(e,t,n,r){var o,i,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=c.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(a=u[l+" "+i]||u["* "+i]))for(o in u)if((s=o.split(" "))[1]===i&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[o]:!0!==u[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 "+l+" to "+i}}}return{state:"success",data:t}}(d,A,C,p),p?(d.ifModified&&((x=C.getResponseHeader("Last-Modified"))&&(T.lastModified[o]=x),(x=C.getResponseHeader("etag"))&&(T.etag[o]=x)),204===e||"HEAD"===d.type?w="nocontent":304===e?w="notmodified":(w=A.state,f=A.data,p=!(b=A.error))):(b=w,!e&&w||(w="error",e<0&&(e=0))),C.status=e,C.statusText=(t||w)+"",p?y.resolveWith(h,[f,w,C]):y.rejectWith(h,[C,w,b]),C.statusCode(v),v=void 0,c&&g.trigger(p?"ajaxSuccess":"ajaxError",[C,d,p?f:b]),m.fireWith(h,[C,w]),c&&(g.trigger("ajaxComplete",[C,d]),--T.active||T.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],(function(e,t){T[t]=function(e,n,r,o){return m(n)&&(o=o||r,r=n,n=void 0),T.ajax(T.extend({url:e,type:t,dataType:o,data:n,success:r},T.isPlainObject(e)&&e))}})),T.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),T._evalUrl=function(e,t,n){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,n)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=T(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 m(e)?this.each((function(t){T(this).wrapInner(e.call(this,t))})):this.each((function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=m(e);return this.each((function(n){T(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){T(this).replaceWith(this.childNodes)})),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var zt={0:200,1223:204},Ut=T.ajaxSettings.xhr();y.cors=!!Ut&&"withCredentials"in Ut,y.ajax=Ut=!!Ut,T.ajaxTransport((function(e){var t,n;if(y.cors||Ut&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(zt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),T.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),T.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 T.globalEval(e),e}}}),T.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),T.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=T("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Yt,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||T.expando+"_"+Tt.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Vt,"$1"+o):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||T.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?T(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(o)),a&&m(i)&&i(a[0]),a=i=void 0})),"script"})),y.createHTMLDocument=((Yt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Yt.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),i=!n&&[],(o=N.exec(e))?[t.createElement(o[1])]:(o=Ce([e],t,i),i&&i.length&&T(i).remove(),T.merge([],o.childNodes)));var r,o,i},T.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=mt(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&T.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,(function(t){return e===t.elem})).length},T.offset={setOffset:function(e,t,n){var r,o,i,a,s,l,u=T.css(e,"position"),c=T(e),p={};"static"===u&&(e.style.position="relative"),s=c.offset(),i=T.css(e,"top"),l=T.css(e,"left"),("absolute"===u||"fixed"===u)&&(i+l).indexOf("auto")>-1?(a=(r=c.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),m(t)&&(t=t.call(e,n,T.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):c.css(p)}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){T.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===T.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),o.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-T.css(r,"marginTop",!0),left:t.left-o.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||ae}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;T.fn[e]=function(r){return U(this,(function(e,r,o){var i;if(v(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),T.each(["top","left"],(function(e,t){T.cssHooks[t]=Ue(y.pixelPosition,(function(e,n){if(n)return n=ze(e,t),qe.test(n)?T(e).position()[t]+"px":n}))})),T.each({Height:"height",Width:"width"},(function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){T.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return U(this,(function(t,n,o){var i;return v(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?T.css(t,n,s):T.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){T.fn[t]=function(e){return this.on(t,e)}})),T.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,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),T.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){T.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Gt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return r=s.call(arguments,2),(o=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||T.guid++,o},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=I,T.isFunction=m,T.isWindow=v,T.camelCase=G,T.type=w,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(Gt,"")},void 0===(n=function(){return T}.apply(t,[]))||(e.exports=n);var Zt=r.jQuery,Qt=r.$;return T.noConflict=function(e){return r.$===T&&(r.$=Qt),e&&r.jQuery===T&&(r.jQuery=Zt),T},void 0===o&&(r.jQuery=r.$=T),T}))},8552:(e,t,n)=>{var r=n(852)(n(5639),"DataView");e.exports=r},1989:(e,t,n)=>{var r=n(1789),o=n(401),i=n(7667),a=n(1327),s=n(1866);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},6425:(e,t,n)=>{var r=n(3118),o=n(9435);function i(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}i.prototype=r(o.prototype),i.prototype.constructor=i,e.exports=i},8407:(e,t,n)=>{var r=n(7040),o=n(4125),i=n(2117),a=n(7518),s=n(4705);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},7548:(e,t,n)=>{var r=n(3118),o=n(9435);function i(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}i.prototype=r(o.prototype),i.prototype.constructor=i,e.exports=i},7071:(e,t,n)=>{var r=n(852)(n(5639),"Map");e.exports=r},3369:(e,t,n)=>{var r=n(4785),o=n(1285),i=n(6e3),a=n(9916),s=n(5265);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},3818:(e,t,n)=>{var r=n(852)(n(5639),"Promise");e.exports=r},3720:(e,t,n)=>{var r=n(852)(n(5639),"Set");e.exports=r},2705:(e,t,n)=>{var r=n(5639).Symbol;e.exports=r},577:(e,t,n)=>{var r=n(852)(n(5639),"WeakMap");e.exports=r},6874:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},4636:(e,t,n)=>{var r=n(2545),o=n(5694),i=n(1469),a=n(4144),s=n(5776),l=n(6719),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),c=!n&&o(e),p=!n&&!c&&a(e),f=!n&&!c&&!p&&l(e),d=n||c||p||f,h=d?r(e.length,String):[],g=h.length;for(var y in e)!t&&!u.call(e,y)||d&&("length"==y||p&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,g))||h.push(y);return h}},9932:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},2488:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},2663:e=>{e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},4286:e=>{e.exports=function(e){return e.split("")}},8470:(e,t,n)=>{var r=n(7813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},6484:(e,t,n)=>{var r=n(7361);e.exports=function(e,t){for(var n=-1,o=t.length,i=Array(o),a=null==e;++n<o;)i[n]=a?void 0:r(e,t[n]);return i}},3118:(e,t,n)=>{var r=n(3218),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},1078:(e,t,n)=>{var r=n(2488),o=n(7285);e.exports=function e(t,n,i,a,s){var l=-1,u=t.length;for(i||(i=o),s||(s=[]);++l<u;){var c=t[l];n>0&&i(c)?n>1?e(c,n-1,i,a,s):r(s,c):a||(s[s.length]=c)}return s}},7786:(e,t,n)=>{var r=n(1811),o=n(327);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},4239:(e,t,n)=>{var r=n(2705),o=n(9607),i=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},9454:(e,t,n)=>{var r=n(4239),o=n(7005);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},8458:(e,t,n)=>{var r=n(3560),o=n(5346),i=n(3218),a=n(346),s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,p=u.hasOwnProperty,f=RegExp("^"+c.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:s).test(a(e))}},8749:(e,t,n)=>{var r=n(4239),o=n(1780),i=n(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},280:(e,t,n)=>{var r=n(5726),o=n(6916),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},9435:e=>{e.exports=function(){}},6560:(e,t,n)=>{var r=n(5703),o=n(8777),i=n(6557),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},2545:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},531:(e,t,n)=>{var r=n(2705),o=n(9932),i=n(1469),a=n(3448),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},1717:e=>{e.exports=function(e){return function(t){return e(t)}}},7415:(e,t,n)=>{var r=n(9932);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},8923:(e,t,n)=>{var r=n(6425),o=n(2488),i=n(2663);e.exports=function(e,t){var n=e;return n instanceof r&&(n=n.value()),i(t,(function(e,t){return t.func.apply(t.thisArg,o([e],t.args))}),n)}},1811:(e,t,n)=>{var r=n(1469),o=n(5403),i=n(5514),a=n(9833);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},278:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},4429:(e,t,n)=>{var r=n(5639)["__core-js_shared__"];e.exports=r},8777:(e,t,n)=>{var r=n(852),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},9021:(e,t,n)=>{var r=n(5564),o=n(5357),i=n(61);e.exports=function(e){return i(o(e,void 0,r),e+"")}},1957:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},5050:(e,t,n)=>{var r=n(7019);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},852:(e,t,n)=>{var r=n(8458),o=n(7801);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},9607:(e,t,n)=>{var r=n(2705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},4160:(e,t,n)=>{var r=n(8552),o=n(7071),i=n(3818),a=n(3720),s=n(577),l=n(4239),u=n(346),c="[object Map]",p="[object Promise]",f="[object Set]",d="[object WeakMap]",h="[object DataView]",g=u(r),y=u(o),m=u(i),v=u(a),b=u(s),A=l;(r&&A(new r(new ArrayBuffer(1)))!=h||o&&A(new o)!=c||i&&A(i.resolve())!=p||a&&A(new a)!=f||s&&A(new s)!=d)&&(A=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case g:return h;case y:return c;case m:return p;case v:return f;case b:return d}return t}),e.exports=A},7801:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},2689:e=>{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},1789:(e,t,n)=>{var r=n(4536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:(e,t,n)=>{var r=n(4536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},1327:(e,t,n)=>{var r=n(4536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},1866:(e,t,n)=>{var r=n(4536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},7285:(e,t,n)=>{var r=n(2705),o=n(5694),i=n(1469),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},5776:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},5403:(e,t,n)=>{var r=n(1469),o=n(3448),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},7019:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:(e,t,n)=>{var r,o=n(4429),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},5726:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},59:e=>{e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},7040:e=>{e.exports=function(){this.__data__=[],this.size=0}},4125:(e,t,n)=>{var r=n(8470),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},2117:(e,t,n)=>{var r=n(8470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},7518:(e,t,n)=>{var r=n(8470);e.exports=function(e){return r(this.__data__,e)>-1}},4705:(e,t,n)=>{var r=n(8470);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},4785:(e,t,n)=>{var r=n(1989),o=n(8407),i=n(7071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},1285:(e,t,n)=>{var r=n(5050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6e3:(e,t,n)=>{var r=n(5050);e.exports=function(e){return r(this,e).get(e)}},9916:(e,t,n)=>{var r=n(5050);e.exports=function(e){return r(this,e).has(e)}},5265:(e,t,n)=>{var r=n(5050);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},8776:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},4523:(e,t,n)=>{var r=n(8306);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},4536:(e,t,n)=>{var r=n(852)(Object,"create");e.exports=r},6916:(e,t,n)=>{var r=n(5569)(Object.keys,Object);e.exports=r},1167:(e,t,n)=>{e=n.nmd(e);var r=n(1957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},5357:(e,t,n)=>{var r=n(6874),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(l),r(e,this,u)}}},5639:(e,t,n)=>{var r=n(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},1814:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},61:(e,t,n)=>{var r=n(6560),o=n(1275)(r);e.exports=o},1275:e=>{var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},3140:(e,t,n)=>{var r=n(4286),o=n(2689),i=n(676);e.exports=function(e){return o(e)?i(e):r(e)}},5514:(e,t,n)=>{var r=n(4523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},327:(e,t,n)=>{var r=n(3448);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},346:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},676:e=>{var t="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\\ud83c[\\udffb-\\udfff]",r="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",a="(?:"+t+"|"+n+")?",s="[\\ufe0e\\ufe0f]?",l=s+a+"(?:\\u200d(?:"+[r,o,i].join("|")+")"+s+a+")*",u="(?:"+[r+t+"?",t,o,i,"[\\ud800-\\udfff]"].join("|")+")",c=RegExp(n+"(?="+n+")|"+u+l,"g");e.exports=function(e){return e.match(c)||[]}},1913:(e,t,n)=>{var r=n(6425),o=n(7548),i=n(278);e.exports=function(e){if(e instanceof r)return e.clone();var t=new o(e.__wrapped__,e.__chain__);return t.__actions__=i(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}},1263:(e,t,n)=>{var r=n(8111);e.exports=function(e){var t=r(e);return t.__chain__=!0,t}},9663:(e,t,n)=>{var r=n(7548);e.exports=function(){return new r(this.value(),this.__chain__)}},5703:e=>{e.exports=function(e){return function(){return e}}},7813:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},5564:(e,t,n)=>{var r=n(1078);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},7361:(e,t,n)=>{var r=n(7786);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},6557:e=>{e.exports=function(e){return e}},5694:(e,t,n)=>{var r=n(9454),o=n(7005),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},1469:e=>{var t=Array.isArray;e.exports=t},8612:(e,t,n)=>{var r=n(3560),o=n(1780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},4144:(e,t,n)=>{e=n.nmd(e);var r=n(5639),o=n(5062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},3560:(e,t,n)=>{var r=n(4239),o=n(3218);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},7037:(e,t,n)=>{var r=n(4239),o=n(1469),i=n(7005);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},3448:(e,t,n)=>{var r=n(4239),o=n(7005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},6719:(e,t,n)=>{var r=n(8749),o=n(1717),i=n(1167),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},3674:(e,t,n)=>{var r=n(4636),o=n(280),i=n(8612);e.exports=function(e){return i(e)?r(e):o(e)}},8306:(e,t,n)=>{var r=n(3369);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},8506:(e,t,n)=>{var r=n(1581);e.exports=function(){void 0===this.__values__&&(this.__values__=r(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}}},9270:(e,t,n)=>{var r=n(9435),o=n(1913);e.exports=function(e){for(var t,n=this;n instanceof r;){var i=o(n);i.__index__=0,i.__values__=void 0,t?a.__wrapped__=i:t=i;var a=i;n=n.__wrapped__}return a.__wrapped__=e,t}},1351:e=>{var t=Array.prototype.reverse;e.exports=function(e){return null==e?e:t.call(e)}},6353:(e,t,n)=>{e.exports={at:n(8192),chain:n(1263),commit:n(9663),lodash:n(8111),next:n(8506),plant:n(9270),reverse:n(8879),tap:n(1962),thru:n(4313),toIterator:n(4827),toJSON:n(6710),value:n(6339),valueOf:n(1574),wrapperChain:n(5177)}},5062:e=>{e.exports=function(){return!1}},1962:e=>{e.exports=function(e,t){return t(e),e}},4313:e=>{e.exports=function(e,t){return t(e)}},1581:(e,t,n)=>{var r=n(2705),o=n(278),i=n(4160),a=n(8612),s=n(7037),l=n(59),u=n(8776),c=n(1814),p=n(3140),f=n(2628),d=r?r.iterator:void 0;e.exports=function(e){if(!e)return[];if(a(e))return s(e)?p(e):o(e);if(d&&e[d])return l(e[d]());var t=i(e);return("[object Map]"==t?u:"[object Set]"==t?c:f)(e)}},4827:e=>{e.exports=function(){return this}},6710:(e,t,n)=>{e.exports=n(6339)},9833:(e,t,n)=>{var r=n(531);e.exports=function(e){return null==e?"":r(e)}},1574:(e,t,n)=>{e.exports=n(6339)},2628:(e,t,n)=>{var r=n(7415),o=n(3674);e.exports=function(e){return null==e?[]:r(e,o(e))}},8192:(e,t,n)=>{var r=n(6425),o=n(7548),i=n(6484),a=n(9021),s=n(5776),l=n(4313),u=a((function(e){var t=e.length,n=t?e[0]:0,a=this.__wrapped__,u=function(t){return i(t,e)};return!(t>1||this.__actions__.length)&&a instanceof r&&s(n)?((a=a.slice(n,+n+(t?1:0))).__actions__.push({func:l,args:[u],thisArg:void 0}),new o(a,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(u)}));e.exports=u},5177:(e,t,n)=>{var r=n(1263);e.exports=function(){return r(this)}},8111:(e,t,n)=>{var r=n(6425),o=n(7548),i=n(9435),a=n(1469),s=n(7005),l=n(1913),u=Object.prototype.hasOwnProperty;function c(e){if(s(e)&&!a(e)&&!(e instanceof r)){if(e instanceof o)return e;if(u.call(e,"__wrapped__"))return l(e)}return new o(e)}c.prototype=i.prototype,c.prototype.constructor=c,e.exports=c},8879:(e,t,n)=>{var r=n(6425),o=n(7548),i=n(1351),a=n(4313);e.exports=function(){var e=this.__wrapped__;if(e instanceof r){var t=e;return this.__actions__.length&&(t=new r(this)),(t=t.reverse()).__actions__.push({func:a,args:[i],thisArg:void 0}),new o(t,this.__chain__)}return this.thru(i)}},6339:(e,t,n)=>{var r=n(8923);e.exports=function(){return r(this.__wrapped__,this.__actions__)}},4763:()=>{let e=document.getElementsByTagName("tbody");Array.from(e).forEach((e=>{Array.from(e.children).forEach((e=>{Array.from(e.children).forEach(((e,t)=>{0===t&&e.setAttribute("class","notranslate")}))}))}))},2979:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(994),o=n.n(r),i=n(3476),a=n.n(i)()(o());a.push([e.id,"li{\r\n list-style: none;\r\n}\r\n\r\n.header a{\r\n color:black;\r\n font-family: 'Ubuntu Mono';\r\n}\r\n\r\na{\r\n color:black;\r\n font-family: 'Ubuntu Mono';\r\n}\r\n.selectDom a{\r\n color: black;\r\n}\r\n.originalText{\r\n display: none;\r\n margin: 0;\r\n}\r\n.pl-token {\r\n background: #ffea7f;\r\n /*padding: 1px 0 ;*/\r\n\r\n}\r\n.pl-token > a{\r\n background: #ffea7f;\r\n color: #000;\r\n}\r\n\r\n.suspension {\r\n position: absolute;\r\n width: auto;\r\n height: auto;\r\n z-index:999999;\r\n left:0px;\r\n top:100%;\r\n padding: 10px;\r\n font-size: 14px;\r\n font-weight: 500;\r\n box-shadow: 2px 2px 2px #888888;\r\n border-radius: 5px;\r\n background: linear-gradient(0.25turn, #a9c3d7, #d2bba3);\r\n color: #000;\r\n font-family: 'Georgia';\r\n}\r\n.suspension p{\r\n background: linear-gradient(0.25turn, #a9c3d7, #d2bba3)!important;\r\n color: #000 !important;\r\n font-family: 'Georgia';\r\n}\r\n\r\n.suspension a{\r\n color: #000;\r\n font-size: 14px;\r\n font-weight: 500;\r\n font-family: 'Georgia';\r\n}\r\n.hoverele{\r\n position: relative;\r\n\r\n color: #000;\r\n}\r\n.hoverele a{\r\n color: #000!important;\r\n}\r\npre{\r\n font-weight: 500;\r\n word-wrap: break-word;\r\n}\r\np{\r\n color: black;\r\n font-family: 'Georgia' !important;\r\n word-wrap: break-word;\r\n}\r\n\r\n.show{\r\n visibility: visible;\r\n opacity: 1;\r\n transition: all 0.3s linear;\r\n}\r\n\r\n.hidden{\r\n visibility: hidden;\r\n opacity: 0;\r\n}\r\n\r\n#toc1 a{\r\n display: block;\r\n text-decoration:none;\r\n}\r\n\r\n.fm-code-listing-caption{\r\n background: transparent !important;\r\n}\r\n .pre1, .pre2, .pre{\r\n background: white !important;\r\n font-size: 14px;\r\n padding: 5px;\r\n}\r\n\r\n#sbo-rt-content{\r\n max-width: 100%!important;\r\n }\r\n","",{version:3,sources:["webpack://./src/css/common.css"],names:[],mappings:"AAAA;IACI,gBAAgB;AACpB;;AAEA;IACI,WAAW;IACX,0BAA0B;AAC9B;;AAEA;IACI,WAAW;IACX,0BAA0B;AAC9B;AACA;IACI,YAAY;AAChB;AACA;IACI,aAAa;IACb,SAAS;AACb;AACA;IACI,mBAAmB;IACnB,mBAAmB;;AAEvB;AACA;IACI,mBAAmB;IACnB,WAAW;AACf;;AAEA;IACI,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,aAAa;IACb,eAAe;IACf,gBAAgB;IAChB,+BAA+B;IAC/B,kBAAkB;IAClB,uDAAuD;IACvD,WAAW;IACX,sBAAsB;AAC1B;AACA;IACI,iEAAiE;IACjE,sBAAsB;IACtB,sBAAsB;AAC1B;;AAEA;IACI,WAAW;IACX,eAAe;IACf,gBAAgB;IAChB,sBAAsB;AAC1B;AACA;IACI,kBAAkB;;IAElB,WAAW;AACf;AACA;IACI,qBAAqB;AACzB;AACA;IACI,gBAAgB;IAChB,qBAAqB;AACzB;AACA;IACI,YAAY;IACZ,iCAAiC;IACjC,qBAAqB;AACzB;;AAEA;IACI,mBAAmB;IACnB,UAAU;IACV,2BAA2B;AAC/B;;AAEA;IACI,kBAAkB;IAClB,UAAU;AACd;;AAEA;IACI,cAAc;IACd,oBAAoB;AACxB;;AAEA;IACI,kCAAkC;AACtC;CACC;IACG,4BAA4B;IAC5B,eAAe;IACf,YAAY;AAChB;;AAEA;MACM,yBAAyB;EAC7B",sourcesContent:["li{\r\n list-style: none;\r\n}\r\n\r\n.header a{\r\n color:black;\r\n font-family: 'Ubuntu Mono';\r\n}\r\n\r\na{\r\n color:black;\r\n font-family: 'Ubuntu Mono';\r\n}\r\n.selectDom a{\r\n color: black;\r\n}\r\n.originalText{\r\n display: none;\r\n margin: 0;\r\n}\r\n.pl-token {\r\n background: #ffea7f;\r\n /*padding: 1px 0 ;*/\r\n\r\n}\r\n.pl-token > a{\r\n background: #ffea7f;\r\n color: #000;\r\n}\r\n\r\n.suspension {\r\n position: absolute;\r\n width: auto;\r\n height: auto;\r\n z-index:999999;\r\n left:0px;\r\n top:100%;\r\n padding: 10px;\r\n font-size: 14px;\r\n font-weight: 500;\r\n box-shadow: 2px 2px 2px #888888;\r\n border-radius: 5px;\r\n background: linear-gradient(0.25turn, #a9c3d7, #d2bba3);\r\n color: #000;\r\n font-family: 'Georgia';\r\n}\r\n.suspension p{\r\n background: linear-gradient(0.25turn, #a9c3d7, #d2bba3)!important;\r\n color: #000 !important;\r\n font-family: 'Georgia';\r\n}\r\n\r\n.suspension a{\r\n color: #000;\r\n font-size: 14px;\r\n font-weight: 500;\r\n font-family: 'Georgia';\r\n}\r\n.hoverele{\r\n position: relative;\r\n\r\n color: #000;\r\n}\r\n.hoverele a{\r\n color: #000!important;\r\n}\r\npre{\r\n font-weight: 500;\r\n word-wrap: break-word;\r\n}\r\np{\r\n color: black;\r\n font-family: 'Georgia' !important;\r\n word-wrap: break-word;\r\n}\r\n\r\n.show{\r\n visibility: visible;\r\n opacity: 1;\r\n transition: all 0.3s linear;\r\n}\r\n\r\n.hidden{\r\n visibility: hidden;\r\n opacity: 0;\r\n}\r\n\r\n#toc1 a{\r\n display: block;\r\n text-decoration:none;\r\n}\r\n\r\n.fm-code-listing-caption{\r\n background: transparent !important;\r\n}\r\n .pre1, .pre2, .pre{\r\n background: white !important;\r\n font-size: 14px;\r\n padding: 5px;\r\n}\r\n\r\n#sbo-rt-content{\r\n max-width: 100%!important;\r\n }\r\n"],sourceRoot:""}]);const s=a},8525:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(994),o=n.n(r),i=n(3476),a=n.n(i)()(o());a.push([e.id,".panel {\r\n height: auto;\r\n width: 100px;\r\n position: fixed;\r\n top: 20px;\r\n right: 20px;\r\n z-index: 999999;\r\n line-height: 50px;\r\n text-align: center;\r\n background: #EEEEEE;\r\n border: 1px solid #87D0F0;\r\n border-radius:12%;\r\n\r\n}\r\n.subPanel:not(.subPanel:last-child){\r\n border-bottom: 1px solid #87D0F0;\r\n}\r\n.subPanel {\r\n height: 30px;\r\n line-height: 30px;\r\n display: block;\r\n text-align: center;\r\n font-size:10px;\r\n}\r\n\r\n","",{version:3,sources:["webpack://./src/css/panel.css"],names:[],mappings:"AAAA;IACI,YAAY;IACZ,YAAY;IACZ,eAAe;IACf,SAAS;IACT,WAAW;IACX,eAAe;IACf,iBAAiB;IACjB,kBAAkB;IAClB,mBAAmB;IACnB,yBAAyB;IACzB,iBAAiB;;AAErB;AACA;IACI,gCAAgC;AACpC;AACA;IACI,YAAY;IACZ,iBAAiB;IACjB,cAAc;IACd,kBAAkB;IAClB,cAAc;AAClB",sourcesContent:[".panel {\r\n height: auto;\r\n width: 100px;\r\n position: fixed;\r\n top: 20px;\r\n right: 20px;\r\n z-index: 999999;\r\n line-height: 50px;\r\n text-align: center;\r\n background: #EEEEEE;\r\n border: 1px solid #87D0F0;\r\n border-radius:12%;\r\n\r\n}\r\n.subPanel:not(.subPanel:last-child){\r\n border-bottom: 1px solid #87D0F0;\r\n}\r\n.subPanel {\r\n height: 30px;\r\n line-height: 30px;\r\n display: block;\r\n text-align: center;\r\n font-size:10px;\r\n}\r\n\r\n"],sourceRoot:""}]);const s=a},6869:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(994),o=n.n(r),i=n(3476),a=n.n(i)()(o());a.push([e.id,"#toc1{\r\n left: 0;\r\n position: fixed;\r\n overflow-x: hidden;\r\n overflow-y: scroll;\r\n top: 0;\r\n color: #0366d6;\r\n width: 350px;\r\n background: #EEEEEE;\r\n white-space:nowrap;\r\n}\r\n\r\n#toc1::-webkit-scrollbar {\r\n width: 8px;\r\n height: 8px;\r\n}\r\n\r\n#toc1::-webkit-scrollbar-thumb {\r\n border-radius: 8px;\r\n -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);\r\n box-shadow: inset 0 0 5px rgba(0,0,0,0.2);\r\n background-color: #96C2F1;\r\n background-image: linear-gradient(\r\n 45deg,\r\n rgba(255, 255, 255, 0.2) 25%,\r\n transparent 25%,\r\n transparent 50%,\r\n rgba(255, 255, 255, 0.2) 50%,\r\n rgba(255, 255, 255, 0.2) 75%,\r\n transparent 75%,\r\n transparent\r\n );\r\n}\r\n#toc1::-webkit-scrollbar-track {\r\n -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);\r\n box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);\r\n border-radius: 8px 8px 0 0;\r\n background: #EFF7FF;\r\n}\r\n","",{version:3,sources:["webpack://./src/css/toc.css"],names:[],mappings:"AAAA;IACI,OAAO;IACP,eAAe;IACf,kBAAkB;IAClB,kBAAkB;IAClB,MAAM;IACN,cAAc;IACd,YAAY;IACZ,mBAAmB;IACnB,kBAAkB;AACtB;;AAEA;IACI,UAAU;IACV,WAAW;AACf;;AAEA;IACI,kBAAkB;IAClB,iDAAiD;IACjD,yCAAyC;IACzC,yBAAyB;IACzB;;;;;;;;;KASC;AACL;AACA;IACI,oDAAoD;IACpD,4CAA4C;IAC5C,0BAA0B;IAC1B,mBAAmB;AACvB",sourcesContent:["#toc1{\r\n left: 0;\r\n position: fixed;\r\n overflow-x: hidden;\r\n overflow-y: scroll;\r\n top: 0;\r\n color: #0366d6;\r\n width: 350px;\r\n background: #EEEEEE;\r\n white-space:nowrap;\r\n}\r\n\r\n#toc1::-webkit-scrollbar {\r\n width: 8px;\r\n height: 8px;\r\n}\r\n\r\n#toc1::-webkit-scrollbar-thumb {\r\n border-radius: 8px;\r\n -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);\r\n box-shadow: inset 0 0 5px rgba(0,0,0,0.2);\r\n background-color: #96C2F1;\r\n background-image: linear-gradient(\r\n 45deg,\r\n rgba(255, 255, 255, 0.2) 25%,\r\n transparent 25%,\r\n transparent 50%,\r\n rgba(255, 255, 255, 0.2) 50%,\r\n rgba(255, 255, 255, 0.2) 75%,\r\n transparent 75%,\r\n transparent\r\n );\r\n}\r\n#toc1::-webkit-scrollbar-track {\r\n -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);\r\n box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);\r\n border-radius: 8px 8px 0 0;\r\n background: #EFF7FF;\r\n}\r\n"],sourceRoot:""}]);const s=a},3264:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(994),o=n.n(r),i=n(3476),a=n.n(i)()(o());a.push([e.id,"pre{\r\n font-size:16px;\r\n color:black;\r\n background:#fff;\r\n padding:10px;\r\n}\r\n.ProgramCode{\r\n background:#fff;\r\n padding:5px;\r\n\r\n}\r\ncode{\r\n font-size:16px;\r\n color:black;\r\n display:inline;\r\n margin:0;\r\n border:0px;\r\n padding:0;\r\n}\r\n.notranslate{\r\n\r\n}\r\npre.programlisting.con{\r\n background-color:#fafafa!important;\r\n}\r\n#sbo-rt-content table{\r\n white-space:nowrap!important;\r\n}\r\ntr td{\r\n max-height: 50px!important;\r\n}\r\n","",{version:3,sources:["webpack://./src/css/url.css"],names:[],mappings:"AAAA;IACI,cAAc;IACd,WAAW;IACX,eAAe;IACf,YAAY;AAChB;AACA;IACI,eAAe;IACf,WAAW;;AAEf;AACA;IACI,cAAc;IACd,WAAW;IACX,cAAc;IACd,QAAQ;IACR,UAAU;IACV,SAAS;AACb;AACA;;AAEA;AACA;IACI,kCAAkC;AACtC;AACA;IACI,4BAA4B;AAChC;AACA;IACI,0BAA0B;AAC9B",sourcesContent:["pre{\r\n font-size:16px;\r\n color:black;\r\n background:#fff;\r\n padding:10px;\r\n}\r\n.ProgramCode{\r\n background:#fff;\r\n padding:5px;\r\n\r\n}\r\ncode{\r\n font-size:16px;\r\n color:black;\r\n display:inline;\r\n margin:0;\r\n border:0px;\r\n padding:0;\r\n}\r\n.notranslate{\r\n\r\n}\r\npre.programlisting.con{\r\n background-color:#fafafa!important;\r\n}\r\n#sbo-rt-content table{\r\n white-space:nowrap!important;\r\n}\r\ntr td{\r\n max-height: 50px!important;\r\n}\r\n"],sourceRoot:""}]);const s=a},3476:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},994:e=>{"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=function(e){var n=function(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(e,n)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e,4),r=n[1],o=n[3];if("function"==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(a," */"),l=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[r].concat(l).concat([s]).join("\n")}return[r].join("\n")}},1892:(e,t,n)=>{"use strict";var r,o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function a(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},r=[],o=0;o<e.length;o++){var s=e[o],l=t.base?s[0]+t.base:s[0],u=n[l]||0,c="".concat(l," ").concat(u);n[l]=u+1;var p=a(c),f={css:s[1],media:s[2],sourceMap:s[3]};-1!==p?(i[p].references++,i[p].updater(f)):i.push({identifier:c,updater:g(f,t),references:1}),r.push(c)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,c=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function p(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=c(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function f(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var d=null,h=0;function g(e,t){var n,r,o;if(t.singleton){var i=h++;n=d||(d=l(t)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=l(t),r=f.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r));var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=a(n[r]);i[o].references--}for(var l=s(e,t),u=0;u<n.length;u++){var c=a(n[u]);0===i[c].references&&(i[c].updater(),i.splice(c,1))}n=l}}}}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";var e=n(1892),t=n.n(e),r=n(6869);function o(e,t){let n=e.tocRequired_properties.style,r=t.genStyle(n),o=document.getElementById("toc1");if(o){let e=o.getAttribute("style");e=t.ReplaceSameProperty(";",e,["width","height"]),o.setAttribute("style",`${e}${r};;`)}else{o=document.createElement("div"),o.setAttribute("id","toc1"),o.style.cssText=r;let n={head:e.allHeader,body:e.body,toc:o};t.generate_catalog(n),e.body.appendChild(o)}let i={ReplaceSameProperty:t.ReplaceSameProperty};return t.tocChange({toc:o},i),o}t()(r.Z,{insert:"head",singleton:!1}),r.Z.locals;var a=n(2979);function s(e,t){for(let n=0;n<e.length;n++)t(e[n])}t()(a.Z,{insert:"head",singleton:!1}),a.Z.locals;let l={};function u(e){l.TypesTranslationKey=localStorage.getItem("TypesTranslation");let t=document.getElementsByTagName("code"),n=document.getElementsByTagName("kbd"),r=document.getElementsByTagName("p");c(t,"code"),c(n,"kbd"),function(e){(function(e){s(e,(e=>{e.setAttribute("render","null"),e.setAttribute("key",1e9*Math.random())}))})(e),s(e,(e=>{p(e)})),s(e,(e=>{if("true"===e.getAttribute("render")){let t=e.getAttribute("class");e.setAttribute("class","hoverele "+t);let n=h(e);e.setAttribute("class",t+" notranslate originalText");let r=e.outerHTML+n;e.outerHTML=r,e.setAttribute("class",t)}}));let t=document.getElementsByClassName("hoverele"),n={currentPointer:null,prePointer:null,hashMap:{}};var r;r=e=>{e.stopPropagation();for(const e in n.hashMap){let t=n.hashMap[e],r=t.getAttribute("class").replaceAll(" show","").replaceAll(" hidden","");t.setAttribute("class",r?r+" hidden":"hidden")}},document.getElementsByTagName("html")[0].addEventListener("click",r),s(t,(e=>{if(function(e){let t=e.getElementsByTagName("img");t&&t.length>0&&s(t,(e=>{let t=e.getAttribute("src").replaceAll('\\"',"");e.setAttribute("src",t)}))}(e),"true"===e.getAttribute("render").trim()){let t=e.getAttribute("class");e.setAttribute("class",t?t+" hoverele":"hoverele"),e.addEventListener("mouseenter",(t=>{t.stopPropagation();let n=e.getAttribute("class");e.setAttribute("class",n?n+" pl-token":"pl-token"),e.setAttribute("enter","true")})),e.addEventListener("click",(t=>{if(t.stopPropagation(),"true"===e.getAttribute("enter")){let t=e.getAttribute("key").trim(),r=n.hashMap[t];if(n.currentPointer=t,null!==n.prePointer){let e=n.hashMap[n.prePointer];if(n.prePointer===n.currentPointer){let e=r.getAttribute("class");if(e.includes("hidden")){let t=e.replaceAll(" hidden","");t.includes("show")||r.setAttribute("class",t?t+" show":"show")}return}{let t=e.getAttribute("class").replaceAll(" show","");t.includes("hidden")||e.setAttribute("class",t?t+" hidden":"hidden"),n.prePointer=null}}if(r){let e=r.getAttribute("class").replaceAll(" hidden","");e.includes("show")||r.setAttribute("class",e?e+" show":"show"),n.prePointer=n.currentPointer}else r=document.createElement("div"),r.setAttribute("class","notranslate suspension show"),r.innerHTML=h(e.previousSibling).replaceAll("originalText",""),e.append(r),e.setAttribute("enter","false"),n.hashMap[n.currentPointer]=r,n.prePointer=n.currentPointer}else e.getAttribute("enter")})),e.addEventListener("mouseleave",(t=>{t.stopPropagation();let n=e.getAttribute("class");e.setAttribute("class",n?n.replaceAll(" pl-token",""):n.replaceAll("pl-token","")),e.removeAttribute("enter")}))}}))}(r),function(){let e=document.querySelectorAll("pre strong"),t=document.querySelectorAll("pre span");e.length&&e.length>0&&s(e,(e=>{g(e,"strong")})),t.length&&t.length>0&&s(e,(e=>{g(e,"strong")}))}()}function c(e,t){let n=e.length,r=0;if(n>0)for(let o=0;o<2;o++){let i="",a=e[o].outerHTML;if(i="kbd"===t?a.replace(/<kbd/,'<span class="notranslate"').replace(/<\/kbd>/,"</span>"):a.replace(/<code/,'<span class="notranslate"').replace(/<\/code>/,"</span>"),e[o].outerHTML=i,o--,r++,r===n)break}}let p=e=>{if("true"!==e.getAttribute("render")&&"false"!==e.getAttribute("render")&&"null"===e.getAttribute("render")){e.setAttribute("render","true");let t=[];f(e,t),t.forEach(((t,n)=>{0===n?"null"===e.getAttribute("render")&&t.setAttribute("render","true"):t.setAttribute("render","false"),e.setAttribute("render","false")})),d(e)}};function f(e,t){let n=e.parentNode,r=n.nodeName;if("BODY"===r)return"已经到达BODY";"P"!==r||(t.unshift(n),"true"!==e.getAttribute("render")&&"false"!==e.getAttribute("render"))?f(n,t):t.unshift(n)}function d(e){let t=e.children;for(let e=0;e<t.length;e++){let n=t[e];"P"===n.nodeName&&n.setAttribute("render","false"),d(n)}}function h(e){return JSON.stringify(e.outerHTML).replaceAll(/(\\\")/g,' " ').replaceAll("\\n","").replaceAll(/( a |A )/g," one ").replaceAll('>"',">").replaceAll('"<',"<").replaceAll('class=\\"','class="')}function g(e,t,n){let r="";if(r=e.outerHTML.replace(`<${t}>`,"").replace(`</${t}>`,""),e.outerHTML)try{e.outerHTML=r}catch(e){console.log("e:",e)}}function y(e){let{head:t,body:n,toc:r}=e,o=/[hH][1-4]/,i=document.createElement("div");function a(e){let t="";for(let n=0;n<e.length;n++)">"===e[n]?t+=">":"<"===e[n]?t+="<":t+=e[n];return t}let s={H1:0,H2:1,H3:2,H4:3,H5:4,H6:5},l={current:0,pre:0},u=[0,0,0,0,0,0],c=e=>{u.forEach(((t,n)=>{n>e&&(u[n]=0)}))};for(let e=0;e<t.length;e++){let n=t[e],r=n.nodeName;if(n.setAttribute("id",e),o.test(r)){let n=s[r];l.current=n,l.current<l.pre&&c(n),u[n]++,l.pre=n;let o=u.filter((e=>e)),p=t[e].innerText,f=p.match(/\d/g);p=a(p);let d="";o.splice(s[r]+1),f||(d=o.join(".")+" ");let h=document.createElement(r);h.setAttribute("class","header"),h.setAttribute("style","margin:5px 0 0 0;font-size:14px;font-size:90%;border-bottom:1px solid blue;padding-left:10px;margin:5px;"),h.innerHTML=`<a href="#${e}">`+d+p+"</a>",i.appendChild(h)}}r.innerHTML=i.innerHTML,i=null}let m=null,v=null;function b(e,t){null!==e&&null!==t&&(m=e,v=t)}function A(e,t,n){e&&void 0!==t[e]&&(t[n]!==t[e]?x(t[e],1):x(t[n],0))}function x(e,t){let n=e.getAttribute("style");n=v.ReplaceSameProperty(";",n,"background-color"),n=v.ReplaceSameProperty(";",n,"color"),t?(e.setAttribute("style",`${n}color:black`),e.setAttribute("class","header")):e.setAttribute("style",`${n};background-color:brown;`)}function w(e,t){let n=e.getAttribute("style");n=v.ReplaceSameProperty(";",n,"background-color"),n=v.ReplaceSameProperty(";",n,"color"),e.setAttribute("style",`${n}background-color:hsl(201, 100%, 86%);color:white;`),e.setAttribute("class","selectDom"),localStorage.setItem("prevHead",t)}var C=n(9755),T=n.n(C),E=n(8525);t()(E.Z,{insert:"head",singleton:!1}),E.Z.locals;let _=null,S={body:null,URL:null,html:null,panel:null,tocElement:null,subPanels:[]},k=function(){const e={panel_status:function(e){let t={panel_status:e,subPanels:S.subPanels},n={ReplaceSameProperty:_.ReplaceSameProperty};_.panelStatus(t,n)},Types_of_translation:function(e){let t={Types_of_translation:e},n={ReplaceSameProperty:_.ReplaceSameProperty};_.TypesTranslation(t,n)},percentage:function(e){let t={percentage:e};_.show(t)},Submenu_status:function(e){let t={Submenu_status:e,tocElement:S.tocElement,body:S.body,html:S.html,URL:S.URL},n={ReplaceSameProperty:_.ReplaceSameProperty,styleBody:_.styleBody};_.Submenu_status(t,n)},Main_menu_status:function(e){}};return{panelCall:function(t,n){return e[n]&&e[n](t)}}}(),j={percentage:null};function I(e){let{percentage:t}=e;j.percentage=t,t.setAttribute("contenteditable",!0),t.addEventListener("keydown",(function(e){if("Enter"===e.key){let e=t.innerText.split("-"),n=Number(e[0])*document.documentElement.getBoundingClientRect().height*1e4/1e6;document.documentElement.scrollTo(0,n),t.blur()}})),t.addEventListener("blur",(function(e){let n=t.innerText.split("-"),r=t.getAttribute("placeholder").split("-");if(n[0]!==r[0]){let e=Number(n[0])*document.documentElement.getBoundingClientRect().height*1e4/1e6;document.documentElement.scrollTo(0,e)}else t.innerText=t.getAttribute("placeholder")})),t.addEventListener("focus",(function(e){let n=t.innerText;t.setAttribute("placeholder",n)})),N()}function N(){if(null===j.percentage)return;let e=document.documentElement.clientHeight;e>window.innerHeight&&(e=document.body.clientHeight);let t=document.documentElement.getBoundingClientRect();location.href.includes("npm")&&(t=document.getElementsByTagName("main")[0].getBoundingClientRect());let n=Math.floor(Math.abs(t.top)/t.height*1e4)/100,r=Math.floor((Math.abs(t.top)+e)/t.height*1e4)/100;return j.percentage.innerText=n+"--"+r+"%",Math.abs(t.top)}let B=null,L=null;function D(e,t){L=t,B=e;let n=localStorage.getItem("Submenu_status");null===n&&(localStorage.setItem("Submenu_status",1),B.Submenu_status.innerText="菜单打开"),"1"===n?B.Submenu_status.innerText="菜单打开":(O("display:none;"),B.Submenu_status.innerText="菜单收拢"),B.Submenu_status.addEventListener("click",P)}function P(){console.log("...."),"1"===localStorage.getItem("Submenu_status")?(console.log("菜单受控的状态"),O("display:none;"),localStorage.setItem("Submenu_status",0),B.Submenu_status.innerText="菜单收拢",L.styleBody(B.body,B.html,B.URL,{padding:"0"})):(console.log("菜单打开"),O("display:block;"),localStorage.setItem("Submenu_status",1),B.Submenu_status.innerText="菜单打开",L.styleBody(B.body,B.html,B.URL,{padding:"0 5% 0 18%"}))}function O(e){let t=B.tocElement.getAttribute("style");t=L.ReplaceSameProperty(";",t,"display"),B.tocElement.setAttribute("style",`${t}${e};`)}let H={panelStatusType:null,panel_status:null,subPanels:null},M=null;function R(e,t){let{panel_status:n,subPanels:r}=e;M=t,H.panel_status=n,H.subPanels=r;let o=localStorage.getItem("panelStatus");null===o&&(localStorage.setItem("panelStatus",1),o="1",H.panel_status.innerText="已展开面板"),H.panelStatusType=o,"1"===H.panelStatusType?H.panel_status.innerText="已展开面板":($("display:none;"),H.panel_status.innerText="已合上面板",H.panel_status.setAttribute("draggable",!0),H.panel_status.addEventListener("dragend",W,!1),H.panel_status.addEventListener("drag",q,!1)),n.addEventListener("click",F)}function q(e){e.preventDefault(),"panel_status"===e.target.id&&(e.target.parentElement.style.left=e.clientX+"px",e.target.parentElement.style.top=e.clientY+"px")}function W(e){e.preventDefault(),"panel_status"===e.target.id&&(e.target.parentElement.style.left=e.clientX+"px",e.target.parentElement.style.top=e.clientY+"px")}function F(){H.panelStatusType=localStorage.getItem("panelStatus"),"1"===H.panelStatusType?($("display:none;"),H.panel_status.innerText="已合上面板",H.panel_status.setAttribute("draggable",!0),H.panel_status.addEventListener("dragend",W,!1),H.panel_status.addEventListener("drag",q,!1),localStorage.setItem("panelStatus",0)):($("display:block;"),H.panel_status.innerText="已展开面板",localStorage.setItem("panelStatus",1))}function $(e){for(let t=1;t<H.subPanels.length;t++){let n=H.subPanels[t].getAttribute("style");n=M.ReplaceSameProperty(";",n,"display"),H.subPanels[t].setAttribute("style",`${n}${e};;`)}}var z=n(2152),U=n.n(z);let Y=null,X=null;function V(e,t){Y=e,X=t,Y.Types_of_translation.innerText="复制全文",new(U())(Y.Types_of_translation,{container:document.getElementsByTagName("body")[0]})}n(6353);var G=n(3264);t()(G.Z,{insert:"head",singleton:!1}),G.Z.locals;class Z{constructor(e){this.id=new Date,this.subs=[]}defined(){Z.watch.add(this)}notify(){this.subs.forEach(((e,t)=>{if("function"==typeof e.update)try{e.update.apply(e)}catch(e){console.warr(e)}}))}}Z.watch=null;class Q{constructor(e,t){this.name=e,this.id=new Date,this.callBack=t}add(e){e.subs.push(this)}update(){(0,this.callBack)(this.name)}}var K,J=(K=new Z,function(e){if("historychange"===e)return function(e,t){var n=new Q(e,t);Z.watch=n,K.defined(),Z.watch=null};if("pushState"===e||"replaceState"===e){var t=history[e];return function(){t.apply(history,arguments),K.notify()}}});const ee=JSON.parse('{"man7":{"site":"https://man7.org/","wildcard":"*","Code":{"tag":["h2","pre"],"className":[],"id":[],"selector":["pre b","pre i"]},"function":{"generateClass":{"tag":[{"pre":"fontWeight"}]}},"Table":{"noHead":{}}},"linux":{"site":"https://linux.die.net/","wildcard":"*","Code":{"tag":["h2"],"className":[],"id":[],"selector":["dl dt","#content i"]},"function":{"generateClass":{"tag":[{"pre":"fontWeight"}]}},"Table":{"noHead":{}}},"pythonDocs":{"site":"https://docs.python.org/","wildcard":"*","Code":{"tag":["h2"],"className":[],"id":[],"selector":["dl dt","#content i"]},"function":{"generateClass":{"tag":[{"pre":"fontWeight"}]}},"Table":{"noHead":{}}},"npmjs":{"site":"https://www.npmjs.com/","wildcard":"*","Code":{"tag":["pre"],"className":[],"id":[],"selector":["dl dt","#content i"]},"Table":{"noHead":{}}},"docsSpring":{"site":"https://docs.spring.io","wildcard":"*","Code":{"tag":["pre","b"],"className":["hdlist1","colFirst","inheritance"],"id":[],"selector":["dt span","dd a"]},"Table":{"noHead":{}}},"Apress":{"site":"Apress","wildcard":"*","Pre":{"className":["ProgramCode"]},"Code":{"tag":["pre"],"className":["source-code","EmphasisFontCategoryNonProportional"],"id":[],"selector":["dt span","dd a","p strong"]},"Table":{"noHead":{}}},"Manning":{"site":"Manning","wildcard":"*","Code":{"tag":["pre"],"className":[],"id":[],"selector":["dt span","dd a"]},"Table":["mannTable"]},"Packt":{"site":"Packt","wildcard":"*","Code":{"tag":["pre","strong"],"className":["source-code","source-inline"],"id":[],"selector":[]},"Table":{"noHead":{}}},"github":{"site":"https://github.com/","wildcard":"*","Code":{"tag":["pre"],"className":["calibre6"],"id":[],"selector":["dt span","dd a"]},"Table":{"noHead":{}}},"npmdocs":{"site":"docs.npmjs","wildcard":"*","Code":{"tag":["pre"],"className":["kSYjyK"],"id":[],"selector":["dt span","dd a"]},"Table":{"noHead":{}}},"jetbrains":{"site":"https://www.jetbrains.com/","wildcard":"*","Code":{"tag":[],"className":["menupath","control ","keyword ","link"],"id":[],"selector":[]},"Table":{"noHead":{}}},"yargs":{"site":"http://yargs.js.org/","wildcard":"*","Code":{"tag":["h2"],"className":["menupath","control ","keyword ","link"],"id":["api-reference-item"],"selector":[]},"Table":{"noHead":{}}},"Reilly":{"site":"Reilly","wildcard":"*","Code":{"tag":["pre"],"className":["menupath","control ","keyword ","link"],"id":["api-reference-item"],"selector":[]},"Table":["mannTable"]},"test":{"site":"test.html","wildcard":"*","Code":{"tag":[],"className":[],"id":[],"selector":[]},"Table":{"noHead":{}}},"Pearson":{"site":"Pearson","wildcard":"*","Code":{"tag":["pre"],"className":["pre","pre1","pre2"],"id":[],"selector":[]},"Table":{"noHead":{}}},"mybatis":{"site":"https://mybatis.org","wildcard":"*","Code":{"tag":[],"className":[],"id":[],"selector":[]},"toc":true},"snapsvg":{"site":"http://snapsvg.io","wildcard":"*","Code":{"tag":[],"className":["dr-param","dr-type","dr-json-key"],"id":["dr-toc"],"selector":[]}},"mozilla":{"site":"https://developer.mozilla.org/","wildcard":"*","Code":{"tag":[],"className":[],"id":[],"selector":[]}},"redis":{"site":"https://redis.io/","wildcard":"*","Code":{"tag":[],"className":["command","example"],"id":[],"selector":[]}},"Weily":{"site":"Weily","wildcard":"*","Code":{"tag":[],"className":["command","example"],"id":[],"selector":[]}},"neat-reader":{"site":"neat-reader","wildcard":"*","Code":{"tag":["pre"],"className":["command","example"],"id":[],"selector":[]}}}');let te=null,ne=null,re={tag:e=>document.getElementsByTagName(e),selector:e=>document.querySelectorAll(e),id:e=>document.getElementById(e),className:e=>document.getElementsByClassName(e),Table:e=>ne.handleTable(e)},oe={tag:e=>document.getElementsByTagName(e),selector:e=>document.querySelectorAll(e),id:e=>document.getElementById(e),className:e=>document.getElementsByClassName(e),Table:e=>ne.handleTable(e)};window.addHistoryListener=J("historychange"),history.pushState=J("pushState"),history.replaceState=J("replaceState");let ie={};function ae(e){ie.TypesTranslationKey=localStorage.getItem("TypesTranslation");for(let t=0;t<e.length;t++)se(e[t])}function se(e){let t=document.createElement("li"),n="";for(let r=0;r<e.childNodes.length;r++)if("PRE"===e.childNodes[r].nodeName){if(n){let e=document.createElement("p");e.innerHTML=n,t.appendChild(e),n=""}t.appendChild(e.childNodes[r])}else if(e.childNodes[r].childNodes.length>1)for(let t=0;t<e.childNodes[r].childNodes.length;t++)n+=le(e.childNodes[r].childNodes[t],"");else n+=le(e.childNodes[r],"");let r=document.createElement("p");r.innerHTML=n,t.appendChild(r),t.innerHTML||console.log(i+"没有生成");let o=e.getAttribute("style");e.innerHTML="",e.innerHTML=t.innerHTML,e.setAttribute("style",`${o};list-style-type:none;`)}function le(e,t){return 3===e.nodeType?e.nodeValue&&(t="."!==e.nodeValue[0]||!e.previousSibling||"CODE"!==e.previousSibling.nodeName&&"KBD"!==e.previousSibling.nodeName?e.nodeValue:e.nodeValue.slice(1)):1===e.nodeType?e.innerHTML&&("CODE"===e.nodeName&&("1"===ie.TypesTranslationKey?(e.setAttribute("style","color:blue;margin:0"),function(e){e.nextSibling&&3===e.nextSibling.nodeType&&("."!==e.nextSibling.nodeValue[0]&&","!==e.nextSibling[0]||(e.innerText+="."))}(e)):e.setAttribute("style","color:green;margin:0")),t=e.outerHTML):alert("出现的特殊情况!"),t}location.href.includes("localhost");let ue={};function ce(e){if(ue.TypesTranslationKey=localStorage.getItem("TypesTranslation"),e)if(0!==e.length&&void 0!==e.length)for(let t=0;t<e.length;t++)pe(e[t]);else 1===e.nodeType&&e.innerHTML&&pe(e)}function pe(e){if(e){let t=e.getAttribute("class");e.setAttribute("class",`${t} notranslate`)}}var fe=n(4763);const de={mannTable:n.n(fe)()};function he(e=null){e&&de[e]()}let ge={};function ye(e){if(ge.TypesTranslationKey=localStorage.getItem("TypesTranslation"),e)if(0!==e.length&&void 0!==e.length)for(let t=0;t<e.length;t++)me(e[t]);else 1===e.nodeType&&e.innerHTML&&me(e)}function me(e){if(e){let t=e.innerHTML,n=null;n=document.createElement("pre");let r=e.getAttribute("class");ge.TypesTranslationKey,e.setAttribute("class",`${r||""} notranslate`),n.innerHTML=t,e.innerHTML="",e.appendChild(n)}}function ve(){let e=document.documentElement.clientHeight;return e>window.innerHeight&&(e=document.body.clientHeight),e}function be(e){let t="";for(const n in e)t+=`${n}:${e[n]};`;return t}function Ae(e="toc"){let t=window.innerWidth;return"toc"===e.toLowerCase()&&(t*=.17),t}function xe(e,t,n,r=null){if(n.includes("localhost")||n.includes("127.0.0.1")){let n=window.matchMedia("(max-width: 1200px)").matches,o="background:#F2EEE5;";e.style.cssText=`${o}color:black`,r?(console.log("style:",r),t.style.cssText=`padding:${r.padding};font-size:14px;border-bottom:3px;${o}letter-spacing:1px;color:black`):t.style.cssText=!0===n?`padding:0;font-size:14px;border-bottom:3px;${o}letter-spacing:1px;color:black`:`padding:0 5% 0 18%;font-size:14px;border-bottom:3px;${o}letter-spacing:1px;color:black`}}function we(e,t=null,n){if(null!==t){if("string"==typeof t){let r=t.split(e),o="";for(let e=0;e<r.length;e++){for(let e=0;e<n.length;e++);r[e].split(":")[0]===n||""!==r[e]&&(o+=r[e]+";")}return o}throw new Error("传递的属性不是String,可能传错了属性,请查看代码,否则请修改该函数!")}return""}let Ce=[];Object.entries(ee).forEach((e=>{let t=e[0];!0===e[1]?.toc&&Ce.push(t)}));let Te=location.href,Ee=Te.split("/"),_e=document.getElementsByTagName("body")[0],Se=document.getElementsByTagName("html")[0],ke=T()(":header"),je={panel_status:"面板状态",Types_of_translation:"翻译类型",percentage:"百分比",Submenu_status:"子菜单状态"},Ie={style:{height:ve()+"px",width:Ae()+"px"}},Ne=e=>Ce.some((t=>e.includes(t)));window.onload=function(){if(console.log("checkSite(URL):",Ne(Te)),Te.includes("localhost")||Te.includes("127.0.0.1")||Ne(Te)){xe(_e,Se,Te);let e=o({body:_e,tocRequired_properties:Ie,allHeader:ke},{genStyle:be,generate_catalog:y,tocChange:b,ReplaceSameProperty:we});!function(e,t,n){let{body:r,html:o,URL:i,tocElement:a}=e;_=n,S.body=r,S.html=o,S.URL=i,S.tocElement=a;let s=document.createElement("div");s.setAttribute("class","panel"),S.panel=s;for(const e in t){let t=document.createElement("div");t.setAttribute("class","notranslate subPanel cyxy-trs-target"),t.setAttribute("id",e),"percentage"!==e&&t.setAttribute("onselectstart","return false"),s.appendChild(t),S.subPanels.push(t),k.panelCall(t,e)}k.panelCall(S.subPanels[0],"panel_status"),r.appendChild(s)}({body:_e,html:Se,URL:Te,tocElement:e},je,{styleBody:xe,show:I,Submenu_status:D,panelStatus:R,ReplaceSameProperty:we,TypesTranslation:V})}var e;te={URL:Te,URLarr:Ee,allHeader:ke},ne={code:ce,addli:ae,Generate_backup:u,handleTable:he,createPre:ye},te.URL.includes("localhost")||te.URL.includes("127.0.0.1")?ne.code(te.allHeader):ne.code(te.allHeader,!0),e=te.URL,Object.entries(ee).forEach(((t,n)=>{let r=t[1];e.includes(r.site)&&((e.includes("locahost")||e.includes("127.0.0.1"))&&function(){const e=document.getElementsByTagName("p");ne.Generate_backup(e)}(),Object.entries(r.Pre||{}).forEach((e=>{let t=e[0];e[1].forEach((e=>{let n=oe[t](e);ne.createPre(n)}))})),Object.entries(r.Code||{}).forEach((e=>{let t=e[0];e[1].forEach((e=>{console.log("tag:",e);let n=re[t](e);console.log("selectedTag:",n),ne.code(n)}))})))})),(Te.includes("localhost")||Te.includes("127.0.0.1"))&&(window.onscroll=function(){N(),function(){let e=localStorage.getItem("prevHead"),t=[],n=[],r=[],o=[],i=document.getElementById("toc1");for(let e=0;e<i.children.length;e++){let r=i.children[e].children[0].getAttribute("href");if(r){let o=r.replace("#",""),a=document.getElementById(o);t.push(a.getBoundingClientRect().top),n.push(i.children[e])}}if(t.every((e=>e>0)))e&&void 0!==n[e]&&x(n[e],1),0!==n.length&&w(n[0],0);else{for(let e=0;e<t.length;e++)t[e]>0&&r.push(t[e]),t[e]<0&&o.push(Math.abs(t[e]));for(let i=0;i<t.length;i++){let a=Math.min(...r),s=Math.min(...o);a<s||(a=s),Math.abs(t[i])===a&&(A(e,n,i),0!==n.length&&w(n[i],i))}}}()},window.onresize=function(){Ie.style.height=ve()+"px",Ie.style.width=Ae()+"px",xe(_e,Se,Te),o({body:_e,tocRequired_properties:Ie},{genStyle:be,tocChange:b,ReplaceSameProperty:we})})},document.read=()=>{console.log("change:")}})()})();
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9Ub3Vpc3RfUmVhZC8uL25vZGVfbW9kdWxlcy9jbGlwYm9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GV0ICBhdHRyaWJ1dGUgPSAgIHByZUVsZW1lbnQuZ2V0QXR0cmlidXRlKCdjbGFzcycpO1xuICAgICAgICAgICAgICAvL+enu+mZpOmakOiXj+eahOWxnuaAp1xuICAgICAgICAgICAgICBsZXQgcmVwbGFjZUFsbCA9IGF0dHJpYnV0ZS5yZXBsYWNlQWxsKCcgc2hvdycsICcnKTtcbiAgICAgICAgICAgICAgaWYgKCFyZXBsYWNlQWxsLmluY2x1ZGVzKCdoaWRkZW4nKSlcbiAgICAgICAgICAgICAgICBwcmVFbGVtZW50LnNldEF0dHJpYnV0ZSgnY2xhc3MnLHJlcGxhY2VBbGw/cmVwbGFjZUFsbCtcIiBoaWRkZW5cIjpcImhpZGRlblwiKVxuICAgICAgICAgICAgICAvL+iuvue9ruaMh+mSiFxuICAgICAgICAgICAgICBET01SZW5kZXIucHJlUG9pbnRlciA9IG51bGw7XG4gICAgICAgICAgICB9ZWxzZXtcbiAgICAgICAgICAgICAgbGV0ICBhdHRyaWJ1dGUgPSAgIHN1c3BlbnNpb24uZ2V0QXR0cmlidXRlKCdjbGFzcycpO1xuICAgICAgICAgICAgICBpZiAoYXR0cmlidXRlLmluY2x1ZGVzKCdoaWRkZW4nKSkge1xuICAgICAgICAgICAgICAgIGxldCByZXBsYWNlQWxsID0gYXR0cmlidXRlLnJlcGxhY2VBbGwoJyBoaWRkZW4nLCAnJyk7XG4gICAgICAgICAgICAgICAgaWYgKCFyZXBsYWNlQWxsLmluY2x1ZGVzKCdzaG93JykpXG4gICAgICAgICAgICAgICAgICBzdXNwZW5zaW9uLnNldEF0dHJpYnV0ZSgnY2xhc3MnLCByZXBsYWNlQWxsID8gcmVwbGFjZUFsbCArIFwiIHNob3dcIiA6IFwic2hvd1wiKVxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIHJldHVyblxuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cblxuICAgICAgICAgICAgaWYgKHN1c3BlbnNpb24pe1xuICAgICAgICAgICAgICA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1xuICAgICAgICBpbm5lclRleHRvbmUgKz0gaW5uZXJUZXh0W2ldO1xuICAgICAgfVxuICAgIH1cbiAgICByZXR1cm4gaW5uZXJUZXh0b25lO1xuICB9XG5cbmxldCAgaE51bWJlciA9IHtcbiAgICBIMTowLFxuICAgIEgyOjEsXG4gICAgSDM6MixcbiAgICBINDozLFxuICAgIEg1OjQsXG4gICAgSDY6NSxcbn1cblxubGV0ICBsYXN0S2V5ID17XG4gICAgY3VycmVudDowLFxuICAgIHByZTowXG59XG5cbmxldCAgIEluZGV4QXJyID1bMCwwLDAsMCwwLDBdXG5cbiAgbGV0IGNsZWFyRGF0YSA9IChpbmRleCk9PntcbiAgICBJbmRleEFyci5mb3JFYWNoKChpdGVtLGtleUluZGV4KT0+e1xuICAgICAgaWYgKGtleUluZGV4ID5pbmRleCl7XG4gICAgICAgIEluZGV4QXJyW2tleUluZGV4XSA9IDBcbiAgICAgIH1cbiAgICB9KVxuICB9XG5cbiAgZm9yIChsZXQgaSA9IDA7IGkgPCBoZWFkLmxlbmd0aDsgaSsrKSB7XG4gICAgLy/mtYvor5XmmK/kuI3mmK9oMS1oNuS5i+mXtFxuICAgIGxldCBub2RlID0gaGVhZFtpXTtcbiAgICBsZXQgbmFtZSA9IG5vZGUubm9kZU5hbWU7XG4gICAgbm9kZS5zZXRBdHRyaWJ1dGUoJ2lkJyxpKVxuICAgIGxldCBSZWdFeHBFZCA9IHJlZ0V4cC50ZXN0KG5hbWUpO1xuICAgIC8v6buY6K6k5bCx5piv5LuO5pyA5aSn5byA5aeLLOW8gOWxgOeahOmCo+S4quiCr+WumuaYr+acgOWkp+eahFxuICAgIGlmIChSZWdFeHBFZCkge1xuICAgICAgLy/lhYjojrflj5blvZPliY3nmoRjdXJyZW50XG4gICAgICBsZXQgIEFyckluZGV4ID0gaE51bWJlcltuYW1lXVxuICAgICAgbGFzdEtleS5jdXJyZW50ID0gQXJySW5kZXhcblxuICAgICAgaWYgKGxhc3RLZXkuY3VycmVudCA8IGxhc3RLZXkucHJlKXtcbiAgICAgICAgY2xlYXJEYXRhKEFyckluZGV4KVxuICAgICAgfVxuXG4gICAgICBJbmRleEFycltBcnJJbmRleF0gKytcbiAgICAgIGxhc3RLZXkucHJlID1BcnJJbmRleFxuXG4gICAgICBsZXQgSW5kZXhOdW1iZXJBcnJheSA9SW5kZXhBcnIuZmlsdGVyKGl0ZW09PntcbiAgICAgICAgcmV0dXJuIGl0ZW1cbiAgICAgIH0pXG4gICAgICBsZXQgaW5uZXJUZXh0ID0gaGVhZFtpXS5pbm5lclRleHQ7XG4gICAgICBsZXQgbWF0Y2ggPSBpbm5lclRleHQubWF0Y2goL1xcZC9nKTtcbiAgICAgIGlubmVyVGV4dCA9IGlubmVyVGV4dEZ1bihpbm5lclRleHQpO1xuICAgICAgbGV0IHRpdGxlID0gJydcbiAgICAgIEluZGV4TnVtYmVyQXJyYXkuc3BsaWNlKGhOdW1iZXJbbmFtZV0rMSlcbiAgICAgIGlmICghbWF0Y2gpdGl0bGUgPSBJbmRleE51bWJlckFycmF5LmpvaW4oJy4nKSsgJyAnO1xuICAgICAgICBsZXQgQUhUTUwgPSAgZG9jdW1lbnQuY3JlYXRlRWxlbWVudChuYW1lKTtcbiAgICAgIEFIVE1MLnNldEF0dHJpYnV0ZSgnY2xhc3MnLGBoZWFkZXJgKVxuICAgICAgQUhUTUwuc2V0QXR0cmlidXRlKCdzdHlsZScsc3R5bGUpXG4gICAgICBBSFRNTC5pbm5lckhUTUwgPVwiPFwiICtcbiAgICAgICAgICAnYScgK1xuICAgICAgICAgIFwiIFwiICtcbiAgICAgICAgICBgaHJlZj1cIiMke2l9XCJgK1xuICAgICAgICAgIFwiPlwiICtcbiAgICAgICAgICB0aXRsZStcblxuICAgICAgICAgIGlubmVyVGV4dCArXG4gICAgICAgICAgXCI8L1wiICtcbiAgICAgICAgICAnYScgK1xuICAgICAgICAgIFwiPlwiXG4gICAgICBjYXRhbG9nLmFwcGVuZENoaWxkKEFIVE1MKVxuICAgIC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lZmluZWQoKXsgICAgICAgICAgICAgIC8vIOa3u+WKoOiuoumYheiAhVxyXG4gICAgICAgIERlcC53YXRjaC5hZGQodGhpcyk7XHJcbiAgICB9XHJcbiAgICBub3RpZnkoKSB7ICAgICAgICAgICAgICAvL+mAmuefpeiuoumYheiAheacieWPmOWMllxyXG4gICAgICAgIHRoaXMuc3Vicy5mb3JFYWNoKChlLCBpKSA9PiB7XHJcbiAgICAgICAgICAgIGlmKHR5cGVvZiBlLnVwZGF0ZSA9PT0gJ2Z1bmN0aW9uJyl7XHJcbiAgICAgICAgICAgICAgICB0cnkge1xyXG4gICAgICAgICAgICAgICAgICAgIGUudXBkYXRlLmFwcGx5KGUpICAvL+inpuWPkeiuoumYheiAheabtOaWsOWHveaVsFxyXG4gICAgICAgICAgICAgICAgfSBjYXRjaChlcnIpe1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbnNvbGUud2FycihlcnIpXHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9KVxyXG4gICAgfVxyXG5cclxufVxyXG5EZXAud2F0Y2ggPSBudWxsO1xyXG5cclxuY2xhc3MgV2F0Y2gge1xyXG4gICAgY29uc3RydWN0b3IobmFtZSwgZm4pe1xyXG4gICAgICAgIHRoaXMubmFtZSA9IG5hbWU7ICAgICAgIC8v6K6i6ZiF5raI5oGv55qE5ZCN56ewXHJcbiAgICAgICAgdGhpcy5pZCA9IG5ldyBEYXRlKCk7ICAgLy/ov5nph4znroDljZXnmoTov5DnlKjml7bpl7TmiLPlgZrorqLpmIXogIXnmoRJRFxyXG4gICAgICAgIHRoaXMuY2FsbEJhY2sgPSBmbjsgICAgIC8v6K6i6ZiF5raI5oGv5Y+R6YCB5pS55Y+Y5pe2LT7orqLpmIXogIXmiafooYznmoTlm57osIPlh73mlbBcclxuICAgIH1cclxuICAgIGFkZChkZXApIHsgICAgICAgICAgICAgICAgICAvL+WwhuiuoumYheiAheaUvuWFpWRlcOiuoumYheaxoFxyXG4gICAgICAgIGRlcC5zdWJzLnB1c2godGhpcyk7XHJcbiAgICB9XHJcbiAgICB1cGRhdGUoKSB7ICAgICAgICAgICAgICAgICAgLy/lsIborqLpmIXogIXmm7TmlrDmlrnms5VcclxuICAgICAgICB2YXIgY2IgPSB0aGlzLmNhbGxCYWNrOyAvL+i1i+WAvOS4uuS6huS4jeaUueWPmOWHveaVsOWGheiwg+eUqOeahHRoaXNcclxuICAgICAgICBjYih0aGlzLm5hbWUpO1xyXG4gICAgfVxyXG59XHJcblxyXG5cclxudmFyIGFkZEhpc3RvcnlNZXRob2QgPSAoZnVuY3Rpb24oKXtcclxuICAgIHZhciBoaXN0b3J5RGVwID0gbmV3IERlcCgpO1xyXG4gICAgcmV0dXJuIGZ1bmN0aW9uKG5hbWUpIHtcclxuICAgICAgICBpZihuYW1lID09PSAnaGlzdG9yeWNoYW5nZScpe1xyXG4gICAgICAgICAgICByZXR1cm4gZnVuY3Rpb24obmFtZSwgZm4pe1xyXG4gICAgICAgICAgICAgICAgdmFyIGV2ZW50ID0gbmV3IFdhdGNoKG5hbWUsIGZuKVxyXG4gICAgICAgICAgICAgICAgRGVwLndhdGNoID0gZXZlbnQ7XHJcbiAgICAgICAgICAgICAgICBoaXN0b3J5RGVwLmRlZmluZWQoKTtcclxuICAgICAgICAgICAgICAgIERlcC53YXRjaCA9IG51bGw7ICAgICAgIC8v572u56m65L6b5LiL5LiA5Liq6K6i6ZiF6ICF5L2/55SoXHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9IGVsc2UgaWYobmFtZSA9PT0gJ3B1c2hTdGF0ZScgfHwgbmFtZSA9PT0gJ3JlcGxhY2VTdGF0ZScpIHtcclxuICAgICAgICAgICAgdmFyIG1ldGhvZCA9IGhpc3RvcnlbbmFtZV07XHJcbiAgICAgICAgICAgIHJldHVybiBmdW5jdGlvbigpe1xyXG4gICAgICAgICAgICAgICAgbWV0aG9kLmFwcGx5KGhpc3RvcnksIGFyZ3VtZW50cyk7XH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gICAgICAgICAgICAgICAgICBjb21wb25lbnRfZnVuY3Rpb24uY3JlYXRlUHJlKHNlbGVjdGVkVGFnKTtcclxuICAgICAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgIH0pXHJcbiAgICAgICAgICAgIE9iamVjdC5lbnRyaWVzKHNpdGVWYWx1ZS5Db2RlfHx7fSkuZm9yRWFjaChqc29uSXRlbT0+e1xyXG4gICAgICAgICAgICAgICAgbGV0IGtleSA9ICBqc29uSXRlbVswXTtcclxuICAgICAgICAgICAgICAgIGxldCB2YWx1ZSA9ICAgIGpzb25JdGVtWzFdO1xyXG4gICAgICAgICAgICAgICAgdmFsdWUuZm9yRWFjaCh0YWc9PntcclxuICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhgdGFnOmAsIHRhZylcclxuXHJcbiAgICAgICAgICAgICAgICAgICAgbGV0IHNlbGVjdGVkVGFnID0gY29kZVR5cGVba2V5XSh0YWcpO1xyXG4gICAgICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKGBzZWxlY3RlZFRhZzpgLCBzZWxlY3RlZFRhZylcclxuXHJcbiAgICAgICAgICAgICAgICAgICAgY29tcG9uZW50X2Z1bmN0aW9uLmNvZGUoc2VsZWN0ZWRUYWcpO1xyXG4gICAgICAgICAgICAgICAgfSlcclxuICAgICAgICAgICAgfSlcclxuICAgICAgICB9XHJcbiAgICB9KVxyXG59XHJcblxyXG5mdW5jdGlvbiAgIGhhbmRsZUNvbW1vbigpe1xyXG4gICAgY29uc3QgcCA9IGRvY3VtZW50LmdldEVsZW1lbnRzQnlUYWdOYW1lKFwicFwiKTtcclxuICAgIGNvbXBvbmVudF9mdW5jdGlvbi5HZW5lcmF0ZV9iYWNrdXAocCk7XHJcblxyXG59XHJcbiIsIi8v5pW05ZCI5Li6UOagh+etvlxuXG5sZXQgY29tcG9uZW50X2RhdGEgPSB7fTtcblxuZnVuY3Rpb24gYWRkbGkobGkpIHtcbiAgY29tcG9uZW50X2RhdGFbXCJUe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ICAgIGNvbnRlbnQgPSB0aGlzX2xpLm5vZGVWYWx1ZTtcbiAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgY29udGVudCA9IHRoaXNfbGkubm9kZVZhbHVlO1xuICAgICAgICB9XG4gICAgICB9IGVsc2Uge1xuICAgICAgICAvLyBjb25zb2xlLmxvZyhjb250ZW50KTtcbiAgICAgICAgY29udGVudCA9IHRoaXNfbGkubm9kZVZhbHVlO1xuICAgICAgfVxuICAgIH1cbiAgfSBlbHNlIGlmICh0aGlzX2xpLm5vZGVUeXBlID09PSAxKSB7XG4gICAgaWYgKHRoaXNfbGkuaW5uZXJIVE1MKSB7XG4gICAgICBpZiAodGhpc19saS5ub2RlTmFtZSA9PT0gXCJDT0RFXCIpIHtcbiAgICAgICAgaWYgKGNvbXBvbmVudF9kYXRhW1wiVHlwZXNUcmFuc2xhdGlvbktleVwiXSA9PT0gXCIxXCIpIHtcbiAgICAgICAgICB0aGlzX2xpLnNldEF0dHJpYnV0ZShcInN0eWxlXCIsIFwiY29sb3I6Ymx1ZTttYXJnaW46MFwiKTtcbiAgICAgICAgICAvL+WkhOeQhkdvb2dsZSBCVUdcbiAgICAgICAgICAvL2dvb2dsZSAg57+76K+RICAs5a+55LqOPGNvZGU+5qCH562+5ZCO6Z2i6Lef5paH5pys5qCH54K5LOWwseS8muWwhuWug+S7rOS4gOi1t+ecgeeVpSzlho3nu4boh7TkuIDngrks5bCx5piv5LiA5q616K+d5Lit6LaF6L+H5LiA5LiqLuWwseS8muW8leWPkei/meenjemXrumimFxuICAgICAgICAgIC8v6L+Z6YeM6ZyA6KaB5YqgLiAgICDlm6DkuLpub2RlVmFsdWUg5piv5Y+q6K+75bGe5oCnLOWPquiDveWcqOS4iumdouWvueaWh+acrOiKgueCueeahOaTjeS9nOi/m+ihjOS/ruaUuVxuICAgICAgICAgIC8v5aaC5p6c5piv5paH5pys6IqC54K555u05o6l5L2/55SobmV4dFNpYmxpbmcsXG4gICAgICA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